@charset "UTF-8";
/* ==========================================================================
   BRIDGESOFT — base.css
   Foundation layer: reset, design tokens, base elements, layout primitives,
   shared components, a11y utilities, motion.

   OWNERSHIP: design-system agent. Section-specific styles (.hero, .svc-card,
   .ind-card, .proc-step, .faq, etc.) belong in assets/css/styles.css and must
   NOT appear here.

   LOAD ORDER: base.css  ->  styles.css
   ========================================================================== */


/* ==========================================================================
   1. RESET
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 90px; /* sticky header clearance for #anchor jumps */
  -webkit-tap-highlight-color: rgba(53, 199, 244, .18);
}

/* Smooth scroll is opt-in only for users who have not asked for less motion. */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  min-height: 100%;
  min-height: 100dvh;
  line-height: 1.7;
  overflow-x: hidden;
}

img,
svg,
video,
canvas,
picture,
iframe {
  display: block;
  max-width: 100%;
}

img,
video {
  height: auto;
}

svg {
  fill: none;
}

button,
input,
textarea,
select,
optgroup {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
  background: none;
  border: none;
}

button,
[type="button"],
[type="submit"],
[type="reset"] {
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

textarea {
  resize: vertical;
}

ul,
ol {
  list-style: none;
}

/* Nav lists never carry markers even if a UA stylesheet reasserts them. */
nav ul,
nav ol,
[role="list"] {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

hr {
  border: 0;
  border-top: 1px solid var(--border-soft);
}

[hidden] {
  display: none !important;
}


/* ==========================================================================
   2. DESIGN TOKENS  (BRIEF section 3 — verbatim, do not edit)
   ========================================================================== */

:root{
  /* ground */
  --bg:            #060A13;
  --bg-2:          #0A1120;
  --surface:       #0E1729;
  --surface-2:     #142138;
  --surface-3:     #1A2A45;
  --border:        #1E2E4A;
  --border-soft:   #172440;
  /* form control boundary: needs >=3:1 vs --bg for WCAG 1.4.11 */
  --border-field:  #4B6A9B;

  /* accent */
  --accent:        #35C7F4;
  --accent-strong: #0EA5D9;
  --accent-deep:   #0B5E8A;
  --accent-ink:    #05202C;
  --accent-glow:   rgba(53,199,244,.35);
  --grad-accent:   linear-gradient(160deg, #35C7F4 32%, #1E7FC0 100%);
  --grad-edge:     linear-gradient(90deg, transparent, #35C7F4, transparent);

  /* type */
  --text:          #EEF5FF;
  --text-2:        #B7C8DE;
  --text-muted:    #8095B0;
  --text-faint:    #7A8DA8;

  /* system */
  --ok:            #34D399;
  --warn:          #FBBF24;

  /* metrics */
  --container:     1200px;
  --gutter:        clamp(20px, 5vw, 48px);
  --section-y:     clamp(72px, 9vw, 132px);
  --radius:        14px;
  --radius-lg:     22px;
  --radius-pill:   999px;
  --ring:          0 0 0 3px rgba(53,199,244,.45);
  --shadow-card:   0 18px 40px -24px rgba(0,0,0,.9);
  --shadow-lift:   0 28px 60px -28px rgba(53,199,244,.4);
  --ease:          cubic-bezier(.22,.68,.32,1);
}


/* ==========================================================================
   3. BASE ELEMENTS
   ========================================================================== */

html {
  background-color: var(--bg);
  color-scheme: dark;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: clamp(.98rem, 1.05vw, 1.06rem);
  font-weight: 400;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  position: relative;
  isolation: isolate;
}

/* Ambient cyan glow bleeding down from the top of the page. Purely
   decorative: sits behind everything and never intercepts pointer events. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(900px 500px at 50% -8%, rgba(53,199,244,.10), transparent 60%);
}

/* Every structural landmark stacks above the ambient glow. */
.site-header,
.site-main,
.site-footer,
main,
header,
footer {
  position: relative;
  z-index: 1;
}

::selection {
  background: var(--accent);
  color: var(--accent-ink);
  text-shadow: none;
}

::-moz-selection {
  background: var(--accent);
  color: var(--accent-ink);
  text-shadow: none;
}


/* ==========================================================================
   4. TYPOGRAPHY — fluid scale (BRIEF section 3)
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-weight: 600;
  color: var(--text);
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: -.03em;
  font-weight: 700;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -.02em;
  font-weight: 700;
}

h3 {
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  line-height: 1.25;
  letter-spacing: -.01em;
  font-weight: 600;
}

h4 {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  line-height: 1.32;
  letter-spacing: -.005em;
  font-weight: 600;
}

h5 {
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 600;
}

h6 {
  font-size: .92rem;
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: .02em;
}

p {
  font-size: clamp(.98rem, 1.05vw, 1.06rem);
  line-height: 1.7;
  color: var(--text-2);
  text-wrap: pretty;
}

strong, b {
  font-weight: 600;
  color: var(--text);
}

small {
  font-size: .82rem;
  line-height: 1.55;
}

code, kbd, pre, samp {
  font-family: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
  font-size: .92em;
}

address {
  font-style: normal;
}

abbr[title] {
  text-decoration: underline dotted;
  cursor: help;
}


/* ==========================================================================
   5. LAYOUT PRIMITIVES
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--wide {
  max-width: 1440px;
}

.container--narrow {
  max-width: 880px;
}

.section {
  position: relative;
  z-index: 1;
  padding-block: var(--section-y);
}

.section--alt {
  background: var(--bg-2);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.section--tight {
  padding-block: clamp(48px, 6vw, 84px);
}

/* --- section heads ------------------------------------------------------ */

.section__head {
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: clamp(40px, 5vw, 64px);
  text-align: center;
}

.section__head--left {
  margin-inline: 0;
  text-align: left;
}

.section__title {
  margin-top: 14px;
}

.section__lead {
  color: var(--text-2);
  max-width: 62ch;
  margin-top: 18px;
}

.section__head .section__lead {
  margin-inline: auto;
}

.section__head--left .section__lead {
  margin-inline: 0;
}

/* --- grids -------------------------------------------------------------- */

.grid {
  display: grid;
  gap: clamp(16px, 2vw, 26px);
  grid-template-columns: 1fr;
}

/* 2-col: 1 -> 2 @768 */
.grid--2 { grid-template-columns: 1fr; }

/* 3-col (industries, development): 1 -> 2 @560 -> 3 @1024 */
.grid--3 { grid-template-columns: 1fr; }

/* 4-col (services): 1 -> 2 @560 -> 3 @1024 -> 4 @1280 */
.grid--4 { grid-template-columns: 1fr; }

/* Fluid variant for loose card sets where an exact count is not required. */
.grid--auto {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

@media (min-width: 560px) {
  .grid--3,
  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .grid--3,
  .grid--4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}


/* ==========================================================================
   6. EYEBROW
   ========================================================================== */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 2px;
  flex: 0 0 24px;
  border-radius: 2px;
  background: var(--accent);
}

.eyebrow--center {
  display: flex;
  justify-content: center;
  text-align: center;
}


/* ==========================================================================
   7. BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: .95rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .01em;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: all .25s var(--ease);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke: currentColor;
}

/* Primary — DARK INK ON CYAN. Never white text on the accent. */
.btn--primary {
  background: var(--grad-accent);
  color: var(--accent-ink);
  border-color: transparent;
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}

.btn--primary:active {
  transform: translateY(0);
}

/* Ghost — quiet secondary action. */
.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(53, 199, 244, .06);
}

/* Modifiers */
.btn--sm {
  min-height: 40px;
  padding: 0 18px;
  font-size: .9rem;
}

.btn--lg {
  min-height: 56px;
  padding: 0 32px;
  font-size: 1rem;
}

.btn--block {
  width: 100%;
}

.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: .5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}


/* ==========================================================================
   8. CARD
   ========================================================================== */

.card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(22px, 2.4vw, 30px);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform .3s var(--ease),
              border-color .3s var(--ease),
              box-shadow .3s var(--ease);
}

/* Top hairline that ignites on hover. */
.card::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 1px;
  background: var(--grad-edge);
  opacity: 0;
  transition: opacity .3s var(--ease);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(53, 199, 244, .55);
  box-shadow: var(--shadow-card);
}

.card:hover::before,
.card:focus-within::before {
  opacity: 1;
}

.card:focus-within {
  border-color: rgba(53, 199, 244, .55);
}

.card__title {
  margin-top: 18px;
}

.card__text {
  margin-top: 10px;
  color: var(--text-2);
}


/* ==========================================================================
   9. ICON TILE
   ========================================================================== */

.icon-tile {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 14px;
  background: rgba(53, 199, 244, .10);
  border: 1px solid rgba(53, 199, 244, .26);
  color: var(--accent);
  transition: background .3s var(--ease), border-color .3s var(--ease);
}

.icon-tile svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
}

.card:hover .icon-tile,
.card:focus-within .icon-tile {
  background: rgba(53, 199, 244, .18);
}


/* ==========================================================================
   10. TAG
   ========================================================================== */

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .02);
  color: var(--text-muted);
  font-size: .74rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .02em;
  white-space: nowrap;
}

.tag--accent {
  color: var(--accent);
  border-color: rgba(53, 199, 244, .34);
  background: rgba(53, 199, 244, .07);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}


/* ==========================================================================
   11. LINK-MORE
   ========================================================================== */

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;      /* pins to the bottom of a flex card */
  padding-top: 20px;
  align-self: flex-start;
  color: var(--accent);
  font-size: .92rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
}

.link-more span,
.link-more__arrow {
  display: inline-block;
  transition: transform .25s var(--ease);
}

.link-more:hover span,
.link-more:hover .link-more__arrow,
.link-more:focus-visible span,
.link-more:focus-visible .link-more__arrow {
  transform: translateX(4px);
}

.link-more svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}


/* ==========================================================================
   12. ACCESSIBILITY UTILITIES
   ========================================================================== */

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 999;
  padding: 12px 20px;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--accent-ink);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: .92rem;
  font-weight: 600;
  text-decoration: none;
  transition: top .2s var(--ease);
}

.skip-link:focus,
.skip-link:focus-visible {
  top: 12px;
}

/* Global focus ring. outline is removed only because --ring replaces it. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: inherit;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
input:focus:not(:focus-visible),
textarea:focus:not(:focus-visible),
select:focus:not(:focus-visible),
summary:focus:not(:focus-visible),
[tabindex]:focus:not(:focus-visible) {
  box-shadow: none;
}

:focus:not(:focus-visible) {
  box-shadow: none;
}

/* Fallback for engines without :focus-visible — keep a visible indicator. */
@supports not selector(:focus-visible) {
  a:focus,
  button:focus,
  input:focus,
  textarea:focus,
  select:focus,
  summary:focus,
  [tabindex]:focus {
    outline: none;
    box-shadow: var(--ring);
    border-radius: inherit;
  }
}

.no-scroll {
  overflow: hidden;
}


/* ==========================================================================
   13. MOTION — scroll reveal
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}


/* ==========================================================================
   14. MARQUEE
   ========================================================================== */

.marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
  width: max-content;
  animation: marquee-scroll 42s linear infinite;
}

/* Second half of the track is the duplicate; -50% loops seamlessly. */
@keyframes marquee-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track {
  animation-play-state: paused;
}

.marquee--reverse .marquee__track {
  animation-direction: reverse;
}

.marquee--slow .marquee__track {
  animation-duration: 64s;
}

.marquee__item {
  flex: 0 0 auto;
}


/* ==========================================================================
   15. REDUCED MOTION — BRIEF section 7 / 9
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }

  html {
    scroll-behavior: auto;
  }

  /* Reveal elements start — and stay — visible. */
  .reveal,
  .reveal.is-visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .marquee__track {
    animation-play-state: paused !important;
    transform: none !important;
  }

  .btn--primary:hover,
  .card:hover {
    transform: none !important;
  }
}
