/* ---------- Fonts (vendored, no CDN) ---------- */
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../vendor/fonts/space-grotesk-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../vendor/fonts/space-grotesk-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../vendor/fonts/inter-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../vendor/fonts/inter-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../vendor/fonts/inter-latin-600-normal.woff2") format("woff2");
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

/* Backgrounds and horizontal clipping live on BOTH html and body so the site
   stays dark and un-shifted even when embedded in a host page wrapper
   (e.g. preview/artifact skeletons) whose own body styles differ. */
html {
  background: #0a0d16;
  overflow-x: clip;
  max-width: 100%;
}

:root {
  --bg: #0a0d16;
  --bg-alt: #11172a;
  --bg-elevated: #171e35;
  --text: #f4f6fb;
  --text-dim: #97a1b8;
  --accent: #3d6dff;
  --accent-blue: #3d6dff;
  --accent-blue-glow: #6f8fff;
  --accent-gold: #cda349;
  --accent-green: #3ddc84;
  --line: rgba(255,255,255,0.08);
  --radius: 18px;
  --font-display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
  overflow-x: clip;
  max-width: 100%;
  cursor: none;
}

/* Content layers sit above the fixed .site-bg canvas */
main, .site-header, .site-footer {
  position: relative;
  z-index: 1;
}

@media (max-width: 820px), (hover: none) {
  body { cursor: auto; }
}

a { color: inherit; text-decoration: none; }
h1, h2, h3, p, blockquote, figure { margin: 0; }
h1, h2, h3, .btn, .nav, .logo-text { font-family: var(--font-display); }
img { max-width: 100%; display: block; }

/* ---------- Custom cursor ---------- */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 0; height: 0;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
}
.cursor-dot, .cursor-ring {
  position: absolute;
  top: 0; left: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.cursor-dot {
  width: 8px; height: 8px;
  background: var(--accent-blue-glow);
}
.cursor-ring {
  width: 40px; height: 40px;
  border: 1px solid var(--accent-blue-glow);
  transition: width .25s ease, height .25s ease, border-color .25s ease, opacity .25s ease;
}
.cursor.is-hover .cursor-ring {
  width: 70px; height: 70px;
  border-color: var(--text);
}
.cursor.is-hidden .cursor-dot,
.cursor.is-hidden .cursor-ring { opacity: 0; }

@media (max-width: 820px), (hover: none) {
  .cursor { display: none; }
}

/* ---------- Progress bar ---------- */
.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 100%;
  transform-origin: left;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-blue-glow), var(--accent-gold));
  z-index: 9998;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 6vw;
  z-index: 500;
  background: rgba(10, 13, 22, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-mark { height: 22px; width: auto; }
.logo-wordmark {
  height: 30px;
  width: auto;
  filter: brightness(2.4) drop-shadow(0 0 6px rgba(61, 109, 255, 0.7));
}
.nav { display: flex; gap: 28px; }
.nav a { font-size: .9rem; color: var(--text-dim); transition: color .2s ease; }
.nav a:hover { color: var(--text); }
@media (max-width: 600px) {
  .nav { gap: 14px; }
  .nav a { font-size: .78rem; }
  .logo-mark { display: none; }
  .logo-wordmark { height: 24px; }
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 6vw;
  position: relative;
  overflow: hidden;
}
.site-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.node-network {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-inner { max-width: 980px; position: relative; z-index: 1; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .75rem;
  font-weight: 600;
  color: var(--accent-blue-glow);
  margin-bottom: 22px;
}
.hero-title {
  font-size: clamp(2.5rem, 7.6vw, 5.9rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.0;
  margin: 0 0 28px;
}
.hero-title .line { display: block; overflow: hidden; will-change: transform; }
.hero-sub {
  max-width: 560px;
  color: var(--text-dim);
  font-size: 1.05rem;
  margin-bottom: 40px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 34px;
  border-radius: 999px;
  background: var(--accent-blue);
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
  border: 1px solid transparent;
  box-shadow: 0 0 24px rgba(61, 109, 255, 0.35);
  cursor: inherit;
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
  box-shadow: none;
}
.btn-large { padding: 22px 48px; font-size: 1.1rem; }

.scroll-cue {
  position: absolute;
  bottom: 40px;
  left: 6vw;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-dim);
  font-size: .8rem;
  z-index: 1;
}
.scroll-cue span {
  width: 1px;
  height: 40px;
  background: var(--text-dim);
  position: relative;
  overflow: hidden;
}
.scroll-cue span::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent-blue-glow);
  animation: scrollcue 1.8s ease-in-out infinite;
}
@keyframes scrollcue {
  0% { top: -100%; }
  50% { top: 0; }
  100% { top: 100%; }
}

/* ---------- Logo scroll-scrub: video full-bleed behind text ---------- */
.logo-scrub-pin {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.logo-scrub-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.logo-scrub-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(10, 13, 22, 0.4) 0%, rgba(10, 13, 22, 0.8) 100%),
    linear-gradient(rgba(10, 13, 22, 0.85), transparent 20%, transparent 80%, rgba(10, 13, 22, 0.85));
}
.logo-scrub-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 6vw;
}
.logo-scrub-title {
  font-size: clamp(2.4rem, 7vw, 5.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.02;
  text-shadow: 0 2px 40px rgba(10, 13, 22, 0.9);
  text-wrap: balance;
}
.logo-scrub-hint {
  margin-top: 26px;
  color: var(--text-dim);
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* ---------- Marquee ---------- */
.marquee-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 22px 0;
  background: var(--bg-alt);
}
.marquee { display: flex; width: max-content; }
.marquee-track {
  display: flex;
  align-items: center;
  gap: 24px;
  white-space: nowrap;
  padding-right: 24px;
  will-change: transform;
}
.marquee-track span {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: -0.01em;
}

/* ---------- Manifesto / word reveal ---------- */
.manifesto { padding: 0 6vw; }
.manifesto-pin {
  min-height: 100svh;
  display: flex;
  align-items: center;
}
.manifesto-text {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.3;
  max-width: 1100px;
}
.manifesto-text span[data-word] {
  color: rgba(244,246,251,0.13);
  transition: color .05s linear;
}
.manifesto-text span[data-word].is-active { color: var(--text); }

/* ---------- Services / horizontal scroll ---------- */
/* The section is exactly one viewport tall and centers its content, so the
   full card (title AND description) is always visible while pinned. */
.work {
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(24px, 4vh, 48px);
  padding: 80px 0 16px;
}
.work .section-title { margin-bottom: 0; }
.section-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  padding: 0 6vw;
  margin-bottom: 60px;
}
.section-heading {
  font-size: clamp(1.7rem, 3.4vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin-bottom: 22px;
}
.horizontal-track {
  display: flex;
  width: max-content;
  padding: 0 6vw;
  gap: 32px;
}
.panel {
  width: min(70vw, 560px);
  height: clamp(300px, 54vh, 520px);
  flex-shrink: 0;
}
.panel-card {
  position: relative;
  height: 100%;
  border-radius: var(--radius);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
  overflow: hidden;
}
.panel-card.panel-alt {
  background: linear-gradient(160deg, #14233a, var(--bg-alt));
}
.panel-card.panel-gold {
  background: linear-gradient(160deg, #2a2213, var(--bg-alt));
  border-color: rgba(205, 163, 73, 0.35);
  box-shadow: 0 0 40px rgba(205, 163, 73, 0.15);
}
.panel-index {
  position: absolute;
  top: 28px;
  right: 32px;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(255,255,255,0.08);
  line-height: 1;
}
.panel-badge {
  position: absolute;
  top: 32px;
  left: 44px;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-gold);
  border: 1px solid rgba(205, 163, 73, 0.5);
  border-radius: 999px;
  padding: 6px 14px;
}
.panel-card h3 { font-size: 1.6rem; }
.panel-card p { color: var(--text-dim); max-width: 38ch; }

/* ---------- Clients / proof of work ---------- */
.clients { padding: 140px 6vw 30px; }
.clients .section-title { padding: 0; margin-bottom: 14px; }
.clients-sub {
  color: var(--text-dim);
  max-width: 56ch;
  margin-bottom: 48px;
}
.client-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.client-card {
  background: rgba(17, 23, 42, 0.8);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.client-tag {
  display: inline-block;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-blue-glow);
  margin-bottom: 14px;
}
.client-card h3 { font-size: 1.08rem; margin-bottom: 10px; }
.client-card p { color: var(--text-dim); font-size: .92rem; }

/* ---------- Process band ---------- */
.process { padding: 30px 6vw 60px; }
.process-title {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 18px;
}
.process-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.process-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 20px;
  font-family: var(--font-display);
  font-size: .9rem;
  font-weight: 500;
}
.process-steps li span {
  color: var(--accent-blue-glow);
  font-size: .78rem;
  font-weight: 700;
}

/* ---------- Pricing ---------- */
.pricing { padding: 140px 6vw; }
.pricing .section-title { padding: 0; margin-bottom: 14px; }
.pricing-sub {
  color: var(--text-dim);
  max-width: 58ch;
  margin-bottom: 48px;
}
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  margin-bottom: 44px;
}
.price-item {
  background: rgba(17, 23, 42, 0.8);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.price-cat {
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.price-item h3 { font-size: 1rem; line-height: 1.3; }
.price {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-blue-glow);
  font-variant-numeric: tabular-nums;
  margin-top: auto;
}
.bundle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.bundle-card {
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bundle-card.is-featured {
  border-color: rgba(61, 109, 255, 0.55);
  box-shadow: 0 0 44px rgba(61, 109, 255, 0.18);
}
.bundle-badge {
  position: absolute;
  top: -12px;
  left: 26px;
  background: var(--accent-blue);
  color: #fff;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 5px 14px;
}
.bundle-card h3 { font-size: 1.25rem; }
.bundle-desc { color: var(--text-dim); font-size: .9rem; }
.bundle-card .price { font-size: 1.55rem; }
.pricing-extras { display: flex; flex-direction: column; gap: 10px; }
.course-line { font-size: 1rem; }
.course-line strong { color: var(--accent-blue-glow); }
.pricing-notes { color: var(--text-dim); font-size: .88rem; }

/* ---------- Avatar showcase ---------- */
.avatar-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6vw;
  align-items: center;
  padding: 160px 6vw;
}
.avatar-lead { color: var(--text-dim); margin-bottom: 28px; }
.avatar-quote {
  border-left: 3px solid var(--accent-blue);
  padding: 14px 0 14px 22px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.4;
}
.avatar-quote cite {
  display: block;
  margin-top: 10px;
  font-family: var(--font-body);
  font-style: normal;
  font-size: .85rem;
  color: var(--text-dim);
}
.avatar-video-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 0 60px rgba(61, 109, 255, 0.18);
  background: var(--bg-alt);
}
.avatar-video-frame video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 78vh;
  object-fit: contain;
  background: #05070d;
}
@media (max-width: 900px) {
  .avatar-showcase { grid-template-columns: 1fr; padding: 100px 6vw; }
  .avatar-media { max-width: 420px; margin: 0 auto; }
}

/* ---------- Credibility / certificate ---------- */
.credibility {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 6vw;
  align-items: center;
  padding: 120px 6vw 160px;
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cred-copy p { color: var(--text-dim); max-width: 52ch; }
.press-line {
  margin-top: 18px;
  font-style: italic;
  font-size: .92rem;
  border-left: 2px solid var(--accent-gold);
  padding-left: 14px;
}
.press-line strong { color: var(--text); font-style: normal; }
.cred-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.cred-chip {
  font-size: .82rem;
  font-weight: 500;
  color: var(--text);
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 18px;
}
.cred-media img {
  transform: rotate(-3deg);
  border-radius: 10px;
  border: 1px solid rgba(205, 163, 73, 0.45);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(205, 163, 73, 0.12);
  max-width: min(100%, 460px);
  margin: 0 auto;
}
@media (max-width: 900px) {
  .credibility { grid-template-columns: 1fr; padding: 90px 6vw 110px; }
}

/* ---------- Team / assembling photos ---------- */
.team { overflow: hidden; }
.team-assembly {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 6vw;
}
.team-title { margin-bottom: 48px; padding: 0; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}
.team-card {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 20px 28px;
  will-change: transform, opacity;
}
[data-from] { opacity: 0; }
.team-photo {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  margin-bottom: 20px;
  background: var(--bg-elevated);
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
}
.team-card h3 { font-size: 1.25rem; }
.team-role {
  color: var(--accent-blue-glow);
  font-size: .82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin: 6px 0 12px;
}
.team-bio { color: var(--text-dim); font-size: .92rem; }
.team-link {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: .88rem;
  font-weight: 500;
  color: var(--accent-blue-glow);
  border-bottom: 1px solid rgba(111, 143, 255, 0.35);
  padding-bottom: 2px;
}
.team-link:hover { color: var(--text); }
@media (max-width: 820px) {
  .team-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .team-assembly { min-height: auto; }
}

/* ---------- Testimonials ---------- */
.testimonials { padding: 160px 6vw; }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1000px;
}
.testimonial-bubble {
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 20px 20px 20px 6px;
  padding: 28px;
}
.testimonial-bubble blockquote {
  font-size: 1.02rem;
  line-height: 1.55;
}
.testimonial-translate { color: var(--text-dim); font-size: .85rem; }
.testimonial-reply {
  margin-top: 14px;
  margin-left: auto;
  width: fit-content;
  max-width: 85%;
  background: rgba(61, 220, 132, 0.12);
  border: 1px solid rgba(61, 220, 132, 0.3);
  color: var(--text);
  border-radius: 16px 16px 6px 16px;
  padding: 10px 16px;
  font-size: .9rem;
}
.testimonial-bubble figcaption {
  margin-top: 16px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-dim);
}
@media (max-width: 720px) {
  .testimonial-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding-bottom: 12px;
    -webkit-overflow-scrolling: touch;
  }
  .testimonial-bubble {
    flex: 0 0 84%;
    scroll-snap-align: center;
  }
}

/* ---------- CTA ---------- */
.cta {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 24px;
  padding: 0 6vw;
}
.cta h2 { font-size: clamp(2rem, 5vw, 3.6rem); letter-spacing: -0.02em; }
.cta p { color: var(--text-dim); max-width: 46ch; }
.cta .btn { margin-top: 12px; }

/* ---------- Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 6vw;
  padding: 120px 6vw 160px;
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
}
.contact-copy p { color: var(--text-dim); max-width: 40ch; margin-bottom: 28px; }
.investor-line { font-size: .92rem; }
.investor-line strong { color: var(--accent-gold); }
.contact-channels {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.btn-whatsapp {
  background: #1eb85b;
  box-shadow: 0 0 24px rgba(30, 184, 91, 0.35);
}
.contact-email {
  display: inline-block;
  max-width: 100%;
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 3.4vw, 1.1rem);
  font-weight: 500;
  color: var(--accent-blue-glow);
  border-bottom: 1px solid rgba(111, 143, 255, 0.4);
  padding-bottom: 4px;
  word-break: break-all;
}
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.contact-form .gotcha { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.contact-form label { display: flex; flex-direction: column; gap: 8px; }
.contact-form label span {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: .95rem;
  padding: 13px 16px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
  width: 100%;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(61, 109, 255, 0.18);
}
.contact-form textarea { resize: vertical; }
.contact-form .btn { align-self: flex-start; border: none; }
.contact-form .btn[disabled] { opacity: .6; }
.form-status { font-size: .92rem; min-height: 1.4em; }
.form-status.is-success { color: var(--accent-green); }
.form-status.is-error { color: #ff8a8a; }
.form-status a { text-decoration: underline; }
@media (max-width: 820px) {
  .contact { grid-template-columns: 1fr; padding: 90px 6vw 110px; }
  .form-row { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 48px 6vw;
  border-top: 1px solid var(--line);
}
.footer-brand { display: flex; align-items: center; gap: 18px; }
.footer-mark { height: 26px; width: auto; }
.footer-wordmark {
  height: 42px;
  width: auto;
  filter: brightness(2.4) drop-shadow(0 0 8px rgba(61, 109, 255, 0.6));
}
.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--text-dim);
  font-size: .85rem;
}
.footer-meta a:hover { color: var(--text); }
.footer-nav { display: flex; gap: 20px; font-size: .85rem; color: var(--text-dim); }
.footer-nav a:hover { color: var(--text); }

/* ---------- Reveal base state (JS animates from this) ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
}
[data-stagger-item] {
  opacity: 0;
  transform: translateY(30px);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-stagger-item], [data-from] { opacity: 1; transform: none; }
  .marquee-track { animation: none !important; }
  .scroll-cue span::after { animation: none; }
}

/* ---------- Video testimonials + recommendation letter ---------- */
.vt-label {
  font: 600 .72rem/1 var(--font-body);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-blue-glow);
  margin: 0 0 18px;
}
.testimonials .vt-label + .testimonial-grid { margin-top: 0; }
.vt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin-bottom: 40px;
}
.vt-card { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.vt-play, .vt-card iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #05070d;
}
.vt-play {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text);
  cursor: inherit;
  background:
    radial-gradient(ellipse at center, rgba(61, 109, 255, 0.22), transparent 70%),
    var(--poster, none) center / cover,
    #05070d;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.vt-play:hover { border-color: var(--accent-blue); box-shadow: 0 0 30px rgba(61, 109, 255, 0.25); }
.vt-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--accent-blue);
  box-shadow: 0 0 30px rgba(61, 109, 255, 0.5);
  position: relative;
}
.vt-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-left: 16px solid #fff;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}
.vt-hint { font-size: .8rem; color: var(--text-dim); }
.vt-name { font: 600 .95rem/1.3 var(--font-display); }
.vt-letter {
  max-width: 1000px;
  margin: 0 0 48px;
  padding: clamp(24px, 4vw, 40px);
  background: linear-gradient(165deg, rgba(205, 163, 73, 0.1), rgba(17, 23, 42, 0.9));
  border: 1px solid rgba(205, 163, 73, 0.4);
  border-radius: var(--radius);
}
.vt-letter-tag {
  display: inline-block;
  font: 600 .7rem/1 var(--font-body);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 16px;
}
.vt-letter blockquote {
  font: 500 clamp(1.05rem, 1.9vw, 1.3rem)/1.5 var(--font-display);
  max-width: 62ch;
}
.vt-letter figcaption {
  margin-top: 18px;
  font-size: .88rem;
  color: var(--text-dim);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}
.vt-letter figcaption a { color: var(--accent-blue-glow); border-bottom: 1px solid rgba(111, 143, 255, 0.4); }
.vt-letter figcaption a:hover { color: var(--text); }

.testimonials .section-title { padding: 0; }


/* ===================== Round 3 ===================== */

/* Header: three clear links */
.nav-short { display: none; }
@media (max-width: 600px) {
  .nav-long { display: none; }
  .nav-short { display: inline; }
}

/* Services ticker: two rows, opposite directions */
.marquee-band { display: flex; flex-direction: column; gap: 14px; padding: 26px 0; }
.marquee-alt .marquee-track span { font-size: 1.05rem; font-weight: 500; color: rgba(151, 161, 184, 0.7); }
.marquee-alt .marquee-track span:nth-child(4n+1) { color: var(--accent-blue-glow); }

/* ---------- Services hub: fewer words at once, bigger type ---------- */
.services-hub { padding: 140px 6vw 100px; }
.hub-title { margin-bottom: 16px; }
.hub-sub { color: var(--text-dim); font-size: 1.1rem; max-width: 52ch; margin-bottom: 40px; }
.hub-prompt { font: 600 1.05rem/1.3 var(--font-display); margin-bottom: 14px; }

.hub-problems { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hub-problem {
  font: 500 1rem/1.4 var(--font-body);
  color: var(--text);
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 20px;
  text-align: left;
  cursor: inherit;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.hub-problem:hover { border-color: rgba(111, 143, 255, 0.6); }
.hub-problem.is-active {
  background: rgba(61, 109, 255, 0.18);
  border-color: var(--accent-blue);
  box-shadow: 0 0 22px rgba(61, 109, 255, 0.25);
}
.hub-match { min-height: 1.7em; margin: 22px 0 32px; font-size: 1.05rem; color: var(--text-dim); }
.hub-match strong { color: var(--accent-blue-glow); font-weight: 600; }

.hub-layout { display: grid; grid-template-columns: minmax(300px, 400px) 1fr; gap: 32px; align-items: start; }
.hub-tabs { display: flex; flex-direction: column; gap: 12px; }
.hub-tab {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
  color: var(--text);
  background: rgba(17, 23, 42, 0.85);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 22px;
  cursor: inherit;
  transition: border-color .2s ease, opacity .25s ease, background .2s ease;
}
.hub-tab:hover { border-color: rgba(111, 143, 255, 0.5); }
.hub-tab-title { font: 700 1.12rem/1.25 var(--font-display); }
.hub-tab-short { font-size: .95rem; line-height: 1.4; color: var(--text-dim); }
.hub-tab.is-active { background: var(--bg-elevated); border-color: var(--accent-blue); box-shadow: 0 0 30px rgba(61, 109, 255, 0.2); }
.hub-tab.is-match { border-color: var(--accent-gold); }
.hub-tab.is-dim:not(.is-active) { opacity: 0.4; }

.hub-panel {
  background: rgba(17, 23, 42, 0.88);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(28px, 4.5vw, 52px);
  min-width: 0;
}
.hub-panel:focus-visible { outline: 2px solid var(--accent-blue-glow); outline-offset: 3px; }
.hub-panel h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 14px; text-wrap: balance; }
.hub-desc { font-size: 1.15rem; font-weight: 500; line-height: 1.5; margin-bottom: 10px; }
.hub-body { font-size: 1.05rem; line-height: 1.65; color: var(--text-dim); max-width: 60ch; }
.hub-panel h4 {
  font: 600 .78rem/1 var(--font-body);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-blue-glow);
  margin: 36px 0 16px;
}
.hub-items, .hub-examples, .hub-questions { list-style: none; margin: 0; padding: 0; }
.hub-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; }
.hub-items li { position: relative; padding-left: 22px; font-size: 1.02rem; line-height: 1.45; }
.hub-items li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .5em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-blue);
  box-shadow: 0 0 10px rgba(61, 109, 255, 0.7);
}
.hub-examples { display: flex; flex-direction: column; gap: 14px; }
.hub-examples li { display: flex; flex-direction: column; gap: 6px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.hub-examples strong { font: 600 1.05rem/1.35 var(--font-display); }
.hub-examples span { color: var(--text-dim); font-size: 1rem; line-height: 1.55; }
.hub-questions { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.hub-questions li { background: var(--bg-elevated); border: 1px solid var(--line); border-radius: 18px 18px 18px 5px; padding: 12px 18px; font-size: 1rem; }
.hub-panel li.is-extra { display: none; }
.hub-panel .hub-items.is-expanded li.is-extra { display: block; }
.hub-panel .hub-examples.is-expanded li.is-extra { display: flex; }
.hub-panel .hub-questions.is-expanded li.is-extra { display: block; }
.hub-more {
  margin-top: 18px;
  font: 600 .92rem/1 var(--font-body);
  color: var(--accent-blue-glow);
  background: none;
  border: none;
  border-bottom: 1px solid rgba(111, 143, 255, 0.45);
  padding: 0 0 3px;
  cursor: inherit;
}
.hub-more:hover { color: var(--text); }
.hub-takeaway {
  margin: 38px 0 28px;
  padding-left: 18px;
  border-left: 3px solid var(--accent-blue);
  font: 500 clamp(1.2rem, 2vw, 1.5rem)/1.4 var(--font-display);
}
.hub-cta { display: inline-flex; }

@media (max-width: 900px) {
  .services-hub { padding: 100px 6vw 70px; }
  .hub-layout { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .hub-problems, .hub-items { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .hub-problem, .hub-tab { transition: none; }
}

/* ---------- People we've worked with: clients + testimonial strip ---------- */
.clients .eyebrow { margin-bottom: 14px; }
.proof-head { display: flex; justify-content: space-between; align-items: center; margin: 64px 0 18px; }
.proof-head .vt-label { margin: 0; }
.proof-arrows { display: flex; gap: 10px; }
.proof-arrow {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  color: var(--text);
  font-size: 1.1rem;
  cursor: inherit;
  transition: border-color .2s ease, background .2s ease;
}
.proof-arrow:hover { border-color: var(--accent-blue); background: rgba(61, 109, 255, 0.18); }
.proof-strip {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  margin: 0 -6vw;
  padding: 4px 6vw 20px;
  scroll-padding: 0 6vw;
  scrollbar-width: thin;
  scrollbar-color: rgba(111, 143, 255, 0.45) transparent;
}
.proof-strip:focus-visible { outline: 2px solid var(--accent-blue-glow); outline-offset: 2px; }
.proof-card { flex: 0 0 min(340px, 82vw); scroll-snap-align: start; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.proof-card.testimonial-bubble { justify-content: center; }
.proof-card.testimonial-bubble blockquote { font-size: 1.05rem; line-height: 1.6; }
.proof-letter {
  flex-basis: min(460px, 86vw);
  justify-content: center;
  padding: 28px;
  background: linear-gradient(165deg, rgba(205, 163, 73, 0.1), rgba(17, 23, 42, 0.92));
  border: 1px solid rgba(205, 163, 73, 0.4);
  border-radius: var(--radius);
}
.proof-letter blockquote { font: 500 1.08rem/1.55 var(--font-display); }
.proof-by { font-size: .88rem; color: var(--text-dim); }
.proof-letter a { color: var(--accent-blue-glow); font-size: .92rem; border-bottom: 1px solid rgba(111, 143, 255, 0.4); align-self: flex-start; }

/* ---------- Learn with us ---------- */
.learn { padding: 20px 6vw 110px; }
.learn-card {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(32px, 6vw, 60px);
  border: 1px solid rgba(61, 109, 255, 0.3);
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(61, 109, 255, 0.1), rgba(17, 23, 42, 0.9));
}
.learn-copy { color: var(--text-dim); font-size: 1.08rem; line-height: 1.65; max-width: 58ch; margin: 0 0 30px; }
.learn-links { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Living buttons (tendrils) ---------- */
.tendril-canvas { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 60; }

/* Solid-enough card surfaces so the background lines never cut through text */
.hub-tab { background: rgba(17, 23, 42, 0.95); }
.hub-panel { background: rgba(17, 23, 42, 0.96); }
.hub-tab.is-dim:not(.is-active) { opacity: 0.55; }
.client-card { background: rgba(17, 23, 42, 0.94); }
.testimonial-bubble { background: #171e35; }
.learn-card { background: linear-gradient(165deg, rgba(31, 52, 112, 0.97), rgba(17, 23, 42, 0.98)); }

/* ---------- Video pop-up player ---------- */
.vt-lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; opacity: 0; transition: opacity .25s ease; }
.vt-lightbox[hidden] { display: none; }
.vt-lightbox.is-open { opacity: 1; }
.vt-lightbox-bg { position: absolute; inset: 0; background: rgba(6, 8, 15, 0.82); backdrop-filter: blur(8px); }
.vt-lightbox-box { position: relative; width: min(1000px, 92vw); transform: translateY(14px) scale(.97); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.vt-lightbox.is-open .vt-lightbox-box { transform: none; }
.vt-lightbox-stage { aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #05070d; border: 1px solid var(--line); box-shadow: 0 30px 90px rgba(0,0,0,.6), 0 0 60px rgba(61,109,255,.2); }
.vt-lightbox-stage iframe { width: 100%; height: 100%; border: 0; }
.vt-lightbox-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; }
.vt-lb-title { font: 600 1rem/1.3 var(--font-display); text-align: center; }
.vt-lb-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: rgba(31,52,112,.6); color: var(--text); font-size: 1.3rem; cursor: pointer; transition: background .2s, border-color .2s; }
.vt-lb-btn:hover { background: var(--accent); border-color: var(--accent-blue-glow); }
.vt-lb-close { position: absolute; top: -58px; right: 0; font-size: 1.8rem; line-height: 1; }

/* ---------- Press feature card ---------- */
.press-card { display: flex; flex-direction: column; gap: 8px; max-width: 52ch; margin: 22px 0 6px; padding: 20px 22px; border-radius: 14px; border: 1px solid rgba(111,143,255,.35); background: linear-gradient(165deg, rgba(31,52,112,.9), rgba(17,23,42,.95)); transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.press-card:hover { transform: translateY(-3px); border-color: var(--accent-blue-glow); box-shadow: 0 14px 40px rgba(61,109,255,.25); }
.press-tag { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-gold); }
.press-title { font: 600 1.2rem/1.35 var(--font-display); color: var(--text); text-wrap: balance; }
.press-meta { font-size: .85rem; color: var(--text-dim); }
.press-read { color: var(--accent-blue-glow); }

/* Words over the glowing logo */
.logo-scrub-content { max-width: 1100px; margin: 0 auto; text-align: left; }
.logo-scrub-content .eyebrow { margin-bottom: 22px; }
.logo-words { font-size: clamp(1.9rem, 5vw, 4rem); line-height: 1.22; text-shadow: 0 2px 28px rgba(6, 8, 15, 0.95), 0 0 6px rgba(6, 8, 15, 0.8); }
.logo-words span[data-word] { color: rgba(244, 246, 251, 0.3); }
.logo-words span[data-word].is-active { color: #fff; }
@media (max-width: 700px) { .logo-scrub-content { text-align: left; padding: 0 6vw; } .logo-words { font-size: clamp(1.7rem, 7.4vw, 2.4rem); } }

/* ---------- Services: pick-your-problem (multi-select) ---------- */
.hub-title { line-height: 1.08; }
.hub-mode { display: inline-flex; gap: 6px; padding: 6px; margin-bottom: 30px; border-radius: 999px; border: 1px solid var(--line); background: rgba(17,23,42,.9); max-width: 100%; }
.hub-mode-btn { padding: 12px 22px; border-radius: 999px; font: 600 .98rem/1.2 var(--font-display); color: var(--text-dim); transition: background .25s, color .25s; }
.hub-mode-btn:hover { color: var(--text); }
.hub-mode-btn.is-active { background: var(--accent); color: #fff; box-shadow: 0 0 24px rgba(61,109,255,.45); }
.hub-steps { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; color: var(--text-dim); font-size: 1rem; }
.hub-steps b { display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: 8px; border-radius: 50%; background: rgba(61,109,255,.25); color: var(--accent-blue-glow); font-size: .85rem; }

.hub-problems { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.hub-problem { display: flex; align-items: center; gap: 16px; text-align: left; padding: 20px 22px; font-size: 1.12rem; line-height: 1.35; background: rgba(17,23,42,.95); transition: border-color .25s, background .25s, box-shadow .25s, transform .25s; }
.hub-problem:hover { transform: translateY(-2px); }
.hub-check { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; border: 2px solid rgba(160,185,255,.5); position: relative; transition: background .25s, border-color .25s, box-shadow .25s; }
.hub-problem.is-active { background: linear-gradient(135deg, rgba(61,109,255,.38), rgba(31,52,112,.95)); border-color: var(--accent-blue-glow); box-shadow: 0 0 30px rgba(61,109,255,.35); }
.hub-problem.is-active .hub-check { background: var(--accent-green); border-color: var(--accent-green); box-shadow: 0 0 14px rgba(61,220,132,.6); }
.hub-problem.is-active .hub-check::after { content: ""; position: absolute; left: 8px; top: 3px; width: 7px; height: 13px; border: solid #04210f; border-width: 0 3px 3px 0; transform: rotate(45deg); }

.hub-results { margin-top: 44px; scroll-margin-top: 90px; }
.hub-results[hidden] { display: none; }
.hub-results-title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); letter-spacing: -0.02em; margin-bottom: 22px; }
.hub-result-list { display: flex; flex-direction: column; gap: 16px; }
.hub-result { display: flex; gap: 20px; padding: 26px; border-radius: 16px; border: 1px solid rgba(111,143,255,.4); background: linear-gradient(165deg, rgba(31,52,112,.95), rgba(17,23,42,.98)); }
.hub-result-num { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); font: 700 1.1rem var(--font-display); box-shadow: 0 0 20px rgba(61,109,255,.5); }
.hub-result-body { min-width: 0; flex: 1; }
.hub-result-body h4 { font: 700 1.4rem/1.25 var(--font-display); margin-bottom: 6px; }
.hub-result-short { color: var(--accent-blue-glow); font-size: 1.08rem; margin-bottom: 16px; }
.hub-fixes { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.hub-fixes li { display: flex; flex-direction: column; gap: 4px; padding-left: 16px; border-left: 3px solid var(--accent-gold); }
.hub-fix-said { font-size: .95rem; color: var(--text-dim); font-style: italic; }
.hub-fix-do { font-size: 1.1rem; line-height: 1.5; color: var(--text); }
.hub-inside summary { cursor: pointer; font-weight: 600; color: var(--accent-blue-glow); padding: 6px 0; }
.hub-inside-body { margin: 10px 0; color: var(--text-dim); line-height: 1.6; }
.hub-inside-items { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hub-inside-items li { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: .92rem; }
.hub-inside-take { font-weight: 500; }
.hub-result-cta { margin-top: 30px; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.hub-result-cta p { font-size: 1.15rem; max-width: 46ch; }
.hub-browse-hint { color: var(--text-dim); font-size: 1.05rem; margin-bottom: 18px; }

/* sticky "you picked" bar */
.hub-bar { position: fixed; left: 50%; bottom: 20px; z-index: 70; width: min(760px, calc(100vw - 24px)); display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 20px; border-radius: 18px; border: 1px solid var(--accent-blue-glow); background: rgba(15, 22, 48, .97); box-shadow: 0 18px 50px rgba(0,0,0,.55), 0 0 40px rgba(61,109,255,.35); transform: translate(-50%, 140%); opacity: 0; pointer-events: none; transition: transform .45s cubic-bezier(.2,.9,.25,1), opacity .3s; }
.hub-bar.is-visible { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.hub-bar-info { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1; }
.hub-bar-check { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: var(--accent-green); position: relative; box-shadow: 0 0 14px rgba(61,220,132,.6); }
.hub-bar-check::after { content: ""; position: absolute; left: 8px; top: 3px; width: 6px; height: 12px; border: solid #04210f; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.hub-bar-text { min-width: 0; font-size: .98rem; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hub-bar-text b { font-weight: 700; display: inline-block; }
.hub-bar-text span { color: var(--text-dim); }
.hub-bar-clear { color: var(--text-dim); font-size: .92rem; padding: 8px 10px; }
.hub-bar-clear:hover { color: var(--text); }
.hub-bar-go { flex: 0 0 auto; padding: 14px 22px; border-radius: 12px; background: var(--accent); color: #fff; font: 700 1rem var(--font-display); box-shadow: 0 0 22px rgba(61,109,255,.5); animation: hubPulse 2.2s ease-in-out infinite; }
@keyframes hubPulse { 50% { box-shadow: 0 0 34px rgba(111,143,255,.85); } }

@media (max-width: 760px) {
  .hub-problems { grid-template-columns: 1fr; }
  .hub-mode { display: flex; flex-direction: column; border-radius: 20px; width: 100%; }
  .hub-mode-btn { text-align: center; }
  .hub-result { flex-direction: column; gap: 14px; padding: 20px; }
  .hub-bar { bottom: 12px; padding: 10px 10px 10px 14px; gap: 8px; }
  .hub-bar-clear { display: none; }
  .hub-bar-go { padding: 12px 14px; font-size: .92rem; }
  .hub-bar-text span { display: none; }
}
.hub-mode-btn, .hub-bar-clear { background: transparent; border: 0; cursor: inherit; font-family: var(--font-display); }
.hub-bar-go { border: 0; cursor: inherit; }
.hub-result-num { align-self: flex-start; }
.hub-result-body h4 { margin-top: 8px; }

/* Normal system cursor over sections with things to click */
.cursor.is-native .cursor-dot, .cursor.is-native .cursor-ring { opacity: 0; transition: none; }
body.native-on, body.native-on * { cursor: auto; }
body.native-on a, body.native-on button, body.native-on summary, body.native-on select, body.native-on [role="tab"], body.native-on label { cursor: pointer; }
body.native-on input[type="text"], body.native-on input[type="email"], body.native-on input[type="tel"], body.native-on textarea { cursor: text; }
