/* ============================================================
   Excellara Strategic Solutions — site styles (light theme, brief v2)
   Brand: Blue #0093f1 · Gold #c89700 · White #ffffff · Montserrat
   ============================================================ */

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/montserrat-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/montserrat-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/montserrat-500-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/montserrat-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/montserrat-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/montserrat-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/montserrat-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/montserrat-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --blue: #0093f1;
  --blue-dark: #0072bd;
  --blue-soft: #eaf6fe;
  --blue-tint: #f5fafe;
  --navy: #0a2540;          /* text only — backgrounds stay light */
  --gold: #c89700;
  --gold-bright: #e3ae0e;
  --gold-deep: #a37c00;     /* gold for text on white (contrast-safe) */
  --gold-tint: #fdf7e7;
  --ink: #3d566e;
  --line: #dcebf7;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 12px 32px rgba(10, 60, 110, 0.08);
  --shadow-lg: 0 24px 60px rgba(10, 60, 110, 0.14);
  --font-head: "Montserrat", "Segoe UI", sans-serif;
  --font-body: "Montserrat", "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 90px; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.22;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 4.6vw, 3.15rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); letter-spacing: -0.015em; }
h3 { font-size: 1.15rem; }

p { max-width: 68ch; }

a { color: var(--blue-dark); text-decoration: none; }

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

.container {
  width: min(1140px, 100% - 3rem);
  margin-inline: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(0, 147, 241, 0.35);
}
.btn-primary:hover { background: var(--blue-dark); color: var(--white); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: var(--navy);
  box-shadow: 0 6px 18px rgba(200, 151, 0, 0.35);
}
.btn-gold:hover { box-shadow: 0 10px 26px rgba(200, 151, 0, 0.45); color: var(--navy); }

.btn-outline {
  background: var(--white);
  color: var(--navy);
  border-color: #b9d8ef;
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue-dark); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.65);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.24); color: var(--white); }

.btn-white {
  background: var(--white);
  color: var(--blue-dark);
  box-shadow: 0 6px 18px rgba(6, 40, 70, 0.18);
}
.btn-white:hover { color: var(--blue); }

.btn-sm { padding: 0.55rem 1.3rem; font-size: 0.9rem; }
.btn-full { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(10, 60, 110, 0.07);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.8rem;
}

.brand { display: inline-flex; align-items: center; }
.brand-img { height: 46px; width: auto; display: block; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}
.site-nav > a:not(.btn) {
  font-weight: 500;
  font-size: 0.9rem;
  white-space: nowrap;
  color: var(--navy);
  transition: color 0.15s ease;
}
.site-nav > a:not(.btn):hover { color: var(--blue); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero (light) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 88% 20%, rgba(0, 147, 241, 0.1), transparent 60%),
    radial-gradient(700px 420px at 4% 92%, rgba(200, 151, 0, 0.07), transparent 60%),
    linear-gradient(180deg, #fdfeff 0%, #f2f9fe 100%);
}
/* Sits inside .container so it starts at the same left edge as the header logo */
.hero-inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(4.5rem, 10vw, 7.5rem);
  max-width: 720px;
}
.hero .container, .page-hero .container { position: relative; z-index: 1; }
.hero-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-tagline {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold-deep);
  background: var(--gold-tint);
  border: 1px solid #ecd9a0;
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  margin-bottom: 1.6rem;
}
.hero h1 { max-width: 19ch; }
.hero h1 .accent { color: var(--blue); }
.hero-lead {
  margin-top: 1.4rem;
  font-size: 1.08rem;
  max-width: 56ch;
}
.hero-lead + .hero-lead { margin-top: 0.8rem; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.2rem;
}

/* Badge assembly — full-colour, upright (per brand guide: never tilted, light bg) */
.hero-badge {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(240px, 26vw, 400px);
  aspect-ratio: 1000 / 1121;
  filter: drop-shadow(0 30px 60px rgba(10, 60, 110, 0.18));
  animation: badge-drift 16s ease-in-out infinite;
  will-change: transform;
}
@keyframes badge-drift {
  0%   { transform: translateY(-52%); }
  50%  { transform: translateY(-48%); }
  100% { transform: translateY(-52%); }
}
.hero-badge-mobile { display: none; } /* shown only ≤860px, in-flow */
.badge-part {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation-duration: 1.1s;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  animation-fill-mode: both;
}
.part-top { animation-name: part-in-top; animation-delay: 0.2s; }
.part-mid { animation-name: part-in-mid; animation-delay: 0.38s; }
.part-bottom { animation-name: part-in-bottom; animation-delay: 0.56s; }
@keyframes part-in-top {
  from { opacity: 0; transform: translate(-72px, -90px); }
  to   { opacity: 1; transform: none; }
}
@keyframes part-in-mid {
  from { opacity: 0; transform: translate(96px, -24px); }
  to   { opacity: 1; transform: none; }
}
@keyframes part-in-bottom {
  from { opacity: 0; transform: translate(-44px, 104px); }
  to   { opacity: 1; transform: none; }
}
.badge-star {
  position: absolute;
  top: -4%;
  right: -11%;
  width: 19%;
  height: auto;
  animation: star-pop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 1.85s both;
}
@keyframes star-pop {
  from { opacity: 0; transform: scale(0) rotate(-40deg); }
  to   { opacity: 1; transform: scale(1) rotate(0deg); }
}

.spark {
  position: absolute;
  opacity: 0;
  animation: spark-twinkle 7s ease-in-out infinite;
}
.spark-1 { width: 20px; right: 12%; top: 18%; }
.spark-2 { width: 13px; right: 33%; top: 62%; animation-delay: 2.4s; }
.spark-3 { width: 10px; right: 5%; top: 76%; animation-delay: 4.6s; }
@keyframes spark-twinkle {
  0%, 100% { opacity: 0; transform: scale(0.6) rotate(0deg); }
  50%      { opacity: 0.85; transform: scale(1.1) rotate(20deg); }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(4rem, 8.5vw, 6rem); }
.section-soft { background: var(--blue-tint); }

.section-head { margin-bottom: 2.6rem; }
.section-sub { margin-top: 0.8rem; }

.eyebrow {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.7rem;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: start;
}
.about-copy p + p { margin-top: 1rem; }
.about-copy h2 { margin-bottom: 1.2rem; }

/* ---------- Leadership ---------- */
.leader-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 3rem;
  align-items: start;
}
.leader-photo { border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow-lg); }
.leader-copy p + p { margin-top: 1rem; }
.leader-quote {
  margin-top: 1.6rem;
  padding: 1.2rem 1.4rem;
  border-left: 4px solid var(--gold);
  background: var(--gold-tint);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--navy);
}
.leader-quote::before { content: "\201C"; }
.leader-quote::after { content: "\201D"; }

/* ---------- Photography ---------- */
.photo {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  line-height: 0;
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* a touch of lift so photos sit with the brand rather than against it */
  filter: saturate(1.04) contrast(1.02);
}
.about-side { display: flex; flex-direction: column; gap: 1.6rem; }
/* No forced aspect ratios — photos keep their natural proportions so faces
   are never cropped. object-fit stays as a safety net only. */
.photo-split {
  margin-bottom: 1.6rem;
  box-shadow: 0 14px 34px rgba(6, 40, 70, 0.22);
}
.photo-contact {
  margin-top: 1.8rem;
  max-width: 460px;
}
/* Photo sits beside the section heading rather than full-bleed: at ~520px the
   source's true detail (~1024px) covers a 2x display, where full width did not. */
.section-intro {
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 3rem;
  align-items: center;
  margin-bottom: 2.6rem;
}
.section-intro .section-head { margin-bottom: 0; }
.section-media {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  line-height: 0;
}
.section-media img {
  width: 100%;
  height: auto;   /* the markup's height attribute would otherwise win and
                     defeat aspect-ratio, rendering the band full-height */
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 28%;
  filter: saturate(1.04) contrast(1.02);
}
.swipe-hint { display: none; }

.promise-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, #0093f1 0%, #21a3f6 60%, #4db7f8 100%);
  color: rgba(255, 255, 255, 0.94);
  border-radius: var(--radius);
  padding: 2.2rem;
  box-shadow: var(--shadow-lg);
}
.promise-mark {
  position: absolute;
  right: -30px;
  bottom: -34px;
  width: 160px;
  height: auto;
  opacity: 0.16;
}
.promise-label {
  font-family: var(--font-head);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffe9a8;
  margin-bottom: 0.9rem;
}
.promise-statement {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--white);
  margin-bottom: 1rem;
}
.promise-support { font-size: 0.95rem; }

.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
  margin-top: 3rem;
}
.vm-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.vm-icon, .value-icon, .service-icon, .why-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  color: var(--blue-dark);
  margin-bottom: 1.1rem;
}
.vm-icon svg, .value-icon svg, .service-icon svg, .why-icon svg { width: 26px; height: 26px; }
.vm-card h3 { margin-bottom: 0.6rem; }

/* ---------- Philosophy strip (light) ---------- */
.philosophy {
  background:
    radial-gradient(700px 360px at 90% 10%, rgba(0, 147, 241, 0.08), transparent 60%),
    var(--blue-tint);
  border-block: 1px solid var(--line);
  text-align: center;
  padding-block: clamp(3.5rem, 7vw, 5rem);
}
.philosophy .eyebrow { margin-inline: auto; }
.philosophy-heading { margin-bottom: 1rem; }
.philosophy-intro { margin: 0 auto 2rem; }
.philosophy-chain {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  list-style: none;
  margin-bottom: 1.8rem;
}
.philosophy-chain li {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--navy);
  background: var(--white);
  border: 1.5px solid #bcdcf3;
  border-radius: 999px;
  padding: 0.55rem 1.3rem;
  /* the chain builds: each step deepens toward the gold outcome */
  opacity: 0;
  transform: translateY(8px) scale(0.97);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.philosophy-chain.in li { opacity: 1; transform: none; }
.philosophy-chain.in li:nth-child(1) { transition-delay: 0.05s; }
.philosophy-chain.in li:nth-child(2) { transition-delay: 0.25s; }
.philosophy-chain.in li:nth-child(3) { transition-delay: 0.45s; }
.philosophy-chain.in li:nth-child(4) { transition-delay: 0.65s; }
.philosophy-chain.in li:nth-child(5) { transition-delay: 0.9s; }
.philosophy-chain li:nth-child(1) { background: #fbfdff; border-color: #dceefb; }
.philosophy-chain li:nth-child(2) { background: #f6fbfe; border-color: #c4e2f7; }
.philosophy-chain li:nth-child(3) { background: #eef8fe; border-color: #a3d3f3; }
.philosophy-chain li:nth-child(4) { background: #e4f3fd; border-color: #74bdec; }
.philosophy-chain li:not(:last-child)::after {
  content: "→";
  margin-left: 1rem;
  color: var(--gold-deep);
  font-weight: 500;
}
.philosophy-chain li:last-child {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  border-color: transparent;
  color: var(--navy);
  box-shadow: 0 8px 22px rgba(200, 151, 0, 0.28);
}
.philosophy-chain.in li:last-child { transform: scale(1.04); }
.philosophy-note { margin-inline: auto; font-size: 0.96rem; }

/* ---------- What we connect (ecosystem) ---------- */
.eco-nodes {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.eco-node {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 1.1rem 1rem;
  text-align: center;
  box-shadow: var(--shadow);
}
.eco-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0 auto 0.7rem;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease;
}
.eco-icon svg { width: 22px; height: 22px; }
.eco-node:hover .eco-icon { background: var(--blue); color: var(--white); transform: scale(1.06); }
.eco-node h3 { font-size: 1rem; margin-bottom: 0.25rem; }
.eco-node p { font-size: 0.8rem; line-height: 1.5; color: #6b849c; margin-inline: auto; }
.eco-spine { display: none; }
.eco-connectors { display: block; width: 100%; height: 68px; }
.eco-connectors .lines path {
  stroke: url(#flowGrad);
  stroke-width: 3;   /* user units: the viewBox now matches the rendered box
                        closely, so this reads as ~2.5px on screen */
  fill: none;
  /* pathLength="1" in the markup normalises every curve to the same dash unit */
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1s ease-out;
}
.eco.in .eco-connectors .lines path { stroke-dashoffset: 0; }
.eco.in .eco-connectors .lines path:nth-child(1) { transition-delay: 0.15s; }
.eco.in .eco-connectors .lines path:nth-child(2) { transition-delay: 0.28s; }
.eco.in .eco-connectors .lines path:nth-child(3) { transition-delay: 0.41s; }
.eco.in .eco-connectors .lines path:nth-child(4) { transition-delay: 0.54s; }
.eco.in .eco-connectors .lines path:nth-child(5) { transition-delay: 0.67s; }

/* Continuous pulse of "opportunity" travelling down each line into the hub */
.eco-connectors .flow path {
  stroke: #0072bd;
  stroke-width: 6;
  stroke-linecap: round;
  fill: none;
  opacity: 0;
  stroke-dasharray: 0.035 0.965;
  stroke-dashoffset: 1;
}
.eco.in .eco-connectors .flow path {
  opacity: 0.95;
  animation: flow-run 3.4s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}
.eco.in .eco-connectors .flow path:nth-child(1) { animation-delay: 1.3s; }
.eco.in .eco-connectors .flow path:nth-child(2) { animation-delay: 1.75s; }
.eco.in .eco-connectors .flow path:nth-child(3) { animation-delay: 1.55s; }
.eco.in .eco-connectors .flow path:nth-child(4) { animation-delay: 2.0s; }
.eco.in .eco-connectors .flow path:nth-child(5) { animation-delay: 2.25s; }
@keyframes flow-run {
  0%   { stroke-dashoffset: 1; opacity: 0; }
  10%  { opacity: 0.95; }
  82%  { opacity: 0.95; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}

/* nodes arrive one after another, left to right */
.eco-nodes > article {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.eco.in .eco-nodes > article { opacity: 1; transform: none; }
.eco.in .eco-nodes > article:nth-of-type(1) { transition-delay: 0.05s; }
.eco.in .eco-nodes > article:nth-of-type(2) { transition-delay: 0.14s; }
.eco.in .eco-nodes > article:nth-of-type(3) { transition-delay: 0.23s; }
.eco.in .eco-nodes > article:nth-of-type(4) { transition-delay: 0.32s; }
.eco.in .eco-nodes > article:nth-of-type(5) { transition-delay: 0.41s; }
/* hub and outcome bar arrive after the lines reach them */
.eco .eco-hub, .eco .eco-arrow, .eco .eco-outcomes {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.eco.in .eco-hub {
  opacity: 1;
  transform: none;
  transition-delay: 0.85s;
  /* breathes gently once the lines start feeding it */
  animation: hub-breathe 4.5s ease-in-out 2s infinite;
}
@keyframes hub-breathe {
  0%, 100% { box-shadow: 0 14px 34px rgba(0, 147, 241, 0.3); }
  50%      { box-shadow: 0 18px 46px rgba(0, 147, 241, 0.48); }
}
.eco.in .eco-arrow { opacity: 1; transform: none; transition-delay: 1.05s; }
.eco.in .eco-outcomes { opacity: 1; transform: none; transition-delay: 1.2s; }
.eco-hub {
  width: min(460px, 100%);
  margin-inline: auto;
  text-align: center;
  background: linear-gradient(135deg, #0093f1, #2fa9f5);
  color: var(--white);
  border-radius: 999px;
  padding: 1rem 2rem;
  box-shadow: 0 14px 34px rgba(0, 147, 241, 0.3);
}
.eco-hub .eco-name {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 1.05rem;
}
.eco-hub .eco-verbs { font-size: 0.85rem; color: rgba(255, 255, 255, 0.92); }
.eco-arrow {
  width: 2px;
  height: 34px;
  margin: 0.6rem auto;
  background: linear-gradient(#cfe7f9, var(--gold-bright));
  position: relative;
  overflow: visible;
}
.eco-arrow::before {
  content: "";
  position: absolute;
  left: 50%;
  margin-left: -6px;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-top-color: var(--gold-bright);
  animation: arrow-run 2.4s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}
@keyframes arrow-run {
  0%   { top: -4px; opacity: 0; }
  18%  { opacity: 1; }
  78%  { opacity: 1; }
  100% { top: 30px; opacity: 0; }
}

.eco-outcomes {
  width: min(640px, 100%);
  margin-inline: auto;
  text-align: center;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  border: none;
  border-radius: 999px;
  padding: 0.9rem 1.8rem;
  box-shadow: 0 10px 26px rgba(200, 151, 0, 0.32);
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
}

/* ---------- Services (5 pillars) ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card h3 { margin-bottom: 0.7rem; }
.service-card p { font-size: 0.94rem; }
.service-card p + p { margin-top: 0.7rem; }
.service-card .service-cta { margin-top: auto; padding-top: 1.4rem; }
.service-cta a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--blue-dark);
}
.service-cta a::after { content: " →"; }
.service-cta a:hover { color: var(--blue); }

/* ---------- Why choose ---------- */
.why-sub { margin-top: -1.8rem; margin-bottom: 2.4rem; }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}
.why-card {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
}
.why-card .why-icon { margin-bottom: 0; flex-shrink: 0; }
.why-card h3 { margin-bottom: 0.4rem; }
.why-card p { font-size: 0.94rem; }

/* ---------- Approach steps (5) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.2rem;
  list-style: none;
}
.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.3rem 1.6rem;
  box-shadow: var(--shadow);
}
.step-num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  box-shadow: 0 6px 16px rgba(0, 147, 241, 0.35);
  margin-bottom: 1rem;
}
.step h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.step p { font-size: 0.88rem; line-height: 1.6; }
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 40px;
  right: -1rem;
  width: 0.75rem;
  height: 2px;
  background: var(--blue);
  opacity: 0.4;
}
.steps.steps-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1020px) { .steps.steps-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .steps.steps-4 { grid-template-columns: 1fr; } }

/* ---------- Sectors ---------- */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  list-style: none;
}
.tag-list li {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.94rem;
  color: var(--navy);
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 0.65rem 1.4rem;
  box-shadow: 0 4px 14px rgba(10, 60, 110, 0.05);
  transition: border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.tag-list li:hover {
  border-color: var(--blue);
  color: var(--blue-dark);
  transform: translateY(-2px);
}

/* ---------- Audience split cards ---------- */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
}
.split-card {
  border-radius: calc(var(--radius) + 6px);
  padding: 2.6rem 2.4rem;
  box-shadow: var(--shadow-lg);
}
.split-card h2 { margin-bottom: 1rem; font-size: clamp(1.4rem, 2.3vw, 1.8rem); }
.split-card p { margin-bottom: 1.6rem; }
.split-card p + p { margin-top: -0.8rem; }
.split-label {
  font-family: var(--font-head);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.split-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.split-organizations {
  background:
    radial-gradient(420px 260px at 92% 8%, rgba(255, 255, 255, 0.35), transparent 60%),
    linear-gradient(140deg, #0093f1, #2fa9f5);
  color: rgba(255, 255, 255, 0.95);
}
.split-organizations h2 { color: var(--white); }
.split-organizations .split-label { color: #d9f870; color: #ffe9a8; }
.split-professionals {
  background: var(--gold-tint);
  border: 1.5px solid #ecd9a0;
  color: var(--ink);
}
.split-professionals .split-label { color: var(--gold-deep); }

/* ---------- Contact / CTA (light) ---------- */
.contact {
  background:
    radial-gradient(800px 460px at 10% 8%, rgba(0, 147, 241, 0.08), transparent 60%),
    radial-gradient(640px 380px at 92% 94%, rgba(200, 151, 0, 0.07), transparent 60%),
    var(--blue-tint);
  border-top: 1px solid var(--line);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
}
.contact-copy h2 { margin-bottom: 1.1rem; }
.contact-copy p + p { margin-top: 0.8rem; }
.contact-alt { font-size: 0.95rem; }
.contact-alt a { color: var(--gold-deep); font-weight: 600; }
.contact-alt a:hover { text-decoration: underline; }

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 2.2rem;
  box-shadow: var(--shadow-lg);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
.form-field { margin-bottom: 1.1rem; }
.form-field label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.83rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.form-field .optional { color: #8aa4bc; font-weight: 500; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem; /* ≥16px prevents iOS Safari zoom-on-focus */
  color: var(--navy);
  background: #f7fbfe;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 147, 241, 0.18);
}
.form-note {
  margin-top: 0.9rem;
  font-size: 0.83rem;
  color: #7d93a8;
  text-align: center;
}
.form-branch:not([hidden]) { animation: branch-in 0.25s ease; }
@keyframes branch-in {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Legal pages ---------- */
.legal-hero {
  background: linear-gradient(135deg, #0093f1 0%, #2fa9f5 100%);
  color: var(--white);
  padding-block: clamp(3rem, 7vw, 4.5rem);
}
.legal-hero h1 { color: var(--white); font-size: clamp(1.9rem, 4vw, 2.8rem); }
.legal-hero .updated {
  margin-top: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}
.legal-body { padding-block: clamp(3rem, 6vw, 4.5rem); }
.legal-body .container { max-width: 820px; }
.legal-body h2 { font-size: 1.3rem; margin: 2.4rem 0 0.8rem; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p + p { margin-top: 0.9rem; }
.legal-body ul { margin: 0.9rem 0 0.9rem 1.4rem; }
.legal-body li + li { margin-top: 0.45rem; }
.legal-body a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Subpage hero (talent) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(760px 420px at 90% 20%, rgba(0, 147, 241, 0.1), transparent 60%),
    linear-gradient(180deg, #fdfeff 0%, #f2f9fe 100%);
}
.page-hero .hero-inner { padding-block: clamp(4rem, 8vw, 6rem); }

/* ---------- Footer (light) ---------- */
.site-footer {
  background: var(--blue-tint);
  border-top: 1px solid var(--line);
  color: var(--ink);
  padding-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer-tagline {
  margin-top: 1.2rem;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy);
  font-size: 1rem;
}
.footer-promise { margin-top: 0.4rem; font-size: 0.9rem; font-style: italic; }
.footer-col { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-head {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.4rem;
}
.footer-col a {
  color: var(--ink);
  font-size: 0.93rem;
  transition: color 0.15s ease;
}
.footer-col a:hover { color: var(--blue-dark); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  border-top: 1px solid var(--line);
  padding-block: 1.4rem;
  font-size: 0.86rem;
}
.ophir-credit {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.3rem;
}
.ophir-credit a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: #8aa4bc;
  transition: color 0.15s ease;
}
.ophir-credit a:hover { color: var(--navy); }
.ophir-credit .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d4a017;
}
.ophir-credit .support { font-size: 0.7rem; }

/* ---------- Touch feedback (hover can't exist on touch, so give tap states) ---------- */
html {
  /* replace the default grey flash with a brand-tinted one */
  -webkit-tap-highlight-color: rgba(0, 147, 241, 0.12);
}
.btn:active { transform: translateY(0) scale(0.98); }
@media (hover: none) {
  .why-card, .eco-node, .step, .vm-card, .value-card, .service-card, .tag-list li {
    transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
  }
  .why-card:active, .eco-node:active, .step:active, .vm-card:active,
  .value-card:active, .service-card:active {
    transform: scale(0.99);
    box-shadow: var(--shadow-lg);
    border-color: #b9d8ef;
  }
  .tag-list li:active { border-color: var(--blue); color: var(--blue-dark); }
  .site-nav a:active, .footer-col a:active, .service-cta a:active,
  .contact-alt a:active, .ophir-credit a:active { color: var(--blue); }
  .philosophy-chain li:active { border-color: var(--blue); }
}

/* ---------- Hover states (pointer devices only, so touch never sticks) ---------- */
@media (hover: hover) and (pointer: fine) {
  .why-card, .eco-node, .step, .vm-card, .promise-card {
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  }
  .why-card:hover, .eco-node:hover, .step:hover, .vm-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: #b9d8ef;
  }
  /* icon tile fills with brand blue as the card lifts */
  .why-icon, .value-icon, .service-icon, .vm-icon {
    transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease;
  }
  .why-card:hover .why-icon,
  .value-card:hover .value-icon,
  .service-card:hover .service-icon,
  .vm-card:hover .vm-icon {
    background: var(--blue);
    color: var(--white);
    transform: scale(1.06);
  }
  /* step numbers get a subtle pop */
  .step .step-num { transition: transform 0.22s ease, box-shadow 0.22s ease; }
  .step:hover .step-num { transform: scale(1.08); box-shadow: 0 8px 20px rgba(0, 147, 241, 0.45); }
  /* philosophy pills nudge along the chain */
  .philosophy-chain li { transition: opacity 0.45s ease, transform 0.45s ease, box-shadow 0.22s ease, border-color 0.22s ease; }
  .philosophy-chain.in li:hover { border-color: var(--blue); box-shadow: 0 6px 16px rgba(0, 147, 241, 0.18); }
  .philosophy-chain.in li:last-child:hover { box-shadow: 0 10px 26px rgba(200, 151, 0, 0.4); }
  /* service card arrow slides on hover */
  .service-cta a { transition: color 0.18s ease; }
  .service-card:hover .service-cta a { color: var(--blue); }
  /* logo lightens slightly so it reads as a link home */
  .brand { transition: opacity 0.18s ease; }
  .brand:hover { opacity: 0.82; }
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .value-card, .service-card, .tag-list li { transition: none; }
  .hero-badge { animation: none; }
  .badge-part, .badge-star { animation: none; opacity: 1; transform: none; }
  .spark { animation: none; opacity: 0.3; }
  .form-branch:not([hidden]) { animation: none; }
  /* ecosystem draws instantly; hero parallax is disabled in JS */
  .eco-connectors .lines path { stroke-dashoffset: 0; transition: none; }
  .eco-connectors .flow { display: none; }
  .eco-nodes > article { opacity: 1; transform: none; transition: none; }
  .eco.in .eco-hub { animation: none; }
  .eco .eco-hub, .eco .eco-arrow, .eco .eco-outcomes { opacity: 1; transform: none; transition: none; }
  .eco-spine { transform: scaleY(1); transition: none; }
  .eco-nodes > article::after { transform: none !important; transition: none; }
  .hero-decor { transform: none !important; }
  .philosophy-chain li { opacity: 1; transform: none; transition: none; }
  .philosophy-chain.in li:last-child { transform: none; }
  .why-card, .eco-node, .step, .vm-card, .why-icon, .value-icon,
  .service-icon, .vm-icon, .step .step-num { transition: none; }
}

/* ---------- Values grid ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.2rem;
}
.value-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.value-card h3 { font-size: 1.02rem; margin-bottom: 0.45rem; }
.value-card p { font-size: 0.88rem; line-height: 1.6; }
.value-card .value-icon { width: 46px; height: 46px; border-radius: 12px; }
.value-card .value-icon svg { width: 23px; height: 23px; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .values-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step:not(:last-child)::after { display: none; }
  .eco-connectors { display: none; }
  .eco-hub { margin-top: 1.4rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}


@media (max-width: 1020px) {
  /* Mobile ecosystem: Talent on top, pairs either side of a central spine,
     everything flowing down into the Excellara hub (per client sketch). */
  .eco-nodes {
    grid-template-columns: 1fr 2px 1fr;
    gap: 1.1rem 1.1rem;
    position: relative;
  }
  .eco-node { position: relative; padding: 0.9rem 0.75rem; }
  .eco-node h3 { font-size: 0.95rem; }
  .eco-node p { font-size: 0.74rem; line-height: 1.45; }
  .eco-nodes > article:nth-of-type(1) { grid-column: 1 / -1; grid-row: 1; justify-self: center; width: min(70%, 240px); }
  .eco-nodes > article:nth-of-type(2) { grid-column: 1; grid-row: 2; }  /* Enterprise */
  .eco-nodes > article:nth-of-type(4) { grid-column: 3; grid-row: 2; }  /* Institutions */
  .eco-nodes > article:nth-of-type(5) { grid-column: 1; grid-row: 3; }  /* Investment */
  .eco-nodes > article:nth-of-type(3) { grid-column: 3; grid-row: 3; }  /* Expertise */
  .eco-spine {
    display: block;
    grid-column: 2;
    grid-row: 2 / span 2;
    justify-self: center;
    width: 2px;
    background: #a8d4f2;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.8s ease-out 0.35s;
  }
  .eco.in .eco-spine { transform: scaleY(1); }
  /* elbows draw outward from the spine once it has run down */
  .eco-nodes > article::after { transition: transform 0.4s ease-out; }
  .eco-nodes > article:nth-of-type(1)::after { transform: scaleY(0); transform-origin: top; transition-delay: 0.2s; }
  .eco-nodes > article:nth-of-type(2)::after,
  .eco-nodes > article:nth-of-type(5)::after { transform: scaleX(0); transform-origin: right; }
  .eco-nodes > article:nth-of-type(4)::after,
  .eco-nodes > article:nth-of-type(3)::after { transform: scaleX(0); transform-origin: left; }
  .eco-nodes > article:nth-of-type(2)::after,
  .eco-nodes > article:nth-of-type(4)::after { transition-delay: 0.75s; }
  .eco-nodes > article:nth-of-type(5)::after,
  .eco-nodes > article:nth-of-type(3)::after { transition-delay: 0.95s; }
  .eco.in .eco-nodes > article::after { transform: scaleX(1) scaleY(1); }
  /* stub from Talent down into the spine */
  .eco-nodes > article:nth-of-type(1)::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -1.1rem;
    width: 2px;
    height: 1.1rem;
    background: #a8d4f2;
  }
  /* elbows from each side card into the spine */
  .eco-nodes > article:nth-of-type(2)::after,
  .eco-nodes > article:nth-of-type(5)::after,
  .eco-nodes > article:nth-of-type(4)::after,
  .eco-nodes > article:nth-of-type(3)::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 1.1rem;
    height: 2px;
    background: #a8d4f2;
  }
  .eco-nodes > article:nth-of-type(2)::after,
  .eco-nodes > article:nth-of-type(5)::after { right: -1.1rem; }
  .eco-nodes > article:nth-of-type(4)::after,
  .eco-nodes > article:nth-of-type(3)::after { left: -1.1rem; }
  /* spine continues into the hub */
  .eco-hub { position: relative; margin-top: 2.2rem; }
  .eco-hub::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -2.2rem;
    width: 2px;
    height: 2.2rem;
    background: #a8d4f2;
  }
}

/* eight nav items need ~1020px on one line — collapse to the menu below that */
@media (max-width: 1020px) {
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(10, 60, 110, 0.12);
    padding: 0.6rem 1.5rem 1.2rem;
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav > a:not(.btn) { padding: 0.75rem 0.2rem; border-bottom: 1px solid var(--blue-tint); }
  .site-nav .nav-cta { margin-top: 1rem; }
  .nav-toggle { display: flex; }
}

@media (max-width: 860px) {

  .about-grid, .vm-grid, .why-grid, .split-grid, .contact-grid, .leader-grid { grid-template-columns: 1fr; }
  .leader-photo { max-width: 320px; }
  .leader-grid { gap: 1.8rem; }
  .services-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: 2rem; }
  .contact-grid { gap: 2.5rem; }
  .hero-badge { display: none; }
  .hero-badge.hero-badge-mobile {
    display: block;
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: min(200px, 55vw);
    margin: 2.6rem auto 0;
    animation: none;
  }
  /* the in-flow badge carries its own star; floating sparks would sit over text */
  .spark { display: none; }

}

/* ---------- Mobile compaction: shorten the long card runs ---------- */
@media (max-width: 860px) {
  /* stacked, not rails: a full-height horizontal scroller traps vertical
     swipes because every touch starts inside it. Compact instead. */
  .service-card { padding: 1.5rem 1.3rem; }
  .service-card p { font-size: 0.9rem; }
  .service-card p + p { margin-top: 0.5rem; }
  .service-card .service-cta { padding-top: 1rem; }
  .step { padding: 1.4rem 1.2rem 1.2rem; }
  .swipe-hint { display: none; }
  .section-intro { grid-template-columns: 1fr; gap: 1.6rem; }
  .section-media img { aspect-ratio: 3 / 2; object-position: center 24%; }
  .section-media { margin-bottom: 0; }
}

@media (max-width: 540px) {
  body { font-size: 0.98rem; }
  .btn { white-space: normal; }
  .form-row { grid-template-columns: 1fr; }
  /* values sit two-up rather than five stacked */
  .values-grid { grid-template-columns: 1fr 1fr; gap: 0.8rem; }
  .steps { grid-template-columns: 1fr 1fr; gap: 0.8rem; }
  .step h3 { font-size: 0.95rem; }
  .step p { font-size: 0.8rem; line-height: 1.5; }
  .step-num { width: 36px; height: 36px; font-size: 1rem; margin-bottom: 0.7rem; }
  .value-card { padding: 1.1rem 0.9rem; }
  .value-card h3 { font-size: 0.92rem; }
  .value-card p { font-size: 0.78rem; line-height: 1.5; }
  .value-card .value-icon { width: 38px; height: 38px; margin-bottom: 0.7rem; }
  .value-card .value-icon svg { width: 19px; height: 19px; }
  /* footer links reach a 44px tap target */
  .footer-col { gap: 0.1rem; }
  .footer-col a { padding-block: 0.55rem; }
  /* why-us cards tighten up */
  .why-card { padding: 1.2rem 1.1rem; gap: 0.9rem; }
  .why-card .why-icon { width: 42px; height: 42px; }
  .why-card .why-icon svg { width: 21px; height: 21px; }
  .eco-nodes { gap: 0.9rem 0.9rem; }
  .eco-nodes > article:nth-of-type(2)::after,
  .eco-nodes > article:nth-of-type(5)::after { right: -0.9rem; width: 0.9rem; }
  .eco-nodes > article:nth-of-type(4)::after,
  .eco-nodes > article:nth-of-type(3)::after { left: -0.9rem; width: 0.9rem; }
  .eco-nodes > article:nth-of-type(1)::after { bottom: -0.9rem; height: 0.9rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .hero-actions .btn, .split-actions .btn { width: 100%; }
  .split-grid > * { min-width: 0; }
  .split-card { padding: 2rem 1.5rem; }
  .contact-form { padding: 1.6rem; }
  .philosophy-chain li:not(:last-child)::after { content: "↓"; margin-left: 0.6rem; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
  .ophir-credit { align-items: center; }
}
