/* ============================================================
   NAD Software — Website UI kit styles
   Loads alongside ../../colors_and_type.css
   ============================================================ */

* { box-sizing: border-box; }
body {
  margin: 0;
  background: #fff;
  color: #000;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ===== layout ===== */
.container {
  max-width: 1728px;
  margin: 0 auto;
  padding: 0 64px;
}
@media (max-width: 1100px) { .container { padding: 0 32px; } }
@media (max-width: 700px)  { .container { padding: 0 20px; } }

/* ===== navbar ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 80px; }
.nav-logo img { height: 36px; width: auto; }
.nav-links { display: flex; gap: 26px; flex: 1; justify-content: center; }
.nav-link {
  font-size: 14.5px; font-weight: 500; color: #000;
  padding: 6px 0; position: relative; transition: opacity .2s;
}
.nav-link:hover { opacity: 0.6; }
.nav-link.active::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--nad-red); border-radius: 2px;
}
@media (max-width: 900px) { .nav-links { display: none; } }

/* ===== buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-body); font-size: 15px; font-weight: 500;
  border: 0; border-radius: 999px;
  padding: 14px 24px; line-height: 1; cursor: pointer;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background .2s;
  white-space: nowrap;
}
.btn svg { flex: none; }
.btn-primary { background: #000; color: #fff; box-shadow: 0 12px 26px -6px rgba(0,0,0,.30); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 32px -6px rgba(0,0,0,.40); }
.btn-secondary { background: #fff; color: #000; box-shadow: 0 12px 26px -8px rgba(0,0,0,.20); }
.btn-secondary:hover { background: var(--nad-cream); transform: translateY(-2px); }
.btn-tertiary {
  background: transparent; color: #000; padding: 12px 18px;
  border: 1px solid rgba(0,0,0,0.15); box-shadow: none;
}
.btn-tertiary:hover { background: #000; color: #fff; border-color: #000; }
.btn-lg { font-size: 17px; padding: 18px 30px; }

/* ===== headings ===== */
.eyebrow {
  font-family: var(--font-body); font-weight: 700; font-size: 14px;
  text-transform: uppercase; letter-spacing: 0.10em; color: #000;
}
.h-display {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(40px, 7.5vw, 96px);
  line-height: 0.98; letter-spacing: -0.04em;
  text-wrap: balance;
}
.h-section {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(32px, 4.5vw, 64px);
  line-height: 1.0; letter-spacing: -0.035em;
  text-wrap: balance;
}
.h-card {
  font-family: var(--font-display); font-weight: 400;
  font-size: 26px; line-height: 1.1; letter-spacing: -0.025em;
}

/* ===== sections ===== */
section { padding: 80px 0; }
@media (max-width: 700px) { section { padding: 48px 0; } }

/* ===== speech-bubble red card ===== */
.bubble {
  position: relative;
  background: var(--nad-red);
  border-radius: 30px;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.bubble--lg { border-radius: 60px; }
.bubble--notched {
  -webkit-mask: radial-gradient(circle 42px at calc(50% + 110px) 100%, transparent 40px, #000 41px);
  mask: radial-gradient(circle 42px at calc(50% + 110px) 100%, transparent 40px, #000 41px);
}
.bubble .halo, .bubble .halo2 {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 100%);
  pointer-events: none;
  z-index: 0;
}
.bubble .halo  { inset: -30% -30% auto auto; width: 110%; height: 110%; }
.bubble .halo2 { inset: auto auto -35% -35%; width: 65%; height: 65%; }
.bubble > * { position: relative; z-index: 1; }

/* ===== marquee strip ===== */
.marquee {
  background: #000; color: #fff; overflow: hidden;
  padding: 22px 0;
  border-top: 1px solid #111; border-bottom: 1px solid #111;
}
.marquee-track {
  display: flex; gap: 56px; white-space: nowrap;
  animation: marquee 38s linear infinite;
  font-family: var(--font-display); font-size: 28px; letter-spacing: -0.02em;
}
.marquee-item { display: inline-flex; align-items: center; gap: 24px; }
.marquee-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--nad-red); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===== reveal animation ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }

/* ===== chips ===== */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--nad-cream); color: #000;
  border-radius: 999px; padding: 8px 18px;
  font-size: 13px; font-weight: 500; line-height: 1;
}
.chip-dark { background: #000; color: #fff; }
.chip-outline { background: transparent; border: 1px solid rgba(0,0,0,0.15); }

/* ===== card ===== */
.card {
  background: #fff; border: 1px solid #ECECEC;
  border-radius: 24px; padding: 28px;
  box-shadow: 0 18px 40px -16px rgba(0,0,0,.12);
}
.card-cream { background: var(--nad-cream); border-color: transparent; }
.card-dark  { background: #0A0A0A; color: #fff; border-color: transparent; }

/* ===== forms ===== */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; }
.req { color: var(--nad-red); margin-left: 3px; }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 15px;
  padding: 14px 16px; border: 1px solid #D9D9D9; border-radius: 14px;
  background: #fff; color: #000; outline: none; width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: #000; box-shadow: 0 0 0 3px rgba(0,0,0,.08);
}
.field textarea { resize: vertical; min-height: 120px; }

/* ===== footer ===== */
.footer { background: #000; color: #fff; padding: 80px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; }
.footer h6 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: #8A8A8A; margin: 0 0 14px; font-weight: 600; }
.footer a { display: block; font-size: 14px; color: #fff; opacity: .85; line-height: 2; }
.footer a:hover { opacity: 1; color: var(--nad-red); }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid #1A1A1A;
  display: flex; justify-content: space-between; font-size: 12px; color: #777; flex-wrap: wrap; gap: 12px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }

/* ===== arrow circle (for tabs / nav) ===== */
.arrow-circle {
  width: 56px; height: 56px; border-radius: 50%;
  background: #fff; color: #000;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 20px rgba(0,0,0,0.18);
  transition: transform .25s var(--ease-out);
}
.arrow-circle:hover { transform: scale(1.06); }
.arrow-circle.dark { background: #000; color: #fff; }
.arrow-circle.red  { background: var(--nad-red); color: #fff; }

/* ===== global page wrapper for fade-in on route change ===== */
.page-wrap {
  animation: page-in 0.4s var(--ease-out);
}
@keyframes page-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

/* ============================================================
   Industries marquee — two rows of icon cards scrolling
   in opposite directions, with edge fade.
   ============================================================ */
.industries-marquee {
  position: relative;
  margin: 4px 0 8px;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.ind-track {
  display: flex;
  gap: 18px;
  width: max-content;
  padding: 8px 0;
  will-change: transform;
  animation: ind-scroll 48s linear infinite;
}
.ind-track--rtl { animation-direction: reverse; animation-duration: 56s; }
.industries-marquee:hover .ind-track { animation-play-state: paused; }

@keyframes ind-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.ind-card {
  flex: none;
  width: 160px;
  height: 160px;
  background: #fff;
  border: 1.5px solid rgba(236,20,29,0.55);
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 16px;
  transition: transform .25s var(--ease-out), border-color .25s, box-shadow .25s, background .25s;
}
.ind-card:hover {
  transform: translateY(-4px);
  border-color: var(--nad-red);
  background: #fff;
  box-shadow: 0 18px 36px -14px rgba(236,20,29,0.35);
}
.ind-icon {
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  color: var(--nad-red);
}
.ind-card:hover .ind-icon { animation: ind-icon-pop .55s var(--ease-out); }
@keyframes ind-icon-pop {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.18) rotate(-4deg); }
  100% { transform: scale(1); }
}
.ind-label {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--nad-red);
  text-align: center;
  line-height: 1.2;
}

/* ============================================================
   What We Do — capability pills slide-in from left, stagger 45ms
   ============================================================ */
.cap-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cap-pill {
  display: inline-flex; align-items: center;
  font-family: var(--font-body);
  font-size: 14.5px; font-weight: 500;
  line-height: 1;
  padding: 12px 20px;
  border-radius: 999px;
  background: #000; color: #fff;
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity .55s var(--ease-out), transform .55s var(--ease-out), background .2s;
  cursor: default;
}
.cap-cloud.in .cap-pill {
  opacity: 1;
  transform: translateX(0);
}
.cap-pill:hover {
  background: var(--nad-red);
}

/* ============================================================
   Exit-intent CTA — animated red + black banner
   ============================================================ */
.exit-cta {
  position: relative;
  background: #000;
  color: #fff;
  border-radius: 60px;
  overflow: hidden;
  isolation: isolate;
  padding: 80px 64px;
  min-height: 380px;
}
@media (max-width: 900px) { .exit-cta { padding: 56px 28px; border-radius: 36px; } }

/* large pulsing red blob top-right */
.exit-blob {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.exit-blob--red {
  width: 540px; height: 540px;
  right: -120px; top: -180px;
  background: radial-gradient(circle, var(--nad-red) 0%, rgba(236,20,29,0.45) 35%, transparent 65%);
  filter: blur(8px);
  animation: exit-blob-pulse 7s var(--ease-in-out) infinite;
}
@keyframes exit-blob-pulse {
  0%, 100% { transform: scale(1) translate(0,0); opacity: .9; }
  50%      { transform: scale(1.12) translate(-10px, 20px); opacity: 1; }
}
/* concentric ring bottom-left */
.exit-blob--ring {
  width: 420px; height: 420px;
  left: -120px; bottom: -180px;
  border-radius: 50%;
  border: 1.5px solid rgba(236,20,29,0.35);
  box-shadow:
    inset 0 0 0 40px rgba(236,20,29,0),
    0 0 0 40px rgba(236,20,29,0.18),
    0 0 0 100px rgba(236,20,29,0.10);
  animation: exit-ring-spin 28s linear infinite;
}
@keyframes exit-ring-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
/* faint dot grid */
.exit-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  z-index: 0;
  opacity: 0.5;
}

/* floating decorative icons */
.exit-float {
  position: absolute;
  width: 56px; height: 56px;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1;
  animation: exit-float-y 6s var(--ease-in-out) infinite;
}
.exit-float--1 { top: 8%;  left: 38%; animation-delay: 0s;   color: var(--nad-red); border-color: rgba(236,20,29,0.45); background: rgba(236,20,29,0.10); }
.exit-float--2 { top: 22%; right: 18%; animation-delay: -1.5s; }
.exit-float--3 { bottom: 16%; left: 48%; animation-delay: -3s; color: var(--nad-red); border-color: rgba(236,20,29,0.45); background: rgba(236,20,29,0.10); }
.exit-float--4 { bottom: 22%; right: 8%; animation-delay: -4.5s; }
@keyframes exit-float-y {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50%      { transform: translateY(-14px) rotate(3deg); }
}

.exit-inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: center;
}
@media (max-width: 900px) { .exit-inner { grid-template-columns: 1fr; } }

.exit-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  font-weight: 600; font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 26px;
}
.exit-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--nad-red);
  box-shadow: 0 0 0 0 rgba(236,20,29,0.65);
  animation: exit-pulse 1.8s var(--ease-out) infinite;
}
@keyframes exit-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(236,20,29,0.65); }
  70%  { box-shadow: 0 0 0 12px rgba(236,20,29,0); }
  100% { box-shadow: 0 0 0 0 rgba(236,20,29,0); }
}
.exit-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 5.4vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: #fff;
  margin: 0 0 22px;
  text-wrap: balance;
}
.exit-title-red {
  display: inline-block;
  background: linear-gradient(180deg, var(--nad-red), var(--nad-red-dark));
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
.exit-sub {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255,255,255,0.82);
  max-width: 600px;
  margin: 0 0 28px;
}

/* Animated disc on the right */
.exit-right { display: flex; justify-content: center; align-items: center; }
.exit-disc {
  position: relative;
  width: 320px; height: 320px;
  display: flex; align-items: center; justify-content: center;
}
.exit-disc-inner {
  position: relative;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: var(--nad-red);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow:
    0 30px 80px -10px rgba(236,20,29,0.55),
    inset 0 -20px 60px rgba(0,0,0,0.18);
  animation: exit-disc-rock 5s var(--ease-in-out) infinite;
}
.exit-disc-inner svg { transition: transform .4s var(--ease-out); }
.exit-disc:hover .exit-disc-inner svg { transform: translate(4px,-4px) scale(1.1); }
@keyframes exit-disc-rock {
  0%, 100% { transform: rotate(-3deg); }
  50%      { transform: rotate(3deg); }
}
.exit-disc-ring {
  position: absolute;
  width: 280px; height: 280px;
  border-radius: 50%;
  border: 1.5px dashed rgba(255,255,255,0.28);
  animation: exit-ring-spin 22s linear infinite;
}
/* tiny orbiting dots */
.exit-orbit {
  position: absolute; left: 50%; top: 50%;
  width: 12px; height: 12px; border-radius: 50%;
  background: #fff;
  margin-left: -6px; margin-top: -6px;
  transform-origin: center;
  animation: exit-orbit 8s linear infinite;
}
.exit-orbit--1 { animation-duration: 9s;  }
.exit-orbit--2 { background: var(--nad-red); animation-duration: 13s; animation-delay: -3s; }
.exit-orbit--3 { width: 8px; height: 8px; margin-left: -4px; margin-top: -4px; animation-duration: 16s; animation-delay: -7s; }
@keyframes exit-orbit {
  from { transform: rotate(0)   translateX(150px) rotate(0); }
  to   { transform: rotate(360deg) translateX(150px) rotate(-360deg); }
}
@media (max-width: 900px) { .exit-disc, .exit-disc-inner, .exit-disc-ring { transform: scale(0.8); } .exit-orbit { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .ind-track, .exit-blob--red, .exit-blob--ring, .exit-grid, .exit-float,
  .exit-disc-inner, .exit-disc-ring, .exit-orbit, .exit-dot { animation: none !important; }
  .cap-pill { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   MOBILE & TABLET RESPONSIVE OVERRIDES
   These run last so they win against earlier rules without
   needing !important inflation elsewhere.
   ============================================================ */

/* ===== Hamburger button (hidden on desktop) ===== */
.nav-burger {
  display: none;
  position: relative;
  width: 44px; height: 44px;
  background: transparent; border: 0; padding: 0;
  cursor: pointer; z-index: 60;
}
.nav-burger span {
  display: block;
  position: absolute; left: 10px;
  width: 24px; height: 2px;
  background: #000; border-radius: 2px;
  transition: transform .3s var(--ease-out), opacity .2s, top .3s var(--ease-out);
}
.nav-burger span:nth-child(1) { top: 15px; }
.nav-burger span:nth-child(2) { top: 21px; }
.nav-burger span:nth-child(3) { top: 27px; }
.nav-burger.open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ===== Mobile sheet menu ===== */
.nav-sheet {
  position: fixed;
  inset: 80px 0 0 0;
  background: #fff;
  z-index: 49;
  padding: 24px 24px 32px;
  display: flex; flex-direction: column; gap: 18px;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s var(--ease-out), transform .3s var(--ease-out);
  overflow-y: auto;
}
.nav-sheet--open { opacity: 1; transform: none; pointer-events: auto; }
.nav-sheet-links { display: flex; flex-direction: column; gap: 4px; }
.nav-sheet-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 4px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-size: 22px; font-weight: 500; color: #000;
  font-family: var(--font-display); letter-spacing: -0.02em;
  opacity: 0; transform: translateX(-12px);
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out);
}
.nav-sheet--open .nav-sheet-link { opacity: 1; transform: none; }
.nav-sheet-link.active { color: var(--nad-red); }
.nav-sheet-link svg { color: rgba(0,0,0,0.4); }
.nav-sheet-cta { display: flex; flex-direction: column; gap: 14px; margin-top: 20px; }
.nav-sheet-cta .btn { justify-content: center; width: 100%; }
.nav-sheet-contact {
  display: flex; flex-direction: column; gap: 6px;
  font-size: 13px; color: #5C5C5C; margin-top: 6px;
}

/* Default nav-cta visible; will be hidden on mobile */
.nav-cta-wrap { display: inline-flex; }

@media (max-width: 900px) {
  .nav-burger { display: block; }
  .nav-cta-wrap { display: none; }
  .nav-inner { justify-content: space-between; gap: 12px; }
  .nav-logo img { height: 30px; }
}

/* ============================================================
   Generic layout / grid breakdowns
   ============================================================ */

@media (max-width: 900px) {
  /* Container */
  .container { padding: 0 20px; }
  section { padding: 56px 0; }
  /* Most multi-column grids collapse to one — inline styles use grid-template-columns */
  main [style*="grid-template-columns: repeat(4"],
  main [style*="grid-template-columns: repeat(3"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  /* Common 2-up layouts (hero left/right etc.) collapse to one column */
  main [style*="grid-template-columns: 1.15fr"],
  main [style*="grid-template-columns: 1.1fr"],
  main [style*="grid-template-columns: 1.3fr"],
  main [style*="grid-template-columns: 1.4fr"],
  main [style*="grid-template-columns: 1fr 1.4fr"],
  main [style*="grid-template-columns: 1fr 1.1fr"] {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  /* Service detail "other services" row */
  main [style*="grid-template-columns: repeat(5"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  /* HowWeWork stage rows with fixed 120px number column */
  main [style*="grid-template-columns: 120px 64px 1fr auto"] {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  /* Buttons inside hero — smaller */
  .h-display { font-size: clamp(36px, 9vw, 56px) !important; }
  .h-section { font-size: clamp(28px, 7vw, 44px) !important; }
  .h-card    { font-size: 20px !important; }
  .btn-lg { font-size: 15px; padding: 14px 22px; }
  /* Card padding shrink */
  .card { padding: 22px; border-radius: 20px; }
  /* Bubble cards — much smaller padding + radius */
  .bubble { padding: 32px 22px !important; border-radius: 24px !important; min-height: 0 !important; }
  .bubble--lg { border-radius: 28px !important; padding: 40px 22px !important; }
  /* Section heading flex rows that put title + CTA inline */
  section .container > div[style*="justifyContent: \"space-between\""],
  section .container > div[style*="justify-content: space-between"],
  section .container > div[style*="space-between"] {
    flex-direction: column !important; align-items: flex-start !important;
  }
  /* Make sure all primary buttons stretch nicely */
  .btn { white-space: normal; text-align: left; }
}

@media (max-width: 640px) {
  /* Two-up grids → 1 column */
  main [style*="grid-template-columns: repeat(2"],
  main [style*="grid-template-columns: repeat(3"],
  main [style*="grid-template-columns: repeat(4"],
  main [style*="grid-template-columns: repeat(5"] {
    grid-template-columns: 1fr !important;
  }
  .container { padding: 0 16px; }
  section { padding: 44px 0; }
  .h-display { font-size: clamp(34px, 10vw, 48px) !important; line-height: 1.04 !important; }
  .h-section { font-size: clamp(26px, 8vw, 36px) !important; }
  /* Stack button groups */
  .btn { width: auto; }
  /* Process step number is huge — shrink */
  main [class="card"] > div[style*="font-size: 64"],
  main [class="card"] > div[style*="fontSize: 64"] { font-size: 40px !important; }
}

/* ============================================================
   Section-specific tweaks
   ============================================================ */

/* Hero buttons stack on small screens */
@media (max-width: 640px) {
  .bubble .btn { width: 100%; justify-content: center; text-align: center; }
}

/* Industries marquee — smaller cards */
@media (max-width: 700px) {
  .ind-card { width: 130px; height: 130px; gap: 10px; padding: 12px; }
  .ind-icon { width: 48px; height: 48px; }
  .ind-icon svg { width: 28px; height: 28px; }
  .ind-label { font-size: 13px; }
  .ind-track { gap: 12px; }
}

/* Marquee strip — smaller text */
@media (max-width: 700px) {
  .marquee-track { font-size: 20px; gap: 36px; }
  .marquee-item { gap: 16px; }
  .marquee { padding: 16px 0; }
}

/* Capabilities cloud pills */
@media (max-width: 900px) {
  .cap-pill { font-size: 13px; padding: 10px 16px; }
}

/* Exit CTA — re-layout on mobile */
@media (max-width: 900px) {
  .exit-cta { padding: 48px 24px; border-radius: 32px; min-height: 0; }
  .exit-inner { gap: 28px; }
  .exit-blob--red { width: 360px; height: 360px; right: -120px; top: -120px; }
  .exit-blob--ring { width: 260px; height: 260px; left: -100px; bottom: -120px; }
  .exit-float { width: 44px; height: 44px; }
  .exit-float--1 { left: 8%; top: 4%; }
  .exit-float--2 { right: 8%; top: 14%; }
  .exit-float--3 { left: 12%; bottom: 32%; }
  .exit-float--4 { right: 12%; bottom: 12%; }
  .exit-disc { width: 240px; height: 240px; transform: none; margin: 0 auto; }
  .exit-disc-inner { width: 170px; height: 170px; }
  .exit-disc-inner svg { width: 42px; height: 42px; }
  .exit-disc-ring { width: 210px; height: 210px; }
  .exit-orbit { display: none; }
  .exit-title { font-size: clamp(34px, 10vw, 52px) !important; }
  .exit-sub { font-size: 15px; }
}

/* Mid-page CTA / banner buttons — full width on small */
@media (max-width: 640px) {
  section .bubble--lg .btn,
  section .bubble .btn,
  .exit-cta .btn { width: 100%; justify-content: center; text-align: center; }
  .exit-cta div[style*="display: \"flex\", flexWrap"] { flex-direction: column !important; align-items: stretch !important; }
}

/* Footer grid — single column on small */
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { font-size: 11px; }
  .footer { padding: 56px 0 28px; }
}

/* Service detail hero icon row */
@media (max-width: 900px) {
  .arrow-circle { width: 40px !important; height: 40px !important; }
}

/* Contact form — single column */
@media (max-width: 700px) {
  main form[style*="grid-template-columns: \"1fr 1fr\""],
  main form[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

/* Hide horizontal overflow side-effects */
html, body { overflow-x: hidden; }

/* Touch targets minimum 44px high (WCAG) */
@media (max-width: 900px) {
  a, button, .btn { min-height: 44px; }
}
