/* ============================================================
   EdgeMatters — React app · Black & Blue · Apple-style motion
   ============================================================ */

:root {
  --bg: #000005;
  --bg-1: #04050d;
  --bg-2: #080b18;
  --panel: rgba(12, 16, 34, 0.6);
  --panel-solid: #0a0d1e;
  --line: rgba(255, 255, 255, 0.08);
  --line-hi: rgba(255, 255, 255, 0.16);

  --ink: #f3f6ff;
  --ink-2: #aab2da;
  --ink-3: #6f78a6;
  --ink-4: #474e76;

  --blue: #2f6bff;
  --blue-hi: #5e8bff;
  --blue-deep: #0b1b52;
  --cyan: #36d6ff;
  --glow: 0 0 50px rgba(47, 107, 255, 0.45);
  --glow-cyan: 0 0 34px rgba(54, 214, 255, 0.35);

  --grad: linear-gradient(120deg, #2f6bff 0%, #36d6ff 100%);
  --grad-deep: linear-gradient(130deg, #0b1b52 0%, #2f6bff 100%);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
          "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  letter-spacing: -0.011em;
}
a { color: inherit; text-decoration: none; }
::selection { background: rgba(47, 107, 255, 0.4); color: #fff; }
img { max-width: 100%; display: block; }

#root { position: relative; z-index: 2; }

/* ambient field, fixed behind everything */
.ambient {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(900px 620px at 80% -8%, rgba(47, 107, 255, 0.22), transparent 60%),
    radial-gradient(680px 520px at 8% 8%, rgba(54, 214, 255, 0.10), transparent 58%),
    radial-gradient(1100px 900px at 50% 118%, rgba(47, 107, 255, 0.16), transparent 62%);
}
.grain { position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.5; }

/* ============================================================
   Type scale
   ============================================================ */
.eyebrow {
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--cyan); display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--cyan); box-shadow: var(--glow-cyan); }
.eyebrow.center { justify-content: center; }

h1, h2, h3 { font-weight: 600; line-height: 1.04; letter-spacing: -0.03em; }
.display {
  font-size: clamp(48px, 9vw, 128px);
  font-weight: 600; line-height: 0.95; letter-spacing: -0.04em;
}
.h-xl { font-size: clamp(38px, 6vw, 86px); font-weight: 600; line-height: 1.0; letter-spacing: -0.035em; }
.h-lg { font-size: clamp(30px, 4.4vw, 58px); }
.lead { font-size: clamp(18px, 2vw, 23px); color: var(--ink-2); line-height: 1.5; font-weight: 400; }
.muted { color: var(--ink-2); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.wrap-wide { max-width: 1380px; margin: 0 auto; padding: 0 28px; }
.section { padding: clamp(90px, 14vh, 170px) 0; position: relative; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font); font-weight: 600; font-size: 16px;
  color: #fff; padding: 14px 26px; border: none; border-radius: 100px; white-space: nowrap;
  background: var(--blue); cursor: pointer; position: relative; overflow: hidden;
  box-shadow: var(--glow);
  transition: transform 0.22s var(--ease), box-shadow 0.3s, background 0.3s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 0 64px rgba(47,107,255,0.6); background: var(--blue-hi); }
.btn:active { transform: scale(0.97); }
.btn .arr { transition: transform 0.25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-ghost { background: transparent; box-shadow: none; border: 1px solid var(--line-hi); }
.btn-ghost:hover { background: rgba(255,255,255,0.06); box-shadow: none; }
.btn-sm { padding: 10px 18px; font-size: 14.5px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 7px; color: var(--cyan); font-weight: 600; font-size: 16px;
}
.link-arrow .arr { transition: transform 0.25s var(--ease); }
.link-arrow:hover .arr { transform: translateX(5px); }

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 30px; transition: padding .4s var(--ease), background .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  padding: 11px 30px; background: rgba(0,0,5,0.6);
  backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 11px; font-weight: 600; font-size: 19px; letter-spacing: -0.02em; }
.brand .mark { width: 28px; height: 28px; display: grid; place-items: center; }
.brand b { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.logo-img { height: 34px; width: auto; filter: brightness(0) invert(1); display: block; }
.logo-img--footer { height: 28px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > a {
  font-size: 15px; font-weight: 500; color: var(--ink-2); padding: 8px 15px; border-radius: 100px;
  transition: color .2s, background .2s; position: relative;
}
.nav-links > a:hover { color: var(--ink); }
.nav-links > a.active { color: var(--ink); }
.nav-links > a.active::after {
  content: ""; position: absolute; left: 50%; bottom: 1px; width: 5px; height: 5px; margin-left: -2.5px;
  border-radius: 50%; background: var(--cyan); box-shadow: var(--glow-cyan);
}

/* mega-menu nav item */
.nav-item { position: relative; display: flex; align-items: center; }
.nav-trigger {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 15px; font-weight: 500; color: var(--ink-2); padding: 8px 15px; border-radius: 100px;
  transition: color .2s, background .2s; position: relative; cursor: pointer;
}
.nav-trigger:hover, .nav-item:hover .nav-trigger, .nav-trigger.active { color: var(--ink); }
.nav-trigger .caret { transition: transform .25s var(--ease); opacity: .7; }
.nav-item:hover .nav-trigger .caret { transform: rotate(180deg); }
.nav-trigger.active::after {
  content: ""; position: absolute; left: 50%; bottom: 1px; width: 5px; height: 5px; margin-left: -2.5px;
  border-radius: 50%; background: var(--cyan); box-shadow: var(--glow-cyan);
}
.nav-mega {
  position: absolute; top: 100%; left: 50%;
  width: clamp(440px, 33vw, 560px);
  padding: 18px; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 14px;
  background: rgba(8,11,24,0.88); border: 1px solid var(--line-hi); border-radius: 20px;
  backdrop-filter: blur(24px) saturate(1.4); -webkit-backdrop-filter: blur(24px) saturate(1.4);
  box-shadow: 0 24px 60px rgba(0,0,0,0.55);
  opacity: 0; pointer-events: none; transform: translate(-50%, 12px); transform-origin: top center;
  transition: opacity .24s var(--ease), transform .24s var(--ease);
}
.nav-item:hover .nav-mega, .nav-item:focus-within .nav-mega {
  opacity: 1; pointer-events: auto; transform: translate(-50%, 8px);
}
.nav-mega::before { content: ""; position: absolute; bottom: 100%; left: 0; right: 0; height: 14px; }
.mega-col { display: flex; flex-direction: column; gap: 4px; }
.mega-feature-col { border-left: 1px solid var(--line); padding-left: 14px; }
.mega-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-4); padding: 4px 12px 8px;
}
.mega-link {
  display: flex; flex-direction: column; gap: 3px; padding: 9px 12px; border-radius: 12px;
  transition: background .2s;
}
.mega-link:hover { background: rgba(47,107,255,0.1); }
.mega-link .ml-t { font-size: 15.5px; font-weight: 600; color: var(--ink); }
.mega-link .ml-d { font-size: 12.5px; color: var(--ink-3); }
.mega-link.active .ml-t { color: var(--cyan); }
.mega-feature {
  display: flex; flex-direction: column; gap: 5px; padding: 16px 16px 17px; border-radius: 14px; height: calc(100% - 30px);
  justify-content: flex-end;
  background:
    radial-gradient(150px 90px at 80% 0%, rgba(47,107,255,0.3), transparent 65%),
    linear-gradient(160deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line-hi); transition: border-color .25s, transform .25s var(--ease);
}
.mega-feature:hover { border-color: rgba(54,214,255,0.4); transform: translateY(-2px); }
.mega-feature .mf-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); }
.mega-feature .mf-title { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); line-height: 1.1; }
.mega-feature .mf-go { display: inline-flex; align-items: center; gap: 7px; margin-top: 6px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.mega-feature .mf-go .arr { transition: transform .25s var(--ease); }
.mega-feature:hover .mf-go .arr { transform: translateX(4px); }
.nav-right { display: flex; align-items: center; gap: 14px; }
.menu-btn { display: none; background: none; border: 1px solid var(--line-hi); border-radius: 10px; width: 42px; height: 38px; cursor: pointer; color: var(--ink); }
.menu-btn svg { width: 20px; height: 20px; }

/* mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 99; background: rgba(0,0,5,0.92);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 40px;
  opacity: 0; pointer-events: none; transition: opacity .35s var(--ease);
}
.drawer.open { opacity: 1; pointer-events: auto; }
.drawer a { font-size: 34px; font-weight: 600; letter-spacing: -0.03em; color: var(--ink-2); padding: 12px 0; }
.drawer a.active { color: var(--ink); }
.drawer-group { display: flex; flex-direction: column; }
.drawer-grp-label {
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-4); padding: 16px 0 4px;
}
.drawer-sub { font-size: 26px !important; padding: 9px 0 !important; padding-left: 16px !important; }
.drawer-sub.active { color: var(--ink) !important; }

/* ============================================================
   Page shell + hero
   ============================================================ */
.page { min-height: 100vh; }
.page-pad { padding-top: 120px; }

.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden;
}
.hero-canvas { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; }
.hero-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 240px; z-index: 1; pointer-events: none;
  background: linear-gradient(transparent, var(--bg)); }
.hero-inner { position: relative; z-index: 2; width: 100%; }
.hero .lead { max-width: 54ch; margin-top: 26px; }
.hero-cta { display: flex; gap: 14px; margin-top: 38px; flex-wrap: wrap; }

.scroll-cue {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  color: var(--ink-3); font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase;
}
.scroll-cue .mouse { width: 23px; height: 36px; border: 1.5px solid var(--ink-4); border-radius: 13px; position: relative; }
.scroll-cue .mouse::before { content:""; position:absolute; top:7px; left:50%; width:3px; height:6px; margin-left:-1.5px; background: var(--cyan); border-radius:2px; animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0%{opacity:0;transform:translateY(0)} 30%{opacity:1} 70%{opacity:1} 100%{opacity:0;transform:translateY(11px)} }

/* gradient text */
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ============================================================
   Section heading block
   ============================================================ */
.shead { max-width: 760px; margin-bottom: 64px; }
.shead h2 { margin: 18px 0 20px; }
.shead p { color: var(--ink-2); font-size: 19px; line-height: 1.55; }

/* ============================================================
   Service rows (Apple-like alternating)
   ============================================================ */
.svc-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  padding: clamp(60px,9vh,120px) 0; border-top: 1px solid var(--line);
}
.svc-row:first-child { border-top: none; }
.svc-row.flip .svc-visual { order: -1; }
.svc-copy .num { font-size: 14px; font-weight: 700; color: var(--ink-4); letter-spacing: 0.14em; }
.svc-copy h3 { font-size: clamp(30px, 4vw, 52px); margin: 16px 0 18px; }
.svc-copy p { color: var(--ink-2); font-size: 18px; line-height: 1.6; max-width: 46ch; }
.svc-copy ul { list-style: none; margin-top: 28px; display: grid; gap: 13px; }
.svc-copy li { display: flex; align-items: center; gap: 12px; font-size: 16px; color: var(--ink-2); }
.svc-copy li svg { width: 18px; height: 18px; color: var(--cyan); flex: none; }

.svc-visual {
  position: relative; aspect-ratio: 4/3; border-radius: 22px; overflow: hidden;
  border: 1px solid var(--line); background: linear-gradient(160deg, var(--bg-2), #02030a);
  display: grid; place-items: center;
}
.svc-visual canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.svc-visual .ico {
  position: relative; z-index: 1; width: 96px; height: 96px; border-radius: 24px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--c, #2f6bff) 18%, transparent);
  border: 1px solid color-mix(in srgb, var(--c, #2f6bff) 40%, transparent);
  color: var(--c, #2f6bff); box-shadow: 0 0 50px color-mix(in srgb, var(--c, #2f6bff) 30%, transparent);
}
.svc-visual .ico svg { width: 46px; height: 46px; }

/* ============================================================
   Cards / grids
   ============================================================ */
.cards { display: grid; gap: 22px; }
.cards.c2 { grid-template-columns: repeat(2,1fr); }
.cards.c3 { grid-template-columns: repeat(3,1fr); }
.cards.c4 { grid-template-columns: repeat(4,1fr); }

.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 32px;
  position: relative; overflow: hidden; transition: transform .4s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-5px); border-color: var(--line-hi); }
.card .vnum { font-size: 13px; font-weight: 700; color: var(--cyan); letter-spacing: 0.12em; margin-bottom: 22px; }
.card h3 { font-size: 23px; margin-bottom: 12px; }
.card p { color: var(--ink-2); font-size: 16px; line-height: 1.55; }
.card .cglow { position: absolute; right: -50px; bottom: -50px; width: 150px; height: 150px; border-radius: 50%;
  background: radial-gradient(circle, rgba(47,107,255,0.32), transparent 70%); }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; }
.stat { border-left: 1px solid var(--line-hi); padding-left: 22px; }
.stat .n { font-size: clamp(40px,5vw,68px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.stat .n b { color: var(--cyan); font-weight: 600; }
.stat .l { color: var(--ink-3); font-size: 14px; margin-top: 12px; line-height: 1.4; }

/* team */
.team-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 18px; }
.member { border-radius: 18px; border: 1px solid var(--line); overflow: hidden;
  background: linear-gradient(180deg, var(--panel), rgba(8,11,24,0.4)); transition: transform .4s var(--ease), border-color .3s; }
.member:hover { transform: translateY(-6px); border-color: var(--line-hi); }
.member .avatar { aspect-ratio: 1/1.05; display: grid; place-items: center; position: relative;
  background: radial-gradient(circle at 50% 42%, rgba(47,107,255,0.3), transparent 62%); }
.member .avatar .mono { width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center;
  font-size: 42px; font-weight: 600; letter-spacing: -0.03em; color: var(--ink);
  background: linear-gradient(160deg, rgba(94,139,255,0.4), rgba(8,11,24,0.7));
  border: 1px solid rgba(54,214,255,0.35); box-shadow: var(--glow-cyan); }
.member .info { padding: 16px 18px 20px; border-top: 1px solid var(--line); }
.member .info .nm { font-weight: 600; font-size: 17px; }
.member .info .rl { color: var(--ink-3); font-size: 13.5px; margin-top: 3px; }

/* ============================================================
   Partners — logo wall
   ============================================================ */
.partners-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 8px;
}
.partner {
  height: 108px; border: 1px solid var(--line); border-radius: 16px;
  background: var(--panel); display: grid; place-items: center; padding: 0 18px;
  position: relative; overflow: hidden;
  transition: transform .4s var(--ease), border-color .3s, background .3s;
}
.partner::after {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .35s var(--ease);
  background: radial-gradient(220px 120px at 50% 130%, rgba(47,107,255,0.22), transparent 70%);
}
.partner:hover { transform: translateY(-4px); border-color: var(--line-hi); background: rgba(47,107,255,0.05); }
.partner:hover::after { opacity: 1; }
.partner .pname {
  position: relative; z-index: 1; font-size: 19px; font-weight: 600; letter-spacing: -0.02em;
  color: var(--ink-3); text-align: center; line-height: 1.15; transition: color .3s;
}
.partner:hover .pname { color: var(--ink); }
.partner .pname b { font-weight: 600; color: var(--ink-2); transition: color .3s; }
.partner:hover .pname b { color: var(--cyan); }

/* partner companies — monogram cards */
.partner-sub {
  display: flex; align-items: center; gap: 14px; margin: 56px 0 22px;
}
.partner-sub .lbl {
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3);
  white-space: nowrap;
}
.partner-sub .rule { flex: 1; height: 1px; background: var(--line); }
.partner-co-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.partner-co {
  display: flex; align-items: center; gap: 16px; padding: 20px 22px;
  border: 1px solid var(--line); border-radius: 16px; background: var(--panel);
  transition: transform .4s var(--ease), border-color .3s, background .3s;
}
.partner-co:hover { transform: translateY(-4px); border-color: var(--line-hi); background: rgba(47,107,255,0.05); }
.partner-co .mono {
  width: 48px; height: 48px; flex: none; border-radius: 12px; display: grid; place-items: center;
  font-size: 19px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink);
  background: linear-gradient(160deg, rgba(94,139,255,0.35), rgba(8,11,24,0.7));
  border: 1px solid rgba(54,214,255,0.3);
}
.partner-co .nm { font-size: 16px; font-weight: 600; color: var(--ink); line-height: 1.2; }
.partner-co .rl { font-size: 13px; color: var(--ink-3); margin-top: 3px; }

/* clients — auto-scroll marquee */
.client-marquee {
  position: relative; overflow: hidden; padding: 4px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.client-track {
  display: flex; gap: 16px; width: max-content;
  animation: client-scroll 42s linear infinite;
}
.client-marquee:hover .client-track { animation-play-state: paused; }
.client-track .partner-co { width: 300px; flex: none; }
@keyframes client-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 8px)); }
}
@media (prefers-reduced-motion: reduce) {
  .client-track { animation: none; flex-wrap: wrap; width: 100%; }
}

/* ============================================================
   Sticky / pinned showcase (Apple-style)
   ============================================================ */
.pin { position: relative; }
.pin-sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden; }
.pin-track { position: relative; }

/* big marquee word */
.bigword { font-size: clamp(70px, 18vw, 280px); font-weight: 600; letter-spacing: -0.05em; line-height: 0.9;
  white-space: nowrap; }

/* ============================================================
   Contact
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.field { margin-bottom: 22px; }
.field label { display: block; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 9px; }
.field input, .field textarea {
  width: 100%; background: var(--panel-solid); border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 16px; color: var(--ink); font-family: var(--font); font-size: 16px; transition: border-color .25s, box-shadow .25s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47,107,255,0.18); }
.field textarea { resize: vertical; min-height: 130px; }
.contact-meta .row { padding: 22px 0; border-top: 1px solid var(--line); }
.contact-meta .row:first-child { border-top: none; }
.contact-meta .lab { font-size: 12px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--ink-4); margin-bottom: 7px; }
.contact-meta .v { font-size: 18px; }
.contact-meta .v a { color: var(--cyan); }
.form-ok { padding: 26px; border: 1px solid rgba(54,214,255,0.35); border-radius: 16px; background: rgba(47,107,255,0.08); }

/* ============================================================
   Careers
   ============================================================ */
.roles { border-top: 1px solid var(--line); margin-top: 8px; }
.role {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px;
  padding: 28px 6px; border-bottom: 1px solid var(--line); cursor: pointer;
  transition: padding .35s var(--ease), background .35s, border-color .3s;
}
.role:hover { padding-left: 20px; padding-right: 20px; background: rgba(47,107,255,0.05); border-color: var(--line-hi); }
.role h3 { font-size: clamp(21px, 2.6vw, 30px); margin-bottom: 9px; }
.role .rl-meta { display: flex; gap: 18px; flex-wrap: wrap; color: var(--ink-3); font-size: 14.5px; }
.role .rl-meta span { display: inline-flex; align-items: center; gap: 7px; }
.role .rl-meta .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); }
.role .rl-go { color: var(--cyan); display: inline-flex; align-items: center; gap: 8px; font-weight: 600; white-space: nowrap; }
.role .rl-go .arr { transition: transform .25s var(--ease); }
.role:hover .rl-go .arr { transform: translateX(5px); }
.careers-note { color: var(--ink-3); font-size: 16px; margin-top: 30px; line-height: 1.6; }
.careers-note a { color: var(--cyan); }
@media (max-width: 540px) {
  .role { grid-template-columns: 1fr; gap: 14px; }
}

/* ============================================================
   CTA band
   ============================================================ */
.cta {
  border-radius: 30px; border: 1px solid var(--line-hi); overflow: hidden; position: relative;
  padding: clamp(50px,8vw,96px); background:
    radial-gradient(700px 420px at 82% 0%, rgba(47,107,255,0.3), transparent 60%),
    linear-gradient(160deg, var(--bg-2), var(--bg-1));
}
.cta h2 { max-width: 16ch; margin-bottom: 22px; }
.cta p { color: var(--ink-2); font-size: 19px; max-width: 52ch; line-height: 1.55; margin-bottom: 36px; }

/* ============================================================
   Footer
   ============================================================ */
.footer { border-top: 1px solid var(--line); padding: 48px 0; }
.footer-in { display: flex; justify-content: space-between; align-items: center; gap: 22px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: var(--ink-3); font-size: 14px; }
.footer-links a:hover { color: var(--ink); }
.footer .cp { color: var(--ink-4); font-size: 13px; }

/* ============================================================
   Reveal base — engine sets inline styles; this is the resting/fallback
   ============================================================ */
[data-reveal] { will-change: transform, opacity; }
.no-anim [data-reveal] { opacity: 1 !important; transform: none !important; }

/* page transition wrapper */
.page-enter { will-change: transform, opacity; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 920px) {
  .nav-links { display: none; }
  .menu-btn { display: grid; place-items: center; }
  .svc-row { grid-template-columns: 1fr; gap: 34px; }
  .svc-row.flip .svc-visual { order: 0; }
  .cards.c2, .cards.c3, .cards.c4 { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: repeat(2,1fr); }
  .partner-co-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2,1fr); gap: 34px 22px; }
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .member .avatar { aspect-ratio: 1.5/1; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 540px) {
  .team-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .nav { padding: 14px 18px; }
  .wrap, .wrap-wide { padding: 0 20px; }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
