/* =========================================================
   Thinkndata — premium site stylesheet
   Fonts: Fraunces (display), Manrope (text), IBM Plex Mono (data)
   ========================================================= */

:root {
  --ink: #0a1a2f;
  --ink-2: #102843;
  --ink-3: #18375a;
  --paper: #faf7f1;
  --paper-2: #f3eee4;
  --white: #ffffff;
  --text: #13243a;
  --muted: #5b6b7f;
  --muted-2: #8795a6;
  --line: rgba(10, 26, 47, .11);
  --line-strong: rgba(10, 26, 47, .2);
  --saffron: #f58220;
  --saffron-deep: #d4600a;
  --saffron-soft: #fde9d6;
  --teal: #0e9f94;
  --teal-deep: #0b7d74;
  --teal-soft: #d9f1ee;
  --sky: #2c7be5;
  --gold: #e9c27a;

  --f-display: "Fraunces", Georgia, "Times New Roman", serif;
  --f-text: "Manrope", "Avenir Next", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 30px 80px -30px rgba(10, 26, 47, .28);
  --shadow-sm: 0 10px 30px -14px rgba(10, 26, 47, .22);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --wrap: 1240px;
  --gutter: clamp(18px, 4vw, 40px);
  --header-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--f-text);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: rgba(245, 130, 32, .28); }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 500; color: var(--ink); margin: 0; letter-spacing: -.02em; font-variation-settings: "opsz" 96, "SOFT" 30; text-wrap: balance; }
h1 { font-size: clamp(44px, 6.4vw, 92px); line-height: 1.02; letter-spacing: -.025em; }
h2 { font-size: clamp(34px, 4.2vw, 58px); line-height: 1.06; letter-spacing: -.018em; }
h3 { font-size: clamp(21px, 1.8vw, 25px); line-height: 1.2; font-variation-settings: "opsz" 36; }
h4 { font-size: 18px; line-height: 1.3; font-variation-settings: "opsz" 24; }
p { margin: 0; text-wrap: pretty; }
em.accent, .accent { font-style: italic; color: var(--saffron-deep); font-variation-settings: "opsz" 96, "SOFT" 100; }
.on-dark .accent, .dark .accent { color: var(--gold); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 12px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--teal-deep);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.dark .eyebrow { color: #7fd8cf; }
.lead { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.7; color: var(--muted); max-width: 640px; }
.dark .lead { color: #b9c6d6; }

.section { padding: clamp(80px, 10vw, 140px) 0; position: relative; }
.section-sm { padding: clamp(56px, 7vw, 96px) 0; }
.section-head { display: grid; gap: 22px; margin-bottom: clamp(44px, 5vw, 72px); }
.section-head.split { grid-template-columns: 1.1fr .9fr; align-items: end; gap: 40px; }
.section-head.center { text-align: center; justify-items: center; }
.section-head.center .lead { margin-inline: auto; }

.dark { background: var(--ink); color: #dfe7f1; }
.dark h1, .dark h2, .dark h3, .dark h4 { color: #fff; }
.tint { background: var(--paper-2); }
.white { background: var(--white); }

/* ---------- Buttons & links ---------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 26px; border-radius: 999px; border: 1px solid transparent;
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: 15px; letter-spacing: .01em; cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -14px rgba(10, 26, 47, .55); }
.btn:hover svg { transform: translateX(4px); }
.btn-saffron { --bg: var(--saffron); --fg: #1b0e02; }
.btn-saffron:hover { --bg: #ff9338; box-shadow: 0 16px 34px -12px rgba(245, 130, 32, .6); }
.btn-ghost { --bg: transparent; --fg: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { --bg: var(--ink); --fg: #fff; }
.dark .btn-ghost { --fg: #fff; border-color: rgba(255,255,255,.3); }
.dark .btn-ghost:hover { --bg: #fff; --fg: var(--ink); }

.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; color: var(--ink); border-bottom: 1px solid var(--line-strong); padding-bottom: 4px; transition: gap .3s var(--ease), border-color .3s; }
.link-arrow svg { width: 16px; height: 16px; }
.link-arrow:hover { gap: 16px; border-color: var(--saffron); }
.dark .link-arrow { color: #fff; border-color: rgba(255,255,255,.28); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color .35s, box-shadow .35s, height .35s var(--ease), border-color .35s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled, .site-header.solid {
  background: rgba(250, 247, 241, .86);
  -webkit-backdrop-filter: saturate(170%) blur(16px); backdrop-filter: saturate(170%) blur(16px);
  border-bottom-color: var(--line);
}
.site-header.scrolled { --header-h: 68px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: min(1360px, 100% - var(--gutter) * 2); margin-inline: auto; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 56px; width: auto; transition: height .35s var(--ease); }
.site-header.scrolled .brand img { height: 48px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a.nav-link { position: relative; padding: 10px 14px; font-size: 14.5px; font-weight: 600; color: var(--text); border-radius: 999px; transition: color .2s, background-color .2s; }
.nav a.nav-link:hover { background: rgba(10, 26, 47, .05); }
.nav a.nav-link[aria-current="page"] { color: var(--saffron-deep); }
.nav a.nav-link[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; border-radius: 50%; background: var(--saffron); transform: translateX(-50%); }
.nav .btn { margin-left: 10px; padding: 12px 20px; }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--white); align-items: center; justify-content: center; cursor: pointer; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .3s var(--ease), background-color .2s; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; } .menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 18px var(--gutter) 28px; background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 40px -30px rgba(10,26,47,.3);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .3s, transform .35s var(--ease), visibility .3s;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .menu-open .nav { transform: none; opacity: 1; visibility: visible; }
  .menu-open .site-header { background: var(--paper); }
  .nav a.nav-link { font-size: 18px; padding: 14px 6px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav a.nav-link[aria-current="page"]::after { left: auto; right: 8px; top: 50%; transform: translateY(-50%); }
  .nav .btn { margin: 18px 0 0; justify-content: center; }
}

/* ---------- Home hero ---------- */
.hero { position: relative; padding: calc(var(--header-h) + clamp(28px, 4vw, 56px)) 0 clamp(56px, 6vw, 90px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(14,159,148,.10), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(245,130,32,.10), transparent 60%);
}
.hero-grid-lines { position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 65%); -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 65%); }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(40px, 5vw, 80px); align-items: center; }
.hero h1 { margin: 22px 0 28px; font-size: clamp(44px, 5.5vw, 80px); }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; }
.hero .lead { margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-proof { display: flex; gap: 28px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.hero-proof div { display: grid; gap: 2px; }
.hero-proof strong { font-family: var(--f-display); font-weight: 500; font-size: 36px; line-height: 1; color: var(--ink); letter-spacing: -.02em; }
.hero-proof div > span { font-size: 13px; color: var(--muted); }

.hero-visual { position: relative; aspect-ratio: 4 / 4.4; }
.hero-photo { position: absolute; overflow: hidden; border-radius: 28px; box-shadow: var(--shadow); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo.main { inset: 0 8% 14% 0; border-radius: 220px 220px 28px 28px; }
.hero-photo.small { width: 44%; aspect-ratio: 1; right: 0; bottom: 0; border: 8px solid var(--paper); border-radius: 28px; }
.float-card {
  position: absolute; z-index: 3; background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.7); border-radius: 18px; padding: 16px 18px; box-shadow: var(--shadow-sm);
  animation: floaty 7s ease-in-out infinite;
}
.float-card.team { left: -6%; top: 16%; display: flex; align-items: center; gap: 14px; }
.float-card.qa { left: 4%; bottom: 4%; width: 250px; animation-delay: -3.5s; }
.float-card .fc-num { font-family: var(--f-display); font-size: 34px; line-height: 1; color: var(--ink); }
.float-card .fc-lbl { font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.avatars { display: flex; }
.avatars span { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #fff; border: 2px solid #fff; margin-left: -9px; }
.avatars span:first-child { margin-left: 0; }
.qa-head { display: flex; align-items: center; justify-content: space-between; font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.live-dot { display: inline-flex; align-items: center; gap: 6px; color: var(--teal-deep); }
.live-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(14,159,148,.6); animation: pulse 1.8s infinite; }
.qa-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.qa-list li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; color: var(--text); opacity: .35; transition: opacity .4s; }
.qa-list li.on { opacity: 1; }
.qa-list li i { width: 18px; height: 18px; border-radius: 50%; background: var(--teal-soft); color: var(--teal-deep); display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 800; transform: scale(.6); transition: transform .4s var(--ease), background-color .4s; }
.qa-list li.on i { transform: scale(1); background: var(--teal); color: #fff; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(14,159,148,.55); } 70% { box-shadow: 0 0 0 9px rgba(14,159,148,0); } 100% { box-shadow: 0 0 0 0 rgba(14,159,148,0); } }

/* Audience marquee */
.marquee-band { border-block: 1px solid var(--line); background: var(--white); padding: 22px 0; overflow: hidden; }
.marquee-band .label { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.marquee-row { display: flex; align-items: center; gap: 36px; }
.marquee { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; gap: 48px; font-family: var(--f-display); font-size: 24px; color: var(--ink); white-space: nowrap; font-variation-settings: "opsz" 48; }
.marquee-track span::after { content: "✦"; font-size: 13px; color: var(--saffron); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Stats band ---------- */
.stats { position: relative; overflow: hidden; }
.stats::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(700px 300px at 10% 0%, rgba(14,159,148,.25), transparent 70%), radial-gradient(600px 300px at 100% 100%, rgba(245,130,32,.18), transparent 70%); }
.stats-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); row-gap: 26px; border-top: 1px solid rgba(255,255,255,.12); }
.stat { padding: 34px 28px 10px 0; border-right: 1px solid rgba(255,255,255,.12); margin-right: 28px; }
.stat:nth-child(3n) { border-right: 0; margin-right: 0; }
.stat .num { font-family: var(--f-display); font-weight: 400; font-size: clamp(48px, 5.4vw, 78px); line-height: 1; color: #fff; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat .num sup { font-size: .45em; color: var(--gold); vertical-align: top; position: relative; top: .2em; margin-left: 2px; }
.stat .lbl { margin-top: 14px; font-size: 14.5px; color: #b9c6d6; max-width: 220px; }
.stat .bar { height: 3px; margin-top: 22px; background: rgba(255,255,255,.1); border-radius: 3px; overflow: hidden; }
.stat .bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--teal), var(--gold)); border-radius: 3px; transition: width 1.8s var(--ease) .2s; }
.stat.in .bar i { width: var(--w, 100%); }

/* ---------- About (home) ---------- */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.about-copy { display: grid; gap: 26px; }
.about-copy p { font-size: 18px; color: var(--muted); }
.pull { position: relative; margin: 8px 0 0; padding: 30px 32px 30px 36px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); font-family: var(--f-display); font-size: clamp(21px, 1.9vw, 26px); line-height: 1.4; color: var(--ink); font-variation-settings: "opsz" 48; }
.pull::before { content: "“"; position: absolute; left: 22px; top: -18px; font-size: 90px; line-height: 1; color: var(--saffron); font-family: var(--f-display); }

/* ---------- Service cards ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-card { position: relative; display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s; min-height: 100%; }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.svc-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.svc-card:hover .svc-media img { transform: scale(1.06); }
.svc-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(10,26,47,.45)); }
.svc-no { position: absolute; z-index: 2; left: 20px; top: 18px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; color: #fff; background: rgba(10,26,47,.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); padding: 6px 10px; border-radius: 999px; }
.svc-body { display: flex; flex-direction: column; gap: 12px; padding: 26px 26px 24px; flex: 1; }
.svc-body p { color: var(--muted); font-size: 15.5px; }
.svc-foot { margin-top: auto; padding-top: 18px; display: flex; align-items: center; justify-content: space-between; border-top: 1px dashed var(--line-strong); }
.cap-meter { display: flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 12.5px; color: var(--muted); }
.cap-meter b { font-family: var(--f-display); font-weight: 500; font-size: 26px; color: var(--ink); }
.cap-dots { display: flex; gap: 3px; }
.cap-dots i { width: 6px; height: 14px; border-radius: 2px; background: var(--paper-2); transition: background-color .3s; }
.cap-dots i.f { background: var(--teal); }
.svc-card .arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: background-color .3s, color .3s, transform .4s var(--ease); }
.svc-card .arrow svg { width: 16px; height: 16px; }
.svc-card:hover .arrow { background: var(--saffron); border-color: var(--saffron); color: #1b0e02; transform: rotate(-45deg); }
.svc-card.svc-cta { background: var(--ink); color: #dfe7f1; border-color: var(--ink); padding: 32px; justify-content: space-between; gap: 30px; overflow: hidden; }
.svc-card.svc-cta h3 { color: #fff; font-size: clamp(26px, 2.4vw, 34px); }
.svc-card.svc-cta::before { content: ""; position: absolute; width: 380px; height: 380px; right: -140px; bottom: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(245,130,32,.45), transparent 65%); }
.svc-card.svc-cta .eyebrow { color: var(--gold); }

/* ---------- Sector bento ---------- */
.sector-grid { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 250px; gap: 18px; }
.sector { position: relative; grid-column: span 2; border-radius: var(--radius); overflow: hidden; color: #fff; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; }
.sector:nth-child(1), .sector:nth-child(5) { grid-column: span 3; }
.sector:nth-child(1) { grid-row: span 2; }
.sector:nth-child(2), .sector:nth-child(3) { grid-column: span 3; }
.sector:nth-child(4) { grid-column: span 3; grid-row: span 2; }
.sector:nth-child(6) { grid-column: span 3; }
.sector img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.sector::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,26,47,.05) 25%, rgba(10,26,47,.55) 60%, rgba(10,26,47,.94)); transition: background .5s; }
.sector:hover img { transform: scale(1.07); }
.sector .s-no { position: absolute; top: 20px; left: 22px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.16); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.25); }
.sector h3 { color: #fff; font-size: clamp(21px, 1.9vw, 27px); }
.sector p { color: rgba(255,255,255,.82); font-size: 14.5px; margin-top: 8px; max-width: 440px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .4s, margin .4s; }
.sector:hover p, .sector:focus-within p, .sector.tall p { max-height: 120px; opacity: 1; }
@media (hover: none) { .sector p { max-height: 120px; opacity: 1; } }

/* ---------- Approach timeline ---------- */
.timeline { position: relative; display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; counter-reset: stage; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 2px; background: var(--line-strong); }
.timeline .progress { position: absolute; left: 0; top: 27px; height: 2px; width: 0; background: linear-gradient(90deg, var(--teal), var(--saffron)); transition: width 2.4s var(--ease); }
.timeline.in .progress { width: 100%; }
.stage { position: relative; padding-top: 74px; }
.stage .dot { position: absolute; top: 6px; left: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--paper); border: 2px solid var(--line-strong); display: grid; place-items: center; font-family: var(--f-mono); font-size: 13px; font-weight: 500; color: var(--muted); transition: background-color .5s, border-color .5s, color .5s, transform .5s var(--ease); }
.timeline.in .stage .dot { background: var(--ink); border-color: var(--ink); color: #fff; transform: scale(1.05); transition-delay: calc(var(--i) * .3s); }
.stage h4 { font-size: 17.5px; }
.stage p { margin-top: 8px; font-size: 14px; color: var(--muted); line-height: 1.55; }
.tint .stage .dot { background: var(--paper-2); }

/* ---------- Quality infographic ---------- */
.qa-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.rings { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; margin-inline: auto; }
.rings svg { width: 100%; height: 100%; overflow: visible; }
.rings .ring { fill: none; stroke: rgba(255,255,255,.12); stroke-width: 1; }
.rings .arc { fill: none; stroke-width: 10; stroke-linecap: round; transform-origin: 50% 50%; transform: rotate(-90deg); stroke-dasharray: var(--len); stroke-dashoffset: var(--len); transition: stroke-dashoffset 2s var(--ease); }
.rings.in .arc { stroke-dashoffset: var(--off); }
.rings .core { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; pointer-events: none; }
.rings .core b { display: block; font-family: var(--f-display); font-weight: 400; font-size: clamp(54px, 6vw, 84px); color: #fff; line-height: 1; }
.rings .core span { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: #9fb0c3; }
.rings .tag { text-anchor: end; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; fill: #9fb0c3; }
.qa-checks { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.qa-checks li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 16px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); font-size: 14.5px; font-weight: 600; color: #e8eef6; line-height: 1.4; transition: background-color .3s, border-color .3s, transform .4s var(--ease); }
.qa-checks li:hover { background: rgba(255,255,255,.08); border-color: rgba(127,216,207,.4); transform: translateY(-2px); }
.qa-checks li i { flex: 0 0 22px; height: 22px; border-radius: 50%; background: rgba(14,159,148,.2); color: #7fd8cf; display: grid; place-items: center; font-style: normal; font-size: 12px; }

/* ---------- Case highlights (sample sizes achieved) ---------- */
.cases-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.case-tile { position: relative; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); padding: 28px 24px 24px; display: flex; flex-direction: column; gap: 14px; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.case-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.case-tile .ct-tag { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-deep); }
.case-tile .ct-num { font-family: var(--f-display); font-weight: 400; font-size: clamp(54px, 5vw, 72px); line-height: .95; color: var(--ink); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.case-tile .ct-num small { font-size: .38em; letter-spacing: 0; color: var(--muted); margin-left: 4px; }
.case-tile .ct-unit { font-weight: 700; font-size: 15px; color: var(--ink); }
.case-tile .ct-title { font-size: 14px; color: var(--muted); line-height: 1.5; }
.case-tile .ct-meta { margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--line-strong); display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; background: var(--paper-2); font-size: 12.5px; font-weight: 600; color: var(--text); }
.chip.teal { background: var(--teal-soft); color: var(--teal-deep); }
.chip.saffron { background: var(--saffron-soft); color: #9a4a06; }
.case-tile .meter { height: 6px; border-radius: 6px; background: var(--paper-2); overflow: hidden; }
.case-tile .meter i { display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, var(--teal), var(--saffron)); transition: width 1.8s var(--ease) .3s; }
.case-tile.in .meter i { width: var(--w, 100%); }
.case-tile .meter-lbl { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 11px; color: var(--muted); margin-top: -6px; }

/* ---------- Coverage map ---------- */
.map-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.map-card { position: relative; background: var(--white); border-radius: 28px; border: 1px solid var(--line); padding: clamp(18px, 3vw, 34px); box-shadow: var(--shadow-sm); }
.india-map { width: 100%; height: auto; }
.india-map path { fill: #e6ecf1; stroke: #fff; stroke-width: 1.1; transition: fill .35s, opacity .35s, transform .35s var(--ease); vector-effect: non-scaling-stroke; }
.india-map path.covered { fill: #a7ddd7; cursor: pointer; }
.india-map path.covered:hover, .india-map path.active { fill: var(--teal); }
.india-map path.hq { fill: var(--saffron); }
.india-map path.hq.active, .india-map path.hq:hover { fill: var(--saffron-deep); }
.india-map path[data-level] { cursor: pointer; }
.india-map .hq-pin circle.core { fill: #fff; stroke: var(--ink); stroke-width: 2.5; }
.india-map .hq-pin circle.halo { fill: var(--saffron); opacity: .35; transform-origin: center; transform-box: fill-box; animation: halo 2.4s ease-out infinite; }
@keyframes halo { 0% { transform: scale(.6); opacity: .55; } 100% { transform: scale(2.4); opacity: 0; } }
.india-map .bubble { fill: rgba(10,26,47,.85); stroke: #fff; stroke-width: 1.5; pointer-events: none; }
.india-map .bubble-t { fill: #fff; font-family: var(--f-mono); font-size: 13px; font-weight: 500; text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.map-legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 16px; font-size: 13px; color: var(--muted); }
.map-legend span { display: inline-flex; align-items: center; gap: 8px; }
.map-legend i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.map-tip { position: absolute; z-index: 5; pointer-events: none; background: var(--ink); color: #fff; padding: 9px 12px; border-radius: 10px; font-size: 13px; font-weight: 600; white-space: nowrap; transform: translate(-50%, calc(-100% - 12px)); opacity: 0; transition: opacity .15s; }
.map-tip small { display: block; font-family: var(--f-mono); font-size: 11px; font-weight: 400; color: #9fb0c3; }
.map-tip.show { opacity: 1; }
.state-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.state-chips button { border: 1px solid var(--line-strong); background: transparent; padding: 8px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
.state-chips button:hover { border-color: var(--teal); color: var(--teal-deep); }
.state-chips button.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.state-chips button.hq::before { content: "★ "; color: var(--saffron); }

/* Bars */
.bars { display: grid; gap: 10px; }
.bars.two { grid-template-columns: 1fr 1fr; column-gap: 48px; }
@media (max-width: 760px) { .bars.two { grid-template-columns: 1fr; } }
.bar-row { display: grid; grid-template-columns: 130px 1fr 40px; align-items: center; gap: 14px; font-size: 14px; cursor: pointer; border-radius: 8px; }
.bar-row .b-name { font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-row .b-track { height: 10px; background: var(--paper-2); border-radius: 10px; overflow: hidden; }
.bar-row .b-fill { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--teal), #36c2b5); border-radius: 10px; transition: width 1.4s var(--ease); transition-delay: calc(var(--i, 0) * 50ms); }
.bars.in .b-fill { width: var(--w); }
.bar-row .b-val { font-family: var(--f-mono); font-size: 13px; color: var(--muted); text-align: right; }
.bar-row:hover .b-fill, .bar-row.active .b-fill { background: linear-gradient(90deg, var(--saffron-deep), var(--saffron)); }
.bar-row.active .b-name { color: var(--saffron-deep); }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; border-radius: 34px; padding: clamp(48px, 7vw, 96px) clamp(28px, 6vw, 90px); background: var(--ink); color: #dfe7f1; display: grid; grid-template-columns: 1.4fr .6fr; gap: 40px; align-items: end; isolation: isolate; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 380px at 100% 100%, rgba(245,130,32,.42), transparent 65%), radial-gradient(500px 300px at 0% 0%, rgba(14,159,148,.32), transparent 65%); }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .25; background-image: radial-gradient(rgba(255,255,255,.35) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(90deg, transparent, #000); -webkit-mask-image: linear-gradient(90deg, transparent, #000); }
.cta h2 { color: #fff; }
.cta p { margin-top: 20px; color: #b9c6d6; max-width: 560px; font-size: 18px; }
.cta .actions { display: flex; justify-content: flex-end; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #b9c6d6; padding: clamp(70px, 8vw, 110px) 0 34px; margin-top: clamp(30px, 4vw, 60px); position: relative; overflow: hidden; }
.site-footer.flush { margin-top: 0; }
.footer-top { display: grid; grid-template-columns: 1.3fr .7fr 1fr 1fr; gap: 48px; }
.footer-brand img { height: 52px; width: auto; background: #fff; padding: 8px 14px; border-radius: 14px; box-sizing: content-box; }
.footer-brand p { margin-top: 22px; font-size: 15px; line-height: 1.7; max-width: 380px; }
.site-footer h4 { font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #7fd8cf; margin-bottom: 20px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.site-footer ul a { font-size: 15px; color: #dfe7f1; transition: color .2s, padding-left .25s var(--ease); }
.site-footer ul a:hover { color: var(--gold); padding-left: 4px; }
.footer-contact li { font-size: 15px; color: #dfe7f1; line-height: 1.55; }
.footer-contact small { display: block; font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #8597ab; margin-bottom: 2px; }
.footer-word { font-family: var(--f-display); font-weight: 300; font-size: clamp(64px, 14vw, 220px); line-height: .8; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.12); margin: clamp(50px, 6vw, 90px) 0 20px; white-space: nowrap; user-select: none; font-variation-settings: "opsz" 144; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13.5px; }
.footer-bottom nav { display: flex; gap: 22px; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(50px, 7vw, 100px)) 0 clamp(50px, 6vw, 90px); overflow: hidden; }
.page-hero .wrap { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(30px, 5vw, 80px); align-items: end; }
.page-hero h1 { font-size: clamp(46px, 6vw, 86px); margin-top: 20px; }
.page-hero .lead { margin-top: 26px; }
.page-hero .ph-media { position: relative; aspect-ratio: 4 / 3.2; border-radius: 200px 200px 26px 26px; overflow: hidden; box-shadow: var(--shadow); }
.page-hero .ph-media img { width: 100%; height: 100%; object-fit: cover; }
.crumbs { display: flex; gap: 10px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.crumbs a:hover { color: var(--saffron-deep); }
.crumbs span[aria-hidden] { opacity: .5; }

/* ---------- About page ---------- */
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.vm-card { padding: 38px 34px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); position: relative; overflow: hidden; }
.vm-card.dark-card { background: var(--ink); color: #c9d5e3; border-color: var(--ink); }
.vm-card.dark-card h3 { color: #fff; }
.vm-card .ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 26px; background: var(--saffron-soft); color: var(--saffron-deep); }
.vm-card.dark-card .ico { background: rgba(14,159,148,.2); color: #7fd8cf; }
.vm-card .ico svg { width: 26px; height: 26px; }
.vm-card h3 { font-size: 30px; margin-bottom: 14px; }
.vm-card p { font-size: 17px; line-height: 1.7; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.value { background: var(--paper); padding: 32px 26px 34px; transition: background-color .35s; }
.value:hover { background: var(--white); }
.value .v-no { font-family: var(--f-mono); font-size: 12px; color: var(--saffron-deep); letter-spacing: .1em; }
.value h3 { margin: 40px 0 10px; font-size: 24px; }
.value p { font-size: 15px; color: var(--muted); line-height: 1.6; }

.team-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 26px; }
.tstat { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 22px 22px 20px; }
.tstat b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 46px; line-height: 1; color: var(--ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.tstat > span { display: block; margin-top: 8px; font-size: 13.5px; color: var(--muted); }
.viz-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 40px; }
.viz-card { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.viz-card h4 { font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.donut-wrap { display: flex; align-items: center; gap: 26px; }
.donut { width: 150px; height: 150px; flex-shrink: 0; }
.donut circle { fill: none; stroke-width: 18; }
.donut .d-bg { stroke: var(--paper-2); }
.donut .d-a { stroke: var(--saffron); stroke-linecap: round; transform: rotate(-90deg); transform-origin: center; stroke-dasharray: 0 999; transition: stroke-dasharray 1.8s var(--ease); }
.donut-legend { display: grid; gap: 12px; font-size: 14px; }
.donut-legend div { display: flex; align-items: center; gap: 10px; }
.donut-legend i { width: 12px; height: 12px; border-radius: 3px; }
.donut-legend b { font-family: var(--f-display); font-weight: 500; font-size: 24px; color: var(--ink); margin-right: 4px; }
.histo { display: flex; align-items: flex-end; gap: 6px; height: 150px; }
.histo div { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.histo i { display: block; width: 100%; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--teal), #7fd8cf); height: 0; transition: height 1.4s var(--ease); transition-delay: calc(var(--i) * 80ms); }
.histo.in i { height: var(--h); }
.histo em { font-style: normal; font-family: var(--f-mono); font-size: 11px; color: var(--muted); white-space: nowrap; }
.histo strong { font-family: var(--f-mono); font-size: 11.5px; color: var(--ink); font-weight: 500; }

.network { display: grid; grid-template-columns: .95fr 1.05fr; gap: 26px; align-items: start; }
.roster { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 26px; min-height: 100%; }
.roster-head { display: flex; justify-content: space-between; align-items: end; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.roster-head h3 { font-size: 30px; }
.roster-head .count { font-family: var(--f-mono); font-size: 13px; color: var(--teal-deep); background: var(--teal-soft); padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.roster-tools { display: flex; gap: 10px; margin-bottom: 16px; }
.roster-tools select, .roster-tools input { flex: 1; min-width: 0; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--paper); font-size: 14px; }
.members { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-height: 640px; overflow-y: auto; padding-right: 4px; scrollbar-width: thin; }
.member { display: flex; gap: 12px; padding: 14px; border-radius: 14px; background: var(--paper); border: 1px solid transparent; transition: border-color .25s, background-color .25s; animation: fadeUp .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 25ms); }
.member:hover { background: #fff; border-color: var(--line-strong); }
.member .av { flex: 0 0 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: 15px; color: #fff; }
.member h5 { margin: 0; font-size: 14.5px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.member .loc { font-size: 12.5px; color: var(--muted); }
.member .facts { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.member .facts span { font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--text); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.ethics-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.ethic { display: flex; align-items: center; gap: 14px; padding: 22px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); color: #e8eef6; font-weight: 600; }
.ethic i { flex: 0 0 38px; height: 38px; border-radius: 12px; background: rgba(233,194,122,.16); color: var(--gold); display: grid; place-items: center; font-style: normal; font-family: var(--f-mono); font-size: 12px; }

/* ---------- Services page ---------- */
.svc-layout { display: grid; grid-template-columns: 260px 1fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.svc-nav { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 4px; }
.svc-nav a { display: flex; gap: 12px; align-items: baseline; padding: 12px 14px; border-radius: 12px; font-weight: 600; font-size: 15px; color: var(--muted); border-left: 2px solid transparent; transition: color .2s, background-color .2s, border-color .2s; }
.svc-nav a span { font-family: var(--f-mono); font-size: 12px; }
.svc-nav a:hover { color: var(--ink); background: rgba(10,26,47,.04); }
.svc-nav a.active { color: var(--ink); border-left-color: var(--saffron); background: var(--white); }
.svc-block { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--white); border-radius: 28px; border: 1px solid var(--line); overflow: hidden; margin-bottom: 26px; }
.svc-block .sb-media { position: relative; min-height: 100%; }
.svc-block .sb-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc-block .sb-media .big-no { position: absolute; left: 24px; bottom: 10px; font-family: var(--f-display); font-weight: 300; font-size: 120px; line-height: 1; color: rgba(255,255,255,.9); text-shadow: 0 8px 30px rgba(0,0,0,.35); }
.svc-block .sb-body { padding: clamp(28px, 3.5vw, 46px); }
.svc-block h2 { font-size: clamp(30px, 3vw, 42px); }
.svc-block .sb-body > p { margin-top: 14px; color: var(--muted); }
.svc-block:nth-of-type(even) .sb-media { order: 2; }
.caps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
.caps li { display: flex; gap: 10px; align-items: flex-start; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 600; line-height: 1.4; }
.caps li::before { content: ""; flex: 0 0 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px var(--teal-soft); }
.sb-count { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-family: var(--f-mono); font-size: 12.5px; color: var(--muted); }

/* ---------- Sectors page ---------- */
.sector-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sector-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); display: flex; flex-direction: column; }
.sector-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.sector-card .sc-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.sector-card .sc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.sector-card:hover .sc-media img { transform: scale(1.06); }
.sector-card .sc-body { padding: 26px; display: grid; gap: 10px; }
.sector-card .sc-body .s-no { font-family: var(--f-mono); font-size: 12px; color: var(--saffron-deep); letter-spacing: .1em; }
.sector-card .sc-body p { color: var(--muted); font-size: 15.5px; }

/* ---------- Approach page ---------- */
.vtimeline { position: relative; display: grid; gap: 0; }
.vtimeline::before { content: ""; position: absolute; left: 39px; top: 0; bottom: 0; width: 2px; background: var(--line-strong); }
.vtimeline .vprog { position: absolute; left: 39px; top: 0; width: 2px; height: var(--p, 0%); background: linear-gradient(180deg, var(--teal), var(--saffron)); }
.vstage { position: relative; display: grid; grid-template-columns: 80px 1fr; gap: clamp(20px, 4vw, 50px); padding: 30px 0; }
.vstage .vdot { position: relative; z-index: 1; width: 80px; height: 80px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 2px solid var(--line-strong); font-family: var(--f-display); font-size: 28px; color: var(--muted); transition: all .6s var(--ease); }
.vstage.in .vdot { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: 0 0 0 8px var(--paper), 0 0 0 9px var(--line); }
.vstage .vcard { background: var(--white); border-radius: 22px; padding: 30px 32px; border: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1.3fr; gap: 30px; align-items: center; }
.vstage .vcard h2 { font-size: clamp(26px, 2.6vw, 36px); }
.vstage .vcard p { color: var(--muted); font-size: 16.5px; }

/* ---------- Experience page ---------- */
.case { background: var(--white); border-radius: 30px; border: 1px solid var(--line); overflow: hidden; margin-bottom: 30px; }
.case-top { display: grid; grid-template-columns: 1.35fr .65fr; }
.case-head { padding: clamp(30px, 4vw, 50px); }
.case-head .ct-tag { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-deep); }
.case-head h2 { font-size: clamp(26px, 2.8vw, 40px); margin-top: 16px; }
.case-head .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.case-figure { position: relative; background: var(--ink); color: #fff; padding: clamp(30px, 4vw, 46px); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; overflow: hidden; isolation: isolate; }
.case-figure::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(400px 260px at 100% 0%, rgba(245,130,32,.35), transparent 70%), radial-gradient(300px 200px at 0% 100%, rgba(14,159,148,.35), transparent 70%); }
.case-figure .cf-lbl { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: #9fb0c3; }
.case-figure .cf-num { font-family: var(--f-display); font-weight: 300; font-size: clamp(72px, 8vw, 116px); line-height: .9; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.case-figure .cf-num small { font-size: .32em; letter-spacing: 0; margin-left: 6px; color: var(--gold); font-weight: 400; }
.case-figure .cf-unit { font-size: 15px; color: #c9d5e3; margin-top: 10px; }
.case-figure .cf-subs { display: grid; grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)); gap: 14px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); }
.case-figure .cf-subs b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 30px; line-height: 1; }
.case-figure .cf-subs span { font-size: 12px; color: #9fb0c3; }
.case-figure .ring-done { display: flex; align-items: center; gap: 14px; font-size: 13px; color: #c9d5e3; }
.case-figure .ring-done svg { width: 54px; height: 54px; }
.case-figure .ring-done circle { fill: none; stroke-width: 6; }
.case-figure .ring-done .rd-a { stroke: var(--gold); stroke-linecap: round; transform: rotate(-90deg); transform-origin: center; stroke-dasharray: 0 200; transition: stroke-dasharray 1.8s var(--ease) .3s; }
.case.in .ring-done .rd-a { stroke-dasharray: var(--d) 200; }
.case-body { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.case-body .cb { padding: 26px clamp(22px, 3vw, 34px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.case-body .cb:nth-child(3n) { border-right: 0; }
.case-body .cb.wide { grid-column: span 3; border-right: 0; }
.case-body dt { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.case-body dt::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--saffron); }
.case-body dd { margin: 0; font-size: 15.5px; line-height: 1.65; color: var(--text); }
.case-body dl { margin: 0; }
.list-split { display: flex; flex-wrap: wrap; gap: 6px; }
.list-split span { font-size: 13px; font-weight: 600; padding: 6px 11px; border-radius: 999px; background: var(--paper-2); }

/* ---------- Coverage page ---------- */
.cov-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 26px; align-items: start; }
.cov-panel { background: var(--white); border-radius: 26px; border: 1px solid var(--line); overflow: hidden; position: sticky; top: calc(var(--header-h) + 20px); }
.cov-panel .cp-head { background: var(--ink); color: #fff; padding: 28px 30px; position: relative; overflow: hidden; isolation: isolate; }
.cov-panel .cp-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(360px 200px at 100% 0%, rgba(14,159,148,.4), transparent 70%); }
.cov-panel .cp-head .badge { display: inline-flex; gap: 8px; align-items: center; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: #7fd8cf; }
.cov-panel .cp-head h2 { color: #fff; font-size: 38px; margin-top: 10px; }
.cov-panel .cp-head p { color: #b9c6d6; font-size: 14.5px; margin-top: 6px; }
.cov-panel .cp-team { display: flex; gap: 22px; margin-top: 18px; }
.cov-panel .cp-team div b { display: block; font-family: var(--f-display); font-size: 30px; font-weight: 400; line-height: 1; }
.cov-panel .cp-team div span { font-size: 12px; color: #9fb0c3; }
.cov-panel dl { margin: 0; padding: 8px 30px 26px; }
.cov-panel dt { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin-top: 20px; }
.cov-panel dd { margin: 6px 0 0; font-size: 15px; line-height: 1.6; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.cov-panel dd:last-child { border-bottom: 0; }
.cov-panel dd.pending { color: var(--muted-2); font-style: italic; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.contact-aside { display: grid; gap: 18px; position: sticky; top: calc(var(--header-h) + 20px); }
.c-item { display: flex; gap: 16px; padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; transition: border-color .25s, transform .4s var(--ease); }
a.c-item:hover { border-color: var(--saffron); transform: translateY(-2px); }
.c-item .ci { flex: 0 0 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--saffron-soft); color: var(--saffron-deep); }
.c-item .ci svg { width: 22px; height: 22px; }
.c-item small { display: block; font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.c-item b { display: block; font-size: 16px; color: var(--ink); margin-top: 2px; font-weight: 700; line-height: 1.45; }
.tip-card { padding: 26px; border-radius: 18px; background: var(--ink); color: #c9d5e3; font-size: 15px; line-height: 1.65; }
.tip-card b { color: var(--gold); font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; display: block; margin-bottom: 10px; font-weight: 500; }
.form-card { background: var(--white); border-radius: 28px; border: 1px solid var(--line); padding: clamp(26px, 4vw, 50px); box-shadow: var(--shadow-sm); }
.form-card h2 { font-size: clamp(32px, 3.4vw, 46px); }
.form-card > p { color: var(--muted); margin-top: 12px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 34px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.field label .req { color: var(--saffron-deep); }
.field input, .field select, .field textarea { width: 100%; padding: 15px 16px; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--paper); font-size: 15.5px; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(14,159,148,.15); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #d64545; }
.field .err { font-size: 12.5px; color: #c23a3a; min-height: 0; }
.drop { position: relative; display: flex; align-items: center; gap: 16px; padding: 20px; border: 1.5px dashed var(--line-strong); border-radius: 16px; background: var(--paper); cursor: pointer; transition: border-color .2s, background-color .2s; }
.drop:hover, .drop.drag { border-color: var(--teal); background: var(--teal-soft); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop .di { flex: 0 0 46px; height: 46px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--teal-deep); border: 1px solid var(--line); }
.drop .di svg { width: 20px; height: 20px; }
.drop b { display: block; font-size: 15px; color: var(--ink); }
.drop span { font-size: 13px; color: var(--muted); }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 28px; flex-wrap: wrap; }
.form-note { font-size: 13px; color: var(--muted); }
.form-status { margin-top: 18px; padding: 14px 16px; border-radius: 14px; font-size: 14.5px; font-weight: 600; display: none; }
.form-status.ok { display: block; background: var(--teal-soft); color: var(--teal-deep); }
.form-status.bad { display: block; background: #fde4e4; color: #a62c2c; }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* ---------- Legal ---------- */
.legal { display: grid; grid-template-columns: 240px 1fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.legal-nav { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 6px; }
.legal-nav a { padding: 12px 16px; border-radius: 12px; font-weight: 600; color: var(--muted); }
.legal-nav a[aria-current="page"] { background: var(--white); color: var(--ink); box-shadow: var(--shadow-sm); }
.legal-body { background: var(--white); border-radius: 26px; border: 1px solid var(--line); padding: clamp(28px, 4vw, 56px); max-width: 820px; }
.legal-body h2 { font-size: 26px; margin: 38px 0 12px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { color: var(--muted); font-size: 16.5px; line-height: 1.75; }
.legal-body ul { padding-left: 20px; }

/* ---------- Scroll progress ---------- */
.scroll-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.scroll-progress i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); background: linear-gradient(90deg, var(--teal), var(--saffron)); }

/* ---------- Why us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.why-card { position: relative; padding: 34px 28px 30px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease), background-color .4s; isolation: isolate; }
.why-card::after { content: ""; position: absolute; z-index: -1; width: 220px; height: 220px; right: -90px; top: -90px; border-radius: 50%; background: radial-gradient(circle, rgba(245,130,32,.18), transparent 70%); opacity: 0; transition: opacity .5s; }
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); background: #fff; }
.why-card:hover::after { opacity: 1; }
.why-no { position: absolute; right: 24px; top: 20px; font-family: var(--f-display); font-size: 54px; font-weight: 300; line-height: 1; color: rgba(10,26,47,.08); }
.why-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--ink); color: var(--gold); margin-bottom: 30px; }
.why-ico svg { width: 24px; height: 24px; }
.why-card h3 { font-size: 23px; }
.why-card p { margin-top: 12px; color: var(--muted); font-size: 15.5px; }

/* ---------- Institutions ---------- */
.inst { background: var(--white); border-block: 1px solid var(--line); overflow: hidden; }
.inst-rows { display: grid; gap: 18px; }
.inst .marquee-track { animation-duration: 60s; }
.inst .marquee-track span { font-size: clamp(22px, 2.2vw, 30px); color: var(--ink); }
.inst .marquee-track span::after { content: "◆"; font-size: 10px; color: var(--teal); }
.marquee-track.reverse { animation-direction: reverse; }

/* ---------- Founder note ---------- */
.founder { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: clamp(24px, 4vw, 60px); align-items: center; padding: clamp(34px, 5vw, 60px); border-radius: 30px; background: linear-gradient(135deg, #fff, var(--paper-2)); border: 1px solid var(--line); overflow: hidden; }
.founder::before { content: "“"; position: absolute; right: 4%; top: -40px; font-family: var(--f-display); font-size: 300px; line-height: 1; color: rgba(245,130,32,.10); pointer-events: none; }
.f-mark { width: 110px; height: 110px; border-radius: 50%; padding: 4px; background: conic-gradient(var(--saffron), var(--teal), var(--sky), var(--saffron)); }
.f-mark span { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: var(--ink); color: var(--gold); font-family: var(--f-display); font-size: 64px; padding-top: 26px; letter-spacing: .02em; }
.founder blockquote { margin: 0; }
.founder blockquote p { font-family: var(--f-display); font-size: clamp(26px, 3vw, 42px); line-height: 1.2; color: var(--ink); letter-spacing: -.015em; }
.founder footer { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; }
.founder footer b { font-size: 16px; color: var(--ink); }
.founder footer span { font-size: 14px; color: var(--muted); }

/* ---------- Daily quality cycle ---------- */
.cycle { position: relative; margin-bottom: clamp(50px, 6vw, 80px); }
.cycle ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; }
.cyc-track { position: absolute; left: 22px; right: 22px; top: 22px; height: 2px; background: var(--line-strong); overflow: hidden; border-radius: 2px; }
.cyc-track i { position: absolute; top: 0; left: -30%; width: 30%; height: 100%; background: linear-gradient(90deg, transparent, var(--saffron), var(--teal), transparent); animation: travel 4.5s linear infinite; }
@keyframes travel { to { left: 100%; } }
.cyc { position: relative; padding-top: 70px; }
.cyc-dot { position: absolute; top: 0; left: 0; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-family: var(--f-display); font-size: 20px; box-shadow: 0 0 0 7px var(--white); }
.cyc:last-child .cyc-dot { background: var(--saffron); color: #1b0e02; }
.cyc-when { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-deep); }
.cyc h4 { margin-top: 8px; font-size: 21px; }
.cyc p { margin-top: 8px; font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.checks-wrap { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(30px, 5vw, 70px); align-items: center; padding: clamp(28px, 4vw, 46px); border-radius: 28px; background: var(--ink); color: #dfe7f1; position: relative; overflow: hidden; isolation: isolate; }
.checks-wrap::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px 260px at 0% 100%, rgba(14,159,148,.35), transparent 70%), radial-gradient(420px 260px at 100% 0%, rgba(245,130,32,.25), transparent 70%); }
.checks-wrap .eyebrow { color: #7fd8cf; }
.checks-big { margin-top: 16px; display: grid; }
.checks-big span { font-family: var(--f-display); font-weight: 300; font-size: clamp(80px, 9vw, 130px); line-height: .9; color: #fff; }
.checks-big small { font-size: 15px; color: #b9c6d6; margin-top: 10px; }
.daily-checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.daily-checks li { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); font-weight: 600; font-size: 14.5px; color: #eef3f9; }
.daily-checks i { font-style: normal; font-family: var(--f-mono); font-size: 11.5px; color: var(--gold); }
.safe-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 22px; }
.safe { padding: 30px 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper); }
.safe .why-ico { background: var(--teal-soft); color: var(--teal-deep); margin-bottom: 22px; }
.safe h3 { font-size: 22px; }
.safe p { margin-top: 10px; color: var(--muted); font-size: 15.5px; }

/* ---------- Leadership ---------- */
.leader { display: grid; grid-template-columns: .8fr 1.2fr; gap: 22px; align-items: stretch; }
.leader-card { position: relative; padding: clamp(30px, 4vw, 44px); border-radius: 28px; background: var(--ink); color: #c9d5e3; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; }
.leader-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(380px 260px at 100% 0%, rgba(245,130,32,.4), transparent 70%), radial-gradient(320px 240px at 0% 100%, rgba(14,159,148,.35), transparent 70%); }
.leader-mono svg { width: 56px; height: 56px; color: var(--gold); }
.leader-mono { width: 132px; height: 132px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-display); font-size: 48px; color: #fff; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); box-shadow: 0 0 0 10px rgba(255,255,255,.03); margin-bottom: 34px; }
.leader-card h3 { color: #fff; font-size: 36px; }
.leader-role { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-top: 8px; }
.leader-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: auto; padding-top: 34px; }
.leader-stats b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 40px; color: #fff; line-height: 1; }
.leader-stats span { font-size: 13px; color: #9fb0c3; }
.leader-bio { padding: clamp(30px, 4vw, 48px); border-radius: 28px; background: var(--white); border: 1px solid var(--line); display: grid; gap: 18px; align-content: start; }
.leader-bio p { font-size: 17px; line-height: 1.75; color: var(--muted); }
.leader-bio p:first-child { font-family: var(--f-display); font-size: clamp(20px, 1.8vw, 24px); line-height: 1.5; color: var(--ink); }
.chips-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }

/* ---------- Designs / company / tools / remote ---------- */
.designs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.design { padding: 30px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.design b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 54px; line-height: 1; color: var(--ink); letter-spacing: -.02em; }
.design b::after { content: ""; display: block; width: 36px; height: 3px; margin-top: 18px; background: var(--saffron); border-radius: 3px; }
.design p { margin-top: 16px; color: var(--muted); font-size: 15.5px; }
.company { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 5vw, 70px); align-items: start; padding: clamp(30px, 4vw, 50px); border-radius: 28px; background: var(--white); border: 1px solid var(--line); }
.company h2 { font-size: clamp(28px, 3vw, 40px); }
.company-dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; }
.company-dl div { padding: 16px 0; border-bottom: 1px solid var(--line); padding-right: 18px; }
.company-dl dt { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.company-dl dd { margin: 6px 0 0; font-weight: 600; color: var(--ink); font-size: 15.5px; line-height: 1.5; }
.tools-band { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; padding: clamp(28px, 4vw, 44px); border-radius: 26px; background: var(--ink); color: #c9d5e3; }
.tools-band .eyebrow { color: #7fd8cf; }
.tools-band p { margin-top: 14px; font-size: 17px; line-height: 1.65; }
.tools { display: flex; flex-wrap: wrap; gap: 10px; }
.tool { padding: 12px 18px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: #fff; font-family: var(--f-mono); font-size: 14px; transition: background-color .25s, border-color .25s, transform .3s var(--ease); }
.tool:hover { background: rgba(245,130,32,.15); border-color: var(--saffron); transform: translateY(-2px); }
.remote { display: grid; grid-template-columns: 1fr 1fr; border-radius: 28px; overflow: hidden; background: var(--white); border: 1px solid var(--line); }
.remote-media { position: relative; min-height: 320px; }
.remote-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.remote-body { padding: clamp(30px, 4vw, 54px); }
.remote-body h2 { font-size: clamp(30px, 3vw, 42px); }
.remote-body p { margin: 18px 0 20px; color: var(--muted); font-size: 17px; line-height: 1.7; }

@media (max-width: 1080px) {
  .why-grid { grid-template-columns: 1fr 1fr; }
  .cycle ol { grid-template-columns: 1fr 1fr; row-gap: 34px; }
  .cyc-track { display: none; }
}
@media (max-width: 980px) {
  .founder { grid-template-columns: 1fr; }
  .checks-wrap, .leader, .company, .tools-band, .remote { grid-template-columns: 1fr; }
  .safe-grid, .designs { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .why-grid, .cycle ol, .daily-checks, .company-dl { grid-template-columns: 1fr; }
  .f-mark { width: 84px; height: 84px; }
  .f-mark span { font-size: 28px; }
}

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.in { opacity: 1; transform: none; }
.hero h1 .line > span { animation: rise 1.1s var(--ease) both; animation-delay: calc(var(--d, 0) * 120ms + 100ms); }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(4, 1fr); row-gap: 40px; }
  .timeline::before, .timeline .progress { display: none; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .hero .wrap, .page-hero .wrap, .about-grid, .qa-wrap, .map-layout, .network, .cov-layout, .contact-layout, .cta, .section-head.split { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; width: 100%; margin-inline: auto; }
  .page-hero .ph-media { max-width: 560px; aspect-ratio: 16 / 10; border-radius: 26px; }
  .svc-grid, .sector-list { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(n) { border-right: 1px solid rgba(255,255,255,.12); margin-right: 28px; }
  .stat:nth-child(2n) { border-right: 0; margin-right: 0; }
  .sector-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 240px; }
  .sector, .sector:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .sector:nth-child(1) { grid-column: span 2; }
  .svc-layout, .legal { grid-template-columns: 1fr; }
  .svc-nav, .legal-nav { position: static; display: flex; overflow-x: auto; gap: 6px; padding-bottom: 6px; }
  .svc-nav a, .legal-nav a { white-space: nowrap; border-left: 0; border-bottom: 2px solid transparent; }
  .svc-nav a.active { border-bottom-color: var(--saffron); }
  .svc-block { grid-template-columns: 1fr; }
  .svc-block .sb-media { aspect-ratio: 16 / 9; order: 0 !important; }
  .vstage .vcard { grid-template-columns: 1fr; gap: 12px; }
  .case-top { grid-template-columns: 1fr; }
  .case-body { grid-template-columns: 1fr 1fr; }
  .case-body .cb:nth-child(3n) { border-right: 1px solid var(--line); }
  .case-body .cb:nth-child(2n) { border-right: 0; }
  .case-body .cb.wide { grid-column: span 2; }
  .cov-panel, .contact-aside { position: static; }
  .cta .actions { justify-content: flex-start; }
  .team-stats { grid-template-columns: 1fr 1fr; }
  .viz-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  :root { --header-h: 70px; }
  .brand img { height: 42px; }
  .svc-grid, .sector-list, .cases-grid, .vm-grid, .values-grid, .qa-checks, .form-grid, .caps, .members { grid-template-columns: 1fr; }
  .sector-grid { grid-template-columns: 1fr; }
  .sector:nth-child(1) { grid-column: span 1; }
  .sector p { max-height: 120px; opacity: 1; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 26px 14px 6px 0; margin-right: 14px; }
  .float-card.team { left: 0; top: 6%; }
  .float-card.qa { width: 220px; left: 0; }
  .hero-proof { gap: 22px; }
  .marquee-row { flex-direction: column; align-items: flex-start; gap: 14px; }
  .marquee { width: 100%; }
  .case-body { grid-template-columns: 1fr; }
  .case-body .cb, .case-body .cb:nth-child(n) { border-right: 0; }
  .case-body .cb.wide { grid-column: span 1; }
  .vtimeline::before, .vtimeline .vprog { left: 27px; }
  .vstage { grid-template-columns: 56px 1fr; gap: 16px; }
  .vstage .vdot { width: 56px; height: 56px; font-size: 21px; }
  .vstage .vcard { padding: 22px; }
  .bar-row { grid-template-columns: 104px 1fr 32px; gap: 10px; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .donut-wrap { flex-direction: column; align-items: flex-start; }
  .team-stats { gap: 10px; }
  .tstat b { font-size: 36px; }
  .roster-tools { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal, .hero h1 .line > span { opacity: 1; transform: none; animation: none; }
  .marquee-track { animation: none; }
}

/* Case study field-progress table */
.fp-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.fp-table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 560px; }
.fp-table th { text-align: left; font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); font-weight: 500; padding: 10px 14px 10px 0; border-bottom: 1px solid var(--line); }
.fp-table td { padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); color: var(--text); vertical-align: top; }
.fp-table th:nth-child(n+3), .fp-table td:nth-child(n+3) { text-align: right; font-variant-numeric: tabular-nums; }
.fp-table tfoot td { font-weight: 700; color: var(--ink); border-bottom: 0; }
.fp-note { margin: 16px 0 0; font-size: 13.5px; color: var(--muted); line-height: 1.6; }
