/* =============================================================
   DevCon8 — design system
   ============================================================= */

/* -------- Tokens -------- */
:root {
  /* surfaces */
  --ink:       #0A0E1A;
  --ink-soft:  #11162A;
  --paper:     #FAFAF7;
  --cream:     #F1EFE9;
  --bone:      #FFFFFF;
  --line:      rgba(15, 23, 42, .08);
  --line-2:    rgba(15, 23, 42, .14);
  --line-dark: rgba(255, 255, 255, .10);
  --line-dark-2: rgba(255, 255, 255, .18);

  /* text */
  --text:        #0F172A;
  --text-soft:   #475569;
  --text-muted:  #64748B;
  --text-inv:    #FAFAF7;
  --text-inv-soft: rgba(250, 250, 247, .72);

  /* brand */
  --brand:        #5546FF;
  --brand-soft:   #7C70FF;
  --brand-glow:   rgba(85, 70, 255, .35);
  --cyan:         #06B6D4;
  --cyan-soft:    #67E8F9;
  --coral:        #FB7185;
  --amber:        #F59E0B;
  --green:        #10B981;

  /* gradients */
  --grad-brand:   linear-gradient(135deg, #5546FF 0%, #06B6D4 100%);
  --grad-text:    linear-gradient(120deg, #5546FF 0%, #06B6D4 55%, #FB7185 100%);
  --grad-hero:    radial-gradient(1200px 600px at 80% -20%, rgba(85,70,255,.10), transparent 60%),
                  radial-gradient(900px 500px at -10% 20%, rgba(6,182,212,.08), transparent 60%);
  --grad-dark:    radial-gradient(900px 500px at 85% 0%, rgba(85,70,255,.22), transparent 60%),
                  radial-gradient(700px 400px at 0% 80%, rgba(6,182,212,.14), transparent 60%);

  /* radii & shadows */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --shadow-1: 0 1px 0 var(--line), 0 1px 2px rgba(2, 6, 23, .04);
  --shadow-2: 0 6px 24px rgba(2, 6, 23, .06), 0 2px 6px rgba(2, 6, 23, .04);
  --shadow-3: 0 24px 48px -16px rgba(2, 6, 23, .18), 0 12px 24px -12px rgba(2, 6, 23, .12);
  --shadow-glow: 0 12px 40px var(--brand-glow);

  /* typography */
  --font-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* sizes */
  --t-hero:    clamp(2.6rem, 1.6rem + 4.2vw, 5.5rem);
  --t-h2:      clamp(2rem, 1.2rem + 2.4vw, 3.4rem);
  --t-h3:      clamp(1.25rem, 1rem + .8vw, 1.6rem);
  --t-lead:    clamp(1.05rem, 1rem + .35vw, 1.25rem);
  --t-body:    1rem;
  --t-small:   .875rem;
  --t-mono:    .78rem;

  /* spacing */
  --gutter: clamp(20px, 4vw, 48px);
  --section-y: clamp(80px, 11vw, 160px);

  /* motion */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* -------- Reset -------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
/* The fixed nav sits at top: 16px and is ~64px tall, so anchor jumps
   land too high without padding compensation. */
html { scroll-padding-top: 100px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--t-body);
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul, ol { padding: 0; margin: 0; list-style: none; }
input, select, textarea, button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.02em; line-height: 1.05; margin: 0; color: var(--text); }
p { margin: 0; }

.mono { font-family: var(--font-mono); font-size: var(--t-mono); letter-spacing: .04em; text-transform: uppercase; }

.skip-link {
  position: absolute; top: -100px; left: 12px; z-index: 9999;
  background: var(--ink); color: var(--text-inv);
  padding: 10px 14px; border-radius: var(--r-md); font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* -------- Layout -------- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); position: relative; }
.section-paper { background: var(--paper); }
.section-cream { background: var(--cream); }
.section-dark  { background: var(--ink); color: var(--text-inv); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--text-inv); }
.section-contact { background: var(--paper); position: relative; overflow: hidden; }
.section-contact::before {
  content: ""; position: absolute; inset: auto -10% -50% -10%; height: 80%;
  background: radial-gradient(800px 500px at 50% 0%, rgba(85,70,255,.12), transparent 60%);
  pointer-events: none;
}

.section-head {
  max-width: 880px;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.section-num {
  font-family: var(--font-mono);
  font-size: var(--t-mono);
  letter-spacing: .14em;
  color: var(--brand);
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(85, 70, 255, .08);
  border: 1px solid rgba(85, 70, 255, .18);
  margin-bottom: 18px;
}
.section-dark .section-num {
  color: var(--cyan-soft);
  background: rgba(6, 182, 212, .12);
  border-color: rgba(6, 182, 212, .26);
}
.section-title {
  font-size: var(--t-h2);
  max-width: 22ch;
  margin-bottom: 16px;
}
.section-lead {
  font-size: var(--t-lead);
  color: var(--text-soft);
  max-width: 56ch;
}
.section-dark .section-lead { color: var(--text-inv-soft); }

/* =============================================================
   Navbar — tubelight
   ============================================================= */
.nav-shell {
  /* Fixed instead of sticky — guarantees the nav stays in view on every
     scroll position, regardless of parent overflow/height quirks. */
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 100;
  padding-inline: var(--gutter);
  /* Let pointer events fall through the empty area around the pill, so
     hover effects on hero content right under the nav still work. */
  pointer-events: none;
}
.nav-shell > .nav { pointer-events: auto; }
.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 10px 14px 10px 18px;
  background: color-mix(in srgb, var(--paper) 78%, transparent);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  box-shadow: var(--shadow-2);
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
  color: var(--text);
  letter-spacing: -.02em;
}
.brand-mark {
  width: 30px; height: 30px;
  display: inline-grid; place-items: center;
  border-radius: 10px;
  background: var(--ink);
  color: var(--cyan-soft);
}
.brand-eight {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav-links {
  position: relative;
  display: flex; gap: 4px;
  justify-self: center;
  padding: 2px;
  border-radius: 999px;
}
.nav-link {
  position: relative;
  padding: 10px 16px;
  font-weight: 500;
  font-size: .94rem;
  color: var(--text-soft);
  border-radius: 999px;
  transition: color .25s var(--ease);
  z-index: 2;
}
.nav-link:hover { color: var(--text); }
.nav-link.is-active { color: var(--text); }
.tubelight {
  position: absolute;
  height: calc(100% - 4px); top: 2px; left: 2px; width: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(85,70,255,.10), rgba(85,70,255,.04));
  border: 1px solid rgba(85,70,255,.16);
  box-shadow:
    0 0 0 1px rgba(85,70,255,.08),
    0 12px 32px -6px rgba(85,70,255,.28),
    inset 0 -8px 16px -8px rgba(85,70,255,.35);
  transition: transform .42s var(--ease), width .42s var(--ease), opacity .25s ease;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}
.tubelight.is-on { opacity: 1; }
.nav-end {
  display: inline-flex; align-items: center; gap: 10px;
}
.lang-toggle {
  display: inline-flex; padding: 3px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bone);
}
.lang-btn {
  border: 0; background: transparent;
  font-family: var(--font-mono); font-size: .72rem;
  padding: 6px 10px; border-radius: 999px;
  color: var(--text-muted);
  letter-spacing: .14em;
  transition: background .2s ease, color .2s ease;
}
.lang-btn.is-active {
  background: var(--ink);
  color: var(--text-inv);
}
.nav-burger { display: none; }

/* Mobile nav */
@media (max-width: 920px) {
  .nav-links { display: none; }
  .nav-end .btn { display: none; }
  .nav { grid-template-columns: 1fr auto; }
  .nav-burger {
    display: inline-flex; flex-direction: column; gap: 5px;
    padding: 10px; background: transparent; border: 1px solid var(--line); border-radius: 999px;
  }
  .nav-burger span {
    width: 18px; height: 1.6px; background: var(--text); border-radius: 2px; transition: transform .25s ease, opacity .25s ease;
  }
  body.menu-open .nav-burger span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
  body.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
  body.menu-open .nav-burger span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

  body.menu-open .nav-links {
    display: flex; flex-direction: column;
    position: absolute; top: calc(100% + 8px); left: 0; right: 0;
    background: var(--bone);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 8px;
    box-shadow: var(--shadow-3);
  }
  body.menu-open .nav-link { width: 100%; padding: 14px 18px; }
  body.menu-open .tubelight { display: none; }
}

/* =============================================================
   Buttons
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600; font-size: .95rem;
  border: 1px solid transparent;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  will-change: transform;
}
.btn-sm { padding: 9px 16px; font-size: .88rem; }
.btn-block { width: 100%; justify-content: center; padding-block: 16px; }
.btn-primary {
  background: var(--ink); color: var(--text-inv);
  box-shadow: 0 8px 20px -8px rgba(10, 14, 26, .5);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px -10px rgba(10, 14, 26, .55), 0 0 0 6px rgba(85,70,255,.08);
}
.btn-ghost {
  background: var(--bone); color: var(--text); border-color: var(--line-2);
}
.btn-ghost:hover { transform: translateY(-1px); box-shadow: var(--shadow-2); }
.btn-text {
  background: transparent; color: var(--text); padding: 14px 6px;
}
.btn-text:hover { color: var(--brand); }
.section-dark .btn-ghost { background: rgba(255,255,255,.05); color: var(--text-inv); border-color: var(--line-dark-2); }
.section-dark .btn-ghost:hover { background: rgba(255,255,255,.10); }

/* =============================================================
   HERO
   ============================================================= */
.hero {
  position: relative;
  min-height: clamp(640px, 92vh, 920px);
  padding-block: clamp(120px, 14vw, 200px) clamp(80px, 8vw, 140px);
  overflow: hidden;
  background:
    var(--grad-hero),
    var(--paper);
}
.hero-paths {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none;
}
.bg-path {
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  animation: draw 6s var(--ease-out) forwards, float-path 18s ease-in-out infinite;
}
.bg-path-2 { animation-delay: .15s, 0s; }
.bg-path-3 { animation-delay: .3s, 0s; }
.bg-path-4 { animation-delay: .45s, 0s; }
@keyframes draw {
  to { stroke-dashoffset: 0; }
}
@keyframes float-path {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(10, 14, 26, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 14, 26, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(0,0,0,.95), transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(0,0,0,.95), transparent 80%);
  opacity: .8;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 12px;
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono); font-size: var(--t-mono);
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 28px;
}
.eyebrow-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green); position: relative;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, .18);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(16,185,129,.18); }
  50% { box-shadow: 0 0 0 8px rgba(16,185,129,.10); }
}
.hero-title {
  font-size: var(--t-hero);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.035em;
  margin-bottom: 24px;
}
.grad-text {
  background: var(--grad-text);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 8s linear infinite;
}
@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.hero-sub {
  font-size: var(--t-lead);
  color: var(--text-soft);
  max-width: 50ch;
  margin-bottom: 32px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 44px; }
.hero-tags {
  display: flex; flex-wrap: wrap; gap: 18px 24px;
  font-family: var(--font-mono); font-size: var(--t-mono);
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-muted);
}
.hero-tags li { display: inline-flex; align-items: center; gap: 8px; }
.hero-tags .dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.dot-1 { background: var(--brand); }
.dot-2 { background: var(--cyan); }
.dot-3 { background: var(--coral); }
.dot-4 { background: var(--amber); }

/* hero visual side */
.hero-visual {
  position: relative;
  height: 100%;
  min-height: 360px;
  color: var(--text-soft);
}
.hv-window {
  position: relative;
  background: var(--ink);
  color: var(--text-inv);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-3);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.06);
  transform: rotate(-1.5deg);
}
.hv-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
}
.hv-bar > span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.18); }
.hv-bar > span:nth-child(1) { background: #fb7185; }
.hv-bar > span:nth-child(2) { background: #f59e0b; }
.hv-bar > span:nth-child(3) { background: #34d399; }
.hv-bar-title {
  margin-left: 12px !important; width: auto !important; height: auto !important;
  background: transparent !important;
  font-family: var(--font-mono); font-size: .72rem; color: rgba(255,255,255,.6);
  letter-spacing: .04em;
}
.hv-code {
  padding: 20px 22px 24px;
  font-family: var(--font-mono);
  font-size: .82rem;
  line-height: 1.55;
  color: #cbd5e1;
}
.hv-code pre { margin: 0; white-space: pre; overflow: hidden; }
.hv-code .c { color: #64748b; font-style: italic; }
.hv-code .k { color: #c4b5fd; }
.hv-code .s { color: #86efac; }
.hv-code .n { color: #fbbf24; }
.hv-code .p { color: #67e8f9; }
.hv-node {
  position: absolute;
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-family: var(--font-mono); font-size: .68rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--text);
  box-shadow: var(--shadow-2);
  animation: float-y 6s ease-in-out infinite;
}
.hv-node-1 { top: -10px; right: -10px; }
.hv-node-2 { top: 40%; left: -16px; animation-delay: 1s; }
.hv-node-3 { bottom: -10px; right: 8%; animation-delay: 2s; }
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hv-lines {
  position: absolute; inset: 0;
  pointer-events: none;
  color: var(--brand);
  opacity: .35;
}

.hero-scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: inline-flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--text-muted);
  font-family: var(--font-mono); font-size: var(--t-mono);
  letter-spacing: .14em; text-transform: uppercase;
}
.hero-scroll-line {
  width: 1px; height: 36px;
  background: linear-gradient(180deg, transparent, var(--text-muted));
  animation: scroll-cue 2.2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes scroll-cue {
  0%, 100% { transform: scaleY(.4); }
  50% { transform: scaleY(1); }
}

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
}

/* =============================================================
   Clients
   ============================================================= */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.client-card {
  position: relative;
  padding: 28px 24px;
  border-radius: var(--r-lg);
  background: var(--bone);
  border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 10px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.client-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-3);
  border-color: var(--line-2);
}
.client-tag {
  color: var(--text-muted);
}
.client-name {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--text);
}
.client-meta {
  color: var(--text-soft);
  font-size: .92rem;
}

@media (max-width: 920px) { .clients-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .clients-grid { grid-template-columns: 1fr; } }

/* =============================================================
   About (dark)
   ============================================================= */
.section-dark::before {
  content: ""; position: absolute; inset: 0;
  background: var(--grad-dark);
  pointer-events: none;
}
.section-dark .container { position: relative; }
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr;
  grid-template-rows: auto auto;
  gap: 14px;
}
.location-card, .stat-card {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: transform .3s var(--ease), background .3s ease, border-color .3s ease;
}
.location-card:hover, .stat-card:hover {
  background: rgba(255,255,255,.05);
  border-color: var(--line-dark-2);
  transform: translateY(-3px);
}
.loc-header { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.loc-flag { font-size: 1.4rem; }
.loc-where { color: var(--cyan-soft); }
.loc-city {
  font-size: 1.8rem; font-weight: 600; letter-spacing: -.02em; margin-bottom: 10px;
}
.loc-desc { color: var(--text-inv-soft); max-width: 38ch; }
.loc-meta { margin-top: 18px; color: var(--text-muted); }
.section-dark .loc-meta { color: var(--text-inv-soft); }

.stat-card { grid-column: span 1; padding: 26px 28px 28px; display: flex; flex-direction: column; gap: 4px; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 1.6rem + 3vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: flex; align-items: baseline; gap: 4px;
}
.stat-unit { font-size: .7em; }
.stat-label {
  font-family: var(--font-mono); font-size: .76rem;
  text-transform: uppercase; letter-spacing: .16em;
  color: var(--cyan-soft);
  margin-top: 10px;
}
.stat-desc { color: var(--text-inv-soft); margin-top: 6px; }

@media (max-width: 920px) {
  .about-grid { grid-template-columns: 1fr; }
}

/* =============================================================
   Services bento
   ============================================================= */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.bento-card {
  grid-column: span 2;
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  /* Center the card content (icon, title, copy, tags/bullets). */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  position: relative;
  transition:
    transform .4s var(--ease),
    box-shadow .4s var(--ease),
    border-color .4s var(--ease),
    background .4s var(--ease);
  overflow: hidden;
  isolation: isolate;       /* keep ::after under children even with backdrop tricks */
  will-change: transform;
}
.bento-card::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(420px 220px at var(--mx, 50%) var(--my, 0%), rgba(85,70,255,.16), transparent 60%);
  opacity: 0; transition: opacity .4s ease;
  pointer-events: none;
  z-index: -1;
}
.bento-card:hover {
  transform: translateY(-10px) scale(1.025);
  box-shadow:
    0 30px 80px rgba(85, 70, 255, 0.18),
    0 6px 20px rgba(11, 16, 32, 0.08);
  border-color: var(--brand);
  background: #ffffff;
  z-index: 2;
}
.bento-card:hover::after { opacity: 1; }
.bento-card:hover .bento-icon {
  transform: scale(1.12);
  /* Each card glows in its own accent (brand / cyan / amber / coral). */
  box-shadow: 0 10px 28px color-mix(in srgb, currentColor 35%, transparent);
}
.bento-card:hover .bento-title {
  color: var(--brand);
}
.bento-icon {
  transition: transform .4s var(--ease), box-shadow .4s ease;
}
.bento-title {
  transition: color .35s ease;
}
/* Tag pills & bullet lists should also be centered as a block. */
.bento-tags { justify-content: center; }
.bento-desc { margin-inline: auto; }
.bento-bullets {
  width: max-content;
  max-width: 100%;
  margin-inline: auto;
  text-align: left;          /* keep bullets readable, just center the BLOCK */
}
.bento-feat { grid-column: span 3; padding: 36px; }
.bento-icon {
  display: inline-grid; place-items: center;
  width: 46px; height: 46px;
  background: rgba(85,70,255,.08);
  color: var(--brand);
  border-radius: 12px;
  border: 1px solid rgba(85,70,255,.18);
}
.bento-feat .bento-icon { width: 52px; height: 52px; }
.bento-ai .bento-icon { background: rgba(85,70,255,.10); color: var(--brand); }
.bento-auto .bento-icon { background: rgba(6,182,212,.10); color: var(--cyan); border-color: rgba(6,182,212,.22); }
.bento-train .bento-icon { background: rgba(251,113,133,.10); color: var(--coral); border-color: rgba(251,113,133,.22); }
.bento-title {
  font-family: var(--font-display);
  font-size: var(--t-h3);
  font-weight: 600;
  letter-spacing: -.015em;
}
.bento-desc { color: var(--text-soft); max-width: 44ch; }
.bento-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.bento-tags span {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--cream);
  border: 1px solid var(--line);
  color: var(--text-soft);
}

@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-card, .bento-feat { grid-column: span 1; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
}

/* =============================================================
   Methodology — radial orbital timeline
   ============================================================= */
.orbital {
  position: relative;
  width: 100%;
  max-width: 1040px;
  aspect-ratio: 1 / 1;
  margin: clamp(28px, 4vw, 56px) auto 0;
}

/* dashed ring */
.orbital-ring {
  position: absolute;
  inset: 26%;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  background: radial-gradient(circle at center, rgba(85,70,255,0.05), transparent 70%);
}

/* orbiting comet (a small glowing dot that traces the ring) */
.orbital-comet {
  position: absolute;
  inset: 26%;
  border-radius: 50%;
  pointer-events: none;
  animation: orbital-spin 28s linear infinite;
}
.orbital-comet::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  border-radius: 50%;
  background: #06B6D4;
  box-shadow:
    0 0 12px #06B6D4,
    0 0 28px rgba(6, 182, 212, 0.55),
    0 0 48px rgba(6, 182, 212, 0.30);
}
@keyframes orbital-spin {
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .orbital-comet { animation: none; }
}

/* central hub
   ----------------------------------------------------------------------
   Layout: FLEX column with `justify-content: center` centers the
   (num + label) BLOCK vertically as a group inside the circle.  Grid
   with auto-flow rows was distributing the rows top-aligned, leaving
   the gap visible.  Flex stacks them tightly and centers the whole pair.
*/
.orbital-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(140px, 16%, 180px);
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,0.30), rgba(255,255,255,0) 55%),
    linear-gradient(135deg, #5546FF 0%, #06B6D4 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    0 24px 80px rgba(85, 70, 255, 0.35),
    0 0 0 8px rgba(85, 70, 255, 0.08);
}
.orbital-hub-num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 0.85;
  margin: 0;
}
.orbital-hub-label {
  font-family: var(--font-mono);
  /* Bumped from 0.68rem → 0.88rem so the label has real weight and is no
     longer dwarfed by the number, which is what made the gap look huge. */
  font-size: 0.88rem;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1;
  margin: 4px 0 0 0;             /* small breathing room — not the huge gap before */
}

/* the 4 cards
   --------------------------------------------------------------
   --pulse is driven by `orbital-pulse` (registered below) and goes
   from 1 (calm) at 8%–92% of the cycle up to 1.10 right at 0%/100%.
   The four nodes share one 28s cycle but each has a negative delay
   so its peak coincides with the moment the comet rides over it.
   Hover replaces `transform` entirely with a bigger static scale,
   so the user always wins over the pulse without needing !important.
*/
@property --pulse {
  syntax: "<number>";
  inherits: false;
  initial-value: 1;
}

.orbital-node {
  position: absolute;
  width: clamp(220px, 24%, 290px);
  padding: 22px 22px 20px;
  border-radius: var(--r-lg);
  backdrop-filter: blur(4px);
  --pulse: 1;
  background: rgba(255, 255, 255, calc(0.04 + 0.07 * (var(--pulse) - 1) / 0.10));
  border: 1px solid rgba(6, 182, 212, calc(0.10 + 0.70 * (var(--pulse) - 1) / 0.10));
  box-shadow:
    0 calc(18px + 14px * (var(--pulse) - 1) / 0.10)
      calc(60px + 30px * (var(--pulse) - 1) / 0.10)
      rgba(6, 182, 212, calc(0.10 + 0.40 * (var(--pulse) - 1) / 0.10));
  animation: orbital-pulse 28s linear infinite;
  transition:
    border-color 0.35s ease,
    background 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.35s var(--ease);
}

@keyframes orbital-pulse {
  0%, 100% { --pulse: 1.10; }
  8%, 92%  { --pulse: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .orbital-node { animation: none; --pulse: 1; }
}

/* compass positions — scale() uses --pulse so the card breathes with the comet */
.node-n { top: 0;    left: 50%; transform: translateX(-50%) scale(var(--pulse)); animation-delay:   0s; }
.node-e { right: 0;  top: 50%;  transform: translateY(-50%) scale(var(--pulse)); animation-delay: -21s; }
.node-s { bottom: 0; left: 50%; transform: translateX(-50%) scale(var(--pulse)); animation-delay: -14s; }
.node-w { left: 0;   top: 50%;  transform: translateY(-50%) scale(var(--pulse)); animation-delay:  -7s; }

/* Hover wins: replace transform with a bigger static scale + brighten card */
.orbital-node:hover {
  background: rgba(6, 182, 212, 0.08);
  border-color: rgba(6, 182, 212, 0.80);
  box-shadow: 0 26px 90px rgba(6, 182, 212, 0.40);
  z-index: 2;
}
.node-n:hover { transform: translateX(-50%) scale(1.16); }
.node-e:hover { transform: translateY(-50%) scale(1.16); }
.node-s:hover { transform: translateX(-50%) scale(1.16); }
.node-w:hover { transform: translateY(-50%) scale(1.16); }

.node-num {
  display: inline-block;
  padding: 4px 12px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.32);
  color: var(--cyan-soft);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
}
.node-title {
  font-family: var(--font-display);
  font-size: 1.14rem;
  font-weight: 600;
  letter-spacing: -0.012em;
  margin-bottom: 8px;
  color: #fff;
}
.node-desc {
  font-size: 0.92rem;
  color: var(--text-inv-soft);
  line-height: 1.5;
}

/* responsive: collapse the radial geometry into a clean vertical column */
@media (max-width: 880px) {
  .orbital {
    aspect-ratio: auto;
    max-width: 520px;
    display: grid;
    gap: 18px;
  }
  .orbital-ring,
  .orbital-comet,
  .orbital-hub { display: none; }
  .orbital-node,
  .node-n,
  .node-s,
  .node-w,
  .node-e {
    position: static;
    width: 100%;
    transform: none;
    animation: none;          /* no comet on mobile → no pulse */
    --pulse: 1;
  }
  .orbital-node:hover,
  .node-n:hover,
  .node-s:hover,
  .node-w:hover,
  .node-e:hover { transform: translateY(-2px) scale(1.02); }
  /* visual order: 01 → 02 → 03 → 04 */
  .node-n { order: 1; }
  .node-e { order: 2; }
  .node-s { order: 3; }
  .node-w { order: 4; }
}

/* =============================================================
   Why
   ============================================================= */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.why-card {
  padding: 32px;
  border-radius: var(--r-lg);
  background: var(--bone);
  border: 1px solid var(--line);
  transition: box-shadow .3s ease, transform .3s ease;
}
.why-card:hover { box-shadow: var(--shadow-3); transform: translateY(-2px); }
.why-good { border-top: 3px solid var(--brand); }
.why-bad  { border-top: 3px solid var(--coral); background: var(--cream); }
.why-h {
  font-size: 1.4rem; font-weight: 600; letter-spacing: -.015em;
  margin-bottom: 18px;
}
.why-list { display: grid; gap: 12px; }
.why-list li {
  position: relative; padding-left: 32px;
  color: var(--text-soft); line-height: 1.55;
}
.why-list li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(85,70,255,.10);
  border: 1px solid rgba(85,70,255,.30);
}
.why-list li::after {
  content: ""; position: absolute; left: 5px; top: 12px;
  width: 8px; height: 4px;
  border-left: 1.6px solid var(--brand);
  border-bottom: 1.6px solid var(--brand);
  transform: rotate(-45deg);
}
.why-list-bad li::before { background: rgba(251,113,133,.10); border-color: rgba(251,113,133,.30); }
.why-list-bad li::after {
  border: 0;
  width: 8px; height: 8px;
  left: 5px; top: 10px;
  background:
    linear-gradient(45deg, transparent 45%, var(--coral) 45% 55%, transparent 55%),
    linear-gradient(-45deg, transparent 45%, var(--coral) 45% 55%, transparent 55%);
  transform: none;
}

@media (max-width: 820px) { .why-grid { grid-template-columns: 1fr; } }

/* =============================================================
   Contact
   ============================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(28px, 4vw, 60px);
  position: relative; z-index: 2;
}
.contact-title { max-width: 16ch; }
.contact-info {
  margin-top: 36px;
  display: grid; gap: 14px;
}
.contact-info li {
  display: grid;
  grid-template-columns: 130px 1fr;
  align-items: baseline;
  gap: 14px;
  padding-block: 12px;
  border-top: 1px solid var(--line);
}
.contact-info li:last-child { border-bottom: 1px solid var(--line); }
.ci-label { color: var(--text-muted); }
.ci-value { color: var(--text); font-weight: 500; }
.ci-value:hover { color: var(--brand); }

.contact-form {
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(24px, 3vw, 36px);
  display: grid; gap: 16px;
  box-shadow: var(--shadow-2);
}
.contact-form .row.two {
  display: grid; gap: 16px;
  grid-template-columns: 1fr 1fr;
}
.contact-form label {
  display: grid; gap: 6px;
  font-size: .9rem; color: var(--text-soft);
  font-weight: 500;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  color: var(--text);
  font-size: 1rem;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.contact-form textarea { resize: vertical; min-height: 120px; font-family: inherit; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: var(--bone);
  box-shadow: 0 0 0 4px rgba(85,70,255,.10);
}
.form-feedback {
  font-size: .9rem; color: var(--text-soft); min-height: 1.2em;
}
.form-feedback.is-ok { color: var(--green); }
.form-feedback.is-err { color: var(--coral); }

@media (max-width: 920px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form .row.two { grid-template-columns: 1fr; }
}

/* =============================================================
   Footer
   ============================================================= */
.footer {
  background: var(--ink); color: var(--text-inv);
  padding-block: 64px 28px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 40px;
  align-items: start;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.brand-footer { color: var(--text-inv); }
.brand-footer .brand-text { font-size: 1.4rem; }
.footer-tag {
  margin-top: 12px;
  color: var(--text-inv-soft);
  max-width: 32ch;
}
.footer-cols {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.footer-h {
  color: var(--cyan-soft);
  margin-bottom: 14px;
}
.footer-cols ul { display: grid; gap: 10px; }
.footer-cols a, .footer-cols li { color: var(--text-inv-soft); font-size: .94rem; }
.footer-cols a:hover { color: var(--text-inv); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px;
  color: var(--text-inv-soft);
  font-size: .86rem;
}
.footer-bottom .mono { color: var(--cyan-soft); }

@media (max-width: 820px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .footer-cols { grid-template-columns: 1fr; }
}

/* =============================================================
   Scroll reveal
   ============================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0ms !important;
    transition-duration: 0ms !important;
    animation-iteration-count: 1 !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .bg-path { stroke-dashoffset: 0; }
}

/* =============================================================
   Focus visible
   ============================================================= */
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}

/* =============================================================
   Hero v2 — short title + word carousel + neon visual
   ============================================================= */
.hero-left { max-width: 640px; }

.hero-title-tight {
  font-size: clamp(2.8rem, 1.6rem + 4.8vw, 5.6rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.035em;
  margin-bottom: 20px;
}
.hero-title-tight > span { display: block; }
/* The "tu word" line keeps both children inline so "tu" and the carousel
   word never break to separate lines. */
.hero-line-tu {
  white-space: nowrap;
}
.hero-line-tu > span:not(.hero-word) {
  display: inline;
}
.hero-line-tu .hero-word {
  display: inline-block;
  vertical-align: baseline;
}

/* Hero rotating word: a single inline span whose textContent is swapped by JS.
   This way the container width naturally follows the active word — no
   "ghost" sizer leaving an empty gap after short words like "futuro". */
.hero-word {
  display: inline-block;
  background: var(--grad-text);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
  vertical-align: baseline;
  animation: shimmer 8s linear infinite;
  transition: opacity .35s var(--ease), transform .35s var(--ease), filter .35s var(--ease);
}
.hero-word.is-leaving {
  opacity: 0;
  transform: translateY(-30%);
  filter: blur(2px);
}
.hero-word.is-entering {
  opacity: 0;
  transform: translateY(30%);
}

/* hero visual stage — uses the user's PNG logo when present; otherwise
   shows an inline SVG fallback (the orbit + DevCon8 wordmark). */
.hero-visual {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
}
.hv-stage {
  position: relative;
  width: min(440px, 92%);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 30px 60px rgba(85,70,255,.18));
  animation: hv-float 8s ease-in-out infinite;
}
@keyframes hv-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
.hv-brand {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  border-radius: 22px;
  object-fit: contain;
  background: radial-gradient(closest-side, rgba(85,70,255,.18), transparent 70%);
}
.hv-no-image .hv-brand { display: none; }
.hv-orbit {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
  opacity: 0;
  animation: orbit-spin 28s linear infinite;
}
.hv-no-image .hv-orbit {
  opacity: 1; /* fallback shown when image missing */
}
@keyframes orbit-spin {
  to { transform: rotate(360deg); }
}

/* floating proof chips */
.hv-chip {
  position: absolute;
  z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-2);
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text);
  white-space: nowrap;
  animation: float-y 6s ease-in-out infinite;
}
.hvc-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 3px rgba(85,70,255,.16);
}
.hvc-dot-2 { background: var(--cyan); box-shadow: 0 0 0 3px rgba(6,182,212,.16); }
.hvc-dot-3 { background: var(--coral); box-shadow: 0 0 0 3px rgba(251,113,133,.16); }
.hvc-dot-4 { background: var(--amber); box-shadow: 0 0 0 3px rgba(245,158,11,.16); }
.hv-chip-1 { top: -2%;  left: -8%; animation-delay: 0s; }
.hv-chip-2 { top: 20%; right: -10%; animation-delay: 1s; }
.hv-chip-3 { bottom: 6%; left: -10%; animation-delay: 2s; }
.hv-chip-4 { bottom: -2%; right: -6%; animation-delay: .5s; }

/* AI button in hero */
.btn-ai { position: relative; }
.ai-spark {
  width: 10px; height: 10px; border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, rgba(255,255,255,0) 70%),
              radial-gradient(circle at 50% 50%, var(--brand) 0%, var(--cyan) 70%);
  box-shadow: 0 0 16px rgba(85,70,255,.55), 0 0 4px rgba(6,182,212,.65) inset;
  animation: ai-pulse 2.2s ease-in-out infinite;
}
@keyframes ai-pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.2); }
}

@media (max-width: 980px) {
  .hero-visual { min-height: 320px; }
  .hv-chip { font-size: .62rem; padding: 6px 10px; }
}

/* =============================================================
   Client card — variant with mascot image
   ============================================================= */
.client-card-image {
  background: linear-gradient(180deg, rgba(85,70,255,.06), var(--bone) 60%);
  border-color: rgba(85,70,255,.18);
  overflow: hidden;
  padding-top: 16px;
}
.client-mascot {
  height: 96px;
  width: auto;
  object-fit: contain;
  align-self: flex-start;
  margin-bottom: 8px;
  transition: transform .35s var(--ease);
}
.client-card-image:hover .client-mascot {
  transform: translateY(-4px) rotate(-3deg);
}

/* =============================================================
   Footer logo image (optional — used if user drops the file)
   ============================================================= */
.footer-logo {
  height: 36px;
  width: auto;
  display: block;
  margin-bottom: 6px;
  filter: brightness(0) invert(1); /* keep wordmark white over dark footer */
  opacity: .96;
}
.brand-text-footer { /* visible only as fallback if .footer-logo failed */
  display: inline-flex; align-items: center;
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 700;
}

/* =============================================================
   AI Assistant — floating FAB + drawer
   ============================================================= */
.ai-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px 14px 14px;
  border-radius: 999px;
  border: 0;
  color: #fff;
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(255,255,255,.18), transparent 60%),
    linear-gradient(135deg, #5546FF, #06B6D4);
  box-shadow:
    0 18px 40px -10px rgba(85,70,255,.45),
    0 0 0 1px rgba(255,255,255,.10) inset;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.ai-fab:hover { transform: translateY(-2px); box-shadow: 0 22px 48px -10px rgba(85,70,255,.55); }
.ai-fab-glow {
  position: absolute; inset: -10px;
  border-radius: 999px;
  background: radial-gradient(closest-side, rgba(85,70,255,.45), transparent 70%);
  filter: blur(8px);
  z-index: -1;
  animation: ai-pulse 2.6s ease-in-out infinite;
}
.ai-fab-icon {
  width: 30px; height: 30px;
  display: inline-grid; place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.22);
}
.ai-fab-label {
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}
@media (max-width: 480px) {
  .ai-fab-label { display: none; }
  .ai-fab { padding: 12px; }
}

.ai-panel {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 210;
  width: min(420px, calc(100vw - 24px));
  background: var(--bone);
  border-left: 1px solid var(--line);
  box-shadow: -28px 0 80px -20px rgba(2,6,23,.20), -12px 0 24px -8px rgba(2,6,23,.08);
  display: grid;
  grid-template-rows: auto 1fr auto auto auto;
  overflow: hidden;
  animation: ai-slide-in .42s var(--ease) backwards;
}
@keyframes ai-slide-in {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: none; }
}
.ai-panel[hidden] { display: none; }
@media (max-width: 480px) {
  .ai-panel { width: 100vw; border-left: 0; }
}

.ai-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(85,70,255,.05), transparent),
    var(--bone);
}
.ai-head-id { display: flex; align-items: center; gap: 12px; }
.ai-avatar {
  width: 36px; height: 36px;
  display: inline-grid; place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--cyan));
}
.ai-head-meta strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1rem; }
.ai-head-meta small { color: var(--text-muted); font-size: .76rem; display: inline-flex; align-items: center; gap: 6px; }
.ai-status-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(16,185,129,.16);
  display: inline-block;
}
.ai-close {
  width: 32px; height: 32px;
  display: inline-grid; place-items: center;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bone);
  color: var(--text-soft);
}
.ai-close:hover { background: var(--cream); color: var(--text); }

.ai-messages {
  padding: 18px 16px;
  display: grid; gap: 10px;
  overflow-y: auto;
  align-content: start;
  background:
    radial-gradient(800px 400px at 100% 0%, rgba(85,70,255,.04), transparent 60%),
    var(--bone);
}
.ai-msg {
  max-width: 84%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: .92rem;
  line-height: 1.45;
  animation: msg-in .25s var(--ease) backwards;
}
.ai-msg.bot {
  background: var(--cream);
  color: var(--text);
  border-bottom-left-radius: 6px;
}
.ai-msg.me {
  background: var(--ink);
  color: var(--text-inv);
  justify-self: end;
  border-bottom-right-radius: 6px;
}
.ai-msg.typing {
  background: var(--cream);
  color: var(--text-muted);
  display: inline-flex; gap: 4px; align-items: center;
  width: max-content;
}
.ai-msg.typing span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--text-muted);
  animation: typing 1.1s ease-in-out infinite;
}
.ai-msg.typing span:nth-child(2) { animation-delay: .12s; }
.ai-msg.typing span:nth-child(3) { animation-delay: .24s; }
@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: .4; }
  30%           { transform: translateY(-3px); opacity: 1; }
}
@keyframes msg-in {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: none; }
}

.ai-quick {
  display: flex; flex-wrap: wrap; gap: 6px;
  padding: 4px 14px 10px;
  border-top: 1px dashed var(--line);
}
.ai-quick:empty { display: none; }
.ai-quick button {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bone);
  color: var(--text);
  font-size: .82rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.ai-quick button:hover { border-color: var(--brand); transform: translateY(-1px); background: rgba(85,70,255,.06); }

.ai-input {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px;
  padding: 10px 12px;
  border-top: 1px solid var(--line);
  background: var(--bone);
}
.ai-input input {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: .94rem;
  color: var(--text);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.ai-input input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(85,70,255,.10); }
.ai-input button {
  width: 44px; height: 44px;
  border-radius: 14px; border: 0;
  background: var(--ink); color: #fff;
  display: inline-grid; place-items: center;
  transition: transform .2s ease, background .2s ease;
}
.ai-input button:hover { transform: translateY(-1px); background: var(--brand); }

.ai-foot {
  padding: 8px 16px 12px;
  border-top: 1px solid var(--line);
  font-size: .76rem;
  color: var(--text-muted);
  background: var(--bone);
  display: flex; gap: 6px; flex-wrap: wrap;
}
.ai-foot a { color: var(--brand); font-weight: 600; }

/* slim collapse when opened */
body.ai-open .ai-fab { transform: scale(.96); }

/* =============================================================
   Clients — clean logo grid (4 columns)
   ============================================================= */
.section-head-center { text-align: center; margin-bottom: clamp(28px, 3.4vw, 48px); }
.section-head-center .section-num { margin-inline: auto; display: inline-block; }
.section-num-text {
  /* used when the chip carries a word ("Clients") instead of a number */
  letter-spacing: .18em;
  padding: 7px 18px;
  font-size: .82rem;
  margin-bottom: 22px;
}
.clients-title { max-width: 22ch; margin-inline: auto; font-size: clamp(2.4rem, 1.5rem + 2.8vw, 3.9rem); }

.logos-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.logo-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 22px 26px;
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition:
    transform .35s var(--ease),
    border-color .35s var(--ease),
    box-shadow .35s var(--ease),
    background .35s var(--ease);
  position: relative;
  overflow: hidden;
}
.logo-card::before {
  /* subtle gradient corner accent */
  content: "";
  position: absolute;
  inset: -40% 60% 60% -40%;
  background: radial-gradient(closest-side, rgba(85,70,255,.10), transparent 70%);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}
.logo-card:hover {
  transform: translateY(-6px);
  border-color: rgba(85,70,255,.28);
  box-shadow: 0 24px 50px -22px rgba(2,6,23,.20);
  background: #fff;
}
.logo-card:hover::before { opacity: 1; }

.logo-card-logo {
  width: 100%;
  height: 200px;             /* +20px so vertical logos (e.g. Punti, 600×900) have room */
  display: grid;
  place-items: center;
  padding: 10px;             /* tighter padding → more content area for tall logos */
  border-radius: var(--r-md);
  background:
    linear-gradient(180deg, rgba(85,70,255,.04), transparent 80%),
    var(--paper);
  border: 1px solid var(--line);
  margin-bottom: 8px;
  transition: transform .35s var(--ease);
  overflow: hidden;
}
.logo-card:hover .logo-card-logo {
  transform: scale(1.02);
}
/* Use width/height: 100% + object-fit: contain so the IMG always letterboxes
   to fit its container, regardless of the source aspect ratio.  Safer than
   max-width/max-height when sources vary (Punti 600×900 vs RALM 1536×1024). */
.logo-card-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform .4s var(--ease);
}
.logo-card:hover .logo-card-logo img {
  transform: scale(1.06);
}

/* darker logos (e.g. Lafuente) need a dark backdrop to stand out */
.logo-card-logo-dark {
  background:
    radial-gradient(140% 110% at 0% 0%, #1A1D2E 0%, var(--ink) 70%);
  border-color: rgba(255,255,255,.08);
}
.logo-card-logo-dark img {
  /* the Lafuente logo is black; show it on dark with inverted color */
  filter: invert(1) brightness(1.1);
  max-height: 130px;
}

.logo-card-tag {
  color: var(--brand);
  font-size: var(--t-mono);
}
.logo-card-name {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--text);
  margin: 0;
  line-height: 1.2;
}
.logo-card-meta {
  color: var(--text-soft);
  font-size: .92rem;
  margin: 0;
}

@media (max-width: 1024px) {
  .logos-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .logos-grid { grid-template-columns: 1fr; }
  .logo-card-logo { height: 140px; }
  .logo-card-logo img { max-height: 110px; }
}

/* =============================================================
   About — rotating globe with two pinned offices
   ============================================================= */
.about-container { display: flex; flex-direction: column; align-items: center; }

.globe-wrapper {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1.4fr;     /* side first, globe second */
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  margin-top: clamp(28px, 4vw, 64px);
}
/* Visual order: legend/stats on the left, globe on the right. */
.globe-side { order: 1; }
.earth      { order: 2; }
/* ----- Earth: textured rotating planet ----- */
.earth {
  position: relative;
  width: min(480px, 90%);
  aspect-ratio: 1 / 1;
  margin-inline: auto;
}
.earth-sphere {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  /* Outer atmospheric glow + ground shadow */
  box-shadow:
    0 0 0 1px rgba(255,255,255,.06),
    0 0 60px 10px rgba(6,182,212,.18),
    0 0 120px -20px rgba(85,70,255,.30),
    0 36px 80px rgba(2,6,23,.55);
}

/* Layer 1 — deep-ocean base (always visible as the fallback if the texture
   image is missing or hasn't loaded yet). */
.earth-base {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 35% 30%, rgba(85,70,255,.45) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 75%, rgba(6,182,212,.30) 0%, transparent 60%),
    linear-gradient(135deg, #1E3A8A 0%, #0A1A4A 55%, #050A2A 100%);
}

/* Layer 2 — the rotating layer. It carries BOTH the Earth texture and the
   geographic pins so that the pins stick to their longitude/latitude on the
   planet and slide off the visible hemisphere as the globe spins. The layer
   is 400% of the sphere width: two full Earth maps placed side by side
   (each 200% of the sphere) gives a perfectly seamless wraparound when the
   layer slides one full Earth-width to the left. */
.earth-rotating {
  position: absolute;
  inset: 0;
  width: 400%;
  height: 100%;
  display: flex;
  animation: earth-spin 60s linear infinite;
  will-change: transform;
}
.earth-tile {
  position: relative;
  width: 50%; /* = one full equirectangular Earth = 200% of sphere viewport */
  height: 100%;
  background-image: url("assets/earth-map.jpg");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  flex: 0 0 50%;
  mix-blend-mode: screen; /* keep the deep-blue base showing through dark oceans */
}
@keyframes earth-spin {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); } /* slide exactly one Earth-width */
}

/* Layer 3 — sphere shading: bright highlight on the top-left, deep shadow on
   the bottom-right. Gives the 2D circle a believable 3D feel. */
.earth-shading {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 80% at 30% 25%, rgba(255,255,255,.22) 0%, transparent 35%),
    radial-gradient(ellipse 100% 100% at 75% 80%, rgba(0,0,0,.55) 0%, transparent 65%),
    /* Limb darkening — the edge of the sphere is darker than the middle */
    radial-gradient(circle at 50% 50%, transparent 60%, rgba(0,0,0,.40) 95%);
}

/* Optional decorative starfield in the corners (the sphere is round so the
   stars only peek out in the surrounding container, outside the sphere). */
.earth-stars {
  position: absolute;
  inset: -8%;
  border-radius: 50%;
  pointer-events: none;
  background:
    radial-gradient(1.2px 1.2px at 10% 18%, rgba(255,255,255,.7), transparent 60%),
    radial-gradient(1px   1px   at 85% 12%, rgba(255,255,255,.5), transparent 60%),
    radial-gradient(1.4px 1.4px at 78% 88%, rgba(255,255,255,.7), transparent 60%),
    radial-gradient(1px   1px   at 15% 82%, rgba(255,255,255,.5), transparent 60%),
    radial-gradient(1.2px 1.2px at 92% 50%, rgba(255,255,255,.4), transparent 60%);
  mask-image: radial-gradient(circle at center, transparent 50%, black 52%);
  -webkit-mask-image: radial-gradient(circle at center, transparent 50%, black 52%);
  z-index: -1;
}

/* Pins live INSIDE each tile, positioned at the real geographic coordinates
   of San Diego and Tenerife on an equirectangular projection:
     longitude  →  x = (lon + 180) / 360
     latitude   →  y = (90 - lat) / 180
   San Diego  (32.7°N, 117.2°W) → 17.4% left, 31.8% top
   Tenerife   (28.3°N,  16.6°W) → 45.4% left, 34.3% top
   (relative to the FULL Earth map = one tile). */
.earth-pin {
  position: absolute;
  width: 18px;
  height: 18px;
  margin-left: -9px; /* center on the coordinate */
  margin-top: -9px;
  pointer-events: none;
  z-index: 4;
}
.earth-pin-sd { left: 17.4%; top: 31.8%; color: #06B6D4; }
.earth-pin-tf { left: 45.4%; top: 34.3%; color: #FB7185; }
.earth-pin-dot {
  position: absolute;
  inset: 5px;
  background: currentColor;
  border-radius: 50%;
  box-shadow:
    0 0 0 2px rgba(255,255,255,.92),
    0 0 16px currentColor,
    0 0 24px currentColor;
}
.earth-pin-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: currentColor;
  opacity: .4;
  animation: pin-ring 2.4s ease-out infinite;
}
.earth-pin-tf .earth-pin-ring { animation-delay: 1.2s; }
@keyframes pin-ring {
  0%   { transform: scale(.6); opacity: .55; }
  100% { transform: scale(3);  opacity: 0; }
}

/* Globe legend — sits beside the globe and maps each colored pin to its
   office. Lives outside the rotating sphere so it never feels disconnected
   from the spinning pins (the previous "city-label" approach had pins moving
   while labels stayed put, which read as a glitch). */
.globe-legend {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}
.globe-legend-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-md);
  transition: background .25s ease, border-color .25s ease;
}
.globe-legend-item:hover {
  background: rgba(255,255,255,.06);
  border-color: var(--line-dark-2);
}
.legend-swatch {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex: 0 0 12px;
}
.legend-swatch-sd { background: #06B6D4; box-shadow: 0 0 0 4px rgba(6,182,212,.18), 0 0 14px #06B6D4; }
.legend-swatch-tf { background: #FB7185; box-shadow: 0 0 0 4px rgba(251,113,133,.18), 0 0 14px #FB7185; }
.legend-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--text-inv);
}
.legend-text strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -.01em;
  line-height: 1.1;
}
.legend-text small {
  color: rgba(255,255,255,.55);
  font-size: .72rem;
}

.globe-stats {
  display: grid;
  gap: 22px;
}
.globe-stat {
  padding: 22px 24px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-lg);
}
.globe-stat .stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 1.6rem + 2vw, 3rem);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.globe-stat .stat-label {
  margin-top: 8px;
  color: var(--cyan-soft);
  font-family: var(--font-mono);
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .16em;
}

@media (max-width: 980px) {
  .globe-wrapper {
    grid-template-columns: 1fr;
  }
  .globe { width: min(420px, 88%); }
  .city-label-sd { top: 8%;    left: 0; }
  .city-label-tf { bottom: 6%; right: 0; }
  .globe-stats { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .globe-stat { padding: 16px 18px; }
}
@media (max-width: 560px) {
  .globe-stats { grid-template-columns: 1fr; }
}

/* =============================================================
   Bento — 5-card layout (used on Services section)
   ============================================================= */
.bento-5 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
/* row 1: two featured (AI + Automation) */
.bento-5 .bento-feat { grid-column: span 3; }
/* row 2: software, full width */
.bento-5 .bento-wide { grid-column: span 6; }
/* row 3: consulting + training */
.bento-5 .bento-card:not(.bento-feat):not(.bento-wide) { grid-column: span 3; }

.bento-software .bento-icon {
  background: rgba(245,158,11,.10);
  color: var(--amber);
  border-color: rgba(245,158,11,.22);
}

/* ─── Software card — image on the LEFT, content on the RIGHT ─────────
   Overrides the default centered flex layout for `.bento-card` so this
   wide card can host a side-by-side composition. */
.bento-software {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: stretch;
  gap: 0;
  padding: 0;                /* zero out the card's default padding */
  text-align: left;
  overflow: hidden;          /* keep the image inside the rounded corners */
}

.bento-software .bento-media {
  display: block;
  margin: 0;
  align-self: stretch;
  height: 100%;
  min-height: 320px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--cream), var(--bone));
  border-radius: var(--r-lg) 0 0 var(--r-lg);
  position: relative;
}
.bento-software .bento-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}
.bento-software:hover .bento-media img {
  transform: scale(1.04);
}

.bento-software-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;   /* override the card-wide center alignment */
  justify-content: center;
  gap: 14px;
  padding: clamp(28px, 3vw, 40px) clamp(28px, 3vw, 40px) clamp(28px, 3vw, 40px) clamp(24px, 2.5vw, 36px);
  text-align: left;
}
/* Undo the centering rules inherited from `.bento-card`/`.bento-bullets`
   so the side-by-side composition reads naturally. */
.bento-software .bento-title,
.bento-software .bento-desc { margin-inline: 0; max-width: none; }
.bento-software .bento-bullets {
  width: auto;
  margin-inline: 0;
  text-align: left;
}

/* Responsive: stack image on top, content below, on narrow viewports. */
@media (max-width: 760px) {
  .bento-software {
    grid-template-columns: 1fr;
  }
  .bento-software .bento-media {
    border-radius: var(--r-lg) var(--r-lg) 0 0;
    aspect-ratio: 16 / 9;
    min-height: 0;
    height: auto;
  }
  .bento-software-body {
    padding: clamp(24px, 4vw, 32px);
    align-items: center;
    text-align: center;
  }
  .bento-software .bento-bullets {
    width: max-content;
    max-width: 100%;
    margin-inline: auto;
  }
}
.bento-bullets {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.bento-bullets li {
  position: relative;
  padding-left: 22px;
  color: var(--text-soft);
  font-size: .95rem;
}
.bento-bullets li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: 12px; height: 1.5px;
  background: var(--brand);
  border-radius: 999px;
}

@media (max-width: 980px) {
  .bento-5 { grid-template-columns: repeat(2, 1fr); }
  .bento-5 .bento-feat,
  .bento-5 .bento-wide,
  .bento-5 .bento-card { grid-column: span 1; }
}
@media (max-width: 560px) {
  .bento-5 { grid-template-columns: 1fr; }
}

/* =============================================================
   Contact — Calendly card
   ============================================================= */
.calendly-card {
  margin-top: 28px;
  padding: 20px 22px;
  border-radius: var(--r-lg);
  border: 1px solid rgba(85,70,255,.22);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(85,70,255,.10), transparent 60%),
    var(--bone);
  box-shadow: 0 12px 32px -16px rgba(85,70,255,.22);
}
.calendly-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.calendly-icon {
  width: 38px; height: 38px;
  display: inline-grid; place-items: center;
  background: rgba(85,70,255,.10);
  color: var(--brand);
  border-radius: 12px;
  border: 1px solid rgba(85,70,255,.22);
  flex: 0 0 auto;
}
.calendly-card-head strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.06rem;
  letter-spacing: -.01em;
  color: var(--text);
}
.calendly-card-head small {
  display: block;
  color: var(--text-soft);
  font-size: .88rem;
  margin-top: 2px;
}
.calendly-btn {
  width: 100%;
  justify-content: center;
  padding: 13px 18px;
}
.calendly-or {
  margin: 12px 0 0;
  text-align: center;
  color: var(--text-muted);
  letter-spacing: .12em;
}

/* =============================================================
   Per-client logo scaling (custom-fit each brand to its card)
   ============================================================= */
/* The default hover scale lives at .logo-card:hover .logo-card-logo img.
   We layer the per-logo scale via a CSS variable so hover can multiply it. */
.logo-card-logo img { transform: scale(var(--logo-scale, 1)); }
.logo-card:hover .logo-card-logo img {
  transform: scale(calc(var(--logo-scale, 1) * 1.06));
}
/* Per-logo size tuning.
   Punti — uses DIRECT max-width / max-height instead of transform.
   This shrinks the IMG ELEMENT itself rather than scaling visually, so
   it can't be overridden by any other transform rule or cached value. */
.logo-card-puntapie .logo-card-logo img {
  width: auto !important;
  height: auto !important;
  max-width: 80% !important;
  max-height: 80% !important;
  margin: auto !important;        /* explicit centering in the grid cell */
  /* The PNG canvas (600×900) has the character drawn bottom-weighted, so a
     simple "center the IMG element" still leaves the sneaker grazing the
     bottom border.  Nudge the whole IMG up so the visible content reads as
     vertically centered. */
  transform: translateY(-10px) !important;
}
.logo-card-puntapie:hover .logo-card-logo img {
  transform: translateY(-10px) scale(1.05) !important;
}

/* RALM and Santa Cruz still use transform: scale() because their logos
   have internal SVG whitespace that direct sizing can't compensate for. */
.logo-card-ralm      .logo-card-logo img { transform: scale(1.04) !important; }
.logo-card-santacruz .logo-card-logo img { transform: scale(1.50) !important; }

.logo-card-ralm:hover      .logo-card-logo img { transform: scale(calc(1.04 * 1.06)) !important; }
.logo-card-santacruz:hover .logo-card-logo img { transform: scale(calc(1.50 * 1.06)) !important; }

/* Keep the old --logo-scale custom property defined so the legacy generic
   transform rule (`.logo-card-logo img { transform: scale(var(--logo-scale, 1)) }`)
   still falls back to a sane value for any logo that uses it. */
.logo-card-ralm      { --logo-scale: 1.04; }
.logo-card-santacruz { --logo-scale: 1.50; }
/* Lafuente keeps the default 1.0 (its rounded badge already fills the dark frame nicely). */

/* =============================================================
   Section head: when centered, every child block (title, lead) must
   auto-center within the container. text-align alone only centers
   the TEXT inside each block — it doesn't move the block itself, so
   any block with max-width was sticking to the left edge.
   ============================================================= */
.section-head-center {
  text-align: center;
  /* `.section-head` has max-width: 880px but no auto-centering. For the
     centered variant we also center the BOX itself within its container,
     so the badge and the title sit visually centered on the page — not just
     the inline text centered within a left-flush 880px box. */
  margin-inline: auto;
}
.section-head-center .section-num,
.section-head-center .section-title,
.section-head-center .section-lead {
  margin-inline: auto;
}
/* Allow the centered title to use its natural width rather than the
   22ch cap from `.section-title`, which can leave it visually anchored
   to one side once the box is centered. */
.section-head-center .section-title {
  max-width: none;
}

/* =============================================================
   Contact intro — center its head; rest of the column stays as is
   ============================================================= */
.contact-intro-center {
  /* Center the head (badge, title, lead, Calendly card) within the column.
     The .contact-info definition list keeps its own alignment below. */
  text-align: center;
}
.contact-intro-center .section-num,
.contact-intro-center .contact-title,
.contact-intro-center .section-lead {
  margin-inline: auto;
}
.contact-intro-center .calendly-card { text-align: left; } /* the card itself stays readable */
.contact-intro-center .contact-info  { text-align: left; }
