/* ============================================================
   ENTERPRISE TECH SERVICES — DESIGN SYSTEM
   Palette: deep navy #0a0f2e / #0f467c, accent yellow #ffcd2a,
   light surfaces #f4f6fb, white cards.
   ============================================================ */

:root {
  --navy-900: #0a0f2e;
  --navy-800: #101838;
  --blue-700: #0f467c;
  --blue-600: #1b5aa8;
  --blue-500: #2f6bd8;
  --cyan: #41d3bd;
  --yellow: #ffcd2a;
  --yellow-dark: #e0ac00;
  --ink: #1c2333;
  --muted: #5b6478;
  --line: #e3e8f2;
  --bg: #ffffff;
  --bg-soft: #f4f6fb;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(10, 15, 46, .08);
  --shadow-lg: 0 24px 60px rgba(10, 15, 46, .16);
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Sora", "Inter", system-ui, sans-serif;
  --header-h: 76px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.18; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
.lede { font-size: 1.15rem; color: var(--muted); }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: min(1240px, 92%); margin-inline: auto; }
.grad {
  background: linear-gradient(92deg, var(--yellow) 10%, #ffd75e 45%, var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* Gradient text on light backgrounds needs a dark gradient to pass contrast */
.case-studies .grad {
  background: linear-gradient(92deg, var(--blue-700), var(--blue-500));
  -webkit-background-clip: text; background-clip: text;
}
/* Fallback for browsers without background-clip: text */
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .grad { color: var(--blue-600); }
}
.kicker {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--blue-500); margin-bottom: .8rem;
}
.sec-head { max-width: 780px; margin: 0 auto 3rem; text-align: center; }
.sec-head.row { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; text-align: left; max-width: none; }
.sec-head p { color: var(--muted); }
.section { padding: 5.5rem 0; }
.bg-soft { background: var(--bg-soft); }

/* Skip to main content — visible on focus (WCAG 2.4.1) */
.skip-link {
  position: absolute; top: -100px; left: 1rem; z-index: 2000;
  background: var(--navy-900); color: #fff;
  padding: .6rem 1.1rem; border-radius: 0 0 10px 10px;
  font-weight: 600; font-size: .9rem; transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; color: #fff; }
#main:focus { outline: none; }

/* Keyboard focus visibility — global */
:focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: 2px;
  border-radius: 4px;
}
.site-footer :focus-visible,
.hero :focus-visible,
.careers :focus-visible,
.cta-band :focus-visible,
.page-banner :focus-visible,
.mobile-nav :focus-visible,
.stat-band :focus-visible { outline-color: var(--yellow); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .8rem 1.5rem; border-radius: 999px;
  font-weight: 600; font-size: .95rem; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--blue-500); color: #fff; box-shadow: 0 8px 20px rgba(47, 107, 216, .35); }
.btn-primary:hover { background: var(--blue-600); transform: translateY(-2px); }
.btn-ghost { color: var(--ink); padding: .55rem .9rem; border-radius: 10px; gap: .45rem; font-size: .9rem; }
.btn-ghost:hover { background: rgba(47, 107, 216, .1); }
.btn-ghost .ico { width: 18px; height: 18px; }
.btn-yellow { background: var(--yellow); color: var(--navy-900); box-shadow: 0 10px 24px rgba(255, 205, 42, .4); }
.btn-yellow:hover { background: #ffd75e; transform: translateY(-2px); }
.btn-outline { border: 1.5px solid rgba(255, 255, 255, .4); color: #fff; }
.btn-outline:hover { border-color: var(--yellow); color: var(--yellow); }
.btn-light { background: #fff; color: var(--navy-900); }
.btn-light:hover { background: var(--yellow); }
.btn-full { width: 100%; margin-top: .4rem; }
.ico { width: 20px; height: 20px; }

/* ---------- Scroll progress ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 1200; }
.scroll-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue-500), var(--cyan), var(--yellow)); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(10, 15, 46, .07); }
.header-inner {
  width: min(1360px, 94%); margin-inline: auto; min-height: var(--header-h);
  display: flex; align-items: center; gap: 1.25rem; padding-block: .5rem;
  position: relative;
}
.brand { display: inline-flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.brand-mark { width: 34px; height: 34px; }
.brand-word { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; color: var(--navy-900); letter-spacing: -.01em; }
.brand-word em { font-style: normal; color: var(--blue-500); margin-left: .15rem; font-size: .85em; }

.main-nav { flex: 1; display: flex; justify-content: center; }
.nav-list { display: flex; align-items: center; gap: .1rem; }
.nav-item { position: relative; }
/* Mega menus anchor to the header bar (not the trigger item) so they never overflow off-screen */
.nav-item:has(> .mega-menu) { position: static; }
.nav-link {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .6rem .7rem; border-radius: 10px;
  font-size: .92rem; font-weight: 500; color: var(--ink);
  transition: background .2s, color .2s;
}
.nav-link:hover, .nav-link.active { background: rgba(47, 107, 216, .1); color: var(--blue-600); }
.nav-link .chev { width: 11px; height: 11px; transition: transform .25s var(--ease); }
.nav-item.open .nav-link .chev { transform: rotate(180deg); }

/* Dropdown menus */
.drop-menu {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 230px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-lg); padding: .5rem;
  display: flex; flex-direction: column; gap: .05rem;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.drop-menu a { padding: .5rem .7rem; border-radius: 8px; font-size: .92rem; }
.drop-menu a:hover { background: var(--bg-soft); color: var(--blue-600); }
.drop-two-col { display: grid; grid-template-columns: 1fr 1fr; min-width: 400px; }
.drop-featured { min-width: 350px; }
.drop-featured .featured { display: flex; flex-direction: column; gap: .2rem; padding: .7rem; border-bottom: 1px solid var(--line); }
.drop-featured .featured strong { font-weight: 600; font-size: .92rem; line-height: 1.35; }
.drop-featured .featured:hover { background: var(--bg-soft); }
.ft-tag { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--blue-500); }
.drop-featured .view-all { color: var(--blue-600); font-weight: 600; margin-top: .2rem; }

/* Mega menu */
.mega-menu {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 8px);
  width: min(1120px, 94vw);
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow-lg); padding: 1.5rem;
  opacity: 0; visibility: hidden;
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.mega-menu.mega-wide { width: min(1240px, 94vw); }
.mega-menu::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.mega-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 1.6rem; }
.mega-col h4 { font-size: .85rem; font-family: var(--font-body); font-weight: 700; margin: 0 0 .55rem; }
.mega-col h4 a { color: var(--navy-900); border-bottom: 2px solid var(--yellow); padding-bottom: 2px; }
.mega-col a { display: block; padding: .3rem 0; font-size: .89rem; color: var(--muted); }
.mega-col a:hover { color: var(--blue-600); }

.nav-item.open > .mega-menu,
.nav-item:hover > .mega-menu,
.nav-item:focus-within > .mega-menu {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
}
.nav-item.open > .drop-menu,
.nav-item:hover > .drop-menu,
.nav-item:focus-within > .drop-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}

.header-actions { display: flex; align-items: center; gap: .5rem; }
.menu-toggle { display: none; flex-direction: column; gap: 5px; padding: .8rem; }
.menu-toggle span { width: 24px; height: 2px; background: var(--navy-900); border-radius: 2px; transition: .3s var(--ease); }

/* ---------- Mobile nav ---------- */
.mobile-nav {
  position: fixed; inset: 0 0 0 auto; width: min(370px, 90vw); z-index: 1100;
  background: var(--navy-900); color: #fff; padding: 1.2rem 1.4rem 2rem;
  transform: translateX(105%); visibility: hidden;
  transition: transform .35s var(--ease), visibility .35s;
  display: flex; flex-direction: column; overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); visibility: visible; }
.mobile-nav-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.mobile-nav-head .brand-word { color: #fff; }
.mobile-close { font-size: 1.2rem; color: #fff; padding: .4rem; }
.mobile-links { display: flex; flex-direction: column; gap: .2rem; flex: 1; }
.mobile-links details { border-bottom: 1px solid rgba(255, 255, 255, .08); }
.mobile-links summary {
  list-style: none; cursor: pointer; padding: .85rem .2rem; font-weight: 600; font-size: .98rem;
  display: flex; justify-content: space-between; align-items: center;
}
.mobile-links summary::after { content: "+"; font-size: 1.3rem; color: var(--yellow); }
.mobile-links details[open] summary::after { content: "–"; }
.mobile-links details a { display: block; padding: .45rem .8rem; font-size: .9rem; color: rgba(255, 255, 255, .78); }
.mobile-links details a:hover { color: var(--yellow); }
.mobile-links > a { padding: .85rem .2rem; font-weight: 600; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.mobile-cta { margin-top: 1.2rem; justify-content: center; }
.overlay {
  position: fixed; inset: 0; z-index: 1050; background: rgba(10, 15, 46, .5);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.overlay.show { opacity: 1; visibility: visible; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 600px at 75% -10%, #1b3a6b 0%, var(--navy-900) 55%, #060a20 100%);
  color: #fff; padding: 5rem 0 6rem;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grid { position: absolute; inset: 0; width: 100%; height: 100%; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.blob-1 { width: 480px; height: 480px; background: #2f6bd8; top: -180px; right: -80px; }
.blob-2 { width: 340px; height: 340px; background: #0f467c; bottom: -120px; left: -100px; }
.blob-3 { width: 260px; height: 260px; background: var(--cyan); bottom: 10%; right: 22%; opacity: .22; }

.hero-inner {
  position: relative; display: grid; grid-template-columns: 1.02fr .98fr;
  gap: 3rem; align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .4rem 1rem; border-radius: 999px; font-size: .82rem; font-weight: 600;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18);
  margin-bottom: 1.3rem;
}
.hero-eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 12px var(--yellow); }
.hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.7rem); font-weight: 800; letter-spacing: -.02em; }
.hero-copy > p { color: rgba(255, 255, 255, .75); font-size: 1.06rem; max-width: 34rem; margin-bottom: 1.8rem; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Feature cards: grid — no absolute positioning, no overlap */
.hero-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; align-content: center; margin-inline: auto; }
.float-card {
  padding: 1.3rem;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 20px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .3);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  height: 100%;
}
.float-card:hover { transform: translateY(-6px); box-shadow: 0 30px 70px rgba(0, 0, 0, .4); }
.fc-2 { margin-top: 2.6rem; }
.fc-3 { grid-column: 1 / -1; max-width: 400px; justify-self: center; width: 100%; }
.fc-icon {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--yellow), #ffd75e); color: var(--navy-900); margin-bottom: .8rem;
}
.fc-icon svg { width: 23px; height: 23px; }
.float-card h3 { font-size: 1.04rem; margin-bottom: .3rem; }
.float-card > p { font-size: .86rem; color: rgba(255, 255, 255, .7); margin-bottom: .6rem; }
.float-card ul li { position: relative; font-size: .83rem; color: rgba(255, 255, 255, .85); padding: .16rem 0 .16rem 1.05rem; }
.float-card ul li::before {
  content: ""; position: absolute; left: 0; top: .58em; width: 6px; height: 6px;
  border-radius: 50%; background: var(--cyan);
}

/* ---------- Case studies / cards ---------- */
.case-studies { background: var(--bg-soft); }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: stretch; }
.cs-card, .blog-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  display: flex; flex-direction: column;
}
.cs-card:hover, .blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.cs-media svg, .blog-media svg { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.cs-body, .blog-body { padding: 1.3rem 1.3rem 1.5rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.cs-body h3, .blog-body h3 { font-size: 1.1rem; margin: 0; }
.cs-body h3 a:hover, .blog-body h3 a:hover { color: var(--blue-600); }
.ticks li { position: relative; font-size: .9rem; color: var(--muted); padding: .18rem 0 .18rem 1.25rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 7px; height: 7px;
  border-radius: 2px; background: var(--yellow); transform: rotate(45deg);
}
.ticks.light li { color: rgba(255, 255, 255, .8); }
.cs-note { font-size: .88rem; color: var(--muted); font-style: italic; margin-top: auto; }
.link-arrow { color: var(--blue-600); font-weight: 600; font-size: .92rem; margin-top: auto; display: inline-block; padding: .4rem .15rem; }
.link-arrow:hover { color: var(--blue-500); }

/* ---------- Capabilities grid ---------- */
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; align-items: stretch; }
.cap-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem; box-shadow: var(--shadow); overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  display: flex; flex-direction: column;
}
.cap-card::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 4px;
  background: linear-gradient(90deg, var(--blue-500), var(--cyan)); opacity: 0; transition: opacity .3s;
}
.cap-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.cap-card:hover::before { opacity: 1; }
.cap-card.highlight {
  background: linear-gradient(150deg, var(--navy-900), var(--blue-700)); color: #fff; border: 0;
}
.cap-card.highlight .ticks li { color: rgba(255, 255, 255, .82); }
.cap-card.highlight .ticks li::before { background: var(--yellow); }
.cap-card h3 { padding-right: 3.8rem; }
.cap-link {
  position: absolute; top: 1.3rem; right: 1.3rem; width: 38px; height: 38px;
  border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center;
  color: var(--blue-600); transition: background .25s, color .25s, transform .25s var(--ease);
}
.cap-card:hover .cap-link { background: var(--yellow); border-color: var(--yellow); color: var(--navy-900); transform: rotate(45deg); }

/* ---------- Microsoft practice band ---------- */
.ms-band { background: var(--bg-soft); }
.ms-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.ms-item {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem 1.4rem 3.2rem; box-shadow: var(--shadow); overflow: hidden;
  display: flex; flex-direction: column; gap: .5rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.ms-item::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 4px;
  background: linear-gradient(90deg, var(--blue-500), var(--cyan)); opacity: 0; transition: opacity .3s;
}
.ms-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--blue-500); }
.ms-item:hover::before { opacity: 1; }
.ms-item .ms-name { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.ms-item .ms-desc { font-size: .88rem; color: var(--muted); line-height: 1.5; }
.ms-item .ms-arrow {
  position: absolute; left: 1.4rem; bottom: 1.1rem; width: 38px; height: 38px;
  border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center;
  color: var(--blue-600); transition: background .25s, color .25s, transform .25s var(--ease);
}
.ms-item:hover .ms-arrow { background: var(--yellow); border-color: var(--yellow); color: var(--navy-900); transform: rotate(45deg); }
@media (max-width: 991px) { .ms-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .ms-grid { grid-template-columns: 1fr; } }

/* ---------- Careers ---------- */
.careers { background: linear-gradient(140deg, var(--navy-900), #122a52 60%, var(--blue-700)); color: #fff; }
.careers-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.stat-big { font-family: var(--font-display); font-size: clamp(3rem, 5.5vw, 4.4rem); font-weight: 800; color: var(--yellow); line-height: 1; display: flex; align-items: baseline; }
.stat-big span:last-child { font-size: .5em; margin-left: .1em; }
.careers-copy h2 { color: #fff; margin: .6rem 0 .9rem; }
.careers-copy p { color: rgba(255, 255, 255, .72); margin-bottom: 1.5rem; }
.jobs-panel {
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 20px; padding: 1.7rem; backdrop-filter: blur(10px);
}
.jobs-panel h3 { color: #fff; font-size: 1.1rem; margin-bottom: 1rem; }
.job-list li a {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  padding: .95rem 1.05rem; border-radius: 12px; background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1); margin-bottom: .65rem;
  transition: background .25s, transform .25s var(--ease), border-color .25s;
}
.job-list li a:hover { background: var(--yellow); border-color: var(--yellow); transform: translateX(6px); }
.job-list li a:hover .job-title, .job-list li a:hover .job-loc,
.job-list li a:hover .job-type { color: var(--navy-900); }
.job-title { font-weight: 600; font-size: .95rem; }
.job-loc { font-size: .8rem; color: rgba(255, 255, 255, .65); }
.job-meta { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.job-type { font-size: .75rem; padding: .15rem .55rem; border-radius: 999px; background: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .75); }
.jobs-panel .link-arrow { color: var(--yellow); }

/* ---------- Team ---------- */
.team { background: var(--bg-soft); }
.team-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; align-items: stretch; }
.team-grid.team-6 { grid-template-columns: repeat(3, 1fr); }
.team-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem 1.1rem; text-align: center; box-shadow: var(--shadow);
  display: flex; flex-direction: column; align-items: center; gap: .7rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.avatar {
  width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; color: #fff;
  background: linear-gradient(135deg, var(--a, #2f6bd8), var(--b, #0f467c));
  box-shadow: 0 10px 24px rgba(15, 70, 124, .3); flex-shrink: 0;
}
.team-info h3 { margin: 0; font-size: 1rem; }
.team-info p { margin: 0 0 .35rem; font-size: .82rem; color: var(--muted); }
.social { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--blue-600); background: var(--bg-soft); transition: background .25s, color .25s; }
.social:hover { background: var(--blue-500); color: #fff; }
.social svg { width: 16px; height: 16px; }
.mini-btn {
  margin-top: .3rem; font-size: .8rem; font-weight: 600; color: var(--blue-600);
  border: 1.5px solid var(--line); border-radius: 999px; padding: .45rem .95rem;
  transition: all .25s var(--ease);
}
.mini-btn:hover { background: var(--yellow); border-color: var(--yellow); color: var(--navy-900); }

/* ---------- CTA band ---------- */
.cta-band {
  background: radial-gradient(900px 420px at 20% 0%, #1b3a6b, var(--navy-900) 70%);
  color: #fff; padding: 4.5rem 0;
}
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 2.5rem; flex-wrap: wrap; }
.cta-inner h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); margin-bottom: .4rem; }
.cta-inner p { color: rgba(255, 255, 255, .75); margin: 0; }

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .cookie-banner, .scroll-top, .scroll-progress,
  .mobile-nav, .overlay, .modal, .cta-band, .menu-toggle, .skip-link,
  .mobile-cta { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  .page-banner { padding: 1rem 0; background: #fff !important; }
  .page-banner h1, .page-banner p, .breadcrumb a, .crumb-current { color: #000; }
  .crumb-sep { color: #000; }
  .section, .legal-section { padding: .8rem 0; }
  .reveal { opacity: 1 !important; transform: none !important; }
  a { color: #000; text-decoration: underline; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 10pt; }
  .stat-band, .hero, .careers, .why-section { background: #fff !important; color: #000 !important; }
  .stat-v, .stat-l, .kicker { color: #000 !important; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, .72); padding: 4.5rem 0 2rem; }
.footer-top { display: grid; grid-template-columns: 300px 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-brand .brand-word { color: #fff; }
.footer-brand .brand-word em { color: var(--yellow); }
.footer-brand p { font-size: .95rem; margin: 1rem 0 1.2rem; max-width: 26ch; }
.footer-contact { margin-top: 1.4rem; display: flex; flex-direction: column; gap: .3rem; font-size: .9rem; }
.footer-contact a { display: inline-block; padding: .45rem .25rem; }
.footer-contact a:hover { color: var(--yellow); }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.fcol h2 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 .75rem; }
.fcol a { display: block; padding: .22rem 0; font-size: .88rem; transition: color .2s, transform .2s var(--ease); }
.fcol a:hover { color: var(--yellow); transform: translateX(4px); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap;
  padding-top: 1.8rem; font-size: .85rem;
}
.socials { display: flex; gap: .55rem; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .08); color: #fff; transition: background .25s, transform .25s var(--ease);
}
.socials a:hover { background: var(--yellow); color: var(--navy-900); transform: translateY(-3px); }
.socials svg { width: 17px; height: 17px; }
.legal { display: flex; gap: 1.3rem; align-items: center; flex-wrap: wrap; }
.legal a { display: inline-block; padding: .35rem .15rem; }
.legal a:hover { color: var(--yellow); }

/* ---------- Scroll to top ---------- */
.scroll-top {
  position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 900;
  width: 48px; height: 48px; display: grid; place-items: center;
  background: #fff; border-radius: 50%; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s, visibility .3s, transform .3s var(--ease);
}
.scroll-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { transform: translateY(-4px); }
.scroll-top svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.scroll-top .track { fill: none; stroke: var(--line); stroke-width: 3; }
.scroll-top .fill {
  fill: none; stroke: var(--blue-500); stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 119.4; stroke-dashoffset: 119.4;
}
.scroll-top .arrow { position: relative; width: 18px; height: 12px; color: var(--navy-900); transform: none; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 1.4rem; bottom: 1.4rem; z-index: 1040; max-width: 420px;
  background: var(--blue-700); color: #fff; border-radius: 16px; padding: 1.1rem 1.3rem;
  box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: .9rem;
  transform: translateY(140%); visibility: hidden;
  transition: transform .45s var(--ease), visibility .45s;
}
.cookie-banner.show { transform: translateY(0); visibility: visible; }
.cookie-banner p { margin: 0; font-size: .9rem; }
.cookie-actions { display: flex; gap: .55rem; flex-wrap: wrap; }
.cookie-actions .btn { padding: .5rem 1.1rem; font-size: .85rem; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 1200; display: grid; place-items: center; padding: 1rem; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(10, 15, 46, .6); backdrop-filter: blur(4px); animation: fadeIn .3s; }
.modal-card {
  position: relative; width: min(460px, 100%); background: #fff; border-radius: 22px;
  padding: 2.1rem; box-shadow: var(--shadow-lg); animation: popIn .35s var(--ease);
  max-height: 90vh; overflow-y: auto;
}
@keyframes fadeIn { from { opacity: 0; } }
@keyframes popIn { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.modal-close { position: absolute; top: .9rem; right: .9rem; color: var(--muted); font-size: 1rem; padding: .4rem; border-radius: 50%; }
.modal-close:hover { background: var(--bg-soft); color: var(--ink); }
.modal-card h3 { font-size: 1.5rem; margin-bottom: .2rem; }
.modal-sub { color: var(--muted); font-size: .92rem; margin-bottom: 1.3rem; }
#contactForm label, #contactPageForm label { display: block; margin-bottom: .95rem; }
#contactForm label > span, #contactPageForm label > span { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .35rem; }
#contactForm label > span i, #contactPageForm label > span i { color: #d33; font-style: normal; }
#contactForm input, #contactForm textarea,
#contactPageForm input, #contactPageForm textarea {
  width: 100%; padding: .72rem .95rem; border: 1.5px solid var(--line); border-radius: 12px;
  font: inherit; font-size: .92rem; transition: border-color .2s, box-shadow .2s; background: #fff;
  color: var(--ink);
}
#contactForm input:focus, #contactForm textarea:focus,
#contactPageForm input:focus, #contactPageForm textarea:focus {
  outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(47, 107, 216, .25);
}
#contactPageForm select {
  width: 100%; padding: .72rem .95rem; border: 1.5px solid var(--line); border-radius: 12px;
  font: inherit; font-size: .92rem; transition: border-color .2s, box-shadow .2s; background: #fff;
  color: var(--ink); appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%235b6478' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.6rem;
}
#contactPageForm select:focus {
  outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(47, 107, 216, .25);
}
#contactPageForm .consent-row {
  display: flex; flex-wrap: wrap; align-items: flex-start; gap: .6rem;
  margin: .2rem 0 1rem; cursor: pointer;
}
#contactPageForm .consent-row input[type="checkbox"] {
  width: 18px; height: 18px; flex: 0 0 auto; margin: .18rem 0 0;
  accent-color: var(--blue-500); cursor: pointer;
}
#contactPageForm .consent-row > span {
  flex: 1; font-size: .8rem; font-weight: 500; color: var(--muted); margin: 0; line-height: 1.5;
}
#contactPageForm .consent-row > span a { color: var(--blue-600); font-weight: 600; text-decoration: underline; }
#contactPageForm .consent-row .err { flex-basis: 100%; margin-left: 1.9rem; }
.form-privacy { font-size: .75rem; color: var(--muted); text-align: center; margin: .65rem 0 0; }
.form-success[hidden] { display: none; }
#contactForm label.invalid input, #contactForm label.invalid textarea,
#contactPageForm label.invalid input, #contactPageForm label.invalid textarea { border-color: #b91c1c; }
.err { display: none; font-size: .78rem; color: #b91c1c; font-style: normal; margin-top: .3rem; }
#contactForm label.invalid .err, #contactPageForm label.invalid .err { display: block; }
.form-success {
  display: flex; align-items: center; gap: .6rem; justify-content: center;
  color: #3a7517; font-weight: 600; margin-top: 1rem;
}
.form-error {
  text-align: center; color: #b91c1c; font-weight: 600; font-size: .88rem; margin-top: 1rem;
}
/* Honeypot (spam trap) — present in the DOM but invisible and unreachable for humans */
.hp-field {
  position: absolute !important; left: -9999px !important;
  width: 1px; height: 1px; opacity: 0; pointer-events: none;
}
.form-demo-note {
  font-size: .78rem; color: var(--muted); text-align: center; margin: .6rem 0 0;
}

/* ---------- Cookie preferences dialog ---------- */
.cookie-prefs { position: fixed; inset: 0; z-index: 1300; display: grid; place-items: center; padding: 1rem; }
.cookie-prefs[hidden] { display: none; }
.cookie-prefs-backdrop { position: absolute; inset: 0; background: rgba(10, 15, 46, .6); backdrop-filter: blur(4px); animation: fadeIn .3s; }
.cookie-prefs-card {
  position: relative; width: min(460px, 100%); background: #fff; border-radius: 22px;
  padding: 2rem; box-shadow: var(--shadow-lg); animation: popIn .35s var(--ease);
  max-height: 90vh; overflow-y: auto;
}
.cookie-prefs-card h3 { font-size: 1.35rem; margin-bottom: .2rem; }
.pref-row {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: .9rem 0; border-bottom: 1px solid var(--line); margin-bottom: 0;
}
.pref-row:last-of-type { border-bottom: 0; }
.pref-row span { font-weight: 600; font-size: .92rem; display: block; }
.pref-row small { display: block; font-weight: 400; color: var(--muted); font-size: .78rem; margin-top: .1rem; }
.pref-row input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--blue-500); flex-shrink: 0; }
.cookie-prefs-card .btn-full { margin-top: 1.2rem; }

/* Footer "Cookie settings" — styled like the other legal links */
.cookie-settings-link {
  background: none; border: 0; padding: .35rem .15rem; color: inherit;
  font: inherit; font-size: .85rem; cursor: pointer;
}
.cookie-settings-link:hover { color: var(--yellow); }

/* ---------- FAQ accordion (detail pages) ---------- */
.faq-list { max-width: 820px; margin-inline: auto; display: flex; flex-direction: column; gap: .7rem; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow); overflow: hidden;
}
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1.05rem 1.3rem;
  font-weight: 600; font-size: .95rem; display: flex; justify-content: space-between;
  align-items: center; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.3rem; color: var(--blue-500); flex-shrink: 0; }
.faq-item[open] summary::after { content: "–"; }
.faq-item summary:hover { color: var(--blue-600); }
.faq-item p { margin: 0; padding: 0 1.3rem 1.1rem; color: var(--muted); font-size: .92rem; }

/* ---------- Case study meta row ---------- */
.case-meta {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow);
}
.case-meta .kicker { margin-bottom: .3rem; }
.case-meta p { margin: 0; font-size: .92rem; color: var(--ink); }
@media (max-width: 900px) { .case-meta { grid-template-columns: 1fr; } }

/* ---------- Office cards (contact page) ---------- */
.office-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: .4rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.office-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.office-card .kicker { margin-bottom: 0; }
.office-card h3 { margin: 0; font-size: 1.15rem; }
.office-card p { margin: 0; color: var(--muted); font-size: .9rem; }
.office-card a { color: var(--blue-600); font-weight: 600; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

/* ============================================================
   SUB-PAGE COMPONENTS
   ============================================================ */

/* Page banner */
.page-banner {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(1000px 520px at 80% -10%, #1b3a6b 0%, var(--navy-900) 55%, #060a20 100%);
  padding: 8.5rem 0 5.5rem;
}
.page-banner-bg { position: absolute; inset: 0; pointer-events: none; }
.page-banner-bg .blob-1 { width: 420px; height: 420px; background: #2f6bd8; top: -160px; right: -60px; }
.page-banner-bg .blob-2 { width: 300px; height: 300px; background: var(--cyan); bottom: -140px; left: -80px; opacity: .25; }
.page-banner .container { position: relative; }
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem; font-size: .85rem; margin-bottom: 1.4rem; }
.breadcrumb a { color: rgba(255, 255, 255, .65); transition: color .2s; }
.breadcrumb a:hover { color: var(--yellow); }
.crumb-sep { color: rgba(255, 255, 255, .45); }
.crumb-current { color: var(--yellow); font-weight: 600; }
.page-banner h1 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -.02em; max-width: 22ch; }
.page-banner > .container > p { color: rgba(255, 255, 255, .75); font-size: 1.05rem; max-width: 52ch; margin: 0; }

/* Intro grid (text + art) */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.intro-copy h2 { margin-top: 0; }
.art { width: 100%; border-radius: 18px; box-shadow: var(--shadow-lg); }

/* Service cards (hub pages) */
.svc-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: .5rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--blue-500); }
.svc-card h3 { margin: 0; }
.svc-card h3 a:hover { color: var(--blue-600); }
.svc-card p { color: var(--muted); font-size: .92rem; margin: 0; flex: 1; }

/* Why section */
.why-section { background: var(--bg-soft); }
.why-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: center; }
.why-grid h2 { margin: 0; }
.why-points { display: flex; flex-direction: column; gap: 1rem; }
.why-points li {
  display: flex; align-items: flex-start; gap: .9rem;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 1.05rem 1.2rem; font-weight: 500; box-shadow: var(--shadow);
}
.why-points .check { width: 26px; height: 26px; flex-shrink: 0; margin-top: .1rem; }

/* Highlights cards */
.hl-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: .5rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.hl-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.hl-card h3 { margin: 0; }
.hl-card p { color: var(--muted); font-size: .92rem; margin: 0; flex: 1; }
.hl-icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue-500), var(--cyan)); color: #fff; margin-bottom: .5rem;
}
.hl-icon svg { width: 24px; height: 24px; }

/* Process steps */
.process-steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem;
  counter-reset: step;
}
.process-steps li {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2.6rem 1.4rem 1.5rem; box-shadow: var(--shadow); text-align: center;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.process-steps li:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.process-steps li:not(:last-child)::after {
  content: "→"; position: absolute; top: 2.4rem; right: -1.05rem; z-index: 2;
  color: var(--blue-500); font-weight: 700;
}
.step-num {
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--yellow); color: var(--navy-900);
  font-family: var(--font-display); font-weight: 800; font-size: .85rem;
  display: grid; place-items: center; box-shadow: 0 6px 14px rgba(255, 205, 42, .5);
}
.process-steps h3 { margin: 0 0 .3rem; font-size: 1.05rem; }
.process-steps p { color: var(--muted); font-size: .88rem; margin: 0; }

/* Stat band */
.stat-band { background: linear-gradient(135deg, var(--navy-800), var(--blue-700)); padding: 3.5rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; text-align: center; }
.stat { color: #fff; }
.stat-v { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; color: var(--yellow); line-height: 1.05; }
.stat-l { color: rgba(255, 255, 255, .75); font-size: .95rem; margin-top: .3rem; }

/* Case study detail */
.cs-cols { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: start; }
.cs-cols .cs-visual .art { position: sticky; top: 100px; }
.quote-block {
  max-width: 820px; margin-inline: auto; text-align: center; position: relative;
  background: #fff; border: 1px solid var(--line); border-radius: 22px;
  padding: 3rem 2.5rem; box-shadow: var(--shadow);
}
.quote-mark { width: 44px; height: 33px; margin: 0 auto 1.2rem; }
.quote-block p { font-family: var(--font-display); font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 600; color: var(--navy-900); margin-bottom: 1rem; }
.quote-block cite { font-style: normal; color: var(--muted); font-size: .92rem; }

/* Blog pills + filter */
.pill-row { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center; margin-bottom: 2.5rem; }
.pill {
  padding: .62rem 1.2rem; border-radius: 999px; font-size: .88rem; font-weight: 600;
  border: 1.5px solid var(--line); background: #fff; color: var(--muted);
  transition: all .25s var(--ease);
}
.pill:hover { border-color: var(--blue-500); color: var(--blue-600); }
.pill.active { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.blog-card.hidden { display: none; }
.blog-meta { font-size: .8rem; color: var(--muted); margin-top: auto; padding-top: .4rem; }

/* Whitepapers */
.wp-list { display: flex; flex-direction: column; gap: 1.4rem; }
.wp-card {
  display: grid; grid-template-columns: 280px 1fr; gap: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.wp-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.wp-art svg { width: 100%; height: 100%; aspect-ratio: 4 / 3; }
.wp-info { padding: 1.6rem 1.8rem; display: flex; flex-direction: column; gap: .5rem; }
.wp-info h3 { margin: 0; }
.wp-info h3 a:hover { color: var(--blue-600); }
.wp-info p { color: var(--muted); font-size: .92rem; margin: 0; flex: 1; }
.wp-actions { display: flex; gap: 1.1rem; align-items: center; flex-wrap: wrap; margin-top: .4rem; }
.wp-dl { margin-bottom: 1.6rem; }
.wp-dl svg { border-radius: 18px; }

/* Newsroom timeline */
.timeline { max-width: 780px; margin-inline: auto; display: flex; flex-direction: column; gap: 1.4rem; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 8px; top: 12px; bottom: 12px; width: 2px;
  background: linear-gradient(var(--blue-500), var(--cyan));
}
.news-item {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.6rem 1.4rem 2.8rem; box-shadow: var(--shadow);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.news-item:hover { transform: translateX(6px); box-shadow: var(--shadow-lg); }
.news-item::before {
  content: ""; position: absolute; left: 0; top: 1.9rem; width: 18px; height: 18px;
  border-radius: 50%; background: var(--yellow); border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--blue-500);
}
.news-date { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--blue-500); }
.news-item h3 { margin: .25rem 0; font-size: 1.15rem; }
.news-item h3 a:hover { color: var(--blue-600); }
.news-item p { color: var(--muted); font-size: .92rem; margin: 0 0 .4rem; }

/* About: milestones */
.milestones { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; }
.milestones li {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem 1.2rem; box-shadow: var(--shadow); text-align: center;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.milestones li:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.ms-year {
  display: inline-block; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem;
  color: var(--blue-600); margin-bottom: .3rem;
}
.milestones h3 { font-size: 1rem; margin: 0 0 .3rem; }
.milestones p { color: var(--muted); font-size: .85rem; margin: 0; }

/* Investors table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.data-table { width: 100%; border-collapse: collapse; font-size: .95rem; background: #fff; }
.data-table th, .data-table td { padding: 1rem 1.3rem; text-align: left; }
.data-table thead { background: var(--navy-900); color: #fff; }
.data-table tbody tr:not(:last-child) { border-bottom: 1px solid var(--line); }
.data-table tbody tr:hover { background: var(--bg-soft); }
.table-note { font-size: .82rem; color: var(--muted); font-style: italic; margin-top: .8rem; }
.ir-contact { margin-top: 2.5rem; text-align: center; }

/* Events */
.events-list { max-width: 820px; margin-inline: auto; display: flex; flex-direction: column; gap: 1.2rem; }
.event-card {
  display: flex; gap: 1.3rem; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem 1.7rem; box-shadow: var(--shadow);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.event-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.event-badge {
  width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--yellow), #ffd75e); color: var(--navy-900);
  display: grid; place-items: center;
}
.event-badge svg { width: 26px; height: 26px; }
.event-meta { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--blue-500); }
.event-card h3 { margin: .2rem 0; font-size: 1.2rem; }
.event-card p { color: var(--muted); font-size: .92rem; margin: 0 0 .7rem; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 2rem; align-items: start; }
.contact-form-card, .contact-info {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem; box-shadow: var(--shadow);
}
.contact-form-card h2 { margin-top: 0; }
.info-card { margin-bottom: 1.4rem; }
.info-card:last-child { margin-bottom: 0; }
.info-card h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.info-card p { color: var(--muted); font-size: .92rem; margin: 0; }
.map-card { padding: .8rem; }
.map-card iframe { display: block; width: 100%; min-height: 260px; border: 0; border-radius: 12px; }
.map-placeholder { position: relative; }
.map-placeholder svg { border-radius: 12px; width: 100%; }
.map-placeholder span {
  position: absolute; inset: auto 0 0 0; text-align: center;
  font-size: .75rem; color: var(--blue-700); background: rgba(255, 255, 255, .9);
  padding: .3rem; border-radius: 0 0 12px 12px;
}

/* ---------- Contact page ---------- */
.contact-hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(1200px 620px at 78% -12%, #1b3a6b 0%, var(--navy-900) 56%, #060a20 100%);
  padding: 5.2rem 0 6rem;
}
.contact-hero-inner {
  position: relative; display: grid; grid-template-columns: 1.08fr .92fr;
  gap: 4rem; align-items: center;
}
.contact-hero-copy .breadcrumb { margin-bottom: 1.5rem; }
.contact-hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.9rem); letter-spacing: -.025em; margin-bottom: 1.2rem; }
.contact-hero-copy > p { color: rgba(255, 255, 255, .76); font-size: 1.07rem; max-width: 40rem; margin-bottom: 2rem; }
.contact-quick { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.contact-quick-card {
  display: flex; align-items: center; gap: .9rem; padding: .95rem 1.2rem; min-width: 240px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); border-radius: 16px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: transform .3s var(--ease), background .3s, border-color .3s;
}
.contact-quick-card:hover { border-color: rgba(255, 205, 42, .6); background: rgba(255, 255, 255, .11); transform: translateY(-3px); }
.cq-icon {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255, 205, 42, .15); color: var(--yellow); flex-shrink: 0;
}
.cq-icon svg { width: 20px; height: 20px; }
.contact-quick-card small { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(255, 255, 255, .55); font-weight: 700; }
.contact-quick-card strong { font-size: .94rem; font-weight: 600; color: #fff; }
.contact-promise { display: flex; align-items: center; gap: .55rem; color: rgba(255, 255, 255, .62); font-size: .88rem; margin: 0; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(65, 211, 189, .15); animation: pulseDot 2.4s infinite; flex-shrink: 0; }
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(65, 211, 189, .15); }
  50% { box-shadow: 0 0 0 9px rgba(65, 211, 189, 0); }
}
.contact-hero-card {
  position: relative; background: #fff; color: var(--ink); border-radius: 24px;
  padding: 2rem; box-shadow: 0 30px 70px rgba(0, 0, 0, .35);
}
.contact-hero-card::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 5px; border-radius: 24px 24px 0 0;
  background: linear-gradient(90deg, var(--blue-500), var(--cyan), var(--yellow));
}
.contact-hero-card .kicker { margin-bottom: .4rem; }
.contact-hero-card h2 { font-size: 1.55rem; margin-bottom: 1.2rem; }
.expect-list { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.5rem; }
.expect-list li { display: flex; gap: .85rem; }
.expect-list li > span {
  width: 30px; height: 30px; border-radius: 9px; background: var(--bg-soft); color: var(--blue-600);
  font-size: .72rem; font-weight: 800; display: grid; place-items: center; flex-shrink: 0;
}
.expect-list strong { display: block; font-size: .93rem; }
.expect-list p { margin: 0; font-size: .84rem; color: var(--muted); line-height: 1.5; }
.expect-note { text-align: center; font-size: .75rem; color: var(--muted); margin: .7rem 0 0; }

.contact-main { padding-top: 5.5rem; }
.contact-main-head { max-width: 760px; margin-bottom: 2.6rem; }
.contact-main-head h2 { margin-bottom: .6rem; }
.contact-main-head p { color: var(--muted); margin: 0; max-width: 60ch; }
.contact-layout { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: start; }
.contact-layout .contact-side { max-width: 560px; width: 100%; margin: 0 auto; }
.contact-form-card { position: relative; padding: 2.4rem; overflow: hidden; }
.contact-form-card::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 4px;
  background: linear-gradient(90deg, var(--blue-500), var(--cyan));
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.contact-side { display: flex; flex-direction: column; gap: 1.2rem; }
.contact-side-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow);
}
.contact-side-card h3 { font-size: 1.05rem; margin-bottom: 1rem; }
.direct-row {
  display: flex; align-items: flex-start; gap: .8rem;
  padding: .7rem 0; border-bottom: 1px solid var(--line);
}
.direct-row:last-child { border-bottom: 0; padding-bottom: 0; }
.direct-row .cq-icon { width: 36px; height: 36px; background: var(--bg-soft); color: var(--blue-600); border-radius: 10px; }
.direct-row .cq-icon svg { width: 18px; height: 18px; }
.direct-row small { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.direct-row strong { display: block; font-size: .9rem; font-weight: 600; color: var(--ink); }
.direct-address { display: block; font-size: .8rem; color: var(--muted); line-height: 1.5; margin-top: .15rem; }
.contact-hours .hours-time { font-size: 1.1rem; line-height: 1.45; margin-bottom: .6rem; }
.contact-hours .hours-time strong { color: var(--navy-900); }
.contact-hours p:last-child { color: var(--muted); font-size: .85rem; margin: 0; }
.contact-nda { background: linear-gradient(135deg, var(--navy-900), var(--blue-700)); color: #fff; border: 0; }
.contact-nda h3 { color: #fff; }
.contact-nda p { color: rgba(255, 255, 255, .72); font-size: .86rem; }
.contact-nda .link-arrow { color: var(--yellow); margin: 0; padding-left: 0; }
.nda-badge {
  display: inline-block; font-size: .68rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--yellow); border: 1px solid rgba(255, 205, 42, .4);
  border-radius: 999px; padding: .25rem .65rem; margin-bottom: .8rem;
}

.contact-offices-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 2rem; align-items: stretch; }
.contact-office-list { display: flex; flex-direction: column; gap: 1.2rem; justify-content: center; }
.contact-office-card { display: flex; flex-direction: column; gap: .3rem; }
.office-card-head { display: flex; align-items: center; gap: .6rem; margin-bottom: .2rem; }
.office-pin { width: 34px; height: 34px; border-radius: 10px; background: rgba(47, 107, 216, .1); color: var(--blue-600); display: grid; place-items: center; }
.office-pin svg { width: 18px; height: 18px; }
.contact-office-card .kicker { margin: 0; }
.contact-office-card h3 { font-size: 1.35rem; }
.contact-map-card {
  position: relative; overflow: hidden; border-radius: 20px;
  background: linear-gradient(135deg, var(--navy-900), var(--blue-700));
  min-height: 380px; display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff; box-shadow: var(--shadow-lg);
}
.contact-map-art, .contact-map-embed { position: absolute; inset: 0; width: 100%; height: 100%; }
.contact-map-embed { border: 0; }
.contact-map-label {
  position: relative; margin: 1.6rem; align-self: flex-start;
  display: flex; align-items: center; gap: .6rem; padding: .55rem .9rem;
  border-radius: 999px; background: rgba(10, 15, 46, .6); border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: .85rem; font-weight: 600;
}
.contact-map-label small { color: rgba(255, 255, 255, .55); font-weight: 500; }
.contact-map-label .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 12px var(--yellow); flex-shrink: 0; }
.contact-map-foot {
  position: relative; margin: 0 1.6rem 1.6rem; padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, .16);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem;
}
.contact-map-foot span { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(255, 255, 255, .55); font-weight: 700; margin-bottom: .2rem; }
.contact-map-foot strong { font-size: .9rem; font-weight: 600; }
.contact-map-foot .link-arrow { color: var(--yellow); margin: 0; padding: 0; }

.contact-next-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 3rem; align-items: start; }
.contact-next-copy h2 { margin-bottom: .7rem; }
.contact-next-copy p { color: var(--muted); }
.contact-timeline { position: relative; display: flex; flex-direction: column; gap: 1.1rem; }
.contact-timeline li {
  position: relative; display: flex; gap: 1.2rem; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.4rem 1.5rem; box-shadow: var(--shadow);
}
.contact-timeline li::before {
  content: ""; position: absolute; left: 2.7rem; top: 3.6rem; bottom: -1.2rem;
  width: 2px; background: linear-gradient(var(--blue-500), rgba(47, 107, 216, .1));
}
.contact-timeline li:last-child::before { display: none; }
.timeline-num {
  width: 40px; height: 40px; border-radius: 50%; background: var(--yellow); color: var(--navy-900);
  font-family: var(--font-display); font-weight: 800; display: grid; place-items: center; flex-shrink: 0;
  box-shadow: 0 6px 14px rgba(255, 205, 42, .35);
}
.contact-timeline h3 { margin: 0 0 .25rem; font-size: 1.05rem; }
.contact-timeline p { margin: 0; color: var(--muted); font-size: .9rem; }

.contact-faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; align-items: start; }
.contact-faq-copy h2 { margin-bottom: .7rem; }
.contact-faq-copy p { color: var(--muted); }
.contact-faq-copy .link-arrow { padding-left: 0; }
.faq-list { display: flex; flex-direction: column; gap: .8rem; }
.faq-list details { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.faq-list summary {
  cursor: pointer; list-style: none; padding: 1.1rem 3rem 1.1rem 1.3rem;
  font-weight: 600; font-size: .95rem; position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%);
  font-size: 1.3rem; font-weight: 400; color: var(--blue-500); transition: transform .25s;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 0; padding: 0 1.3rem 1.2rem; color: var(--muted); font-size: .9rem; }

.contact-final {
  position: relative; overflow: hidden; color: #fff; padding: 4.5rem 0;
  background: radial-gradient(900px 480px at 85% -20%, #1b3a6b, var(--navy-900) 60%, #060a20);
}
.contact-final-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 2.5rem; flex-wrap: wrap; }
.contact-final .kicker { color: var(--yellow); }
.contact-final h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin-bottom: .5rem; }
.contact-final p { color: rgba(255, 255, 255, .7); margin: 0; max-width: 48ch; }
.contact-final-actions { display: flex; gap: .9rem; flex-wrap: wrap; }

@media (max-width: 991px) {
  .contact-hero-inner, .contact-layout, .contact-offices-grid, .contact-next-grid, .contact-faq-grid { grid-template-columns: 1fr; }
  .contact-hero { padding: 4.5rem 0 5rem; }
  .contact-hero-card { max-width: 560px; }
  .contact-main { padding-top: 4rem; }
  .contact-map-card { min-height: 340px; }
}
@media (max-width: 640px) {
  .contact-hero { padding: 3.2rem 0 4rem; }
  .contact-quick { flex-direction: column; }
  .contact-quick-card { min-width: 0; width: 100%; }
  .contact-hero-card { padding: 1.6rem; }
  .contact-form-card { padding: 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .contact-map-foot { flex-direction: column; align-items: flex-start; }
  .contact-timeline li::before { display: none; }
  .contact-final { padding: 3.4rem 0; }
}

/* Legal pages */
.legal-section { background: var(--bg-soft); }
.legal-wrap {
  max-width: 800px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 2.8rem; box-shadow: var(--shadow);
}
.legal-wrap h2 { font-size: 1.3rem; margin-top: 1.8rem; }
.legal-wrap h2:first-of-type { margin-top: 0; }
.legal-wrap p, .legal-wrap ul { color: var(--muted); font-size: .96rem; }
.legal-updated { font-size: .82rem !important; font-style: italic; color: var(--blue-600) !important; border-bottom: 1px solid var(--line); padding-bottom: 1rem; }
.legal-wrap .ticks li { color: var(--muted); }

/* ---------- Responsive ---------- */
/* Large tablets / small desktops */
@media (max-width: 1200px) {
  .mega-grid { gap: 1.1rem; }
  .mega-col a { font-size: .85rem; }
  .nav-link { padding: .55rem .6rem; font-size: .88rem; }
  .footer-cols { gap: 1.4rem; }
}

/* Nav crunch band: hide the GitHub link before the nav overlaps header actions */
@media (max-width: 1150px) {
  .header-actions .btn-ghost { display: none; }
}

/* Tighten nav sizing earlier so the 7-item nav never collides with the CTA (1201–1240px) */
@media (max-width: 1240px) {
  .nav-link { padding: .55rem .6rem; font-size: .88rem; }
  .nav-list { gap: 0; }
}

@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr; gap: 4.5rem; }
  .hero-cards { max-width: 640px; }
  .hero-copy { max-width: 640px; margin-inline: auto; }
  .hero-eyebrow { margin-bottom: 1.5rem; }
  .hero-copy h1 { margin-bottom: 1.6rem; }
  .hero-copy > p { margin-bottom: 2.4rem; }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
  .intro-grid, .cs-cols { grid-template-columns: 1fr; }
  .cs-cols .cs-visual .art { position: static; }
  .milestones { grid-template-columns: repeat(3, 1fr); }
}

/* Tablets */
@media (max-width: 991px) {
  .main-nav, .header-actions .btn-ghost { display: none; }
  .header-inner { justify-content: space-between; }
  .menu-toggle { display: flex; }
  .cards-3, .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .careers-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps li::after { display: none; }
  .sec-head.row { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .wp-card { grid-template-columns: 220px 1fr; }
}

@media (max-width: 900px) {
  .section { padding: 4rem 0; }
  .why-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
  .milestones { grid-template-columns: repeat(2, 1fr); }
  .team-grid.team-6 { grid-template-columns: repeat(2, 1fr); }
  .page-banner { padding: 7rem 0 4.5rem; }
}

@media (max-width: 768px) {
  .header-inner { gap: .7rem; }
  .brand-word { font-size: 1.1rem; }
  .header-actions .btn-primary { padding: .55rem 1.05rem; font-size: .85rem; }
  .hero { padding: 3.5rem 0 4.5rem; }
  .hero-cards { grid-template-columns: 1fr; max-width: 440px; }
  .hero-copy { max-width: 440px; }
  .fc-2 { margin-top: 0; }
  .fc-3 { max-width: none; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .wp-card { grid-template-columns: 1fr; }
  .wp-art svg { aspect-ratio: 16 / 7; }
  .event-card { flex-direction: column; gap: .9rem; }
}

/* Small phones */
@media (max-width: 640px) {
  .section { padding: 3.2rem 0; }
  .cards-3, .cap-grid, .team-grid, .team-grid.team-6, .milestones, .footer-cols { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .drop-two-col { grid-template-columns: 1fr; min-width: 0; }
  .quote-block { padding: 2.2rem 1.4rem; }
  .legal-wrap { padding: 1.8rem 1.4rem; }
  .contact-form-card, .contact-info { padding: 1.5rem; }
  .cookie-banner { left: .8rem; right: .8rem; bottom: 5rem; max-width: none; }
  .scroll-top { right: .9rem; bottom: .9rem; width: 44px; height: 44px; }
  .page-banner { padding: 6rem 0 3.8rem; }
  .page-banner h1 { font-size: 1.9rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* Very small phones */
@media (max-width: 400px) {
  /* Keep brand + actions on one line: "VertexCloudAI" is wider than the old mark */
  .brand-word { font-size: .9rem; }
  .brand-word em { font-size: .95em; }
  .brand-mark { width: 26px; height: 26px; }
  .brand { gap: .5rem; }
  .header-inner { gap: .4rem; }
  .header-actions .btn-primary { padding: .4rem .7rem; font-size: .75rem; }
  .menu-toggle { padding: .6rem; }
  .menu-toggle span { width: 20px; }
  .hero-cta .btn { width: 100%; }
  .cookie-actions .btn { flex: 1; padding: .5rem .6rem; font-size: .8rem; }
  .job-list li a { flex-direction: column; align-items: flex-start; gap: .35rem; }
  .job-meta { flex-direction: column; align-items: flex-start; gap: .25rem; }
}

/* Visually hidden (for screen-reader headings) */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
