/* =========================================================
   KAS Cyber Ventures — Marketing site
   Brand palette derived from kascyber.com (Astra theme)
   ========================================================= */

:root {
  --orange-500: #FD9800;
  --orange-600: #E98C00;
  --orange-100: #FEF9E1;
  --orange-50:  #FFFBEF;
  --yellow-200: #F9F0C8;
  --navy-900:   #0F172A;
  --navy-800:   #1B2336;
  --slate-700:  #2B3447;
  --slate-500:  #454F5E;
  --slate-400:  #6A7588;
  --slate-200:  #D8DEE7;
  --slate-100:  #EEF1F6;
  --ink:        #141006;
  --white:      #FFFFFF;
  --shadow-sm:  0 1px 2px rgba(15, 23, 42, .06);
  --shadow-md:  0 8px 20px rgba(15, 23, 42, .08);
  --shadow-lg:  0 20px 50px rgba(15, 23, 42, .12);
  --radius-sm:  6px;
  --radius:     12px;
  --radius-lg:  20px;
  --container:  1200px;
  --narrow:     900px;
  --transition: 200ms ease;
}

/* --------- reset --------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Source Sans Pro', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--slate-500);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: var(--orange-600); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--orange-500); }
p { margin: 0 0 1rem; }

/* --------- typography --------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Comfortaa', 'Source Sans Pro', sans-serif;
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.25;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: -.005em; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }
.eyebrow {
  display: inline-block;
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .8rem;
  color: var(--orange-600);
  margin-bottom: .9rem;
}
.lead { font-size: 1.15rem; color: var(--slate-500); }

/* --------- layout --------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.narrow { max-width: var(--narrow); margin: 0 auto; }
section { padding: 84px 0; }
section.tight { padding: 56px 0; }

/* --------- navbar --------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--slate-100);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 72px;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Comfortaa', sans-serif;
  font-weight: 700;
  color: var(--navy-900);
  font-size: 1.25rem;
}
.brand:hover { color: var(--navy-900); }
.brand-mark {
  width: 40px; height: 40px;
  flex: 0 0 auto;
  border-radius: 10px;
  background-image: url("../img/KAS Cyber Ventures.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: grid;
  place-items: center;
  color: transparent;
  font-size: 0;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0 0 0 auto;
  padding: 0;
}
/* --------- theme toggle --------- */
.theme-toggle {
  flex: 0 0 auto;
  width: 40px; height: 40px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid var(--slate-200);
  background: transparent;
  color: var(--navy-900);
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.theme-toggle:hover { border-color: var(--orange-500); color: var(--orange-600); }
.theme-toggle svg { width: 19px; height: 19px; display: block; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
.nav-links a {
  color: var(--slate-700);
  font-weight: 600;
  font-size: .98rem;
  padding: 6px 0;
  position: relative;
}
.nav-links a.is-active,
.nav-links a:hover { color: var(--navy-900); }
.nav-links a.is-active::after,
.nav-links a:hover::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--orange-500);
  border-radius: 2px;
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 40px; height: 40px;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 22px; height: 2px;
  background: var(--navy-900);
  position: relative;
  border-radius: 2px;
  transition: transform var(--transition);
}
.nav-toggle span { margin: 0 auto; }
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after  { position: absolute; top: 7px; }

/* --------- buttons --------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .98rem;
  letter-spacing: .01em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange-500);
  color: #fff;
  box-shadow: 0 6px 16px rgba(253, 152, 0, .35);
}
.btn-primary:hover {
  background: var(--orange-600);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(233, 140, 0, .42);
}
.btn-ghost {
  background: transparent;
  color: var(--navy-900);
  border-color: var(--slate-200);
}
.btn-ghost:hover { border-color: var(--orange-500); color: var(--orange-600); }
.btn-dark {
  background: var(--navy-900);
  color: #fff;
}
.btn-dark:hover { background: var(--slate-700); color: #fff; }

/* --------- hero --------- */
.hero {
  position: relative;
  padding: 96px 0 90px;
  background:
    radial-gradient(circle at 12% 18%, rgba(253, 152, 0, .14), transparent 55%),
    radial-gradient(circle at 88% 80%, rgba(233, 140, 0, .12), transparent 60%),
    linear-gradient(180deg, #FFFDF6 0%, #FFFFFF 80%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, .035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 60px;
  align-items: center;
}
.hero h1 { margin-bottom: 18px; }
.hero h1 .accent { color: var(--orange-600); }
.hero .lead { max-width: 560px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--slate-100);
}
.hero-stats .stat strong {
  display: block;
  font-family: 'Comfortaa', sans-serif;
  font-size: 1.9rem;
  color: var(--navy-900);
  line-height: 1.1;
}
.hero-stats .stat span {
  font-size: .92rem;
  color: var(--slate-400);
}

/* hero card / shield panel */
.shield-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--slate-100);
}
.shield-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, transparent 40%, rgba(253, 152, 0, .4));
  z-index: -1;
  filter: blur(28px);
  opacity: .55;
}
.shield-card h4 {
  font-family: 'Comfortaa', sans-serif;
  font-size: 1rem;
  margin-bottom: 18px;
  color: var(--navy-900);
}
.shield-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px dashed var(--slate-100);
  font-size: .96rem;
}
.shield-row:last-child { border-bottom: 0; }
.shield-row .pill {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--orange-100);
  color: var(--orange-600);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.shield-row .pill.green { background: #E6F7EE; color: #00875A; }
.shield-row .pill.blue  { background: #E3F2FF; color: #0264C2; }

/* --------- section heading --------- */
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-head p { color: var(--slate-500); font-size: 1.08rem; }

/* --------- trust strip --------- */
.trust-strip {
  background: var(--navy-900);
  color: rgba(255, 255, 255, .72);
  padding: 28px 0;
}
.trust-strip .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}
.trust-strip strong { color: #fff; }
.trust-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.trust-tags span {
  border: 1px solid rgba(253, 152, 0, .45);
  color: var(--orange-100);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .03em;
  transition: all var(--transition);
}
.trust-tags span:hover {
  border-color: var(--orange-500);
  background: rgba(253, 152, 0, .14);
  color: #fff;
}

/* --------- value props --------- */
.values {
  background: var(--orange-50);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.value-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 26px 24px;
  border: 1px solid var(--slate-100);
  transition: transform var(--transition), box-shadow var(--transition);
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.value-card .ico {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--orange-100);
  color: var(--orange-600);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.value-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.value-card p { font-size: .96rem; margin: 0; }

/* --------- services grid --------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--slate-100);
  border-radius: var(--radius);
  padding: 30px 26px;
  position: relative;
  transition: all var(--transition);
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--orange-500), var(--orange-600));
  border-radius: var(--radius) var(--radius) 0 0;
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover {
  border-color: rgba(253, 152, 0, .25);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.service-card:hover::before { opacity: 1; }
.service-card .num {
  font-family: 'Comfortaa', sans-serif;
  font-size: 2rem;
  color: var(--orange-500);
  font-weight: 700;
  line-height: 1;
}
.service-card h3 { margin-top: 14px; margin-bottom: 10px; font-size: 1.15rem; }
.service-card p  { font-size: .96rem; margin: 0; }
.service-card a.more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-weight: 700;
  font-size: .9rem;
}

/* --------- approach cycle --------- */
.approach {
  background:
    radial-gradient(circle at 80% 0%, var(--orange-100), transparent 50%),
    var(--white);
}
.cycle-flow { position: relative; padding-top: 78px; }
.cycle-loop {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 64px;
  color: var(--orange-500);
}
.cycle-loop svg { width: 100%; height: 100%; display: block; opacity: .6; }
.loop-label {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: var(--orange-100);
  color: var(--orange-600);
  border-radius: 999px;
  padding: 4px 14px;
  font-family: 'Comfortaa', sans-serif;
  font-weight: 700;
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.cycle-track {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}
.cycle-node {
  flex: 1;
  position: relative;
  text-align: center;
  padding: 0 12px;
}
.cycle-node .bubble {
  position: relative;
  z-index: 1;
  width: 58px; height: 58px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--white);
  border: 2px solid var(--navy-900);
  color: var(--navy-900);
  box-shadow: var(--shadow-sm);
}
.cycle-node:nth-child(odd) .bubble {
  border-color: var(--orange-500);
  color: var(--orange-500);
}
.cycle-node .bubble em {
  position: absolute;
  top: -7px; right: -9px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--navy-900);
  color: #fff;
  font-style: normal;
  font-family: 'Comfortaa', sans-serif;
  font-weight: 700;
  font-size: .6rem;
  display: grid;
  place-items: center;
}
.cycle-node:nth-child(odd) .bubble em { background: var(--orange-500); }
/* connector line + arrowhead between phases */
.cycle-node:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 28px;
  left: calc(50% + 37px);
  right: calc(-50% + 42px);
  height: 2px;
  background: var(--slate-200);
}
.cycle-node:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 24px;
  right: calc(-50% + 34px);
  border: 5px solid transparent;
  border-left: 7px solid var(--orange-500);
}
.cycle-node h4 {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 0 0 6px;
  color: var(--navy-900);
}
.cycle-node p {
  font-size: .84rem;
  line-height: 1.45;
  margin: 0;
  color: var(--slate-500);
}
/* staggered reveal — animations so they never fight the hover transitions */
@media (prefers-reduced-motion: no-preference) {
  .cycle-flow.in-view .cycle-node { animation: rise 450ms ease backwards; }
  .cycle-flow.in-view .cycle-node:nth-child(2) { animation-delay: 90ms; }
  .cycle-flow.in-view .cycle-node:nth-child(3) { animation-delay: 180ms; }
  .cycle-flow.in-view .cycle-node:nth-child(4) { animation-delay: 270ms; }
  .cycle-flow.in-view .cycle-node:nth-child(5) { animation-delay: 360ms; }
  .cycle-flow.in-view .cycle-node:nth-child(6) { animation-delay: 450ms; }
  .cycle-flow.in-view .cycle-loop { animation: rise 500ms ease 650ms backwards; }
}

/* --------- services honeycomb --------- */
.hex-grid {
  --hexW: 236px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hex-row { display: flex; justify-content: center; gap: 14px; }
.hex-row + .hex-row { margin-top: calc(var(--hexW) * -0.14); }
.hex {
  display: block;
  position: relative;
  width: var(--hexW);
  height: calc(var(--hexW) * 1.12);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: var(--slate-200);
  transition: transform var(--transition), background var(--transition);
}
.hex-inner {
  position: absolute;
  inset: 1.5px;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 13%;
  transition: background var(--transition);
}
.hex-inner svg { color: var(--orange-500); transition: color var(--transition); }
.hex:nth-child(even) .hex-inner svg { color: var(--navy-900); }
.hex-inner h3 {
  font-size: .92rem;
  line-height: 1.3;
  margin: 12px 0 6px;
  color: var(--navy-900);
  transition: color var(--transition);
}
.hex-inner p {
  font-size: .76rem;
  line-height: 1.4;
  margin: 0;
  color: var(--slate-400);
  transition: color var(--transition);
}
.chip-new {
  position: absolute;
  top: 24px; left: 50%;
  transform: translateX(-50%);
  background: var(--orange-500);
  color: #fff;
  font-style: normal;
  font-family: 'Comfortaa', sans-serif;
  font-weight: 700;
  font-size: .58rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  border-radius: 999px;
  padding: 3px 10px;
}
.hex:hover,
.hex:focus-visible {
  transform: translateY(-6px);
  background: var(--orange-500);
  outline: none;
}
.hex:hover .hex-inner,
.hex:focus-visible .hex-inner { background: var(--navy-900); }
.hex:hover .hex-inner svg,
.hex:focus-visible .hex-inner svg { color: var(--orange-500); }
.hex:hover .hex-inner h3,
.hex:focus-visible .hex-inner h3 { color: #fff; }
.hex:hover .hex-inner p,
.hex:focus-visible .hex-inner p { color: rgba(255, 255, 255, .72); }
/* staggered reveal */
@media (prefers-reduced-motion: no-preference) {
  .hex-grid.in-view .hex { animation: rise 450ms ease backwards; }
  .hex-grid.in-view .hex-row .hex:nth-child(2) { animation-delay: 80ms; }
  .hex-grid.in-view .hex-row .hex:nth-child(3) { animation-delay: 160ms; }
  .hex-grid.in-view .hex-row .hex:nth-child(4) { animation-delay: 240ms; }
  .hex-grid.in-view .hex-row + .hex-row .hex:nth-child(1) { animation-delay: 120ms; }
  .hex-grid.in-view .hex-row + .hex-row .hex:nth-child(2) { animation-delay: 200ms; }
  .hex-grid.in-view .hex-row + .hex-row .hex:nth-child(3) { animation-delay: 280ms; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
}

/* --------- vCISO responsibility clock --------- */
.clock {
  position: relative;
  max-width: 680px;
  height: 660px;
  margin: 0 auto;
}
.clock-ring {
  position: absolute;
  inset: 10%;
  border: 2px dashed var(--slate-200);
  border-radius: 50%;
}
.clock-hub {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 170px; height: 170px;
  border-radius: 50%;
  background: var(--navy-800);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-align: center;
  padding: 0 22px;
  box-shadow: var(--shadow-md);
}
.clock-hub strong { font-family: 'Comfortaa', sans-serif; font-size: 1.02rem; }
.clock-hub span { font-size: .72rem; opacity: .75; line-height: 1.35; }
.clock-item {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 128px;
  text-align: center;
}
.clock-item .chip {
  position: relative;
  width: 46px; height: 46px;
  margin: 0 auto 8px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--white);
  border: 2px solid var(--navy-900);
  color: var(--navy-900);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition);
}
.clock-item:hover .chip { transform: scale(1.12); }
.clock-item:nth-child(odd) .chip {
  border-color: var(--orange-500);
  color: var(--orange-500);
}
.clock-item .chip em {
  position: absolute;
  top: -6px; right: -8px;
  width: 19px; height: 19px;
  border-radius: 50%;
  background: var(--navy-900);
  color: #fff;
  font-style: normal;
  font-family: 'Comfortaa', sans-serif;
  font-weight: 700;
  font-size: .55rem;
  display: grid;
  place-items: center;
}
.clock-item:nth-child(odd) .chip em { background: var(--orange-500); }
.clock-item .lbl {
  display: block;
  font-weight: 700;
  font-size: .8rem;
  line-height: 1.25;
  color: var(--navy-900);
}
/* hover / focus tooltip with the one-line description */
.clock-item:hover,
.clock-item:focus-within { z-index: 6; }
.clock-item:focus { outline: none; }
.clock-item:focus-visible .chip { transform: scale(1.12); }
.clock-item .tip {
  position: absolute;
  bottom: calc(100% + 9px);
  left: 50%;
  transform: translate(-50%, 4px);
  width: max-content;
  max-width: 230px;
  background: var(--navy-800);
  color: rgba(255, 255, 255, .92);
  font-size: .74rem;
  line-height: 1.45;
  text-align: center;
  padding: 8px 13px;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 5;
}
.clock-item .tip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--navy-800);
}
.clock-item:hover .tip,
.clock-item:focus-within .tip,
.clock-item:focus .tip {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
/* clockwise reveal (desktop layout only — mobile grid uses no offset transform) */
@media (min-width: 761px) and (prefers-reduced-motion: no-preference) {
  .clock.in-view .clock-hub { animation: riseCentered 450ms ease backwards; }
  .clock.in-view .clock-ring { animation: fadeIn 600ms ease 120ms backwards; }
  .clock.in-view .clock-item { animation: riseCentered 400ms ease backwards; }
  .clock.in-view .clock-item:nth-child(3)  { animation-delay: 120ms; }
  .clock.in-view .clock-item:nth-child(4)  { animation-delay: 175ms; }
  .clock.in-view .clock-item:nth-child(5)  { animation-delay: 230ms; }
  .clock.in-view .clock-item:nth-child(6)  { animation-delay: 285ms; }
  .clock.in-view .clock-item:nth-child(7)  { animation-delay: 340ms; }
  .clock.in-view .clock-item:nth-child(8)  { animation-delay: 395ms; }
  .clock.in-view .clock-item:nth-child(9)  { animation-delay: 450ms; }
  .clock.in-view .clock-item:nth-child(10) { animation-delay: 505ms; }
  .clock.in-view .clock-item:nth-child(11) { animation-delay: 560ms; }
  .clock.in-view .clock-item:nth-child(12) { animation-delay: 615ms; }
  .clock.in-view .clock-item:nth-child(13) { animation-delay: 670ms; }
  .clock.in-view .clock-item:nth-child(14) { animation-delay: 725ms; }
}
@keyframes riseCentered {
  from { opacity: 0; transform: translate(-50%, calc(-50% + 12px)); }
  to   { opacity: 1; transform: translate(-50%, -50%); }
}
@keyframes fadeIn {
  from { opacity: 0; }
}

/* --------- scope tile --------- */
.scope-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.scope-tile {
  border: 1px solid var(--slate-100);
  border-radius: var(--radius);
  padding: 22px 20px;
  background: #fff;
  transition: all var(--transition);
}
.scope-tile:hover {
  border-color: var(--orange-500);
  background: var(--orange-50);
}
.scope-tile:hover h4 { color: var(--orange-600); }
.scope-tile .step {
  font-family: 'Comfortaa', sans-serif;
  font-size: .85rem;
  letter-spacing: .05em;
  color: var(--orange-600);
  font-weight: 700;
  margin-bottom: 8px;
}
.scope-tile h4 { font-size: 1.02rem; margin: 0 0 6px; color: var(--navy-900); }
.scope-tile p  { font-size: .9rem; margin: 0; color: var(--slate-500); }

/* --------- timeline --------- */
.timeline {
  background: var(--navy-900);
  color: rgba(255, 255, 255, .78);
}
.timeline h2 { color: #fff; }
.timeline .section-head p { color: rgba(255, 255, 255, .68); }
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  position: relative;
}
.timeline-grid::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 4%;
  right: 4%;
  height: 2px;
  background: linear-gradient(90deg, var(--orange-500), transparent);
  opacity: .35;
}
.tl-phase {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius);
  padding: 26px 22px;
  position: relative;
}
.tl-phase .dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--orange-500);
  border: 4px solid var(--navy-900);
  box-shadow: 0 0 0 1px rgba(253, 152, 0, .5);
  position: relative;
  top: -36px;
  margin-bottom: -10px;
}
.tl-phase h4 { color: #fff; font-size: 1.05rem; margin: 0 0 6px; }
.tl-phase .when {
  font-family: 'Comfortaa', sans-serif;
  font-size: .85rem;
  color: var(--orange-500);
  margin-bottom: 10px;
  display: block;
  font-weight: 700;
}
.tl-phase p { font-size: .92rem; color: rgba(255, 255, 255, .8); margin: 0; }

/* --------- founder cards --------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.team-card {
  background: #fff;
  border: 1px solid var(--slate-100);
  border-radius: var(--radius);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all var(--transition);
}
.team-card > div { width: 100%; }
.team-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.team-card .avatar {
  width: 132px; height: 132px;
  flex: 0 0 auto;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  box-shadow: var(--shadow-md);
  margin-bottom: 20px;
}
.team-card .avatar img {
  width: 100%; height: 100%;
  display: block;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--white);
  background: var(--white);
}
.team-card h3 { margin: 0; font-size: 1.25rem; }
.team-card .role {
  font-family: 'Comfortaa', sans-serif;
  font-size: .88rem;
  color: var(--orange-600);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 700;
  margin: 4px 0 12px;
  display: block;
}
.team-card p { font-size: .96rem; margin-bottom: 10px; }
.team-card .contact {
  font-size: .88rem;
  color: var(--slate-400);
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 10px;
}
.team-card .contact a { font-weight: 600; }
.team-card .team-li {
  display: inline-grid;
  place-items: center;
  width: 38px; height: 38px;
  margin-top: 14px;
  border-radius: 50%;
  border: 1px solid var(--slate-200);
  color: var(--slate-500);
  transition: all var(--transition);
}
.team-card .team-li:hover {
  border-color: var(--orange-500);
  color: var(--orange-600);
  background: var(--orange-50);
  transform: translateY(-2px);
}

/* --------- case studies --------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.case-card {
  background: #fff;
  border: 1px solid var(--slate-100);
  border-radius: var(--radius);
  padding: 28px;
  transition: all var(--transition);
}
.case-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.case-card .tag {
  display: inline-block;
  background: var(--orange-100);
  color: var(--orange-600);
  font-size: .76rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.case-card h3 { margin-bottom: 10px; }
.case-card .impact {
  margin-top: 16px;
  border-top: 1px dashed var(--slate-100);
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  font-size: .88rem;
  color: var(--slate-400);
}
.case-card .impact strong { color: var(--navy-900); font-family: 'Comfortaa', sans-serif; }

/* --------- locations --------- */
.locations {
  background: linear-gradient(180deg, var(--orange-50) 0%, #fff 100%);
}
.location-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.location-card {
  background: #fff;
  border: 1px solid var(--slate-100);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  text-align: center;
  transition: all var(--transition);
}
.location-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--orange-500); }
.location-card .flag {
  width: 56px; height: 56px;
  margin: 0 auto 14px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--navy-900);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: 'Comfortaa', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-100);
}
.location-card .flag img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.location-card h3 { font-size: 1.2rem; margin-bottom: 6px; }
.location-card p { font-size: .95rem; margin: 0; color: var(--slate-500); }

/* --------- frameworks bar --------- */
.frameworks {
  background: #fff;
  border-top: 1px solid var(--slate-100);
  border-bottom: 1px solid var(--slate-100);
}
.framework-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
  align-items: center;
}
.framework-grid .item {
  text-align: center;
  padding: 14px 8px;
  border-radius: var(--radius);
  border: 1px dashed var(--slate-200);
  font-family: 'Comfortaa', sans-serif;
  font-weight: 700;
  color: var(--slate-700);
  letter-spacing: .03em;
  transition: all var(--transition);
}
.framework-grid .item:hover {
  border-color: var(--orange-500);
  background: var(--orange-50);
  color: var(--orange-600);
}

/* --------- client / partner logo wall --------- */
.clients { background: var(--orange-50); }
.partners { background: var(--orange-50); }
.logo-wall {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.logo-tile {
  height: 104px;
  display: grid;
  place-items: center;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid var(--slate-100);
  border-radius: var(--radius);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.logo-tile img {
  max-width: 100%;
  max-height: 64px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .7;
  transition: filter var(--transition), opacity var(--transition);
}
.logo-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(253, 152, 0, .3);
}
.logo-tile:hover img { filter: grayscale(0); opacity: 1; }
/* for logos with lots of built-in whitespace that render small at 64px */
.logo-tile-zoom { padding: 8px 12px; }
.logo-tile-zoom img { max-height: 88px; }
.logo-tile-more {
  font-family: 'Comfortaa', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--slate-400);
  letter-spacing: .02em;
}
.logo-tile-more:hover { color: var(--orange-600); }
@media (max-width: 980px) {
  .logo-wall { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
  .logo-tile { height: 88px; padding: 14px 16px; }
}

/* --------- CTA banner --------- */
.cta {
  position: relative;
  background:
    radial-gradient(circle at 100% 0%, rgba(253, 152, 0, .35), transparent 50%),
    linear-gradient(135deg, var(--navy-900) 0%, var(--slate-700) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 56px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 36px;
  align-items: center;
}
.cta h2 { color: #fff; margin-bottom: 12px; }
.cta p { color: rgba(255, 255, 255, .82); margin-bottom: 0; }
.cta .actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.cta .btn-primary { box-shadow: 0 8px 24px rgba(253, 152, 0, .45); }
.cta .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
.cta .btn-ghost:hover { border-color: var(--orange-500); color: var(--orange-500); background: rgba(255, 255, 255, .04); }

/* --------- footer --------- */
.footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, .72);
  padding: 72px 0 22px;
  font-size: .95rem;
}
.footer h4 {
  color: #fff;
  font-size: .95rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer a { color: rgba(255, 255, 255, .72); }
.footer a:hover { color: var(--orange-500); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.footer .brand { color: #fff; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-bottom {
  margin-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: .88rem;
  color: rgba(255, 255, 255, .55);
}
.footer-bottom .social { display: flex; gap: 12px; }
.footer-bottom .social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .15);
  transition: all var(--transition);
}
.footer-bottom .social a:hover { border-color: var(--orange-500); color: var(--orange-500); }

/* --------- forms --------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
}
.contact-info ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 18px; }
.contact-info li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.contact-info li .ico {
  width: 40px; height: 40px;
  background: var(--orange-100);
  color: var(--orange-600);
  border-radius: 10px;
  display: grid; place-items: center;
}
.contact-info li strong { display: block; color: var(--navy-900); font-family: 'Comfortaa', sans-serif; margin-bottom: 2px; }

form.contact-form {
  background: #fff;
  border: 1px solid var(--slate-100);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}
form.contact-form label {
  display: block;
  font-weight: 600;
  font-size: .9rem;
  color: var(--navy-900);
  margin: 0 0 6px;
}
form.contact-form input,
form.contact-form textarea,
form.contact-form select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--slate-200);
  font-family: inherit;
  font-size: 1rem;
  color: var(--navy-900);
  background: #fff;
  margin-bottom: 16px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
form.contact-form input:focus,
form.contact-form textarea:focus,
form.contact-form select:focus {
  outline: 0;
  border-color: var(--orange-500);
  box-shadow: 0 0 0 4px rgba(253, 152, 0, .15);
}
form.contact-form textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* --------- accordion --------- */
.accordion details {
  background: #fff;
  border: 1px solid var(--slate-100);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 12px;
  transition: all var(--transition);
}
.accordion details[open] {
  border-color: rgba(253, 152, 0, .35);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.accordion summary {
  list-style: none;
  cursor: pointer;
  font-family: 'Comfortaa', sans-serif;
  font-weight: 700;
  color: var(--navy-900);
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--orange-500);
  transition: transform var(--transition);
}
.accordion details[open] summary::after { content: "−"; }
.accordion details p { margin-top: 12px; margin-bottom: 0; font-size: .98rem; }
.accordion details ul { margin: 8px 0 0 18px; }

/* --------- pricing --------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.price-card {
  background: #fff;
  border: 1px solid var(--slate-100);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: left;
  position: relative;
  transition: all var(--transition);
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(253, 152, 0, .35); }
.price-card .phase {
  font-family: 'Comfortaa', sans-serif;
  font-size: .85rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--orange-600);
  font-weight: 700;
}
.price-card .price {
  font-family: 'Comfortaa', sans-serif;
  font-size: 1.65rem;
  color: var(--navy-900);
  font-weight: 700;
  margin: 6px 0 4px;
}
.price-card .per { font-size: .85rem; color: var(--slate-400); }
.price-card ul { list-style: none; padding: 16px 0 0; margin: 0; border-top: 1px dashed var(--slate-100); margin-top: 16px; }
.price-card li { font-size: .92rem; padding: 5px 0; display: flex; gap: 8px; }
.price-card li::before { content: "✓"; color: var(--orange-500); font-weight: 700; }

/* --------- bullet lists --------- */
.bullet-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.bullet-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 1rem;
  line-height: 1.55;
}
.bullet-list li::before {
  content: "";
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 5px;
  border-radius: 6px;
  background: var(--orange-100);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='%23E98C00' d='M13.3 4.3 6.5 11l-3.8-3.8 1.4-1.4L6.5 8.2 11.9 2.9z'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px;
}
.bullet-list li > span { flex: 1 1 auto; min-width: 0; }

/* --------- two column section --------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.two-col > * { min-width: 0; }
.two-col.tight { gap: 32px; }

/* --------- world map (contact) --------- */
.worldmap-wrap {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  background:
    radial-gradient(ellipse at 50% 50%, #fff 0%, var(--orange-50) 100%);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-lg);
  padding: 40px 44px 32px;
  box-shadow: var(--shadow-md);
}
.worldmap {
  display: block;
  width: 100%;
  height: auto;
}
.worldmap .dots circle { fill: #C4CEE0; }
.worldmap .marker {
  fill: var(--orange-500);
  stroke: #fff;
  stroke-width: 2.4;
}
.worldmap .marker-ring {
  fill: none;
  stroke: var(--orange-500);
  stroke-width: 1.6;
  opacity: .55;
  animation: pulseRing 2.6s ease-out infinite;
  transform-origin: center;
  transform-box: fill-box;
}
.worldmap .marker-label {
  font-family: 'Comfortaa', sans-serif;
  font-size: 13px;
  font-weight: 700;
  fill: var(--navy-900);
  paint-order: stroke;
  stroke: #fff;
  stroke-width: 3;
  stroke-linejoin: round;
}
.worldmap .marker-sub {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 11px;
  font-weight: 600;
  fill: var(--orange-600);
  paint-order: stroke;
  stroke: #fff;
  stroke-width: 3;
  stroke-linejoin: round;
}
.worldmap .arc {
  fill: none;
  stroke: var(--orange-500);
  stroke-width: 1.5;
  stroke-dasharray: 4 5;
  stroke-linecap: round;
  opacity: .55;
}
@keyframes pulse {
  0%   { transform: scale(1);   opacity: .55; }
  100% { transform: scale(3.2); opacity: 0;   }
}
@keyframes pulseRing {
  0%   { transform: scale(.6); opacity: .7; }
  100% { transform: scale(3.2); opacity: 0; }
}
.map-legend {
  display: flex;
  justify-content: center;
  gap: 26px;
  margin-top: 16px;
  flex-wrap: wrap;
  font-size: .92rem;
  color: var(--slate-400);
}
.map-legend .dot {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--orange-500);
  margin-right: 8px;
  vertical-align: middle;
}

/* --------- email hero (contact page) --------- */
.email-hero {
  max-width: 720px;
  margin: 0 auto 48px;
  background: linear-gradient(135deg, #fff 0%, var(--orange-50) 100%);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.email-hero::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(253, 152, 0, .18) 0%, transparent 70%);
  pointer-events: none;
}
.email-hero .ico {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--orange-500);
  color: #fff;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  box-shadow: 0 8px 20px rgba(253, 152, 0, .35);
  position: relative;
}
.email-hero h2 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  position: relative;
}
.email-hero p {
  color: var(--slate-500);
  margin-bottom: 22px;
  position: relative;
}
.email-hero .email-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Comfortaa', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy-900);
  padding: 14px 26px;
  border-radius: 999px;
  background: #fff;
  border: 2px solid var(--orange-500);
  text-decoration: none;
  transition: all var(--transition);
  position: relative;
  word-break: break-word;
}
.email-hero .email-link:hover {
  background: var(--orange-500);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(253, 152, 0, .35);
}
.email-hero .footnote {
  margin-top: 16px;
  margin-bottom: 0;
  font-size: .88rem;
  color: var(--slate-400);
}
@media (max-width: 620px) {
  .email-hero { padding: 32px 24px; }
  .email-hero .email-link { font-size: 1.1rem; padding: 12px 20px; }
}

/* --------- contact card grid (post-form removal) --------- */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 12px;
}
.contact-cards > * { min-width: 0; }
.contact-card {
  background: #fff;
  border: 1px solid var(--slate-100);
  border-radius: var(--radius);
  padding: 30px 28px;
  text-align: left;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(253, 152, 0, .35);
}
.contact-card .ico {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--orange-100);
  color: var(--orange-600);
  display: grid;
  place-items: center;
  margin-bottom: 6px;
  flex: 0 0 auto;
}
.contact-card h3 {
  font-size: 1.15rem;
  margin: 0 0 4px;
  color: var(--navy-900);
}
.contact-card .row {
  display: block;
  font-size: .98rem;
  color: var(--slate-500);
  line-height: 1.5;
  word-break: break-word;
}
.contact-card .row a {
  font-weight: 600;
  color: var(--navy-900);
  word-break: break-word;
}
.contact-card .row a:hover { color: var(--orange-600); }
.contact-card .row + .row { margin-top: 2px; }
.contact-card .note {
  font-size: .86rem;
  color: var(--slate-400);
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed var(--slate-100);
}
.contact-card .note.alert { color: var(--orange-600); font-weight: 600; }

/* --------- feature stack (about/services redesign) --------- */
.feature-stack {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature-stack > * { min-width: 0; }
.feature-block {
  background: #fff;
  border: 1px solid var(--slate-100);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: all var(--transition);
}
.feature-block:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: rgba(253, 152, 0, .35); }
.feature-block .num {
  font-family: 'Comfortaa', sans-serif;
  font-size: 1.85rem;
  color: var(--orange-500);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 14px;
}
.feature-block h3 { font-size: 1.15rem; margin-bottom: 10px; }
.feature-block p  { font-size: .97rem; margin: 0; }
.feature-block ul.bullet-list { margin-top: 14px; }

/* --------- centered intro (about page) --------- */
.centered-intro {
  max-width: 780px;
  margin: 0 auto 48px;
  text-align: center;
}
.centered-intro h2 { margin-bottom: 18px; }
.centered-intro p  { font-size: 1.1rem; color: var(--slate-500); }

/* --------- service block (services page redesign) --------- */
.svc-block {
  background: #fff;
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-lg);
  padding: 48px;
  margin-bottom: 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  transition: box-shadow var(--transition);
}
.svc-block > * { min-width: 0; }
.svc-block:hover { box-shadow: var(--shadow-md); }
.svc-block.alt {
  background: linear-gradient(135deg, var(--orange-50) 0%, #fff 100%);
}
.svc-block.dark {
  background: var(--navy-900);
  color: rgba(255, 255, 255, .82);
  border-color: rgba(255, 255, 255, .08);
}
.svc-block.dark h2, .svc-block.dark h3 { color: #fff; }
.svc-block.dark p { color: rgba(255, 255, 255, .75); }
.svc-block .panel {
  background: rgba(15, 23, 42, .03);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius);
  padding: 24px;
}
.svc-block.dark .panel {
  background: rgba(255, 255, 255, .04);
  border-color: rgba(255, 255, 255, .08);
}
.svc-block .panel h4 {
  font-family: 'Comfortaa', sans-serif;
  font-size: .98rem;
  margin-bottom: 14px;
}
.svc-block.dark .panel h4 { color: #fff; }
.svc-block .panel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--slate-100);
  font-size: .94rem;
}
.svc-block.dark .panel-row { border-bottom-color: rgba(255, 255, 255, .08); }
.svc-block .panel-row:last-child { border-bottom: 0; }

/* --------- page header --------- */
.page-header {
  padding: 70px 0 60px;
  background:
    radial-gradient(circle at 100% 0%, rgba(253, 152, 0, .15), transparent 50%),
    linear-gradient(180deg, var(--orange-50), #fff);
  border-bottom: 1px solid var(--slate-100);
  text-align: center;
}
.page-header h1 { margin-bottom: 12px; }
.page-header p { font-size: 1.15rem; max-width: 720px; margin: 0 auto; color: var(--slate-500); }

/* --------- responsive --------- */
@media (max-width: 980px) {
  section { padding: 64px 0; }
  .hero { padding: 70px 0 60px; }
  .hero .container { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  /* cycle: vertical rail */
  .cycle-flow { padding-top: 0; }
  .cycle-loop { display: none; }
  .cycle-track { flex-direction: column; gap: 26px; }
  .cycle-node {
    display: grid;
    grid-template-columns: 58px 1fr;
    column-gap: 18px;
    align-items: center;
    text-align: left;
    padding: 0;
  }
  .cycle-node .bubble { margin: 0; grid-row: 1 / span 2; align-self: start; }
  .cycle-node h4 { align-self: end; }
  .cycle-node:not(:last-child)::after {
    top: 62px; bottom: -22px;
    left: 28px; right: auto;
    width: 2px; height: auto;
  }
  .cycle-node:not(:last-child)::before {
    top: auto; bottom: -22px;
    left: 24px; right: auto;
    border: 5px solid transparent;
    border-top: 7px solid var(--orange-500);
    border-bottom: none;
  }
  /* honeycomb: tighter cells */
  .hex-grid { --hexW: clamp(150px, 22vw, 210px); }
  .scope-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .location-grid { grid-template-columns: 1fr; }
  .framework-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cta { grid-template-columns: 1fr; padding: 42px; text-align: center; }
  .cta .actions { justify-content: center; }
  .contact-wrap { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .feature-stack { grid-template-columns: 1fr; }
  .svc-block { grid-template-columns: 1fr; padding: 36px 28px; gap: 28px; }
  .two-col { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .timeline-grid::before { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav-links {
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    flex-direction: column;
    background: #fff;
    padding: 22px;
    gap: 18px;
    border-bottom: 1px solid var(--slate-100);
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav-links.open { display: flex; }
}

@media (max-width: 760px) {
  /* honeycomb degrades to a tidy card list */
  .hex-grid { display: block; }
  .hex-row { display: block; }
  .hex-row + .hex-row { margin-top: 0; }
  .hex {
    width: 100%;
    height: auto;
    clip-path: none;
    overflow: hidden;
    background: none;
    border: 1px solid var(--slate-100);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 12px;
  }
  .hex-inner {
    position: static;
    inset: auto;
    clip-path: none;
    display: grid;
    grid-template-columns: 30px 1fr;
    column-gap: 16px;
    align-items: center;
    text-align: left;
    padding: 16px 18px;
  }
  .hex-inner svg { grid-row: 1 / span 2; }
  .hex-inner h3 { grid-column: 2; margin: 0 0 2px; }
  .hex-inner p { grid-column: 2; }
  .chip-new {
    top: 12px; left: auto; right: 12px;
    transform: none;
  }
  .hex:hover, .hex:focus-visible { transform: none; }
  .hex:hover .hex-inner, .hex:focus-visible .hex-inner { background: none; }
  .hex:hover .hex-inner h3, .hex:focus-visible .hex-inner h3 { color: var(--navy-900); }
  .hex:hover .hex-inner p, .hex:focus-visible .hex-inner p { color: var(--slate-400); }
  .hex:hover .hex-inner svg, .hex:focus-visible .hex-inner svg { color: var(--orange-500); }
  .hex:focus-visible { outline: 2px solid var(--orange-500); outline-offset: 2px; }
  /* responsibility clock degrades to an icon grid */
  .clock {
    max-width: none;
    height: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px 10px;
  }
  .clock-ring { display: none; }
  .clock-hub {
    position: static;
    transform: none;
    width: auto; height: auto;
    grid-column: 1 / -1;
    border-radius: var(--radius);
    flex-direction: row;
    padding: 14px 18px;
    margin-bottom: 6px;
  }
  .clock-item { position: static; transform: none; width: auto; }
  /* tips flow under the label on tap/focus instead of floating */
  .clock-item .tip {
    position: static;
    display: none;
    transform: none;
    width: auto;
    max-width: none;
    margin-top: 6px;
    background: none;
    box-shadow: none;
    padding: 0;
    color: var(--slate-400);
    font-size: .72rem;
  }
  .clock-item .tip::after { display: none; }
  .clock-item:hover .tip,
  .clock-item:focus-within .tip,
  .clock-item:focus .tip {
    display: block;
    transform: none;
  }
}

@media (max-width: 620px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.7rem; }
  .values-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .scope-grid { grid-template-columns: 1fr; }
  .clock { grid-template-columns: repeat(2, 1fr); }
  .timeline-grid { grid-template-columns: 1fr; }
  .framework-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-stats { grid-template-columns: 1fr; gap: 18px; }
  .form-row { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .team-card { grid-template-columns: 1fr; text-align: center; }
  .team-card .avatar { margin: 0 auto; }
  .cta { padding: 32px 24px; }
}

/* =========================================================
   DARK THEME
   Activated by [data-theme="dark"] on <html>. Default is the
   system preference (resolved by an inline script in <head>);
   the header toggle lets users override and persists the choice.
   ========================================================= */
:root { color-scheme: light; }

[data-theme="dark"] {
  color-scheme: dark;

  /* Remapped palette tokens — these flip semantics site-wide.
     --navy-900 carried text + heading color, so it becomes light;
     the few places that used it as a dark background are re-pinned
     to --navy-band below. */
  --white:     #0a111e;   /* page background */
  --navy-900:  #eaf0f8;   /* headings / primary text */
  --slate-700: #c4cedc;   /* strong secondary text */
  --slate-500: #a4afc1;   /* body text */
  --slate-400: #7f8b9e;   /* muted text */
  --slate-200: #2e3c58;   /* borders (strong) */
  --slate-100: #243049;   /* borders / dividers */
  --orange-50: #0e1727;   /* alt section surfaces (also inline styles) */
  --orange-100:#1b2740;   /* chip / icon backgrounds */

  /* New dark-only surfaces */
  --bg-card:   #121d32;   /* cards */
  --bg-elev:   #18253f;   /* hover / elevated */
  --navy-band: #0c1525;   /* full-bleed dark bands (trust strip, timeline, footer…) */

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .45);
  --shadow-md: 0 10px 24px rgba(0, 0, 0, .50);
  --shadow-lg: 0 24px 56px rgba(0, 0, 0, .60);
}

/* navbar */
[data-theme="dark"] .nav {
  background: rgba(10, 17, 30, .85);
  border-bottom-color: var(--slate-100);
}

/* hero */
[data-theme="dark"] .hero {
  background:
    radial-gradient(circle at 12% 18%, rgba(253, 152, 0, .16), transparent 55%),
    radial-gradient(circle at 88% 80%, rgba(233, 140, 0, .12), transparent 60%),
    linear-gradient(180deg, #0c1424 0%, var(--white) 80%);
}
[data-theme="dark"] .hero::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
}

/* card surfaces that used literal #fff */
[data-theme="dark"] .shield-card,
[data-theme="dark"] .value-card,
[data-theme="dark"] .service-card,
[data-theme="dark"] .scope-tile,
[data-theme="dark"] .team-card,
[data-theme="dark"] .case-card,
[data-theme="dark"] .location-card,
[data-theme="dark"] .frameworks,
[data-theme="dark"] form.contact-form,
[data-theme="dark"] .accordion details,
[data-theme="dark"] .accordion details[open],
[data-theme="dark"] .price-card,
[data-theme="dark"] .contact-card,
[data-theme="dark"] .feature-block,
[data-theme="dark"] .svc-block {
  background: var(--bg-card);
  border-color: var(--slate-100);
}
[data-theme="dark"] .scope-tile:hover { background: var(--bg-elev); }
[data-theme="dark"] .svc-block .panel {
  background: rgba(255, 255, 255, .03);
  border-color: var(--slate-100);
}

/* gradient surfaces with literal #fff stops */
[data-theme="dark"] .locations {
  background: linear-gradient(180deg, var(--orange-50) 0%, var(--white) 100%);
}
[data-theme="dark"] .worldmap-wrap {
  background: radial-gradient(ellipse at 50% 50%, var(--bg-card) 0%, var(--orange-50) 100%);
  border-color: var(--slate-100);
}
/* worldmap labels: light text with a dark halo so they read on the dark map */
[data-theme="dark"] .worldmap .marker-label { fill: #eef2f8; stroke: #0a111e; }
[data-theme="dark"] .worldmap .marker-sub   { fill: var(--orange-500); stroke: #0a111e; }
[data-theme="dark"] .worldmap .dots circle  { fill: #3a4866; }
/* email pill stays readable on the dark box */
[data-theme="dark"] .email-hero .email-link {
  background: transparent;
  color: var(--orange-500);
  border-color: var(--orange-500);
}
[data-theme="dark"] .email-hero .email-link:hover {
  background: var(--orange-500);
  color: #fff;
}
[data-theme="dark"] .email-hero {
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--orange-50) 100%);
  border-color: var(--slate-100);
}
[data-theme="dark"] .svc-block.alt {
  background: linear-gradient(135deg, var(--orange-50) 0%, var(--bg-card) 100%);
}
[data-theme="dark"] .page-header {
  background:
    radial-gradient(circle at 100% 0%, rgba(253, 152, 0, .15), transparent 50%),
    linear-gradient(180deg, var(--orange-50), var(--white));
}

/* form inputs */
[data-theme="dark"] form.contact-form input,
[data-theme="dark"] form.contact-form textarea,
[data-theme="dark"] form.contact-form select {
  background: var(--bg-elev);
  border-color: var(--slate-200);
}

/* dark bands re-pinned (these used --navy-900 as a background) */
[data-theme="dark"] .trust-strip,
[data-theme="dark"] .timeline,
[data-theme="dark"] .footer,
[data-theme="dark"] .svc-block.dark {
  background: var(--navy-band);
}
[data-theme="dark"] .cta {
  background:
    radial-gradient(circle at 100% 0%, rgba(253, 152, 0, .30), transparent 50%),
    linear-gradient(135deg, #10192b 0%, #1b2a47 100%);
}
[data-theme="dark"] .btn-dark { background: var(--navy-band); }
[data-theme="dark"] .btn-dark:hover { background: var(--bg-elev); }
[data-theme="dark"] .cycle-node .bubble { background: var(--bg-card); }
[data-theme="dark"] .cycle-node .bubble em { color: var(--navy-band); }
[data-theme="dark"] .cycle-node:nth-child(odd) .bubble em { color: #fff; }
[data-theme="dark"] .clock-item .chip { background: var(--bg-card); }
[data-theme="dark"] .clock-item .chip em { color: var(--navy-band); }
[data-theme="dark"] .clock-item:nth-child(odd) .chip em { color: #fff; }
[data-theme="dark"] .clock-hub { border: 1px solid var(--slate-100); }
[data-theme="dark"] .loop-label { background: var(--orange-100); color: var(--orange-500); }
[data-theme="dark"] .hex { background: var(--slate-200); }
[data-theme="dark"] .hex-inner { background: var(--bg-card); }
[data-theme="dark"] .hex:hover,
[data-theme="dark"] .hex:focus-visible { background: var(--orange-500); }
[data-theme="dark"] .hex:hover .hex-inner,
[data-theme="dark"] .hex:focus-visible .hex-inner { background: var(--navy-band); }
@media (max-width: 760px) {
  /* card-list fallback: flat dark cards, no hover fill */
  [data-theme="dark"] .hex,
  [data-theme="dark"] .hex:hover,
  [data-theme="dark"] .hex:focus-visible { background: var(--bg-card); }
  [data-theme="dark"] .hex-inner,
  [data-theme="dark"] .hex:hover .hex-inner,
  [data-theme="dark"] .hex:focus-visible .hex-inner { background: none; }
}
[data-theme="dark"] .location-card .flag { background: var(--navy-band); }
[data-theme="dark"] .tl-phase .dot { border-color: var(--navy-band); }
/* GRC section uses an inline var(--navy-900) bg, which would flip light in
   dark mode while its text stays white — force it to stay a dark band. */
/* GRC section: a bold dark band in light mode. In dark mode navy-band blends
   into the page, so render it as a distinct elevated panel instead. */
[data-theme="dark"] #compliance {
  background: var(--bg-card) !important;
  border-top: 1px solid var(--slate-100);
  border-bottom: 1px solid var(--slate-100);
}
[data-theme="dark"] #compliance .scope-tile {
  background: rgba(255, 255, 255, .05) !important;
  border-color: rgba(255, 255, 255, .12) !important;
}

/* keep accent text legible on dark bands */
[data-theme="dark"] .trust-tags span { color: var(--orange-500); }

/* client logos have baked-in white artwork backgrounds, so the tile must be
   pure white in dark mode too — otherwise the logo's own white box shows as a
   rectangle against an off-white tile. */
[data-theme="dark"] .logo-tile {
  background: #fff;
  border-color: rgba(255, 255, 255, .12);
}
[data-theme="dark"] .logo-tile img { opacity: .9; }
[data-theme="dark"] .logo-tile:hover img { opacity: 1; }
/* tile stays white in dark mode, so keep the light-theme text color */
[data-theme="dark"] .logo-tile-more { color: #6A7588; }

/* mobile dropdown panel (only when collapsed into a panel) */
@media (max-width: 980px) {
  [data-theme="dark"] .nav-links {
    background: var(--bg-card);
    border-bottom-color: var(--slate-100);
  }
}
