/* K Resourcing — site-wide design tokens, layout, shared components and the home page. */

:root {
  --bg: #F5F7FC;
  --white: #FFFFFF;
  --ink: #0A1450;
  --navy: #070C33;
  --blue: #2D5FC8;
  --gold: #DBA858;
  --gold-hover: #E8BD75;
  --mist: #C9CFEA;
  --mist-2: #DDE2F4;
  --body: #2A3366;
  --muted: #4B5486;
  --muted-2: #8B93C2;
  --line: #D6DDF0;
  --line-2: #E2E7F4;
  --panel: #E9EEF9;
  --ai-dim: #AEB5DC;
  --ai-num: #6E77AE;

  --mono: 'Geist Mono', ui-monospace, monospace;
  --sans: Rubik, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: 1360px;
  --pad-x: clamp(20px, 4vw, 48px);
  --pad-x-tight: clamp(12px, 2vw, 24px);
  --section-y: clamp(88px, 11vw, 160px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue); }
input, textarea, button { font: inherit; }

@keyframes kr-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes kr-roll { 0% { opacity: 0; transform: translateY(60%); filter: blur(6px); } 100% { opacity: 1; transform: none; filter: blur(0); } }
@keyframes kr-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* clip, not hidden: overflow:hidden makes .page a scroll container and breaks the sticky header */
.page { min-height: 100vh; background: var(--bg); overflow-x: clip; }

/* ---------- shared bits ---------- */
.mono-label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
}
.h-display {
  margin: 0;
  font-size: clamp(44px, 5.8vw, 88px);
  line-height: .95;
  letter-spacing: -.04em;
  font-weight: 500;
}
.link-underline {
  align-self: flex-start;
  font-weight: 500;
  display: flex;
  gap: 28px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--gold);
}
.btn {
  display: inline-block;
  white-space: nowrap;
  padding: 17px 28px;
  border-radius: 14px;
  font-weight: 500;
  transition: background .2s, border-color .2s, color .2s;
}
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-hover); color: var(--navy); }
.btn-ghost {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .24);
  color: var(--white);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--white); }
.btn-sm { padding: 15px 24px; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }
.play {
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; padding: 12px var(--pad-x-tight); }
.header-bar {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(10, 20, 80, .08);
  box-shadow: 0 8px 30px rgba(10, 20, 80, .06);
}
.brand { display: flex; align-items: center; background: var(--navy); border-radius: 14px; padding: 4px 10px; flex: 0 0 auto; }
.brand img { height: 44px; width: auto; }
.main-nav {
  display: flex;
  gap: clamp(12px, 1.8vw, 26px);
  font-size: clamp(13px, 1.1vw, 15px);
  flex-wrap: nowrap;
  white-space: nowrap;
  min-width: 0;
  overflow: hidden;
}
.main-nav .is-current { color: var(--blue); }
.nav-ai { display: flex; align-items: center; gap: 6px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: 0 0 auto; }
.header-cta {
  padding: 12px 20px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  flex: 0 0 auto;
  transition: background .2s;
}
.header-cta:hover { background: var(--blue); color: var(--white); }
/* below 760px the inline nav would be clipped mid-word: it collapses behind the menu button (site.js) */
.menu-toggle { display: none; }
@media (max-width: 760px) {
  .main-nav { display: none; }
  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 46px;
    height: 46px;
    padding: 0 13px;
    margin-left: auto;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
    cursor: pointer;
    flex: 0 0 auto;
  }
  .menu-toggle:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
  .menu-toggle-bar { display: block; height: 2px; border-radius: 1px; background: var(--ink); transition: transform .25s, opacity .25s; }
  .is-menu-open .menu-toggle-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .is-menu-open .menu-toggle-bar:nth-child(2) { opacity: 0; }
  .is-menu-open .menu-toggle-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .site-header.is-menu-open .main-nav {
    display: flex;
    position: absolute;
    top: calc(100% - 4px);
    left: var(--pad-x-tight);
    right: var(--pad-x-tight);
    flex-direction: column;
    gap: 2px;
    padding: 8px;
    font-size: 17px;
    white-space: normal;
    overflow: visible;
    border-radius: 20px;
    /* opaque: a translucent/backdrop-filtered panel let the animated hero text show through */
    background: var(--white);
    border: 1px solid rgba(10, 20, 80, .08);
    box-shadow: 0 20px 40px rgba(10, 20, 80, .14);
  }
  .site-header.is-menu-open .main-nav a { padding: 14px 16px; border-radius: 12px; }
  .site-header.is-menu-open .main-nav a:hover { background: var(--bg); }
  .header-bar { gap: 10px; }
}
@media (max-width: 380px) { .header-cta { padding: 12px 14px; font-size: 13px; } }

/* ---------- accessibility + form plumbing ---------- */
.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--white);
  font-weight: 500;
}
.skip-link:focus { top: 12px; color: var(--white); }
/* honeypot: present for bots, invisible and unreachable for people */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error {
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #FDECEC;
  border: 1px solid #F5C2CB;
  color: #9F1D35;
  font-size: 14px;
  line-height: 1.5;
}
button[type="submit"]:disabled { opacity: .7; cursor: progress; }

/* server-rendered page for forms posted without JavaScript that failed validation */
.error-page { max-width: 640px; margin: 18vh auto; padding: 0 24px; display: flex; flex-direction: column; gap: 16px; }
.error-page h1 { margin: 0; font-size: clamp(34px, 5vw, 52px); letter-spacing: -.03em; font-weight: 500; }
.error-page p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--body); }
.error-page .btn { display: inline-block; }

/* ---------- 01 hero ---------- */
.hero-wrap { padding: 0 var(--pad-x-tight); }
.hero {
  position: relative;
  max-width: var(--wrap);
  margin: 0 auto;
  border-radius: 36px;
  overflow: hidden;
  min-height: clamp(640px, 86vh, 880px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--navy);
  color: var(--white);
}
.hero-img {
  position: absolute;
  inset: -6% 0 0 0;
  width: 100%;
  height: 112%;
  object-fit: cover;
  will-change: transform;
}
.hero-shade-x { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(7, 12, 51, .94) 0%, rgba(7, 12, 51, .78) 38%, rgba(10, 20, 80, .25) 75%, rgba(10, 20, 80, .1) 100%); }
.hero-shade-y { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7, 12, 51, .85) 0%, transparent 35%); }
.hero-body {
  position: relative;
  padding: clamp(28px, 4.5vw, 64px) clamp(24px, 4.5vw, 64px) 0;
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3vw, 36px);
  max-width: 900px;
}
.eyebrow {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 10px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--mist-2);
}
.eyebrow .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); animation: kr-pulse 2s infinite; }
.hero h1 {
  margin: 0;
  font-size: clamp(46px, 7vw, 112px);
  line-height: .98;
  letter-spacing: -.04em;
  font-weight: 400;
  display: flex;
  flex-direction: column;
}
.hero h1 em { font-style: normal; color: var(--gold); font-weight: 500; }
.roles {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  font-size: clamp(20px, 2vw, 28px);
  letter-spacing: -.015em;
  color: var(--mist);
}
.role-roller { display: inline-flex; overflow: hidden; padding-bottom: 4px; }
.role-roller span {
  color: var(--white);
  font-weight: 500;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
  animation: kr-roll .6s var(--ease) both;
}
.hero-lede { margin: 0; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; color: var(--mist-2); max-width: 40ch; }

.stats {
  position: relative;
  margin: clamp(40px, 5vw, 64px) var(--pad-x-tight) var(--pad-x-tight);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 1px;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .2);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}
.stat { padding: 22px 24px; background: rgba(7, 12, 51, .5); display: flex; flex-direction: column; gap: 6px; }
.stat-num { font-size: clamp(38px, 4vw, 56px); line-height: 1; letter-spacing: -.04em; }
.stat-num::after { content: "+"; color: var(--gold); }
.stat-label { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--mist); }

/* ---------- marquees ---------- */
.marquee-band {
  margin-top: clamp(32px, 4vw, 56px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
  background: var(--white);
}
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: kr-marquee 45s linear infinite; }
.marquee-track.words { gap: 32px; }
.marquee-track.logos { gap: 16px; animation-duration: 75s; }
.marquee-word {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: clamp(22px, 2.4vw, 34px);
  letter-spacing: -.02em;
  color: var(--ink);
  white-space: nowrap;
}
.marquee-word.is-ai { color: var(--blue); }
.marquee-word::after { content: ""; width: 9px; height: 9px; background: var(--gold); transform: rotate(45deg); }
.logo-tile {
  width: 260px;
  height: 120px;
  border-radius: 22px;
  background: var(--white);
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  padding: 22px 30px;
  flex: 0 0 auto;
}
.logo-tile img { width: auto; height: auto; max-width: 100%; max-height: 56px; }

/* ---------- 02 who we are ---------- */
.about { max-width: var(--wrap); margin: 0 auto; padding: var(--section-y) var(--pad-x); }
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 40px 64px; }
.about-side { display: flex; flex-direction: column; gap: 24px; }
.about-photo { border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 4.2; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-main { grid-column: span 2; display: flex; flex-direction: column; gap: 36px; justify-content: center; }
.about-lead { margin: 0; font-size: clamp(28px, 3.4vw, 50px); line-height: 1.12; letter-spacing: -.03em; text-wrap: pretty; }
.about-lead span { color: var(--muted-2); }
.about-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 28px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.about-cols p { margin: 0; }
/* at one column (viewport < ~680px) span 2 would force an implicit second column */
@media (max-width: 680px) { .about-main { grid-column: auto; } }

/* ---------- 03 AI ---------- */
.ai-wrap { padding: 0 var(--pad-x-tight); }
.ai {
  position: relative;
  max-width: var(--wrap);
  margin: 0 auto;
  border-radius: 40px;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}
.ai-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 60%);
  mask-image: linear-gradient(180deg, #000, transparent 60%);
  pointer-events: none;
}
.ai-glow {
  position: absolute;
  top: -240px;
  right: -160px;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--blue), transparent 62%);
  opacity: .6;
  pointer-events: none;
}
.ai-grid {
  position: relative;
  padding: clamp(48px, 7vw, 104px) clamp(24px, 5vw, 72px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: 56px;
  align-items: start;
}
.ai-intro { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 24px; }
.ai-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
}
.ai-kicker span { padding: 4px 8px; border: 1px solid var(--gold); border-radius: 6px; }
.ai-intro h2 { text-wrap: balance; }
.ai-intro p { margin: 0; font-size: 18px; line-height: 1.6; color: var(--mist); max-width: 44ch; }
.btn-outline { border: 1px solid rgba(255, 255, 255, .24); color: var(--white); }
.btn-outline:hover { border-color: var(--gold); color: var(--white); }

.ai-list { display: flex; flex-direction: column; }
.ai-cap {
  all: unset;
  cursor: pointer;
  display: grid;
  grid-template-columns: 48px 1fr 24px;
  gap: 16px;
  padding: 22px 4px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  align-items: start;
}
.ai-cap:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.ai-cap-n { font-family: var(--mono); font-size: 13px; color: var(--ai-num); padding-top: 6px; transition: color .3s; }
.ai-cap-main { display: flex; flex-direction: column; gap: 10px; }
.ai-cap-title { font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -.02em; color: var(--ai-dim); transition: color .3s; }
.ai-cap-plus { font-size: 20px; color: var(--ai-num); padding-top: 4px; transition: transform .3s, color .3s; }
.ai-cap-body { font-size: 15.5px; line-height: 1.6; color: var(--mist); max-width: 52ch; }
.ai-cap-inner { display: flex; flex-direction: column; gap: 12px; padding-bottom: 4px; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { font-family: var(--mono); font-size: 10.5px; padding: 4px 8px; border-radius: 6px; background: rgba(255, 255, 255, .1); color: var(--mist-2); }
.ai-cap.is-open .ai-cap-n,
.ai-cap.is-open .ai-cap-plus { color: var(--gold); }
.ai-cap.is-open .ai-cap-title { color: var(--white); }
.ai-cap.is-open .ai-cap-plus { transform: rotate(45deg); }

/* shared expand/collapse (grid rows 0fr -> 1fr) */
.expand { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.expand > * { overflow: hidden; min-height: 0; }
.is-open > * > .expand,
.is-open > .expand { grid-template-rows: 1fr; }

.ai-steps {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}
.ai-step {
  padding: 28px clamp(24px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-right: 1px solid rgba(255, 255, 255, .12);
}
.ai-step-n { font-family: var(--mono); font-size: 12px; color: var(--gold); }
.ai-step-body { font-size: 15px; line-height: 1.55; color: var(--mist); }

/* ---------- 04 services ---------- */
.services {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: var(--section-y) var(--pad-x);
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); }
.services-head { gap: 32px; align-items: end; }
.services-head p { margin: 0; font-size: 17px; line-height: 1.65; color: var(--body); max-width: 60ch; }
.tabs { display: flex; gap: 6px; padding: 6px; background: var(--panel); border-radius: 16px; align-self: flex-start; }
.tab {
  border: 0;
  cursor: pointer;
  padding: 12px 22px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  background: transparent;
  color: var(--muted);
  transition: all .25s;
}
.tab[aria-selected="true"] { background: var(--white); color: var(--ink); box-shadow: 0 2px 10px rgba(10, 20, 80, .1); }
.services-body { gap: 24px; align-items: stretch; }
.svc-list { display: flex; flex-direction: column; gap: 10px; }
.svc {
  all: unset;
  cursor: pointer;
  border-radius: 22px;
  padding: 24px 26px;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line-2);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background .3s, color .3s, border-color .3s;
}
.svc:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.svc.is-open { background: var(--ink); color: var(--white); border-color: var(--ink); }
.svc-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.svc-title { font-size: 24px; letter-spacing: -.02em; font-weight: 500; }
.svc-n { font-family: var(--mono); font-size: 12px; opacity: .6; }
.svc-inner { display: flex; flex-direction: column; gap: 14px; }
.svc-body { font-size: 15px; line-height: 1.6; opacity: .85; }
.svc-ai { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11.5px; color: var(--gold); }
.svc-list .link-underline { margin-top: 10px; }
.svc-photo { position: relative; border-radius: 28px; overflow: hidden; min-height: 480px; }
.svc-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc-card {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  padding: 20px 22px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.svc-card-text { display: flex; flex-direction: column; gap: 4px; }
.svc-card-label { font-family: var(--mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.svc-card-title { font-size: 20px; font-weight: 500; }
.svc-card a {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 18px;
  flex: 0 0 auto;
  transition: background .2s;
}
.svc-card a:hover { background: var(--blue); color: var(--white); }

/* ---------- 05 core values ---------- */
.values-band { background: var(--white); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.values {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: var(--section-y) var(--pad-x);
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.di { position: relative; border-radius: 32px; overflow: hidden; min-height: 520px; display: flex; align-items: flex-end; background: var(--navy); }
.di > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.di-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 12, 51, .88), rgba(7, 12, 51, .2) 70%); }
.di-body { position: relative; padding: clamp(24px, 4vw, 56px); color: var(--white); display: flex; flex-direction: column; gap: 20px; max-width: 620px; }
.di-body h3 { margin: 0; font-size: clamp(30px, 3.4vw, 48px); letter-spacing: -.03em; font-weight: 500; }
.di-body p { margin: 0; font-size: 16px; line-height: 1.65; color: var(--mist-2); }
.di-video { align-self: flex-start; display: flex; align-items: center; gap: 14px; color: var(--white); }
.di-video:hover { color: var(--gold); }
.di-video .play { width: 52px; height: 52px; }
.value-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 16px; }
.value {
  border-radius: 24px;
  padding: 28px;
  background: var(--bg);
  border: 1px solid var(--line-2);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background .3s, color .3s, transform .3s;
}
.value:hover { background: var(--ink); color: var(--white); transform: translateY(-6px); }
.value-bar { width: 40px; height: 4px; border-radius: 2px; background: var(--gold); }
.value h3 { margin: 0; font-size: 24px; font-weight: 500; letter-spacing: -.02em; }
.value p { margin: 0; font-size: 15px; line-height: 1.6; opacity: .8; }

/* ---------- 06 clients ---------- */
.clients { padding: clamp(88px, 11vw, 140px) 0; display: flex; flex-direction: column; gap: 40px; }
.clients-row { max-width: var(--wrap); width: 100%; margin: 0 auto; padding: 0 var(--pad-x); }
.clients-row h2 { margin: 0; font-size: clamp(32px, 3.6vw, 52px); letter-spacing: -.03em; font-weight: 500; max-width: 16ch; line-height: 1.02; }
.testimonial { gap: 40px; align-items: center; }
.testimonial-text { display: flex; flex-direction: column; gap: 20px; }
.testimonial-text h3 { margin: 0; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.04; font-weight: 500; letter-spacing: -.03em; }
.testimonial-text p { margin: 0; font-size: 17px; line-height: 1.65; color: var(--body); max-width: 46ch; }
.video-card {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--ink), var(--blue));
  display: grid;
  place-items: center;
  overflow: hidden;
}
.video-card:hover { color: inherit; }
.video-card > img { height: 34%; width: auto; mix-blend-mode: lighten; opacity: .9; }
.video-pill {
  position: absolute;
  right: 20px;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 18px 8px 8px;
  border-radius: 99px;
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}
.video-pill .play { width: 40px; height: 40px; }
button.video-card, button.cr-video { border: 0; padding: 0; width: 100%; font: inherit; text-align: left; cursor: pointer; }
.video-card > img.video-poster { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; opacity: 1; transition: transform .8s; }
.video-card:hover > img.video-poster { transform: scale(1.03); }

/* ---------- video dialog (site.js) ---------- */
.video-dialog { width: min(1100px, calc(100vw - 32px)); max-width: none; padding: 0; border: 0; background: transparent; overflow: visible; }
.video-dialog::backdrop { background: rgba(7, 12, 51, .86); }
.video-dialog video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 20px; background: #000; }
.video-dialog-close {
  position: absolute;
  top: -52px;
  right: 0;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

/* ---------- 07 location ---------- */
.location { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad-x-tight); }
.location-card { border-radius: 36px; overflow: hidden; background: var(--panel); }
.location-photo { min-height: 420px; position: relative; background: var(--ink); }
.location-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.location-body { padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; gap: 22px; justify-content: center; }
.location-body h2 { margin: 0; font-size: clamp(36px, 4.4vw, 64px); line-height: .98; letter-spacing: -.035em; font-weight: 500; }
.location-body p { margin: 0; font-size: 16px; line-height: 1.7; color: var(--body); }
.clocks { display: flex; gap: 10px; flex-wrap: wrap; }
.clock { padding: 10px 14px; border-radius: 12px; background: var(--white); display: flex; gap: 10px; align-items: baseline; }
.clock-city { font-family: var(--mono); font-size: 11px; color: var(--muted); text-transform: uppercase; }
.clock-time { font-size: 17px; font-weight: 500; font-variant-numeric: tabular-nums; }

/* ---------- 08 insights ---------- */
.insights {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: var(--section-y) var(--pad-x);
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.insights-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.insights-head a { font-weight: 500; padding-bottom: 6px; border-bottom: 2px solid var(--gold); }
.insight-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.insight { display: flex; flex-direction: column; gap: 18px; }
.insight:hover { color: var(--blue); }
.insight-img { aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden; }
.insight-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.insight:hover .insight-img img { transform: scale(1.05); }
.insight-tag { font-family: var(--mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.insight h3 { margin: 0; font-size: 22px; line-height: 1.25; font-weight: 500; letter-spacing: -.015em; text-wrap: balance; }
.insight p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--body); }

/* ---------- 09 contact ---------- */
.contact { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad-x-tight) clamp(88px, 11vw, 140px); }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 16px; }
.offer {
  border-radius: 36px;
  background: var(--gold);
  color: var(--navy);
  padding: clamp(28px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  gap: 22px;
  justify-content: space-between;
}
.offer h2 { margin: 0; font-size: clamp(36px, 4.4vw, 64px); line-height: 1; letter-spacing: -.035em; font-weight: 500; text-wrap: balance; }
.offer-text { display: flex; flex-direction: column; gap: 14px; }
.offer-text p { margin: 0; font-size: 17px; line-height: 1.6; }
.offer-text p + p { font-weight: 500; }
.form-card {
  border-radius: 36px;
  background: var(--white);
  border: 1px solid var(--line-2);
  padding: clamp(24px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
.field input,
.field textarea {
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  outline: none;
  transition: border-color .2s, background .2s;
}
.field textarea { resize: vertical; }
.field input:focus,
.field textarea:focus { border-color: var(--blue); background: var(--white); }
.submit {
  margin-top: 6px;
  padding: 17px;
  border: 0;
  border-radius: 14px;
  background: var(--ink);
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background .2s;
}
.submit:hover { background: var(--blue); }

/* contact as a standalone section (About, Services): it needs its own top padding */
.contact.is-standalone { padding-top: clamp(88px, 11vw, 140px); }

/* ---------- inner-page blocks shared by About and Services ---------- */
.numbers {
  max-width: var(--wrap);
  margin: 0 auto;
  border-radius: 36px;
  background: var(--navy);
  color: var(--white);
  padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.numbers h2 { margin: 0; font-size: clamp(34px, 4vw, 56px); letter-spacing: -.03em; font-weight: 500; }
.numbers-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; }
.num { padding: 24px 0 20px; border-top: 1px solid rgba(255, 255, 255, .18); display: flex; flex-direction: column; gap: 14px; }
.num-value { font-size: clamp(64px, 7vw, 104px); font-weight: 300; line-height: .9; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.num-value .plus { color: var(--gold); }
.num-label { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); }

/* navy label/number badge pinned to a photo corner; each page sets left/right/bottom */
.stat-badge {
  position: absolute;
  padding: 18px 22px;
  border-radius: 20px;
  background: var(--ink);
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 20px 50px rgba(10, 20, 80, .25);
}
.stat-badge span:first-child { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); }
.stat-badge span:last-child { font-size: 36px; letter-spacing: -.03em; line-height: 1; }

/* dark rounded panel with a dot grid and a blue glow (Careers perks, Benefits process) */
.dot-panel {
  position: relative;
  max-width: var(--wrap);
  margin: 0 auto;
  border-radius: 40px;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  padding: clamp(48px, 7vw, 104px) clamp(24px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.dot-panel-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 50%);
  mask-image: linear-gradient(180deg, #000, transparent 50%);
  pointer-events: none;
}
.dot-panel-glow {
  position: absolute;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--blue), transparent 62%);
  pointer-events: none;
}

/* full-bleed photo with a frosted card on top */
.photo-panel {
  position: relative;
  max-width: var(--wrap);
  margin: 0 auto;
  border-radius: 36px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: var(--navy);
}
.photo-panel > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-panel-shade { position: absolute; inset: 0; }
.glass-card {
  position: relative;
  margin: clamp(16px, 4vw, 56px);
  padding: clamp(28px, 4vw, 48px);
  border-radius: 28px;
  background: rgba(10, 20, 80, .72);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, .18);
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.glass-card h2 { margin: 0; letter-spacing: -.035em; font-weight: 500; }
.glass-card p { margin: 0; color: var(--mist-2); }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: var(--white); }
.footer-col .is-current { color: var(--gold); }
.footer-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(64px, 8vw, 104px) var(--pad-x) 32px;
  display: flex;
  flex-direction: column;
  gap: 64px;
}
.footer-cta { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.footer-cta-text { display: flex; flex-direction: column; gap: 18px; }
.footer-cta h2 { margin: 0; font-size: clamp(34px, 4.6vw, 68px); line-height: 1; letter-spacing: -.035em; font-weight: 500; max-width: 17ch; }
.footer-cta p { margin: 0; color: var(--mist); font-size: 16px; }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 32px;
  font-size: 14px;
  color: var(--mist);
  line-height: 1.75;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.footer-col { display: flex; flex-direction: column; }
.footer-brand { gap: 14px; }
.footer-brand img { height: 72px; width: auto; align-self: flex-start; }
.footer-brand span { font-size: 17px; color: var(--white); }
.footer-col-label { font-family: var(--mono); font-size: 11px; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.footer-copy { font-size: 12px; color: var(--muted-2); }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html, body { scroll-behavior: auto; }
  .marquee-track, .role-roller span, .eyebrow .pulse { animation: none; }
  .expand, .ai-cap-plus, .svc, .value, .insight-img img { transition: none; }
}
