/* ==========================================================================
   TECEZE — styles
   ========================================================================== */

:root {
  /* Colour */
  --navy-900: #050b36;
  --navy-800: #121a45;
  --ink: #1f2647;
  --muted: #5e6684;
  --blue-600: #0066f5;
  --blue-500: #1a7bff;
  --blue-50: #e9f2ff;
  --logo-accent: #0a76fc;
  --bg: #f5f8fe;
  --line: #e2e8f3;
  --white: #ffffff;

  /* Type */
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Plus Jakarta Sans", var(--font); /* headings and big numbers */
  --nav-fs: clamp(14px, calc(0.95 * var(--vw)), 18px);

  /* Layout */
  --gutter: clamp(20px, calc(4 * var(--vw)), 80px);
  --container: calc(1440px - 2 * var(--frame-pad)); /* site, frame lines included, is at most 1440px wide */
  --vw: min(1vw, 14.4px); /* 1vw that stops growing past a 1440px screen */
  --cw: min(100vw - 2 * var(--gutter) - 2 * var(--frame-pad), var(--container)); /* container width, for full-bleed maths */
  --header-h: clamp(72px, calc(6 * var(--vw)), 112px);

  /* Frame: thin vertical lines just outside the content, joined by section dividers with diamonds */
  --frame-pad: clamp(16px, calc(4 * var(--vw)), 64px); /* gap between the content and the frame lines */
  --frame-w: calc(min(100% - 2 * var(--gutter) - 2 * var(--frame-pad), var(--container)) + 2 * var(--frame-pad));
  --frame-line: #d9e1ed;
  --diamond: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 11'%3E%3Cpath d='M5.5.7 10.3 5.5 5.5 10.3.7 5.5Z' fill='%23f5f8fe' stroke='%23b8c5d9'/%3E%3C/svg%3E");
  --frame-divider: linear-gradient(var(--frame-line), var(--frame-line)) center / calc(100% - 11px) 1px no-repeat;

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.nav-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
p, h1, h2, h3, h4, figure, blockquote { margin: 0; }

:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 3px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--navy-900);
  color: var(--white);
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

.container {
  width: min(100% - 2 * var(--gutter) - 2 * var(--frame-pad), var(--container));
  margin-inline: auto;
}

.icon {
  width: 1em;
  height: 1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.text-accent { color: var(--blue-600); }
.punct { margin-left: -0.07em; } /* the display font sets full stops loosely; main.js wraps them */

/* ---------- Buttons ---------- */
.btn {
  --btn-h: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  height: var(--btn-h);
  padding-inline: 1.6em;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.25s;
}
.btn .icon { width: 1.1em; height: 1.1em; transition: transform 0.25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }

.btn--primary {
  color: var(--white);
  background: linear-gradient(180deg, var(--blue-500) 0%, var(--blue-600) 100%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.22),
    0 10px 24px -10px rgb(0 102 245 / 0.75);
}
.btn--primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.22),
    0 16px 30px -12px rgb(0 102 245 / 0.8);
}
.btn--primary:active { transform: translateY(0); }

.btn--header {
  --btn-h: clamp(44px, calc(3.1 * var(--vw)), 60px);
  flex: none;
  font-size: var(--nav-fs);
  padding-inline: 1.45em;
}

.btn--lg {
  --btn-h: clamp(52px, calc(3.45 * var(--vw)), 68px);
  font-size: clamp(15px, calc(1 * var(--vw)), 19px);
  padding-inline: 1.9em;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background-color 0.3s, box-shadow 0.3s;
}
.site-header { transition: background-color 0.3s, box-shadow 0.3s, transform 0.45s var(--ease); }
.site-header.is-hidden { transform: translateY(-110%); }
.site-header:has(:focus-visible) { transform: none; } /* never hide while a link inside has keyboard focus */
.site-header.is-scrolled,
body.nav-open .site-header {
  background: rgb(255 255 255 / 0.85);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 10px 30px -22px rgb(5 11 54 / 0.35);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: clamp(16px, calc(2 * var(--vw)), 40px);
}
/* Header line runs between the frame lines, with a diamond where it meets each one */
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5.5px;
  width: calc(var(--frame-w) + 11px);
  height: 11px;
  margin-inline: auto;
  background: var(--frame-divider);
  pointer-events: none;
  transition: opacity 0.3s;
}
.site-header.is-scrolled::after,
body.nav-open .site-header::after { opacity: 0; }

.brand { flex: none; color: var(--navy-900); }
.brand .wordmark { width: clamp(124px, calc(9.8 * var(--vw)), 196px); height: auto; aspect-ratio: 61 / 10; }

.primary-nav { flex: 1; display: flex; justify-content: center; }

.nav-list { display: flex; align-items: center; gap: clamp(18px, calc(2.6 * var(--vw)), 54px); }

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  padding-block: 0.55em;
  font-size: var(--nav-fs);
  font-weight: 500;
  color: var(--navy-800);
  white-space: nowrap;
  transition: color 0.2s;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: -4px;
  right: -4px;
  bottom: -0.4em;
  height: 3px;
  border-radius: 3px;
  background: var(--blue-600);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease);
}
.nav-link:hover,
.nav-link.is-active { color: var(--blue-600); }
.nav-link.is-active::after { transform: scaleX(1); }

/* "More" dropdown */
.nav-more { position: relative; }
.nav-more__toggle .icon { width: 1em; height: 1em; transition: transform 0.25s var(--ease); }
.nav-more.is-open .nav-more__toggle .icon { transform: rotate(180deg); }

.nav-more__menu {
  position: absolute;
  top: calc(100% + 16px);
  right: -14px;
  min-width: 220px;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 24px 48px -20px rgb(5 11 54 / 0.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0.2s;
}
.nav-more__menu::before { /* hover bridge between toggle and menu */
  content: "";
  position: absolute;
  inset: -18px 0 auto 0;
  height: 18px;
}
.nav-more.is-open .nav-more__menu { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) {
  .nav-more:hover .nav-more__menu { opacity: 1; visibility: visible; transform: none; }
}
.nav-more__menu .nav-link {
  display: flex;
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
}
.nav-more__menu .nav-link::after { display: none; }
.nav-more__menu .nav-link:hover,
.nav-more__menu .nav-link.is-active { background: var(--blue-50); }

.nav-cta-mobile { display: none; }

/* Hamburger */
.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 12px;
}
.nav-toggle span {
  position: absolute;
  left: 12px;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--navy-900);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  --hero-pad-top: clamp(28px, calc(3.6 * var(--vw)), 72px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  overflow: clip;
  padding-top: calc(var(--header-h) + var(--hero-pad-top));
  padding-bottom: clamp(32px, calc(3 * var(--vw)), 60px);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: var(--frame-w); /* stays inside the site width */
  margin-inline: auto;
  /* fade into the page colour so the next section joins seamlessly */
  -webkit-mask-image: linear-gradient(to bottom, #000 75%, transparent);
  mask-image: linear-gradient(to bottom, #000 75%, transparent);
  background:
    radial-gradient(60% 70% at 0% 0%, #e1eefd 0%, rgb(225 238 253 / 0) 70%),
    radial-gradient(45% 50% at 20% 100%, #f9fbff 0%, rgb(249 251 255 / 0) 70%),
    linear-gradient(180deg, #f1f6fe 0%, #f6f9fe 55%, var(--bg) 100%);
}

/* Frame lines (vertical). Each section draws its own, so they read as one continuous pair. */
.hero::before,
.section::after,
.logos-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  width: var(--frame-w);
  margin-inline: auto;
  border-inline: 1px solid var(--frame-line);
  pointer-events: none;
}
/* Section divider: a horizontal line between the frame lines, with diamonds at the joins */
.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
  width: calc(var(--frame-w) + 11px);
  height: 11px;
  margin-inline: auto;
  background: var(--frame-divider);
  pointer-events: none;
}
/* Closing divider at the end of the page content, so the frame lines finish neatly */
main { position: relative; }
main::after {
  content: "";
  position: absolute;
  bottom: -5.5px;
  left: 0;
  right: 0;
  z-index: 2; /* above the footer, so the closing diamonds stay visible */
  width: calc(var(--frame-w) + 11px);
  height: 11px;
  margin-inline: auto;
  background: var(--frame-divider);
  pointer-events: none;
}
/* Clips decorations that should stay inside the frame (e.g. the globe) */
.frame-clip {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: var(--frame-w);
  margin-inline: auto;
  overflow: hidden;
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center; /* text and image share a centre line */
}

.hero__content { position: relative; z-index: 1; }

/* Eyebrow pill */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.8em;
  padding: 0.72em 1.25em 0.72em 1em;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: clamp(13px, calc(0.9 * var(--vw)), 17px);
  font-weight: 500;
  color: var(--ink);
}
.pill__dot {
  position: relative;
  width: 0.6em;
  height: 0.6em;
  border-radius: 50%;
  background: var(--blue-600);
}
.pill__dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--blue-600);
  animation: ping 2.4s var(--ease) infinite;
}

/* Headline */
.hero__title {
  margin-top: clamp(24px, calc(3 * var(--vw)), 58px);
  font-family: var(--font-display);
  font-weight: 650;
  color: var(--navy-900);
}
.hero__wordmark {
  width: clamp(200px, calc(18 * var(--vw)), 360px);
  height: auto;
  aspect-ratio: 61 / 10;
  margin-bottom: clamp(20px, calc(1.9 * var(--vw)), 38px);
}
.hero__headline {
  display: block;
  font-size: clamp(2rem, calc(3.1 * var(--vw)), 3.75rem);
  line-height: 1.1;
  letter-spacing: -0.012em;
}

.hero__lead {
  max-width: 30em;
  margin-top: clamp(16px, calc(1.5 * var(--vw)), 30px);
  font-size: clamp(1rem, calc(1.15 * var(--vw)), 1.375rem);
  line-height: 1.5;
  color: var(--ink);
}

/* Actions */
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(16px, calc(1.3 * var(--vw)), 26px);
  margin-top: clamp(28px, calc(2.8 * var(--vw)), 56px);
}
.hero__divider { width: 1px; height: clamp(34px, calc(2.5 * var(--vw)), 50px); background: var(--line); }

.play-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  font-size: clamp(15px, calc(1.05 * var(--vw)), 20px);
  font-weight: 600;
  color: var(--navy-900);
}
.play-btn__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(44px, calc(2.5 * var(--vw)), 50px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1.5px solid #cbdff7;
  background: rgb(255 255 255 / 0.7);
  color: var(--blue-600);
  transition: transform 0.3s var(--ease), border-color 0.3s, background-color 0.3s;
}
.play-btn__icon svg { width: 40%; fill: currentColor; }
.play-btn__icon::after {
  content: "";
  position: absolute;
  inset: -1.5px;
  border-radius: 50%;
  border: 1.5px solid var(--blue-600);
  opacity: 0;
}
.play-btn:hover .play-btn__icon { transform: scale(1.06); border-color: var(--blue-600); background: var(--white); }
.play-btn:hover .play-btn__icon::after { animation: ring 1.2s var(--ease) infinite; }

/* Building image — bleeds to the right edge of the viewport */
.hero__media {
  position: relative;
  z-index: 0;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 0.9;
  max-width: 640px;
  width: 100%;
  margin: 0 0 0 auto;
}
.hero__photo {
  position: relative;
  z-index: 2;
  width: 84%;
  aspect-ratio: 1 / 0.92;
  height: auto;
  object-fit: cover;
  object-position: 62% 55%;
  border-radius: 58% 42% 46% 54% / 52% 44% 56% 48%;
  box-shadow: 0 40px 80px -40px rgb(10 50 140 / 0.55);
  animation: media-in 1.4s var(--ease) both, blob 16s ease-in-out 1.4s infinite;
}
@keyframes blob {
  0%, 100% { border-radius: 58% 42% 46% 54% / 52% 44% 56% 48%; }
  25% { border-radius: 45% 55% 60% 40% / 58% 50% 50% 42%; }
  50% { border-radius: 52% 48% 38% 62% / 44% 58% 42% 56%; }
  75% { border-radius: 62% 38% 52% 48% / 48% 40% 60% 52%; }
}

/* Soft colour orbs drifting behind the photo */
.hero__orb {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  filter: blur(28px);
  opacity: 0.9;
  pointer-events: none;
}
.hero__orb--a { width: 62%; aspect-ratio: 1; top: -6%; right: -8%; background: radial-gradient(circle, #5b9dff 0%, rgb(91 157 255 / 0.55) 40%, rgb(91 157 255 / 0) 70%); animation: drift-a 14s ease-in-out infinite alternate; }
.hero__orb--b { width: 56%; aspect-ratio: 1; bottom: -8%; left: -6%; background: radial-gradient(circle, #8f7bff 0%, rgb(143 123 255 / 0.5) 40%, rgb(143 123 255 / 0) 70%); animation: drift-b 18s ease-in-out infinite alternate; }
.hero__orb--c { width: 44%; aspect-ratio: 1; bottom: -4%; right: -4%; background: radial-gradient(circle, #3fd0ff 0%, rgb(63 208 255 / 0.5) 40%, rgb(63 208 255 / 0) 70%); animation: drift-c 12s ease-in-out infinite alternate; }
@keyframes drift-a { to { transform: translate(-14%, 12%) scale(1.12); } }
@keyframes drift-b { to { transform: translate(16%, -10%) scale(0.9); } }
@keyframes drift-c { to { transform: translate(-10%, -16%) scale(1.15); } }

/* Slowly turning dashed orbit with a travelling dot */
.hero__ring {
  position: absolute;
  z-index: 1;
  inset: 1%;
  border: 1.5px dashed rgb(31 111 229 / 0.28);
  border-radius: 50%;
  animation: spin 40s linear infinite;
  pointer-events: none;
}
.hero__ring span {
  position: absolute;
  top: 50%;
  left: -7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--blue-600);
  box-shadow: 0 0 0 6px rgb(0 102 245 / 0.18), 0 0 18px rgb(0 102 245 / 0.6);
}
@keyframes spin { to { transform: rotate(1turn); } }

/* Stats */
.stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(28px, calc(2.8 * var(--vw)), 56px);
  padding: clamp(10px, calc(0.9 * var(--vw)), 18px) clamp(8px, calc(1 * var(--vw)), 20px);
  border: 1px solid rgb(226 232 243 / 0.9);
  border-radius: clamp(16px, calc(1.1 * var(--vw)), 22px);
  background: rgb(255 255 255 / 0.72);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 44px -30px rgb(5 11 54 / 0.25);
}
.stat {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(14px, calc(1.4 * var(--vw)), 28px);
  padding: clamp(10px, calc(0.9 * var(--vw)), 18px) clamp(12px, calc(2 * var(--vw)), 40px);
}
.stat + .stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 1px;
  background: var(--line);
}
.stat__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: clamp(52px, calc(3.8 * var(--vw)), 76px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #f5faff 0%, #e3eefe 100%);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.9), 0 8px 18px -12px rgb(0 102 245 / 0.55);
  color: #1572e8;
}
.stat__icon .icon { width: 52%; height: auto; aspect-ratio: 1; stroke-width: 1.75; }
.stat__value {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(22px, calc(1.7 * var(--vw)), 34px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--navy-900);
  font-variant-numeric: tabular-nums;
}
.stat__label {
  margin-top: 0.2em;
  font-size: clamp(14px, calc(1.05 * var(--vw)), 20px);
  color: var(--muted);
}

/* ---------- Shared section parts ---------- */
.section {
  position: relative;
  isolation: isolate;
  padding-block: clamp(56px, calc(6 * var(--vw)), 120px);
}

.eyebrow {
  display: flex;
  flex-direction: column-reverse; /* label above the number */
  align-items: flex-start;
  gap: clamp(6px, calc(0.5 * var(--vw)), 10px);
  font-size: clamp(12px, calc(0.78 * var(--vw)), 15px);
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--navy-800);
}
.eyebrow__num {
  font-size: 1.3em;
  letter-spacing: 0.02em;
  color: var(--blue-600);
}

.section-title {
  margin-top: clamp(16px, calc(1.6 * var(--vw)), 32px);
  font-family: var(--font-display);
  font-size: clamp(2rem, calc(2.7 * var(--vw)), 3.4rem);
  font-weight: 750;
  line-height: 1.16;
  letter-spacing: -0.012em;
  color: var(--navy-900);
}

.section-title { text-wrap: balance; }

.section-lead {
  max-width: 36em;
  text-wrap: pretty;
  margin-top: clamp(12px, calc(1.2 * var(--vw)), 24px);
  font-size: clamp(1rem, calc(1.2 * var(--vw)), 1.5rem);
  line-height: 1.45;
  color: var(--muted);
}

.icon-btn {
  display: grid;
  place-items: center;
  width: clamp(32px, calc(1.9 * var(--vw)), 38px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #eef3fb;
  color: var(--navy-800);
  transition: background-color 0.2s, color 0.2s, transform 0.2s var(--ease);
}
.icon-btn .icon { width: 45%; height: auto; aspect-ratio: 1; }

/* Small round buttons get a 44px+ invisible hit area */
.icon-btn,
.round-btn,
.toggle-btn { position: relative; }
.icon-btn::before,
.round-btn::before,
.toggle-btn::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
}

/* Play / pause toggles show one icon at a time */
.toggle-btn[data-state="playing"] .toggle-btn__play,
.toggle-btn[data-state="paused"] .toggle-btn__pause { display: none; }
.icon-btn:hover { background: var(--blue-600); color: var(--white); }
.icon-btn:active { transform: scale(0.94); }

/* ---------- 02. Trust & Credibility ---------- */
/* The globe starts at the top of the section and may be cut off at the bottom */
.trust {
  overflow: hidden;
  overflow: clip;
  padding-bottom: clamp(40px, calc(4 * var(--vw)), 80px);
}

/* Dotted globe behind the stat cards (drawn by js/globe.js) */
.trust__globe {
  position: absolute;
  top: 50%;
  right: 1%;
  transform: translateY(-50%);
  width: min(46%, 700px); /* stays inside the empty right column */
  aspect-ratio: 1;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(closest-side, #000 88%, transparent);
  mask-image: radial-gradient(closest-side, #000 88%, transparent);
}
.trust__globe canvas { width: 100%; height: 100%; }

/* The eyebrow sits on its own row so the cards line up with the heading */
.trust__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); /* right column is left open for the globe */
  grid-template-areas:
    "eyebrow ."
    "intro   ."
    "stats   .";
  align-items: start;
  column-gap: clamp(28px, calc(3.6 * var(--vw)), 72px);
  row-gap: clamp(16px, calc(1.6 * var(--vw)), 32px);
}
.trust__eyebrow { grid-area: eyebrow; }
.trust__intro { grid-area: intro; }
.trust__intro .section-title { margin-top: 0; }
.trust__stats { grid-area: stats; }

.trust__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, calc(1.2 * var(--vw)), 24px);
}

.trust-card {
  --tint: var(--blue-50);
  --tone: var(--blue-600);
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(18px, calc(1.5 * var(--vw)), 30px);
  border: 1px solid rgb(226 232 243 / 0.9);
  border-radius: clamp(14px, calc(1 * var(--vw)), 20px);
  background: rgb(255 255 255 / 0.72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 32px -22px rgb(5 11 54 / 0.18);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}
.trust-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--tone) 22%, transparent);
  box-shadow: 0 22px 40px -24px color-mix(in srgb, var(--tone) 45%, transparent);
}
.trust-card--blue { --tint: #deeefd; --tone: #0370d2; }
.trust-card--green { --tint: #d9f5ef; --tone: #1c8a69; }
.trust-card--purple { --tint: #e8e3fe; --tone: #7740db; }
.trust-card--amber { --tint: #feefdb; --tone: #f0a01a; }

.trust-card__icon {
  display: grid;
  place-items: center;
  width: clamp(44px, calc(3.1 * var(--vw)), 62px);
  aspect-ratio: 1;
  border-radius: 28%;
  background: var(--tint);
  color: var(--tone);
}
.trust-card__icon .icon { width: 50%; height: auto; aspect-ratio: 1; stroke-width: 1.8; }

.trust-card__value {
  margin-top: clamp(12px, calc(1 * var(--vw)), 20px);
  font-family: var(--font-display);
  font-size: clamp(1.75rem, calc(2.3 * var(--vw)), 2.9rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--navy-900);
  font-variant-numeric: tabular-nums;
}
.trust-card__label {
  margin-top: 0.4em;
  font-size: clamp(14px, calc(0.95 * var(--vw)), 19px);
  line-height: 1.3;
  color: var(--muted);
}

/* Client logo strip */
.clients {
  margin-top: clamp(24px, calc(1.6 * var(--vw)), 32px);
  padding: clamp(14px, calc(1 * var(--vw)), 22px) clamp(20px, calc(1.5 * var(--vw)), 30px) clamp(10px, calc(0.8 * var(--vw)), 16px);
  border: 1px solid rgb(226 232 243 / 0.9);
  border-radius: clamp(14px, calc(1 * var(--vw)), 20px);
  background: rgb(255 255 255 / 0.86);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 32px -24px rgb(5 11 54 / 0.18);
}
.clients__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.clients__title {
  margin: 0;
  text-wrap: balance;
  font-size: clamp(12px, calc(0.75 * var(--vw)), 15px);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #16346b;
}
.clients__nav { display: flex; gap: 8px; }

/* Client logos band (between 02 and 03) */
.logos-band {
  position: relative;
  isolation: isolate;
  padding-block: clamp(8px, calc(1 * var(--vw)), 20px) clamp(40px, calc(4 * var(--vw)), 80px);
}
.logos-band .marquee { margin-top: 0; }

/* Endless logo loop */
.marquee {
  --slot: clamp(150px, calc(12.6 * var(--vw)), 250px);
  --logo-h: clamp(26px, calc(2 * var(--vw)), 40px);
  position: relative;
  margin-top: clamp(16px, calc(1.4 * var(--vw)), 28px);
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.marquee.is-dragging { cursor: grabbing; }
.marquee__track {
  display: flex;
  width: max-content;
  will-change: transform;
}
.marquee__item {
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  width: var(--slot);
  height: clamp(64px, calc(4.4 * var(--vw)), 88px);
  padding-inline: clamp(10px, calc(1 * var(--vw)), 20px);
}
.marquee__item::after { /* divider */
  content: "";
  position: absolute;
  right: 0;
  top: 22%;
  bottom: 22%;
  width: 1px;
  background: var(--line);
}

.client-logo {
  --s: 1;
  width: auto;
  max-width: 100%;
  height: calc(var(--logo-h) * var(--s));
  object-fit: contain; /* never stretch when a narrow slot caps the width */
  opacity: 0.85;
  -webkit-user-drag: none;
  user-select: none;
  transition: opacity 0.25s, transform 0.35s var(--ease);
}
.marquee__item:hover .client-logo { opacity: 1; transform: scale(1.04); }

/* Optical sizing (taken from the logo sizes in the design) so every logo carries the same visual weight */
.client-logo--straive { --s: 0.85; }
.client-logo--trimble { --s: 0.93; }
.client-logo--virtusa { --s: 0.8; }
.client-logo--wipro { --s: 1.85; }
.client-logo--zoho { --s: 1.4; }
.client-logo--larsen-toubro { --s: 1.15; }
.client-logo--hcl { --s: 0.45; }

/* ---------- 03. Services ---------- */
.services .section-lead { max-width: none; } /* full container width, like the one-line title */

/* One card holds the featured panel and the tab row */
.services__showcase {
  display: flex;
  flex-direction: column;
  margin-top: clamp(28px, calc(2.6 * var(--vw)), 52px);
  padding: clamp(14px, calc(1.5 * var(--vw)), 28px);
  border: 1px solid rgb(226 232 243 / 0.85);
  border-radius: clamp(16px, calc(1.1 * var(--vw)), 22px);
  background: var(--white);
  box-shadow: 0 24px 60px -36px rgb(5 11 54 / 0.22);
}
.services__showcase .service-tabs { order: 1; }

.service-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  column-gap: clamp(28px, calc(4.2 * var(--vw)), 84px);
}

.service-panel__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(8px, calc(0.6 * var(--vw)), 12px) 0 clamp(8px, calc(0.6 * var(--vw)), 12px) clamp(6px, calc(1.3 * var(--vw)), 26px);
  border-radius: 12px;
}
.service-panel__body > * { transition: opacity 0.18s ease, transform 0.18s ease; }
.service-panel__body.is-changing > * { opacity: 0; transform: translateY(6px); }

.service-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.5em 1em 0.5em 0.8em;
  border-radius: 999px;
  background: #e6f2fe;
  font-size: clamp(13px, calc(0.9 * var(--vw)), 17px);
  font-weight: 600;
  color: #005ee0; /* a shade darker than the brand blue for AA contrast on the tint */
  font-variant-numeric: tabular-nums;
}
.service-badge .icon { width: 1.3em; height: 1.3em; stroke-width: 2.1; color: var(--blue-600); }

.service-panel__title {
  margin-top: clamp(14px, calc(1.1 * var(--vw)), 22px);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, calc(2.2 * var(--vw)), 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--navy-900);
}
.service-panel__desc {
  max-width: 32em;
  text-wrap: pretty;
  margin-top: clamp(10px, calc(0.8 * var(--vw)), 16px);
  font-size: clamp(15px, calc(1.1 * var(--vw)), 21px);
  line-height: 1.5;
  color: var(--muted);
}

.service-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, calc(0.9 * var(--vw)), 18px) clamp(16px, calc(1.6 * var(--vw)), 32px);
  width: 100%;
  margin-top: clamp(14px, calc(1.1 * var(--vw)), 22px);
  margin-bottom: clamp(22px, calc(2 * var(--vw)), 40px); /* minimum space above the CTA */
}
.service-features li {
  display: flex;
  align-items: center;
  gap: 0.8em;
  font-size: clamp(14px, calc(0.92 * var(--vw)), 17px);
  line-height: 1.35;
  color: var(--ink);
}
.service-features__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: clamp(36px, calc(2.4 * var(--vw)), 46px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #eaf3fe;
  color: #2f67b0;
}
.service-features__icon .icon { width: 50%; height: auto; aspect-ratio: 1; stroke-width: 1.8; }

.service-panel__cta { margin-top: auto; } /* pinned to the bottom of the panel */

/* Image with its own controls */
.service-panel__media {
  position: relative;
  aspect-ratio: 16 / 10;
  min-height: 0;
  overflow: hidden;
  border-radius: clamp(12px, calc(0.9 * var(--vw)), 18px);
  background: #0a1433;
  touch-action: pan-y;
}
.service-panel__media::after { /* keeps the controls legible on any image */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgb(4 10 31 / 0.6), rgb(4 10 31 / 0) 42%);
  pointer-events: none;
}
.service-panel__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.6s ease, transform 1.2s var(--ease);
}
.service-panel__img.is-current { opacity: 1; transform: none; }

.service-panel__controls {
  position: absolute;
  left: clamp(14px, calc(1.4 * var(--vw)), 26px);
  right: clamp(14px, calc(1.4 * var(--vw)), 26px);
  bottom: clamp(14px, calc(1.4 * var(--vw)), 26px);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none; /* only the buttons take clicks, so swipes still reach the image */
}
.service-panel__controls button { pointer-events: auto; }
.service-panel__buttons { display: flex; gap: clamp(14px, calc(1.1 * var(--vw)), 20px); }

.media-btn {
  display: grid;
  place-items: center;
  width: clamp(40px, calc(2.8 * var(--vw)), 52px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.82);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--navy-900);
  box-shadow: 0 8px 20px -10px rgb(0 0 0 / 0.5);
  transition: background-color 0.2s, transform 0.2s var(--ease);
}
.media-btn .icon { width: 42%; height: auto; aspect-ratio: 1; stroke-width: 2.4; }
.media-btn:hover { background: var(--white); transform: scale(1.06); }
.media-btn:active { transform: scale(0.95); }
.media-btn--primary { position: relative; background: var(--blue-600); color: var(--white); }
.media-btn--primary:hover { background: var(--blue-500); }
.service-panel__media :focus-visible { outline-color: var(--white); }

.media-toggle {
  display: grid;
  place-items: center;
  width: clamp(34px, calc(2.2 * var(--vw)), 42px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.18);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--white);
  transition: background-color 0.2s;
}
.media-toggle .icon { width: 40%; height: auto; aspect-ratio: 1; }
.media-toggle:hover { background: rgb(255 255 255 / 0.32); }

/* Service tabs */
.service-tabs {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  margin-top: clamp(16px, calc(1.4 * var(--vw)), 26px);
  padding-top: clamp(12px, calc(1.1 * var(--vw)), 20px);
  border-top: 1px solid var(--line);
}
.round-btn {
  display: grid;
  place-items: center;
  width: clamp(40px, calc(2.8 * var(--vw)), 52px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--white);
  color: var(--blue-600);
  box-shadow: 0 8px 22px -10px rgb(5 11 54 / 0.28);
  transition: background-color 0.2s, color 0.2s, transform 0.2s var(--ease);
}
.round-btn .icon { width: 42%; height: auto; aspect-ratio: 1; stroke-width: 2.2; }
.round-btn:hover { background: var(--blue-600); color: var(--white); }
.round-btn:active { transform: scale(0.94); }

.service-tabs__list {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(116px, 1fr); /* scrolls instead of squashing labels when 9 don't fit */
  gap: clamp(8px, calc(0.65 * var(--vw)), 12px);
  padding: 6px 6px 18px; /* room for focus rings and the hover shadow… */
  margin-bottom: -12px; /* …without adding visible space */
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 6px;
  scrollbar-width: none;
}
.service-tabs__list.is-scrollable {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 20px, #000 calc(100% - 20px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 20px, #000 calc(100% - 20px), transparent);
}
.service-tabs__list::-webkit-scrollbar { display: none; }

.service-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, calc(0.6 * var(--vw)), 12px);
  min-height: clamp(96px, calc(7.2 * var(--vw)), 132px);
  padding: 12px 8px;
  border: 1px solid #e3e9f3;
  border-radius: clamp(10px, calc(0.75 * var(--vw)), 14px);
  background: var(--white);
  font-size: clamp(13px, calc(0.85 * var(--vw)), 16px);
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  color: var(--navy-800);
  scroll-snap-align: center;
  transition: border-color 0.2s, box-shadow 0.25s, transform 0.25s var(--ease), background-color 0.2s;
}
/* Label box is always two lines tall, so every icon sits on the same line */
.service-tab span {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 7.6em;
  min-height: 2.6em;
  text-wrap: balance;
}
.service-tab .icon { width: clamp(26px, calc(1.8 * var(--vw)), 34px); height: auto; aspect-ratio: 1; color: var(--blue-600); stroke-width: 1.6; }
.service-tab:hover {
  border-color: #bcd5f7;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -18px rgb(0 102 245 / 0.5);
}
.service-tab:focus-visible { outline-offset: 1px; }
.service-tab[aria-selected="true"] {
  border-color: #3d8bf0;
  background: #e9f3fe;
  box-shadow: inset 0 0 0 1px #3d8bf0;
  color: var(--navy-900);
}

/* ---------- Call-to-action banner (end of 03) ---------- */
.cta-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto minmax(0, 1.05fr) auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(20px, calc(2.6 * var(--vw)), 52px);
  margin-top: clamp(36px, calc(3.4 * var(--vw)), 68px);
  padding: clamp(20px, calc(2 * var(--vw)), 36px) clamp(22px, calc(3 * var(--vw)), 60px);
  border-radius: clamp(16px, calc(1.1 * var(--vw)), 22px);
  background:
    radial-gradient(60% 140% at 88% 50%, rgb(29 109 255 / 0.2), transparent 70%),
    linear-gradient(100deg, #031531 0%, #04204b 55%, #062a61 100%);
  color: var(--white);
  box-shadow: 0 24px 50px -30px rgb(3 21 49 / 0.7);
}
.cta-banner::before { /* soft diagonal light streaks */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(118deg, transparent 58%, rgb(80 150 255 / 0.13) 63%, transparent 69%),
    linear-gradient(118deg, transparent 69%, rgb(80 150 255 / 0.09) 74%, transparent 81%),
    linear-gradient(118deg, transparent 80%, rgb(80 150 255 / 0.07) 85%, transparent 92%);
  pointer-events: none;
}
.cta-banner :focus-visible { outline-color: var(--white); }
.cta-banner__icon {
  display: grid;
  place-items: center;
  width: clamp(56px, calc(4.6 * var(--vw)), 92px);
  aspect-ratio: 1;
  border: 1px solid rgb(80 150 255 / 0.18);
  border-radius: 22%;
  background: rgb(40 120 255 / 0.12);
  color: #3b95ff;
}
.cta-banner__icon .icon { width: 44%; height: auto; aspect-ratio: 1; stroke-width: 1.8; }
.cta-banner__eyebrow {
  font-size: clamp(11px, calc(0.72 * var(--vw)), 14px);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.85);
}
.cta-banner__title {
  margin-top: 0.3em;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, calc(2.3 * var(--vw)), 2.9rem);
  font-weight: 750;
  line-height: 1.1;
  letter-spacing: -0.012em;
}
.cta-banner__accent,
.why__title .text-accent { white-space: nowrap; } /* keep accent phrases together */
.cta-banner__accent {
  background: linear-gradient(90deg, #2f8cff, #3ab4ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cta-banner__divider {
  width: 1px;
  align-self: stretch;
  background: linear-gradient(transparent, rgb(255 255 255 / 0.22), transparent);
}
.cta-banner__text {
  max-width: 30em;
  text-wrap: pretty;
  font-size: clamp(15px, calc(0.98 * var(--vw)), 19px);
  line-height: 1.5;
  color: rgb(255 255 255 / 0.82);
}
.btn--glow {
  color: var(--white);
  background: linear-gradient(90deg, #0aa3ff, #1d6bff);
  box-shadow: 0 12px 30px -10px rgb(10 140 255 / 0.7);
}
.btn--glow:hover { transform: translateY(-1px); filter: brightness(1.08); }

/* ---------- 04. Why TECEZE ---------- */
.why__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "eyebrow cta"
    "title   title"
    "lead    lead";
  align-items: center;
  row-gap: clamp(16px, calc(1.6 * var(--vw)), 28px);
}
.why__eyebrow { grid-area: eyebrow; }
.why__cta { grid-area: cta; }
.why__title { grid-area: title; margin-top: 0; }
.why__lead { grid-area: lead; margin-top: 0; max-width: none; text-wrap: pretty; }


/* Cards (2 x 2) on the left, image panel on the right */
.why__body {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(14px, calc(1.2 * var(--vw)), 24px);
  margin-top: clamp(32px, calc(3 * var(--vw)), 60px);
}
.why__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, calc(1.2 * var(--vw)), 24px);
}
.why__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: clamp(16px, calc(1.1 * var(--vw)), 22px);
  background: linear-gradient(180deg, #071c46, #04122f);
  color: var(--white);
  box-shadow: 0 24px 50px -30px rgb(3 21 49 / 0.7);
}
.why__visual img {
  flex: 1;
  width: 100%;
  min-height: 260px;
  object-fit: cover;
  object-position: 40% center;
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent);
  mask-image: linear-gradient(to bottom, #000 70%, transparent);
}
.why__visual-body { padding: 0 clamp(20px, calc(1.8 * var(--vw)), 34px) clamp(22px, calc(2 * var(--vw)), 36px); margin-top: -40px; position: relative; }
.why__visual-badge {
  display: grid;
  place-items: center;
  width: 52px;
  aspect-ratio: 1;
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: 14px;
  background: rgb(40 120 255 / 0.25);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #6db6ff;
}
.why__visual-badge .icon { width: 50%; height: 50%; }
.why__visual-title {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, calc(1.5 * var(--vw)), 1.75rem);
  font-weight: 700;
  line-height: 1.25;
}
.why__visual-title span { color: #4aa3ff; }
.why__visual-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(18px, calc(1.6 * var(--vw)), 28px);
  padding-top: clamp(14px, calc(1.2 * var(--vw)), 22px);
  border-top: 1px solid rgb(255 255 255 / 0.14);
}
.why__visual-stats li { display: grid; font-size: 13.5px; color: rgb(255 255 255 / 0.75); }
.why__visual-stats li + li { padding-left: 14px; border-left: 1px solid rgb(255 255 255 / 0.14); }
.why__visual-stats strong { font-family: var(--font-display); font-size: clamp(1.15rem, calc(1.35 * var(--vw)), 1.5rem); color: var(--white); }
.why-card {
  --tone: #1f6fe5;
  --tint: #e4efff;
  --wash: #f2f7ff;
  --num: #a9c8f5;
  /* Rows are shared with the other cards (subgrid), so titles, dividers and arrows line up */
  display: grid;
  grid-row: span 4;
  grid-template-rows: subgrid;
  row-gap: 0;
  min-width: 0;
  padding: clamp(20px, calc(1.6 * var(--vw)), 32px);
  border: 1px solid rgb(226 232 243 / 0.9);
  border-radius: clamp(16px, calc(1.1 * var(--vw)), 22px);
  background: linear-gradient(165deg, var(--wash), color-mix(in srgb, var(--wash) 50%, var(--white)));
  box-shadow: 0 14px 36px -26px rgb(5 11 54 / 0.2);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}
.why-card:hover,
.why-card:focus-within {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--tone) 24%, transparent);
  box-shadow: 0 24px 44px -26px color-mix(in srgb, var(--tone) 40%, transparent);
}
.why-card--green { --tone: #16935f; --tint: #dcf5ea; --wash: #eefaf4; --num: #93d4b6; }
.why-card--purple { --tone: #7448dc; --tint: #ece5ff; --wash: #f6f2ff; --num: #c2b1f1; }
.why-card--amber { --tone: #a86400; --tint: #ffefd6; --wash: #fff7ec; --num: #f1c784; }
.why-card--amber .why-card__icon,
.why-card--amber .why-card__list .icon { color: #df8a00; } /* brighter amber where contrast isn't critical */

.why-card__top { display: flex; align-items: flex-start; justify-content: space-between; }
.why-card__icon {
  display: grid;
  place-items: center;
  width: clamp(48px, calc(3.4 * var(--vw)), 64px);
  aspect-ratio: 1;
  border-radius: 28%;
  background: var(--tint);
  color: var(--tone);
}
.why-card__icon .icon { width: 50%; height: auto; aspect-ratio: 1; stroke-width: 1.8; }
.why-card__num {
  font-family: var(--font-display);
  font-size: clamp(16px, calc(1.15 * var(--vw)), 22px);
  font-weight: 600;
  color: var(--num);
  font-variant-numeric: tabular-nums;
}
.why-card__title {
  margin-top: clamp(16px, calc(1.4 * var(--vw)), 28px);
  font-family: var(--font-display);
  font-size: clamp(1.15rem, calc(1.3 * var(--vw)), 1.55rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--navy-900);
}
.why-card__desc {
  margin: 0.6em 0 clamp(16px, calc(1.4 * var(--vw)), 26px);
  font-size: clamp(14px, calc(0.95 * var(--vw)), 17px);
  line-height: 1.55;
  color: var(--muted);
}
.why-card__foot {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-top: clamp(16px, calc(1.3 * var(--vw)), 24px);
  border-top: 1px solid rgb(226 232 243 / 0.9);
}
.why-card__list { display: grid; gap: 0.6em; min-width: 0; }
.why-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6em;
  font-size: clamp(14px, calc(0.92 * var(--vw)), 17px);
  line-height: 1.35;
  color: var(--ink);
}
.why-card__list .icon { width: 1.15em; height: 1.15em; margin-top: 0.1em; color: var(--tone); }
.why-card__link {
  display: grid;
  place-items: center;
  flex: none;
  align-self: flex-end; /* bottom of the card, level across the row */
  width: clamp(40px, calc(2.6 * var(--vw)), 48px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--tint);
  color: var(--tone);
  transition: background-color 0.2s, color 0.2s, transform 0.25s var(--ease);
}
.why-card__link .icon { width: 44%; height: auto; aspect-ratio: 1; stroke-width: 2.2; }
.why-card__link:hover,
.why-card__link:focus-visible { background: var(--tone); color: var(--white); transform: translateX(2px); }

/* Our approach strip */
.approach {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr); /* the title takes what it needs, the items share the rest */
  align-items: center;
  gap: clamp(16px, calc(2 * var(--vw)), 40px);
  margin-top: clamp(16px, calc(1.4 * var(--vw)), 28px);
  padding: clamp(20px, calc(1.8 * var(--vw)), 34px) clamp(22px, calc(2.2 * var(--vw)), 44px);
  border: 1px solid rgb(226 232 243 / 0.9);
  border-radius: clamp(16px, calc(1.1 * var(--vw)), 22px);
  background: rgb(255 255 255 / 0.86);
  box-shadow: 0 14px 36px -26px rgb(5 11 54 / 0.2);
}
.approach__intro { position: relative; padding-left: clamp(16px, calc(1.5 * var(--vw)), 30px); }
.approach__intro::before { /* accent bar */
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(var(--blue-500), var(--blue-600));
}
.approach__eyebrow {
  font-size: clamp(12px, calc(0.75 * var(--vw)), 14px);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #3c5a85;
}
.approach__title {
  margin-top: 0.35em;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, calc(1.6 * var(--vw)), 2.1rem);
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: -0.012em;
  color: var(--navy-900);
}
.approach__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.approach__item {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(12px, calc(1 * var(--vw)), 20px);
  padding-inline: clamp(14px, calc(1.6 * var(--vw)), 32px);
}
.approach__item::before { /* divider */
  content: "";
  position: absolute;
  left: 0;
  top: 8%;
  bottom: 8%;
  width: 1px;
  background: var(--line);
}
.approach__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: clamp(48px, calc(3.5 * var(--vw)), 68px);
  aspect-ratio: 1;
  border-radius: 22%;
  background: #e6f0fe;
  color: var(--blue-600);
}
.approach__icon .icon { width: 46%; height: auto; aspect-ratio: 1; stroke-width: 1.7; }
.approach__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(16px, calc(1.05 * var(--vw)), 20px);
  font-weight: 700;
  color: var(--navy-900);
}
.approach__text {
  margin-top: 0.25em;
  font-size: clamp(14px, calc(0.9 * var(--vw)), 17px);
  line-height: 1.4;
  color: var(--muted);
}

/* ---------- 05. Industries ---------- */
.btn--outline {
  color: var(--blue-600);
  background: var(--white);
  box-shadow: inset 0 0 0 1px #c7d9f5; /* soft outline */
}
.btn--outline:hover { background: var(--blue-50); transform: translateY(-1px); }

.industries__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "eyebrow cta" "title title" "lead lead";
  align-items: center;
  row-gap: clamp(14px, calc(1.4 * var(--vw)), 24px);
}
.industries__eyebrow { grid-area: eyebrow; }
.industries__cta { grid-area: cta; }
.industries__title { grid-area: title; }
.industries__lead { grid-area: lead; }
@media (max-width: 640px) {
  .industries__head { grid-template-columns: minmax(0, 1fr); grid-template-areas: "eyebrow" "title" "lead" "cta"; }
  .industries__cta { justify-self: start; }
}
.industries__title { margin-top: 0; }
.industries__lead { margin-top: 0; max-width: none; text-wrap: pretty; }

.industries__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, calc(1.4 * var(--vw)), 28px);
  margin-top: clamp(32px, calc(3 * var(--vw)), 60px);
}
/* Cards rise in one after another as they scroll into view */
.reveal-ready .industry-card.is-visible { animation-duration: 0.9s; animation-delay: calc(var(--d, 0) * 180ms); }
.industry-card {
  --tone: #2563eb;
  --tint: #e8f0fe;
  position: relative;
  display: grid;
  align-items: start;
  padding: clamp(22px, calc(2 * var(--vw)), 38px) clamp(22px, calc(2 * var(--vw)), 38px) clamp(80px, calc(6 * var(--vw)), 110px);
  overflow: hidden;
  border: 1px solid rgb(226 232 243 / 0.9);
  border-radius: clamp(18px, calc(1.4 * var(--vw)), 28px);
  background: linear-gradient(135deg, var(--white) 45%, color-mix(in srgb, var(--tint) 55%, var(--white)));
  box-shadow: 0 18px 44px -30px rgb(5 11 54 / 0.25);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.industry-card:hover,
.industry-card:focus-within { transform: translateY(-4px); box-shadow: 0 28px 54px -30px color-mix(in srgb, var(--tone) 45%, transparent); }
.industry-card--green { --tone: #0f9466; --tint: #dcf7ec; }
.industry-card--purple { --tone: #7448dc; --tint: #ece5ff; }
.industry-card--amber { --tone: #b36b00; --tint: #ffefd6; }
.industry-card--red { --tone: #d22f40; --tint: #ffe4e6; }
.industry-card--sky { --tone: #0477b8; --tint: #dff2fd; }

.industry-card__icon {
  display: grid;
  place-items: center;
  width: clamp(52px, calc(3.8 * var(--vw)), 72px);
  aspect-ratio: 1;
  border-radius: 26%;
  background: var(--tint);
  color: var(--tone);
}
.industry-card__icon .icon { width: 50%; height: auto; aspect-ratio: 1; stroke-width: 1.8; }
.industry-card__title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: clamp(16px, calc(1.4 * var(--vw)), 26px);
  font-family: var(--font-display);
  font-size: clamp(1.4rem, calc(1.7 * var(--vw)), 2.1rem);
  font-weight: 750;
  line-height: 1.1;
  letter-spacing: -0.012em;
  color: var(--navy-900);
}
.industry-card__tag {
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--tone);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
}
.industry-card__desc { margin-top: 0.6em; font-size: clamp(15px, calc(1.1 * var(--vw)), 19px); line-height: 1.5; color: var(--muted); }
.industry-card__list { display: grid; gap: 12px; margin-top: clamp(16px, calc(1.6 * var(--vw)), 28px); }
.industry-card__list li { display: flex; align-items: center; gap: 12px; font-size: clamp(14.5px, calc(1 * var(--vw)), 17px); color: var(--ink); }
.industry-card__check { display: grid; place-items: center; flex: none; width: 30px; aspect-ratio: 1; border-radius: 50%; background: var(--tint); color: var(--tone); }
.industry-card__check .icon { width: 62%; height: auto; aspect-ratio: 1; }
.industry-card__text { position: relative; }
.industry-card__art {
  position: absolute;
  top: clamp(-8px, -0.4vw, 0px);
  right: clamp(-16px, -1vw, 0px);
  width: 34%;
  height: auto;
  pointer-events: none;
  transition: transform 0.6s var(--ease);
}
.industry-card__title,
.industry-card__desc { padding-right: 26%; } /* keep clear of the illustration */
.industry-card__tag { flex-basis: auto; }
.industry-card:hover .industry-card__art { transform: translateY(-6px) scale(1.03); }
.industry-card__link {
  position: absolute;
  right: clamp(18px, calc(1.8 * var(--vw)), 34px);
  bottom: clamp(18px, calc(1.8 * var(--vw)), 34px);
  display: grid;
  place-items: center;
  width: clamp(48px, calc(3.6 * var(--vw)), 64px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--tone);
  color: var(--white);
  box-shadow: 0 12px 26px -10px color-mix(in srgb, var(--tone) 70%, transparent);
  transition: transform 0.25s var(--ease);
}
.industry-card__link .icon { width: 42%; height: auto; aspect-ratio: 1; stroke-width: 2.2; }
.industry-card:hover .industry-card__link { transform: translateX(3px); }
.industries__more { display: flex; justify-content: center; margin-top: clamp(28px, calc(2.6 * var(--vw)), 48px); }


/* ---------- Shared: header with title, lead and actions in one row ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.split-head {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto;
  grid-template-areas:
    "eyebrow eyebrow eyebrow"
    "title   lead    actions";
  align-items: center;
  gap: clamp(16px, calc(1.6 * var(--vw)), 32px) clamp(24px, calc(3.2 * var(--vw)), 64px);
}
.split-head__eyebrow { grid-area: eyebrow; }
.split-head__title { grid-area: title; margin-top: 0; }
.split-head__lead { grid-area: lead; margin-top: 0; max-width: 34em; text-wrap: pretty; }
.split-head__actions {
  grid-area: actions;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: clamp(14px, calc(1.4 * var(--vw)), 24px);
}
.icon-btn--lg { width: clamp(44px, calc(3 * var(--vw)), 56px); background: #e9f1fd; color: var(--blue-600); }
.icon-btn--primary { background: var(--blue-600); color: var(--white); box-shadow: 0 10px 22px -10px rgb(0 102 245 / 0.7); }
.icon-btn--primary:hover { background: var(--blue-500); }
.slider-nav { display: flex; align-items: center; gap: 12px; }
.slider-nav__count {
  margin-left: 6px;
  font-weight: 600;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

/* ---------- 06. Case studies: cards that stack as you scroll ---------- */
.case-stack { display: grid; gap: clamp(24px, calc(2.4 * var(--vw)), 44px); margin-top: clamp(32px, calc(3 * var(--vw)), 56px); padding: 0; list-style: none; }
.case {
  --tone: #7448dc; --tone-2: #9b6bff; --accent: #6d3fe0; --wash-a: #efe9ff; --wash-b: #f8f5ff; --blob: #dccfff; --ring: #ece5ff;
  position: sticky;
  top: calc(96px + var(--i) * 22px); /* each card stops a little lower, so the earlier ones peek out */
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  overflow: hidden;
  border: 1px solid rgb(226 232 243 / 0.9);
  border-radius: clamp(18px, calc(1.4 * var(--vw)), 28px);
  background: var(--white);
  box-shadow: 0 -10px 40px -24px rgb(5 11 54 / 0.25), 0 24px 50px -30px rgb(5 11 54 / 0.3);
}
.case--orange { --tone: #e2650c; --tone-2: #f59e0b; --accent: #e8650b; --wash-a: #ffeedd; --wash-b: #fff8f1; --blob: #ffd2ac; --ring: #ffe7d1; }
.case--green { --tone: #0f8f63; --tone-2: #18b47c; --accent: #0d7f58; --wash-a: #dcf5ea; --wash-b: #f3fcf8; --blob: #bfeedb; --ring: #dcf5ea; }

/* Left: tinted panel with soft shapes and dot grids */
.case__visual {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(28px, calc(3 * var(--vw)), 52px);
  background: linear-gradient(150deg, var(--wash-a), var(--wash-b) 70%);
}
.case__visual::before, .case__visual::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.case__visual::before { width: 70%; aspect-ratio: 1; top: -28%; right: -22%; background: radial-gradient(circle at 40% 40%, var(--blob), transparent 70%); opacity: 0.8; }
.case__visual::after { width: 60%; aspect-ratio: 1; bottom: -30%; right: -10%; background: radial-gradient(circle at 40% 40%, var(--blob), transparent 68%); opacity: 0.7; }
.case__tag {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 7px;
  border-radius: 14px; background: rgb(255 255 255 / 0.85);
  font-size: clamp(14px, calc(0.95 * var(--vw)), 16px); font-weight: 600; color: var(--navy-900);
  box-shadow: 0 6px 16px -10px rgb(5 11 54 / 0.25);
}
.case__tag-icon { display: grid; place-items: center; width: 32px; aspect-ratio: 1; border-radius: 10px; background: var(--ring); color: var(--tone); }
.case__tag-icon .icon { width: 58%; height: auto; aspect-ratio: 1; }
.case__eyebrow { margin-top: clamp(20px, calc(1.8 * var(--vw)), 30px); font-size: clamp(12px, calc(0.8 * var(--vw)), 14px); font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); }
.case__title { margin-top: 0.45em; font-family: var(--font-display); font-size: clamp(1.6rem, calc(2.3 * var(--vw)), 2.5rem); font-weight: 750; line-height: 1.12; letter-spacing: -0.015em; color: var(--navy-900); text-wrap: balance; }
.case__title span { color: var(--accent); }
.case__summary { margin-top: 0.9em; font-size: clamp(15px, calc(1.05 * var(--vw)), 17.5px); line-height: 1.6; color: var(--muted); }
.case__btn {
  margin-top: clamp(22px, calc(2 * var(--vw)), 32px);
  color: var(--white);
  background: linear-gradient(90deg, var(--tone-2), var(--tone));
  box-shadow: 0 14px 28px -12px color-mix(in srgb, var(--tone) 65%, transparent);
}
.case__btn:hover { transform: translateY(-1px); filter: brightness(1.06); }

/* Right: three boxes, metrics strip and link */
.case__body { display: flex; flex-direction: column; gap: clamp(16px, calc(1.4 * var(--vw)), 22px); padding: clamp(20px, calc(1.8 * var(--vw)), 30px); }
.case__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, calc(1 * var(--vw)), 16px); }
.case-box { display: flex; flex-direction: column; padding: clamp(14px, calc(1.3 * var(--vw)), 20px); border: 1px solid #ebeff6; border-radius: 18px; background: var(--white); box-shadow: 0 10px 26px -22px rgb(5 11 54 / 0.25); }
.case-box__label { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: clamp(15px, calc(1.1 * var(--vw)), 18px); font-weight: 700; color: var(--navy-900); }
.case-box__icon { display: grid; place-items: center; flex: none; width: clamp(40px, calc(3 * var(--vw)), 48px); aspect-ratio: 1; border-radius: 14px; }
.case-box__icon .icon { width: 52%; height: auto; aspect-ratio: 1; stroke-width: 2; }
.case-box__icon--red { background: #ffe8ea; color: #e5484d; }
.case-box__icon--purple { background: #ece5ff; color: #7448dc; }
.case-box__icon--green { background: #dcf5ea; color: #13a06e; }
.case-box__text { margin-top: 12px; font-size: clamp(13.5px, calc(0.95 * var(--vw)), 15px); line-height: 1.55; color: var(--muted); }
.case-box__pills { display: grid; gap: 8px; margin-top: auto; padding-top: 14px; }
.case-pill { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; font-size: clamp(12.5px, calc(0.88 * var(--vw)), 14px); line-height: 1.3; color: var(--ink); }
.case-pill .icon { flex: none; width: 18px; height: 18px; }
.case-pill--issue { background: #fff1f2; }
.case-pill--issue .icon { color: #e5484d; }
.case-pill--fix { background: #f3f0ff; }
.case-pill--fix .icon { color: #7448dc; }
.case-box__wins { display: grid; gap: 8px; margin-top: 12px; }
.case-win { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; background: #eefaf4; }
.case-win__icon { display: grid; place-items: center; flex: none; width: 38px; aspect-ratio: 1; border-radius: 50%; background: #d9f3e6; color: #13a06e; }
.case-win__icon .icon { width: 55%; height: auto; aspect-ratio: 1; }
.case-win > span:last-child { display: grid; font-size: 12.5px; line-height: 1.3; color: var(--muted); }
.case-win strong { font-family: var(--font-display); font-size: clamp(1.25rem, calc(1.7 * var(--vw)), 1.75rem); font-weight: 750; line-height: 1.1; color: var(--navy-900); }

.case__metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: clamp(14px, calc(1.2 * var(--vw)), 20px) 8px; border-radius: 18px; background: color-mix(in srgb, var(--wash-a) 70%, var(--white)); }
.case__metrics li { display: flex; align-items: center; gap: 12px; padding-inline: clamp(8px, calc(1 * var(--vw)), 16px); }
.case__metrics li + li { border-left: 1px solid color-mix(in srgb, var(--tone) 16%, transparent); }
.case__metric-icon { display: grid; place-items: center; flex: none; width: clamp(38px, calc(2.8 * var(--vw)), 46px); aspect-ratio: 1; border-radius: 50%; background: var(--white); color: var(--tone); }
.case__metric-icon .icon { width: 52%; height: auto; aspect-ratio: 1; }
.case__metrics li > span:last-child { display: grid; font-size: 12.5px; line-height: 1.3; color: var(--muted); }
.case__metrics strong { font-family: var(--font-display); font-size: clamp(1.1rem, calc(1.45 * var(--vw)), 1.5rem); font-weight: 750; color: var(--navy-900); }
.case .case__all { align-self: flex-end; color: var(--accent); }
.text-link { display: inline-flex; align-items: center; gap: 0.5em; font-weight: 600; color: var(--blue-600); }
.text-link .icon { transition: transform 0.25s var(--ease); }
.text-link:hover .icon { transform: translateX(3px); }

/* ---------- 07. Testimonials ---------- */
.testimonials__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(14px, calc(1.2 * var(--vw)), 24px);
  margin-top: clamp(32px, calc(3 * var(--vw)), 60px);
}
.quote-feature {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, calc(2.4 * var(--vw)), 46px);
  border-radius: clamp(16px, calc(1.1 * var(--vw)), 22px);
  background: #061a45;
  color: var(--white);
  box-shadow: 0 24px 50px -30px rgb(3 21 49 / 0.7);
}
.quote-feature::before { /* building photo on the right, fading into the navy */
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  z-index: -1;
  width: 66%;
  background:
    linear-gradient(90deg, #061a45 0%, rgb(6 26 69 / 0.55) 35%, rgb(6 26 69 / 0.1) 75%),
    linear-gradient(to top, rgb(6 26 69 / 0.85) 0%, rgb(6 26 69 / 0) 45%),
    url("../assets/images/testimonials/building.jpg") center / cover no-repeat;
}
.quote-feature :focus-visible { outline-color: var(--white); }
.quote-mark {
  display: grid;
  place-items: center;
  flex: none;
  width: clamp(48px, calc(3.6 * var(--vw)), 66px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #0e3274;
  color: var(--white);
}
.quote-mark .icon { width: 46%; height: auto; aspect-ratio: 1; stroke-width: 2.4; }
.quote-mark--sm { width: clamp(36px, calc(2.4 * var(--vw)), 44px); background: #e6f0fe; color: var(--blue-600); }
.quote-card .quote-person__avatar { flex: none; }
.quote-feature__text {
  max-width: 21em;
  margin: clamp(18px, calc(1.8 * var(--vw)), 32px) 0 clamp(22px, calc(2.2 * var(--vw)), 40px);
  font-size: clamp(1.15rem, calc(1.55 * var(--vw)), 1.9rem);
  line-height: 1.42;
  text-wrap: pretty;
  transition: opacity 0.25s;
}
.quote-feature__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-top: auto;
  padding-top: clamp(16px, calc(1.4 * var(--vw)), 26px);
  border-top: 1px solid rgb(255 255 255 / 0.14);
}
.quote-person { display: flex; align-items: center; gap: 16px; }
.quote-person__avatar {
  width: clamp(56px, calc(4.4 * var(--vw)), 84px);
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 3px rgb(255 255 255 / 0.18);
}
.quote-person__meta { display: grid; gap: 2px; font-size: clamp(14px, calc(0.9 * var(--vw)), 16px); color: rgb(255 255 255 / 0.78); }
.quote-person__meta strong { font-size: clamp(15px, calc(1 * var(--vw)), 18px); color: var(--white); }
.quote-stats { display: flex; gap: 10px; }
.quote-stats li {
  display: grid;
  gap: 2px;
  min-width: clamp(110px, calc(8.6 * var(--vw)), 168px);
  padding: 14px 16px;
  border: 1px solid rgb(255 255 255 / 0.18);
  border-radius: 12px;
  background: rgb(8 30 70 / 0.6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: clamp(13px, calc(0.82 * var(--vw)), 15px);
  line-height: 1.3;
  color: rgb(255 255 255 / 0.85);
}
.quote-stats .icon { width: 28px; height: 28px; margin-bottom: 4px; color: #4aa3ff; stroke-width: 1.7; }
.quote-stats strong { font-family: var(--font-display); font-size: clamp(1.3rem, calc(1.6 * var(--vw)), 1.9rem); font-weight: 700; color: var(--white); }

.quote-side { display: grid; gap: clamp(14px, calc(1.2 * var(--vw)), 24px); }
.testimonials__grid .quote-feature > *,
.testimonials__grid .quote-card { transition: opacity 0.2s; }
.testimonials__grid.is-changing .quote-feature > :not(.quote-mark),
.testimonials__grid.is-changing .quote-card { opacity: 0; }
.quote-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: clamp(12px, calc(1 * var(--vw)), 20px);
  padding: clamp(20px, calc(1.6 * var(--vw)), 30px);
  border: 1px solid rgb(226 232 243 / 0.9);
  border-radius: clamp(16px, calc(1.1 * var(--vw)), 22px);
  background: var(--white);
  box-shadow: 0 14px 36px -26px rgb(5 11 54 / 0.2);
}
.quote-card__text { font-size: clamp(14px, calc(0.92 * var(--vw)), 17px); line-height: 1.6; color: var(--ink); text-wrap: pretty; }
.quote-person--sm { margin-top: 16px; }
.quote-person--sm .quote-person__avatar { width: clamp(48px, calc(3.4 * var(--vw)), 64px); box-shadow: none; }
.quote-person--sm .quote-person__meta { color: var(--muted); }
.quote-person--sm .quote-person__meta strong { color: var(--navy-900); }
.quote-card__logo {
  display: grid;
  place-items: center;
  align-self: stretch;
  width: clamp(80px, calc(6.6 * var(--vw)), 130px);
  padding-left: clamp(12px, calc(1 * var(--vw)), 20px);
  border-left: 1px solid var(--line);
  font-family: var(--font-display);
  font-weight: 700;
  text-align: center;
  color: var(--navy-800);
}
.quote-card__logo img { width: 100%; height: auto; max-height: 64px; object-fit: contain; }

.perks {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(16px, calc(1.4 * var(--vw)), 28px);
  padding: clamp(20px, calc(1.8 * var(--vw)), 34px) clamp(12px, calc(1 * var(--vw)), 20px);
  border: 1px solid rgb(226 232 243 / 0.9);
  border-radius: clamp(16px, calc(1.1 * var(--vw)), 22px);
  background: rgb(255 255 255 / 0.86);
  box-shadow: 0 14px 36px -26px rgb(5 11 54 / 0.2);
}
.perk { display: flex; align-items: center; gap: clamp(12px, calc(1.1 * var(--vw)), 22px); padding-inline: clamp(12px, calc(1.6 * var(--vw)), 32px); }
.perk + .perk { border-left: 1px solid var(--line); }
.perk__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: clamp(48px, calc(3.5 * var(--vw)), 66px);
  aspect-ratio: 1;
  border-radius: 22%;
  background: #e6f0fe;
  color: var(--blue-600);
}
.perk__icon .icon { width: 50%; height: auto; aspect-ratio: 1; stroke-width: 1.7; }
.perk__title { margin: 0; font-family: var(--font-display); font-size: clamp(15px, calc(1.05 * var(--vw)), 20px); font-weight: 700; color: var(--navy-900); }
.perk__text { margin-top: 0.3em; font-size: clamp(13.5px, calc(0.88 * var(--vw)), 16px); line-height: 1.45; color: var(--muted); }

/* ---------- 08. Insights ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(24px, calc(2.4 * var(--vw)), 44px); }
.chip {
  padding: 0.65em 1.4em;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-size: clamp(14px, calc(0.9 * var(--vw)), 16px);
  font-weight: 500;
  color: var(--navy-800);
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.chip:hover { border-color: #bcd5f7; }
.chip[aria-pressed="true"] { border-color: var(--blue-600); background: var(--blue-600); color: var(--white); }

.insights__grid {
  display: grid;
  grid-template-columns: minmax(0, 2.6fr) minmax(0, 1fr);
  gap: clamp(14px, calc(1.2 * var(--vw)), 24px);
  margin-top: clamp(18px, calc(1.6 * var(--vw)), 28px);
}
.insights__posts {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
  align-content: start;
  gap: clamp(14px, calc(1.2 * var(--vw)), 24px);
}
.insights__empty { grid-column: 1 / -1; padding: 40px; text-align: center; color: var(--muted); }
.post {
  position: relative;
  overflow: hidden;
  border: 1px solid rgb(226 232 243 / 0.9);
  border-radius: clamp(16px, calc(1.1 * var(--vw)), 22px);
  background: var(--white);
  box-shadow: 0 14px 36px -26px rgb(5 11 54 / 0.2);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.post:hover,
.post:focus-within { transform: translateY(-3px); box-shadow: 0 24px 44px -26px rgb(0 102 245 / 0.35); }
.post--featured { grid-row: span 2; display: flex; flex-direction: column; }
.post__media { position: relative; }
.post__media img { width: 100%; height: auto; aspect-ratio: 680 / 260; object-fit: cover; }
.post__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgb(6 26 69 / 0.85);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
}
.post__badge .icon { width: 15px; height: 15px; }
.post__body { flex: 1; display: flex; flex-direction: column; padding: clamp(18px, calc(1.6 * var(--vw)), 30px); }
.post--row { display: grid; grid-template-columns: minmax(0, 0.5fr) minmax(0, 1fr); }
.post--row .post__thumb { width: 100%; height: 100%; min-height: 100%; object-fit: cover; }
.post--row .post__body { padding: clamp(16px, calc(1.3 * var(--vw)), 24px); }
.post__cat {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.post__cat--plain { color: var(--blue-600); letter-spacing: 0.16em; }
.post__cat--green, .post__cat--purple { padding: 5px 10px; border-radius: 999px; }
.post__cat--green { background: #dcf5ea; color: #0f7a4c; }
.post__cat--purple { background: #ece5ff; color: #6234cc; }
.post__title {
  margin-top: 0.55em;
  font-family: var(--font-display);
  font-size: clamp(1rem, calc(1.12 * var(--vw)), 1.35rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy-900);
}
.post--featured .post__title { font-size: clamp(1.3rem, calc(1.75 * var(--vw)), 2.1rem); line-height: 1.2; }
.post__title a::after { content: ""; position: absolute; inset: 0; } /* whole card is the link */
.post__title a:focus-visible { outline: none; }
.post:has(a:focus-visible) { outline: 2px solid var(--blue-600); outline-offset: 3px; }
.post__excerpt { margin-top: 0.6em; font-size: clamp(14px, calc(0.9 * var(--vw)), 16px); line-height: 1.55; color: var(--muted); }
.post--featured .post__excerpt { font-size: clamp(15px, calc(1.05 * var(--vw)), 18px); }
.post__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: auto;
  padding-top: clamp(14px, calc(1.3 * var(--vw)), 24px);
  font-size: 14px;
  color: var(--muted);
}
.post__author { display: flex; align-items: center; gap: 10px; }
.post__author img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.post__author span { display: grid; font-size: 13px; }
.post__author strong { font-size: 14px; color: var(--navy-900); }
.post__info { display: inline-flex; align-items: center; gap: 6px; }
.post__info .icon { width: 17px; height: 17px; }
.post__arrow {
  display: grid;
  place-items: center;
  width: 42px;
  aspect-ratio: 1;
  margin-left: auto;
  border-radius: 50%;
  background: #e9f1fd;
  color: var(--blue-600);
  transition: background-color 0.2s, color 0.2s;
}
.post__arrow .icon { width: 45%; height: auto; aspect-ratio: 1; }
.post:hover .post__arrow { background: var(--blue-600); color: var(--white); }

.hub {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(24px, calc(2 * var(--vw)), 40px);
  border-radius: clamp(16px, calc(1.1 * var(--vw)), 22px);
  background: radial-gradient(80% 60% at 90% 90%, rgb(29 109 255 / 0.25), transparent 70%), linear-gradient(160deg, #061a45, #08245a);
  color: var(--white);
  box-shadow: 0 24px 50px -30px rgb(3 21 49 / 0.7);
}
.hub :focus-visible { outline-color: var(--white); }
.hub__globe { position: absolute; right: -32%; bottom: -30%; z-index: -1; width: 95%; aspect-ratio: 1; opacity: 0.9; pointer-events: none; }
.hub__globe canvas { width: 100%; height: 100%; }
.hub__eyebrow { font-size: clamp(11px, calc(0.72 * var(--vw)), 14px); font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: rgb(255 255 255 / 0.85); }
.hub__title { margin-top: 0.6em; font-family: var(--font-display); font-size: clamp(1.5rem, calc(2 * var(--vw)), 2.5rem); font-weight: 750; line-height: 1.15; }
.hub__accent { background: linear-gradient(90deg, #2f8cff, #3ab4ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hub__text { margin-top: 0.7em; font-size: clamp(15px, calc(1 * var(--vw)), 18px); line-height: 1.5; color: rgb(255 255 255 / 0.85); }
.hub__list { display: grid; gap: 14px; margin-top: clamp(18px, calc(1.6 * var(--vw)), 28px); }
.hub__list li { display: flex; align-items: center; gap: 14px; }
.hub__list li > span:last-child { display: grid; font-size: 13.5px; color: rgb(255 255 255 / 0.75); }
.hub__list strong { font-size: 15px; color: var(--white); }
.hub__icon { display: grid; place-items: center; flex: none; width: 44px; aspect-ratio: 1; border-radius: 50%; background: rgb(255 255 255 / 0.09); }
.hub__icon .icon { width: 46%; height: auto; aspect-ratio: 1; }
.hub__btn { margin-top: clamp(22px, calc(2 * var(--vw)), 36px); }

/* ---------- 09. Contact ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(28px, calc(3 * var(--vw)), 60px);
}
.contact__points { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: clamp(22px, calc(2 * var(--vw)), 36px); }
.contact-point { --tint: #e6f0fe; --tone: var(--blue-600); display: flex; align-items: center; gap: 12px; padding-inline: clamp(10px, calc(1 * var(--vw)), 20px); }
.contact-point:first-child { padding-left: 0; }
.contact-point + .contact-point { border-left: 1px solid var(--line); }
.contact-point--purple { --tint: #ece5ff; --tone: #7448dc; }
.contact-point--green { --tint: #dcf5ea; --tone: #16935f; }
.contact-point__icon { display: grid; place-items: center; flex: none; width: clamp(44px, calc(3.2 * var(--vw)), 60px); aspect-ratio: 1; border-radius: 22%; background: var(--tint); color: var(--tone); }
.contact-point__icon .icon { width: 52%; height: auto; aspect-ratio: 1; stroke-width: 1.8; }
.contact-point > span:last-child { display: grid; font-size: clamp(13.5px, calc(0.88 * var(--vw)), 15.5px); color: var(--muted); }
.contact-point strong { font-family: var(--font-display); font-size: clamp(15px, calc(1 * var(--vw)), 18px); color: var(--navy-900); }

.presence {
  margin-top: clamp(24px, calc(2.2 * var(--vw)), 40px);
  padding: clamp(24px, calc(2.2 * var(--vw)), 42px);
  border-radius: clamp(16px, calc(1.1 * var(--vw)), 22px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #061a45;
  color: var(--white);
  box-shadow: 0 24px 50px -30px rgb(3 21 49 / 0.7);
}
.presence::before {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  z-index: -1;
  width: 58%;
  background:
    linear-gradient(90deg, #061a45 0%, rgb(6 26 69 / 0.55) 45%, rgb(6 26 69 / 0.15) 100%),
    url("../assets/images/contact/office.jpg") center / cover no-repeat;
}
.presence__eyebrow { font-size: clamp(11px, calc(0.72 * var(--vw)), 14px); font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: rgb(255 255 255 / 0.85); }
.presence__title { margin-top: 0.5em; font-family: var(--font-display); font-size: clamp(1.4rem, calc(1.9 * var(--vw)), 2.3rem); font-weight: 750; line-height: 1.15; }
.presence__stats { display: flex; flex-wrap: wrap; gap: 18px clamp(16px, calc(1.6 * var(--vw)), 28px); margin-top: clamp(24px, calc(2.4 * var(--vw)), 44px); }
.presence__stats li { display: flex; align-items: center; gap: 10px; }
.presence__stats li > span:last-child { display: grid; font-size: 13px; line-height: 1.3; color: rgb(255 255 255 / 0.78); max-width: 7.5em; }
.presence__stats strong { font-family: var(--font-display); font-size: clamp(1.2rem, calc(1.5 * var(--vw)), 1.7rem); color: var(--white); }
.presence__icon { display: grid; place-items: center; flex: none; width: 42px; aspect-ratio: 1; border-radius: 50%; background: rgb(255 255 255 / 0.1); color: #4aa3ff; }
.presence__icon .icon { width: 52%; height: auto; aspect-ratio: 1; }

.contact-card {
  padding: clamp(24px, calc(2.4 * var(--vw)), 46px);
  border: 1px solid rgb(226 232 243 / 0.9);
  border-radius: clamp(18px, calc(1.3 * var(--vw)), 26px);
  background: var(--white);
  box-shadow: 0 24px 60px -36px rgb(5 11 54 / 0.25);
}
.contact-card__eyebrow { font-size: clamp(12px, calc(0.78 * var(--vw)), 14px); font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--blue-600); }
.contact-card__title { margin-top: 0.4em; font-family: var(--font-display); font-size: clamp(1.5rem, calc(2 * var(--vw)), 2.4rem); font-weight: 750; line-height: 1.15; color: var(--navy-900); }
.contact-card__sub { margin-top: 0.5em; font-size: clamp(15px, calc(1 * var(--vw)), 18px); color: var(--muted); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px clamp(16px, calc(1.6 * var(--vw)), 28px); margin-top: clamp(22px, calc(2 * var(--vw)), 36px); }
.field--full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 8px; font-size: 15px; font-weight: 600; color: var(--navy-900); }
.field__req { color: #e5484d; }
.field__control { position: relative; }
.field__control > .icon { position: absolute; left: 16px; top: 50%; width: 19px; height: 19px; transform: translateY(-50%); color: #7c86a2; pointer-events: none; }
.field__control--area > .icon { top: 16px; transform: none; }
.field__control input,
.field__control select,
.field__control textarea {
  width: 100%;
  padding: 0.95em 1em 0.95em 3em;
  border: 1px solid #d6deeb;
  border-radius: 12px;
  background: var(--white);
  font: inherit;
  font-size: 15px;
  color: var(--navy-900);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field__control select { appearance: none; padding-right: 2.8em; cursor: pointer; }
.field__control select:invalid { color: #7c86a2; }
.field__chevron { position: absolute; right: 16px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--navy-800); pointer-events: none; }
.field__control textarea { min-height: 130px; padding-bottom: 2em; resize: vertical; }
.field__control ::placeholder { color: #8a93ab; }
.field__control input:focus,
.field__control select:focus,
.field__control textarea:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 4px rgb(0 102 245 / 0.14); }
.field__control [aria-invalid="true"] { border-color: #d93a4a; }
.field__count { position: absolute; right: 14px; bottom: 12px; font-size: 12.5px; color: #7c86a2; font-variant-numeric: tabular-nums; }
.field__error { margin-top: 6px; font-size: 13px; color: #c8283a; }
.field__error:empty { display: none; }
.contact-form__submit { width: 100%; margin-top: clamp(22px, calc(2 * var(--vw)), 32px); }
.contact-form__note { display: flex; justify-content: center; gap: 8px; margin-top: 16px; font-size: 13px; line-height: 1.5; text-align: left; color: var(--muted); }
.contact-form__note .icon { flex: none; width: 16px; height: 16px; margin-top: 2px; }
.contact-success { padding: clamp(32px, calc(4 * var(--vw)), 72px) 12px; text-align: center; }
.contact-success:focus { outline: none; }
.contact-success__icon { display: inline-grid; color: #16935f; }
.contact-success__icon .icon { width: 64px; height: 64px; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  z-index: 1; /* sits above the frame lines */
  isolation: isolate;
  overflow: hidden;
  padding-top: clamp(56px, calc(6 * var(--vw)), 110px);
  background: radial-gradient(70% 90% at 90% 0%, rgb(20 80 200 / 0.28), transparent 70%), #030d26;
  color: rgb(255 255 255 / 0.75);
}
.site-footer :focus-visible { outline-color: var(--white); }
.site-footer__globe {
  position: absolute;
  top: -12vw;
  right: -8vw;
  z-index: -1;
  width: min(44vw, 820px);
  aspect-ratio: 1;
  opacity: 0.45;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to left, #000 30%, transparent 85%);
  mask-image: linear-gradient(to left, #000 30%, transparent 85%);
}
.site-footer__globe canvas { width: 100%; height: 100%; }
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) repeat(3, minmax(0, 0.9fr)) minmax(0, 1.45fr);
  gap: clamp(24px, calc(2.4 * var(--vw)), 48px);
  padding-bottom: clamp(40px, calc(4 * var(--vw)), 72px);
}
.footer__col,
.footer__news { padding-left: clamp(16px, calc(1.8 * var(--vw)), 36px); border-left: 1px solid rgb(255 255 255 / 0.08); }
.footer__logo { display: inline-block; color: var(--white); }
.footer__logo .wordmark { width: clamp(160px, calc(12.5 * var(--vw)), 250px); height: auto; aspect-ratio: 61 / 10; }
.footer__tagline { margin-top: 18px; font-family: var(--font-display); font-size: clamp(1.25rem, calc(1.6 * var(--vw)), 1.9rem); line-height: 1.25; color: var(--white); }
.footer__tagline span { font-weight: 700; color: #2f8cff; }
.footer__text { margin-top: 16px; font-size: clamp(14.5px, calc(0.95 * var(--vw)), 17px); line-height: 1.6; }
.footer__social { display: flex; gap: 14px; margin-top: 24px; }
.footer__social a {
  display: grid;
  place-items: center;
  width: 50px;
  aspect-ratio: 1;
  border: 1px solid rgb(255 255 255 / 0.22);
  border-radius: 50%;
  color: var(--white);
  transition: background-color 0.2s, border-color 0.2s;
}
.footer__social a:hover { border-color: var(--blue-600); background: var(--blue-600); }
.footer__social .icon { width: 20px; height: 20px; }
.footer__heading { margin: 0; font-family: var(--font-display); font-size: clamp(16px, calc(1.1 * var(--vw)), 20px); font-weight: 700; color: var(--white); }
.footer__heading::after { content: ""; display: block; width: 28px; height: 3px; margin-top: 12px; border-radius: 3px; background: var(--blue-600); }
.footer__col ul { display: grid; gap: 12px; margin-top: 22px; }
.footer__col a { font-size: clamp(14.5px, calc(0.95 * var(--vw)), 17px); transition: color 0.2s; }
.footer__col a:hover,
.footer__legal a:hover { color: var(--white); }
.newsletter { position: relative; margin-top: 22px; }
.newsletter input {
  width: 100%;
  padding: 1.05em 4.2em 1.05em 1.4em;
  border: 1px solid rgb(255 255 255 / 0.2);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.04);
  font: inherit;
  font-size: 15px;
  color: var(--white);
}
.newsletter input::placeholder { color: rgb(255 255 255 / 0.6); }
.newsletter input:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 4px rgb(0 102 245 / 0.25); }
.newsletter button {
  position: absolute;
  top: 5px;
  right: 5px;
  bottom: 5px;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--blue-600);
  color: var(--white);
  transition: background-color 0.2s;
}
.newsletter button:hover { background: var(--blue-500); }
.newsletter button .icon { width: 20px; height: 20px; }
.footer__small { margin-top: 14px; font-size: 14px; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  padding-block: 24px 30px;
  border-top: 1px solid rgb(255 255 255 / 0.12);
  font-size: 14.5px;
}
.footer__legal, .footer__where { display: flex; flex-wrap: wrap; }
.footer__legal li, .footer__where li { display: flex; align-items: center; gap: 8px; padding-inline: 18px; }
.footer__legal li + li, .footer__where li + li { border-left: 1px solid rgb(255 255 255 / 0.18); }
.footer__legal { margin-right: auto; }
.footer__where .icon { width: 18px; height: 18px; color: var(--white); }

/* Scroll-in reveal (main.js adds .reveal-ready, so content never stays hidden if it fails).
   "backwards" fill lets hover transforms work once the reveal has finished. */
.reveal-ready [data-reveal] { opacity: 0; }
.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  animation: rise 0.8s var(--ease) backwards;
  animation-delay: calc(var(--d, 0) * 90ms);
}

/* ---------- Video modal ---------- */
.video-modal {
  width: min(960px, 92vw);
  padding: 0;
  border: 0;
  border-radius: 20px;
  overflow: hidden;
  background: #0a1030;
  color: var(--white);
  box-shadow: 0 40px 80px -30px rgb(5 11 54 / 0.6);
}
.video-modal::backdrop {
  background: rgb(5 11 54 / 0.6);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.video-modal[open] { animation: rise 0.35s var(--ease); }
.video-modal__frame { position: relative; aspect-ratio: 16 / 9; }
.video-modal__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-modal__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 16px;
  background: radial-gradient(circle at 50% 40%, #16245e, #0a1030 70%);
  color: rgb(255 255 255 / 0.8);
}
.video-modal__placeholder .play-btn__icon { width: 64px; background: var(--white); border-color: var(--white); }
.video-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.12);
  color: var(--white);
  font-size: 20px;
  transition: background-color 0.2s;
}
.video-modal__close:hover { background: rgb(255 255 255 / 0.24); }

/* ---------- Motion ---------- */
.reveal {
  animation: rise 0.9s var(--ease) both;
  animation-delay: calc(var(--d, 0) * 90ms + 80ms);
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes media-in {
  from { opacity: 0; transform: translateX(24px) scale(1.03); }
  to { opacity: 1; transform: none; }
}
@keyframes ping {
  0% { transform: scale(1); opacity: 0.55; }
  80%, 100% { transform: scale(2.6); opacity: 0; }
}
@keyframes ring {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.5); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

/* Collapse the nav into a menu */
@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .header-inner { gap: 12px; }
  .btn--header { margin-left: auto; }

  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: block;
    max-height: calc(100svh - var(--header-h));
    overflow-y: auto;
    padding: 8px var(--gutter) 24px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgb(5 11 54 / 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s, transform 0.3s var(--ease), visibility 0.25s;
    pointer-events: none;
  }
  body.nav-open .primary-nav { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }

  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link {
    display: flex;
    width: 100%;
    padding: 14px 4px;
    font-size: 16px;
    border-bottom: 1px solid var(--line);
  }
  .nav-link::after { display: none; }

  .nav-more__toggle { display: none; }
  .nav-more__menu,
  .nav-more:hover .nav-more__menu {
    position: static;
    min-width: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: none;
    opacity: 1;
    visibility: inherit; /* stays hidden with the closed menu panel */
    transform: none;
  }
  .nav-more__menu .nav-link { padding: 14px 4px; border-radius: 0; }
  .nav-more__menu .nav-link:hover,
  .nav-more__menu .nav-link.is-active { background: none; }
}

/* Stack the hero */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); }
  .hero__media { margin: clamp(24px, calc(5 * var(--vw)), 40px) auto 0; max-width: 520px; }
  .hero__wordmark { width: clamp(200px, calc(48 * var(--vw)), 320px); }
  .hero__headline { font-size: clamp(1.85rem, calc(6.6 * var(--vw)), 3rem); }
  .hero__lead { font-size: clamp(1rem, calc(2.4 * var(--vw)), 1.125rem); }

  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 8px; }
  .stat { justify-content: flex-start; padding-left: clamp(12px, calc(4 * var(--vw)), 40px); }
  .stat:nth-child(odd)::before { display: none; }
}

@media (max-width: 560px) {
  .btn--header { display: none; }
  .nav-toggle { margin-left: auto; }
  .nav-cta-mobile { display: inline-flex; width: 100%; margin-top: 20px; }

  .hero__divider { display: none; }
  .hero__actions .btn--lg { width: 100%; }

  .stat { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px 0 14px 16px; }
  .stat:nth-child(odd) { padding-left: 8px; }
  .stat__icon { width: 46px; }
}

/* Trust & Credibility: stack the intro above the cards */
@media (max-width: 1100px) {
  .trust__top {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "eyebrow" "intro" "stats";
  }
  .trust__stats { margin-top: clamp(8px, calc(2 * var(--vw)), 16px); }
  .trust__intro { max-width: 640px; }
  /* Globe becomes its own block under the cards, so nothing covers it */
  .trust { display: flex; flex-direction: column; }
  .trust .frame-clip { position: relative; order: 1; inset: auto; z-index: 0; width: 100%; overflow: visible; }
  .trust__globe { position: relative; top: auto; right: auto; transform: none; width: min(88%, 560px); margin: clamp(8px, 3vw, 24px) auto 0; }
}

@media (max-width: 760px) {
  .trust__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust__globe { width: min(100%, 420px); }
  .clients__title { letter-spacing: 0.16em; }
}

/* Services: stack the panel and let the tabs scroll */
@media (max-width: 1280px) {
  .service-panel { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
}

@media (max-width: 1100px) {
  .service-panel { grid-template-columns: minmax(0, 1fr); row-gap: clamp(20px, calc(3 * var(--vw)), 28px); }
  .service-panel__media { order: -1; min-height: 0; height: clamp(220px, calc(34 * var(--vw)), 360px); }
  .service-panel__body { padding: 0 clamp(4px, calc(1.5 * var(--vw)), 12px) clamp(8px, calc(1.5 * var(--vw)), 12px); }
  .service-tabs__list { grid-auto-columns: clamp(118px, calc(20 * var(--vw)), 150px); }
}

@media (max-width: 560px) {
  .service-panel__media { height: auto; aspect-ratio: 4 / 3; }
  .service-features { grid-template-columns: minmax(0, 1fr); }
  .service-panel__cta { width: 100%; }
  .service-tabs__list { grid-auto-columns: 116px; }
}

/* Small phones: keep two-line headings from breaking into three */
@media (max-width: 420px) {
  .section-title { font-size: clamp(1.6rem, calc(8.2 * var(--vw)), 2rem); }
  .service-panel__title { font-size: clamp(1.4rem, calc(7 * var(--vw)), 1.6rem); }
  .clients__title { letter-spacing: 0.12em; }
}

/* Wide screens: the banner heading takes only the width it needs, the text gets the rest */
@media (min-width: 1241px) {
  .cta-banner { grid-template-columns: auto max-content auto minmax(0, 1fr) auto; }
}

/* CTA banner + Why TECEZE: small laptops and tablets (4 cards in a row get too cramped) */
@media (max-width: 1240px) {
  .cta-banner { grid-template-columns: auto minmax(0, 1fr); }
  .cta-banner__divider { display: none; }
  .cta-banner__text { grid-column: 1 / -1; max-width: none; }
  .cta-banner__btn { grid-column: 1 / -1; justify-self: start; }

  .approach { grid-template-columns: minmax(0, 1fr); }
  .approach__list { margin-top: 4px; }
  .approach__item:first-child { padding-left: 0; }
  .approach__item:first-child::before { display: none; }
}

@media (max-width: 860px) {
  .approach__list { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .approach__item { padding-inline: 0; }
  .approach__item::before { display: none; }
}


/* Phones */
@media (max-width: 640px) {
  .cta-banner__btn { width: 100%; }
  .why__cards { grid-template-columns: minmax(0, 1fr); }
  .approach__list { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .approach__item { padding-inline: 0; }
  .approach__item::before { display: none; }
}

/* ---------- Scrolled header (desktop): the nav becomes a floating pill ---------- */
@media (min-width: 1101px) {
  .brand,
  .btn--header,
  .nav-list,
  .nav-link { transition: opacity 0.3s, visibility 0.3s, background-color 0.3s, color 0.2s, box-shadow 0.3s, padding 0.3s; }

  .site-header.is-scrolled {
    background: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
    pointer-events: none; /* the empty strip around the pill doesn't block the page */
  }
  .site-header.is-scrolled .brand,
  .site-header.is-scrolled .btn--header { opacity: 0; visibility: hidden; }

  .site-header.is-scrolled .primary-nav { pointer-events: auto; }
  .site-header.is-scrolled .nav-list { animation: pill-drop 0.6s var(--ease) both; }
  .site-header:not(.is-scrolled) .nav-list { animation: nav-fade 0.4s ease both; }
  .site-header.is-scrolled .nav-list {
    gap: 2px;
    padding: 4px;
    border: 1px solid rgb(226 232 243 / 0.9);
    border-radius: 999px;
    background: rgb(250 251 253 / 0.92);
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
    backdrop-filter: saturate(1.4) blur(14px);
    box-shadow: 0 16px 40px -18px rgb(5 11 54 / 0.35);
  }
  .site-header.is-scrolled .nav-list > li > .nav-link {
    padding: 0.55em 1.05em;
    font-size: 14px;
    border-radius: 999px;
    color: var(--navy-800);
  }
  .site-header.is-scrolled .nav-link::after { display: none; }
  .site-header.is-scrolled .nav-list > li > .nav-link:hover { background: rgb(5 11 54 / 0.06); }
  .site-header.is-scrolled .nav-list > li > .nav-link.is-active {
    background: var(--blue-600);
    color: var(--white);
    box-shadow: 0 8px 18px -8px rgb(0 102 245 / 0.6);
  }
  .site-header.is-scrolled .nav-more__menu { top: calc(100% + 14px); }
}


/* Sections 06-09 + footer: responsive */
@media (max-width: 1240px) {
  .split-head {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "eyebrow eyebrow" "title actions" "lead lead";
  }
  .testimonials__grid { grid-template-columns: minmax(0, 1fr); }
  .quote-side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
  .perk:nth-child(3) { border-left: 0; }
  .insights__grid { grid-template-columns: minmax(0, 1fr); }
  .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
  .footer__news { grid-column: 1 / -1; padding-left: 0; border-left: 0; max-width: 520px; }
  .footer__col:nth-of-type(1) { padding-left: 0; border-left: 0; }
}
@media (max-width: 820px) {
  .quote-side { grid-template-columns: minmax(0, 1fr); }
  .insights__posts { grid-template-columns: minmax(0, 1fr); }
  .post--featured { grid-row: auto; }
}
@media (max-width: 640px) {
  .split-head { grid-template-columns: minmax(0, 1fr); grid-template-areas: "eyebrow" "title" "lead" "actions"; }
  .split-head__actions { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
  .quote-stats { flex-wrap: wrap; }
  .quote-stats li { flex: 1 1 100px; min-width: 0; }
  .quote-card { grid-template-columns: auto minmax(0, 1fr); }
  .quote-card__logo { grid-column: 1 / -1; justify-self: start; width: 120px; padding: 12px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .perks { grid-template-columns: minmax(0, 1fr); }
  .perk { padding-inline: 0; }
  .perk + .perk { border-left: 0; }
  .post--row { grid-template-columns: minmax(0, 0.45fr) minmax(0, 1fr); }
  .contact__points { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .presence__stats { max-width: none; }
  .presence::before { inset: 0; width: auto; background: linear-gradient(180deg, rgb(6 26 69 / 0.5), #061a45 75%), url("../assets/images/contact/office.jpg") center top / cover no-repeat; }
  .contact-point { padding: 0; }
  .contact-point + .contact-point { border-left: 0; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__col { padding-left: 0; border-left: 0; }
  .footer__legal, .footer__where { width: 100%; }
  .footer__legal li:first-child, .footer__where li:first-child { padding-left: 0; }
}

@keyframes pill-drop {
  from { opacity: 0; transform: translateY(-110%); }
  to { opacity: 1; transform: none; }
}
@keyframes nav-fade {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

/* Tab icon chip */
.service-tab__icon {
  display: grid;
  place-items: center;
  width: clamp(44px, calc(3 * var(--vw)), 54px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #eef4fd;
}
.service-tab .service-tab__icon .icon { width: 52%; }
.service-tab[aria-selected="true"] .service-tab__icon { background: var(--white); }

/* Autoplay progress runs around the active tab's border (--p goes 0 → 1, set by main.js) */
.service-tab { --p: 0; position: relative; }
.service-tab[aria-selected="true"] {
  border-color: #c6dbf7;
  box-shadow: none;
}
.service-tab[aria-selected="true"]::after {
  content: "";
  position: absolute;
  inset: -1px;
  padding: 2.5px;
  border-radius: inherit;
  background: conic-gradient(from 0deg, var(--blue-600) calc(var(--p) * 1turn), transparent 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
}

/* Why TECEZE: image panel goes below the cards on tablets and phones */
@media (max-width: 1100px) {
  .why__body { grid-template-columns: minmax(0, 1fr); }
  .why__visual img { flex: none; aspect-ratio: 16 / 7; min-height: 0; }
}
@media (max-width: 640px) {
  .why__head { grid-template-columns: minmax(0, 1fr); grid-template-areas: "eyebrow" "title" "lead" "cta"; }
  .why__cta { justify-self: start; }
  .why__visual img { aspect-ratio: 4 / 3; }
}

/* Case studies: below laptop size the cards simply follow each other */
@media (max-width: 1240px) { .case__cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .case-box:last-child { grid-column: 1 / -1; } .case-box__wins { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1100px) { .case { position: relative; top: auto; grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .case__cols, .case-box__wins { grid-template-columns: minmax(0, 1fr); }
  .case__metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 14px; }
  .case__metrics li:nth-child(3) { border-left: 0; }
  .case__btn { width: 100%; }
  .case__all { align-self: flex-start; }
}

/* Industries */
@media (max-width: 1100px) { .industries__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .industries__cards { grid-template-columns: minmax(0, 1fr); } .industry-card__art { width: 30%; } }

/* Services: video slide */
.media-play {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  background: rgb(4 10 31 / 0.15);
  transition: background-color 0.25s;
}
.media-play .play-btn__icon { width: clamp(64px, calc(5 * var(--vw)), 92px); background: rgb(255 255 255 / 0.92); border-color: var(--white); box-shadow: 0 16px 40px -12px rgb(0 0 0 / 0.5); }
.media-play:hover { background: rgb(4 10 31 / 0.3); }
.media-play:hover .play-btn__icon { transform: scale(1.06); }
.media-play:hover .play-btn__icon::after { animation: ring 1.2s var(--ease) infinite; }
.service-video { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; border: 0; background: #000; }
.service-panel__media.is-playing::after,
.service-panel__media.is-playing .service-panel__controls { display: none; } /* leave YouTube's own controls clear */

/* Services: the four points sit in their own container, each icon in its own colour */
.service-features {
  padding: clamp(14px, calc(1.3 * var(--vw)), 22px);
  border: 1px solid #e6edf7;
  border-radius: 16px;
  background: #f7faff;
}
.service-features li:nth-child(4n + 1) .service-features__icon { background: #e4efff; color: #1f6fe5; }
.service-features li:nth-child(4n + 2) .service-features__icon { background: #dcf5ea; color: #0f9466; }
.service-features li:nth-child(4n + 3) .service-features__icon { background: #ece5ff; color: #7448dc; }
.service-features li:nth-child(4n + 4) .service-features__icon { background: #ffefd6; color: #c27400; }

/* Tab icons: one colour per service */
#service-tab-cybersecurity { --tab-tone: #e5484d; --tab-tint: #ffe8ea; }
#service-tab-cloud-solutions { --tab-tone: #0891b2; --tab-tint: #dff6fb; }
#service-tab-global-procurement { --tab-tone: #c27400; --tab-tint: #fff1d9; }
#service-tab-managed-it { --tab-tone: #0f9466; --tab-tint: #dcf5ea; }
#service-tab-it-infrastructure { --tab-tone: #1f6fe5; --tab-tint: #e4efff; }
#service-tab-field-services { --tab-tone: #c026a3; --tab-tint: #fbe4f6; }
#service-tab-ai-automation { --tab-tone: #7448dc; --tab-tint: #ece5ff; }
#service-tab-consulting { --tab-tone: #ea580c; --tab-tint: #ffeadb; }
#service-tab-app-development { --tab-tone: #0d9488; --tab-tint: #d9f5f2; }
.service-tab .service-tab__icon { background: var(--tab-tint); }
.service-tab .service-tab__icon .icon { color: var(--tab-tone); }
.service-tab[aria-selected="true"] .service-tab__icon { background: var(--white); box-shadow: 0 0 0 2px var(--tab-tint); }

/* ---------- 04. Why TECEZE: expanding panels ---------- */
.why-acc {
  display: flex;
  min-height: clamp(380px, calc(32 * var(--vw)), 470px);
  margin-top: clamp(32px, calc(3 * var(--vw)), 56px);
  overflow: hidden;
  border-radius: clamp(18px, calc(1.4 * var(--vw)), 28px);
  box-shadow: 0 24px 60px -36px rgb(5 11 54 / 0.35);
}
.why-acc__intro {
  flex: 0 0 34%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(28px, calc(3 * var(--vw)), 52px);
  background: #eef3fb;
}
.why-acc__heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, calc(2.6 * var(--vw)), 2.9rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--navy-900);
  text-wrap: balance;
}
.why-acc__heading span { color: var(--blue-600); }
.why-acc__nav { display: flex; gap: 10px; margin-top: 28px; }
.why-acc__nav .icon-btn { width: 44px; background: var(--white); }

.why-acc__panels { flex: 1; display: flex; min-width: 0; margin: 0; padding: 0; list-style: none; }
.why-acc__panel {
  --strip: clamp(68px, calc(6 * var(--vw)), 92px);
  position: relative;
  flex: 0 0 var(--strip);
  min-width: 0;
  overflow: hidden;
  color: var(--white);
  transition: flex-grow 0.6s var(--ease), flex-basis 0.6s var(--ease);
}
.why-acc__panel:nth-child(1) { background: #2f7cf0; }
.why-acc__panel:nth-child(2) { background: #1e63d6; }
.why-acc__panel:nth-child(3) { background: #154cb1; }
.why-acc__panel:nth-child(4) { background: #0d2f78; }
.why-acc__panel.is-active { flex: 1 1 0; }

.why-acc__toggle {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding-top: clamp(22px, calc(2 * var(--vw)), 30px);
  color: inherit;
}
.why-acc__panel.is-active .why-acc__toggle { inset: 0 auto auto 0; width: var(--strip); height: auto; cursor: default; }
.why-acc__num {
  display: grid;
  place-items: center;
  width: clamp(42px, calc(3.4 * var(--vw)), 52px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.18);
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  transition: background-color 0.25s;
}
.why-acc__panel:not(.is-active) .why-acc__toggle:hover .why-acc__num { background: rgb(255 255 255 / 0.32); }
.why-acc__label { /* collapsed strips show their title sideways */
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  opacity: 0.85;
  transition: opacity 0.25s;
}
.why-acc__panel.is-active .why-acc__label { display: none; }
.why-acc__toggle:focus-visible { outline: 2px solid var(--white); outline-offset: -6px; }

.why-acc__body {
  height: 100%;
  min-width: 380px;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, calc(3 * var(--vw)), 52px) clamp(28px, calc(3 * var(--vw)), 52px) clamp(28px, calc(3 * var(--vw)), 52px) calc(var(--strip) + clamp(16px, calc(2 * var(--vw)), 40px));
  opacity: 0;
  visibility: hidden;
  transform: translateX(16px);
  transition: opacity 0.3s, transform 0.5s var(--ease), visibility 0.3s;
}
.why-acc__panel.is-active .why-acc__body { opacity: 1; visibility: visible; transform: none; transition-delay: 0.25s; }
.why-acc__icon { display: grid; place-items: center; width: 56px; aspect-ratio: 1; border-radius: 16px; background: rgb(255 255 255 / 0.14); }
.why-acc__icon .icon { width: 50%; height: auto; aspect-ratio: 1; stroke-width: 1.8; }
.why-acc__title {
  margin-top: clamp(18px, calc(1.6 * var(--vw)), 28px);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, calc(2.2 * var(--vw)), 2.5rem);
  font-weight: 600;
  line-height: 1.15;
}
.why-acc__desc { max-width: 30em; margin-top: 0.7em; font-size: clamp(15px, calc(1.1 * var(--vw)), 18px); line-height: 1.55; color: rgb(255 255 255 / 0.85); }
.why-acc__list { display: grid; gap: 10px; margin-top: auto; padding-top: 24px; }
.why-acc__list li { display: flex; align-items: center; gap: 10px; font-size: clamp(14.5px, calc(1 * var(--vw)), 17px); }
.why-acc__list .icon { width: 20px; height: 20px; color: #9fd0ff; }

/* Tablets and phones: the panels stack and open downwards */
@media (max-width: 900px) {
  .why-acc { flex-direction: column; min-height: 0; }
  .why-acc__intro { flex: none; }
  .why-acc__panels { flex-direction: column; }
  .why-acc__panel,
  .why-acc__panel.is-active { flex: none; }
  .why-acc__toggle,
  .why-acc__panel.is-active .why-acc__toggle { position: relative; inset: auto; width: 100%; flex-direction: row; gap: 14px; padding: 14px 20px; cursor: pointer; }
  .why-acc__label,
  .why-acc__panel.is-active .why-acc__label { display: block; writing-mode: horizontal-tb; transform: none; font-size: 16px; }
  .why-acc__body { display: none; min-width: 0; height: auto; padding: 0 22px 26px; transform: none; }
  .why-acc__panel.is-active .why-acc__body { display: flex; }
  .why-acc__title { display: none; }
  .why-acc__icon { display: none; }
  .why-acc__desc { margin-top: 0; }
}

/* Open panel: icon lines up with the number; points as small cards; stats along the bottom */
.why-acc__body { padding-top: clamp(22px, calc(2 * var(--vw)), 30px); }
.why-acc__icon { width: clamp(42px, calc(3.4 * var(--vw)), 52px); border-radius: 14px; }
.why-acc__title { margin-top: clamp(14px, calc(1.2 * var(--vw)), 20px); }
.why-acc__list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: clamp(18px, calc(1.6 * var(--vw)), 28px);
  padding-top: 0;
}
.why-acc__list li {
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: 14px;
  background: rgb(255 255 255 / 0.07);
  line-height: 1.35;
}
.why-acc__pt-icon { display: grid; place-items: center; width: 34px; aspect-ratio: 1; border-radius: 10px; background: rgb(255 255 255 / 0.14); }
.why-acc__pt-icon .icon { width: 55%; height: auto; aspect-ratio: 1; color: #bfe0ff; }
.why-acc__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: auto;
  padding-top: clamp(18px, calc(1.6 * var(--vw)), 26px);
  border-top: 1px solid rgb(255 255 255 / 0.16);
}
.why-acc__list { margin-bottom: clamp(18px, calc(1.6 * var(--vw)), 26px); }
.why-acc__stats li { display: grid; gap: 2px; font-size: 13.5px; color: rgb(255 255 255 / 0.75); }
.why-acc__stats li + li { padding-left: 16px; border-left: 1px solid rgb(255 255 255 / 0.16); }
.why-acc__stats strong { font-family: var(--font-display); font-size: clamp(1.3rem, calc(1.8 * var(--vw)), 1.9rem); font-weight: 650; color: var(--white); }
@media (max-width: 900px) {
  .why-acc__list { grid-template-columns: minmax(0, 1fr); }
  .why-acc__list li { flex-direction: row; align-items: center; padding: 10px 12px; }
  .why-acc__stats { margin-top: 18px; }
}

/* Every panel's content is laid out at the open panel's width, so closed panels never stretch the height */
@media (min-width: 901px) {
  .why-acc { min-height: clamp(530px, calc(37 * var(--vw)), 540px); }
  .why-acc__panels { container-type: inline-size; }
  .why-acc__body {
    position: absolute;
    inset: 0 auto 0 0;
    width: calc(100cqw - 3 * var(--strip));
    min-width: 0;
    height: auto;
  }
  @container (max-width: 760px) {
    .why-acc__list { grid-template-columns: minmax(0, 1fr); gap: 8px; }
    .why-acc__list li { flex-direction: row; align-items: center; padding: 8px 12px; }
    .why-acc__pt-icon { width: 30px; }
  }
}

/* ---------- 05. Industries: stacked feature cards ---------- */
.ind-stack { display: grid; gap: clamp(24px, calc(2.4 * var(--vw)), 40px); margin: clamp(32px, calc(3 * var(--vw)), 56px) 0 0; padding: 0; list-style: none; }
.ind {
  --tone: #1f6fe5;
  --tone-deep: #1458d6;
  --tint: #e6f0fe;
  --wash: #f3f8ff;
  position: sticky;
  top: calc(96px + var(--i) * 18px); /* each card stops a little lower so the earlier ones peek out */
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  align-items: center;
  overflow: hidden;
  border: 1px solid rgb(226 232 243 / 0.9);
  border-radius: clamp(20px, calc(1.6 * var(--vw)), 30px);
  background: linear-gradient(115deg, var(--white) 40%, var(--wash));
  box-shadow: 0 -12px 40px -26px rgb(5 11 54 / 0.25), 0 24px 50px -32px rgb(5 11 54 / 0.3);
}
.ind--green { --tone: #0f9466; --tone-deep: #0b7a53; --tint: #dcf5ea; --wash: #effbf5; }
.ind--purple { --tone: #7448dc; --tone-deep: #6236c8; --tint: #ece5ff; --wash: #f6f3ff; }
.ind--amber { --tone: #d97706; --tone-deep: #b45f05; --tint: #ffefd6; --wash: #fff8ee; }
.ind--red { --tone: #dc2f40; --tone-deep: #c01f30; --tint: #ffe4e6; --wash: #fff4f5; }
.ind--sky { --tone: #1f6fe5; --tone-deep: #1458d6; --tint: #e2effd; --wash: #f1f7ff; }

.ind__content { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(26px, calc(3 * var(--vw)), 48px); }
.ind__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 12px;
  background: var(--tint);
  font-size: clamp(13.5px, calc(0.95 * var(--vw)), 15px);
  font-weight: 600;
  color: var(--tone-deep);
}
.ind__tag .icon { width: 18px; height: 18px; }
.ind__featured {
  margin-top: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--tone-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
}
.ind__title {
  margin-top: clamp(12px, calc(1 * var(--vw)), 16px);
  font-family: var(--font-display);
  font-size: clamp(1.9rem, calc(3 * var(--vw)), 2.9rem);
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--navy-900);
}
.ind__desc { max-width: 34em; margin-top: 0.55em; font-size: clamp(15px, calc(1.15 * var(--vw)), 18px); line-height: 1.5; color: var(--muted); text-wrap: pretty; }
.ind__points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; width: 100%; margin-top: clamp(18px, calc(1.8 * var(--vw)), 28px); }
.ind__points li { display: flex; align-items: flex-start; gap: 12px; }
.ind__pt-icon { display: grid; place-items: center; flex: none; width: 40px; aspect-ratio: 1; border-radius: 50%; background: var(--tint); color: var(--tone); }
.ind__pt-icon .icon { width: 50%; height: auto; aspect-ratio: 1; stroke-width: 1.8; }
.ind__points li > span:last-child { display: grid; gap: 2px; font-size: 13.5px; line-height: 1.4; color: var(--muted); }
.ind__points strong { font-size: clamp(14.5px, calc(1.05 * var(--vw)), 16px); font-weight: 600; color: var(--navy-900); }
.ind__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  margin-top: clamp(18px, calc(1.8 * var(--vw)), 28px);
  padding: 16px 6px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--tint) 55%, var(--white));
}
.ind__stats li { display: flex; align-items: flex-start; gap: 8px; padding-inline: 14px; }
.ind__stats li + li { border-left: 1px solid color-mix(in srgb, var(--tone) 18%, transparent); }
.ind__stats .icon { flex: none; width: 26px; height: 26px; margin-top: 2px; color: var(--tone); stroke-width: 1.6; }
.ind__stats span { display: grid; font-size: 12.5px; line-height: 1.35; color: var(--muted); }
.ind__stats strong { font-family: var(--font-display); font-size: clamp(1.15rem, calc(1.6 * var(--vw)), 1.6rem); line-height: 1.15; color: var(--tone-deep); }
.ind__btn {
  margin-top: clamp(20px, calc(2 * var(--vw)), 30px);
  color: var(--white);
  background: var(--tone-deep);
  box-shadow: 0 12px 26px -12px color-mix(in srgb, var(--tone) 70%, transparent);
}
.ind__btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.ind__art {
  align-self: stretch;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18%);
  mask-image: linear-gradient(90deg, transparent 0, #000 18%);
}

@media (max-width: 1100px) {
  .ind { position: relative; top: auto; grid-template-columns: minmax(0, 1fr); }
  .ind__art { order: -1; height: auto; aspect-ratio: 16 / 9; -webkit-mask-image: linear-gradient(to bottom, #000 75%, transparent); mask-image: linear-gradient(to bottom, #000 75%, transparent); }
  .ind__content { padding-top: 0; }
}
@media (max-width: 640px) {
  .ind__points { grid-template-columns: minmax(0, 1fr); }
  .ind__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 14px; }
  .ind__stats li:nth-child(3) { border-left: 0; }
  .ind__btn { width: 100%; }
}

/* Header variant: eyebrow + button on one row, title and lead full width below */
.split-head--stacked {
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "eyebrow actions" "title title" "lead lead";
  row-gap: clamp(14px, calc(1.4 * var(--vw)), 24px);
}
.split-head--stacked .split-head__lead { max-width: none; }
@media (max-width: 640px) {
  .split-head--stacked { grid-template-columns: minmax(0, 1fr); grid-template-areas: "eyebrow" "title" "lead" "actions"; }
}

/* Contact: points stack in the narrower intro column */
.contact__points .contact-point { padding: 0; border: 0; }

/* Contact: the three points fill the rest of the left column as cards */
.contact__grid { align-items: stretch; }
.contact__intro { display: flex; flex-direction: column; }
.contact__points { flex: 1; grid-auto-rows: 1fr; gap: clamp(12px, calc(1.2 * var(--vw)), 18px); }
.contact__points .contact-point {
  align-items: flex-start;
  gap: 18px;
  padding: clamp(18px, calc(1.6 * var(--vw)), 26px);
  border: 1px solid #e6edf7;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 14px 34px -28px rgb(5 11 54 / 0.3);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.contact__points .contact-point:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -26px rgb(5 11 54 / 0.35); }
.contact-point > span:last-child { gap: 2px; }
.contact-point em { margin-top: 8px; font-style: normal; font-size: clamp(14px, calc(0.95 * var(--vw)), 15.5px); line-height: 1.55; color: var(--muted); }
.contact-point > span:last-child { font-weight: 500; color: var(--tone); }
.contact-point strong { font-size: clamp(16px, calc(1.15 * var(--vw)), 19px); }
@media (max-width: 1240px) { .contact__points { grid-auto-rows: auto; } }
.contact__points .contact-point { padding: clamp(14px, calc(1.2 * var(--vw)), 18px) clamp(16px, calc(1.5 * var(--vw)), 22px); }
.contact-point em { margin-top: 4px; line-height: 1.5; }
.contact__points { margin-top: clamp(18px, calc(1.6 * var(--vw)), 26px); }
/* The form card matches the left column's height; the message box absorbs any extra */
.contact-card { display: flex; flex-direction: column; }
.contact-form:not([hidden]) { flex: 1; display: flex; flex-direction: column; }
.contact-form .form-grid { flex: 1; grid-template-rows: auto auto 1fr; }
.contact-form .field--full { display: flex; flex-direction: column; }
.contact-form .field--full .field__control { flex: 1; display: flex; }
.contact-form .field--full textarea { flex: 1; }

/* Stacked header: button (and slider arrows) sit in one row beside the eyebrow */
.split-head--stacked .split-head__actions { flex-direction: row; align-items: center; gap: clamp(12px, calc(1.2 * var(--vw)), 20px); }
@media (max-width: 640px) { .split-head--stacked .split-head__actions { flex-wrap: wrap; } }

/* Services: no controls on the image; the autoplay toggle sits beside the badge */
.service-panel__media::after { display: none; }
.service-panel__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; }
.autoplay-toggle {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--navy-800);
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.autoplay-toggle .icon { width: 40%; height: auto; aspect-ratio: 1; }
.autoplay-toggle:hover { border-color: var(--blue-600); background: var(--blue-600); color: var(--white); }

/* Industries: taller, airier cards; the button sits at the bottom of each card */
@media (min-width: 1101px) {
  .ind { min-height: clamp(560px, calc(44 * var(--vw)), 620px); align-items: stretch; }
  .ind__content { justify-content: flex-start; padding: clamp(36px, calc(3.6 * var(--vw)), 56px); }
  .ind__btn { margin-top: auto; }
  .ind__points { margin-bottom: clamp(32px, calc(3 * var(--vw)), 44px); }
}
.ind__title { margin-top: clamp(16px, calc(1.4 * var(--vw)), 22px); }
.ind__desc { margin-top: 0.75em; }
.ind__points { gap: clamp(20px, calc(1.8 * var(--vw)), 28px) clamp(24px, calc(2.4 * var(--vw)), 36px); margin-top: clamp(26px, calc(2.4 * var(--vw)), 36px); }
.ind__points li > span:last-child { gap: 4px; }
/* Case studies: the three boxes fill the right side now the metrics strip is gone */
.case__body { justify-content: stretch; }
.case__cols { flex: 1; }
.case-box__wins { flex: 1; grid-auto-rows: 1fr; }

/* Case studies: Solution in blue, Impact in amber; points follow the text with no gap */
.case-box__icon--purple { background: #e6efff; color: #1f63d6; }
.case-pill--fix { background: #eef4ff; }
.case-pill--fix .icon { color: #1f63d6; }
.case-box__icon--green { background: #fff1db; color: #c26a00; }
.case-win { background: #fff7ea; }
.case-win__icon { background: #ffeacc; color: #c26a00; }
.case-box__pills { margin-top: 0; padding-top: 16px; }
.case-box__wins { flex: none; grid-auto-rows: auto; }
.case__cols { align-items: start; }
.case__body { justify-content: center; }
.case__cols { flex: none; }
/* Case studies: smaller title, spaced from the tag now the eyebrow is gone */
.case__title { margin-top: clamp(18px, calc(1.6 * var(--vw)), 26px); font-size: clamp(1.4rem, calc(1.85 * var(--vw)), 2rem); line-height: 1.18; }

/* Case studies: wider gap above the button; the three boxes share one height and their content fills it */
.case__btn { margin-top: clamp(32px, calc(3 * var(--vw)), 44px); }
.case__body { justify-content: stretch; }
.case__cols { flex: 1; align-items: stretch; }
.case-box__pills { flex: 1; grid-auto-rows: 1fr; }
.case-box__wins { flex: 1; grid-auto-rows: 1fr; }
.case-pill, .case-win { height: 100%; }

/* Impact tiles: icon and number on one row, the label underneath */
.case-win { flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; padding: 12px 14px; }
.case-win__head { display: flex; align-items: center; gap: 10px; }
.case-win__icon { width: 32px; }
.case-win strong { font-size: clamp(1.1rem, calc(1.35 * var(--vw)), 1.4rem); line-height: 1; }
.case-win__label { font-size: 13px; line-height: 1.35; color: var(--muted); }

/* Even vertical rhythm: top and bottom padding match the side padding (about 64px on desktop) */
:root { --section-y: clamp(44px, calc(4.4 * var(--vw)), 64px); }
.section { padding-block: var(--section-y); }
.trust { padding-bottom: var(--section-y); }
.hero { padding-bottom: var(--section-y); }
.logos-band { padding-bottom: var(--section-y); }
.site-footer { padding-top: var(--section-y); }
.case-stack { margin-bottom: 0; }

/* Outline buttons: soft border, stronger on hover */
.btn--outline:hover { box-shadow: inset 0 0 0 1px #9dbdf0; }

/* Industries: tag and Featured badge on one row */
.ind__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ind__tags .ind__featured { margin-top: 0; }

/* ---------- 07. Testimonials carousel ---------- */
.tcards {
  --gap: clamp(14px, calc(1.4 * var(--vw)), 24px);
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2 * var(--gap)) / 3);
  gap: var(--gap);
  margin: clamp(28px, calc(2.6 * var(--vw)), 44px) -6px 0;
  padding: 6px 6px 24px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 6px;
  scrollbar-width: none;
}
.tcards::-webkit-scrollbar { display: none; }
.tcard { scroll-snap-align: start; }
.tcard figure {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
  padding: clamp(22px, calc(2 * var(--vw)), 32px);
  border: 1px solid #e6edf7;
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 16px 40px -30px rgb(5 11 54 / 0.3);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.tcard figure:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -28px rgb(0 102 245 / 0.3); }
.tcard__mark { display: grid; place-items: center; width: 44px; aspect-ratio: 1; border-radius: 50%; background: #e6f0fe; color: var(--blue-600); }
.tcard__mark .icon { width: 46%; height: auto; aspect-ratio: 1; stroke-width: 2.4; }
.tcard__stars { margin-top: 16px; font-size: 15px; letter-spacing: 2px; color: #f5a524; }
.tcard__quote { flex: 1; margin: 10px 0 0; font-size: clamp(15px, calc(1.05 * var(--vw)), 17px); line-height: 1.65; color: var(--ink); text-wrap: pretty; }
.tcard__person { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid #edf1f7; }
.tcard__avatar { flex: none; width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.tcard__avatar--initials { display: grid; place-items: center; background: linear-gradient(135deg, #e0ecff, #ece5ff); font-weight: 700; font-size: 15px; color: var(--blue-600); }
.tcard__person > span { flex: 1; display: grid; font-size: 13.5px; line-height: 1.35; color: var(--muted); }
.tcard__person strong { font-size: 15.5px; color: var(--navy-900); }
.tcard__logo { flex: none; width: auto; height: 22px; max-width: 80px; object-fit: contain; opacity: 0.8; }
@media (max-width: 1100px) { .tcards { grid-auto-columns: calc((100% - var(--gap)) / 2); } }
@media (max-width: 640px) { .tcards { grid-auto-columns: 88%; } }

/* Testimonials: initials avatar keeps its circle; dots under the carousel */
.tcard__person > .tcard__avatar { flex: none; width: 48px; height: 48px; }
.tdots { display: flex; justify-content: center; gap: 8px; margin-top: 8px; }
.tdots__dot { position: relative; width: 8px; height: 8px; border-radius: 999px; background: #c9d6ea; transition: width 0.3s var(--ease), background-color 0.3s; }
.tdots__dot::before { content: ""; position: absolute; inset: -8px; }
.tdots__dot[aria-current="true"] { width: 28px; background: var(--blue-600); }

/* Contact: intro on top, form below at full width */
.contact__grid { grid-template-columns: minmax(0, 1fr); gap: clamp(28px, calc(2.6 * var(--vw)), 40px); }
.contact__intro .section-lead { max-width: none; }

/* Services: dashed divider above the tabs, lined up with the first and last tab */
.service-tabs { position: relative; border-top: 0; }
.service-tabs::before {
  content: "";
  position: absolute;
  top: 0;
  left: 6px;  /* the tab row's inner padding */
  right: 6px;
  border-top: 1.5px dashed #d3ddec;
}

/* Why TECEZE panels: teal colour family */
.why-acc__intro { background: #e9f7f4; }
.why-acc__heading span { color: #0e7f76; }
.why-acc__nav .icon-btn { color: #0c6e66; }
.why-acc__nav .icon-btn:hover { background: #0e7f76; color: var(--white); }
.why-acc__panel:nth-child(1) { background: #0e7f76; }
.why-acc__panel:nth-child(2) { background: #0c6e66; }
.why-acc__panel:nth-child(3) { background: #0a5c56; }
.why-acc__panel:nth-child(4) { background: #083f3c; }
.why-acc__pt-icon .icon { color: #a7f3e4; }
/* More breathing room above and below the dashed divider */
.services__showcase .service-tabs { margin-top: clamp(24px, calc(2.2 * var(--vw)), 32px); padding-top: clamp(18px, calc(1.6 * var(--vw)), 24px); }

/* ---------- Floating section menu (bottom right) ---------- */
.fab-nav {
  position: fixed;
  right: clamp(16px, calc(2 * var(--vw)), 28px);
  bottom: clamp(16px, calc(2 * var(--vw)), 28px);
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.9);
  transition: opacity 0.3s, transform 0.35s var(--ease), visibility 0.3s;
}
.fab-nav.is-visible { opacity: 1; visibility: visible; transform: none; }
.fab-nav__btn {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--blue-500), var(--blue-600));
  color: var(--white);
  box-shadow: 0 16px 34px -12px rgb(0 102 245 / 0.65), inset 0 1px 0 rgb(255 255 255 / 0.25);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.fab-nav__btn:hover { transform: translateY(-2px); box-shadow: 0 20px 38px -12px rgb(0 102 245 / 0.75); }
.fab-nav__btn .icon { width: 24px; height: 24px; stroke-width: 2.2; transition: transform 0.3s var(--ease), opacity 0.2s; }
.fab-nav__close { position: absolute; opacity: 0; transform: rotate(-90deg); }
.fab-nav.is-open .fab-nav__open { opacity: 0; transform: rotate(90deg); }
.fab-nav.is-open .fab-nav__close { opacity: 1; transform: none; }

.fab-nav__menu {
  width: 240px;
  max-height: calc(100svh - 120px);
  overflow-y: auto;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgb(255 255 255 / 0.96);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 30px 60px -28px rgb(5 11 54 / 0.45);
  transform-origin: bottom right;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.95);
  transition: opacity 0.2s, transform 0.3s var(--ease), visibility 0.2s;
}
.fab-nav.is-open .fab-nav__menu { opacity: 1; visibility: visible; transform: none; }
.fab-nav__title { padding: 8px 12px 6px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.fab-nav__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--navy-900);
  transition: background-color 0.2s, color 0.2s;
}
.fab-nav__num { width: 22px; font-size: 12.5px; font-weight: 700; color: var(--blue-600); font-variant-numeric: tabular-nums; }
.fab-nav__link:hover { background: var(--blue-50); }
.fab-nav__link.is-active { background: var(--blue-600); color: var(--white); }
.fab-nav__link.is-active .fab-nav__num { color: rgb(255 255 255 / 0.8); }

/* The old floating header pill is replaced by this menu */
@media (min-width: 1101px) {
  .site-header.is-scrolled .nav-list { animation: none; }
}

/* Testimonials: each card's person row is a coloured band */
.tcard { --tone: #1f63d6; --tint: #eaf2ff; }
.tcard:nth-child(5n + 2) { --tone: #6d3fe0; --tint: #f1ecff; }
.tcard:nth-child(5n + 3) { --tone: #0e7f76; --tint: #e6f7f3; }
.tcard:nth-child(5n + 4) { --tone: #c25e00; --tint: #fff3e3; }
.tcard:nth-child(5n + 5) { --tone: #c42b5b; --tint: #ffedf2; }
.tcard figure { overflow: hidden; }
.tcard__person {
  margin: 22px calc(-1 * clamp(22px, calc(2 * var(--vw)), 32px)) calc(-1 * clamp(22px, calc(2 * var(--vw)), 32px));
  padding: 18px clamp(22px, calc(2 * var(--vw)), 32px);
  border-top: 0;
  background: linear-gradient(100deg, var(--tint), color-mix(in srgb, var(--tint) 40%, var(--white)));
}
.tcard__person strong { color: var(--tone); }
.tcard__avatar { box-shadow: 0 0 0 3px var(--white), 0 0 0 5px color-mix(in srgb, var(--tone) 35%, transparent); }
.tcard__avatar--initials { background: var(--white); color: var(--tone); }
.tcard__mark { background: var(--tint); color: var(--tone); }
.tcard__logo { mix-blend-mode: multiply; }

/* Insights: articles take the full width now the resource hub is gone */
.insights__grid { grid-template-columns: minmax(0, 1fr); }

/* Floating menu sits inside the 1440px site width */
.fab-nav { right: calc(max(0px, (100vw - 1440px) / 2) + clamp(16px, calc(2 * var(--vw)), 28px)); }
.fab-nav { right: calc((100% - var(--frame-w)) / 2 + 16px); } /* just inside the right frame line */

/* ---------- 08. Insights: article cards ---------- */
.insights__posts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.icard { display: flex; flex-direction: column; padding: 12px; border-radius: 22px; }
.icard__media { overflow: hidden; border-radius: 14px; aspect-ratio: 16 / 10; }
.icard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.icard:hover .icard__media img { transform: scale(1.04); }
.icard__body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: 18px 10px 8px; }
.icard__cat { padding: 6px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.icard__cat--blue { background: #e6efff; color: #1f63d6; }
.icard__cat--green { background: #dcf5ea; color: #0b7a53; }
.icard__cat--purple { background: #ece5ff; color: #6234cc; }
.icard__title { margin-top: 14px; font-family: var(--font-display); font-size: clamp(1.1rem, calc(1.3 * var(--vw)), 1.35rem); font-weight: 700; line-height: 1.3; color: var(--navy-900); text-wrap: balance; }
.icard__title a::after { content: ""; position: absolute; inset: 0; } /* whole card is the link */
.icard__title a:focus-visible { outline: none; }
.icard__excerpt { margin-top: 10px; font-size: clamp(14.5px, calc(1 * var(--vw)), 16px); line-height: 1.6; color: var(--muted); }
.icard__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; margin-top: auto; padding-top: 20px; }
.icard__author { display: flex; align-items: center; gap: 10px; min-width: 0; }
.icard__avatar { flex: none; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.icard__avatar--initials { display: grid; place-items: center; background: linear-gradient(135deg, #ffe7d6, #ece5ff); font-size: 14px; font-weight: 700; color: var(--navy-800); }
.icard__author > span:last-child { display: grid; font-size: 13px; line-height: 1.35; color: var(--muted); }
.icard__author strong { font-size: 14.5px; color: var(--navy-900); }
.icard__meta { display: grid; gap: 6px; font-size: 13px; color: var(--muted); white-space: nowrap; }
.icard__meta > span { display: flex; align-items: center; gap: 8px; }
.icard__meta .icon { width: 16px; height: 16px; color: var(--navy-800); }
@media (max-width: 1100px) { .insights__posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .insights__posts { grid-template-columns: minmax(0, 1fr); } }
.icard__cat--amber { background: #fff1db; color: #a35700; }
.icard__cat--rose { background: #ffe8ef; color: #b4234f; }
.icard__cat--orange { background: #ffeadb; color: #b4480a; }

/* Insight cards: roomier padding; author row is a band tinted in the card's category colour */
.icard { --tint: #eaf2ff; --tone: #1f63d6; padding: 16px; overflow: hidden; }
.icard:has(.icard__cat--green) { --tint: #e6f7f0; --tone: #0b7a53; }
.icard:has(.icard__cat--purple) { --tint: #f1ecff; --tone: #6234cc; }
.icard:has(.icard__cat--amber) { --tint: #fff4e2; --tone: #a35700; }
.icard:has(.icard__cat--rose) { --tint: #ffeef3; --tone: #b4234f; }
.icard:has(.icard__cat--orange) { --tint: #ffefe3; --tone: #b4480a; }
.icard__body { padding: 22px 12px 0; }
.icard__foot {
  width: calc(100% + 56px); /* bleed to the card edges */
  margin: auto -28px -16px;
  margin-top: max(22px, auto);
  padding: 18px 28px;
  background: linear-gradient(100deg, var(--tint), color-mix(in srgb, var(--tint) 40%, var(--white)));
}
.icard__foot { margin-top: auto; }
.icard__excerpt { margin-bottom: 22px; }
.icard__author strong { color: var(--tone); }
.icard__avatar { box-shadow: 0 0 0 3px var(--white), 0 0 0 5px color-mix(in srgb, var(--tone) 30%, transparent); }
.icard__avatar--initials { background: var(--white); color: var(--tone); }
.icard__meta .icon { color: var(--tone); }
/* Insight cards: more air between the description and the author band */
.icard__excerpt { margin-bottom: clamp(32px, calc(3 * var(--vw)), 44px); }
