/* ============ Ascendiz — shared styles ============ */
:root {
  --blue: #0369CD;
  --blue-dark: #024E9B;
  --blue-light: #3E8DE0;
  --indigo: #4D54CE;
  --navy: #091E42;
  --ink: #141414;
  --ink-soft: #1d1f24;
  --body: #464748;
  --line: #C2C7D0;
  --card: #EAEFFF;
  --card-2: #DDF3FB;
  --white: #FFFFFF;
  --bg: #FBFCFF;

  /* .nav is position: fixed here, so it overlays the hero band */
  --nav-overlay-offset: 36px;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  /* iOS-like drawer curve (Ionic) */
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--body);
  font-family: "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--blue); color: #fff; }

h1, h2, h3, h4 { color: var(--navy); font-weight: 700; letter-spacing: -0.01em; text-wrap: balance; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding-inline: 24px;
}

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 350ms var(--ease-in-out), box-shadow 350ms var(--ease-in-out);
}

.nav.on-blue { }

.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav.scrolled {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 1px 0 rgba(9,30,66,0.08);
}

.nav.scrolled .nav-link { color: var(--navy); }

.nav.scrolled .talk-btn {
  background: var(--blue);
  color: #fff;
}

.logo {
  position: relative;
  display: flex;
  align-items: center;
  transition: transform 160ms var(--ease-out);
}
.logo:active { transform: scale(0.96); }

.logo-img {
  height: 32px;
  width: auto;
  display: block;
}

/* The nav sits transparent over the blue hero and turns white on scroll, so the
   lockup has to swap with it. Both variants are stacked and cross-faded on the
   same 350ms curve as the nav background, so the two read as one change. The
   white one stays in flow and sizes the link; the dark one is layered over it. */
.logo-on-light {
  position: absolute;
  top: 0; left: 0;
  opacity: 0;
}
.logo-on-dark,
.logo-on-light { transition: opacity 350ms var(--ease-in-out); }

.nav.scrolled .logo-on-dark { opacity: 0; }
.nav.scrolled .logo-on-light { opacity: 1; }

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
  position: relative;
  transition: color 300ms ease, opacity 200ms ease;
}
.nav-link.active { opacity: 1; }
.nav-link:hover { opacity: 0.75; }

@media (max-width: 860px) {
  .nav-links { display: none; }
}

.talk-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.3);
  transition: transform 160ms var(--ease-out), background 250ms ease, color 250ms ease;
}
.talk-btn:hover { background: rgba(255,255,255,0.28); }
.talk-btn:active { transform: scale(0.95); }

/* dark-on-white variant for inner pages after scroll uses .scrolled above */

/* ---------- HERO BAND ---------- */
.hero-band {
  background: linear-gradient(160deg, var(--blue) 0%, #0459AE 60%, #033f85 100%);
  position: relative;
  overflow: hidden;
  padding-bottom: 90px;
}

.hero-band::before {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.14), transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 70px 24px 0;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.24);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeUp 800ms var(--ease-out) 80ms forwards;
}

/* A hero with no eyebrow above it: the title has to clear the fixed nav on its
   own, and it should not sit through the beat the eyebrow used to fill. */
.hero-inner > .hero-title:first-child {
  margin-top: calc(22px + var(--nav-overlay-offset));
}
.hero-inner > .hero-title:first-child .solid { animation-delay: 80ms; }
.hero-inner > .hero-title:first-child .outline { animation-delay: 220ms; }

.hero-title {
  margin-top: 22px;
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
}

.hero-title .solid {
  opacity: 0;
  display: inline-block;
  transform: translateY(16px);
  animation: fadeUp 900ms var(--ease-out) 180ms forwards;
}

.hero-title .outline {
  display: inline-block;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.55);
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 900ms var(--ease-out) 320ms forwards;
}

.hero-flex {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
}

.hero-sub {
  max-width: 480px;
  font-size: clamp(17px, 2vw, 21px);
  color: rgba(255,255,255,0.92);
  opacity: 0;
  transform: translateY(14px);
  animation: fadeUp 900ms var(--ease-out) 440ms forwards;
}

.hero-stats {
  display: flex;
  gap: 48px;
  opacity: 0;
  transform: translateY(14px);
  animation: fadeUp 900ms var(--ease-out) 560ms forwards;
}

.hero-stat .num {
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 800;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.hero-stat .label {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  margin-top: 4px;
  max-width: 160px;
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.hero-media {
  margin-top: 56px;
  position: relative;
  border-radius: 22px;
  overflow: visible;
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  animation: fadeUp 1000ms var(--ease-out) 680ms forwards;
}

.hero-media-frame {
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 21/8;
  background: linear-gradient(120deg, #0a2d5c, #08488f 45%, #1c63b8 100%);
  position: relative;
  border: 1px solid rgba(255,255,255,0.18);
}

.hero-media-frame .deco {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 15% 30%, rgba(255,255,255,0.14), transparent 40%),
    radial-gradient(circle at 85% 70%, rgba(77,84,206,0.5), transparent 45%);
}

.hero-media-frame svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.5; }

/* rotating contact badge */
.contact-badge {
  position: absolute;
  right: 28px;
  bottom: -34px;
  width: 108px; height: 108px;
}
@media (max-width: 640px) { .contact-badge { width: 84px; height: 84px; right: 16px; bottom: -24px; } }

.contact-badge svg#badgeRing {
  width: 100%; height: 100%;
  animation: spin 14s linear infinite;
}

.contact-badge .badge-center {
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(9,30,66,0.25);
  transition: transform 200ms var(--ease-out);
}
.contact-badge:hover .badge-center { transform: scale(1.08); }
.contact-badge .badge-center svg { width: 34%; height: 34%; }

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .contact-badge svg#badgeRing { animation: none; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.15s !important; }
}

/* ---------- SECTIONS ---------- */
section { padding: 96px 0; }
.section-tight { padding: 64px 0; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.section-head h2 {
  font-size: clamp(30px, 4.2vw, 44px);
  line-height: 1.12;
}

.kicker {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
  display: block;
}

.section-lead {
  font-size: 18px;
  color: var(--body);
  max-width: 620px;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: var(--line);
  min-width: 60px;
}

/* reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(26px) scale(0.985);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: translateY(0) scale(1); }

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(22px) scale(0.985);
  transition: opacity 650ms var(--ease-out), transform 650ms var(--ease-out);
}
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 60ms; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 120ms; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 180ms; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 240ms; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 300ms; }
.reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0) scale(1); }

/* ---------- CLIENTS MARQUEE ----------
   Constant motion, not an entrance — linear easing, no start/stop cues.
   Two identical logo groups sit back to back in one flex track; the
   keyframe moves exactly -50% (one group's width), so the moment group 2
   lines up where group 1 started, the loop restarts invisibly. */
.clients-section { overflow: hidden; }

.clients-marquee {
  margin-top: 28px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
}
.clients-track {
  display: flex;
  width: max-content;
  animation: clients-scroll 100s linear infinite;
}
.clients-group {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-right: 16px;
  flex-shrink: 0;
}
.client-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 88px;
  padding: 0 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  flex-shrink: 0;
}
.client-logo-card img {
  width: 100%;
  height: 52px;
  object-fit: contain;
  display: block;
}
@keyframes clients-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
/* Pausable on hover so a visitor who spots a logo they want to read can
   actually stop and look, rather than chasing a constantly-moving strip. */
@media (hover: hover) and (pointer: fine) {
  .clients-marquee:hover .clients-track { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) {
  .clients-track { animation: none; }
  .clients-group[aria-hidden="true"] { display: none; }
  .clients-marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
}

/* ---------- SERVICE / VALUE CARDS ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.svc-card {
  background: var(--card);
  border-radius: 20px;
  padding: 34px 30px;
  transition: transform 260ms var(--ease-out), box-shadow 260ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .svc-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(9,30,66,0.08); }
}

.svc-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--blue);
}
.svc-icon svg { width: 24px; height: 24px; }

.svc-card h3 { font-size: 20px; margin-bottom: 12px; }
.svc-card p { font-size: 15px; line-height: 1.6; }

.svc-divider { height: 1px; background: rgba(9,30,66,0.1); margin: 14px 0 16px; }

/* ---------- ABOUT / STORY ---------- */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 860px) { .about-split { grid-template-columns: 1fr; gap: 32px; } }

.about-visual {
  aspect-ratio: 4/3.3;
  border-radius: 24px;
  background: linear-gradient(150deg, var(--navy), #123a72 60%, var(--blue) 130%);
  position: relative;
  overflow: hidden;
}
.about-visual svg,
.about-visual img { position: absolute; inset: 0; width: 100%; height: 100%; }
.about-visual img { object-fit: cover; }

/* ---------- PROJECTS ---------- */
.projects-band {
  background: linear-gradient(180deg, #ffffff 0%, #EAF1FF 55%, #ffffff 100%);
}

.proj-card {
  display: block;
  color: inherit;
  border-radius: 20px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 260ms var(--ease-out), box-shadow 260ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .proj-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(9,30,66,0.12); }
}

.proj-thumb {
  aspect-ratio: 16/11;
  position: relative;
  overflow: hidden;
}
.proj-thumb svg,
.proj-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; }
.proj-thumb img { object-fit: cover; transition: transform 420ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .proj-card:hover .proj-thumb img { transform: scale(1.04); }
}

.proj-tags {
  position: absolute;
  left: 14px; bottom: 14px;
  display: flex;
  gap: 8px;
}
.tag-pill {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}

.proj-body { padding: 20px 22px 24px; }
.proj-body h3 { font-size: 19px; margin-bottom: 8px; }
.proj-body p { font-size: 14.5px; }

.view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1.5px solid var(--navy);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 160ms var(--ease-out), background 220ms ease, color 220ms ease;
}
.view-all-btn:hover { background: var(--navy); color: #fff; }
.view-all-btn:active { transform: scale(0.95); }
.view-all-btn .arrow-circle {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: currentColor;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background 220ms ease;
}
.view-all-btn .arrow-circle svg { width: 12px; height: 12px; transition: color 220ms ease; }
.view-all-btn:not(:hover) .arrow-circle svg { color: var(--white); }
.view-all-btn:hover .arrow-circle svg { color: var(--navy); }
.view-all-btn:not(:hover) .arrow-circle { background: var(--navy); }
.view-all-btn:hover .arrow-circle { background: var(--white); }

/* ---------- PROCESS ---------- */
.process-list { display: flex; flex-direction: column; }
.process-step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.process-step:first-child { padding-top: 0; }
.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.process-step h3 { font-size: 22px; color: var(--blue); margin-bottom: 8px; }
.process-step p { font-size: 15.5px; max-width: 480px; }

.process-visual {
  border-radius: 20px;
  aspect-ratio: 3/3.6;
  background: linear-gradient(160deg, #123a72, var(--blue));
  position: relative;
  transform: rotate(3deg);
  overflow: hidden;
}
.process-visual svg,
.process-visual img { position: absolute; inset: 0; width: 100%; height: 100%; }
.process-visual img { object-fit: cover; }

.process-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .process-grid { grid-template-columns: 1fr; } .process-visual { order: -1; max-width: 320px; margin: 0 auto; transform: rotate(0); } }

/* ---------- VALUES / TEAM ---------- */
.value-card { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 32px 28px; }
.value-card .num { font-size: 14px; font-weight: 800; color: var(--blue); letter-spacing: 0.06em; }
.value-card h3 { font-size: 20px; margin: 12px 0 10px; }
.value-card p { font-size: 15px; }

.team-card { text-align: left; }
.team-avatar {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 18px;
  background: linear-gradient(150deg, var(--indigo), var(--blue));
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 16px;
}
.team-card h4 { font-size: 17px; color: var(--navy); }
.team-card .role { font-size: 13.5px; color: var(--blue); font-weight: 600; margin-top: 3px; }

/* ---------- FAQ ---------- */
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  cursor: pointer;
}
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
}
.faq-q .plus {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--card);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform 300ms var(--ease-in-out), background 200ms ease;
}
.faq-item[data-open="true"] .plus { transform: rotate(45deg); background: var(--blue); color: #fff; }
.faq-a {
  font-size: 15px;
  color: var(--body);
  max-width: 640px;
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 350ms var(--ease-in-out);
}
.faq-a > div { overflow: hidden; }
.faq-item[data-open="true"] .faq-a { grid-template-rows: 1fr; }
.faq-a p { padding-top: 14px; }

/* ---------- CONTACT ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label { font-size: 13.5px; font-weight: 700; color: var(--navy); }
.field input, .field textarea {
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 13px 16px;
  font-family: inherit;
  font-size: 15px;
  color: var(--navy);
  background: var(--white);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(3,105,205,0.12);
}
.field textarea { resize: vertical; min-height: 120px; }

.submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform 160ms var(--ease-out), background 220ms ease;
}
.submit-btn:hover { background: var(--blue-dark); }
.submit-btn:active { transform: scale(0.96); }
.submit-btn.is-sent { background: #1c8a4a; }

.submit-btn-icon {
  position: relative;
  width: 16px; height: 16px;
  flex-shrink: 0;
}
.submit-btn-icon svg {
  position: absolute;
  inset: 0;
  transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out);
}
.submit-btn-icon .icon-check { opacity: 0; transform: scale(0.85); }
.submit-btn.is-sent .icon-arrow { opacity: 0; transform: scale(0.85); }
.submit-btn.is-sent .icon-check { opacity: 1; transform: scale(1); }

.info-card {
  background: var(--card);
  border-radius: 20px;
  padding: 30px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.info-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--white);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.info-icon svg { width: 20px; height: 20px; }
.info-card h4 { font-size: 15.5px; color: var(--navy); margin-bottom: 4px; }
.info-card p { font-size: 14.5px; }

/* ---------- CTA BAND ---------- */
.cta-band {
  background: var(--ink);
  border-radius: 32px;
  margin: 0 24px;
  padding: 72px 48px;
  position: relative;
  overflow: hidden;
}
@media (max-width: 640px) { .cta-band { padding: 48px 26px; margin: 0 16px; } }

.cta-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(30px, 4.6vw, 48px);
  max-width: 640px;
}

/* ---------- BUTTONS (generic) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14.5px;
  transition: transform 160ms var(--ease-out), background 220ms ease, color 220ms ease;
}
.btn:active { transform: scale(0.95); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: #eef1f7; }
.btn-outline-white { border: 1.5px solid rgba(255,255,255,0.5); color: #fff; }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); }

/* ---------- FOOTER ---------- */
footer {
  background: var(--ink);
  color: rgba(255,255,255,0.75);
  padding: 56px 0 28px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand { max-width: 320px; }

.footer-tagline { margin-top: 14px; font-size: 15px; }
.footer-chat-btn {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: transform 160ms var(--ease-out), background 220ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .footer-chat-btn:hover { background: #eef1f7; }
}
.footer-chat-btn:active { transform: scale(0.95); }
.footer-chat-btn .dot {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.footer-chat-btn .dot svg { width: 12px; height: 12px; }

.footer-links h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-link-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 40px; }
.footer-link-grid a { font-size: 14.5px; transition: color 200ms ease; }
.footer-link-grid a:hover { color: #fff; }

.footer-bottom {
  padding-top: 22px;
  font-size: 13px;
  text-align: center;
  color: rgba(255,255,255,0.5);
}

/* ---------- misc ---------- */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }

/* ---------- TEAM CARD (clickable) ---------- */
section[id] { scroll-margin-top: 84px; }

.team-card {
  display: block;
  text-align: left;
  transition: transform 260ms var(--ease-out);
}
.team-card:active { transform: scale(0.98); }

.team-avatar {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  isolation: isolate;
  background: linear-gradient(150deg, var(--indigo), var(--blue));
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 16px;
  box-shadow: 0 1px 2px rgba(9,30,66,0.06);
  transition: box-shadow 260ms var(--ease-out);
}
.team-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 420ms var(--ease-out);
}

/* the "view profile" chevron — hidden until intent is shown */
.team-card .name-row {
  display: flex;
  align-items: center;
  gap: 6px;
}
.team-card .name-row svg {
  width: 15px; height: 15px;
  flex-shrink: 0;
  color: var(--blue);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .team-card:hover { transform: translateY(-4px); }
  .team-card:hover .team-avatar { box-shadow: 0 18px 34px rgba(9,30,66,0.14); }
  .team-card:hover .team-avatar img { transform: scale(1.04); }
  .team-card:hover .name-row svg { opacity: 1; transform: translateX(0); }
}

/* touch devices never hover — keep the affordance visible instead */
@media (hover: none) {
  .team-card .name-row svg { opacity: 0.5; transform: none; }
}

.team-card:focus-visible {
  outline: none;
}
.team-card:focus-visible .team-avatar {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

/* ---------- PROFILE (team detail) ---------- */
.profile-hero { padding-bottom: 150px; }
/* The hero's own top padding is 70px. A `position: fixed` .nav is out of flow and
   overlays the band, so the profile hero needs to clear it; a `position: sticky`
   .nav occupies flow and needs no extra offset (set the token to 0px). */
.profile-hero .hero-inner { padding-top: calc(70px + var(--nav-overlay-offset)); }

.back-link {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.82);
  margin-bottom: 22px;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeUp 800ms var(--ease-out) 40ms forwards;
  transition: color 200ms ease;
}
.back-link svg {
  width: 15px; height: 15px;
  transition: transform 200ms var(--ease-out);
}
.back-link:hover { color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .back-link:hover svg { transform: translateX(-3px); }
}

.profile-hero .hero-title { font-size: clamp(34px, 5.4vw, 60px); }

.profile-role {
  margin-top: 14px;
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  letter-spacing: 0.01em;
  opacity: 0;
  transform: translateY(14px);
  animation: fadeUp 900ms var(--ease-out) 380ms forwards;
}

.profile-intro-section { padding-top: 0; }

.profile-intro {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 56px;
  align-items: start;
  margin-top: -110px;
}
@media (max-width: 860px) {
  .profile-intro { grid-template-columns: 1fr; gap: 32px; margin-top: -90px; }
}

.profile-photo {
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 1;
  background: linear-gradient(150deg, var(--indigo), var(--blue));
  box-shadow: 0 24px 60px rgba(9,30,66,0.24);
  border: 5px solid var(--white);
}
@media (max-width: 860px) { .profile-photo { max-width: 300px; } }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; }

.profile-lead { padding-top: 124px; }
@media (max-width: 860px) { .profile-lead { padding-top: 0; } }

.profile-bio {
  font-size: 18px;
  line-height: 1.65;
  color: var(--body);
}

.profile-body {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 960px) { .profile-body { grid-template-columns: 1fr; gap: 48px; } }

.profile-body h2 { font-size: clamp(26px, 3.4vw, 34px); margin-bottom: 22px; }

/* rich text */
.rich p { font-size: 16.5px; line-height: 1.7; }
.rich p + p { margin-top: 16px; }
.rich strong { color: var(--navy); font-weight: 700; }

/* education */
.edu-card {
  margin-top: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px 26px;
}
.edu-card .kicker { margin-bottom: 8px; }
.edu-card h4 { font-size: 16.5px; }
.edu-card p { font-size: 14.5px; margin-top: 4px; }

/* experience list */
.exp-list { display: flex; flex-direction: column; }

.exp-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  align-items: center;
  padding: 20px 0;
}
.exp-item + .exp-item { border-top: 1px solid var(--line); }
.exp-item:first-child { padding-top: 0; }

.exp-logo {
  width: 52px; height: 52px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  flex-shrink: 0;
}
.exp-logo img { width: 100%; height: 100%; object-fit: contain; }

.exp-role { font-size: 16px; font-weight: 700; color: var(--navy); line-height: 1.35; }
.exp-meta { font-size: 14px; margin-top: 4px; }
.exp-meta .company { color: var(--blue); font-weight: 600; }
.exp-meta .years { color: var(--body); font-variant-numeric: tabular-nums; }

/* ---------- MOBILE MENU ---------- */
.menu-btn {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.16);
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
  place-items: center;
  gap: 5px;
  flex-direction: column;
  transition: transform 160ms var(--ease-out), background 250ms ease, border-color 250ms ease;
}
.menu-btn:active { transform: scale(0.94); }
.nav.scrolled .menu-btn { background: var(--blue); border-color: var(--blue); }

.menu-bar {
  display: block;
  width: 17px; height: 2px;
  border-radius: 2px;
  background: #fff;
  /* the bars morph into an X — transform only, so it stays off the main thread */
  transition: transform 220ms var(--ease-out), opacity 160ms var(--ease-out);
}
.menu-btn[aria-expanded="true"] .menu-bar:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-bar:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 860px) {
  .menu-btn { display: flex; }
  .nav .talk-btn { display: none; }
}

.m-menu { position: fixed; inset: 0; z-index: 1100; }
.m-menu[hidden] { display: none; }

.m-menu-scrim {
  position: absolute; inset: 0;
  background: rgba(9,30,66,0.5);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 260ms var(--ease-out);
}
.m-menu.is-open .m-menu-scrim { opacity: 1; }

.m-menu-panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(320px, 86vw);
  background: var(--white);
  padding: 92px 26px 26px;
  display: flex;
  flex-direction: column;
  box-shadow: -18px 0 50px rgba(9,30,66,0.2);
  /* translateX by its own width, so it works at any panel size */
  transform: translateX(100%);
  transition: transform 300ms var(--ease-drawer);
}
.m-menu.is-open .m-menu-panel { transform: translateX(0); }

.m-nav { list-style: none; display: flex; flex-direction: column; }
.m-nav-link {
  display: block;
  padding: 14px 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1px solid var(--line);
  transition: color 200ms ease, transform 160ms var(--ease-out);
}
.m-nav-link.active { color: var(--blue); }
.m-nav-link:active { transform: scale(0.98); }

.m-menu-cta { margin-top: 26px; justify-content: center; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dark); }

/* exit is faster than enter — the system responding, not the user deciding */
.m-menu.is-closing .m-menu-panel { transition-duration: 200ms; }
.m-menu.is-closing .m-menu-scrim { transition-duration: 200ms; }

@media (prefers-reduced-motion: reduce) {
  .m-menu-panel { transition: opacity 150ms ease; transform: none; opacity: 0; }
  .m-menu.is-open .m-menu-panel { opacity: 1; }
}

/* ---------- FOOTER COLUMNS ---------- */
.footer-links { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-col-links { display: flex; flex-direction: column; gap: 10px; }
.footer-col-links a { font-size: 14.5px; transition: color 200ms ease; }
.footer-col-links a:hover { color: #fff; }
@media (max-width: 640px) { .footer-links { gap: 32px; } }

/* ---------- PAGE HERO (inner pages) ---------- */
.page-hero { padding-bottom: 80px; }
.page-hero .hero-inner { padding-top: calc(70px + var(--nav-overlay-offset)); }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeUp 800ms var(--ease-out) 40ms forwards;
}
.breadcrumb a { transition: color 200ms ease; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: 0.5; }
.breadcrumb .current { color: #fff; }

/* ---------- SECTION BLOCKS ---------- */
.prose { max-width: 720px; }
.prose p { font-size: 17px; line-height: 1.7; }
.prose p + p { margin-top: 16px; }
.prose strong { color: var(--navy); font-weight: 700; }

.split-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 860px) { .split-2 { grid-template-columns: 1fr; gap: 36px; } }

/* problem list */
.problem-list { display: flex; flex-direction: column; gap: 14px; }
.problem-item {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 14px;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
}
.problem-item .mark {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: #FEE9E7;
  color: #C0392B;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.problem-item .mark svg { width: 14px; height: 14px; }
.problem-item p { font-size: 15px; }

/* deliverables */
.deliver-list { display: flex; flex-direction: column; gap: 0; }
.deliver-item {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 0;
}
.deliver-item + .deliver-item { border-top: 1px solid var(--line); }
.deliver-item:first-child { padding-top: 0; }
.deliver-item .tick {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: grid; place-items: center;
  margin-top: 2px;
}
.deliver-item .tick svg { width: 12px; height: 12px; }
.deliver-item h4 { font-size: 16px; margin-bottom: 4px; }
.deliver-item p { font-size: 14.5px; }

/* tech stack chips */
.stack-group + .stack-group { margin-top: 24px; }
.stack-group .label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--body);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 8px 14px;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  transition: border-color 200ms ease, color 200ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .chip:hover { border-color: var(--blue); color: var(--blue); }
}

/* numbered process */
.steps { display: flex; flex-direction: column; }
.step-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.step-row:last-child { border-bottom: none; }
.step-row .n {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: grid; place-items: center;
  font-size: 15px; font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.step-row h4 { font-size: 17px; margin-bottom: 5px; }
.step-row p { font-size: 15px; }

/* ---------- LINK CARDS (services / industries hub) ---------- */
.link-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px 28px;
  transition: transform 260ms var(--ease-out), box-shadow 260ms var(--ease-out), border-color 260ms ease;
}
.link-card:active { transform: scale(0.99); }
@media (hover: hover) and (pointer: fine) {
  .link-card:hover { transform: translateY(-5px); border-color: transparent; box-shadow: 0 22px 44px rgba(9,30,66,0.11); }
  .link-card:hover .arrow-link svg { transform: translateX(3px); }
}
.link-card h3 { font-size: 20px; margin-bottom: 10px; }
.link-card p { font-size: 15px; line-height: 1.6; }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.02em;
}
.arrow-link svg { width: 14px; height: 14px; transition: transform 200ms var(--ease-out); }

/* media card with photo */
.photo-card {
  display: block;
  border-radius: 20px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 260ms var(--ease-out), box-shadow 260ms var(--ease-out);
}
.photo-card:active { transform: scale(0.99); }
@media (hover: hover) and (pointer: fine) {
  .photo-card:hover { transform: translateY(-5px); box-shadow: 0 22px 44px rgba(9,30,66,0.13); }
  .photo-card:hover .photo-frame img { transform: scale(1.04); }
}
.photo-frame {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: linear-gradient(150deg, var(--navy), var(--blue));
  position: relative;
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 420ms var(--ease-out); }
.photo-card .body { padding: 22px 24px 26px; }
.photo-card h3 { font-size: 18.5px; margin-bottom: 8px; }
.photo-card p { font-size: 14.5px; }

/* eyebrow tag on a card */
.card-tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--card);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* ---------- RESULTS / METRICS ---------- */
.results-band {
  background: var(--navy);
  border-radius: 24px;
  padding: 40px 38px;
  position: relative;
}
@media (max-width: 640px) { .results-band { padding: 30px 24px; } }
.results-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.results-head h3 { color: #fff; font-size: 20px; }
.results-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 640px) { .results-grid { grid-template-columns: 1fr; gap: 20px; } }
.result .num {
  font-size: clamp(30px, 4vw, 40px);
  font-weight: 800;
  color: #fff;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.result .label { font-size: 14px; color: rgba(255,255,255,0.72); margin-top: 6px; }

/* honesty marker for unverified numbers */
.illustrative {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.88);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.illustrative svg { width: 12px; height: 12px; }
.illustrative.on-light {
  background: #FFF4E5;
  border-color: #FFD9A0;
  color: #8A5A00;
}

.pending-note {
  font-size: 13px;
  color: var(--body);
  font-style: italic;
}

/* testimonial */
.quote-card {
  background: var(--card);
  border-radius: 20px;
  padding: 34px 32px;
}
.quote-card blockquote {
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.5;
  color: var(--navy);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.quote-card .attrib { margin-top: 18px; font-size: 14px; color: var(--body); }
.quote-card .attrib strong { color: var(--navy); display: block; font-size: 15px; }

/* ---------- FILTER BAR (case studies) ----------
   Three native <select>s in one row rather than three rows of pill
   buttons — same filtering power, a fraction of the vertical space,
   and a native select gives touch/keyboard users a real picker for
   free instead of a wall of buttons to scan. */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.filter-select { position: relative; display: flex; align-items: center; }
.filter-select select {
  appearance: none;
  -webkit-appearance: none;
  padding: 9px 34px 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 200ms ease, color 200ms ease, background 200ms ease;
}
.filter-select select:active { transform: scale(0.98); }
.filter-select .chevron {
  position: absolute;
  right: 13px;
  width: 13px;
  height: 13px;
  color: var(--body);
  pointer-events: none;
  transition: color 200ms ease;
}
.filter-select select:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.filter-select.is-active select { border-color: var(--blue); color: var(--blue); background: var(--card); }
.filter-select.is-active .chevron { color: var(--blue); }
@media (hover: hover) and (pointer: fine) {
  .filter-select select:hover { border-color: var(--blue); }
}

/* filtered-out cards leave; the grid reflows underneath */
.case-item { transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out); }
.case-item[hidden] { display: none; }
.case-item.is-leaving { opacity: 0; transform: scale(0.97); }

.empty-state {
  padding: 48px 0;
  text-align: center;
  color: var(--body);
  font-size: 15.5px;
}
.empty-state[hidden] { display: none; }

/* ---------- ARCHITECTURE DIAGRAM ---------- */
.arch-figure {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
}
.arch-figure svg { width: 100%; height: auto; display: block; }
.arch-figure figcaption {
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--body);
  text-align: center;
}

/* ---------- INSIGHTS ---------- */
.article-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--body);
  flex-wrap: wrap;
}
.article-meta .dot-sep { opacity: 0.45; }

.article-body { max-width: 700px; }
.article-body h2 { font-size: clamp(24px, 3vw, 30px); margin: 40px 0 14px; }
.article-body h3 { font-size: 19px; margin: 28px 0 10px; }
.article-body p { font-size: 17px; line-height: 1.75; }
.article-body p + p { margin-top: 18px; }
.article-body ul, .article-body ol { margin: 16px 0 16px 22px; }
.article-body li { font-size: 16.5px; line-height: 1.7; margin-bottom: 8px; }
.article-body strong { color: var(--navy); font-weight: 700; }
.article-body blockquote {
  margin: 26px 0;
  padding: 18px 24px;
  border-left: 3px solid var(--blue);
  background: var(--card);
  border-radius: 0 14px 14px 0;
  font-size: 16.5px;
  color: var(--navy);
}
.article-body code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.88em;
  background: var(--card);
  padding: 2px 6px;
  border-radius: 6px;
  color: var(--blue-dark);
}

/* ---------- CAREERS ---------- */
.benefit-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px 24px;
}
.benefit-card .ico {
  width: 42px; height: 42px;
  border-radius: 11px;
  background: var(--card);
  color: var(--blue);
  display: grid; place-items: center;
  margin-bottom: 16px;
}
.benefit-card .ico svg { width: 21px; height: 21px; }
.benefit-card h3 { font-size: 17px; margin-bottom: 8px; }
.benefit-card p { font-size: 14.5px; }

.role-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  flex-wrap: wrap;
  transition: transform 220ms var(--ease-out), border-color 220ms ease, box-shadow 220ms var(--ease-out);
}
.role-row + .role-row { margin-top: 10px; }
.role-row:active { transform: scale(0.995); }
@media (hover: hover) and (pointer: fine) {
  .role-row:hover { transform: translateY(-2px); border-color: var(--blue); box-shadow: 0 12px 26px rgba(3,105,205,0.1); }
  .role-row:hover .arrow-link svg { transform: translateX(3px); }
}
.role-row h4 { font-size: 16.5px; }
.role-row .role-meta { font-size: 13.5px; color: var(--body); margin-top: 4px; }

/* ---------- MISC ---------- */
.stat-row { display: flex; gap: 44px; flex-wrap: wrap; }
.stat-row .num { font-size: clamp(26px,3.2vw,34px); font-weight: 800; color: var(--navy); font-variant-numeric: tabular-nums; }
.stat-row .label { font-size: 13.5px; color: var(--body); margin-top: 3px; max-width: 150px; }

.note-banner {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #FFF4E5;
  border: 1px solid #FFD9A0;
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 32px;
}
.note-banner svg { width: 18px; height: 18px; color: #8A5A00; flex-shrink: 0; margin-top: 1px; }
.note-banner p { font-size: 14px; color: #6B4600; }
.mt-32 { margin-top: 32px; }

/* ---------- TEAM GROUPS (About) ----------
   Five people don't divide into the 4-up grid, so the section is split into two
   labelled groups instead. The label sits in a left rail at desktop and stacks
   above its grid below 1040px, where the rail would squeeze the cards too far. */
.team-group {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  align-items: start;
}
.team-group + .team-group { margin-top: 60px; }

.team-group-label .num {
  font-size: 14px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: 0.06em;
}
.team-group-label h3 {
  font-size: 19px;
  margin-top: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

@media (max-width: 1040px) {
  .team-group { grid-template-columns: 1fr; gap: 22px; }
  .team-group + .team-group { margin-top: 48px; }
}

.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 860px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .team-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- COOKIE NOTICE ---------- */
.cookie-notice {
  position: fixed;
  left: 20px; right: 20px; bottom: 20px;
  max-width: 560px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(9,30,66,0.18);
  padding: 20px 22px;
  z-index: 1200;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 300ms var(--ease-out), transform 300ms var(--ease-out);
}
.cookie-notice.is-visible { opacity: 1; transform: translateY(0); }
.cookie-notice p { font-size: 14px; color: var(--body); margin-bottom: 14px; }
.cookie-notice-actions { display: flex; gap: 10px; margin-bottom: 10px; }
.cookie-notice-actions button {
  flex: 1; padding: 10px 16px; border-radius: 10px; font-size: 14px;
  font-weight: 600; cursor: pointer; border: none;
  transition: transform 160ms var(--ease-out);
}
.cookie-notice-actions button:active { transform: scale(0.97); }
.cookie-notice-actions [data-decline] { background: var(--white); border: 1px solid var(--line); color: var(--navy); }
.cookie-notice-actions [data-accept] { background: var(--blue); color: #fff; }
.cookie-notice a { font-size: 13px; color: var(--blue); }
@media (prefers-reduced-motion: reduce) {
  .cookie-notice { transition: opacity 200ms ease; transform: none; }
}
