/* ============================================================
   MRC MOTORSPORTS V5 — Complete Redesign
   Font: Plus Jakarta Sans
   Palette: Near-black navy #06091E + MRC corporate blue #0C4FA3
   Inspired by OMMAX · Berylls · Apple
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --ink:        #06091E;
  --ink-2:      #0D1530;
  --white:      #FFFFFF;
  --off:        #F5F7FB;
  --off-2:      #EDF1F9;
  --accent:     #0C4FA3;
  --accent-hi:  #1668D4;
  --accent-dim: rgba(12,79,163,0.09);
  --text:       #0A0D1C;
  --text-2:     #485270;
  --text-3:     #8993AE;
  --border:     #DDE3EF;
  --border-dk:  rgba(255,255,255,0.07);

  --w90: rgba(255,255,255,0.90);
  --w70: rgba(255,255,255,0.70);
  --w50: rgba(255,255,255,0.50);
  --w30: rgba(255,255,255,0.30);
  --w10: rgba(255,255,255,0.10);
  --w06: rgba(255,255,255,0.06);
  --w25: rgba(255,255,255,0.25);
  --w20: rgba(255,255,255,0.20);

  --font:   'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-w:  1400px;
  --nav-h:  70px;
  --r:      4px;
  --r-lg:   10px;

  --sp-1:  0.25rem;  --sp-2:  0.5rem;   --sp-3:  0.75rem;
  --sp-4:  1rem;     --sp-5:  1.25rem;  --sp-6:  1.5rem;
  --sp-7:  1.75rem;  --sp-8:  2rem;     --sp-10: 2.5rem;
  --sp-12: 3rem;     --sp-16: 4rem;     --sp-20: 5rem;
  --sp-24: 6rem;     --sp-28: 7rem;     --sp-32: 8rem;

  --ease:  cubic-bezier(0.16, 1, 0.3, 1);
  --t:     0.2s ease;
  --t-med: 0.4s var(--ease);

  --shadow:    0 4px 16px rgba(6,9,30,0.08);
  --shadow-lg: 0 16px 48px rgba(6,9,30,0.13);
  --shadow-bl: 0 6px 20px rgba(12,79,163,0.28);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--text); background: var(--white); }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font); border: none; background: none; }
input, textarea { font-family: var(--font); }

.container { max-width: var(--max-w); margin-inline: auto; padding-inline: var(--sp-8); }
.section-pad { padding-block: var(--sp-28); }

/* ============================================================
   SCROLL PROGRESS
   ============================================================ */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-hi) 100%);
  transform: scaleX(0); transform-origin: left center;
  z-index: 1001; will-change: transform;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.section-label {
  font-size: 0.64rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent); display: block; margin-bottom: var(--sp-5);
}
.section-label--light { color: var(--accent-hi); }

.section-headline {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800; color: var(--text);
  line-height: 1.04; letter-spacing: -0.035em;
  margin-bottom: var(--sp-5);
}
.section-headline--light { color: var(--white); }

.section-intro {
  font-size: 1.025rem; color: var(--text-2);
  max-width: 560px; line-height: 1.85; margin-bottom: var(--sp-10);
}
.section-intro--light { color: var(--w70); }

.section-header-row {
  display: flex; align-items: baseline;
  justify-content: space-between; gap: var(--sp-4);
  flex-wrap: wrap; margin-bottom: var(--sp-4);
}

.dot, .stat-accent { color: var(--accent); }
.blue-rule { width: 24px; height: 2px; background: var(--accent); border-radius: 2px; margin-bottom: var(--sp-6); }
.blue-rule--center { margin-inline: auto; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: 0.8rem 1.8rem; border-radius: var(--r);
  font-size: 0.84rem; font-weight: 700; letter-spacing: 0.01em;
  transition: all 0.25s var(--ease); white-space: nowrap;
}
.btn--primary { background: var(--accent); color: var(--white); }
.btn--primary:hover { background: var(--accent-hi); transform: translateY(-2px); box-shadow: var(--shadow-bl); }
.btn--ghost { background: transparent; color: var(--white); border: 1.5px solid var(--w30); }
.btn--ghost:hover { border-color: var(--white); background: var(--w10); transform: translateY(-1px); }
.btn--outline { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn--outline:hover { border-color: var(--accent); color: var(--accent); }
.btn--full { width: 100%; justify-content: center; }
.btn-outline-white { display: inline-flex; align-items: center; padding: 0.8rem 1.8rem; border-radius: var(--r); font-size: 0.84rem; font-weight: 700; border: 1.5px solid var(--w30); color: var(--white); transition: all 0.25s var(--ease); background: transparent; }
.btn-outline-white:hover { border-color: var(--white); background: var(--w10); transform: translateY(-1px); }

.link-arrow { font-size: 0.82rem; font-weight: 700; color: var(--accent); display: inline-flex; align-items: center; gap: 0.3rem; transition: gap 0.22s ease; }
.link-arrow::after { content: '→'; }
.link-arrow:hover { gap: 0.55rem; }
.link-arrow--blue { color: var(--accent); }
.link-arrow--blue::after { content: '→'; }
.link-arrow--white { color: var(--white); }
.link-arrow--white::after { content: '→'; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h); z-index: 900;
  background: transparent;
  transition: background 0.5s ease, backdrop-filter 0.5s ease, border-color 0.5s ease;
  border-bottom: 1px solid transparent;
}
.site-header::after {
  content: '';
  position: absolute; bottom: -1px; left: 0;
  width: 40px; height: 2px;
  background: var(--accent);
  transition: width 0.6s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(6,9,30,0.96);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom-color: var(--border-dk);
}
.site-header.is-scrolled::after { width: 100%; }

.nav-inner { height: var(--nav-h); display: flex; align-items: center; gap: var(--sp-6); }
.nav-logo { display: flex; align-items: center; margin-right: auto; }
.nav-logo-img { height: 26px; width: auto; }
.nav-links { display: flex; align-items: center; }
.nav-link {
  font-size: 0.78rem; font-weight: 500; color: var(--w50);
  padding: 0.3rem 0.7rem; border-radius: var(--r);
  transition: color var(--t); letter-spacing: 0.005em;
}
.nav-link:hover, .nav-link.is-active { color: var(--white); }
.nav-cta {
  font-size: 0.78rem; font-weight: 700; color: var(--white);
  background: var(--accent); padding: 0.45rem 1.15rem;
  border-radius: var(--r);
  transition: background var(--t), transform var(--t), box-shadow var(--t);
}
.nav-cta:hover { background: var(--accent-hi); transform: translateY(-1px); box-shadow: var(--shadow-bl); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 32px; height: 32px; align-items: center; justify-content: center; }
.nav-toggle span { width: 18px; height: 1.5px; background: var(--white); border-radius: 2px; transition: all 0.25s ease; }
.mobile-nav {
  display: none; flex-direction: column;
  position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: rgba(6,9,30,0.98); backdrop-filter: blur(20px);
  padding: var(--sp-5) var(--sp-5) var(--sp-8);
  gap: var(--sp-1); z-index: 890;
  border-bottom: 1px solid var(--border-dk);
}
.mobile-nav.is-open { display: flex; }
.mobile-nav-link { font-size: 0.9rem; font-weight: 500; color: var(--w50); padding: var(--sp-3); border-radius: var(--r); transition: color var(--t), background var(--t); }
.mobile-nav-link:hover, .mobile-nav-link.is-active { color: var(--white); background: var(--w06); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100vh; height: 100dvh;
  display: flex; align-items: center;
  overflow: hidden; background: var(--ink);
}
.hero-bg {
  position: absolute; inset: -20% 0 -20% 0;
  background: url('https://images.unsplash.com/photo-1776064762097-a10c01dd5f33?q=80&w=1287&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D') center / cover no-repeat;
  will-change: transform; z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to right, rgba(6,9,30,0.93) 0%, rgba(6,9,30,0.60) 55%, rgba(6,9,30,0.35) 100%),
    linear-gradient(to bottom, rgba(6,9,30,0) 50%, rgba(6,9,30,0.95) 100%);
}
.hero-circuit { display: none; }

.hero-content {
  position: relative; z-index: 3;
  padding-top: calc(var(--nav-h) + var(--sp-24));
  padding-bottom: var(--sp-28);
  max-width: 860px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: var(--sp-3);
  font-size: 0.64rem; font-weight: 700;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--accent-hi); margin-bottom: var(--sp-7);
}
.hero-eyebrow::before {
  content: ''; width: 28px; height: 1px;
  background: var(--accent-hi); flex-shrink: 0;
}
.hero-eyebrow:empty { display: none; }

.hero h1 {
  font-size: clamp(2.8rem, 5vw, 5.5rem);
  font-weight: 800; color: var(--white);
  line-height: 0.97; letter-spacing: -0.04em;
  margin-bottom: var(--sp-8);
}
.hero h1 .dot { color: var(--accent-hi); }
.hero h1 em { color: var(--accent-hi); font-style: normal; }

.hero-lead {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--w70); line-height: 1.75;
  max-width: 500px; margin-bottom: var(--sp-10); font-weight: 300;
}
.hero-actions { display: flex; align-items: center; gap: var(--sp-3); flex-wrap: wrap; }
.hero-actions .btn {
  padding: 0.88rem 2rem; min-width: 192px; justify-content: center;
  font-size: 0.84rem; letter-spacing: 0.01em;
}
.hero-actions .btn--primary { background: var(--white); color: var(--ink); border: 2px solid var(--white); }
.hero-actions .btn--primary:hover { background: transparent; color: var(--white); transform: translateY(-2px); box-shadow: none; }
.hero-actions .btn-outline-white,
.hero-actions .btn--ghost { border: 2px solid rgba(255,255,255,0.38); min-width: 192px; }

.hero-scroll {
  position: absolute; bottom: var(--sp-8); left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: var(--sp-2);
  color: var(--w30); font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase;
  z-index: 3;
}
.hero-scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--w50), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { transform: scaleY(1) translateY(0); opacity: 0.4; }
  50%      { transform: scaleY(0.5) translateY(6px); opacity: 1; }
}

/* marquee removed */

/* ============================================================
   STATS STRIP — white background, large numbers
   ============================================================ */
.stats-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.stat-item {
  padding: var(--sp-12) var(--sp-6) var(--sp-10);
  border-right: 1px solid var(--border);
  text-align: center;
  transition: background 0.3s ease;
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: var(--off); }

.stat-number {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 800; color: var(--ink);
  line-height: 1; letter-spacing: -0.05em; display: block;
}
.stat-label {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--text-3);
  margin-top: var(--sp-3); display: block;
}
.stat-desc { font-size: 0.78rem; color: var(--text-3); margin-top: var(--sp-1); line-height: 1.55; }

/* ============================================================
   PRACTICE — dark editorial split
   ============================================================ */
#practice { background: var(--ink); padding-block: var(--sp-28); }
#practice .section-label { color: var(--accent-hi); }
#practice .section-headline { color: var(--white); }

.practice-inner {
  display: grid; grid-template-columns: 72px 1fr 1fr;
  gap: var(--sp-20); align-items: stretch;
}
.practice-body {
  font-size: 1.02rem; color: var(--w70);
  line-height: 1.88; max-width: 540px;
}
.practice-body p + p { margin-top: var(--sp-5); }
.practice-body .link-arrow { display: inline-flex; margin-top: var(--sp-7); color: var(--accent-hi); }
.practice-body .link-arrow::after { content: '→'; }

.practice-highlights {
  display: flex; flex-direction: column; gap: 0;
  border-top: 1px solid var(--border-dk);
}
.highlight-card {
  padding: var(--sp-6) 0;
  border-bottom: 1px solid var(--border-dk);
  transition: padding-left 0.35s var(--ease);
}
.highlight-card:hover { padding-left: var(--sp-3); }
.highlight-icon { font-size: 1.2rem; margin-bottom: var(--sp-3); }
.highlight-title { font-size: 0.9rem; font-weight: 700; color: var(--white); margin-bottom: var(--sp-2); }
.highlight-body { font-size: 0.82rem; color: var(--w50); line-height: 1.65; }

/* ============================================================
   SEGMENTS — elegant slide-up reveal
   ============================================================ */
#segments { background: var(--white); padding-block: var(--sp-28); }

.segments-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-5); margin-top: var(--sp-10);
}

.segment-card { height: 340px; cursor: pointer; border-radius: var(--r-lg); overflow: hidden; }
.segment-card-inner {
  position: relative; width: 100%; height: 100%;
  border-radius: var(--r-lg); overflow: hidden;
}

/* Front: photo always visible, subtle zoom on hover */
.segment-card-front {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  background-color: var(--ink-2);
  transition: transform 0.7s var(--ease);
}
.segment-card:hover .segment-card-front { transform: scale(1.05); }

.segment-front-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(6,9,30,0.08) 0%, rgba(6,9,30,0.78) 100%);
}

.segment-front-content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: flex-start; justify-content: flex-end;
  padding: var(--sp-8);
  transition: opacity 0.3s ease, transform 0.4s var(--ease);
}
.segment-card:hover .segment-front-content { opacity: 0; transform: translateY(-10px); }

.segment-title { font-size: clamp(1.05rem, 1.8vw, 1.25rem); font-weight: 800; color: var(--white); line-height: 1.2; letter-spacing: -0.015em; }
.segment-flip-hint { margin-top: var(--sp-3); font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--w50); display: flex; align-items: center; gap: var(--sp-2); }
.segment-flip-hint svg { width: 10px; height: 10px; }

/* Back: slides up from bottom */
.segment-card-back {
  position: absolute; inset: 0;
  background: rgba(6,9,30,0.94);
  backdrop-filter: blur(2px);
  padding: var(--sp-8);
  display: flex; flex-direction: column; justify-content: space-between;
  transform: translateY(100%);
  transition: transform 0.5s var(--ease);
}
.segment-card:hover .segment-card-back,
.segment-card:focus-within .segment-card-back { transform: translateY(0); }

.segment-back-rule { width: 24px; height: 2px; background: var(--accent-hi); margin-bottom: var(--sp-5); flex-shrink: 0; }
.segment-back-title { font-size: 1rem; font-weight: 800; color: var(--white); line-height: 1.2; margin-bottom: var(--sp-4); }
.segment-back-body { font-size: 0.8rem; color: var(--w70); line-height: 1.68; flex: 1; }
.segment-back-challenges { margin-top: var(--sp-4); padding-top: var(--sp-4); border-top: 1px solid var(--border-dk); }
.segment-challenges-label { font-size: 0.58rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-hi); margin-bottom: var(--sp-2); }
.segment-challenges-text { font-size: 0.74rem; color: var(--w50); line-height: 1.6; font-style: italic; }
.segment-body { display: none; }

/* ============================================================
   SERVICES — responsive icon grid
   ============================================================ */
#services { background: var(--off); padding-block: var(--sp-20); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
  margin-top: var(--sp-4);
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-6) var(--sp-5);
  display: flex; flex-direction: column;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.35s var(--ease);
  position: relative;
}
.service-card::after { display: none; }
.service-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.service-icon-wrap {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-dim);
  border-radius: var(--r);
  color: var(--accent);
  margin-bottom: var(--sp-4);
  flex-shrink: 0;
}
.service-number { display: none; }
.service-card h3 {
  font-size: 0.88rem; font-weight: 700;
  color: var(--text); line-height: 1.3;
  margin-bottom: var(--sp-2);
  transition: color 0.22s ease;
}
.service-card:hover h3 { color: var(--accent); }
.service-card p {
  font-size: 0.8rem; color: var(--text-2);
  line-height: 1.72; flex: 1;
}
.service-card .link-arrow--blue { display: none; }

/* ============================================================
   EDITORIAL BREAK — clean split text + image sections
   ============================================================ */
.editorial-break {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 500px;
}
.editorial-text {
  background: var(--ink);
  display: flex; align-items: center;
  padding: var(--sp-20) var(--sp-16);
}
.editorial-text-inner { max-width: 440px; }
.editorial-label {
  display: inline-flex; align-items: center; gap: var(--sp-3);
  font-size: 0.63rem; font-weight: 700; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--accent-hi);
  margin-bottom: var(--sp-7);
}
.editorial-label::before { content: ''; width: 26px; height: 1px; background: var(--accent-hi); flex-shrink: 0; }
.editorial-quote {
  font-size: clamp(1.15rem, 1.9vw, 1.5rem);
  font-weight: 300; font-style: italic;
  color: var(--w90); line-height: 1.72; margin: 0;
  border-left: 2px solid var(--accent-hi);
  padding-left: var(--sp-6); quotes: none;
}
.editorial-img {
  overflow: hidden; position: relative;
}
.editorial-img img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 7s ease;
}
.editorial-break:hover .editorial-img img { transform: scale(1.04); }
.editorial-break--reverse .editorial-text { order: 2; }
.editorial-break--reverse .editorial-img { order: 1; }

.editorial-break--light .editorial-text {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-left: max(var(--sp-8), calc((100vw - var(--max-w)) / 2 + var(--sp-8)));
  padding-right: var(--sp-10);
}
.editorial-break--light .editorial-label { color: var(--accent); }
.editorial-break--light .editorial-label::before { background: var(--accent); }
.editorial-break--light .editorial-quote {
  color: var(--text);
  border-left-color: var(--accent);
}

/* ============================================================
   CASES / PROJECTS
   ============================================================ */
#cases { background: var(--white); padding-block: var(--sp-28); }

.cases-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: var(--sp-5); margin-top: var(--sp-4);
}
.case-card {
  background: var(--off); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.35s var(--ease);
}
.case-card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-4px); }
.case-header { padding: var(--sp-5) var(--sp-6) var(--sp-4); border-bottom: 1px solid var(--border); background: var(--white); }
.case-flag { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: var(--sp-2); }
.case-location { font-size: 0.98rem; font-weight: 700; color: var(--text); line-height: 1.3; }
.case-body { padding: var(--sp-5) var(--sp-6) var(--sp-6); }
.case-row { margin-bottom: var(--sp-4); }
.case-row-label { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-3); margin-bottom: var(--sp-1); }
.case-row-text { font-size: 0.84rem; color: var(--text-2); line-height: 1.62; }
.case-outcome { display: flex; gap: var(--sp-3); align-items: flex-start; margin-top: var(--sp-5); padding-top: var(--sp-4); border-top: 1px solid var(--border); }
.case-outcome-icon { color: var(--accent); font-size: 0.88rem; font-weight: 700; flex-shrink: 0; }
.case-outcome-text { font-size: 0.82rem; color: var(--text-2); line-height: 1.62; }
.client-logos-strip { display: flex; flex-wrap: wrap; gap: var(--sp-6); align-items: center; justify-content: center; margin-top: var(--sp-12); padding-top: var(--sp-8); border-top: 1px solid var(--border); }
.client-logo-item img { height: 24px; width: auto; object-fit: contain; filter: grayscale(1) opacity(0.35); transition: filter 0.3s ease; }
.client-logo-item img:hover { filter: grayscale(0) opacity(1); }
.client-logo-placeholder { font-size: 0.76rem; font-weight: 600; color: var(--text-3); letter-spacing: 0.05em; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
#testimonials { background: var(--ink); padding-block: var(--sp-8); }

.carousel-wrapper { max-width: 720px; margin-inline: auto; }
.carousel-track { display: grid; }
.testimonial-card { grid-area: 1 / 1; display: block; opacity: 0; pointer-events: none; background: transparent; border: none; padding: var(--sp-6) 0; text-align: center; transition: opacity 0.4s ease; }
.testimonial-card.is-active { opacity: 1; pointer-events: auto; }
.testimonial-quote-mark { font-size: 2.5rem; line-height: 1; color: var(--accent); opacity: 0.3; display: block; margin-bottom: var(--sp-3); font-family: Georgia, serif; }
.testimonial-text { font-size: clamp(0.95rem, 1.7vw, 1.3rem); font-weight: 300; font-style: italic; color: var(--w90); line-height: 1.75; margin-bottom: var(--sp-6); }
.testimonial-client { display: flex; align-items: center; justify-content: center; gap: var(--sp-4); }
.testimonial-photo { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 1.5px solid var(--border-dk); }
.testimonial-photo-placeholder { width: 40px; height: 40px; border-radius: 50%; background: var(--w06); }
.testimonial-client-info { text-align: left; }
.testimonial-name { font-size: 0.84rem; font-weight: 700; color: var(--white); }
.testimonial-title-company { font-size: 0.75rem; color: var(--w50); margin-top: 2px; }
.testimonial-logo { height: 20px; object-fit: contain; filter: brightness(0) invert(1) opacity(0.3); }
.carousel-controls { display: flex; align-items: center; justify-content: center; gap: var(--sp-4); margin-top: var(--sp-8); }
.carousel-btn { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border-dk); color: var(--w50); display: flex; align-items: center; justify-content: center; transition: all var(--t); }
.carousel-btn:hover { border-color: var(--accent-hi); color: var(--accent-hi); }
.carousel-dots { display: flex; gap: var(--sp-2); }
.carousel-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--w30); cursor: pointer; border: none; padding: 0; transition: all 0.3s ease; }
.carousel-dot.is-active { background: var(--accent-hi); width: 20px; border-radius: 3px; }

/* ============================================================
   INSIGHTS
   ============================================================ */
#insights { background: var(--off); padding-block: var(--sp-28); }

.insights-grid {
  display: grid; grid-template-columns: 3fr 2fr;
  grid-template-rows: 1fr 1fr; gap: var(--sp-4); margin-top: var(--sp-4);
}
.insight-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: var(--sp-6) var(--sp-7);
  cursor: pointer; display: flex; flex-direction: column;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.35s var(--ease);
}
.insight-card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-3px); }
.insights-grid .insight-card:first-child { grid-row: span 2; padding: var(--sp-8); }
.insights-grid .insight-card:first-child .insight-title { font-size: clamp(1.05rem, 1.7vw, 1.3rem); line-height: 1.32; }
.insights-grid .insight-card:first-child .insight-excerpt { font-size: 0.9rem; line-height: 1.78; }
.insight-card-meta { display: flex; align-items: center; gap: var(--sp-3); margin-bottom: var(--sp-4); flex-wrap: wrap; }
.insight-badge { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); background: var(--accent-dim); border-radius: 3px; padding: 0.2em 0.55em; }
.insight-date-label { font-size: 0.72rem; color: var(--text-3); }
.insight-title { font-size: 0.93rem; font-weight: 700; color: var(--text); line-height: 1.38; margin-bottom: var(--sp-3); }
.insight-excerpt { font-size: 0.83rem; color: var(--text-2); line-height: 1.72; margin-bottom: var(--sp-4); flex: 1; }
.insight-actions { margin-top: auto; }
.insight-cta { font-size: 0.77rem; font-weight: 700; color: var(--accent); display: inline-flex; align-items: center; gap: 0.3rem; transition: gap var(--t); }
.insight-cta::after { content: '→'; }
.insight-card:hover .insight-cta { gap: 0.55rem; }

/* ============================================================
   TEAM
   ============================================================ */
#team { background: var(--white); padding-block: var(--sp-28); }

.team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--sp-6); }
.team-photo-placeholder { border-radius: var(--r-lg); overflow: hidden; background: var(--off-2); margin-bottom: var(--sp-4); aspect-ratio: 3/4; position: relative; }
.team-photo { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); display: block; }
.team-card:hover .team-photo { transform: scale(1.05); }
.team-card-body { padding: 0; }
.team-name { font-size: 0.9rem; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.team-title { font-size: 0.74rem; color: var(--text-3); margin-bottom: var(--sp-3); line-height: 1.45; }
.team-links { display: flex; align-items: center; gap: var(--sp-4); }
.team-email { font-size: 0.72rem; color: var(--text-3); transition: color var(--t); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 160px; }
.team-email:hover { color: var(--accent); }
.team-linkedin { color: var(--text-3); width: 14px; height: 14px; flex-shrink: 0; display: flex; transition: color var(--t); }
.team-linkedin svg { width: 14px; height: 14px; }
.team-linkedin:hover { color: var(--accent); }
.team-footer-note { font-size: 0.83rem; color: var(--text-3); margin-top: var(--sp-10); text-align: center; }

/* ============================================================
   CONTACT
   ============================================================ */
#contact { background: var(--ink); padding-block: var(--sp-28); }
#contact .section-label { color: var(--accent-hi); }
#contact .section-headline { color: var(--white); }
#contact .section-intro { color: var(--w50); }

.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: var(--sp-16); margin-top: var(--sp-10); align-items: start; }
.contact-person-name { font-size: 1.05rem; font-weight: 700; color: var(--white); margin-bottom: var(--sp-1); }
.contact-person-title { font-size: 0.82rem; color: var(--w50); margin-bottom: var(--sp-8); }
.contact-detail { display: flex; gap: var(--sp-3); margin-bottom: var(--sp-5); align-items: flex-start; }
.contact-detail-icon { font-size: 0.88rem; color: var(--accent-hi); flex-shrink: 0; margin-top: 0.15em; }
.contact-detail-text { font-size: 0.86rem; color: var(--w70); line-height: 1.62; }
.contact-detail-text a { color: var(--accent-hi); transition: opacity var(--t); }
.contact-detail-text a:hover { opacity: 0.8; text-decoration: underline; }
.form-group { margin-bottom: var(--sp-5); }
.form-label { font-size: 0.7rem; font-weight: 700; color: var(--w50); letter-spacing: 0.1em; display: block; margin-bottom: var(--sp-2); text-transform: uppercase; }
.form-input { width: 100%; background: var(--w06); border: 1px solid var(--border-dk); border-radius: var(--r); padding: 0.78rem 1rem; font-size: 0.88rem; color: var(--white); transition: border-color var(--t), background var(--t); }
.form-input::placeholder { color: var(--w30); }
.form-input:focus { outline: none; border-color: var(--accent-hi); background: rgba(22,104,212,0.06); }
.form-textarea { min-height: 115px; resize: vertical; }
.form-group.has-error .form-input { border-color: #f87171; }
.form-error-msg { font-size: 0.73rem; color: #f87171; display: block; margin-top: var(--sp-2); }
.form-success { margin-top: var(--sp-4); font-size: 0.86rem; color: #4ade80; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink-2); border-top: 1px solid var(--border-dk); padding-top: var(--sp-16); padding-bottom: var(--sp-8); }
.footer-main { display: grid; gap: var(--sp-10); padding-bottom: var(--sp-12); border-bottom: 1px solid var(--border-dk); margin-bottom: var(--sp-6); }
.footer-main--slim { grid-template-columns: 2fr 1fr; }
.footer-brand p { font-size: 0.82rem; color: var(--w30); line-height: 1.72; margin: var(--sp-4) 0; max-width: 290px; }
.footer-col-title { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--w25); margin-bottom: var(--sp-4); }
.footer-links { display: flex; flex-direction: column; gap: var(--sp-3); }
.footer-link { font-size: 0.82rem; color: var(--w30); transition: color var(--t); }
.footer-link:hover { color: var(--white); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--sp-4); }
.footer-copy { font-size: 0.72rem; color: var(--w25); }
.footer-legal { display: flex; gap: var(--sp-6); }
.footer-legal a { font-size: 0.72rem; color: var(--w25); transition: color var(--t); }
.footer-legal a:hover { color: var(--w50); }

/* ============================================================
   CTA BANNER (subpages)
   ============================================================ */
.cta-banner { background: var(--ink-2); padding-block: var(--sp-32); text-align: center; position: relative; overflow: hidden; }
.cta-banner::before { content: ''; position: absolute; top: -40%; left: 50%; transform: translateX(-50%); width: 600px; height: 600px; background: radial-gradient(circle, rgba(12,79,163,0.12) 0%, transparent 65%); pointer-events: none; }
.cta-banner .blue-rule { margin-inline: auto; margin-bottom: var(--sp-6); }
.cta-banner h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); font-weight: 800; color: var(--white); margin-bottom: var(--sp-5); letter-spacing: -0.03em; line-height: 1.08; }
.cta-banner p { font-size: 0.98rem; color: var(--w50); max-width: 460px; margin-inline: auto; margin-bottom: var(--sp-10); line-height: 1.78; }
.cta-actions { display: flex; align-items: center; justify-content: center; gap: var(--sp-5); flex-wrap: wrap; }

/* ============================================================
   SUBPAGES
   ============================================================ */
.page-hero { background: var(--ink); padding-top: calc(var(--nav-h) + var(--sp-16)); padding-bottom: var(--sp-16); border-bottom: 1px solid var(--border-dk); }
.page-hero-inner h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; color: var(--white); line-height: 1.04; letter-spacing: -0.035em; margin-bottom: var(--sp-5); }
.page-hero-inner p { font-size: 1rem; color: var(--w50); max-width: 600px; line-height: 1.82; }
.breadcrumb { display: flex; align-items: center; gap: var(--sp-2); font-size: 0.74rem; color: var(--w30); margin-bottom: var(--sp-6); }
.breadcrumb a { color: var(--w30); transition: color var(--t); }
.breadcrumb a:hover { color: var(--accent-hi); }
.breadcrumb-sep { color: var(--w20); }

.service-detail { margin-bottom: var(--sp-16); padding-bottom: var(--sp-16); border-bottom: 1px solid var(--border); }
.service-detail:last-child { border-bottom: none; margin-bottom: 0; }
.service-detail-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: var(--sp-16); align-items: start; }
.service-detail-grid.reverse { direction: rtl; }
.service-detail-grid.reverse > * { direction: ltr; }
.service-detail-meta h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 800; color: var(--text); margin-bottom: var(--sp-4); letter-spacing: -0.025em; line-height: 1.12; }
.service-detail-meta p { font-size: 0.94rem; color: var(--text-2); line-height: 1.82; margin-bottom: var(--sp-6); }
.service-deliverables { display: flex; flex-direction: column; gap: var(--sp-3); }
.service-deliverable-item { font-size: 0.86rem; color: var(--text-2); line-height: 1.58; padding-left: var(--sp-5); position: relative; }
.service-deliverable-item::before { content: ''; position: absolute; left: 0; top: 0.52em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.service-fact-panel { background: var(--off); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--sp-8); text-align: center; }
.service-fact-panel h4 { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); margin-bottom: var(--sp-4); }
.service-fact-val { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; color: var(--accent); display: block; line-height: 1; letter-spacing: -0.04em; }
.service-fact-lbl { font-size: 0.83rem; color: var(--text-2); margin-top: var(--sp-3); line-height: 1.58; }

.project-full-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; margin-bottom: var(--sp-5); transition: border-color 0.3s ease, box-shadow 0.3s ease; }
.project-full-card:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.project-full-header { padding: var(--sp-6) var(--sp-7) var(--sp-5); border-bottom: 1px solid var(--border); background: var(--off); }
.project-full-header h2 { font-size: 1.05rem; font-weight: 700; color: var(--text); line-height: 1.35; }
.project-full-body { display: grid; grid-template-columns: repeat(3,1fr); }
.project-full-section { padding: var(--sp-6) var(--sp-7); border-right: 1px solid var(--border); }
.project-full-section:last-child { border-right: none; }
.project-full-section h4 { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); margin-bottom: var(--sp-3); }
.project-full-section p { font-size: 0.86rem; color: var(--text-2); line-height: 1.65; }
.project-outcome-panel { background: rgba(12,79,163,0.04); }
.project-outcome-panel h4 { color: var(--accent); }
.project-outcome-panel p { color: var(--text); font-weight: 500; }

/* ── Team Full Page — premium redesign ──────────────────────── */
/* ── Team subpage ─────────────────────────────────────────── */
#page-team section.section-pad { background: var(--white); }

.team-full-grid {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

/* 3-column card: photo | identity+links | bio */
.tf-card {
  display: grid;
  grid-template-columns: 160px 240px 1fr;
  height: 210px;
  background: var(--off);
  border: 1px solid rgba(0,0,0,0.07);
  border-left: 3px solid rgba(22,104,212,0.3);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-left-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.tf-card:hover {
  border-color: rgba(22,104,212,0.2);
  border-left-color: var(--accent-hi);
  box-shadow: -4px 0 24px rgba(22,104,212,0.12), 0 6px 24px rgba(0,0,0,0.07);
}

/* Photo */
.tf-photo {
  position: relative;
  overflow: hidden;
  background: var(--off-2);
}
.tf-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  position: absolute; inset: 0;
  display: block;
  transition: transform 0.7s var(--ease);
}
.tf-card:hover .tf-photo img { transform: scale(1.05); }
.tf-photo-fade { display: none; }

/* Identity column */
.tf-info {
  padding: var(--sp-6) var(--sp-6) var(--sp-6) var(--sp-5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--sp-2);
  border-right: 1px solid rgba(0,0,0,0.06);
}
.tf-num {
  font-size: 0.58rem; font-weight: 800;
  letter-spacing: 0.22em; color: var(--accent-hi);
  text-transform: uppercase; opacity: 0.7;
}
.tf-name {
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  font-weight: 800; color: var(--text);
  letter-spacing: -0.02em; line-height: 1.15;
  margin: 0;
}
.tf-role {
  font-size: 0.62rem; font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em; text-transform: uppercase;
  line-height: 1.4; margin: 0;
}
.tf-rule {
  width: 24px; height: 2px;
  background: var(--accent-hi);
  opacity: 0.5; flex-shrink: 0;
  margin: var(--sp-1) 0;
}
.tf-links {
  display: flex; flex-direction: column;
  gap: 0.3rem; margin-top: var(--sp-1);
}
.tf-link {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-size: 0.7rem; font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tf-link:hover { color: var(--accent-hi); }
.tf-link svg { flex-shrink: 0; transition: opacity 0.2s; }
.tf-link:hover svg { opacity: 0.8; }

/* Bio column — left padding increased to prevent text crowding the divider */
.tf-bio-col {
  padding: var(--sp-6) var(--sp-8) var(--sp-6) var(--sp-12);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.tf-bio-col::before { display: none; }
.tf-bio {
  font-size: 0.95rem; color: rgba(0,0,0,0.55);
  line-height: 1.78; margin: 0;
  position: relative; z-index: 1;
}

.team-page-note {
  font-size: 0.88rem; color: rgba(0,0,0,0.38);
  max-width: 640px; line-height: 1.7;
  margin-top: var(--sp-10);
  padding-top: var(--sp-7);
  border-top: 1px solid rgba(0,0,0,0.08);
}

@media (max-width: 1024px) {
  .tf-card { grid-template-columns: 150px 210px 1fr; height: auto; min-height: 200px; }
}
@media (max-width: 768px) {
  .tf-card { grid-template-columns: 140px 1fr; height: auto; }
  .tf-bio-col { display: none; }
  .tf-info { border-right: none; padding: var(--sp-5); }
}
@media (max-width: 480px) {
  .tf-card { grid-template-columns: 1fr; }
  .tf-photo { height: 200px; }
  .tf-photo-fade { background: linear-gradient(to bottom, transparent 55%, var(--off) 100%); }
  .tf-bio-col { display: flex; padding: var(--sp-5); }
  .tf-bio-col::before { display: none; }
}

/* ============================================================
   MODAL
   ============================================================ */
.modal { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: flex-start; justify-content: center; padding: var(--sp-8) var(--sp-4); overflow-y: auto; }
.modal[hidden] { display: none; }
.modal-overlay { position: fixed; inset: 0; background: rgba(6,9,30,0.82); backdrop-filter: blur(8px); }
.modal-panel { position: relative; z-index: 1; background: var(--white); border-radius: var(--r-lg); padding: var(--sp-10); max-width: 740px; width: 100%; margin: auto; box-shadow: var(--shadow-lg); }
.modal-close { position: absolute; top: var(--sp-5); right: var(--sp-5); width: 32px; height: 32px; border-radius: 50%; background: var(--off); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--text-2); transition: background var(--t); cursor: pointer; }
.modal-close:hover { background: var(--border); }
.modal-meta { display: flex; align-items: center; gap: var(--sp-3); margin-bottom: var(--sp-4); }
.modal-title { font-size: clamp(1.35rem, 2.5vw, 1.9rem); font-weight: 800; color: var(--text); margin-bottom: var(--sp-6); line-height: 1.15; letter-spacing: -0.02em; }
.modal-body { font-size: 0.93rem; color: var(--text-2); line-height: 1.84; }
.modal-body h2, .modal-body h3 { color: var(--text); margin: var(--sp-8) 0 var(--sp-4); font-weight: 700; }
.modal-body p { margin-bottom: var(--sp-5); }
.modal-body ul, .modal-body ol { padding-left: var(--sp-6); margin-bottom: var(--sp-5); }
.modal-body li { margin-bottom: var(--sp-2); }
.modal-loading { color: var(--text-3); font-style: italic; animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:0.4;} }
.prose h2, .prose h3 { color: var(--text); font-weight: 700; margin: var(--sp-8) 0 var(--sp-4); }
.prose p { margin-bottom: var(--sp-5); }
.prose ul { padding-left: var(--sp-6); margin-bottom: var(--sp-5); }
.prose li { margin-bottom: var(--sp-2); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.insights-grid .insight-card:nth-child(2) { transition-delay: 0.1s; }
.insights-grid .insight-card:nth-child(3) { transition-delay: 0.18s; }
.cases-grid .case-card:nth-child(2) { transition-delay: 0.08s; }
.cases-grid .case-card:nth-child(3) { transition-delay: 0.16s; }
.segments-grid .segment-card:nth-child(2) { transition-delay: 0.08s; }
.segments-grid .segment-card:nth-child(3) { transition-delay: 0.16s; }
.segments-grid .segment-card:nth-child(4) { transition-delay: 0.24s; }
.services-grid .service-card:nth-child(2) { transition-delay: 0.05s; }
.services-grid .service-card:nth-child(3) { transition-delay: 0.1s; }
.services-grid .service-card:nth-child(4) { transition-delay: 0.15s; }
.services-grid .service-card:nth-child(5) { transition-delay: 0.2s; }
.team-grid .team-card:nth-child(2) { transition-delay: 0.07s; }
.team-grid .team-card:nth-child(3) { transition-delay: 0.14s; }
.team-grid .team-card:nth-child(4) { transition-delay: 0.21s; }

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .reveal, .reveal.is-visible { opacity: 1; transform: none; transition: none; }
  .hero-bg { transform: none !important; }
}

/* ============================================================
   RESPONSIVE — TABLET ≤1024px
   ============================================================ */
@media (max-width: 1024px) {
  .container { padding-inline: var(--sp-6); }
  .practice-inner { grid-template-columns: 1fr 1fr; gap: var(--sp-12); }
  .practice-anim { display: none; }
  .segments-grid { grid-template-columns: repeat(2,1fr); }
  .segment-card { height: 300px; }
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
  .service-detail-grid { grid-template-columns: 1fr; gap: var(--sp-8); }
  .service-detail-grid.reverse { direction: ltr; }
  .contact-grid { grid-template-columns: 1fr 1.5fr; }
  .project-full-body { grid-template-columns: 1fr 1fr; }
  .cases-grid { grid-template-columns: repeat(2,1fr); }
  .insights-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .insights-grid .insight-card:first-child { grid-row: span 1; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================
   RESPONSIVE — MOBILE ≤768px
   ============================================================ */
@media (max-width: 768px) {
  :root { --nav-h: 60px; --sp-28: 5rem; }
  .container { padding-inline: var(--sp-5); }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .section-pad { padding-block: var(--sp-16); }
  .site-header::after { display: none; }

  .hero h1 { font-size: clamp(2.8rem, 10vw, 4.5rem); }
  .hero-content { padding-bottom: var(--sp-16); }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: var(--sp-3); }

  .marquee-strip { height: 38px; }

  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .stat-item:nth-child(odd) { border-right: 1px solid var(--border); }
  .stat-item:nth-child(even) { border-right: none; }
  .stat-item { border-bottom: 1px solid var(--border); }
  .stat-item:nth-child(3), .stat-item:nth-child(4) { border-bottom: none; }

  .segments-grid { grid-template-columns: 1fr; }
  .segment-card { height: 260px; }
  .cases-grid { grid-template-columns: 1fr; }
  .insights-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .insights-grid .insight-card:first-child { grid-row: span 1; }
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .project-full-body { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .editorial-break { grid-template-columns: 1fr; }
  .editorial-text { padding: var(--sp-12) var(--sp-6); order: 2; }
  .editorial-text-inner { max-width: 100%; }
  .editorial-img { min-height: 280px; order: 1; }
  .editorial-break--reverse .editorial-text { order: 2; }
  .editorial-break--reverse .editorial-img { order: 1; }
  .hero-actions .btn { min-width: 0; width: 100%; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }

  .testimonial-card { padding: var(--sp-5) 0; }
  .testimonial-text { font-size: 0.92rem; }

  .team-full-card { grid-template-columns: 1fr; }
  .team-full-avatar { min-height: 220px; }
  .modal-panel { padding: var(--sp-7) var(--sp-5); }
  .cta-actions { flex-direction: column; align-items: center; }
}

@media (max-width: 540px) {
  .hero h1 { font-size: clamp(2.4rem, 12vw, 3.5rem); }
  .team-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-item:last-child { border-bottom: none; }
  .footer-main--slim { grid-template-columns: 1fr; }
}

/* ============================================================
   PROJECTS PAGE — Cinematic hero + card grid + dossier overlay
   ============================================================ */

/* Hero */
.proj-hero {
  position: relative;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--ink); overflow: hidden;
  border-bottom: 1px solid var(--border-dk);
}
.proj-hero-bg {
  position: absolute; inset: -15% 0;
  background: url('https://images.unsplash.com/photo-1567379461816-6aca23a4d4a3?w=1920&q=90&fit=crop&auto=format') center/cover no-repeat;
  z-index: 0;
}
.proj-hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to right, rgba(6,9,30,0.97) 0%, rgba(6,9,30,0.82) 55%, rgba(6,9,30,0.6) 100%);
}
.proj-hero > .container { position: relative; z-index: 2; width: 100%; }
.proj-hero-content {
  padding-top: calc(var(--nav-h) + var(--sp-16));
  padding-bottom: var(--sp-8);
}
.proj-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800; color: var(--white);
  line-height: 1.04; letter-spacing: -0.035em;
  margin-bottom: var(--sp-4);
}
.proj-hero-lead {
  font-size: 1rem; color: var(--w50);
  max-width: 600px; line-height: 1.82; font-weight: 400;
}
.proj-hero-stats {
  display: flex; gap: var(--sp-10);
  border-top: 1px solid var(--border-dk);
  padding: var(--sp-6) 0 var(--sp-8);
}
.proj-hero-stat-num {
  font-size: 2rem; font-weight: 800; color: var(--white);
  letter-spacing: -0.04em; line-height: 1; display: block;
}
.proj-hero-stat-lbl {
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--w30); margin-top: 4px; display: block;
}

/* Filter bar */
.proj-section { padding-block: var(--sp-16); background: var(--white); }
.proj-filter-bar {
  display: flex; gap: var(--sp-2); flex-wrap: wrap;
  margin-bottom: var(--sp-8);
}
.proj-filter-btn {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.03em;
  padding: 0.5rem 1.3rem; border-radius: 100px;
  border: 1.5px solid var(--border); color: var(--text-2);
  background: transparent; cursor: pointer;
  transition: border-color 0.22s ease, color 0.22s ease, background 0.22s ease;
}
.proj-filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.proj-filter-btn.is-active {
  background: var(--accent); border-color: var(--accent); color: var(--white);
}

/* Project cards */
.proj-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: var(--sp-4);
}
.proj-card {
  position: relative; height: 500px;
  border-radius: 12px; overflow: hidden; cursor: pointer;
  transition: transform 0.4s var(--ease), box-shadow 0.4s ease;
}
.proj-card:hover { transform: translateY(-5px); box-shadow: 0 24px 60px rgba(6,9,30,0.22); }

.proj-card-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 0.9s var(--ease);
}
.proj-card:hover .proj-card-bg { transform: scale(1.07); }

.proj-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(6,9,30,0.08) 0%, rgba(6,9,30,0.5) 50%, rgba(6,9,30,0.97) 100%);
  transition: background 0.4s ease;
}
.proj-card:hover .proj-card-overlay {
  background: linear-gradient(160deg, rgba(6,9,30,0.22) 0%, rgba(6,9,30,0.65) 50%, rgba(6,9,30,0.98) 100%);
}

.proj-card::before {
  content: ''; position: absolute;
  left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--accent-hi); z-index: 3;
  transform: scaleY(0); transform-origin: bottom;
  transition: transform 0.45s var(--ease);
}
.proj-card:hover::before { transform: scaleY(1); }

.proj-card-inner {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: var(--sp-7);
}
.proj-card-top { display: flex; gap: var(--sp-2); flex-wrap: wrap; }
.proj-card-badge {
  font-size: 0.55rem; font-weight: 700; letter-spacing: 0.13em;
  text-transform: uppercase; padding: 0.22em 0.65em; border-radius: 3px;
}
.proj-card-badge--segment {
  background: rgba(12,79,163,0.75); color: var(--white);
  backdrop-filter: blur(4px);
}
.proj-card-badge--region {
  background: rgba(255,255,255,0.1); color: var(--w70);
  backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,0.15);
}
.proj-card-bottom {}
.proj-card-number {
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.2em;
  color: var(--accent-hi); display: flex; align-items: center; gap: 8px;
  margin-bottom: var(--sp-3);
}
.proj-card-number::before { content: ''; width: 18px; height: 1px; background: var(--accent-hi); }
.proj-card-title {
  font-size: clamp(1.1rem, 1.6vw, 1.4rem); font-weight: 800;
  color: var(--white); line-height: 1.15; letter-spacing: -0.02em;
  margin-bottom: var(--sp-3);
}
.proj-card-excerpt {
  font-size: 0.77rem; color: var(--w50); line-height: 1.62;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: var(--sp-5);
}
.proj-card-cta {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--white); background: var(--accent);
  padding: 0.48rem 1rem; border-radius: var(--r);
  transform: translateY(14px); opacity: 0;
  transition: opacity 0.3s ease, transform 0.35s var(--ease);
}
.proj-card-cta::after { content: '\2192'; }
.proj-card:hover .proj-card-cta { opacity: 1; transform: translateY(0); }

/* Dossier overlay */
.proj-dossier {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  padding: var(--sp-6);
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s ease;
}
.proj-dossier:not([hidden]) { opacity: 1; pointer-events: auto; }

.proj-dossier-bg {
  position: absolute; inset: 0;
  background: rgba(6,9,30,0.88);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.proj-dossier-panel {
  position: relative; z-index: 1;
  width: 100%; max-width: 1040px;
  max-height: calc(100vh - var(--sp-12));
  background: var(--white); border-radius: 14px;
  overflow: hidden; display: flex; flex-direction: column;
  transform: translateY(36px) scale(0.97);
  transition: transform 0.45s var(--ease);
  box-shadow: 0 40px 100px rgba(6,9,30,0.65);
}
.proj-dossier:not([hidden]) .proj-dossier-panel {
  transform: translateY(0) scale(1);
}

.proj-dossier-header {
  position: relative; height: 260px; flex-shrink: 0; overflow: hidden;
}
.proj-dossier-header-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.04);
  transition: transform 0.6s var(--ease);
}
.proj-dossier:not([hidden]) .proj-dossier-header-img { transform: scale(1); }
.proj-dossier-header-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(6,9,30,0.97) 0%, rgba(6,9,30,0.72) 55%, rgba(6,9,30,0.3) 100%),
    linear-gradient(to bottom, rgba(6,9,30,0) 30%, rgba(6,9,30,0.82) 100%);
}
.proj-dossier-header-content {
  position: relative; z-index: 2;
  padding: var(--sp-8) var(--sp-10);
  height: 100%; display: flex; flex-direction: column; justify-content: flex-end;
}
.proj-dossier-tags { display: flex; gap: var(--sp-2); margin-bottom: var(--sp-4); flex-wrap: wrap; }
.proj-dossier-tag {
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.13em;
  text-transform: uppercase; padding: 0.22em 0.65em;
  border-radius: 3px; border: 1px solid;
}
.proj-dossier-tag--segment { color: var(--accent-hi); border-color: rgba(22,104,212,0.45); background: rgba(22,104,212,0.1); }
.proj-dossier-tag--region  { color: var(--w60); border-color: rgba(255,255,255,0.14); }
.proj-dossier-tag--flag    { color: var(--w70); border-color: rgba(255,255,255,0.14); font-size: 0.72rem; letter-spacing: 0.04em; }

.proj-dossier-title {
  font-size: clamp(1.3rem, 2.5vw, 1.9rem); font-weight: 800;
  color: var(--white); line-height: 1.08; letter-spacing: -0.03em;
  margin-bottom: var(--sp-3);
}
.proj-dossier-desc {
  font-size: 0.82rem; color: var(--w65); line-height: 1.78; max-width: 540px;
}

.proj-dossier-body {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  overflow-y: auto; flex: 1;
}
.proj-dossier-section {
  padding: var(--sp-8); border-right: 1px solid var(--border);
}
.proj-dossier-section:last-child { border-right: none; }
.proj-dossier-section--outcome { background: rgba(12,79,163,0.025); }
.proj-dossier-section-label {
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--accent);
  display: flex; align-items: center; gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}
.proj-dossier-section-label::before {
  content: ''; width: 14px; height: 1.5px; background: var(--accent); flex-shrink: 0;
}
.proj-dossier-section-text {
  font-size: 0.87rem; color: var(--text-2); line-height: 1.85;
}

.proj-dossier-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--sp-4) var(--sp-8);
  background: var(--off); border-top: 1px solid var(--border);
  flex-shrink: 0;
}
.proj-dossier-counter {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; color: var(--text-3);
}
.proj-dossier-nav { display: flex; gap: var(--sp-2); }
.proj-dossier-nav-btn {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid var(--border); color: var(--text-3);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: border-color 0.2s ease, color 0.2s ease;
}
.proj-dossier-nav-btn:hover { border-color: var(--accent); color: var(--accent); }

.proj-dossier-close {
  position: absolute; top: var(--sp-5); right: var(--sp-5); z-index: 10;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.14); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.22); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.2s ease, transform 0.3s ease;
}
.proj-dossier-close:hover { background: rgba(255,255,255,0.26); transform: rotate(90deg); }

/* Empty state */
.proj-empty {
  grid-column: 1 / -1; text-align: center;
  padding: var(--sp-20) 0; color: var(--text-3);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .proj-grid { grid-template-columns: repeat(2,1fr); }
  .proj-dossier-body { grid-template-columns: 1fr; }
  .proj-dossier-section { border-right: none; border-bottom: 1px solid var(--border); }
  .proj-dossier-section:last-child { border-bottom: none; }
  .proj-dossier-header-content { padding: var(--sp-6) var(--sp-8); }
}
@media (max-width: 768px) {
  .proj-grid { grid-template-columns: 1fr; }
  .proj-card { height: 400px; }
  .proj-hero h1 { font-size: clamp(2.4rem, 10vw, 4rem); }
  .proj-hero-stats { gap: var(--sp-6); }
  .proj-dossier { padding: 0; }
  .proj-dossier-panel { max-width: 100%; border-radius: 0; max-height: 100vh; }
  .proj-dossier-header { height: 200px; }
  .proj-dossier-header-content { padding: var(--sp-5) var(--sp-5); }
  .proj-dossier-section { padding: var(--sp-6); }
}

/* ============================================================
   SERVICES PAGE — Editorial redesign
   ============================================================ */

/* Index strip below hero */
.svc-index-strip {
  background: var(--ink-2); border-bottom: 1px solid var(--border-dk);
  padding: var(--sp-4) 0; overflow-x: auto;
  scrollbar-width: none;
}
.svc-index-strip::-webkit-scrollbar { display: none; }
.svc-index-inner {
  display: flex; align-items: center; gap: 0;
  white-space: nowrap;
}
.svc-index-item {
  display: flex; align-items: center; gap: var(--sp-2);
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.04em;
  color: var(--w30); padding: var(--sp-2) var(--sp-5);
  border-right: 1px solid var(--border-dk);
  transition: color var(--t); text-decoration: none; white-space: nowrap;
}
.svc-index-item:first-child { padding-left: 0; }
.svc-index-item:hover { color: var(--accent-hi); }
.svc-index-item span {
  font-size: 0.58rem; font-weight: 800; letter-spacing: 0.14em;
  color: var(--accent); margin-right: var(--sp-1);
}

/* Section wrapper */
.svc-container { padding-block: var(--sp-6); }

/* Individual service section */
.svc-section {
  position: relative; overflow: hidden;
  padding: var(--sp-20) 0;
  border-bottom: 1px solid var(--border);
}
.svc-section:last-child { border-bottom: none; }

/* Ghost number watermark */
.svc-ghost-num {
  position: absolute; right: -24px; top: 50%; transform: translateY(-50%);
  font-size: 22rem; font-weight: 800; line-height: 1;
  color: rgba(6,9,30,0.032); letter-spacing: -0.05em;
  pointer-events: none; user-select: none; z-index: 0;
}

/* Chapter label bar */
.svc-label-bar {
  display: flex; align-items: center; gap: var(--sp-3);
  margin-bottom: var(--sp-10); position: relative; z-index: 1;
}
.svc-label-num {
  font-size: 0.65rem; font-weight: 800; letter-spacing: 0.2em;
  color: var(--accent);
}
.svc-label-rule { flex: 1; max-width: 32px; height: 1px; background: var(--border); }
.svc-label-cat {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--text-3);
}

/* Two-column grid */
.svc-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--sp-16); align-items: start; position: relative; z-index: 1;
}

/* Left column — title / description / deliverables */
.svc-title {
  font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 800;
  color: var(--text); line-height: 1.06; letter-spacing: -0.03em;
  margin-bottom: var(--sp-6);
}
.svc-title .dot { color: var(--accent-hi); }

.svc-desc {
  font-size: 1rem; color: var(--text-2); line-height: 2.0;
  margin-bottom: var(--sp-10); max-width: 520px;
}

.svc-deliverables-label {
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--text-3);
  margin-bottom: var(--sp-3);
}
.svc-deliverables {
  display: flex; flex-wrap: wrap; gap: var(--sp-2);
}
.svc-deliverable {
  font-size: 0.78rem; color: var(--text-2); line-height: 1.4;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: var(--sp-2) var(--sp-4);
}
.svc-deliverable::before { display: none; }

/* Right column */
.svc-right { display: flex; flex-direction: column; gap: var(--sp-5); }

/* Process flow panel */
.svc-process {
  background: var(--off); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: var(--sp-7);
}
.svc-process-label {
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--text-3);
  display: flex; align-items: center; gap: var(--sp-3);
  margin-bottom: var(--sp-6); padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--border);
}
.svc-process-label::before {
  content: ''; width: 14px; height: 1.5px;
  background: var(--accent); flex-shrink: 0;
}

.svc-steps { display: flex; flex-direction: column; }
.svc-step { display: flex; align-items: flex-start; gap: var(--sp-4); }
.svc-step-track {
  display: flex; flex-direction: column; align-items: center;
  flex-shrink: 0; width: 28px;
}
.svc-step-node {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--white); border: 1.5px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.56rem; font-weight: 800; color: var(--accent);
  flex-shrink: 0; letter-spacing: 0.04em;
}
.svc-step-line {
  width: 1.5px; min-height: 22px;
  background: linear-gradient(to bottom, rgba(12,79,163,0.5), rgba(12,79,163,0.1));
  margin-top: 2px; flex: 1;
}
.svc-step-content { padding-top: 4px; padding-bottom: var(--sp-5); }
.svc-step:last-child .svc-step-content { padding-bottom: 0; }
.svc-step-label {
  font-size: 0.84rem; font-weight: 600; color: var(--text); line-height: 1.35;
}
.svc-step-sub {
  font-size: 0.72rem; color: var(--text-3); margin-top: 3px; line-height: 1.5;
}

/* ── Service Insight Panel ─────────────────────────────────────── */
.svc-insight {
  position: relative;
  background: var(--navy-deep, #060917);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 320px; flex: 1;
}
.svc-insight--image .svc-insight-placeholder { display: none; }
.svc-insight--image .svc-insight-img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; position: absolute; inset: 0;
}
.svc-insight-img { display: none; }

.svc-insight-badge {
  position: absolute; top: var(--sp-5); left: var(--sp-5); z-index: 2;
  font-size: 0.52rem; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent-hi);
  background: rgba(22,104,212,0.1);
  border: 1px solid rgba(22,104,212,0.2);
  border-radius: 3px; padding: 0.22em 0.65em;
}
.svc-insight-placeholder {
  flex: 1; display: flex; align-items: center; justify-content: center;
  padding: var(--sp-14) var(--sp-8) var(--sp-8);
}

/* Mock document graphic */
.svc-insight-mock {
  width: 100%; max-width: 240px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: var(--sp-4) var(--sp-5) var(--sp-5);
  display: flex; flex-direction: column; gap: var(--sp-4);
}
.svc-insight-mock-hdr {
  display: flex; align-items: center;
  justify-content: space-between;
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.svc-insight-mock-dots { display: flex; gap: 5px; }
.svc-insight-mock-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,0.14);
}
.svc-insight-mock-dot:first-child { background: rgba(22,104,212,0.5); }
.svc-insight-mock-tag {
  height: 10px; width: 52px; border-radius: 2px;
  background: rgba(22,104,212,0.22);
}
.svc-insight-mock-lines { display: flex; flex-direction: column; gap: var(--sp-2); }
.svc-insight-mock-line {
  height: 7px; border-radius: 4px;
  background: rgba(255,255,255,0.09);
}
.svc-insight-mock-line--full  { width: 100%; }
.svc-insight-mock-line--wide  { width: 78%; }
.svc-insight-mock-line--mid   { width: 55%; background: rgba(22,104,212,0.2); }
.svc-insight-mock-chart {
  height: 60px; border-radius: 8px;
  background: linear-gradient(160deg, rgba(22,104,212,0.1) 0%, rgba(6,9,30,0.2) 100%);
  border: 1px solid rgba(22,104,212,0.1);
  display: flex; align-items: flex-end;
  justify-content: space-evenly; padding: var(--sp-2) var(--sp-3);
}
.svc-insight-mock-bar {
  width: 13%; border-radius: 3px 3px 0 0;
  background: rgba(22,104,212,0.3);
}
.svc-insight-mock-bar:nth-child(1) { height: 50%; }
.svc-insight-mock-bar:nth-child(2) { height: 80%; background: rgba(22,104,212,0.55); }
.svc-insight-mock-bar:nth-child(3) { height: 38%; }
.svc-insight-mock-bar:nth-child(4) { height: 92%; background: rgba(22,104,212,0.45); }
.svc-insight-mock-bar:nth-child(5) { height: 62%; }

.svc-insight-caption {
  font-size: 0.7rem; color: var(--w40); font-style: italic; margin: 0;
  padding: var(--sp-3) var(--sp-5) var(--sp-4);
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(6,9,30,0.4);
  text-align: center; z-index: 1; position: relative;
}

/* KPIs panel — full-width section closer */
.svc-kpis {
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: transparent;
  border-radius: 0; overflow: hidden;
  margin-top: var(--sp-16);
  position: relative;
  border-top: 1px solid var(--border);
}
.svc-kpis::before {
  content: '';
  position: absolute; top: -1px; left: 0; width: 40px; height: 1px;
  background: var(--accent);
}
.svc-kpi {
  padding: var(--sp-8) var(--sp-6) var(--sp-6);
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column; gap: var(--sp-2);
}
.svc-kpi:last-child { border-right: none; }
.svc-kpi-value {
  font-size: clamp(1.8rem, 2.8vw, 2.8rem); font-weight: 800;
  color: var(--text); letter-spacing: -0.04em; line-height: 1;
}
.svc-kpi-label {
  font-size: 0.6rem; color: var(--text-3); line-height: 1.55;
  font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em;
}

/* Responsive */
@media (max-width: 1024px) {
  .svc-grid { grid-template-columns: 1fr; gap: var(--sp-10); }
  .svc-ghost-num { font-size: 12rem; right: -10px; }
  .svc-desc { max-width: 100%; }
}
@media (max-width: 768px) {
  .svc-section { padding: var(--sp-16) 0; }
  .svc-ghost-num { display: none; }
  .svc-kpis { grid-template-columns: repeat(3, 1fr); }
  .svc-kpi { padding: var(--sp-5) var(--sp-3); }
}

/* ============================================================
   V5 UPDATES — Segments, Hero Stats, Cases, Contact, Footer
   ============================================================ */

/* ── Hero integrated stats ─────────────────────────────────── */
.hero {
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
}
.hero-main {
  flex: 1;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 3;
}
.hero-main > .container { width: 100%; }

/* Override hero-content when inside hero-main */
.hero-main .hero-content {
  padding-top: calc(var(--nav-h) + var(--sp-10));
  padding-bottom: var(--sp-12);
}

/* Short-viewport safety — prevent stats from being clipped by overflow:hidden */
@media (max-height: 800px) {
  .hero-main .hero-content {
    padding-top: calc(var(--nav-h) + var(--sp-6));
    padding-bottom: var(--sp-8);
  }
}
@media (max-height: 700px) {
  .hero-main .hero-content {
    padding-top: calc(var(--nav-h) + var(--sp-4));
    padding-bottom: var(--sp-6);
  }
  .hero-stats-integrated .stat-item {
    padding: var(--sp-5) var(--sp-6);
  }
  .hero h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
    margin-bottom: var(--sp-5);
  }
  .hero-lead {
    margin-bottom: var(--sp-6);
  }
}

.hero-stats-integrated {
  position: relative;
  z-index: 3;
  background: rgba(6,9,30,0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-dk);
  border-bottom: none;
  flex-shrink: 0;
}
.hero-stats-integrated .stats-grid {
  grid-template-columns: repeat(4, 1fr);
}
.hero-stats-integrated .stat-item {
  padding: var(--sp-8) var(--sp-6);
  border-right-color: var(--border-dk);
  background: transparent;
}
.hero-stats-integrated .stat-item:hover {
  background: rgba(255,255,255,0.04);
}
.hero-stats-integrated .stat-number {
  color: var(--white);
}
.hero-stats-integrated .stat-number .stat-accent {
  color: var(--accent-hi);
}
.hero-stats-integrated .stat-label {
  color: var(--w50);
}
.hero-stats-integrated .stat-desc {
  color: var(--w30);
}
@media (max-width: 1024px) {
  .hero-stats-integrated .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats-integrated .stat-item:nth-child(2) { border-right-color: var(--border-dk); }
  .hero-stats-integrated .stat-item:nth-child(even) { border-right: none; }
  .hero-stats-integrated .stat-item { border-bottom: 1px solid var(--border-dk); }
  .hero-stats-integrated .stat-item:nth-child(3),
  .hero-stats-integrated .stat-item:nth-child(4) { border-bottom: none; }
}
@media (max-width: 540px) {
  .hero-stats-integrated .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Segment cards — Option B: panel reveal ─────────────────── */
.segments-grid {
  display: block;
  margin-top: var(--sp-10);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.seg-container {
  height: 640px;
  display: flex;
  flex-direction: column;
}

/* Thumbnail strip */
.seg-thumb-row {
  flex: 1 1 100%;
  display: flex;
  min-height: 0;
  transition: flex-basis 0.52s cubic-bezier(0.4, 0, 0.2, 1);
}
.seg-container.has-active .seg-thumb-row { flex: 0 0 42%; }

.seg-thumb {
  flex: 1;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-color: var(--ink-2);
  transition: flex 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  border-right: 1px solid rgba(255,255,255,0.06);
}
.seg-thumb:last-child { border-right: none; }
.seg-thumb.is-active { flex: 1.65; }
.seg-container.has-active .seg-thumb:not(.is-active) { flex: 0.78; }

.seg-thumb-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6,9,30,0.88) 0%, rgba(6,9,30,0.30) 55%, rgba(6,9,30,0.10) 100%);
  transition: background 0.35s;
}
.seg-thumb.is-active .seg-thumb-overlay {
  background: linear-gradient(to top, rgba(6,9,30,0.60) 0%, rgba(6,9,30,0.10) 70%, transparent 100%);
}

.seg-thumb-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: var(--sp-6) var(--sp-6) var(--sp-7);
  z-index: 2;
}
.seg-thumb-num {
  display: block;
  font-size: 0.6rem; font-weight: 800;
  letter-spacing: 0.18em; color: var(--accent-hi);
  text-transform: uppercase;
  margin-bottom: var(--sp-2);
}
.seg-thumb-title {
  font-size: clamp(1.05rem, 1.5vw, 1.45rem);
  font-weight: 800; color: var(--white);
  line-height: 1.2; letter-spacing: -0.02em;
  margin: 0;
}
.seg-thumb-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px; background: var(--accent-hi);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s ease 0.1s;
}
.seg-thumb.is-active .seg-thumb-bar { transform: scaleX(1); }

/* Detail panel */
.seg-detail-panel {
  flex: 0 0 0%;
  overflow: hidden;
  background: var(--ink-2);
  border-top: 0px solid var(--accent-hi);
  transition: flex-basis 0.52s cubic-bezier(0.4, 0, 0.2, 1),
              border-top-width 0s linear 0.52s;
}
.seg-container.has-active .seg-detail-panel {
  flex: 0 0 58%;
  border-top-width: 2px;
  transition: flex-basis 0.52s cubic-bezier(0.4, 0, 0.2, 1),
              border-top-width 0s linear 0s;
}

/* Slides */
.seg-slide {
  display: none;
  height: 100%;
  flex-direction: column;
  justify-content: center;
  padding: var(--sp-5) var(--sp-10);
  gap: var(--sp-3);
}
.seg-slide.is-active {
  display: flex;
  animation: segSlideUp 0.35s ease 0.18s both;
}

@keyframes segSlideUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Header: eyebrow + title */
.seg-slide-header { flex-shrink: 0; }

.seg-slide-eyebrow {
  font-size: 0.6rem; font-weight: 800;
  letter-spacing: 0.16em; color: var(--accent-hi);
  text-transform: uppercase;
  margin-bottom: var(--sp-2);
}
.seg-slide-title {
  font-size: clamp(1.25rem, 1.8vw, 1.6rem);
  font-weight: 800; color: var(--white);
  line-height: 1.2; letter-spacing: -0.02em;
  margin: 0;
}

/* Two-column content: description left, challenges right */
.seg-slide-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
  flex: 1;
  min-height: 0;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: var(--sp-4);
}

.seg-slide-body {
  font-size: 1rem; color: rgba(255,255,255,0.70);
  line-height: 1.65; margin: 0;
}

.seg-slide-challenges-col {
  border-left: 1px solid rgba(255,255,255,0.08);
  padding-left: var(--sp-7);
}
.seg-slide-challenges-heading {
  font-size: 0.58rem; font-weight: 800;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent-hi);
  margin-bottom: var(--sp-4);
}
.seg-slide-challenges {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: var(--sp-4);
}
.seg-slide-challenges li {
  display: flex; align-items: flex-start; gap: var(--sp-3);
  font-size: 1rem; color: rgba(255,255,255,0.70);
  line-height: 1.55;
}
.seg-challenge-icon {
  flex-shrink: 0;
  width: 16px; height: 16px;
  margin-top: 0.18em;
  color: #fff;
  opacity: 0.85;
}
.seg-challenge-icon svg {
  width: 16px; height: 16px; display: block;
}

@media (max-width: 1024px) {
  .seg-container { height: 580px; }
  .seg-slide { padding: var(--sp-6) var(--sp-7); }
  .seg-slide-content { gap: var(--sp-6); }
}
@media (max-width: 768px) {
  .seg-container { height: auto; }
  .seg-thumb-row { flex-direction: column; flex: none; }
  .seg-container.has-active .seg-thumb-row { flex: none; }
  .seg-thumb { height: 130px; flex: none !important; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .seg-thumb:last-child { border-bottom: none; }
  .seg-detail-panel {
    flex: none; max-height: 0;
    transition: max-height 0.52s cubic-bezier(0.4, 0, 0.2, 1), border-top-width 0s linear 0.52s;
  }
  .seg-container.has-active .seg-detail-panel {
    flex: none; max-height: 480px; border-top-width: 2px;
    transition: max-height 0.52s cubic-bezier(0.4, 0, 0.2, 1), border-top-width 0s linear 0s;
  }
  .seg-slide { height: auto; }
  .seg-slide-content { grid-template-columns: 1fr; gap: var(--sp-5); }
  .seg-slide-challenges-col { border-left: none; padding-left: 0; border-top: 1px solid rgba(255,255,255,0.07); padding-top: var(--sp-4); }
}

/* ── Service cards v2 — larger icon + premium hover ─────────── */
.service-icon-wrap {
  width: 56px; height: 56px;
  border-radius: var(--r-lg);
  margin-bottom: var(--sp-6);
  transition: background 0.3s ease, transform 0.35s var(--ease), box-shadow 0.3s ease;
}
.service-icon-wrap svg {
  width: 26px; height: 26px;
}
.service-card {
  padding: var(--sp-8) var(--sp-6) var(--sp-7);
}
.service-card:hover .service-icon-wrap {
  background: var(--accent);
  color: var(--white);
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(12,79,163,0.35);
}
.service-card:hover .service-icon-wrap svg {
  stroke: var(--white);
}
.service-card h3 { font-size: 0.92rem; margin-bottom: var(--sp-3); }
.service-card p { font-size: 0.82rem; }

/* ── Case cards — new image-header structure ─────────────────── */
.case-card-img {
  height: 210px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.case-card-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(6,9,30,0.88) 0%,
    rgba(6,9,30,0.25) 55%,
    transparent 100%
  );
}
.case-card:hover .case-card-img { }
.case-card-img-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: var(--sp-5) var(--sp-6);
  display: flex; flex-direction: column;
  align-items: flex-start; gap: var(--sp-2);
}
.case-segment-badge {
  font-size: 0.58rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  background: rgba(22,104,212,0.4);
  border: 1px solid rgba(22,104,212,0.5);
  border-radius: 3px; padding: 0.22em 0.6em;
  backdrop-filter: blur(4px);
}
.case-card-title {
  font-size: 1.05rem; font-weight: 800;
  color: var(--white); line-height: 1.18;
  letter-spacing: -0.015em;
}
.case-card-body-v2 {
  padding: var(--sp-5) var(--sp-6) var(--sp-6);
  flex: 1; display: flex; flex-direction: column; gap: var(--sp-4);
}
.case-card-meta {
  display: flex; align-items: center;
  gap: var(--sp-3); flex-wrap: wrap;
}
.case-meta-country {
  font-size: 0.72rem; font-weight: 600;
  color: var(--text-3);
  display: flex; align-items: center; gap: 0.35em;
}
.case-meta-service {
  font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border-radius: 3px; padding: 0.22em 0.6em;
}
.case-card-desc {
  font-size: 0.82rem; color: var(--text-2);
  line-height: 1.72; flex: 1;
}

/* ── Contact — photo + name/title aligned ────────────────────── */
.contact-person-block {
  display: flex; flex-direction: column; gap: var(--sp-6);
}
.contact-person-photo {
  width: 100%; max-width: 260px;
  border-radius: var(--r-lg); overflow: hidden;
  aspect-ratio: 3/4; flex-shrink: 0;
}
.contact-person-photo img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.contact-person-name {
  font-size: 1.6rem; font-weight: 800;
  color: var(--white); letter-spacing: -0.025em;
  line-height: 1.1; margin-bottom: var(--sp-1);
}
.contact-person-title {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-hi); margin-bottom: var(--sp-5);
}
.contact-person-note {
  font-size: 0.88rem; color: var(--w50);
  line-height: 1.78; max-width: 320px;
}

/* ── Footer slim — single column, no navigation ─────────────── */
.footer-main--slim {
  grid-template-columns: 1fr;
  padding-bottom: var(--sp-8);
}
.site-footer {
  padding-top: var(--sp-10);
  padding-bottom: var(--sp-6);
}
.footer-brand p { max-width: 480px; }

/* ============================================================
   PASSION BREAK — graphic editorial split (passion vs strategy)
   ============================================================ */
.passion-break {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
}
.passion-break-img {
  position: relative; overflow: hidden;
}
.passion-break-img img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 7s ease;
}
.passion-break:hover .passion-break-img img { transform: scale(1.04); }
.passion-break-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, transparent 60%, rgba(6,9,30,0.3) 100%);
}
.passion-break-content {
  background: var(--ink);
  padding: var(--sp-20) var(--sp-16);
  display: flex; flex-direction: column;
  justify-content: center; gap: var(--sp-8);
}
.passion-break-heading {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 800; color: var(--white);
  line-height: 1.18; letter-spacing: -0.025em;
  margin: 0;
}
.passion-break-heading em {
  color: var(--accent-hi); font-style: normal;
}
.passion-vs {
  display: grid; grid-template-columns: 1fr auto 1fr;
  gap: var(--sp-5); align-items: start;
}
.passion-col {
  display: flex; flex-direction: column; gap: var(--sp-4);
}
.passion-col-label {
  display: inline-block;
  font-size: 0.6rem; font-weight: 800;
  letter-spacing: 0.2em; text-transform: uppercase;
  padding: 0.3em 0.8em; border-radius: 3px;
  width: fit-content;
}
.passion-col-label--p {
  background: rgba(255,255,255,0.06);
  color: var(--w70);
  border: 1px solid rgba(255,255,255,0.12);
}
.passion-col-label--s {
  background: rgba(12,79,163,0.25);
  color: var(--accent-hi);
  border: 1px solid rgba(22,104,212,0.35);
}
.passion-col-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: var(--sp-2);
}
.passion-col-list li {
  font-size: 0.8rem; color: var(--w50);
  line-height: 1.55; padding-left: var(--sp-4);
  position: relative;
}
.passion-col-list li::before {
  content: '';
  position: absolute; left: 0; top: 0.6em;
  width: 6px; height: 1px;
  background: var(--w30);
}
.passion-divider {
  display: flex; align-items: center; justify-content: center;
  padding-top: 0.2em;
}
.passion-divider-text {
  font-size: 0.7rem; font-weight: 800;
  letter-spacing: 0.1em; color: var(--w20);
  text-transform: uppercase;
}
.passion-bridge {
  font-size: 0.88rem; color: var(--w50);
  line-height: 1.72; margin: 0;
  padding-top: var(--sp-5);
  border-top: 1px solid var(--border-dk);
  font-style: italic;
}
@media (max-width: 1024px) {
  .passion-break { grid-template-columns: 1fr; }
  .passion-break-img { min-height: 300px; }
  .passion-break-content { padding: var(--sp-12) var(--sp-8); }
}
@media (max-width: 768px) {
  .passion-break-content { padding: var(--sp-10) var(--sp-5); gap: var(--sp-6); }
  .passion-vs { grid-template-columns: 1fr; gap: var(--sp-4); }
  .passion-divider { display: none; }
}

/* ============================================================
   SERVICE HOME CARDS v2 — 3-col, content-specific icons
   ============================================================ */
.svc-home-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
  margin-top: var(--sp-4);
}
.svc-home-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-8) var(--sp-7) var(--sp-7);
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.38s ease, transform 0.38s var(--ease);
  cursor: default;
}
/* Ghost service number watermark */
.svc-home-card::before {
  content: attr(data-num);
  position: absolute; top: -0.15em; right: var(--sp-5);
  font-size: 5.5rem; font-weight: 800;
  color: rgba(12,79,163,0.045);
  letter-spacing: -0.05em; line-height: 1;
  pointer-events: none; user-select: none;
  transition: color 0.3s ease;
}
.svc-home-card:hover {
  border-color: var(--accent);
  box-shadow: 0 14px 44px rgba(12,79,163,0.11);
  transform: translateY(-5px);
}
.svc-home-card:hover::before { color: rgba(12,79,163,0.08); }

.svc-home-icon {
  width: 60px; height: 60px;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, rgba(12,79,163,0.07) 0%, rgba(22,104,212,0.13) 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  margin-bottom: var(--sp-6);
  flex-shrink: 0;
  transition: background 0.32s ease, transform 0.38s var(--ease), box-shadow 0.32s ease, color 0.25s ease;
}
.svc-home-icon svg { width: 28px; height: 28px; flex-shrink: 0; }
.svc-home-card:hover .svc-home-icon {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hi) 100%);
  color: var(--white);
  transform: scale(1.1) rotate(-4deg);
  box-shadow: 0 8px 24px rgba(12,79,163,0.32);
}
.svc-home-num {
  font-size: 0.58rem; font-weight: 800;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-3); margin-bottom: var(--sp-3);
}
.svc-home-card:hover .svc-home-num { color: var(--accent); }
.svc-home-title {
  font-size: 1rem; font-weight: 800;
  color: var(--text); line-height: 1.2;
  margin-bottom: var(--sp-3); letter-spacing: -0.01em;
}
.svc-home-card:hover .svc-home-title { color: var(--accent); }
.svc-home-desc {
  font-size: 0.82rem; color: var(--text-2);
  line-height: 1.72; flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.svc-home-link {
  margin-top: var(--sp-6);
  font-size: 0.76rem; font-weight: 700;
  color: var(--accent);
  display: inline-flex; align-items: center; gap: 0.3em;
  transition: gap 0.22s ease, opacity 0.22s ease;
  opacity: 0; transform: translateY(4px);
  transition: opacity 0.25s ease, transform 0.25s ease, gap 0.22s ease;
}
.svc-home-link::after { content: '→'; }
.svc-home-card:hover .svc-home-link {
  opacity: 1; transform: translateY(0); gap: 0.55em;
}

@media (max-width: 1024px) {
  .svc-home-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .svc-home-grid { grid-template-columns: 1fr; }
}

/* ── Service card font bump ─────────────────────────────────── */
.svc-home-num   { display: none; }
.svc-home-title { font-size: 1.1rem; }
.svc-home-desc  { font-size: 0.94rem; }
.svc-home-link  { font-size: 0.84rem; }
.svc-home-icon  { width: 64px; height: 64px; }

/* ============================================================
   PRACTICE PANEL — right column redesign
   ============================================================ */
.practice-panel {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.practice-panel-header {
  padding: var(--sp-7) var(--sp-8) var(--sp-8);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  background: rgba(22,104,212,0.06);
  display: flex; flex-direction: column; gap: var(--sp-5);
}
.practice-panel-eyebrow {
  font-size: 0.58rem; font-weight: 800;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent-hi);
  display: flex; align-items: center; gap: var(--sp-3);
}
.practice-panel-eyebrow::before {
  content: ''; width: 16px; height: 1px;
  background: var(--accent-hi); flex-shrink: 0;
}
.practice-panel-caption {
  font-size: clamp(1.15rem, 1.6vw, 1.5rem);
  font-weight: 800; color: var(--white);
  line-height: 1.22; letter-spacing: -0.025em;
  margin: 0;
}
.practice-panel-caption em {
  color: var(--accent-hi); font-style: normal;
}
.practice-panel-tags {
  display: flex; gap: var(--sp-3); flex-wrap: wrap;
}
.practice-tag {
  font-size: 0.62rem; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 0.38em 0.9em; border-radius: 3px;
}
.practice-tag--passion {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.65);
  border: 1px solid rgba(255,255,255,0.1);
}
.practice-tag--strategy {
  background: rgba(12,79,163,0.28);
  color: var(--accent-hi);
  border: 1px solid rgba(22,104,212,0.4);
}

.practice-panel-bullets {
  display: flex; flex-direction: column;
}
.practice-bullet {
  display: flex; align-items: flex-start;
  gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-8);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.25s ease;
}
.practice-bullet:last-child { border-bottom: none; }
.practice-bullet:hover { background: rgba(255,255,255,0.03); }
.practice-bullet-icon {
  font-size: 1.05rem; flex-shrink: 0; margin-top: 0.15em;
}
.practice-bullet-title {
  font-size: 0.96rem; font-weight: 700;
  color: var(--white); line-height: 1.3;
  margin-bottom: var(--sp-1);
}
.practice-bullet-body {
  font-size: 0.88rem; color: var(--w50);
  line-height: 1.68; margin: 0;
}

/* ============================================================
   PRACTICE SCROLL ANIMATION — Passion + Strategy → Merge
   ============================================================ */
.practice-anim {
  display: flex;
  align-items: center;
  justify-content: center;
  --pa-p: 0;
}

.pa-track {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 260px;
  width: 64px;
}

/* Individual nodes */
.pa-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 2;
  transition: transform 0.08s linear, opacity 0.08s linear;
}
.pa-node--passion {
  transform: translateY(calc((1 - var(--pa-p)) * -52px));
  opacity: calc(1 - max(0, (var(--pa-p) - 0.65) * 3.5));
}
.pa-node--strategy {
  transform: translateY(calc((1 - var(--pa-p)) * 52px));
  opacity: calc(1 - max(0, (var(--pa-p) - 0.65) * 3.5));
}

.pa-node-dot {
  width: 30px; height: 30px;
  border-radius: 50%;
  flex-shrink: 0;
}
.pa-node--passion .pa-node-dot {
  background: radial-gradient(circle at 40% 40%,
    rgba(251,191,36,0.95) 0%,
    rgba(245,158,11,0.5) 55%,
    transparent 100%);
  box-shadow: 0 0 18px rgba(251,191,36,0.55), 0 0 6px rgba(251,191,36,0.4);
}
.pa-node--strategy .pa-node-dot {
  background: radial-gradient(circle at 40% 40%,
    rgba(22,104,212,1) 0%,
    rgba(12,79,163,0.5) 55%,
    transparent 100%);
  box-shadow: 0 0 18px rgba(22,104,212,0.6), 0 0 6px rgba(22,104,212,0.4);
}

.pa-node-label {
  font-size: 0.52rem; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--w30); white-space: nowrap;
  transition: opacity 0.08s linear;
  opacity: calc(1 - max(0, (var(--pa-p) - 0.5) * 5));
}

/* Connector line between nodes */
.pa-connector {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  height: 130px; width: 1px;
  z-index: 1;
}
.pa-connector-line {
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom,
    rgba(251,191,36,0.35) 0%,
    rgba(22,104,212,0.35) 100%);
  transform-origin: center;
  transform: scaleY(calc(1 - min(1, var(--pa-p) * 1.6)));
  transition: transform 0.08s linear;
}

/* Merged state */
.pa-merged {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.4);
  display: flex; flex-direction: column;
  align-items: center; gap: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
  z-index: 3;
}
.practice-anim.is-merged .pa-merged {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.pa-merged-burst {
  position: absolute;
  top: 50%; left: 50%;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1.5px solid rgba(22,104,212,0.7);
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
}
.practice-anim.is-merged .pa-merged-burst {
  animation: pa-burst 0.9s var(--ease) forwards;
}
@keyframes pa-burst {
  0%   { transform: translate(-50%,-50%) scale(0);   opacity: 0.9; }
  100% { transform: translate(-50%,-50%) scale(2.8); opacity: 0; }
}

.pa-merged-dot {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%,
    rgba(22,104,212,0.95) 0%,
    rgba(12,79,163,0.7) 50%,
    rgba(251,191,36,0.25) 80%,
    transparent 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  box-shadow:
    0 0 28px rgba(22,104,212,0.65),
    0 0 10px rgba(251,191,36,0.3),
    inset 0 0 12px rgba(255,255,255,0.08);
}
.practice-anim.is-merged .pa-merged-dot {
  animation: pa-pulse 2.8s ease-in-out infinite 0.5s;
}
@keyframes pa-pulse {
  0%,100% { box-shadow: 0 0 28px rgba(22,104,212,0.65), 0 0 10px rgba(251,191,36,0.3); }
  50%     { box-shadow: 0 0 44px rgba(22,104,212,0.85), 0 0 18px rgba(251,191,36,0.5); }
}

.pa-merged-label {
  font-size: 0.5rem; font-weight: 800;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent-hi); white-space: nowrap;
  text-align: center; line-height: 1.4;
}

/* ── Services page — section image banners ──────────────── */
.svc-visual {
  position: relative;
  height: 38vh; min-height: 220px; max-height: 380px;
  overflow: hidden; border-radius: 6px;
  margin: var(--sp-6) 0 var(--sp-20);
}
.svc-visual-img {
  position: absolute; inset: -8% 0;
  background-size: cover; background-position: center;
  background-color: var(--ink-2);
  animation: svc-kb 20s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes svc-kb {
  from { transform: scale(1.0); }
  to   { transform: scale(1.07); }
}
.svc-visual-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(6,9,30,0.4) 0%, rgba(6,9,30,0.1) 50%, rgba(6,9,30,0.4) 100%),
    linear-gradient(to bottom, rgba(6,9,30,0.05) 0%, rgba(6,9,30,0.92) 100%);
}
.svc-visual-title {
  position: absolute; bottom: var(--sp-8); left: var(--sp-8); right: var(--sp-8);
  z-index: 2;
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.1;
  margin: 0;
  text-shadow: 0 2px 24px rgba(0,0,0,0.5);
}

/* ── Services index strip (sticky nav) ───────────────────── */
#page-services .svc-index-strip {
  background: rgba(6,9,30,0.98);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: sticky; top: var(--nav-h); z-index: 100;
  backdrop-filter: blur(8px);
}
#page-services .svc-index-item { color: rgba(255,255,255,0.3); border-right-color: rgba(255,255,255,0.06); }
#page-services .svc-index-item:hover { color: var(--accent-hi); }

/* ── Services index strip (dark) ─────────────────────────── */
#page-services .svc-section {
  position: relative;
}

/* Mobile-only elements: hidden by default, shown via media queries below */
.practice-duality { display: none; }

/* ============================================================
   MOBILE OPTIMISATIONS
   All rules scoped to prevent any impact on desktop (≥ 769px)
   ============================================================ */

/* ── Shared fixes at tablet / large-phone ─────────────────── */
@media (max-width: 768px) {
  /* Prevent horizontal scroll caused by any overflowing child */
  body { overflow-x: hidden; }

  /* Practice section: stack animation column + text + highlights */
  .practice-anim { display: none; }
  .practice-inner { grid-template-columns: 1fr; gap: var(--sp-10); }
  .practice-highlights {
    margin-top: var(--sp-2);
    border-top: 1px solid var(--border-dk);
  }

  /* Reduce vertical section padding */
  .section-pad { padding-block: var(--sp-12); }

  /* Services sticky index strip: horizontal scroll instead of wrap */
  .svc-index-strip { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .svc-index-inner { width: max-content; min-width: 100%; }

  /* Services KPIs: 2-col on tablet/large phone */
  .svc-kpis { grid-template-columns: repeat(2, 1fr); }
  .svc-kpi:last-child { border-right: none; }

  /* Projects hero stats: allow wrapping */
  .proj-hero-stats { flex-wrap: wrap; gap: var(--sp-5); }

  /* CTA banner: tighter */
  .cta-banner { padding-block: var(--sp-14); }
}

/* ── Phone-specific refinements (≤ 540px / iPhone 17 Pro) ── */
@media (max-width: 540px) {
  /* Global spacing reduction */
  .section-pad { padding-block: var(--sp-10); }
  .container { padding-inline: var(--sp-4); }

  /* Section typography */
  .section-label { font-size: 0.58rem; letter-spacing: 0.14em; }
  .section-headline { font-size: clamp(1.7rem, 7vw, 2.2rem); }
  .section-intro { font-size: 0.92rem; }

  /* Hero: compact inline buttons (override the full-width 768px rule) */
  .hero-content { padding-bottom: var(--sp-10); }
  .hero-actions { flex-direction: row; flex-wrap: wrap; align-items: center; gap: var(--sp-2); }
  .hero-actions .btn { width: auto !important; min-width: 0 !important; padding: 0.6rem 1.3rem; font-size: 0.78rem; }

  /* Stats: keep 2-col on phone (single-col is too sparse) */
  .stats-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .stat-item { border-right: none !important; border-bottom: 1px solid var(--border); }
  .stat-item:nth-child(odd) { border-right: 1px solid var(--border) !important; }
  .stat-item:nth-child(3), .stat-item:nth-child(4) { border-bottom: none; }
  .stat-value { font-size: clamp(2rem, 8vw, 2.8rem); }

  /* Team grid on home page: 2 columns */
  .team-grid { grid-template-columns: repeat(2, 1fr) !important; gap: var(--sp-4); }
  .team-card-photo { height: 160px; }
  .team-card-name { font-size: 0.82rem; }
  .team-card-title { font-size: 0.72rem; }

  /* Editorial breaks: shorter image, smaller quote */
  .editorial-img { min-height: 210px; }
  .editorial-text { padding: var(--sp-8) var(--sp-4); }
  .editorial-quote { font-size: clamp(0.98rem, 4.5vw, 1.3rem); }
  .editorial-label { font-size: 0.55rem; }

  /* Segments: horizontal swipe carousel using the seg-thumb-row */
  .seg-container { height: auto !important; flex-direction: column; }
  .seg-container.has-active .seg-thumb-row { flex: unset !important; }
  .seg-detail-panel { display: none !important; }
  .seg-thumb-row {
    flex: unset !important;
    height: 240px !important;
    min-height: 0 !important;
    display: flex;
    flex-direction: row !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: var(--sp-3);
    margin-inline: calc(var(--sp-4) * -1);
    padding-inline: var(--sp-4);
    padding-bottom: var(--sp-4);
    box-sizing: content-box;
  }
  .seg-thumb-row::-webkit-scrollbar { display: none; }
  .seg-thumb,
  .seg-thumb.is-active,
  .seg-container.has-active .seg-thumb:not(.is-active) {
    flex: 0 0 82% !important;
    scroll-snap-align: start;
    height: 100%;
    border-right: none !important;
    border-radius: 8px;
  }
  .seg-thumb-overlay {
    background: linear-gradient(to top, rgba(6,9,30,0.78) 0%, rgba(6,9,30,0.15) 65%, transparent 100%) !important;
  }
  .seg-thumb-title { font-size: clamp(0.9rem, 4vw, 1.15rem) !important; }

  /* Practice section: hide full panel, show mobile duality strip instead */
  .practice-highlights { display: none; }
  .practice-duality { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); margin-top: var(--sp-6); }
  .practice-duality-card {
    padding: var(--sp-4);
    border-radius: 10px;
    display: flex; flex-direction: column; gap: var(--sp-2);
  }
  .practice-duality-card--problem {
    background: rgba(251,191,36,0.07);
    border: 1px solid rgba(251,191,36,0.18);
  }
  .practice-duality-card--solution {
    background: rgba(22,104,212,0.08);
    border: 1px solid rgba(22,104,212,0.22);
  }
  .practice-duality-icon { font-size: 1rem; line-height: 1; }
  .practice-duality-label {
    font-size: 0.66rem; font-weight: 800;
    letter-spacing: 0.05em; color: var(--white); margin: 0;
  }
  .practice-duality-text { font-size: 0.7rem; color: var(--w50); line-height: 1.5; margin: 0; }

  /* Services page — visual banner: shorter */
  .svc-visual { height: 26vh; min-height: 170px; max-height: 240px; margin-bottom: var(--sp-10); }
  .svc-visual-title { font-size: clamp(1.3rem, 5vw, 1.8rem); bottom: var(--sp-5); left: var(--sp-5); }

  /* Services KPIs: single column on phone */
  .svc-kpis { grid-template-columns: 1fr; }
  .svc-kpi { border-right: none; border-bottom: 1px solid var(--border); padding: var(--sp-5) 0; }
  .svc-kpi:last-child { border-bottom: none; }

  /* Services section: tighter vertical padding */
  .svc-section { padding: var(--sp-10) 0; }
  .svc-section + .svc-section { border-top: 1px solid var(--border); }

  /* Services deliverable pills: smaller text */
  .svc-deliverable { font-size: 0.73rem; padding: calc(var(--sp-1) + 2px) var(--sp-3); }

  /* Sub-page hero (Our Team, Services) */
  .page-hero { padding-top: calc(var(--nav-h) + var(--sp-12)); padding-bottom: var(--sp-10); }
  .page-hero h1 { font-size: clamp(1.8rem, 7vw, 2.6rem); }
  .breadcrumb { font-size: 0.72rem; }

  /* Projects page hero */
  .proj-hero-content { padding-top: calc(var(--nav-h) + var(--sp-10)); padding-bottom: var(--sp-6); }
  .proj-hero h1 { font-size: clamp(1.7rem, 7vw, 2.4rem); }
  .proj-hero-lead { font-size: 0.88rem; }
  .proj-hero-stat-num { font-size: 1.5rem; }
  .proj-hero-stat-lbl { font-size: 0.55rem; }

  /* Projects filter bar: horizontal scroll */
  .proj-filter-bar {
    flex-wrap: nowrap; overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: var(--sp-3);
    scrollbar-width: none;
    margin-inline: calc(var(--sp-4) * -1);
    padding-inline: var(--sp-4);
  }
  .proj-filter-bar::-webkit-scrollbar { display: none; }
  .proj-filter-btn { white-space: nowrap; flex-shrink: 0; font-size: 0.68rem; padding: 0.45rem 1rem; }

  /* Project card grid on experience page */
  .proj-grid { grid-template-columns: 1fr !important; }

  /* CTA banner */
  .cta-banner h2 { font-size: clamp(1.5rem, 6vw, 2rem); }
  .cta-banner p { font-size: 0.9rem; }

  /* Team page full grid */
  .team-full-grid { gap: var(--sp-5) !important; }
  .team-full-avatar { min-height: 240px; }

  /* Testimonials: tighter on phone */
  .testimonial-text { font-size: 0.88rem; line-height: 1.7; }
  .testimonial-name { font-size: 0.78rem; }

  /* ── Services page: visual image-strip accordion ── */
  #page-services .svc-ghost-num,
  #page-services .svc-label-bar { display: none !important; }
  #page-services .svc-section {
    padding: 0 !important;
    border-bottom: none !important;
    margin-bottom: var(--sp-2);
  }
  /* Compact image strip = tap trigger */
  #page-services .svc-visual {
    height: 100px !important;
    min-height: 0 !important;
    max-height: none !important;
    margin-bottom: 0 !important;
    cursor: pointer;
    border-radius: 10px;
    -webkit-tap-highlight-color: transparent;
    transition: box-shadow 0.25s ease;
  }
  #page-services .svc-section.is-open .svc-visual {
    border-radius: 10px 10px 0 0;
    box-shadow: 0 0 0 2px var(--accent);
  }
  #page-services .svc-visual-title {
    font-size: 0.95rem !important;
    bottom: var(--sp-3) !important;
    left: var(--sp-4) !important;
    right: 3.2rem !important;
  }
  /* Circular chevron button overlaid on the image */
  .svc-visual-chevron {
    position: absolute; right: var(--sp-4); bottom: var(--sp-3);
    width: 30px; height: 30px; border-radius: 50%;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(6px);
    display: flex; align-items: center; justify-content: center;
    color: var(--white);
    transition: transform 0.28s ease, background 0.22s ease;
    flex-shrink: 0;
  }
  .svc-section.is-open .svc-visual-chevron {
    transform: rotate(90deg);
    background: var(--accent);
  }
  /* Hidden content: shown when open */
  #page-services .svc-grid,
  #page-services .svc-kpis { display: none !important; }
  #page-services .svc-section.is-open .svc-grid {
    display: block !important;
    padding: var(--sp-4) 0 var(--sp-6);
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 10px 10px;
    padding-inline: var(--sp-4);
  }
  #page-services .svc-section.is-open .svc-kpis {
    display: grid !important;
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 10px 10px;
    padding: var(--sp-5) var(--sp-4);
  }
  /* Hide old text-header if still present */
  .svc-accord-hdr { display: none !important; }

  /* ── Projects page: compact list view ─────────── */
  #page-experience .proj-grid {
    display: flex !important; flex-direction: column;
    gap: 0; border-radius: var(--r-lg);
    overflow: hidden; border: 1px solid rgba(255,255,255,0.09);
  }
  #page-experience .proj-card {
    height: 80px !important; border-radius: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.07) !important;
    box-shadow: none !important; transform: none !important;
  }
  #page-experience .proj-card:hover { transform: none !important; }
  #page-experience .proj-card:last-child { border-bottom: none !important; }
  #page-experience .proj-card::before { display: none !important; }
  #page-experience .proj-card-bg { right: auto !important; width: 96px; }
  #page-experience .proj-card-overlay {
    right: auto !important; width: 110px;
    background: linear-gradient(to right, transparent 40%, rgba(6,9,30,0.9) 100%) !important;
  }
  #page-experience .proj-card-inner {
    left: 96px !important;
    padding: var(--sp-3) var(--sp-4) var(--sp-3) var(--sp-3);
    background: rgba(9,14,44,0.95);
    justify-content: center; gap: var(--sp-1);
  }
  #page-experience .proj-card-top { gap: var(--sp-1); }
  #page-experience .proj-card-badge { font-size: 0.52rem; padding: 0.12em 0.4em; }
  #page-experience .proj-card-number { display: none; }
  #page-experience .proj-card-title { font-size: 0.86rem; margin-bottom: 0; }
  #page-experience .proj-card-excerpt,
  #page-experience .proj-card-cta { display: none !important; }

  /* Cases / project cards: horizontal swipe carousel */
  .cases-grid {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: var(--sp-3);
    margin-inline: calc(var(--sp-4) * -1);
    padding-inline: var(--sp-4);
    padding-bottom: var(--sp-4);
    box-sizing: content-box;
  }
  .cases-grid::-webkit-scrollbar { display: none; }
  .case-card {
    flex: 0 0 85% !important;
    scroll-snap-align: start;
    min-width: 0;
  }
  .case-card-img { height: 180px; }
  .case-card-body-v2 { padding: var(--sp-4) var(--sp-4) var(--sp-5); }
  .case-card-desc { font-size: 0.8rem; line-height: 1.6; }

  /* Services home grid: 2-column compact cards */
  .svc-home-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: var(--sp-3);
  }
  .svc-home-card {
    padding: var(--sp-4) var(--sp-4) var(--sp-5);
  }
  .svc-home-icon {
    width: 40px; height: 40px;
    margin-bottom: var(--sp-3);
  }
  .svc-home-icon svg { width: 20px; height: 20px; }
  .svc-home-num { font-size: 3.5rem; top: -0.05em; right: var(--sp-3); }
  .svc-home-title { font-size: 0.82rem; margin-bottom: 0; }
  .svc-home-desc { display: none; }
  .svc-home-link { display: none; }
}

