/* ============================================================
   BRIDGENT AI — premium deep-purple agentic studio site
   ============================================================ */

:root {
  --bg: #060108;
  --bg-soft: #0a0410;
  --ink: #f4eefb;
  --ink-dim: #b9aec9;
  --ink-faint: #7a6e8d;
  --line: rgba(255, 255, 255, 0.09);

  --violet-950: #1b0630;
  --violet-900: #2b0a4d;
  --violet-800: #3d1073;
  --violet-700: #5416a0;
  --violet-600: #6d28d9;
  --violet-500: #8b3ff0;
  --violet-400: #a855f7;
  --violet-300: #c084fc;
  --violet-200: #e2c9ff;

  --iris-600: #5b2fd9;
  --iris-500: #6d3ff0;
  --iris-400: #8b6cf7;
  --iris-300: #a892fb;

  --glow: radial-gradient(closest-side, rgba(168, 85, 247, 0.55), rgba(168, 85, 247, 0));

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-pill: 999px;

  --ease: cubic-bezier(0.19, 1, 0.22, 1);
  --font-head: "Space Grotesk", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --font-display: "Plus Jakarta Sans", "Inter", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, spline-viewer, iframe { max-width: 100%; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }

.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 64px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--violet-300);
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--violet-400);
  box-shadow: 0 0 12px 2px var(--violet-400);
}

/* ---------------- background ambience ---------------- */
.ambient {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1200px 700px at 82% 8%, rgba(168, 85, 247, 0.22), transparent 60%),
    radial-gradient(900px 600px at 10% 30%, rgba(109, 40, 217, 0.18), transparent 60%),
    var(--bg);
}
.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------------- nav ---------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: padding .4s var(--ease), background .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  padding: 14px 0;
  background: rgba(6, 1, 8, 0.72);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; position: relative; }

.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-body); font-weight: 700; font-size: 18px; letter-spacing: 0.015em; text-transform: uppercase; flex-shrink: 0; }
.brand-mark {
  width: 30px; height: 30px;
  flex-shrink: 0;
  background: #fff;
  -webkit-mask: url("images/bridgent-mark.png") center / contain no-repeat;
  mask: url("images/bridgent-mark.png") center / contain no-repeat;
}

.nav-links { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 34px); flex-wrap: nowrap; flex-shrink: 0; }
.nav-links a {
  font-size: 14.5px;
  font-family: var(--font-body);
  color: #cfc8de;
  transition: color .25s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--ink); }

.nav-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.nav-actions .btn { flex-shrink: 0; white-space: nowrap; }
.nav-actions .btn { font-family: var(--font-body); font-size: 13.5px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.nav-actions .btn-primary {
  padding: 10px 24px;
  color: var(--ink);
  border: 1.5px solid var(--iris-500);
  background: rgba(109, 63, 240, 0.06);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .35s, border-color .35s;
}
.nav-actions .btn-primary::before { display: none; }
.nav-actions .btn-primary:hover {
  background: var(--iris-500);
  border-color: var(--iris-400);
  box-shadow: 0 8px 30px rgba(109, 63, 240, 0.5);
}
.lang-toggle { min-width: 46px; text-align: center; justify-content: center; }
.burger {
  display: none;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 10px;
  color: var(--ink);
  flex-shrink: 0;
}
.burger svg { width: 18px; height: 18px; }
.burger .icon-close { display: none; }
.burger.active .icon-open { display: none; }
.burger.active .icon-close { display: block; }

/* ---------------- glass / liquid buttons ---------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  font-size: 13.5px;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -8px 16px -8px rgba(0, 0, 0, 0.5),
    0 6px 20px rgba(80, 20, 140, 0.25);
  overflow: hidden;
  isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.55) 48%, rgba(255,255,255,0.05) 58%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .8s var(--ease);
}
.btn:hover::before { transform: translateX(120%); }
.btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -8px 16px -8px rgba(0, 0, 0, 0.5),
    0 10px 34px rgba(139, 63, 240, 0.45);
}
.btn:active { transform: translateY(0px) scale(.98); }

.btn-primary {
  color: #0b0512;
  border-color: rgba(255,255,255,0.25);
  background: linear-gradient(135deg, var(--violet-200), var(--violet-400) 55%, var(--violet-700));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.6),
    inset 0 -10px 18px -10px rgba(20,0,40,.5),
    0 10px 30px rgba(139, 63, 240, .5);
}
.btn-primary:hover {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.7),
    inset 0 -10px 18px -10px rgba(20,0,40,.5),
    0 14px 44px rgba(168, 85, 247, .65);
}
.btn-sm { padding: 10px 20px; font-size: 12px; }
.btn-arrow { width: 15px; height: 15px; flex-shrink: 0; }

/* ---------------- hero ---------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 120px;
  padding-bottom: 110px;
  overflow: hidden;
}
.hero-wordmark {
  position: relative;
  text-align: center;
  margin: 0 0 28px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(70px, 13vw, 200px);
  letter-spacing: -0.04em;
  line-height: 1;
  color: transparent;
  background: linear-gradient(100deg, rgba(255,255,255,.05) 0%, rgba(255,255,255,.14) 30%, rgba(230,200,255,.55) 46%, #fff 50%, rgba(230,200,255,.55) 54%, rgba(255,255,255,.14) 70%, rgba(255,255,255,.05) 100%);
  background-size: 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: sheen 9s ease-in-out infinite;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
@keyframes sheen {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}
.hero-content .eyebrow { justify-content: center; margin-bottom: 18px; }

.chat-shell {
  position: relative;
  max-width: 640px;
  margin: 34px auto 0;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.14);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.015));
  backdrop-filter: blur(24px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 20px 60px rgba(30,0,60,.55);
  text-align: left;
  transition: border-color .4s var(--ease);
}

.hero-input {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 8px 26px;
}
.hero-input[hidden] { display: none; }
.hero-input input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 10px 0;
}
.hero-input input::placeholder { color: var(--ink-faint); }
.hero-input button {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  background: linear-gradient(145deg, var(--violet-300), var(--violet-600));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(139,63,240,.55);
  transition: transform .3s var(--ease);
  flex-shrink: 0;
}
.hero-input button:hover { transform: scale(1.08) rotate(90deg); }
.hero-input button svg { width: 18px; height: 18px; color: #0b0512; }
.hero-input button .icon-check { display: none; }
.hero-input button.sent .icon-arrow { display: none; }
.hero-input button.sent .icon-check { display: block; }
.hero-input button.sent { background: linear-gradient(145deg, #4ade80, #16a34a); }
.hero-input button:disabled { opacity: .55; cursor: default; }

/* ---------------- chat thread ---------------- */
.chat-thread {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 0;
  overflow-y: auto;
  padding: 0 20px;
  transition: max-height .5s var(--ease), padding .5s var(--ease);
}
.chat-shell.active .chat-thread {
  max-height: 46vh;
  padding: 22px 20px 6px;
}
.chat-shell.active { border-color: rgba(168, 85, 247, 0.35); }

.msg {
  max-width: 84%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.55;
  animation: msgIn .38s var(--ease);
}
@keyframes msgIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.msg.agent {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--ink);
  border-bottom-left-radius: 4px;
}
.msg.user {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--violet-500), var(--violet-700));
  color: #fff;
  border-bottom-right-radius: 4px;
}
.msg.error {
  align-self: flex-start;
  background: rgba(248, 113, 113, 0.1);
  border: 1px solid rgba(248, 113, 113, 0.28);
  color: #fecaca;
  border-bottom-left-radius: 4px;
}
.msg.error a { color: #fff; text-decoration: underline; }

.chat-typing {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 20px 8px;
}
.chat-typing[hidden] { display: none; }
.chat-typing span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--violet-300);
  opacity: .4;
  animation: typingPulse 1.2s ease-in-out infinite;
}
.chat-typing span:nth-child(2) { animation-delay: .15s; }
.chat-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typingPulse {
  0%, 60%, 100% { opacity: .3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

.chat-contact {
  padding: 4px 20px 20px;
  animation: msgIn .4s var(--ease);
}
.chat-contact-fields {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.chat-contact-fields input {
  flex: 1;
  min-width: 160px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-pill);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 12px 18px;
  outline: none;
  transition: border-color .3s;
}
.chat-contact-fields input:focus { border-color: var(--violet-400); }
.chat-contact-fields input::placeholder { color: var(--ink-faint); }
.chat-contact #chat-contact-submit { width: 100%; }
.chat-contact #chat-contact-submit[hidden] { display: none; }
.chat-contact-status {
  margin: 10px 0 0;
  font-size: 12.5px;
  color: var(--ink-faint);
  text-align: center;
  min-height: 16px;
}
.chat-contact-status.ok { color: var(--violet-300); }
.chat-contact-status.err { color: #fca5a5; }

.chat-choice {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 4px 20px 20px;
  animation: msgIn .4s var(--ease);
}
.chat-choice[hidden] { display: none; }
.chat-choice .btn { flex: 1; min-width: 180px; }

.hero-input-note {
  margin: 12px 0 0;
  font-size: 12.5px;
  color: var(--ink-faint);
  text-align: center;
  min-height: 16px;
  transition: color .3s;
}
.hero-input-note.confirmed { color: var(--violet-300); }

.hero-sub {
  max-width: 520px;
  margin: 26px auto 0;
  color: var(--ink-dim);
  font-size: 15px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 28px;
}

/* ---------------- home hero: copy left, glowing B right ---------------- */
.hero-home {
  isolation: isolate;
  padding-top: 150px;
  padding-bottom: 130px;
}
.hero-home::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, #05030d 0%, #05030d 62%, rgba(5, 3, 13, 0) 100%);
}
.hero-home .hero-content { text-align: left; width: 100%; }
.hero-home .hero-content > * { animation: heroIn 1.1s var(--ease) both; }
.hero-home .hero-content > :nth-child(2) { animation-delay: .08s; }
.hero-home .hero-content > :nth-child(3) { animation-delay: .16s; }
.hero-home .hero-content > :nth-child(4) { animation-delay: .24s; }
.hero-home .hero-content > :nth-child(5) { animation-delay: .32s; }
@keyframes heroIn {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: clamp(11px, 0.82vw, 13px);
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--iris-400);
}
.hero-title {
  margin: clamp(14px, 1.4vw, 22px) 0 0;
  font-family: var(--font-display);
  font-size: clamp(42px, 4.9vw, 88px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: #fff;
}
.hero-title-line { display: block; }
.hero-title-accent {
  padding-bottom: 0.12em;
  color: var(--iris-300);
  background: linear-gradient(180deg, #d9ccff 0%, #a98bfb 42%, #7a4ff3 100%);
  filter: drop-shadow(0 0 28px rgba(124, 77, 255, 0.35));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-home .hero-sub {
  max-width: 26em;
  margin: clamp(10px, 1vw, 16px) 0 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(16px, 1.35vw, 21px);
  line-height: 1.55;
  color: #cdc7dc;
}
.hero-home .hero-actions { justify-content: flex-start; align-items: center; flex-wrap: wrap; gap: 18px 30px; margin-top: clamp(28px, 2.6vw, 40px); }

.hero-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 34px 18px 40px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(100deg, #a58bfb 0%, #7c52f4 45%, var(--iris-600) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 0 0 1px rgba(167, 139, 250, 0.35),
    0 10px 40px rgba(124, 77, 255, 0.55);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), filter .35s;
}
.hero-cta svg { width: 20px; height: 20px; flex-shrink: 0; transition: transform .5s var(--ease); }
.hero-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 16px 48px rgba(109, 63, 240, 0.65);
}
.hero-cta:hover svg { transform: translateX(4px); }
.hero-cta:active { transform: translateY(0) scale(.98); }
.hero-cta:focus-visible { outline: 2px solid var(--iris-300); outline-offset: 4px; }

.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}
.hero-link-icon {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  transition: background .35s, border-color .35s, transform .5s var(--ease), box-shadow .5s var(--ease);
}
.hero-link-icon svg { width: 18px; height: 18px; margin-left: 2px; }
.hero-link:hover .hero-link-icon {
  background: rgba(124, 77, 255, 0.22);
  border-color: var(--iris-300);
  transform: scale(1.08);
  box-shadow: 0 0 26px rgba(124, 77, 255, 0.5);
}
.hero-link:focus-visible { outline: 2px solid var(--iris-300); outline-offset: 6px; border-radius: var(--radius-pill); }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  width: fit-content;
  max-width: min(100%, 56vw);
  gap: 12px 0;
  margin-top: clamp(30px, 3vw, 46px);
  padding-top: clamp(18px, 1.8vw, 26px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 500;
  color: #ddd7ea;
}
.hero-trust li { display: flex; align-items: center; gap: 10px; padding: 0 18px; border-left: 1px solid rgba(255, 255, 255, 0.1); white-space: nowrap; }
.hero-trust li:first-child { padding-left: 0; border-left: none; }
.hero-trust svg { width: 21px; height: 21px; flex-shrink: 0; color: var(--iris-400); }

/* light beams fanning out from the top-right corner, behind the B */
.hero-rays {
  position: absolute;
  inset: 0 0 0 30%;
  z-index: 0;
  pointer-events: none;
  background:
    conic-gradient(from 212deg at 100% 0%,
      rgba(124, 77, 255, 0) 0deg,
      rgba(124, 77, 255, 0.28) 7deg,
      rgba(124, 77, 255, 0.04) 13deg,
      rgba(150, 110, 255, 0.36) 19deg,
      rgba(124, 77, 255, 0.05) 26deg,
      rgba(124, 77, 255, 0.20) 33deg,
      rgba(124, 77, 255, 0) 42deg,
      rgba(124, 77, 255, 0) 360deg);
  -webkit-mask: radial-gradient(ellipse 75% 85% at 78% 30%, #000 0%, rgba(0, 0, 0, 0.5) 45%, transparent 78%);
  mask: radial-gradient(ellipse 75% 85% at 78% 30%, #000 0%, rgba(0, 0, 0, 0.5) 45%, transparent 78%);
  filter: blur(14px);
  animation: heroRays 11s ease-in-out infinite;
}
@keyframes heroRays {
  0%, 100% { opacity: .7; }
  50% { opacity: 1; }
}

.hero-visual {
  position: absolute;
  z-index: 1;
  top: 49%;
  left: 72%;
  width: clamp(680px, 68vw, 1320px);
  transform: translate(-51%, -49%);
  translate: calc(var(--px, 0) * 1px) calc(var(--py, 0) * 1px);
  transition: translate 1.2s var(--ease);
  perspective: 1100px;
  pointer-events: none;
  user-select: none;
}
/* tilts toward the pointer; leans in harder and lights up while the pointer is over the B */
.hero-visual-tilt {
  position: relative;
  transform: rotateX(calc(var(--rx, 0) * 1deg)) rotateY(calc(var(--ry, 0) * 1deg)) scale(var(--s, 1));
  transition: transform .7s var(--ease);
  will-change: transform;
}
.hero-visual.is-pressed .hero-visual-tilt { transition-duration: .18s; }
.hero-visual-float {
  position: relative;
  animation: heroBIn 1.8s var(--ease) both, heroFloat 9s ease-in-out 1.8s infinite;
}
/* pool of light on the floor under the B, and its mirrored reflection */
.hero-visual-floor {
  position: absolute;
  left: 14%;
  right: 12%;
  top: 70%;
  height: 22%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(140, 96, 255, 0.7), rgba(109, 63, 240, 0.2) 55%, rgba(109, 63, 240, 0));
  filter: blur(22px);
  animation: heroPulse 7s ease-in-out infinite;
}
.hero-visual-reflect {
  position: absolute;
  inset: 0;
  transform: translateY(58.5%) scaleY(-1);
  opacity: .55;
  filter: blur(4px);
  -webkit-mask: linear-gradient(to bottom, transparent 56%, rgba(0, 0, 0, 0.3) 68%, #000 79%, transparent 81%);
  mask: linear-gradient(to bottom, transparent 56%, rgba(0, 0, 0, 0.3) 68%, #000 79%, transparent 81%);
  animation: heroBIn 1.8s var(--ease) both;
}
.hero-visual img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  transition: filter .6s var(--ease);
}
.hero-visual.is-hover img { filter: brightness(1.18) saturate(1.12); }
.hero-visual-shine {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 22vw at var(--mx, 50%) var(--my, 50%), rgba(214, 196, 255, 0.55), rgba(140, 100, 255, 0.16) 45%, rgba(140, 100, 255, 0) 70%);
  -webkit-mask: url("images/hero-b.webp") center / 100% 100% no-repeat;
  mask: url("images/hero-b.webp") center / 100% 100% no-repeat;
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity .6s var(--ease);
}
.hero-visual.is-hover .hero-visual-shine { opacity: 1; }
.hero-visual-glow {
  position: absolute;
  inset: 12% 16%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(109, 63, 240, 0.34), rgba(109, 63, 240, 0));
  filter: blur(40px);
  animation: heroPulse 7s ease-in-out infinite;
  transition: scale .8s var(--ease), filter .8s var(--ease);
}
.hero-visual.is-hover .hero-visual-glow { scale: 1.18; filter: blur(40px) brightness(1.7); }
@keyframes heroBIn {
  from { opacity: 0; transform: translateY(26px) scale(.965); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes heroPulse {
  0%, 100% { opacity: .55; transform: scale(.96); }
  50% { opacity: 1; transform: scale(1.04); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-home .hero-content > *, .hero-visual-float, .hero-visual-glow, .hero-visual-floor, .hero-visual-reflect, .hero-rays { animation: none; }
  .hero-visual { translate: none; }
}

.about-hero-title {
  font-family: var(--font-head);
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 18px auto 0;
  max-width: 780px;
}

.scroll-cue {
  position: relative;
  margin: 56px clamp(20px, 5vw, 64px) 0;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink-faint);
  z-index: 3;
}
.scroll-cue svg { width: 16px; height: 16px; animation: bob 2.2s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); opacity:.5;} 50% { transform: translateY(6px); opacity:1;} }

/* ---------------- sections ---------------- */
section { position: relative; padding: 130px 0; }
.section-head { max-width: 640px; margin-bottom: 60px; }
.section-head h2 {
  font-family: var(--font-head);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 16px 0 0;
}
.section-head p { color: var(--ink-dim); margin-top: 16px; font-size: 16px; max-width: 520px; }

.divider { border-top: 1px solid var(--line); }

/* ---------------- secondary page hero ---------------- */
.page-hero { padding: 200px 0 60px; }
.back-link {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 22px;
  transition: color .25s;
}
.back-link:hover { color: var(--violet-300); }
.back-link svg { width: 14px; height: 14px; }
.page-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(38px, 5.5vw, 68px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 16px 0 20px;
  max-width: 780px;
}
.page-hero p { color: var(--ink-dim); font-size: 16.5px; max-width: 560px; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------------- about page: mission split ---------------- */
.about-split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.about-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-image::before {
  content: '';
  position: absolute;
  inset: 8%;
  background: var(--glow);
  filter: blur(50px);
  opacity: .55;
  z-index: 0;
}
.about-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 340px;
  height: auto;
  border-radius: var(--radius-lg);
}
.about-copy .eyebrow { margin-bottom: 16px; }
.about-copy h2 {
  font-family: var(--font-head);
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
  max-width: 520px;
}
.about-copy p { color: var(--ink-dim); font-size: 15.5px; line-height: 1.7; margin: 0 0 18px; max-width: 560px; }
.about-copy p:last-child { margin-bottom: 0; }

/* ---------------- bridge framework: phase timeline ---------------- */
.bridge-phases { display: flex; flex-direction: column; }
.bridge-phase {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  padding: 16px 16px 80px 16px;
  margin: -16px;
  border-radius: var(--radius-lg);
  transition: background .35s var(--ease);
}
.bridge-phase:last-child { padding-bottom: 16px; }
.bridge-phase:hover { background: rgba(168,85,247,.05); }
.bridge-phase-arrow {
  align-self: center;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--ink-faint);
  transition: transform .35s var(--ease), color .35s var(--ease);
}
.bridge-phase:hover .bridge-phase-arrow { color: var(--violet-300); transform: translateX(6px); }
.bridge-phase-marker { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.bridge-phase-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid rgba(168,85,247,.4);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  box-shadow: 0 0 26px rgba(168,85,247,.28);
  color: var(--violet-300);
  flex-shrink: 0;
}
.bridge-phase-icon svg { width: 26px; height: 26px; }
.bridge-phase-line {
  flex: 1;
  width: 1px;
  min-height: 40px;
  margin-top: 14px;
  background: linear-gradient(180deg, rgba(168,85,247,.5), rgba(168,85,247,.06));
}
.bridge-phase-content { flex: 1; min-width: 0; padding-top: 6px; max-width: 680px; }
.bridge-phase-num { display: block; font-family: var(--font-mono); font-size: 13px; color: var(--ink-faint); margin-bottom: 12px; }
.bridge-phase-content .eyebrow { margin-bottom: 10px; }
.bridge-phase-content h3 { font-family: var(--font-head); font-size: clamp(24px, 3vw, 32px); font-weight: 600; letter-spacing: -0.02em; margin: 0 0 16px; }
.bridge-phase-content p { color: var(--ink-dim); font-size: 15px; line-height: 1.7; margin: 0 0 24px; }
.bridge-phase-meta { display: flex; gap: 32px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid var(--line); }
.bridge-phase-meta-item { display: flex; flex-direction: column; gap: 5px; }
.bridge-phase-meta-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--violet-300); }
.bridge-phase-meta-value { font-size: 14px; color: var(--ink); }

.phase-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.phase-nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-dim);
  transition: color .3s;
}
.phase-nav-link:hover { color: var(--violet-300); }
.phase-nav-link svg { width: 18px; height: 18px; }
.phase-nav-next { margin-left: auto; }

/* ---------------- solutions grid ---------------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255,255,255,0.015);
}
.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 40px 36px 36px;
  border-right: 1px solid var(--line);
  position: relative;
  transition: background .4s;
}
.card:last-child { border-right: none; }
.card:hover { background: rgba(168,85,247,0.06); }
.card h3 { font-family: var(--font-head); font-size: 21px; margin: 0 0 12px; }
.card p { color: var(--ink-dim); font-size: 14.5px; margin: 0 0 30px; }
.card .btn { margin-top: auto; }
.card-icon { width: 44px; height: 44px; margin-bottom: 22px; color: var(--violet-300); }
.card-illustration { height: 130px; display: flex; align-items: flex-end; margin-bottom: 24px; opacity: .8; }
.card-illustration svg { width: 100%; height: 100%; }

/* ---------------- agents grid + joker band ---------------- */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255,255,255,0.015);
}
.grid-4 .card { padding: 34px 28px 32px; }

.joker-band {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 32px 36px;
  border: 1px dashed rgba(168,85,247,0.45);
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 15% 30%, rgba(168,85,247,.14), transparent 60%), rgba(255,255,255,0.015);
}
.joker-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  color: var(--violet-300);
}
.joker-copy { flex: 1; min-width: 240px; }
.joker-copy h3 { font-family: var(--font-head); font-size: 20px; margin: 6px 0 8px; }
.joker-copy p { color: var(--ink-dim); font-size: 14.5px; margin: 0; max-width: 560px; }

/* ---------------- agent detail: flow diagram ---------------- */
.flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 56px clamp(20px, 4vw, 56px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 20% 15%, rgba(168,85,247,.1), transparent 60%), rgba(255,255,255,0.015);
  flex-wrap: wrap;
}
.flow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  width: 140px;
}
.flow-node .icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid rgba(168,85,247,.4);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  box-shadow: 0 0 26px rgba(168,85,247,.28);
  color: var(--violet-300);
  flex-shrink: 0;
}
.flow-node .icon-circle svg { width: 26px; height: 26px; }
.flow-node span {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink-dim);
  line-height: 1.4;
}
.flow-arrow {
  flex: 1;
  min-width: 30px;
  height: 1px;
  background: linear-gradient(90deg, rgba(168,85,247,.08), rgba(168,85,247,.65));
  position: relative;
  margin: 0 -4px;
  align-self: center;
  top: -22px;
}
.flow-arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-left: 6px solid var(--violet-400);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}

/* ---------------- agent detail: capabilities ---------------- */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.capability-item {
  display: flex;
  gap: 14px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.012);
}
.capability-item svg { width: 20px; height: 20px; color: var(--violet-300); flex-shrink: 0; margin-top: 2px; }
.capability-item p { margin: 0; color: var(--ink-dim); font-size: 14.5px; }

/* ---------------- specializations ---------------- */
.grid-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.spec-card {
  background: var(--bg-soft);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background .35s;
}
.spec-card:hover { background: rgba(168,85,247,0.08); }
.spec-card svg { width: 30px; height: 30px; color: var(--violet-300); }
.spec-card h4 { font-family: var(--font-head); font-size: 16.5px; margin: 0; font-weight: 600; }
.spec-card p { color: var(--ink-faint); font-size: 13.5px; margin: 0; }

/* ---------------- process ---------------- */
.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 42px 30px; position: relative; }
.process-4 { grid-template-columns: repeat(4, 1fr); }
.process-step { display: block; position: relative; padding-top: 60px; }
.process-step .num {
  position: absolute; top: 0; left: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(168,85,247,.4);
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--violet-300);
  box-shadow: 0 0 24px rgba(168,85,247,.35);
  transition: box-shadow .3s, border-color .3s;
}
.process-step h4 { font-family: var(--font-head); font-size: 17px; margin: 0 0 10px; transition: color .3s; }
.process-step p { color: var(--ink-dim); font-size: 14px; margin: 0; }
.process-step:hover .num { border-color: rgba(168,85,247,.8); box-shadow: 0 0 30px rgba(168,85,247,.55); }
.process-step:hover h4 { color: var(--violet-300); }

/* ---------------- CTA band ---------------- */
.cta-band {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 70px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 50% 0%, rgba(168,85,247,.25), transparent 60%), rgba(255,255,255,0.015);
}
.cta-band h2 { font-family: var(--font-head); font-size: clamp(28px, 4vw, 44px); margin: 0 0 16px; letter-spacing: -0.02em; }
.cta-band p { color: var(--ink-dim); margin: 0 0 34px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-whatsapp:hover { color: #25D366; border-color: rgba(37, 211, 102, 0.4); }
.btn-whatsapp .btn-arrow { color: #25D366; }

/* ---------------- footer ---------------- */
footer { padding: 80px 0 40px; border-top: 1px solid var(--line); }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 60px;
}
.footer-brand p { color: var(--ink-faint); font-size: 14px; max-width: 280px; margin-top: 16px; }
.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 18px;
}
.footer-col ul li { margin-bottom: 12px; }
.footer-col a { color: var(--ink-dim); font-size: 14px; transition: color .25s; }
.footer-col a:hover { color: var(--violet-300); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: var(--ink-faint);
  font-size: 13px;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom .socials { display: flex; gap: 16px; }
.footer-bottom .socials a { color: var(--ink-faint); }
.footer-bottom .socials a:hover { color: var(--violet-300); }

/* ---------------- Diagnóstico Inteligente ---------------- */
.diag-hero { text-align: left; }
.diag-free-badge {
  display: inline-block;
  margin-left: 10px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(168,85,247,.4);
  background: rgba(168,85,247,.12);
  font-size: 10.5px;
  color: var(--violet-200);
  vertical-align: middle;
}

.diag-shell {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.14);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.012));
  backdrop-filter: blur(24px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 24px 70px rgba(20,0,45,.5);
  overflow: hidden;
}
.diag-thread {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 220px;
  max-height: 58vh;
  overflow-y: auto;
  padding: 34px clamp(20px, 4vw, 44px) 10px;
}
.diag-thread .msg { max-width: 74%; font-size: 15px; }
.diag-input {
  margin: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  padding: 18px clamp(16px, 3vw, 32px);
}
.diag-input[hidden] { display: none; }
.diag-shell .chat-contact { padding: 22px clamp(16px, 3vw, 32px) 28px; border-top: 1px solid var(--line); }

/* ---------------- report ---------------- */
.report-view {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 60px);
  background: radial-gradient(circle at 85% 0%, rgba(168,85,247,.14), transparent 55%), rgba(255,255,255,0.015);
}
.report-letterhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding-bottom: 26px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
}
.report-brand { display: flex; align-items: center; gap: 10px; }
.report-brand-name { font-family: var(--font-head); font-weight: 600; font-size: 17px; letter-spacing: -0.02em; }
.report-meta { text-align: right; }
.report-meta-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--violet-300);
}
.report-meta-date { display: block; font-size: 12.5px; color: var(--ink-faint); margin-top: 4px; }

.report-title-block { margin-bottom: 22px; }
.report-company {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.report-industry { display: block; color: var(--ink-dim); font-size: 15px; margin-top: 6px; }

.report-category { margin-bottom: 34px; display: flex; align-items: center; gap: 22px; }
.report-category-text { flex: 1; min-width: 0; }
.maturity-gauge { flex-shrink: 0; width: 120px; display: flex; flex-direction: column; align-items: center; }
.maturity-gauge-svg { width: 100%; height: auto; display: block; overflow: visible; }
.maturity-gauge-caption { font-family: var(--font-mono); font-size: 12px; color: var(--ink-faint); margin-top: -6px; }
.report-category-pill {
  display: inline-block;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  border: 1px solid rgba(255,255,255,.2);
}
.report-category-pill.tier-1 { color: #fca5a5; border-color: rgba(248,113,113,.4); background: rgba(248,113,113,.1); }
.report-category-pill.tier-2 { color: #fcd34d; border-color: rgba(252,211,77,.4); background: rgba(252,211,77,.1); }
.report-category-pill.tier-3 { color: var(--violet-200); border-color: rgba(168,85,247,.45); background: rgba(168,85,247,.14); }
.report-category-pill.tier-4 { color: #6ee7b7; border-color: rgba(110,231,183,.4); background: rgba(110,231,183,.1); }
.report-category-reasoning { color: var(--ink-dim); font-size: 14.5px; margin: 12px 0 0; max-width: 640px; }

.report-block { margin-bottom: 30px; }
.report-block h3 {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--violet-300);
  margin: 0 0 12px;
}
.report-block p { color: var(--ink); font-size: 15.5px; line-height: 1.65; margin: 0; max-width: 700px; }
.report-solution-head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.report-solution-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(168,85,247,.4);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  box-shadow: 0 0 22px rgba(168,85,247,.3);
  color: var(--violet-300);
  flex-shrink: 0;
}
.report-solution-icon svg { width: 22px; height: 22px; }
.report-solution-name { font-family: var(--font-head); font-size: 20px; font-weight: 600; }
.report-solution-custom-badge {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--violet-300);
  border: 1px solid rgba(168,85,247,.4);
  background: rgba(168,85,247,.1);
  border-radius: var(--radius-pill);
  padding: 3px 10px;
}
.report-solution-custom-badge[hidden] { display: none; }

.report-meta-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.report-meta-chip {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: var(--ink-dim);
  font-size: 12.5px;
}

.report-block-highlight {
  padding: 22px 24px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(168,85,247,.25);
  background: rgba(168,85,247,.06);
}
.report-block-highlight p { max-width: none; }

.report-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-bottom: 30px; }
.report-grid-2 .report-block { margin-bottom: 0; }

.report-cards { display: flex; flex-direction: column; gap: 14px; }
.report-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  background: rgba(255,255,255,.02);
}
.report-card h4 { font-family: var(--font-head); font-size: 15.5px; font-weight: 600; margin: 0 0 8px; color: var(--ink); }
.report-card-meta { font-size: 13px; color: var(--ink-dim); margin: 0 0 4px; line-height: 1.5; }
.report-card-meta strong { color: var(--ink-faint); font-weight: 500; }
.report-card-desc { font-size: 14.5px; color: var(--ink); line-height: 1.55; margin: 8px 0 0; max-width: none; }

.report-cards-alert .report-card { border-color: rgba(248,113,113,.28); background: rgba(248,113,113,.05); }
.report-cards-alert .report-card-meta strong { color: #fca5a5; }

/* ---------------- solution tiers (Essential / Advanced / Signature) ---------------- */
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.tier-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  background: rgba(255,255,255,.02);
}
.tier-card-badge {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 3px 10px;
  margin-bottom: 12px;
}
.tier-card h4 { font-family: var(--font-head); font-size: 17px; font-weight: 600; margin: 0 0 8px; color: var(--ink); }
.tier-card-desc { font-size: 13.5px; color: var(--ink-dim); line-height: 1.55; margin: 0 0 14px; }
.tier-card-list { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.tier-card-list li {
  font-size: 13px;
  color: var(--ink-dim);
  line-height: 1.45;
  padding-left: 16px;
  position: relative;
}
.tier-card-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--violet-300);
}
.tier-card-benefit {
  font-size: 13px;
  color: var(--ink);
  line-height: 1.5;
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.tier-card-signature {
  border-color: rgba(168,85,247,.5);
  background: radial-gradient(circle at 50% 0%, rgba(168,85,247,.14), transparent 70%), rgba(255,255,255,.02);
  box-shadow: 0 0 30px rgba(168,85,247,.12);
}
.tier-card-signature .tier-card-badge { color: var(--violet-200); border-color: rgba(168,85,247,.45); background: rgba(168,85,247,.12); }
.tier-card-signature .tier-card-list li::before { background: var(--violet-200); }

/* ---------------- strategic roadmap timeline ---------------- */
.roadmap-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
}
.roadmap-phase { display: flex; flex-direction: column; gap: 12px; }
.roadmap-phase-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 2px solid rgba(168,85,247,.35);
}
.roadmap-phase-dot {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(168,85,247,.16);
  border: 1px solid rgba(168,85,247,.45);
  color: var(--violet-200);
  font-family: var(--font-mono);
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.roadmap-phase-label { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .05em; color: var(--ink-dim); }
.roadmap-phase-empty { font-size: 13px; color: var(--ink-faint); }
.roadmap-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  background: rgba(255,255,255,.02);
}
.roadmap-item h5 { font-family: var(--font-head); font-size: 14.5px; font-weight: 600; margin: 0 0 6px; color: var(--ink); }
.roadmap-item-meta { font-size: 12.5px; color: var(--ink-dim); margin: 0 0 3px; line-height: 1.5; }
.roadmap-item-meta strong { color: var(--ink-faint); font-weight: 500; }
.roadmap-item-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.roadmap-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .04em;
  padding: 2px 9px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  color: var(--ink-dim);
}
.roadmap-tag-alto { color: var(--violet-200); border-color: rgba(168,85,247,.4); background: rgba(168,85,247,.1); }
.roadmap-tag-medio { color: #fcd34d; border-color: rgba(252,211,77,.35); background: rgba(252,211,77,.08); }
.roadmap-tag-bajo { color: var(--ink-faint); background: rgba(255,255,255,.03); }
.roadmap-tag-outline { color: var(--ink-faint); background: transparent; }

/* ---------------- before/after transformation diagram ---------------- */
.report-transform-diagram { margin-top: 20px; }
.report-solution-flow { margin-top: 20px; }
.report-solution-flow .flow { padding: 34px clamp(16px, 3vw, 40px); }
.transform-diagram {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.015);
}
.transform-panel { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.transform-panel svg { width: 100%; height: auto; display: block; overflow: visible; }
.transform-panel-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-align: center;
}
.transform-panel-label-before { color: #fca5a5; }
.transform-panel-label-after { color: var(--violet-300); }
.transform-arrow { color: var(--ink-faint); width: 26px; height: 26px; flex-shrink: 0; }
.diagram-node-label {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.25;
  color: var(--ink);
  padding: 2px;
  box-sizing: border-box;
  overflow: hidden;
}

.report-footer { padding-top: 20px; border-top: 1px solid var(--line); }
.report-footer p { color: var(--ink-faint); font-size: 12.5px; margin: 0; }

.report-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }

@media print {
  body { background: #ffffff !important; }
  .ambient, .grain, .nav, .diag-hero, #diag-section, footer, .report-actions { display: none !important; }
  #report-section { padding: 0 !important; border: none !important; }
  #report-view {
    background: #ffffff !important;
    color: #14101a !important;
    border: none;
    box-shadow: none;
    padding: 24px;
  }
  #report-view .report-meta-label,
  #report-view h3,
  #report-view h4,
  #report-view .report-brand-name { color: #6d28d9 !important; }
  #report-view .brand-mark { background: #6d28d9 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  #report-view .report-category-pill { color: #14101a !important; background: #f3e8ff !important; border-color: #c084fc !important; }
  #report-view p,
  #report-view li,
  #report-view .report-industry,
  #report-view .report-category-reasoning,
  #report-view .report-card-meta,
  #report-view .report-card-desc,
  #report-view .report-meta-chip,
  #report-view .report-footer p { color: #2a2333 !important; }
  #report-view .report-card-meta strong { color: #6d28d9 !important; }
  #report-view .report-solution-icon { color: #6d28d9 !important; border-color: #c084fc !important; background: #fff !important; box-shadow: none !important; }
  #report-view .report-block-highlight { background: #f8f5ff !important; border-color: #e4d4ff !important; }
  #report-view .report-card { background: #fafafa !important; border-color: #e5e5e5 !important; break-inside: avoid; }
  #report-view .report-cards-alert .report-card { background: #fff5f5 !important; border-color: #fecaca !important; }
  #report-view .report-cards-alert .report-card-meta strong { color: #dc2626 !important; }
  #report-view .report-meta-chip { background: #f3f3f3 !important; border-color: #e5e5e5 !important; }
  #report-view .report-grid-2 { grid-template-columns: 1fr 1fr; }
  #report-view .report-block { break-inside: avoid; }
  #report-view .transform-diagram { background: #fafafa !important; border-color: #e5e5e5 !important; break-inside: avoid; }
  #report-view .transform-panel-label-before { color: #dc2626 !important; }
  #report-view .transform-panel-label-after { color: #6d28d9 !important; }
  #report-view .transform-arrow { color: #999 !important; }
  #report-view .diagram-node-label { color: #14101a !important; }
  #report-view .maturity-gauge-caption { color: #6d28d9 !important; }
  #report-view .tier-card,
  #report-view .roadmap-item { background: #fafafa !important; border-color: #e5e5e5 !important; break-inside: avoid; }
  #report-view .tier-card-signature { background: #f8f5ff !important; border-color: #c084fc !important; box-shadow: none !important; }
  #report-view .tier-card-desc,
  #report-view .tier-card-list li,
  #report-view .tier-card-benefit,
  #report-view .roadmap-item-meta,
  #report-view .roadmap-phase-empty { color: #2a2333 !important; }
  #report-view .tier-card-badge,
  #report-view .roadmap-phase-label { color: #6d28d9 !important; border-color: #c084fc !important; }
  #report-view .roadmap-phase-dot { background: #f3e8ff !important; border-color: #c084fc !important; color: #6d28d9 !important; }
  #report-view .roadmap-tag { border-color: #e5e5e5 !important; color: #4a4358 !important; }
  #report-view .roadmap-timeline,
  #report-view .tier-grid { break-inside: avoid; }
  #report-view .flow { background: #fafafa !important; border-color: #e5e5e5 !important; break-inside: avoid; }
  #report-view .flow-node span { color: #2a2333 !important; }
  #report-view .flow-node .icon-circle { background: #fff !important; border-color: #c084fc !important; box-shadow: none !important; color: #6d28d9 !important; }
  #report-view .flow-arrow { background: #d4bff5 !important; }
  #report-view .flow-arrow::after { border-left-color: #6d28d9 !important; }
}

/* ---------------- responsive ---------------- */
@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .card { border-right: none; border-bottom: 1px solid var(--line); }
  .grid-6 { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); row-gap: 50px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .joker-band { flex-wrap: wrap; }
  .capability-grid { grid-template-columns: 1fr; }
  .flow { flex-direction: column; padding: 40px clamp(20px, 5vw, 56px); }
  .flow-arrow { display: none; }
  .about-split { grid-template-columns: 1fr; text-align: center; }
  .about-image img { max-width: 260px; margin: 0 auto; }
  .about-copy h2, .about-copy p { max-width: none; }
  .about-copy .eyebrow { justify-content: center; }
  .bridge-phase { gap: 18px; padding-bottom: 60px; }
  .bridge-phase-arrow { display: none; }
  .bridge-phase-icon { width: 48px; height: 48px; }
  .bridge-phase-icon svg { width: 20px; height: 20px; }
  .bridge-phase-meta { gap: 20px; }
  .hero-home { padding-top: 130px; padding-bottom: 40px; justify-content: flex-start; }
  .hero-title { font-size: clamp(38px, 9.6vw, 72px); }
  .hero-rays { display: none; }
  .hero-trust { max-width: 100%; }
  .hero-visual {
    position: relative;
    order: 2;
    top: auto;
    left: 50%;
    width: min(170vw, 900px);
    margin: -8% 0 6%;
    transform: translateX(-51%);
  }
}
/* nav only collapses to the burger menu on genuinely narrow (phone-width) screens */
@media (max-width: 760px) {
  .burger { display: flex; }
  .nav-links {
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(6, 1, 8, 0.96);
    backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 8px clamp(20px, 5vw, 64px);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .35s var(--ease), opacity .3s var(--ease), padding .35s var(--ease);
  }
  .nav-links.open {
    max-height: 420px;
    opacity: 1;
    padding: 14px clamp(20px, 5vw, 64px);
  }
  .nav-links li { width: 100%; border-bottom: 1px solid var(--line); }
  .nav-links li:last-child { border-bottom: none; }
  .nav-links a { display: block; padding: 14px 0; }
  .brand { font-size: 16px; gap: 9px; }
  .brand-mark { width: 26px; height: 26px; }
  .nav-actions { gap: 8px; }
  .nav-actions .btn-primary { padding: 9px 16px; }
}
@media (max-width: 560px) {
  .grid-6 { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-actions, .cta-actions { flex-direction: column; align-items: stretch; }
  .hero-home .hero-actions { flex-direction: row; align-items: center; }
  .hero-cta { padding: 16px 26px 16px 30px; font-size: 16px; }
  .hero-trust { flex-direction: column; gap: 12px; }
  .hero-trust li { padding: 0; border-left: none; }
  .cta-band { padding: 50px 24px; }
  .joker-band { padding: 26px; }
  .diag-thread .msg { max-width: 88%; }
  .report-letterhead { flex-direction: column; align-items: flex-start; }
  .report-meta { text-align: left; }
  .report-solution-head { flex-wrap: wrap; }
  .report-grid-2 { grid-template-columns: 1fr; }
  .report-category { flex-direction: column; align-items: flex-start; }
  .tier-grid { grid-template-columns: 1fr; }
  .roadmap-timeline { grid-template-columns: 1fr; }
  .transform-diagram { grid-template-columns: 1fr; padding: 18px; }
  .transform-arrow { transform: rotate(90deg); justify-self: center; }
}

/* ============================================================
   HOME — light sheet below the hero (brand palette, flat surfaces)
   ============================================================ */
.sheet {
  --c-deep: #2B0B5B;
  --c-brand: #6B4EFF;
  --c-brand-dark: #5638E6;
  --c-lav: #E9E6FF;
  --c-ink: #0B0B0F;
  --c-muted: #5A5568;
  --c-fog: #F4F3F8;
  --c-line: #E3E0EC;

  position: relative;
  z-index: 3;
  margin-top: -44px;
  border-radius: 44px 44px 0 0;
  overflow: clip;
  background: #fff;
  color: var(--c-ink);
}
.sheet section { padding: clamp(80px, 9vw, 136px) 0; }
.sheet .sec-lav { background: var(--c-lav); }
.sheet .sec-fog { background: var(--c-fog); }
.sheet .sec-contact { padding-top: 0; }

.s-label {
  display: block;
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--c-brand);
}
.s-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(32px, 4.1vw, 58px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.024em;
  word-spacing: 0.06em;
}
.s-title .accent { color: var(--c-brand); }
.s-title .accent-deep { color: var(--c-deep); }
.s-text {
  margin: 22px 0 0;
  max-width: 34em;
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.6;
  color: var(--c-muted);
}
.s-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 30px; margin-top: 36px; }
.s-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px 64px;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.s-head > div { max-width: 46em; }
.s-head .s-text { margin: 0; max-width: 24em; }
.s-head .text-link { flex-shrink: 0; margin-bottom: 8px; }

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 30px;
  border-radius: var(--radius-pill);
  background: var(--c-brand);
  color: #fff;
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 600;
  word-spacing: 0.04em;
  white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s;
}
.pill:hover { background: var(--c-brand-dark); }
.pill:focus-visible, .text-link:focus-visible, .stair:focus-visible { outline: 2px solid var(--c-brand); outline-offset: 3px; }
.pill-sm { padding: 12px 22px; font-size: 14.5px; }
.pill-deep { background: var(--c-deep); }
.pill-deep:hover { background: #1c063f; }
.pill-light { background: #fff; color: var(--c-deep); }
.pill-light:hover { background: var(--c-lav); }
.pill-outline { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.45); }
.pill-outline:hover { background: rgba(255, 255, 255, 0.1); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 600;
  word-spacing: 0.04em;
  color: var(--c-ink);
  transition: color .2s;
}
.text-link svg { width: 17px; height: 17px; transition: transform .3s var(--ease); }
.text-link:hover { color: var(--c-brand); }
.text-link:hover svg { transform: translateX(4px); }

/* ---------------- intro ---------------- */
.intro-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.device { position: relative; min-width: 0; }
.device-card {
  position: relative;
  display: flex;
  justify-content: center;
  height: clamp(560px, 48vw, 680px);
  padding: clamp(44px, 4.2vw, 64px) 32px 0;
  border-radius: 40px;
  background:
    radial-gradient(70% 55% at 50% 12%, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0) 70%),
    radial-gradient(60% 50% at 100% 100%, rgba(107, 78, 255, 0.22) 0%, rgba(107, 78, 255, 0) 70%),
    linear-gradient(160deg, #EFEBFF 0%, #DED6FF 100%);
  overflow: hidden;
}
.device-card::before {            /* soft halo rings behind the phone */
  content: "";
  position: absolute;
  left: 50%; top: 46%;
  width: 150%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, rgba(107, 78, 255, 0.09) 0 1px, rgba(107, 78, 255, 0) 1px 46px);
  -webkit-mask: radial-gradient(closest-side, #000 30%, transparent 78%);
  mask: radial-gradient(closest-side, #000 30%, transparent 78%);
  transform: translate(-50%, -50%);
}

/* the handset: metal band, black bezel, glass */
.phone {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(336px, 100%);
  padding: 3px 3px 0;
  border-radius: 56px 56px 0 0;
  background: linear-gradient(135deg, #8C86A6 0%, #2A2740 22%, #55506E 48%, #1B1930 72%, #7C7698 100%);
  box-shadow:
    0 50px 90px -30px rgba(43, 11, 91, 0.55),
    0 24px 44px -22px rgba(11, 11, 15, 0.55),
    inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}
.phone::before, .phone::after {   /* side buttons */
  content: "";
  position: absolute;
  width: 4px;
  border-radius: 2px;
  background: linear-gradient(180deg, #6F6A8A, #2A2740 50%, #6F6A8A);
}
.phone::before { left: -3px; top: 132px; height: 34px; box-shadow: 0 52px 0 0 #4A4664, 0 100px 0 0 #4A4664; }
.phone::after { right: -3px; top: 176px; height: 76px; }
.phone-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  border: 9px solid #08070D;
  border-bottom: 0;
  border-radius: 53px 53px 0 0;
  background: #F5F3FB;
  overflow: hidden;
}
.phone-screen::before {           /* dynamic island */
  content: "";
  position: absolute;
  z-index: 2;
  top: 11px; left: 50%;
  width: 94px; height: 27px;
  border-radius: 14px;
  background: #08070D;
  transform: translateX(-50%);
}
.phone-screen::after {            /* camera lens */
  content: "";
  position: absolute;
  z-index: 3;
  top: 19px; left: calc(50% + 24px);
  width: 10px; height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #3B3F6B 0%, #14152A 55%, #05050B 100%);
}
.phone-glare {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.05) 18%, rgba(255, 255, 255, 0) 34%);
}
.phone-top {
  padding: 0 14px 13px;
  background: linear-gradient(160deg, #3A157A 0%, var(--c-deep) 62%, #220848 100%);
  color: #fff;
  box-shadow: 0 10px 24px -14px rgba(43, 11, 91, 0.7);
}
.phone-statusbar { display: flex; align-items: center; justify-content: space-between; height: 48px; padding: 2px 10px 0 14px; font-family: var(--font-body); font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }
.phone-statusbar-icons { display: flex; align-items: center; gap: 5px; }
.phone-statusbar-icons svg { height: 11px; width: auto; }
.phone-header { display: flex; align-items: center; gap: 9px; }
.phone-back { width: 20px; height: 20px; flex-shrink: 0; margin: 0 -3px 0 -4px; opacity: .9; }
.phone-avatar {
  position: relative;
  display: block;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--c-brand);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.22);
  flex-shrink: 0;
}
.phone-avatar img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.phone-avatar img:not([src]) { visibility: hidden; }
.phone-avatar::after { content: ""; position: absolute; right: -1px; bottom: -1px; width: 11px; height: 11px; border: 2px solid #2B0B5B; border-radius: 50%; background: #34D17A; }
.phone-id { min-width: 0; flex: 1; }
.phone-name { display: flex; align-items: center; gap: 5px; font-family: var(--font-display); font-size: 16px; font-weight: 600; line-height: 1.2; word-spacing: 0.03em; white-space: nowrap; }
.phone-name > span { overflow: hidden; text-overflow: ellipsis; }
.phone-name svg { width: 15px; height: 15px; flex-shrink: 0; }
.phone-status { margin-top: 1px; font-size: 11.5px; color: rgba(255, 255, 255, 0.72); }
.phone-actions { display: flex; align-items: center; gap: 13px; flex-shrink: 0; color: rgba(255, 255, 255, 0.9); }
.phone-actions svg { width: 20px; height: 20px; }
.phone-body {
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
  min-height: 0;
  padding: 14px 12px 26px;
  overflow: hidden;
  background:
    radial-gradient(90% 40% at 100% 0%, rgba(107, 78, 255, 0.08) 0%, rgba(107, 78, 255, 0) 70%),
    #F5F3FB;
}
.phone-day { align-self: center; margin-bottom: 3px; padding: 4px 12px; border-radius: var(--radius-pill); background: rgba(43, 11, 91, 0.07); font-size: 11.5px; font-weight: 600; color: #6B6482; }
.phone-body > * { flex-shrink: 0; }
.bubble { max-width: 84%; padding: 9px 13px 7px; border-radius: 19px; font-size: 14px; line-height: 1.42; }
.bubble.in { align-self: flex-start; background: #fff; border-bottom-left-radius: 6px; box-shadow: 0 8px 18px -12px rgba(43, 11, 91, 0.45), 0 0 0 1px rgba(43, 11, 91, 0.04); }
.bubble.out { align-self: flex-end; background: linear-gradient(160deg, #8068FF 0%, var(--c-brand) 60%, #5A3DF0 100%); color: #fff; border-bottom-right-radius: 6px; box-shadow: 0 10px 20px -12px rgba(107, 78, 255, 0.9); }
.bubble-meta { display: flex; align-items: center; justify-content: flex-end; gap: 4px; margin-top: 3px; font-size: 10.5px; line-height: 1; color: #9A94AD; }
.bubble.out .bubble-meta { color: rgba(255, 255, 255, 0.78); }
.bubble-meta svg { width: 16px; height: 9px; }
.phone-event {
  display: flex;
  align-items: center;
  gap: 10px;
  align-self: stretch;
  margin-top: 5px;
  padding: 10px 12px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 22px -14px rgba(43, 11, 91, 0.5), 0 0 0 1px rgba(43, 11, 91, 0.05);
  color: var(--c-deep);
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.3;
  word-spacing: 0.03em;
  text-align: left;
}
.phone-event-icon { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: #22C55E; color: #fff; flex-shrink: 0; }
.phone-event-icon svg { width: 14px; height: 14px; }
/* the conversation plays out live: script.js reveals each message in turn */
.phone-body.is-live > * { display: none; }
.phone-body.is-live > .phone-day { display: block; }
.phone-body.is-live > .is-shown { display: block; animation: bubbleIn .42s var(--ease) both; }
.phone-body.is-live > .phone-event.is-shown, .phone-body.is-live > .bubble.typing.is-shown { display: flex; }
.phone-body.is-clearing > * { opacity: 0; transition: opacity .45s ease; }
.bubble.typing { align-items: center; gap: 5px; padding: 14px 16px; }
.bubble.typing span { width: 7px; height: 7px; border-radius: 50%; background: #B5AFC6; animation: typingPulse 1.1s ease-in-out infinite; }
.bubble.typing span:nth-child(2) { animation-delay: .15s; }
.bubble.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes bubbleIn {
  from { opacity: 0; transform: translateY(10px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.phone-event {
  display: flex;
  align-items: center;
  gap: 7px;
  align-self: center;
  margin-top: 6px;
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  background: var(--c-lav);
  color: var(--c-deep);
  font-size: 12px;
  font-weight: 600;
  text-align: left;
}
.phone-event svg { width: 14px; height: 14px; flex-shrink: 0; }

/* ---------------- team carousel: centre card in front, neighbours behind ---------------- */
.team-head { max-width: 46em; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.team-head .s-text { margin-left: auto; margin-right: auto; }
.team { --card-w: clamp(250px, 27vw, 390px); }
.team-stage { position: relative; height: calc(var(--card-w) * 1.5); touch-action: pan-y; }
.team-card {
  position: absolute;
  top: 0;
  left: 50%;
  width: var(--card-w);
  height: 100%;
  margin-left: calc(var(--card-w) / -2);
  border-radius: 32px;
  background: var(--c-lav);
  overflow: hidden;
  cursor: pointer;
  transform: translateX(calc(var(--pos) * 80%)) scale(var(--sc));
  transition: transform 1.1s cubic-bezier(0.65, 0, 0.35, 1), opacity .8s ease;
  will-change: transform;
}
.team-card[data-pos="0"] { --pos: 0; --sc: 1; z-index: 3; cursor: default; }
.team-card[data-pos="-1"] { --pos: -1; --sc: 0.84; z-index: 2; }
.team-card[data-pos="1"] { --pos: 1; --sc: 0.84; z-index: 2; }
.team-card[data-pos="-2"] { --pos: -1.7; --sc: 0.7; z-index: 1; opacity: 0; pointer-events: none; }
.team-card[data-pos="2"] { --pos: 1.7; --sc: 0.7; z-index: 1; opacity: 0; pointer-events: none; }
.team-card img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 0; transition: filter 1s ease; }
.team-card:not([data-pos="0"]) img { filter: brightness(0.9) saturate(0.92); }
.team-card-body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 110px 28px 28px;
  background: linear-gradient(180deg, rgba(27, 6, 63, 0) 0%, rgba(27, 6, 63, 0.78) 48%, rgba(27, 6, 63, 0.95) 100%);
  color: #fff;
}
.team-card[data-pos="1"] .team-card-body, .team-card[data-pos="2"] .team-card-body { align-items: flex-end; text-align: right; }
.team-kicker { font-size: 13.5px; font-weight: 500; color: rgba(255, 255, 255, 0.76); }
.team-card h3 { margin: 4px 0 0; font-family: var(--font-display); font-size: clamp(24px, 2.2vw, 31px); font-weight: 600; letter-spacing: -0.02em; word-spacing: 0.05em; line-height: 1.12; }
.team-card p { margin: 10px 0 20px; font-size: 14.5px; line-height: 1.5; color: rgba(255, 255, 255, 0.84); }
.team-card p, .team-card .pill { transition: opacity .7s ease; }
.team-card:not([data-pos="0"]) p, .team-card:not([data-pos="0"]) .pill { opacity: 0; pointer-events: none; }

.team-controls { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: clamp(28px, 3vw, 44px); }
.team-btn {
  display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: var(--c-ink);
  transition: background .2s, color .2s;
}
.team-btn:hover { background: var(--c-lav); color: var(--c-deep); }
.team-btn:focus-visible, .team-dot:focus-visible { outline: 2px solid var(--c-brand); outline-offset: 3px; }
.team-btn svg { width: 20px; height: 20px; }
.team-btn .icon-play { display: none; }
.team-btn[aria-pressed="true"] .icon-play { display: block; }
.team-btn[aria-pressed="true"] .icon-pause { display: none; }
.team-dots { display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px; border-radius: var(--radius-pill); background: #fff; }
.team-dot { width: 8px; height: 8px; padding: 0; border: none; border-radius: var(--radius-pill); background: #CFC9E0; transition: width .4s var(--ease), background .3s; }
.team-dot[aria-current="true"] { width: 28px; background: var(--c-brand); }
.team-foot { display: flex; justify-content: center; margin-top: 30px; }

@media (max-width: 620px) {
  .team { --card-w: min(70vw, 300px); }
  .team-card { border-radius: 26px; }
  .team-card-body { padding: 90px 22px 22px; }
  .team-card-body { transition: opacity .5s var(--ease); }
  .team-card:not([data-pos="0"]) .team-card-body { opacity: 0; }
}

/* ---------------- flow: four steps, each one opens its own explanation ---------------- */
.think-head { max-width: 40em; margin: 0 auto clamp(44px, 5vw, 72px); text-align: center; }
.think-track { display: flex; align-items: center; justify-content: center; }
.think-node {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex: 0 0 auto;
  width: clamp(150px, 14.6vw, 212px);
  aspect-ratio: 1;
  padding: 0 18px;
  border: none;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 26%, #FFFFFF 0%, #F4F1FF 46%, #E7E1FE 100%);
  box-shadow: 0 0 0 1px rgba(107, 78, 255, 0.08), 0 22px 60px -18px rgba(107, 78, 255, 0.38);
  color: var(--c-ink);
  text-align: center;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), background .5s ease;
}
.think-node:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(107, 78, 255, 0.14), 0 28px 70px -18px rgba(107, 78, 255, 0.5); }
.think-node:focus-visible { outline: 2px solid var(--c-brand); outline-offset: 12px; }
.think-node.is-active {
  transform: scale(1.07);
  background: radial-gradient(circle at 34% 26%, #8F78FF 0%, var(--c-brand) 48%, #4B2FD0 100%);
  box-shadow: 0 30px 70px -18px rgba(75, 47, 208, 0.6);
  color: #fff;
}
.think-num { font-family: var(--font-display); font-size: 15px; font-weight: 500; letter-spacing: 0.04em; color: rgba(43, 11, 91, 0.5); transition: color .4s; }
.think-name { font-family: var(--font-display); font-size: clamp(15.5px, 1.35vw, 19px); font-weight: 500; line-height: 1.25; letter-spacing: -0.01em; word-spacing: 0.04em; }
.think-name span { display: block; }
.think-node.is-active .think-num { color: rgba(255, 255, 255, 0.72); }

.think-ring { position: absolute; inset: -9%; width: 118%; height: 118%; overflow: visible; pointer-events: none; }
.think-ring circle { fill: none; }
.think-ring-dash { stroke: rgba(107, 78, 255, 0.28); stroke-width: 0.35; stroke-dasharray: 0.6 1.5; }
.think-ring-track { stroke: rgba(107, 78, 255, 0.16); stroke-width: 0.7; }
.think-ring-arc {
  stroke: var(--c-brand);
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-dasharray: 26 74;
  transform-origin: 50% 50%;
  transform: rotate(var(--rot));
  animation: thinkSpin 16s linear infinite;
  transition: stroke-dasharray 1.1s var(--ease), stroke .4s;
}
.think-node.is-active .think-ring-arc { stroke-dasharray: 100 0; }
@keyframes thinkSpin { to { transform: rotate(calc(var(--rot) + 360deg)); } }

.think-link {
  position: relative;
  flex: 1 1 0;
  min-width: 28px;
  max-width: 150px;
  height: 2px;
  margin: 0 clamp(12px, 1.5vw, 24px);
  background: linear-gradient(90deg, rgba(107, 78, 255, 0.12), rgba(107, 78, 255, 0.45), rgba(107, 78, 255, 0.12));
}
.think-link::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(107, 78, 255, 0.18), 0 6px 18px rgba(107, 78, 255, 0.35);
  transform: translate(-50%, -50%);
}
.think-link::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 12px; height: 12px;
  border: 3.5px solid var(--c-brand);
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
}
.think-link-dot {
  position: absolute;
  top: 50%;
  left: 0;
  width: 6px; height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: var(--c-brand);
  opacity: 0;
  animation: thinkTravel 3.2s ease-in-out infinite;
}
.think-link:nth-of-type(2) .think-link-dot { animation-delay: .5s; }
.think-link:nth-of-type(3) .think-link-dot { animation-delay: 1s; }
@keyframes thinkTravel {
  0% { left: 0; opacity: 0; }
  15%, 85% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

.think-panels { display: grid; max-width: 1040px; margin: clamp(48px, 5.5vw, 80px) auto 0; }
.think-panel {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  padding: clamp(28px, 3.6vw, 52px);
  border-radius: 32px;
  background: var(--c-fog);
  visibility: hidden;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .35s ease, transform .35s ease, visibility 0s linear .35s;
}
.think-panel.is-active { visibility: visible; opacity: 1; transform: none; transition: opacity .6s ease .12s, transform .7s var(--ease) .12s, visibility 0s; }
.think-panel-step { font-family: var(--font-display); font-size: 14px; font-weight: 600; color: var(--c-brand); }
.think-panel h3 { margin: 10px 0 14px; font-family: var(--font-display); font-size: clamp(24px, 2.4vw, 34px); font-weight: 600; letter-spacing: -0.025em; word-spacing: 0.05em; line-height: 1.12; }
.think-panel p { margin: 0; font-size: clamp(15.5px, 1.2vw, 17.5px); line-height: 1.62; color: var(--c-muted); }
.think-panel ul { display: flex; flex-direction: column; gap: 10px; }
.think-panel li { display: flex; align-items: center; gap: 14px; padding: 15px 18px; border-radius: 18px; background: #fff; font-family: var(--font-display); font-size: 15px; font-weight: 500; line-height: 1.35; word-spacing: 0.04em; }
.think-panel li svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--c-brand); }
.think-hint { margin: 22px 0 0; text-align: center; font-size: 14px; color: #8A8499; }

/* ---------------- Kovi: the chameleon that takes on any role ---------------- */
.sheet .kovi {
  --floor: 21%;               /* height of the floor, from the bottom of the scene */
  position: relative;
  height: clamp(580px, 88vh, 880px);
  padding: 0;
  overflow: hidden;
  background: #170A36;
  color: #fff;
  isolation: isolate;
}
.kovi-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
/* back wall: deep violet, lit from the two top corners */
.kovi-wall {
  position: absolute;
  inset: 0 0 var(--floor) 0;
  background:
    linear-gradient(112deg, rgba(124, 77, 255, 0.40) 0%, rgba(124, 77, 255, 0.12) 15%, rgba(124, 77, 255, 0) 32%),
    linear-gradient(248deg, rgba(150, 100, 255, 0.52) 0%, rgba(124, 77, 255, 0.16) 14%, rgba(124, 77, 255, 0) 31%),
    radial-gradient(50% 70% at 50% 100%, rgba(98, 52, 214, 0.22) 0%, rgba(98, 52, 214, 0) 70%),
    linear-gradient(180deg, #180938 0%, #160833 52%, #1A0A3E 100%);
}
.kovi-wall::after {            /* a fine dot weave, like the reference */
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1.2px);
  background-size: 7px 7px;
  -webkit-mask: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.3) 100%);
  mask: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.3) 100%);
}
/* the floor: a dark glossy stage with a lit horizon */
.kovi-floor {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: var(--floor);
  background:
    radial-gradient(42% 120% at 0% 0%, rgba(150, 100, 255, 0.55) 0%, rgba(124, 77, 255, 0) 70%),
    radial-gradient(42% 120% at 100% 0%, rgba(150, 100, 255, 0.5) 0%, rgba(124, 77, 255, 0) 70%),
    radial-gradient(34% 150% at 70% 0%, rgba(124, 77, 255, 0.26) 0%, rgba(124, 77, 255, 0) 70%),
    linear-gradient(180deg, #2B1168 0%, #1B0A40 34%, #120629 100%);
}
.kovi-floor::before {          /* horizon line */
  content: "";
  position: absolute;
  left: 0; right: 0; top: -1px;
  height: 2px;
  background: linear-gradient(90deg, rgba(196, 170, 255, 0.95) 0%, rgba(140, 96, 255, 0.5) 22%, rgba(124, 77, 255, 0.28) 50%, rgba(140, 96, 255, 0.5) 78%, rgba(196, 170, 255, 0.95) 100%);
  box-shadow: 0 0 22px 2px rgba(140, 96, 255, 0.55);
}

.kovi-inner { position: relative; height: 100%; }

/* ----- Kovi ----- */
.kovi-figure {
  position: absolute;
  left: 7.5%;
  bottom: calc(var(--floor) * 0.54);
  height: 63%;
  aspect-ratio: 1189 / 1200;
  pointer-events: none;
}
.kovi-float { position: absolute; inset: 0; animation: koviBreathe 5.5s ease-in-out infinite; transform-origin: 53% 100%; }
@keyframes koviBreathe {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-0.9%) scale(1.008); }
}
.kovi-layer { position: absolute; inset: 0; opacity: 0; will-change: transform, opacity, filter; }
.kovi-layer.is-current { opacity: 1; }
.kovi-layer img { position: absolute; left: 0; width: 100%; height: 100%; max-width: none; user-select: none; -webkit-user-drag: none; }
.kovi-layer .kovi-img { top: 0; filter: drop-shadow(0 18px 30px rgba(8, 2, 24, 0.45)); }
.kovi-layer .kovi-reflect {
  top: 99.2%;
  transform: scaleY(-1);
  opacity: 0.3;
  filter: blur(3px) saturate(0.9);
  -webkit-mask: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.25) 16%, transparent 34%);
  mask: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.25) 16%, transparent 34%);
}
.kovi-shadow {
  position: absolute;
  left: 22%; right: 12%;
  bottom: -3.2%;
  height: 7%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(6, 1, 20, 0.7), rgba(6, 1, 20, 0));
  filter: blur(6px);
}
/* light that blooms behind Kovi and a ring that runs across the floor on every change */
.kovi-flash {
  position: absolute;
  left: 53%; top: 52%;
  width: 96%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(214, 196, 255, 0.95) 0%, rgba(150, 110, 255, 0.55) 32%, rgba(124, 77, 255, 0) 70%);
  transform: translate(-50%, -50%) scale(0.6);
  opacity: 0;
  mix-blend-mode: screen;
}
.kovi-ripple {
  position: absolute;
  left: 53%; bottom: -1.5%;
  width: 78%;
  aspect-ratio: 5 / 1;
  border: 2px solid rgba(196, 170, 255, 0.9);
  border-radius: 50%;
  box-shadow: 0 0 26px rgba(140, 96, 255, 0.8), inset 0 0 18px rgba(140, 96, 255, 0.5);
  transform: translate(-50%, 50%) scale(0.3);
  opacity: 0;
}

/* ----- role bubble ----- */
.kovi-panel {
  position: absolute;
  right: 7%;
  top: calc((100% - var(--floor)) * 0.63);
  width: 44%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateY(-50%);
}
.kovi-row { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 2.2vw, 36px); width: 100%; }
.kovi-bubble {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: clamp(200px, 20.5vw, 320px);
  aspect-ratio: 1;
  flex-shrink: 0;
  border: 1.5px solid rgba(178, 148, 255, 0.85);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 38%, rgba(124, 77, 255, 0.10) 0%, rgba(20, 8, 48, 0.28) 62%, rgba(124, 77, 255, 0.16) 100%);
  box-shadow: 0 0 46px rgba(124, 77, 255, 0.5), 0 0 110px rgba(124, 77, 255, 0.22), inset 0 0 54px rgba(124, 77, 255, 0.24);
  overflow: hidden;
}
.kovi-role {
  position: absolute;
  left: 9%; right: 9%;
  font-family: var(--font-body);
  font-size: clamp(26px, 2.9vw, 48px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-align: center;
  color: #D9C8FF;
  background: linear-gradient(95deg, #F1E8FF 0%, #C9AEFF 46%, #9C6DFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  will-change: transform, opacity, filter;
}
.kovi-arrow {
  display: flex; align-items: center; justify-content: center;
  width: clamp(48px, 4.6vw, 72px);
  aspect-ratio: 1;
  flex-shrink: 0;
  border: 1.5px solid rgba(160, 124, 255, 0.8);
  border-radius: 50%;
  background: rgba(20, 8, 48, 0.25);
  box-shadow: 0 0 22px rgba(124, 77, 255, 0.3), inset 0 0 18px rgba(124, 77, 255, 0.14);
  color: #fff;
  transition: background .3s, border-color .3s, box-shadow .4s var(--ease), transform .4s var(--ease);
}
.kovi-arrow svg { width: 38%; height: 38%; }
.kovi-arrow:hover { background: rgba(124, 77, 255, 0.3); border-color: #C9AEFF; box-shadow: 0 0 34px rgba(124, 77, 255, 0.65), inset 0 0 18px rgba(124, 77, 255, 0.3); transform: scale(1.06); }
.kovi-arrow:active { transform: scale(0.95); }
.kovi-arrow:focus-visible, .kovi-dot:focus-visible { outline: 2px solid #C9AEFF; outline-offset: 4px; }
.kovi-dots { display: flex; align-items: center; gap: 11px; margin-top: clamp(20px, 2.8vh, 34px); }
.kovi-dot { width: 11px; height: 11px; padding: 0; border: none; border-radius: 50%; background: rgba(160, 124, 255, 0.26); transition: background .4s, transform .5s var(--ease), box-shadow .4s; }
.kovi-dot:hover { background: rgba(160, 124, 255, 0.55); }
.kovi-dot[aria-current="true"] { background: #A47BFF; transform: scale(1.35); box-shadow: 0 0 14px rgba(164, 123, 255, 0.9); }
.kovi-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media (max-width: 980px) {
  .sheet .kovi { --floor: 17%; height: auto; min-height: 0; padding: 72px 0 0; }
  .kovi-inner { display: flex; flex-direction: column; align-items: center; height: auto; }
  .kovi-panel { position: static; width: 100%; transform: none; }
  .kovi-figure { position: relative; left: auto; bottom: auto; width: min(86vw, 460px); height: auto; margin: 34px 0 9%; }
  .kovi-floor { height: 24vw; max-height: 130px; }
  .kovi-wall { inset: 0 0 min(24vw, 130px) 0; }
}
@media (max-width: 620px) {
  .kovi-bubble { width: min(52vw, 230px); }
  .kovi-role { font-size: clamp(24px, 7vw, 32px); }
  .kovi-row { gap: 12px; }
  .kovi-arrow { width: 48px; }
  .kovi-dots { gap: 10px; }
  .kovi-dot { width: 10px; height: 10px; }
}

/* ---------------- process: stepped cards ---------------- */
.stairs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: start; }
.stair {
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 30px 28px 34px;
  border-radius: 28px;
  background: var(--c-fog);
  color: var(--c-ink);
  transition: background .25s, opacity .9s var(--ease), transform .9s var(--ease);
}
.stair:nth-child(2) { margin-top: 56px; }
.stair:nth-child(3) { margin-top: 112px; }
.stair:nth-child(4) { margin-top: 168px; }
.stair:hover { background: var(--c-lav); }
.stair-num { font-family: var(--font-display); font-size: 46px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; color: var(--c-brand); }
.stair h4 { margin: auto 0 10px; padding-top: 56px; font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; word-spacing: 0.05em; }
.stair p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--c-muted); }

/* ---------------- contact ---------------- */

footer { position: relative; z-index: 3; background: #0B0B0F; }

@media (max-width: 1180px) {
  .hero-trust { gap: 12px 28px; }
  .hero-trust li { padding: 0; border-left: none; }
}
@media (max-width: 980px) {
  .intro-grid { grid-template-columns: 1fr; }
  .s-head { flex-direction: column; align-items: flex-start; }
  .think-track { display: grid; grid-template-columns: repeat(2, auto); justify-content: center; gap: 44px clamp(36px, 8vw, 72px); }
  .think-link { display: none; }
  .think-node { width: clamp(150px, 36vw, 220px); }
  .think-panel { grid-template-columns: 1fr; }
  .stairs { grid-template-columns: repeat(2, 1fr); }
  .stair:nth-child(n) { margin-top: 0; }
  .stair { min-height: 230px; }
}
@media (max-width: 620px) {
  .sheet { margin-top: -28px; border-radius: 28px 28px 0 0; }
  .stairs { grid-template-columns: 1fr; }
  .stair { min-height: 0; }
  .stair h4 { padding-top: 36px; }
  .device-card { justify-content: center; height: 520px; padding: 36px 20px 0; border-radius: 28px; }
  .think-track { gap: 34px 30px; }
  .think-node { width: min(40vw, 168px); gap: 8px; padding: 0 10px; }
  .think-name { font-size: 14.5px; }
  .think-panel { border-radius: 26px; }
}

/* ============================================================
   LIGHT PAGES — dark-on-light nav for pages that open on a light surface
   ============================================================ */
body.page-light .nav .brand { color: #0B0B0F; }
body.page-light .nav .brand-mark { background: #2B0B5B; }
body.page-light .nav-links a { color: #45405A; }
body.page-light .nav-links a:hover { color: #0B0B0F; }
body.page-light .nav.scrolled { background: rgba(255, 255, 255, 0.82); border-bottom-color: rgba(11, 11, 15, 0.08); }
body.page-light .nav-actions .btn {
  color: #0B0B0F;
  border-color: rgba(11, 11, 15, 0.14);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}
body.page-light .nav-actions .btn::before { display: none; }
body.page-light .nav-actions .btn-primary { color: #2B0B5B; border-color: #6B4EFF; background: transparent; }
body.page-light .nav-actions .btn-primary:hover { color: #fff; background: #6B4EFF; box-shadow: none; }
body.page-light .burger { color: #0B0B0F; border-color: rgba(11, 11, 15, 0.16); }
.sheet.sheet-flat { margin-top: 0; border-radius: 0; }

/* ============================================================
   DIGITAL EMPLOYEES PAGE — one employee at a time, at their desk
   ============================================================ */
.showcase {
  position: relative;
  min-height: 100vh;
  padding: 118px 0 44px !important;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(55% 60% at 26% 34%, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0) 72%),
    radial-gradient(60% 70% at 96% 8%, #B8A2F6 0%, rgba(184, 162, 246, 0) 62%),
    radial-gradient(50% 60% at 0% 100%, #C6B4F8 0%, rgba(198, 180, 248, 0) 64%),
    radial-gradient(45% 50% at 78% 96%, #D3C5FA 0%, rgba(211, 197, 250, 0) 70%),
    #E7E0FC;
  overflow: hidden;
}
.showcase > .wrap { position: relative; flex: 1; display: flex; flex-direction: column; width: 100%; }

.show-controls { display: flex; align-items: center; gap: 10px; margin-bottom: clamp(18px, 2.4vh, 30px); }
.show-arrow {
  display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px;
  border: 1px solid rgba(43, 11, 91, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  color: var(--c-deep);
  transition: background .25s, color .25s, border-color .25s, transform .3s var(--ease);
}
.show-arrow svg { width: 20px; height: 20px; }
.show-arrow:hover { background: var(--c-deep); border-color: var(--c-deep); color: #fff; }
.show-arrow:active { transform: scale(.94); }
.show-arrow:focus-visible, .show-dot:focus-visible { outline: 2px solid var(--c-brand); outline-offset: 3px; }
.show-count { margin-left: 8px; font-family: var(--font-display); font-size: 14px; font-weight: 600; letter-spacing: 0.04em; color: var(--c-deep); font-variant-numeric: tabular-nums; }
.show-count span { color: rgba(43, 11, 91, 0.42); }

.show-stage { display: grid; flex: 1; }
.show-slide {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.55fr) minmax(0, 0.86fr);
  gap: clamp(16px, 2vw, 36px);
  align-items: stretch;
  visibility: hidden;
  opacity: 0;
  transition: opacity .45s ease, visibility 0s linear .45s;
}
.show-slide.is-active { visibility: visible; opacity: 1; transition: opacity .6s ease .1s, visibility 0s; }

.show-copy, .show-side { display: flex; flex-direction: column; min-width: 0; }
.show-kicker { font-family: var(--font-display); font-size: 13px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(43, 11, 91, 0.6); }
.show-title {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-size: clamp(38px, 4.4vw, 68px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.03em;
  word-spacing: 0.05em;
  color: #1A0B3B;
}
.show-desc { margin: 20px 0 0; max-width: 24em; font-size: clamp(15.5px, 1.2vw, 18px); line-height: 1.6; color: #4B4462; }
.show-copy .pill { align-self: flex-start; gap: 10px; margin-top: 30px; }
.show-copy .pill svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.show-copy .pill:hover svg { transform: translateX(4px); }
/* text that is being typed: the untyped remainder keeps its space so nothing jumps */
.type-rest { visibility: hidden; }
.is-typing .type-done::after { content: ""; display: inline-block; width: 2px; height: 0.9em; margin-left: 3px; background: var(--c-brand); vertical-align: -0.08em; animation: caretBlink .8s steps(1) infinite; }
@keyframes caretBlink { 50% { opacity: 0; } }

.show-figure { position: relative; display: flex; align-items: flex-end; justify-content: center; min-width: 0; }
.show-figure::after {
  content: "";
  position: absolute;
  left: 8%; right: 8%; bottom: 1.5%;
  height: 7%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(43, 11, 91, 0.3), rgba(43, 11, 91, 0));
  filter: blur(10px);
}
.show-figure img { position: relative; z-index: 1; display: block; flex-shrink: 0; width: 108%; max-width: 880px; height: auto; max-height: 72vh; object-fit: contain; object-position: 50% 100%; }

.show-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.show-status { align-self: flex-end; gap: 10px; padding: 11px 18px; border-radius: var(--radius-pill); font-size: 14px; color: #4B4462; }
.show-status strong { display: flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 600; color: #1A0B3B; }
.show-status strong::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18); }
.show-caps { display: flex; flex-direction: column; gap: 10px; margin: 18px 0 0; }
.show-cap { font-family: var(--font-display); font-size: 15px; font-weight: 500; line-height: 1.35; word-spacing: 0.04em; color: #1A0B3B; }
.show-cap-icon {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 12px;
  background: rgba(107, 78, 255, 0.12);
  color: var(--c-brand);
  flex-shrink: 0;
}
.show-cap-icon svg { width: 18px; height: 18px; }
.show-task { margin-top: auto; }
.show-copy .show-task { align-self: stretch; max-width: 380px; }
.show-task-label { display: block; font-size: 12.5px; color: #6B6482; }
.show-task-text { display: block; margin-top: 2px; font-family: var(--font-display); font-size: 15.5px; font-weight: 600; word-spacing: 0.04em; color: #1A0B3B; }
.show-spinner { width: 34px; height: 34px; border: 4px solid rgba(107, 78, 255, 0.18); border-top-color: var(--c-brand); border-radius: 50%; flex-shrink: 0; animation: showSpin 1.4s linear infinite; }
@keyframes showSpin { to { transform: rotate(360deg); } }
.show-side .show-task { margin-top: 18px; }
.show-side .show-caps { margin-bottom: auto; }

/* each employee's entrance */
.show-slide.is-active .show-figure img { animation: showFigureIn 1s var(--ease) both; }
.show-slide.is-active .show-kicker { animation: showUp .6s var(--ease) both; }
.show-slide.is-active .show-copy .pill { animation: showUp .7s var(--ease) 1.5s both; }
.show-slide.is-active .show-status { animation: showUp .7s var(--ease) .5s both; }
.show-slide.is-active .show-cap { animation: showUp .7s var(--ease) both; animation-delay: calc(.75s + var(--i) * .13s); }
.show-slide.is-active .show-task { animation: showUp .7s var(--ease) 1.45s both; }
@keyframes showFigureIn {
  from { opacity: 0; transform: translateX(46px) scale(.985); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes showUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.show-dots { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
.show-dot { width: 8px; height: 8px; padding: 0; border: none; border-radius: var(--radius-pill); background: rgba(43, 11, 91, 0.2); transition: width .4s var(--ease), background .3s; }
.show-dot[aria-current="true"] { width: 30px; background: var(--c-deep); }

.cta-panel { display: flex; flex-direction: column; align-items: center; text-align: center; padding: clamp(44px, 6vw, 88px) clamp(24px, 5vw, 80px); border-radius: 40px; background: var(--c-deep); color: #fff; }
.cta-panel .s-text { margin-left: auto; margin-right: auto; color: rgba(255, 255, 255, 0.74); }
.cta-panel .s-actions { justify-content: center; }
.sheet .sec-cta { padding-top: clamp(64px, 7vw, 104px); }

@media (max-width: 1180px) {
  .show-slide { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
  .show-side { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .show-side .show-status { grid-column: 1 / -1; justify-self: start; align-self: auto; }
  .show-caps { display: contents; }
  .show-side .show-task { grid-column: 1 / -1; margin-top: 0; }
  .show-figure img { width: 100%; max-height: 52vh; }
}
@media (max-width: 760px) {
  body.page-light .nav-links { background: rgba(255, 255, 255, 0.97); border-color: rgba(11, 11, 15, 0.1); }
  body.page-light .nav-links li { border-bottom-color: rgba(11, 11, 15, 0.08); }
  .showcase { padding-top: 104px !important; }
  .show-slide { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .show-figure { order: -1; }
  .show-figure img { max-height: none; }
  .show-side { grid-template-columns: minmax(0, 1fr); }
  .show-copy .show-task { max-width: none; margin-top: 26px; }
  .cta-panel { border-radius: 28px; }
}

/* ============================================================
   BRIDGE FRAMEWORK PAGE — four phase cards pinned to the bridge
   ============================================================ */
.sheet .bf {
  --w: min(100vw, 1920px);            /* width of the bridge stage */
  --line: calc(var(--w) * 0.026);     /* connector from card to sphere */
  position: relative;
  min-height: 100vh;
  padding: 96px 0 0;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(60% 46% at 50% 30%, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0) 72%),
    radial-gradient(50% 60% at 0% 60%, #D2C4FA 0%, rgba(210, 196, 250, 0) 66%),
    radial-gradient(50% 60% at 100% 55%, #CDBDF9 0%, rgba(205, 189, 249, 0) 66%),
    linear-gradient(180deg, #F1ECFE 0%, #E9E2FD 55%, #E2D9FC 100%);
  overflow: hidden;
}
.bf-stage { position: relative; width: var(--w); margin: auto auto 0; padding-top: clamp(16px, 3vh, 44px); }
.bf-cards { position: relative; z-index: 2; height: clamp(214px, calc(var(--w) * 0.152), 272px); }
.bf-card {
  position: absolute;
  left: var(--x);
  bottom: 0;
  display: flex;
  flex-direction: column;
  width: clamp(204px, calc(var(--w) * 0.168), 300px);
  min-height: 100%;
  padding: clamp(18px, calc(var(--w) * 0.0145), 28px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.52);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 24px 50px -28px rgba(75, 47, 208, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  color: var(--c-ink);
  transform: translateX(-50%);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .3s;
  animation: bfCardIn .9s var(--ease) both;
  animation-delay: calc(.15s + var(--i) * .14s);
}
.bf-card:hover { transform: translateX(-50%) translateY(-6px); background: rgba(255, 255, 255, 0.78); box-shadow: 0 34px 60px -28px rgba(75, 47, 208, 0.6), inset 0 1px 0 #fff; }
.bf-card:focus-visible { outline: 2px solid var(--c-brand); outline-offset: 4px; }
/* connector: a line from the card down to its sphere, ending in a small ring */
.bf-card::before {
  content: "";
  position: absolute;
  left: 50%; top: 100%;
  width: 2px;
  height: var(--line);
  margin-left: -1px;
  background: linear-gradient(180deg, rgba(107, 78, 255, 0.35), var(--c-brand));
  transform-origin: 50% 0;
  animation: bfLineIn .6s var(--ease) both;
  animation-delay: calc(.75s + var(--i) * .14s);
}
.bf-card::after {
  content: "";
  position: absolute;
  left: 50%; top: calc(100% + var(--line));
  width: 15px; height: 15px;
  margin: -3px 0 0 -7.5px;
  border: 2.5px solid var(--c-brand);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 0 5px rgba(107, 78, 255, 0.14), 0 0 16px rgba(107, 78, 255, 0.6);
  animation: bfDotIn .5s var(--ease) both;
  animation-delay: calc(1.1s + var(--i) * .14s);
}
@keyframes bfCardIn { from { opacity: 0; transform: translateX(-50%) translateY(22px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }
@keyframes bfLineIn { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes bfDotIn { from { opacity: 0; scale: .3; } to { opacity: 1; scale: 1; } }
.bf-card-top { display: flex; align-items: flex-start; justify-content: space-between; }
.bf-num { font-family: var(--font-display); font-size: clamp(34px, calc(var(--w) * 0.027), 50px); font-weight: 700; line-height: 1; letter-spacing: -0.03em; color: var(--c-brand); }
.bf-icon { display: flex; align-items: center; justify-content: center; width: clamp(40px, calc(var(--w) * 0.03), 54px); aspect-ratio: 1; border-radius: 14px; background: rgba(107, 78, 255, 0.12); color: var(--c-brand); }
.bf-icon svg { width: 52%; height: 52%; }
.bf-card h2 { margin: clamp(12px, calc(var(--w) * 0.011), 22px) 0 8px; font-family: var(--font-display); font-size: clamp(18px, calc(var(--w) * 0.0135), 24px); font-weight: 700; letter-spacing: -0.02em; word-spacing: 0.05em; line-height: 1.15; }
.bf-card p { margin: 0; font-size: clamp(13.5px, calc(var(--w) * 0.0098), 17px); line-height: 1.5; color: var(--c-muted); }
.bf-bridge {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  /* on screens wider than the stage, let the ends of the bridge fade into the mist */
  -webkit-mask: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  /* a touch more contrast and a soft cast shadow give the render weight */
  filter: contrast(1.08) saturate(1.1) drop-shadow(0 calc(var(--w) * 0.006) calc(var(--w) * 0.012) rgba(60, 30, 140, 0.22));
  pointer-events: none;
  user-select: none;
  animation: bfBridgeIn 1.3s var(--ease) both;
}
@keyframes bfBridgeIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }
.bf-scene {
  --ground: calc(var(--w) / 3 * 0.708);    /* where the pillars meet the floor, from the top of the image */
  position: relative;
  z-index: 1;
  /* pull the scene up so each sphere's top meets the end of its connector */
  margin-top: calc(var(--line) - var(--w) * var(--sphere-top) / 3);
  padding-bottom: calc(var(--w) * 0.045);
}
/* a smooth, polished ground: darker at the horizon, brighter toward the viewer */
.bf-floor {
  position: absolute;
  top: calc(var(--ground) - var(--w) * 0.018);
  bottom: 0;
  left: calc(50% - 50vw);
  width: 100vw;
  background:
    linear-gradient(100deg, rgba(255, 255, 255, 0) 34%, rgba(255, 255, 255, 0.85) 50%, rgba(255, 255, 255, 0) 64%),
    linear-gradient(180deg, #BFB0F2 0%, #D6CBF8 9%, #EEE9FE 34%, #FFFFFF 100%);
  -webkit-mask: linear-gradient(180deg, transparent 0%, #000 7%);
  mask: linear-gradient(180deg, transparent 0%, #000 7%);
}
.bf-reflect {
  position: absolute;
  left: 0;
  top: calc(var(--ground) * 2 - var(--w) / 3 - var(--w) * 0.004);
  width: 100%;
  max-width: none;
  height: auto;
  transform: scaleY(-1);
  opacity: 0.42;
  filter: blur(2.5px) saturate(0.9);
  /* only the part of the bridge just above the ground line is mirrored (the mask is in the image's own space) */
  -webkit-mask: linear-gradient(to bottom, transparent 44%, rgba(0, 0, 0, 0.5) 60%, #000 71%, transparent 71.5%);
  mask: linear-gradient(to bottom, transparent 44%, rgba(0, 0, 0, 0.5) 60%, #000 71%, transparent 71.5%);
  pointer-events: none;
}
/* where the free-standing pillars touch the floor: a tight dark contact line and a wider soft shadow */
.bf-contact {
  position: absolute;
  left: 0; right: 0;
  top: calc(var(--ground) - var(--w) * 0.006);
  height: calc(var(--w) * 0.03);
  background:
    radial-gradient(4.4% 22% at 39.87% 30%, rgba(38, 14, 96, 0.62) 0%, rgba(38, 14, 96, 0) 100%),
    radial-gradient(4.4% 22% at 60.36% 30%, rgba(38, 14, 96, 0.62) 0%, rgba(38, 14, 96, 0) 100%),
    radial-gradient(8% 70% at 39.87% 36%, rgba(75, 47, 208, 0.22) 0%, rgba(75, 47, 208, 0) 100%),
    radial-gradient(8% 70% at 60.36% 36%, rgba(75, 47, 208, 0.22) 0%, rgba(75, 47, 208, 0) 100%);
  filter: blur(3px);
  pointer-events: none;
}
/* fog: thick where the rocks run out at the bottom corners, thin in the middle so the floor reads */
.bf-smoke { position: absolute; left: calc(50% - 50vw); width: 100vw; top: calc(var(--ground) - var(--w) * 0.075); bottom: 0; z-index: 2; overflow: hidden; pointer-events: none; }
.bf-smoke::after {            /* the still layer */
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(46% 64% at 10% 100%, #F6F3FF 0%, #F6F3FF 62%, rgba(246, 243, 255, 0.7) 78%, rgba(246, 243, 255, 0) 100%),
    radial-gradient(46% 64% at 90% 100%, #F6F3FF 0%, #F6F3FF 62%, rgba(246, 243, 255, 0.7) 78%, rgba(246, 243, 255, 0) 100%),
    linear-gradient(180deg, rgba(246, 243, 255, 0) 80%, rgba(246, 243, 255, 0.55) 100%);
}
.bf-smoke span {              /* slow drifting banks, hugging the rocks */
  position: absolute;
  top: 8%; bottom: -12%;
  left: -20%;
  width: 140%;
  background:
    radial-gradient(20% 46% at 14% 66%, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0) 70%),
    radial-gradient(15% 34% at 29% 84%, rgba(250, 247, 255, 0.9) 0%, rgba(250, 247, 255, 0) 70%),
    radial-gradient(15% 34% at 71% 84%, rgba(250, 247, 255, 0.9) 0%, rgba(250, 247, 255, 0) 70%),
    radial-gradient(20% 46% at 86% 66%, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0) 70%);
  filter: blur(26px);
  opacity: 0.85;
  animation: bfSmoke 44s ease-in-out infinite alternate;
}
.bf-smoke span:nth-child(2) { top: 28%; opacity: 0.75; animation-duration: 60s; animation-direction: alternate-reverse; }
.bf-smoke span:nth-child(3) { top: 46%; opacity: 0.9; animation-duration: 72s; animation-delay: -20s; }
@keyframes bfSmoke {
  from { transform: translateX(-4%); }
  to { transform: translateX(4%); }
}
.bf-scroll {
  position: absolute;
  left: 50%; bottom: 18px;
  z-index: 4;
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  margin-left: -22px;
  border: 1px solid rgba(43, 11, 91, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  color: var(--c-deep);
  animation: bfBob 2.4s ease-in-out infinite;
  transition: background .25s, color .25s;
}
.bf-scroll:hover { background: var(--c-deep); color: #fff; }
.bf-scroll svg { width: 20px; height: 20px; }
@keyframes bfBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ---------------- phases in detail ---------------- */
.sheet .bfd { background: #fff; }
.bfd-head { max-width: 40em; margin-bottom: clamp(48px, 6vw, 88px); }
.bfd-list { position: relative; display: flex; flex-direction: column; gap: clamp(56px, 7vw, 104px); }
.bfd-rail { position: absolute; left: 31px; top: 32px; bottom: 32px; width: 2px; background: var(--c-line); }
.bfd-rail-fill { position: absolute; left: 0; top: 0; width: 100%; height: 0; background: var(--c-brand); border-radius: 2px; }
.bfd-step { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: clamp(20px, 3vw, 48px); scroll-margin-top: 110px; }
.bfd-node {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 64px; height: 64px;
  border: 2px solid var(--c-line);
  border-radius: 50%;
  background: #fff;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: #9A94AD;
  transition: border-color .5s, color .5s, background .5s, box-shadow .5s;
}
.bfd-step.is-reached .bfd-node { border-color: var(--c-brand); background: var(--c-brand); color: #fff; box-shadow: 0 0 0 7px rgba(107, 78, 255, 0.12); }
.bfd-body { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(28px, 4vw, 72px); align-items: start; padding-top: 6px; }
.bfd-phase { font-family: var(--font-display); font-size: 14.5px; font-weight: 600; color: var(--c-brand); }
.bfd-main h3 { margin: 10px 0 18px; font-family: var(--font-display); font-size: clamp(26px, 2.9vw, 42px); font-weight: 600; line-height: 1.1; letter-spacing: -0.025em; word-spacing: 0.05em; }
.bfd-main p { margin: 0; max-width: 34em; font-size: clamp(16px, 1.2vw, 18px); line-height: 1.65; color: var(--c-muted); }
.bfd-side { padding: clamp(22px, 2.4vw, 32px); border-radius: 28px; background: var(--c-fog); }
.bfd-side ul { display: flex; flex-direction: column; gap: 14px; }
.bfd-side li { display: flex; align-items: flex-start; gap: 12px; font-family: var(--font-display); font-size: 15.5px; font-weight: 500; line-height: 1.4; word-spacing: 0.04em; }
.bfd-side li svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--c-brand); }
.bfd-side dl { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; margin: 24px 0 0; padding-top: 22px; border-top: 1px solid var(--c-line); }
.bfd-side dt { font-size: 12.5px; color: #8A8499; }
.bfd-side dd { margin: 4px 0 0; font-family: var(--font-display); font-size: 15px; font-weight: 600; line-height: 1.35; word-spacing: 0.04em; }

@media (max-width: 980px) {
  .sheet .bf { min-height: 0; padding-top: 100px; }
  .bf-stage { display: flex; flex-direction: column-reverse; width: 100%; padding-top: 28px; }
  .bf-scene { --w: 150vw; --ground: calc(var(--w) / 3 * 0.708); width: 150%; margin: 0 0 0 -25%; padding-bottom: 8%; }
  .bf-floor, .bf-smoke { left: 0; width: 100%; }
  .bf-bridge { -webkit-mask: none; mask: none; }
  .bf-scroll { display: none; }
  .bfd-body { grid-template-columns: 1fr; }
  .bf-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; height: auto; padding: 0 clamp(20px, 5vw, 64px) 56px; }
  .bf-card { position: static; width: auto; min-height: 0; padding: 22px; transform: none; animation-name: bfCardInFlat; }
  .bf-card:hover { transform: translateY(-4px); }
  .bf-card::before, .bf-card::after { display: none; }
}
@keyframes bfCardInFlat { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (max-width: 560px) {
  .bf-cards { grid-template-columns: 1fr; }
  .bfd-step { grid-template-columns: 44px minmax(0, 1fr); gap: 16px; }
  .bfd-node { width: 44px; height: 44px; font-size: 14.5px; }
  .bfd-rail { left: 21px; top: 22px; bottom: 22px; }
  .bfd-side dl { grid-template-columns: 1fr; }
}

/* ============================================================
   COMPANY PAGE — editorial, white and lavender
   ============================================================ */
.emp-display {
  margin: 0;
  max-width: 17em;
  font-family: var(--font-display);
  font-size: clamp(38px, 5.6vw, 88px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.035em;
  word-spacing: 0.05em;
  color: var(--c-ink);
}
.emp-lead { margin: 0; max-width: 31em; font-size: clamp(17px, 1.45vw, 21px); line-height: 1.6; color: var(--c-muted); }

/* ----- vision ----- */
.sheet .emp-vision { padding: clamp(150px, 15vw, 210px) 0 0; }
.emp-vision .s-label { margin-bottom: 26px; }
.emp-vision-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 36px 64px; flex-wrap: wrap; margin-top: clamp(32px, 4vw, 56px); }
.emp-vision-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 30px; }
.emp-photo { margin: clamp(48px, 6vw, 88px) clamp(12px, 1.6vw, 24px) 0; border-radius: clamp(24px, 3vw, 44px); overflow: hidden; }
.emp-photo img { display: block; width: 100%; height: clamp(320px, 52vw, 760px); max-width: none; object-fit: cover; object-position: 50% 64%; }

/* ----- philosophy ----- */
.emp-gap-head { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 6vw, 104px); align-items: end; }
.emp-gap-copy p { margin: 0; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.65; color: var(--c-muted); }
.emp-gap-copy p + p { margin-top: 20px; color: var(--c-ink); }
.emp-gap-figure { margin: clamp(48px, 6vw, 96px) 0 0; padding: clamp(24px, 4vw, 60px) clamp(16px, 3vw, 48px) clamp(20px, 2.4vw, 32px); border-radius: clamp(24px, 3vw, 40px); background: var(--c-fog); }
.emp-gap-svg { display: block; width: 100%; height: auto; }
.emp-gap-svg .d { stroke-width: 1.4; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.emp-chaos .d { stroke: #C4B8EF; }
.emp-chaos-dots circle { fill: #A99AE6; }
.emp-bridge .d { stroke: var(--c-deep); stroke-width: 1.6; }
.emp-bridge path.d { stroke-width: 2.6; }
.emp-order .d { stroke: var(--c-brand); stroke-width: 1.8; }
.emp-order-dots circle { fill: var(--c-brand); }
/* the drawing assembles itself from left to right the first time it is seen */
.emp-gap-figure .emp-chaos, .emp-gap-figure .emp-chaos-dots, .emp-gap-figure .emp-bridge, .emp-gap-figure .emp-order, .emp-gap-figure .emp-order-dots { opacity: 0; transition: opacity 1s ease; }
.emp-gap-figure.in-view .emp-chaos-dots { opacity: 1; transition-delay: .15s; }
.emp-gap-figure.in-view .emp-chaos { opacity: 1; transition-delay: .45s; }
.emp-gap-figure.in-view .emp-bridge { opacity: 1; transition-delay: .95s; }
.emp-gap-figure.in-view .emp-order { opacity: 1; transition-delay: 1.4s; }
.emp-gap-figure.in-view .emp-order-dots { opacity: 1; transition-delay: 1.8s; }
.emp-gap-figure figcaption { display: flex; justify-content: space-between; gap: 20px; margin-top: 18px; font-family: var(--font-display); font-size: 14px; font-weight: 600; color: #8A8499; }
.emp-gap-figure figcaption span:last-child { color: var(--c-brand); }

/* ----- principles ----- */
.sheet .emp-principles { padding-top: 0; }
.emp-principles-head { max-width: 44em; margin-bottom: clamp(36px, 4.5vw, 64px); }
.emp-principle {
  display: grid;
  grid-template-columns: minmax(0, 0.5fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px clamp(24px, 4vw, 72px);
  align-items: baseline;
  padding: clamp(30px, 3.6vw, 52px) 0;
  border-top: 1px solid var(--c-line);
}
.emp-principle:last-child { border-bottom: 1px solid var(--c-line); }
.emp-principle-num { font-family: var(--font-display); font-size: clamp(56px, 8vw, 128px); font-weight: 600; line-height: 0.8; letter-spacing: -0.05em; color: var(--c-lav); transition: color .5s ease; }
.emp-principle:hover .emp-principle-num { color: var(--c-brand); }
.emp-principle h3 { margin: 0; font-family: var(--font-display); font-size: clamp(24px, 2.6vw, 38px); font-weight: 600; line-height: 1.12; letter-spacing: -0.025em; word-spacing: 0.05em; }
.emp-principle p { margin: 0; font-size: clamp(16px, 1.2vw, 18px); line-height: 1.65; color: var(--c-muted); }

/* ----- responsibility ----- */
.emp-resp-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  padding: clamp(32px, 5.5vw, 88px);
  border-radius: clamp(28px, 3vw, 44px);
  background: var(--c-deep);
  color: #fff;
}
.emp-resp-panel .s-label { color: #BDB0FF; }
.emp-resp-text { margin: 22px 0 0; max-width: 32em; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.65; color: rgba(255, 255, 255, 0.74); }
/* the four ideas live on the ring: one is lit at a time and its line shows underneath */
.emp-resp-figure { display: flex; flex-direction: column; align-items: center; }
.emp-ring { position: relative; width: min(100%, 290px); aspect-ratio: 1; margin: 60px 0 68px; }
.emp-ring-grid { position: absolute; inset: -16%; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 50%; }
.emp-ring-grid::before, .emp-ring-grid::after { content: ""; position: absolute; background: rgba(255, 255, 255, 0.08); }
.emp-ring-grid::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.emp-ring-grid::after { top: 50%; left: 0; right: 0; height: 1px; }
.emp-ring-track { position: absolute; inset: 0; border: 1.5px solid rgba(255, 255, 255, 0.26); border-radius: 50%; }
.emp-ring-run { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; transform: rotate(calc(var(--turn, 0) * 90deg - 90deg - 22.5deg)); transition: transform 1.1s var(--ease); }
.emp-ring-run circle { fill: none; stroke: #A593FF; stroke-width: 1; stroke-linecap: round; stroke-dasharray: 12.5 87.5; }
.emp-ring-core {
  position: absolute;
  left: 50%; top: 50%;
  display: flex; align-items: center; justify-content: center;
  width: 46%;
  aspect-ratio: 1;
  padding: 0 14px;
  border-radius: 50%;
  background: var(--c-brand);
  box-shadow: 0 0 0 10px rgba(107, 78, 255, 0.16);
  font-family: var(--font-display);
  font-size: clamp(13px, 1.05vw, 15px);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  transform: translate(-50%, -50%);
}
.emp-ring-node {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px;
  border: none;
  background: none;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-display);
  font-size: clamp(15px, 1.3vw, 19px);
  font-weight: 600;
  word-spacing: 0.04em;
  white-space: nowrap;
  transition: color .4s;
}
.emp-ring-node i { width: 16px; height: 16px; flex-shrink: 0; border: 2.5px solid rgba(255, 255, 255, 0.75); border-radius: 50%; background: var(--c-deep); transition: background .4s, border-color .4s, box-shadow .4s, scale .5s var(--ease); }
.emp-ring-node[aria-selected="true"] { color: #fff; }
.emp-ring-node[aria-selected="true"] i { border-color: #fff; background: #fff; box-shadow: 0 0 0 7px rgba(165, 147, 255, 0.3); scale: 1.15; }
.emp-ring-node:hover { color: #fff; }
.emp-ring-node:focus-visible { outline: 2px solid #C9BEFF; outline-offset: 3px; border-radius: 12px; }
/* the dot of each node sits exactly on the ring; its label reads outward */
.emp-ring-node[data-pos="0"] { left: 50%; top: 0; flex-direction: column-reverse; transform: translate(-50%, calc(-100% + 14px)); }
.emp-ring-node[data-pos="1"] { left: 100%; top: 50%; transform: translate(-14px, -50%); }
.emp-ring-node[data-pos="2"] { left: 50%; top: 100%; flex-direction: column; transform: translate(-50%, -14px); }
.emp-ring-node[data-pos="3"] { left: 0; top: 50%; flex-direction: row-reverse; transform: translate(calc(-100% + 14px), -50%); }
.emp-ring-note strong { display: none; }
.emp-ring-notes { display: grid; width: 100%; max-width: 26em; min-height: 3.2em; text-align: center; }
.emp-ring-note { grid-area: 1 / 1; margin: 0; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.5; color: rgba(255, 255, 255, 0.82); opacity: 0; transform: translateY(8px); transition: opacity .35s ease, transform .35s ease; }
.emp-ring-note.is-active { opacity: 1; transform: none; transition: opacity .6s ease .15s, transform .6s var(--ease) .15s; }

/* ----- closing ----- */
.sheet .emp-close { position: relative; padding: clamp(96px, 11vw, 168px) 0 0; background: #F1ECFE; text-align: center; overflow: hidden; }
.emp-close .wrap { display: flex; flex-direction: column; align-items: center; }
.emp-close .emp-display { max-width: 13em; }
.emp-close .emp-lead { margin-top: 26px; }
.emp-close .pill { gap: 10px; margin-top: 38px; }
.emp-close .pill svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.emp-close .pill:hover svg { transform: translateX(4px); }
.emp-viaduct { display: block; width: 100%; height: clamp(130px, 17vw, 250px); margin-top: clamp(56px, 7vw, 104px); }

@media (max-width: 980px) {
  .emp-gap-head, .emp-resp-panel { grid-template-columns: 1fr; }
  .emp-principle { grid-template-columns: minmax(0, 0.32fr) minmax(0, 1fr); }
  .emp-principle p { grid-column: 2; }
  .emp-resp-figure { width: 100%; }
  .emp-ring { width: min(60%, 280px); }
}
@media (max-width: 560px) {
  .emp-principle { grid-template-columns: 1fr; gap: 14px; }
  .emp-principle p { grid-column: auto; }
  .emp-principle-num { line-height: 1; }
  /* no room for labels beside the ring on a phone: the dots stay, the name moves into the note */
  .emp-ring { width: min(70%, 230px); margin: 40px 0 36px; }
  .emp-ring-node span { display: none; }
  .emp-ring-node { padding: 12px; }
  .emp-ring-node[data-pos="0"] { transform: translate(-50%, -50%); }
  .emp-ring-node[data-pos="1"] { transform: translate(-50%, -50%); }
  .emp-ring-node[data-pos="2"] { transform: translate(-50%, -50%); }
  .emp-ring-node[data-pos="3"] { transform: translate(-50%, -50%); }
  .emp-ring-note strong { display: block; margin-bottom: 6px; font-family: var(--font-display); font-size: 19px; color: #fff; }
  .emp-ring-notes { min-height: 6.2em; }
}
