/* Savana Consultancy Ltd: public site (engine shared with the Revolve Research rebuild).
   Mobile first. Colours, fonts and corner radius come from the admin (theme_css() sets the custom properties).
   Motion: html[data-motion=full|calm|off] (admin setting) and prefers-reduced-motion both switch the 3D/motion layer down. */

@property --rz { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

/* Self-hosted fonts (latin subset, variable weights): no request to Google before the first paint. Other fonts picked in the
   admin still load from Google Fonts (fonts_head()). */
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 500 800; font-display: swap; src: url(../fonts/sora-latin.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(../fonts/inter-latin.woff2) format('woff2'); }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/instrument-serif-italic-latin.woff2) format('woff2'); }

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.65; color: #2a3350; background: #fbfcff; overflow-x: hidden; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-700); }
h1, h2, h3, h4, h5, .h3, .h4, .h5 { font-family: var(--font-head); color: var(--dark); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 700; }
h1 { font-size: clamp(2rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.6rem); }
h3, .h3 { font-size: 1.25rem; }
.h4 { font-size: 1.1rem; }
.h5 { font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; }
h2 em, h1 em, .hl, .accent-em { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: 0; }
p { margin: 0 0 1em; }
.lead { font-size: 1.1rem; color: #4a5373; }
.small { font-size: .875rem; }
.muted { color: #67708d; }
.muted-light { color: rgba(255, 255, 255, .7); }
.center { text-align: center; }
.mt { margin-top: 1rem; }
.mt-lg { margin-top: 2.5rem; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.container.narrow { max-width: 860px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--dark); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.ic { flex-shrink: 0; vertical-align: middle; }
hr { border: 0; border-top: 1px solid #e4e8f3; margin: 1.25rem 0; }

/* ---------------------------------------------------------------- sections */
.section { padding: 64px 0; position: relative; }
.bg-soft { background: var(--soft); }
.bg-brand { background: linear-gradient(135deg, var(--brand), var(--brand-700)); color: #fff; }
.bg-dark { background: radial-gradient(1200px 600px at 80% -10%, rgba(var(--brand-rgb), .35), transparent 60%), var(--dark); color: #d9def0; }
.bg-brand h2, .bg-brand h3, .bg-dark h2, .bg-dark h3 { color: #fff; }
.bg-dark .lead, .bg-brand .lead { color: rgba(255, 255, 255, .78); }
.bg-dark.section, .bg-brand.section { margin: 0 12px; border-radius: var(--r-lg); }
.section-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head h2 { margin-bottom: .35em; }
.section-head .lead { margin: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-700); margin-bottom: 12px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.bg-dark .eyebrow, .eyebrow.light { color: #ffb47f; }

/* ---------------------------------------------------------------- buttons */
.btn { --bg: var(--brand); display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 11px 22px; border-radius: var(--r-pill); border: 1.5px solid transparent;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; line-height: 1.2; text-decoration: none; cursor: pointer; white-space: nowrap; position: relative;
  transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s, background-color .2s, color .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -10px rgba(var(--brand-rgb), .7); }
.btn-primary:hover { background: var(--brand-700); color: #fff; box-shadow: 0 16px 30px -12px rgba(var(--brand-rgb), .8); }
.btn-accent { background: linear-gradient(135deg, var(--accent), var(--accent-700)); color: #fff; box-shadow: 0 10px 26px -10px rgba(var(--accent-rgb), .8); }
.btn-accent:hover { color: #fff; box-shadow: 0 18px 34px -12px rgba(var(--accent-rgb), .9); }
.btn-outline { border-color: rgba(var(--brand-rgb), .3); color: var(--brand); background: #fff; }
.btn-outline:hover { border-color: var(--brand); background: var(--brand-50); }
.btn-glass { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .28); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, .3); background: transparent; }
.btn-ghost-light:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.btn-white { background: #fff; color: var(--dark); box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .35); }
.btn-lg { min-height: 54px; padding: 14px 28px; font-size: 1.02rem; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .88rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5rem; }
.btn-row.center { justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; text-decoration: none; margin-top: 1rem; }
.link-arrow .ic { transition: transform .25s; }
.link-arrow:hover .ic { transform: translateX(4px); }
.bg-dark .link-arrow { color: #ffb47f; }
.round-btn { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(var(--brand-rgb), .25); background: #fff; color: var(--brand); display: inline-grid; place-items: center; cursor: pointer; transition: .2s; }
.round-btn:hover { background: var(--brand); color: #fff; transform: translateY(-2px); }

.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-flex; align-items: center; padding: 4px 11px; border-radius: var(--r-pill); font-size: .76rem; font-weight: 600; line-height: 1.4; background: var(--brand-50); color: var(--brand-700); border: 1px solid rgba(var(--brand-rgb), .12); text-decoration: none; }
.tags.lg .tag { font-size: .85rem; padding: 6px 14px; }
a.tag:hover { background: var(--brand); color: #fff; }
.count-pill { display: inline-grid; place-items: center; min-width: 28px; height: 28px; padding: 0 8px; border-radius: 99px; background: var(--accent-50); color: var(--accent-700); font-size: .85rem; vertical-align: middle; }
.ticks { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .ic { color: #fff; background: var(--accent); border-radius: 50%; padding: 3px; width: 22px; height: 22px; margin-top: 2px; }
.prose { color: #3b4463; }
.prose.lg { font-size: 1.06rem; }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .35em; }
.prose blockquote { margin: 1.5em 0; padding: 1em 1.4em; border-left: 4px solid var(--accent); background: var(--soft); border-radius: 0 var(--r) var(--r) 0; }

.alert { display: flex; gap: 10px; align-items: flex-start; padding: 13px 16px; border-radius: var(--r); margin: 0 0 12px; font-size: .95rem; }
.alert-success { background: #e8f8ef; color: #135c35; }
.alert-error { background: #fdecec; color: #8a1c1c; }
.alert-info { background: var(--brand-50); color: var(--brand-700); }
.flash-wrap { position: relative; z-index: 3; padding-top: 104px; margin-bottom: -84px; }
.hero-overlay .flash-wrap { padding-top: 110px; margin-bottom: -96px; }

/* ---------------------------------------------------------------- header: floating pill */
.scroll-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--accent), #ffb47f); }
.announce { background: var(--dark); color: #fff; text-align: center; font-size: .88rem; padding: 8px 16px; }
.announce a { color: #fff; }
.site-header { position: fixed; top: 12px; left: 0; right: 0; z-index: 50; padding: 0 12px; pointer-events: none; transition: top .3s; }
.header-pill { pointer-events: auto; max-width: 1240px; margin: 0 auto; display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 10px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .86); border: 1px solid rgba(255, 255, 255, .7); box-shadow: 0 10px 40px -18px rgba(var(--dark-rgb), .45);
  backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); transition: background .35s, box-shadow .35s, border-color .35s, padding .35s; }
.hero-overlay .site-header:not(.scrolled) .header-pill { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); box-shadow: none; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.site-header.scrolled .header-pill { background: rgba(255, 255, 255, .72); box-shadow: 0 14px 40px -16px rgba(var(--dark-rgb), .35); }
.logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.logo-chip { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: var(--r-pill); background: #fff; transition: box-shadow .3s; }
.logo img { width: auto; height: 34px; }
.hero-overlay .site-header:not(.scrolled) .logo-chip { box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .5); }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--dark); cursor: pointer; display: grid; place-content: center; gap: 5px; padding: 0; }
.nav-toggle span { display: block; width: 20px; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s, opacity .3s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.hide-sm { display: none !important; }

/* mobile menu: a dark glass sheet that unfolds in 3D */
@media (max-width: 1023px) {
  .header-actions { margin-left: auto; } /* the nav is lifted out of the bar here, so the button pushes itself right */
  .main-nav { position: fixed; inset: 76px 12px auto; max-height: calc(100vh - 92px); overflow: auto; padding: 18px; border-radius: var(--r-lg);
    background: rgba(var(--dark-rgb), .96); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55);
    transform-origin: 50% 0; transform: perspective(900px) rotateX(-14deg) translateY(-10px); opacity: 0; visibility: hidden; transition: transform .45s cubic-bezier(.2, .8, .2, 1), opacity .3s, visibility .3s; }
  .nav-open .main-nav { transform: none; opacity: 1; visibility: visible; }
  .main-nav li { opacity: 0; transform: translateY(10px); transition: .4s; transition-delay: calc(var(--n, 0) * 40ms); }
  .nav-open .main-nav li { opacity: 1; transform: none; }
  .main-nav a { display: block; padding: 12px 10px; color: #fff; text-decoration: none; font-family: var(--font-head); font-size: 1.15rem; font-weight: 600; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .main-nav a.active { color: #ffb47f; }
  .nav-mobile-extra { display: grid; gap: 10px; margin-top: 16px; }
  .nav-contact { display: flex !important; align-items: center; gap: 8px; color: rgba(255, 255, 255, .8) !important; font-size: .95rem !important; border: 0 !important; padding: 4px 10px !important; }
}
@media (min-width: 1024px) {
  .hide-sm { display: inline-flex !important; }
  .nav-toggle, .nav-mobile-extra { display: none; }
  .main-nav ul { display: flex; gap: 2px; }
  .main-nav a { position: relative; display: block; padding: 10px 14px; border-radius: var(--r-pill); color: var(--dark); text-decoration: none; font-family: var(--font-head); font-weight: 600; font-size: .92rem; transition: color .2s, background .2s; }
  .main-nav a:hover { background: rgba(var(--brand-rgb), .07); color: var(--brand); }
  .main-nav a.active { color: var(--brand); }
  .main-nav a.active::after { content: ""; position: absolute; left: 50%; bottom: 4px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); transform: translateX(-50%); }
  .hero-overlay .site-header:not(.scrolled) .main-nav a { color: #fff; }
  .hero-overlay .site-header:not(.scrolled) .main-nav a:hover { background: rgba(255, 255, 255, .12); }
  .hero-overlay .site-header:not(.scrolled) .main-nav a.active { color: #ffb47f; }
}

/* ---------------------------------------------------------------- hero: rounded card with a 3D scene */
.hero { padding: 12px 12px 0; }
.hero-card { position: relative; overflow: hidden; border-radius: var(--r-lg); color: #fff; min-height: 640px; display: flex; align-items: center; isolation: isolate;
  background: linear-gradient(140deg, var(--dark-950) 0%, var(--dark) 38%, var(--brand-700) 100%); }
.hero-photo { position: absolute; inset: 0; opacity: .28; mix-blend-mode: luminosity; z-index: -2; }
.hero-photo picture, .hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-mesh { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
/* soft glows drawn as radial gradients (a blur filter on such large elements was costly on phones) */
.hero-mesh span { position: absolute; border-radius: 50%; opacity: .55; animation: drift 18s ease-in-out infinite alternate; will-change: transform; }
.hero-mesh span:nth-child(1) { width: 46vw; height: 46vw; max-width: 620px; max-height: 620px; background: radial-gradient(circle, rgba(var(--brand-rgb), .9) 20%, rgba(var(--brand-rgb), .35) 50%, transparent 72%); right: -10%; top: -20%; transform: scale(1.3); }
.hero-mesh span:nth-child(2) { width: 30vw; height: 30vw; max-width: 420px; max-height: 420px; background: radial-gradient(circle, rgba(var(--accent-rgb), .55) 20%, rgba(var(--accent-rgb), .2) 50%, transparent 72%); right: 18%; bottom: -22%; animation-duration: 22s; animation-delay: -6s; }
.hero-mesh span:nth-child(3) { width: 34vw; height: 34vw; max-width: 480px; max-height: 480px; background: radial-gradient(circle, rgba(60, 90, 255, .35) 20%, rgba(60, 90, 255, .12) 50%, transparent 72%); left: -12%; top: 10%; animation-duration: 26s; animation-delay: -12s; }
@keyframes drift { to { transform: translate3d(6%, 8%, 0) scale(1.15); } }
/* a still perspective "data floor" (animating its grid repainted a large area every frame) */
.hero-floor { position: absolute; left: -50%; right: -50%; bottom: -2px; height: 55%; z-index: -1; transform-origin: 50% 100%; transform: perspective(500px) rotateX(62deg);
  background-image: linear-gradient(rgba(255, 255, 255, .13) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .13) 1px, transparent 1px); background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 90%); mask-image: linear-gradient(to top, #000 10%, transparent 90%); }
@keyframes floor { to { background-position: 0 56px, 0 0; } }
.hero-in { position: relative; width: 100%; max-width: 1240px; margin: 0 auto; padding: 120px 20px 70px; display: grid; gap: 32px; align-items: center; }
.hero-copy { max-width: 660px; position: relative; z-index: 2; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); font-size: .82rem; font-weight: 600; letter-spacing: .02em; margin-bottom: 22px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero-title { color: #fff; font-size: clamp(2.2rem, 7.2vw, 4.4rem); line-height: 1.04; letter-spacing: -.035em; margin-bottom: 22px; }
.hero-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.hero-title .w > span { display: inline-block; animation: rise .9s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i) * 55ms + 120ms); }
@keyframes rise { from { transform: translateY(105%) rotateX(-40deg); opacity: 0; } to { transform: none; opacity: 1; } }
.hero-title .hl { font-size: 1.08em; color: #ff9a5a; }
.hero-title .hl .w > span, .hero-page .hero-title .hl { color: transparent; background: linear-gradient(100deg, #ffc49b, var(--accent) 55%, #ffb47f); -webkit-background-clip: text; background-clip: text; padding-right: .06em; }
.hero-text { font-size: clamp(1rem, 2.2vw, 1.15rem); color: rgba(255, 255, 255, .8); max-width: 580px; animation: fadeUp .9s .5s both; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; animation: fadeUp .9s .65s both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* the scene: a globe with three tilted orbits (the logo's three nodes) and floating glass fact cards */
.scene { position: relative; height: 340px; perspective: 1100px; animation: fadeUp 1.2s .3s both; }
.scene-tilt { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(calc(var(--my, 0) * -8deg)) rotateY(calc(var(--mx, 0) * 12deg)); transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.globe { position: absolute; left: 50%; top: 50%; width: 230px; height: 230px; margin: -115px 0 0 -115px; border-radius: 50%; transform: translateZ(0); animation: bob 7s ease-in-out infinite;
  box-shadow: 0 0 0 8px rgba(var(--brand-rgb), .55), 0 0 0 9px rgba(255, 255, 255, .25), 0 40px 80px -20px rgba(0, 0, 0, .7), 0 0 90px rgba(var(--brand-rgb), .65); }
@keyframes bob { 50% { translate: 0 -10px; } }
.globe-tex { position: absolute; inset: 0; border-radius: 50%; background-size: cover; background-position: center; }
.globe-grid { background: radial-gradient(circle at 35% 30%, var(--brand-300), var(--brand) 45%, var(--dark) 100%); }
.globe-shade { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .35), transparent 34%), radial-gradient(circle at 70% 75%, rgba(var(--dark-rgb), .75), transparent 62%); mix-blend-mode: multiply; }
.globe-shade::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .45), transparent 22%); mix-blend-mode: screen; }
.globe-lines { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: rgba(255, 255, 255, .22); stroke-width: .6; animation: spin 40s linear infinite; }
/* Each orbit is drawn twice (back half behind the globe, front half over it) so no 3D planes cut through the globe */
.globe-wrap { position: absolute; inset: 0; transform: translateZ(0); }
.orb { position: absolute; left: 50%; top: 50%; width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2); transform: rotate(var(--tilt)); pointer-events: none; }
.orb.back { clip-path: inset(-20% -20% 50% -20%); z-index: 0; }
.orb.front { clip-path: inset(50% -20% -20% -20%); z-index: 2; }
.ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .22); transform: rotateX(var(--lean)) rotateZ(var(--rz)); animation: ringSpin var(--dur) linear infinite; }
.ring::before { content: ""; position: absolute; inset: -1.5px; border-radius: 50%; border: 1.5px solid transparent; border-top-color: rgba(var(--accent-rgb), .9); border-right-color: rgba(var(--accent-rgb), .25); }
.o1 { --s: 330px; --tilt: -14deg; --lean: 72deg; --dur: 14s; }
.o2 { --s: 400px; --tilt: 18deg; --lean: 70deg; --dur: 22s; }
.o2 .ring { border-style: dashed; border-color: rgba(255, 255, 255, .14); animation-direction: reverse; }
.o3 { --s: 280px; --tilt: 40deg; --lean: 78deg; --dur: 18s; }
.globe { z-index: 1; }
.node { position: absolute; top: -9px; left: 50%; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ffc79c, var(--accent) 60%, var(--accent-700)); box-shadow: 0 0 18px rgba(var(--accent-rgb), .9); }
.node.n2 { top: auto; bottom: -9px; width: 12px; height: 12px; margin-left: -6px; background: #fff; box-shadow: 0 0 14px rgba(255, 255, 255, .9); }
@keyframes spin { to { transform: rotate(360deg); } }
.float-chip { position: absolute; display: grid; gap: 2px; padding: 12px 16px; border-radius: 16px; min-width: 150px; max-width: 200px; color: #fff;
  background: linear-gradient(145deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .06)); border: 1px solid rgba(255, 255, 255, .25); box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .6);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); animation: bob 8s ease-in-out infinite; }
.float-chip strong { font-family: var(--font-head); font-size: 1.55rem; line-height: 1; }
.float-chip > span { font-size: .74rem; line-height: 1.35; color: rgba(255, 255, 255, .78); }
.float-chip.c1 { left: 0; top: 4%; transform: translateZ(90px); animation-delay: -2s; }
.float-chip.c2 { right: 0; bottom: 14%; transform: translateZ(140px); animation-delay: -4s; }
.float-chip.c3 { left: 0; bottom: 2%; transform: translateZ(60px); animation-delay: -6s; }
.float-chip.c1 strong { color: #ffb47f; }
.scroll-cue { position: absolute; left: 50%; bottom: 18px; width: 26px; height: 42px; margin-left: -13px; border-radius: 14px; border: 2px solid rgba(255, 255, 255, .35); display: none; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: rgba(255, 255, 255, .7); animation: cue 1.8s infinite; }
@keyframes cue { 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* compact hero for inner pages, with a fact card on the right (real details about the company or the page) */
.hero-compact .hero-card { min-height: 380px; }
.hero-compact .hero-in { padding: 112px 20px 48px; }
.hero-compact .hero-title { font-size: clamp(1.9rem, 5.5vw, 3.2rem); }
.hero-page .hero-title { animation: fadeUp .8s .1s both; }
.hero-mark { display: none; }
.hero-facts { display: none; perspective: 1200px; }
.hf-card { position: relative; width: 100%; max-width: 370px; margin-left: auto; padding: 20px 22px 16px; border-radius: 24px; color: #fff; isolation: isolate;
  background: linear-gradient(150deg, rgba(255, 255, 255, .17), rgba(255, 255, 255, .05)); border: 1px solid rgba(255, 255, 255, .22);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .25); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  transform: rotateY(-9deg) rotateX(3deg); transition: transform .7s cubic-bezier(.2, .8, .2, 1); animation: hfIn 1s .25s cubic-bezier(.2, .8, .2, 1) backwards; }
.hf-card::before { content: ""; position: absolute; inset: 16px -14px -16px 14px; z-index: -1; border-radius: inherit; background: linear-gradient(150deg, rgba(var(--accent-rgb), .35), rgba(var(--brand-rgb), .25)); border: 1px solid rgba(255, 255, 255, .1); }
.hf-card:hover { transform: none; }
@keyframes hfIn { from { opacity: 0; transform: rotateY(-24deg) rotateX(8deg) translateY(30px); } }
.hf-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.hf-title { font-family: var(--font-head); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #ffb47f; }
.hf-mark svg { display: block; }
.hf-rows { list-style: none; margin: 0; padding: 0; }
.hf-rows li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, .12); animation: fadeUp .7s both; animation-delay: calc(var(--k) * 90ms + .5s); }
.hf-rows li:first-child { border-top: 0; }
.hf-ic { display: grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0; border-radius: 11px; background: rgba(255, 255, 255, .1); color: #ffb47f; }
.hf-txt { display: grid; min-width: 0; line-height: 1.3; }
.hf-txt small { font-size: .74rem; color: rgba(255, 255, 255, .62); }
.hf-txt strong { font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: #fff; }
.hf-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-family: var(--font-head); font-weight: 600; font-size: .86rem; color: #ffb47f; text-decoration: none; }
.hf-link:hover { color: #fff; }
.hf-people { display: flex; align-items: center; gap: 12px; padding: 4px 0 12px; }
.hf-faces { display: flex; }
.hf-face { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; border: 2px solid rgba(255, 255, 255, .85); margin-left: -12px; box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .6); animation: fadeUp .6s both; animation-delay: calc(var(--k) * 110ms + .4s); }
.hf-face:first-child { margin-left: 0; }
.hf-face img { width: 100%; height: 100%; object-fit: cover; }
.hf-names { display: grid; font-family: var(--font-head); font-weight: 600; font-size: .9rem; line-height: 1.3; }
.hf-names small { font-family: var(--font-body); font-weight: 400; font-size: .74rem; color: rgba(255, 255, 255, .62); }
.hf-map { margin: 2px 0 6px; padding: 10px; border-radius: 16px; background: rgba(0, 0, 0, .18); }
.hf-map > svg { display: block; width: 100%; height: 200px; }
.hf-map path { fill: rgba(255, 255, 255, .05); stroke: rgba(255, 255, 255, .16); stroke-width: 1; vector-effect: non-scaling-stroke; }
.hf-map path.on { fill: rgba(var(--brand-rgb), .5); stroke: rgba(255, 255, 255, .45); }
.hf-map .pin { fill: #ffb47f; stroke: rgba(255, 255, 255, .9); stroke-width: 1; vector-effect: non-scaling-stroke; }
.hf-map .pin.on { fill: #fff; }
.hf-map.one .pin:not(.me) { fill: rgba(255, 255, 255, .3); stroke: none; }
.hf-map .pin.me { fill: var(--accent); stroke-width: 2; }
.hf-map .pulse { fill: rgba(var(--accent-rgb), .45); transform-box: fill-box; transform-origin: center; animation: hfPulse 2.8s ease-out infinite; animation-delay: calc(var(--k, 0) * -.31s); }
@keyframes hfPulse { from { transform: scale(.4); opacity: .9; } to { transform: scale(2.4); opacity: 0; } }
.hf-map-note { display: flex; align-items: center; gap: 6px; font-size: .78rem; color: rgba(255, 255, 255, .72); padding: 8px 2px 0; }
.hf-map-note strong { color: #fff; font-family: var(--font-head); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .84rem; margin-bottom: 16px; color: rgba(255, 255, 255, .65); }
.crumbs a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs [aria-current] { color: #ffb47f; }

/* the Savana mark in 3D: navy ring + orange nodes, slowly revolving */
.mark { overflow: visible; }
.mark-stage, .icon-stage { position: relative; width: 240px; height: 240px; display: grid; place-items: center; perspective: 800px; transform-style: preserve-3d; }
.mark-3d { --mark-ring: #fff; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .45)); animation: revolve 12s cubic-bezier(.45, 0, .55, 1) infinite; transform-style: preserve-3d; }
.mark-3d .mark-spin { transform-origin: 50px 52px; animation: spin 18s linear infinite; }
@keyframes revolve { 0%, 100% { transform: rotateY(-18deg) rotateX(8deg); } 50% { transform: rotateY(18deg) rotateX(-6deg); } }
.mark-ring { --tx: 70deg; --ty: 0deg; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .2); transform: rotateX(var(--tx)) rotateY(var(--ty)) rotateZ(var(--rz)); animation: ringSpin 10s linear infinite; }
.mark-ring::after { content: ""; position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px rgba(var(--accent-rgb), .9); }
.mark-ring.r2 { --ty: 40deg; inset: -26px; animation-duration: 16s; animation-direction: reverse; border-style: dashed; }
.mark-ring.r3 { --tx: 75deg; --ty: -50deg; inset: 26px; animation-duration: 8s; }
@keyframes ringSpin { to { --rz: 360deg; } }
.icon-cube { width: 130px; height: 130px; border-radius: 32px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .05)); border: 1px solid rgba(255, 255, 255, .3);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .4); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); animation: revolve 9s ease-in-out infinite; }
.icon-cube .ic { width: 58px; height: 58px; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .3)); }

/* sections below the first screen are only laid out and painted when they come near (big saving on phones: the
   project map alone is ~90 KB of country outlines); "auto" remembers each section's real height once seen */
main > .section { content-visibility: auto; contain-intrinsic-size: auto 900px; }
/* sections scrolled out of view: looping animations wait (site.js) */
.is-off, .is-off *, .is-off *::before, .is-off *::after { animation-play-state: paused !important; }

/* ---------------------------------------------------------------- 3D card tilt + scroll reveal */
.tilt { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0)); transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .4s; will-change: transform; }
.tilt.tilting { transition: transform .12s linear, box-shadow .3s; }
.glare { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s; z-index: 1;
  background: radial-gradient(500px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .45), transparent 42%); mix-blend-mode: soft-light; }
.tilt:hover .glare { opacity: 1; }
.js [data-reveal] { opacity: 0; transform: perspective(900px) translateY(42px) rotateX(14deg); transform-origin: 50% 100%; transition: opacity .8s cubic-bezier(.2, .8, .2, 1), transform .9s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .tilt[data-reveal].in { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0)); }

/* ---------------------------------------------------------------- stats */
.stats-band.bg-dark { margin-top: -40px; position: relative; z-index: 2; padding: 40px 0; box-shadow: 0 30px 70px -40px rgba(var(--dark-rgb), .9); }
.hero + .stats-band { margin-top: 12px; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.stat { position: relative; padding: 22px 18px; border-radius: var(--r); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); overflow: hidden; }
.bg-white .stat, .bg-soft .stat { background: #fff; border-color: #e7ebf5; box-shadow: 0 16px 40px -28px rgba(var(--dark-rgb), .4); }
.stat-ic { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: #ffb47f; background: rgba(var(--accent-rgb), .14); margin-bottom: 14px; }
.stat-num { display: block; font-family: var(--font-head); font-size: clamp(2rem, 6vw, 2.8rem); font-weight: 800; color: #fff; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.bg-white .stat-num, .bg-soft .stat-num { color: var(--dark); }
.stat-label { display: block; margin-top: 8px; font-size: .86rem; line-height: 1.4; color: rgba(255, 255, 255, .7); }
.bg-white .stat-label, .bg-soft .stat-label { color: #5b6485; }
.stat-bar { position: absolute; left: 18px; right: 18px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: linear-gradient(90deg, var(--accent), transparent); transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.6s cubic-bezier(.2, .8, .2, 1) .3s; }
.stat.in .stat-bar, .no-js .stat-bar { transform: scaleX(1); }
.stats-grid.n5 .stat:last-child { grid-column: 1 / -1; }

/* ---------------------------------------------------------------- statement (words light up while scrolling) */
.statement { padding: 90px 0; }
.statement-text { font-family: var(--font-head); font-size: clamp(1.45rem, 4.2vw, 2.55rem); line-height: 1.28; letter-spacing: -.02em; font-weight: 600; color: var(--dark); margin: 0; }
.statement-text .sw { color: #67708d; }
.statement-text .sw.strong { color: var(--dark); }
/* words light up from a readable grey (≥ 4.5:1 contrast even before scrolling) to the dark navy */
.js .statement-text .sw { color: #67708d; transition: color .35s; }
.js .statement-text .sw.lit { color: #67708d; }
.js .statement-text .sw.strong.lit { color: var(--dark); }

/* ---------------------------------------------------------------- picture + text */
.split { display: grid; gap: 40px; align-items: center; }
.split-media { position: relative; }
.media-3d { border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(var(--dark-rgb), .6); }
.split-img { width: 100%; height: auto; }
.mark-panel { position: relative; aspect-ratio: 1 / 1; max-width: 460px; margin: 0 auto; border-radius: var(--r-lg); display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(circle at 30% 20%, var(--brand) 0%, var(--dark) 70%); box-shadow: 0 40px 80px -36px rgba(var(--dark-rgb), .75); }
.mark-panel::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px); background-size: 18px 18px; -webkit-mask-image: radial-gradient(circle, #000, transparent 70%); mask-image: radial-gradient(circle, #000, transparent 70%); }
.float-badge { position: absolute; left: -6px; bottom: 24px; display: grid; padding: 16px 20px; border-radius: 20px; background: #fff; box-shadow: 0 24px 50px -20px rgba(var(--dark-rgb), .45); animation: bob 7s ease-in-out infinite; }
.float-badge strong { font-family: var(--font-head); font-size: 2.2rem; line-height: 1; color: var(--accent-700); }
.float-badge > span { font-size: .8rem; color: #5b6485; max-width: 140px; }

/* ---------------------------------------------------------------- services */
.svc-bento { display: grid; gap: 16px; }
.svc-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px 24px 24px; border-radius: var(--r-lg); background: #fff; color: inherit; text-decoration: none; overflow: hidden;
  border: 1px solid #e6eaf5; box-shadow: 0 20px 50px -36px rgba(var(--dark-rgb), .5); }
.svc-card::after { content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--brand-rgb), .12), transparent 70%); transition: transform .6s; }
.svc-card:hover { color: inherit; box-shadow: 0 34px 70px -34px rgba(var(--dark-rgb), .55); }
.svc-card:hover::after { transform: scale(1.6); }
.svc-num { position: absolute; right: 22px; top: 18px; font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; line-height: 1; color: rgba(var(--brand-rgb), .08); letter-spacing: -.04em; }
.svc-ic { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; color: #fff; background: linear-gradient(145deg, var(--brand), var(--dark)); box-shadow: 0 14px 26px -12px rgba(var(--brand-rgb), .9), inset 0 1px 0 rgba(255, 255, 255, .25); transform: translateZ(30px); }
.svc-card h3 { margin: 6px 0 0; font-size: 1.22rem; }
.svc-card p { margin: 0; color: #56607f; font-size: .95rem; }
.svc-card .tags { margin-top: auto; padding-top: 8px; }
.svc-go { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--brand); }
.svc-go .ic { transition: transform .3s; }
.svc-card:hover .svc-go .ic { transform: translateX(5px); }
.svc-card:nth-child(1) .svc-ic { background: linear-gradient(145deg, var(--accent), var(--accent-700)); box-shadow: 0 14px 26px -12px rgba(var(--accent-rgb), .9); }
/* services page cards: icon + outlined number, text, method tags, footer with the project count and a button */
.svc-tiles { display: grid; gap: 18px; }
.svc-tile { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 26px 24px 22px; border-radius: var(--r-lg); background: #fff; color: inherit; text-decoration: none; overflow: hidden; isolation: isolate;
  border: 1px solid #e6eaf5; box-shadow: 0 20px 50px -38px rgba(var(--dark-rgb), .55); transition: transform .5s cubic-bezier(.2, .8, .2, 1), border-color .3s, box-shadow .4s; }
.svc-tile::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--brand), var(--accent)); transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.svc-tile::after { content: ""; position: absolute; right: -90px; bottom: -90px; z-index: -1; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--brand-rgb), .1), transparent 70%); transition: transform .7s; }
.svc-tile:hover { color: inherit; border-color: rgba(var(--brand-rgb), .28); box-shadow: 0 36px 70px -36px rgba(var(--dark-rgb), .6); }
.svc-tile:hover::before { transform: scaleX(1); }
.svc-tile:hover::after { transform: scale(1.6); }
.st-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.svc-tile .svc-ic { transform: none; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.svc-tile:hover .svc-ic { transform: rotate(-8deg) scale(1.06); }
.bg-soft .svc-tile .svc-ic { background: linear-gradient(145deg, var(--accent), var(--accent-700)); box-shadow: 0 14px 26px -12px rgba(var(--accent-rgb), .9), inset 0 1px 0 rgba(255, 255, 255, .25); }
.st-num { font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; line-height: 1; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px rgba(var(--brand-rgb), .2); transition: -webkit-text-stroke-color .3s; }
.svc-tile:hover .st-num { -webkit-text-stroke-color: var(--accent); }
.svc-tile h3 { margin: 0; font-size: 1.22rem; }
.svc-tile p { margin: 0; color: #56607f; font-size: .95rem; }
.tag.more { background: var(--accent-50); color: var(--accent-700); }
.st-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid #e9edf6; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.svc-tile .tags + .st-foot, .svc-tile p + .st-foot { margin-top: auto; }
.st-count { display: inline-flex; align-items: baseline; gap: 6px; font-size: .85rem; color: #67708d; }
.st-count strong { font-family: var(--font-head); font-size: 1.6rem; line-height: 1; color: var(--dark); }
.st-none { font-style: italic; }
.st-go { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: var(--r-pill); background: var(--brand-50); color: var(--brand); font-family: var(--font-head); font-weight: 600; font-size: .86rem; white-space: nowrap; transition: background .3s, color .3s; }
.st-go .ic { transition: transform .3s; }
.svc-tile:hover .st-go { background: var(--brand); color: #fff; }
.svc-tile:hover .st-go .ic { transform: translateX(4px); }
/* service cards with a photo cover (homepage + services page), like the project cards */
.svc-card.has-cover, .svc-tile.has-cover { padding-top: 0; }
.has-cover::after { top: auto; bottom: -90px; }
.svc-cover { position: relative; display: block; margin: 0 -24px; aspect-ratio: 16 / 9; overflow: hidden; background: var(--dark); }
.svc-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2, .8, .2, 1); }
.svc-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--dark-rgb), 0) 45%, rgba(var(--dark-rgb), .5)); }
.has-cover:hover .svc-cover img { transform: scale(1.07); }
.svc-chip { position: absolute; right: 14px; top: 14px; z-index: 1; padding: 5px 12px; border-radius: 99px; font-family: var(--font-head); font-size: .76rem; font-weight: 700; letter-spacing: .04em; color: #fff;
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.svc-card.has-cover .svc-ic, .svc-tile.has-cover .svc-ic { position: relative; z-index: 2; margin-top: -38px; box-shadow: 0 0 0 4px #fff, 0 14px 26px -12px rgba(var(--brand-rgb), .9); }
.bg-soft .svc-tile.has-cover .svc-ic { box-shadow: 0 0 0 4px #fff, 0 14px 26px -12px rgba(var(--accent-rgb), .9); }

/* ---------------------------------------------------------------- projects */
.proj-grid { display: grid; gap: 18px; }
.proj-card { position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); background: #fff; overflow: hidden; border: 1px solid #e6eaf5; box-shadow: 0 20px 50px -36px rgba(var(--dark-rgb), .55); }
.proj-card:hover { box-shadow: 0 34px 70px -34px rgba(var(--dark-rgb), .6); }
.proj-cover { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--dark); }
.proj-cover .proj-art, .proj-cover .proj-img, .proj-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.proj-card:hover .proj-art, .proj-card:hover .proj-img { transform: scale(1.06); }
.proj-art .trace { stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset 2s cubic-bezier(.2, .8, .2, 1) .3s; }
.in .proj-art .trace, .no-js .proj-art .trace, .proj-art.static .trace { stroke-dashoffset: 0; }
.art-pulse { transform-box: fill-box; transform-origin: center; animation: artPulse 2.4s ease-out infinite; }
@keyframes artPulse { from { transform: scale(1); opacity: 1; } to { transform: scale(3.2); opacity: 0; } }
.proj-status { position: absolute; left: 14px; top: 14px; z-index: 2; padding: 5px 12px; border-radius: 99px; font-size: .74rem; font-weight: 700; letter-spacing: .03em; color: #fff; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.proj-status.on { background: var(--accent); border-color: var(--accent); }
.proj-status.on::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #fff; margin-right: 6px; vertical-align: 1px; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.proj-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 22px; flex: 1; }
.proj-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .8rem; color: #67708d; }
.proj-meta span { display: inline-flex; align-items: center; gap: 5px; }
.proj-body h3 { font-size: 1.08rem; margin: 0; line-height: 1.3; }
.proj-body h3 a { color: var(--dark); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .35s; }
.proj-body h3 a:hover { background-size: 100% 1.5px; }
.proj-body h3 a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.proj-client { display: flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--brand-700); margin: 0; }
.proj-body .tags { margin-top: auto; padding-top: 6px; }

/* filters */
.filter-bar { display: grid; gap: 12px; padding: 16px; border-radius: var(--r-lg); background: #fff; border: 1px solid #e6eaf5; box-shadow: 0 30px 60px -40px rgba(var(--dark-rgb), .45); margin-top: -76px; position: relative; z-index: 3; }
.fb-search { display: flex; align-items: center; gap: 10px; padding: 0 16px; border-radius: var(--r-pill); background: var(--soft); border: 1.5px solid transparent; color: #67708d; transition: border-color .2s; }
.fb-search:focus-within { border-color: var(--brand); background: #fff; }
.fb-search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 13px 0; font: inherit; color: var(--dark); outline: 0; }
.fb-selects { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.fb-sel { display: grid; gap: 2px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #67708d; }
.fb-sel select { width: 100%; font: inherit; font-size: .88rem; font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--dark); padding: 10px 30px 10px 12px; border-radius: 12px; border: 1.5px solid #e1e6f2; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%2367708d' stroke-width='2'%3E%3Cpath d='m2 4 4 4 4-4'/%3E%3C/svg%3E") no-repeat right 10px center; appearance: none; cursor: pointer; }
.fb-sel select:focus { border-color: var(--brand); outline: 0; }
.js .fb-go { display: none; }
.result-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 26px 0 18px; }
.result-bar p { margin: 0; color: #5b6485; }
.result-bar strong { font-family: var(--font-head); font-size: 1.4rem; color: var(--dark); }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.af-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px 6px 14px; border-radius: 99px; background: var(--dark); color: #fff; font-size: .82rem; text-decoration: none; transition: background .2s; }
.af-chip span { color: rgba(255, 255, 255, .6); }
.af-chip:hover { background: var(--accent-700); color: #fff; }
.af-clear { font-size: .85rem; font-weight: 600; }
.empty-state { text-align: center; padding: 60px 20px; border-radius: var(--r-lg); background: var(--soft); color: #5b6485; }
.empty-state .ic { color: var(--brand); margin-bottom: 10px; }
[data-proj-grid].loading { opacity: .4; transition: opacity .2s; }

/* ---------------------------------------------------------------- map (tilted 3D plane with rising pins) */
.map-sec { overflow: hidden; }
.map-wrap { display: grid; gap: 24px; }
.map-stage { perspective: 1400px; }
.map-plane { position: relative; transform-style: preserve-3d; transform: rotateX(calc(24deg + var(--my, 0) * -6deg)) rotateZ(calc(var(--mx, 0) * -3deg)) scale(.98); transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.map-svg { display: block; width: 100%; height: auto; overflow: hidden; border-radius: 28px;
  -webkit-mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 55%, transparent 100%); mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 55%, transparent 100%); }
.map-sea { color: rgba(255, 255, 255, .07); }
.map-lines line { stroke: rgba(255, 255, 255, .06); stroke-width: 1; stroke-dasharray: 3 6; }
.cty { fill: rgba(255, 255, 255, .03); stroke: rgba(255, 255, 255, .14); stroke-width: 1; stroke-linejoin: round; transition: fill .4s, stroke .4s; }
.cty.east { fill: rgba(255, 255, 255, .08); stroke: rgba(255, 255, 255, .32); }
.cty.active { fill: url(#mapActive); stroke: #8fb0ff; stroke-width: 1.5; filter: drop-shadow(0 18px 18px rgba(0, 0, 0, .45)); }
.cty.active:hover, .cty.hot { fill: var(--brand); stroke: #fff; }
.cty-label { font-family: var(--font-head); font-size: 15px; font-weight: 600; letter-spacing: .14em; fill: rgba(255, 255, 255, .28); text-anchor: middle; pointer-events: none; }
.cty-label.on { fill: rgba(255, 255, 255, .85); font-size: 18px; }
.pin { position: absolute; width: 0; height: 0; padding: 0; border: 0; background: none; cursor: pointer; transform-style: preserve-3d; }
.pin::before { content: ""; position: absolute; left: -16px; top: -16px; width: 32px; height: 32px; } /* bigger tap target */
.pin-dot { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); border: 2px solid #fff; box-shadow: 0 0 16px rgba(var(--accent-rgb), .9); transition: transform .3s; }
.pin.ongoing .pin-dot { background: #fff; border-color: var(--accent); }
.pin-pulse { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--accent); animation: pinPulse 2.6s ease-out infinite; animation-delay: calc(var(--d) * -.4s); }
@keyframes pinPulse { from { transform: scale(1); opacity: .9; } to { transform: scale(4); opacity: 0; } }
/* the beam stands up out of the tilted plane */
.pin-beam { position: absolute; left: -1px; bottom: 0; width: 2px; height: 46px; transform-origin: 50% 100%; transform: rotateX(-90deg); background: linear-gradient(to top, rgba(var(--accent-rgb), .9), rgba(var(--accent-rgb), 0)); }
.pin:hover .pin-dot, .pin.on .pin-dot, .pin:focus-visible .pin-dot { transform: scale(1.5); }
.pin.on .pin-beam { height: 80px; background: linear-gradient(to top, #fff, rgba(255, 255, 255, 0)); }
.pin:focus-visible { outline: 0; }
.js .map-plane .pin { opacity: 0; transition: opacity .5s; transition-delay: calc(var(--d) * 70ms + .4s); }
.js .map-stage.in .pin { opacity: 1; }
.map-panel { display: grid; gap: 14px; align-content: start; }
.map-counts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mc { position: relative; padding: 14px; border-radius: var(--r); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); overflow: hidden; }
.mc strong { display: block; font-family: var(--font-head); font-size: 1.8rem; color: #fff; line-height: 1; }
.mc > span { font-size: .78rem; color: rgba(255, 255, 255, .7); }
.mc i { position: absolute; left: 0; bottom: 0; height: 3px; width: var(--w); background: var(--accent); }
.map-detail { min-height: 120px; padding: 18px; border-radius: var(--r); background: linear-gradient(145deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .04)); border: 1px solid rgba(255, 255, 255, .16); }
.map-detail h3 { color: #fff; font-size: 1.08rem; margin: 6px 0; }
.map-detail .md-meta { font-size: .82rem; color: rgba(255, 255, 255, .7); margin: 0 0 4px; }
.map-detail .md-client { font-size: .86rem; color: #ffb47f; font-weight: 600; margin: 0 0 10px; }
.map-detail .md-status { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 9px; border-radius: 99px; background: rgba(var(--accent-rgb), .2); color: #ffb47f; }
.map-detail.flash { animation: flashIn .5s; }
@keyframes flashIn { from { transform: perspective(600px) rotateX(-20deg); opacity: 0; } }
.map-list { list-style: none; margin: 0; padding: 0; max-height: 260px; overflow: auto; border-radius: var(--r); border: 1px solid rgba(255, 255, 255, .1); }
.map-list a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; font-size: .86rem; color: rgba(255, 255, 255, .8); text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .06); transition: background .2s; }
.map-list a:hover, .map-list li.on a { background: rgba(255, 255, 255, .08); color: #fff; }
.ml-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.ml-dot.on { background: #fff; box-shadow: 0 0 0 2px var(--accent); }
.ml-t { flex: 1; line-height: 1.35; }
.ml-y { font-family: var(--font-head); font-size: .8rem; color: rgba(255, 255, 255, .5); }

/* ---------------------------------------------------------------- timeline */
.timeline-sec { overflow: hidden; }
.timeline { position: relative; }
.tl-track { position: relative; display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x proximity; padding: 20px 16px 30px; scrollbar-width: none; cursor: grab; }
.tl-track::-webkit-scrollbar { display: none; }
.tl-track.dragging { cursor: grabbing; scroll-snap-type: none; }
.tl-line { position: absolute; left: 0; top: 50%; height: 2px; width: var(--tl-w, 100%); background: rgba(var(--brand-rgb), .14); }
.tl-line span { position: absolute; inset: 0; background: linear-gradient(90deg, var(--accent), var(--brand)); transform-origin: 0 50%; transform: scaleX(var(--tl, 0)); }
.tl-start, .tl-end { flex: 0 0 auto; align-self: center; display: grid; place-items: center; width: 92px; height: 92px; margin: 0 14px; border-radius: 50%; position: relative; z-index: 1; }
.tl-start { background: linear-gradient(135deg, var(--accent), var(--brand)); color: #fff; font-family: var(--font-head); box-shadow: 0 20px 40px -16px rgba(var(--accent-rgb), .8); }
.tl-start span { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: -18px; }
.tl-start strong { font-size: 1.3rem; }
.tl-end { background: #fff; box-shadow: 0 16px 36px -18px rgba(var(--dark-rgb), .5); }
.tl-end .mark { --mark-ring: var(--dark); animation: spin 14s linear infinite; }
.tl-item { flex: 0 0 248px; scroll-snap-align: center; position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 440px; padding: 0 10px 236px; }
.tl-item.down { justify-content: flex-start; padding: 236px 10px 0; }
.tl-year { position: absolute; left: 0; right: 0; top: calc(50% + 18px); text-align: center; font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; color: var(--brand); }
.tl-item.down .tl-year { top: calc(50% - 46px); }
.tl-year.same { opacity: .25; }
.tl-node { position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); z-index: 1; transition: transform .3s; }
.tl-item.ongoing .tl-node { border-color: var(--accent); box-shadow: 0 0 0 6px rgba(var(--accent-rgb), .18); }
.tl-item:hover .tl-node { transform: scale(1.4); }
.tl-card { position: relative; display: grid; gap: 6px; padding: 16px 18px; border-radius: var(--r); background: #fff; color: inherit; text-decoration: none; border: 1px solid #e6eaf5; box-shadow: 0 18px 40px -28px rgba(var(--dark-rgb), .55); }
.tl-card::after { content: ""; position: absolute; left: 50%; width: 2px; height: 34px; background: rgba(var(--brand-rgb), .2); }
.tl-item:not(.down) .tl-card::after { top: 100%; }
.tl-item.down .tl-card::after { bottom: 100%; }
.tl-card:hover { color: inherit; border-color: rgba(var(--brand-rgb), .35); }
.tl-period { font-size: .74rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--accent-700); }
.tl-card strong { font-family: var(--font-head); font-size: .98rem; line-height: 1.3; color: var(--dark); }
.tl-client { font-size: .82rem; font-weight: 600; color: var(--brand-700); }
.tl-lead { font-size: .78rem; color: #67708d; }
.tl-nav { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.tl-nav .link-arrow { margin: 0 0 0 auto; }

/* ---------------------------------------------------------------- clients marquee */
.marquee-wrap { display: grid; gap: 14px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee { overflow: hidden; }
.marquee-in { display: flex; width: max-content; animation: marquee 46s linear infinite; }
.marquee.rev .marquee-in { animation-direction: reverse; animation-duration: 52s; }
.marquee:hover .marquee-in { animation-play-state: paused; }
.marquee-set { display: flex; gap: 14px; padding-right: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }
.client-badge { display: inline-flex; flex-direction: column; justify-content: center; min-height: 76px; padding: 12px 22px; border-radius: var(--r); background: #fff; border: 1px solid #e6eaf5; text-decoration: none; color: inherit; box-shadow: 0 14px 30px -24px rgba(var(--dark-rgb), .5); transition: transform .3s, border-color .3s; }
.client-badge:hover { transform: translateY(-4px); border-color: rgba(var(--brand-rgb), .4); color: inherit; }
.client-badge strong { font-family: var(--font-head); font-size: 1.2rem; color: var(--dark); white-space: nowrap; }
.client-badge span { font-size: .76rem; color: #67708d; white-space: nowrap; }
.client-logo { max-height: 46px; width: auto; }
.client-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
/* Long organisation names (e.g. state ministries) wrap inside the badge in the grid, so phones never scroll sideways.
   The scrolling marquee keeps them on one line: it is clipped by its own wrapper. */
.client-grid .client-badge { max-width: 100%; }
.client-grid .client-badge strong, .client-grid .client-badge span { white-space: normal; overflow-wrap: anywhere; }
/* sliding rows: two rows of client cards gliding sideways in opposite directions; total + top clients underneath */
.hmarquee { display: grid; gap: 14px; padding: 6px 0 18px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.hrow { overflow: hidden; padding: 4px 0 12px; }
.hrow-in { display: flex; width: max-content; animation: hslide var(--dur, 50s) linear infinite; }
.hrow.rev .hrow-in { animation-direction: reverse; }
.hmarquee:hover .hrow-in, .hmarquee:focus-within .hrow-in { animation-play-state: paused; }
.hset { display: flex; gap: 14px; padding-right: 14px; }
@keyframes hslide { to { transform: translateX(-50%); } }
.vbadge { display: flex; align-items: center; gap: 14px; width: 290px; flex-shrink: 0; padding: 14px; border-radius: 18px; background: #fff; border: 1px solid #e6eaf5; color: inherit; text-decoration: none; box-shadow: 0 14px 30px -24px rgba(var(--dark-rgb), .5); transition: border-color .3s, box-shadow .3s, transform .3s; }
.vbadge:hover { color: inherit; border-color: rgba(var(--brand-rgb), .45); box-shadow: 0 20px 40px -24px rgba(var(--brand-rgb), .55); transform: translateY(-3px); }
.vb-logo { display: grid; place-items: center; flex-shrink: 0; width: 54px; height: 54px; border-radius: 14px; padding: 4px; overflow: hidden; text-align: center;
  font-family: var(--font-head); font-weight: 800; font-size: .82rem; letter-spacing: .02em; line-height: 1.05; color: #fff; background: linear-gradient(145deg, var(--brand), var(--dark)); }
.hrow.rev .vb-logo:not(.has-img) { background: linear-gradient(145deg, var(--accent), var(--accent-700)); }
.vb-logo.has-img { background: #fff; border: 1px solid #eef1f8; }
.vb-logo.long { font-size: .66rem; letter-spacing: 0; }
.vb-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.vb-txt { display: grid; min-width: 0; gap: 2px; }
.vb-txt strong { font-family: var(--font-head); font-size: .9rem; font-weight: 600; line-height: 1.3; color: var(--dark); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vb-txt small { font-size: .76rem; color: var(--accent-700); font-weight: 500; }
.clients-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 22px; margin-top: 18px; text-align: center; }
.clients-total { color: #5b6485; }
.clients-total strong { font-family: var(--font-head); font-size: 1.9rem; font-weight: 800; letter-spacing: -.03em; color: var(--brand); margin-right: 4px; vertical-align: -3px; }
.clients-top { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.clients-top a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 99px; background: #fff; border: 1px solid #e6eaf5; color: var(--dark); text-decoration: none; font-family: var(--font-head); font-weight: 600; font-size: .86rem; transition: border-color .3s; }
.clients-top a:hover { border-color: rgba(var(--brand-rgb), .4); color: var(--dark); }
.clients-top em { font-style: normal; font-family: var(--font-body); font-weight: 500; font-size: .78rem; color: var(--accent-700); }
@media (max-width: 599px) {
  .vbadge { width: 230px; padding: 12px; gap: 10px; }
  .vb-logo { width: 46px; height: 46px; font-size: .74rem; }
}

/* ---------------------------------------------------------------- icon cards */
.feat-grid { display: grid; gap: 16px; }
.feat-card { position: relative; padding: 26px 22px; border-radius: var(--r-lg); overflow: hidden; }
.style-glass .feat-card { background: #fff; border: 1px solid #e6eaf5; box-shadow: 0 22px 50px -38px rgba(var(--dark-rgb), .55); }
.bg-dark .style-glass .feat-card, .bg-brand .style-glass .feat-card { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); }
.style-line .feat-card { padding: 22px 0 6px; border-radius: 0; border-top: 2px solid rgba(var(--brand-rgb), .14); }
.style-line .feat-card::before { content: ""; position: absolute; left: 0; top: -2px; width: 56px; height: 2px; background: var(--accent); transition: width .6s; }
.style-line .feat-card:hover::before { width: 100%; }
.feat-ic { display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; color: var(--brand); background: var(--brand-50); margin-bottom: 16px; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.feat-card:hover .feat-ic { transform: rotateY(180deg); }
.feat-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.feat-card p { margin: 0; color: #56607f; font-size: .95rem; }
.bg-dark .feat-card p { color: rgba(255, 255, 255, .72); }

/* ---------------------------------------------------------------- tag cloud */
.chip-cloud { list-style: none; margin: 0 auto; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 980px; }
.chip3d { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 10px; border-radius: var(--r-pill); background: #fff; border: 1px solid #e6eaf5; font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--dark);
  box-shadow: 0 10px 24px -18px rgba(var(--dark-rgb), .6), inset 0 -3px 0 rgba(var(--brand-rgb), .06); transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s; }
.chip3d:hover { transform: translateY(-4px) rotateX(10deg); box-shadow: 0 20px 30px -18px rgba(var(--dark-rgb), .6); }
.chip-ic { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--brand-50); color: var(--brand); }
.chip3d:nth-child(3n+2) .chip-ic { background: var(--accent-50); color: var(--accent-700); }

/* ---------------------------------------------------------------- flow */
.flow { display: grid; gap: 14px; align-items: stretch; }
.flow-col { position: relative; padding: 24px; border-radius: var(--r-lg); background: #fff; border: 1px solid #e6eaf5; overflow: hidden; box-shadow: 0 22px 50px -38px rgba(var(--dark-rgb), .55); }
.flow-col:nth-of-type(2) { background: linear-gradient(160deg, var(--brand), var(--dark)); color: #fff; border: 0; }
.flow-col:nth-of-type(2) h3 { color: #fff; }
.flow-col:nth-of-type(3) { border-color: rgba(var(--accent-rgb), .35); }
.flow-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.flow-head h3 { margin: 0; font-size: 1.15rem; }
.flow-step { font-family: var(--font-head); font-size: .8rem; font-weight: 800; color: var(--accent-700); }
.flow-ic { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--brand-50); color: var(--brand); }
.flow-col:nth-of-type(2) .flow-ic { background: rgba(255, 255, 255, .14); color: #fff; }
.flow-col:nth-of-type(2) .flow-step { color: #ffb47f; }
.flow-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.flow-col li { position: relative; padding: 8px 12px 8px 30px; border-radius: 10px; background: var(--soft); font-size: .93rem; line-height: 1.4; }
.flow-col li::before { content: ""; position: absolute; left: 12px; top: 15px; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.flow-col:nth-of-type(2) li { background: rgba(255, 255, 255, .08); }
.flow-col:nth-of-type(2) li::before { background: #ffb47f; }
.flow-col:nth-of-type(3) li::before { background: var(--accent); }
.js .flow-col li { opacity: 0; transform: translateX(-10px); transition: .5s; transition-delay: calc(var(--j) * 70ms + .3s); }
.js .flow-col.in li { opacity: 1; transform: none; }
.flow-arrow { display: grid; place-items: center; height: 34px; }
.flow-arrow svg { width: 60px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; transform: rotate(90deg); stroke-dasharray: 100; animation: dash 2.4s linear infinite; }
@keyframes dash { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }

/* ---------------------------------------------------------------- team */
.team-grid { display: grid; gap: 24px; }
.team-card { display: grid; gap: 18px; }
.team-photo { position: relative; aspect-ratio: 4 / 4.4; border-radius: var(--r-lg); overflow: visible; }
.team-photo picture, .team-photo > img { position: absolute; inset: 0; border-radius: var(--r-lg); overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; border-radius: var(--r-lg); box-shadow: 0 30px 60px -34px rgba(var(--dark-rgb), .7); }
.team-ring { position: absolute; inset: -10px; border-radius: calc(var(--r-lg) + 10px); border: 1.5px dashed rgba(var(--brand-rgb), .25); z-index: -1; transition: transform .6s; }
.team-card:hover .team-ring { transform: rotate(-3deg) scale(1.02); border-color: var(--accent); }
.team-initials { position: absolute; inset: 0; display: grid; place-items: center; border-radius: var(--r-lg); background: linear-gradient(145deg, var(--brand), var(--dark)); color: #fff; font-family: var(--font-head); font-size: 3rem; }
.team-body h3 { margin: 0 0 2px; font-size: 1.35rem; }
.team-role { margin: 0 0 8px; font-weight: 600; color: var(--accent-700); }
.team-edu { display: flex; gap: 8px; font-size: .86rem; color: var(--brand-700); margin-bottom: 10px; }
.team-edu .ic { margin-top: 3px; }
.team-bio { color: #56607f; font-size: .95rem; }
.team-links { display: flex; gap: 8px; }
.team-links a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); }

/* ---------------------------------------------------------------- CTA */
.cta-sec { padding-top: 24px; }
.cta-card { position: relative; overflow: hidden; display: grid; gap: 10px; padding: 40px 24px; border-radius: var(--r-lg); color: #fff; isolation: isolate;
  background: radial-gradient(800px 400px at 100% 0%, rgba(var(--accent-rgb), .35), transparent 60%), linear-gradient(135deg, var(--brand), var(--dark)); box-shadow: 0 40px 80px -40px rgba(var(--dark-rgb), .9); }
.cta-card::before { content: ""; position: absolute; left: -10%; bottom: -60%; z-index: -1; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(var(--brand-rgb), .55), transparent 65%); filter: blur(30px); }
.cta-card h2 { color: #fff; margin-bottom: .3em; }
.cta-card p { color: rgba(255, 255, 255, .8); max-width: 560px; }
/* right side: real photo + "talk to us directly" panel (call, WhatsApp, email, head office) */
.cta-side { position: relative; }
.cta-photo { display: none; }
.cta-desk { margin-top: 14px; padding: 14px 14px 10px; border-radius: 20px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.cta-desk-title { display: block; margin: 0 6px 4px; font-family: var(--font-head); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #ffb47f; }
.cta-desk ul { list-style: none; margin: 0; padding: 0; }
.cta-desk a { display: flex; align-items: center; gap: 12px; padding: 10px 6px; border-top: 1px solid rgba(255, 255, 255, .12); border-radius: 12px; color: #fff; text-decoration: none; transition: background .25s; }
.cta-desk li:first-child a { border-top-color: transparent; }
.cta-desk a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.cd-ic { display: grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0; border-radius: 11px; background: rgba(255, 255, 255, .12); color: #ffb47f; }
.cd-txt { display: grid; min-width: 0; line-height: 1.3; }
.cd-txt small { font-size: .72rem; color: rgba(255, 255, 255, .65); }
.cd-txt strong { font-family: var(--font-head); font-weight: 600; font-size: .88rem; overflow-wrap: anywhere; }
@media (max-width: 599px) { .cta-desk .cd-go { display: none; } .cta-desk { padding: 12px 8px 8px; } .cd-txt strong { font-size: .84rem; } }
.cd-go { margin-left: auto; opacity: .45; transition: opacity .25s, transform .25s; }
.cta-desk a:hover .cd-go { opacity: 1; transform: translateX(3px); }

/* ---------------------------------------------------------------- insights */
.post-grid { display: grid; gap: 18px; }
.post-card { position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid #e6eaf5; box-shadow: 0 20px 50px -36px rgba(var(--dark-rgb), .55); }
.post-cover { position: relative; aspect-ratio: 16 / 10; display: block; overflow: hidden; background: var(--soft); }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.post-kind { position: absolute; left: 14px; top: 14px; padding: 5px 12px; border-radius: 99px; background: var(--dark); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.post-body { padding: 18px 20px 22px; }
.post-body h3 { font-size: 1.1rem; margin-bottom: 8px; }
.post-body h3 a { color: var(--dark); text-decoration: none; }
.post-body h3 a::after { content: ""; position: absolute; inset: 0; }
.post-body p { color: #56607f; font-size: .93rem; margin: 0; }
.post-meta { display: flex; align-items: center; gap: 4px; font-size: .8rem; color: #67708d; margin-bottom: 8px !important; }
.doc-art { position: absolute; inset: 0; display: grid; place-items: center; perspective: 600px; background: linear-gradient(145deg, var(--brand-50), var(--soft)); }
.doc-art.big { position: relative; height: 170px; border-radius: var(--r); margin-bottom: 16px; }
.doc-sheet { position: relative; width: 104px; height: 136px; border-radius: 10px; background: #fff; display: grid; place-items: center; align-content: center; gap: 6px; color: var(--brand); box-shadow: 0 24px 40px -18px rgba(var(--dark-rgb), .5), 8px 8px 0 -2px rgba(var(--brand-rgb), .15); transform: rotateY(-18deg) rotateX(8deg); transition: transform .6s; }
.doc-sheet i { display: block; width: 56px; height: 4px; border-radius: 2px; background: rgba(var(--brand-rgb), .15); }
.doc-sheet i:last-child { width: 36px; }
.post-card:hover .doc-sheet { transform: rotateY(8deg) rotateX(-4deg) translateZ(20px); }
.kind-report .doc-sheet { color: var(--accent-700); }
.kind-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: -60px 0 30px; position: relative; z-index: 3; }
.kind-tabs a { padding: 10px 18px; border-radius: 99px; background: #fff; border: 1px solid #e6eaf5; text-decoration: none; color: var(--dark); font-weight: 600; font-size: .9rem; box-shadow: 0 10px 20px -16px rgba(var(--dark-rgb), .5); }
.kind-tabs a span { color: #67708d; margin-left: 4px; }
.kind-tabs a.on { background: var(--dark); color: #fff; }

/* ---------------------------------------------------------------- accordion, quotes, gallery, video */
.acc-list { display: grid; gap: 10px; }
.acc { border-radius: var(--r); background: #fff; border: 1px solid #e6eaf5; }
.acc summary { display: flex; justify-content: space-between; gap: 14px; padding: 18px 20px; cursor: pointer; font-family: var(--font-head); font-weight: 600; color: var(--dark); list-style: none; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .ic { transition: transform .3s; color: var(--accent); }
.acc[open] summary .ic { transform: rotate(45deg); }
.acc .prose { padding: 0 20px 18px; }
.quote-grid, .gallery { display: grid; gap: 16px; }
.quote-card { margin: 0; padding: 26px; border-radius: var(--r-lg); background: #fff; border: 1px solid #e6eaf5; }
.quote-card .ic { color: var(--accent); }
.quote-card blockquote { margin: 12px 0; font-size: 1.05rem; color: var(--dark); }
.quote-card figcaption { display: grid; font-size: .9rem; color: #67708d; }
.quote-card figcaption strong { color: var(--dark); }
.gal-item { margin: 0; border-radius: var(--r); overflow: hidden; position: relative; }
.gal-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gal-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; color: #fff; font-size: .85rem; background: linear-gradient(transparent, rgba(0, 0, 0, .65)); }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(var(--dark-rgb), .6); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------------------------------------------------------------- detail pages */
.detail-grid { display: grid; gap: 32px; }
.detail-main > * + * { margin-top: 1.6rem; }
.detail-main > .lead { color: var(--dark); }
.side-card { position: relative; display: block; padding: 22px; border-radius: var(--r-lg); background: #fff; border: 1px solid #e6eaf5; box-shadow: 0 20px 50px -38px rgba(var(--dark-rgb), .55); }
.side-card + .side-card { margin-top: 16px; }
.side-card h2, .side-card h3 { margin-bottom: 8px; }
.side-card h3 { display: flex; align-items: center; gap: 8px; font-size: 1.05rem; }
.side-card .btn + .btn { margin-top: 10px; }
.side-links { list-style: none; margin: 0; padding: 0; }
.side-links a { display: flex; align-items: center; gap: 10px; padding: 9px 0; color: var(--dark); text-decoration: none; font-weight: 500; border-bottom: 1px solid #eef1f8; font-size: .93rem; }
.side-links a .ic { color: var(--brand); }
.side-links a:hover { color: var(--brand); }
.side-contact { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; font-size: .92rem; }
.side-contact li { display: flex; align-items: center; gap: 8px; }
.side-contact .ic { color: var(--accent-700); }
.side-link { display: flex; align-items: center; gap: 14px; color: inherit; text-decoration: none; }
.side-link span:not(.side-ic) { flex: 1; display: grid; }
.side-link small { color: #67708d; }
.side-link:hover { color: inherit; border-color: rgba(var(--brand-rgb), .35); }
.side-ic { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--brand-50); color: var(--brand); flex-shrink: 0; }
.side-ic.accent { background: linear-gradient(145deg, var(--accent), var(--accent-700)); color: #fff; }
.steps3d { display: grid; gap: 10px; }
.step3d { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r); background: linear-gradient(135deg, #fff, var(--soft)); border: 1px solid #e6eaf5; box-shadow: 0 14px 30px -24px rgba(var(--dark-rgb), .5); }
.step-n { font-family: var(--font-head); font-weight: 800; color: var(--accent-700); }
.step3d strong { font-family: var(--font-head); color: var(--dark); }
.method-panel, .info-panel { padding: 22px; border-radius: var(--r-lg); background: var(--soft); }
.method-panel h2, .info-panel h2 { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.method-panel h2 .ic, .info-panel h2 .ic { color: var(--accent-700); }
.info-panel.outcome { background: linear-gradient(135deg, var(--brand-50), var(--accent-50)); }
.role-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.role-list li { display: flex; gap: 12px; align-items: flex-start; }
.role-list li span { flex-shrink: 0; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--dark); color: #fff; font-size: .8rem; font-weight: 700; }
.fact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 0; }
.fact { padding: 14px 16px; border-radius: var(--r); background: #fff; border: 1px solid #e6eaf5; box-shadow: 0 14px 30px -26px rgba(var(--dark-rgb), .5); }
.fact:first-child { grid-column: 1 / -1; }
.fact dt { display: flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: #67708d; margin-bottom: 4px; }
.fact dd { margin: 0; font-weight: 600; color: var(--dark); line-height: 1.4; }
.mini-map { padding: 14px; background: var(--dark); border: 0; overflow: hidden; }
.mini-map > svg { width: 100%; height: auto; display: block; border-radius: 12px; }
.mini-map .cty { fill: rgba(255, 255, 255, .05); stroke: rgba(255, 255, 255, .22); stroke-width: 1.5; }
.mini-map .cty.active { fill: var(--brand); stroke: #9cb6ff; filter: none; }
.mm-dot { fill: var(--accent); stroke: #fff; stroke-width: 3; }
.mm-pulse { fill: none; stroke: var(--accent); stroke-width: 3; transform-box: fill-box; transform-origin: center; animation: artPulse 2.4s ease-out infinite; }
.mini-map p { display: flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, .8); margin: 10px 4px 0; }
.mini-facts { margin: 16px 0; display: grid; gap: 10px; }
.mini-facts dt { font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #67708d; }
.mini-facts dd { margin: 0; font-weight: 600; color: var(--dark); }
.detail-projects { padding-top: 10px; }
.proj-grid.two { margin-bottom: 1rem; }
.hl-box { padding: 20px; border-radius: var(--r); background: var(--accent-50); }
.job-facts dl { margin: 0 0 16px; display: grid; gap: 10px; }
.job-facts dl div { display: flex; justify-content: space-between; gap: 10px; font-size: .92rem; border-bottom: 1px solid #eef1f8; padding-bottom: 8px; }
.job-facts dt { display: flex; align-items: center; gap: 6px; color: #67708d; }
.job-facts dd { margin: 0; font-weight: 600; text-align: right; }
.side-wa { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.side-wa span:not(.side-ic) { display: grid; flex: 1; }

/* ---------------------------------------------------------------- forms */
.card { background: #fff; border-radius: var(--r-lg); border: 1px solid #e6eaf5; box-shadow: 0 30px 70px -46px rgba(var(--dark-rgb), .55); }
.form-card { padding: 22px 18px; }
.form-title { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.form-title h2 { margin: 0 0 2px; }
.form-title p { margin: 0; }
.ft-ic { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--brand-50); color: var(--brand); flex-shrink: 0; }
.form { display: grid; gap: 4px; }
.grid-2 { display: grid; gap: 0 16px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; min-width: 0; }
.field label, .field .label, .check-group legend { font-weight: 600; font-size: .9rem; color: var(--dark); }
.req { color: var(--accent-700); }
.opt { font-weight: 400; color: #67708d; font-size: .85em; }
input[type=text], input[type=email], input[type=tel], input[type=url], input[type=number], input[type=date], input[type=search]:not(.fb-search input), input:not([type]), select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--dark); padding: 12px 14px; border-radius: 12px; border: 1.5px solid #dfe4f0; background: #fff; transition: border-color .2s, box-shadow .2s; }
.form select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%2367708d' stroke-width='2'%3E%3Cpath d='m2 4 4 4 4-4'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 36px; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(var(--brand-rgb), .12); }
[aria-invalid=true] { border-color: #d33 !important; }
.field-error { color: #b42323; font-size: .85rem; font-weight: 500; }
.hint { color: #67708d; font-size: .82rem; }
.form-note { display: flex; gap: 8px; align-items: flex-start; font-size: .82rem; color: #67708d; margin: 12px 0 0; }
.form-note .ic { margin-top: 3px; color: var(--brand); }
.form .btn-lg { justify-self: start; margin-top: 8px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; cursor: pointer; margin: 8px 0; }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--brand); flex-shrink: 0; }
.check-group { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
.check-group legend { margin-bottom: 8px; padding: 0; }
.check-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cchip { position: relative; cursor: pointer; }
.cchip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.cchip span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 99px; border: 1.5px solid #dfe4f0; font-size: .86rem; background: #fff; transition: .2s; }
.cchip input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 8px 16px -10px rgba(var(--brand-rgb), .9); }
.cchip input:checked + span::before { content: "✓"; font-weight: 700; }
.cchip input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.drop { position: relative; display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: var(--r); border: 2px dashed rgba(var(--brand-rgb), .3); background: var(--brand-50); color: var(--brand); cursor: pointer; transition: .2s; margin-bottom: 8px; }
.drop:hover, .drop.over { border-color: var(--brand); background: #fff; transform: translateY(-2px); }
.drop.has-file { border-style: solid; border-color: #1f9d55; background: #eefaf3; color: #1f7a45; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.drop-t { display: grid; color: var(--dark); font-size: .9rem; }
.drop-t > span { color: #67708d; font-size: .84rem; }
.steps-form .fs { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.steps-form legend { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; color: var(--dark); margin-bottom: 16px; padding: 0; }
.fs-n { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--dark); color: #fff; font-size: .9rem; }
.svc-pick { display: grid; gap: 8px; }
.pick { position: relative; cursor: pointer; display: block; }
.pick input { position: absolute; opacity: 0; }
.pick-in { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid #dfe4f0; background: #fff; font-size: .92rem; font-weight: 600; transition: .2s; }
.pick-in .ic { color: var(--brand); }
.pick input:checked + .pick-in { border-color: var(--brand); background: var(--brand-50); box-shadow: 0 10px 20px -14px rgba(var(--brand-rgb), .8); }
.pick input:focus-visible + .pick-in { outline: 3px solid var(--accent); outline-offset: 2px; }
.proposal-grid, .contact-grid, .roster-grid { display: grid; gap: 24px; }
.next-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.next-steps li { display: flex; gap: 12px; }
.next-steps li > span { flex-shrink: 0; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent-50); color: var(--accent-700); font-weight: 700; }
.next-steps p { margin: 0; font-size: .88rem; color: #67708d; }
.sent-box, .done-card { text-align: center; padding: 24px 10px; }
.done-card { padding: 40px 24px; }
.done-ic { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: #e8f8ef; color: #1f9d55; margin-bottom: 16px; animation: pop .6s cubic-bezier(.2, 1.6, .4, 1) both; }
.done-ic.sm { width: 66px; height: 66px; }
@keyframes pop { from { transform: scale(.3) rotate(-30deg); opacity: 0; } }
.ref-big { font-size: 1.05rem; }
.ref-big strong { display: inline-block; margin-left: 6px; padding: 6px 14px; border-radius: 10px; background: var(--dark); color: #fff; font-family: var(--font-head); letter-spacing: .08em; }

/* careers */
.job-list { display: grid; gap: 10px; margin-bottom: 48px; }
.job-row { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: var(--r); background: #fff; border: 1px solid #e6eaf5; color: inherit; text-decoration: none; }
.job-row:hover { color: inherit; border-color: rgba(var(--brand-rgb), .35); }
.job-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-50); color: var(--accent-700); }
.job-main { flex: 1; display: grid; }
.job-main strong { font-family: var(--font-head); color: var(--dark); }
.job-main .small { color: #67708d; }
.roster-side h2 { margin-bottom: .5em; }
.roster-visual { margin-top: 30px; display: none; perspective: 900px; }
.cv-stack { position: relative; height: 230px; transform-style: preserve-3d; }
.cv { position: absolute; width: 150px; height: 190px; border-radius: 16px; display: grid; place-items: center; color: var(--brand); background: #fff; border: 1px solid #e6eaf5; box-shadow: 0 30px 50px -26px rgba(var(--dark-rgb), .6); animation: bob 7s ease-in-out infinite; }
.cv.c1 { left: 10px; top: 20px; transform: rotateY(24deg) rotateZ(-8deg); }
.cv.c2 { left: 90px; top: 0; transform: rotateY(24deg) rotateZ(2deg) translateZ(40px); animation-delay: -2s; background: linear-gradient(145deg, var(--brand), var(--dark)); color: #fff; border: 0; }
.cv.c3 { left: 175px; top: 30px; transform: rotateY(24deg) rotateZ(10deg) translateZ(80px); animation-delay: -4s; color: var(--accent-700); }

/* contact */
.contact-cards { display: grid; gap: 12px; margin: -72px 0 32px; position: relative; z-index: 3; }
.c-card { display: grid; gap: 4px; padding: 20px; border-radius: var(--r-lg); background: #fff; border: 1px solid #e6eaf5; color: inherit; text-decoration: none; box-shadow: 0 24px 50px -36px rgba(var(--dark-rgb), .55); }
.c-card:hover { color: inherit; }
.c-ic { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: #fff; background: linear-gradient(145deg, var(--brand), var(--dark)); margin-bottom: 8px; }
.c-card small { color: #67708d; font-size: .82rem; }
.c-card strong { font-family: var(--font-head); color: var(--dark); line-height: 1.35; }
.c-card .wrap { word-break: break-word; }
/* Savana: several offices (Nairobi, Mogadishu, Hargeysa) */
.office-head { margin: 8px 0 18px; }
.office-grid { display: grid; gap: 14px; margin-bottom: 40px; }
.office-card { display: grid; gap: 6px; align-content: start; padding: 22px; border-radius: var(--r-lg); background: #fff; border: 1px solid #e6eaf5; box-shadow: 0 24px 50px -36px rgba(var(--dark-rgb), .55); }
.office-card small { color: #67708d; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.office-card h3 { margin: 0; font-size: 1.2rem; color: var(--dark); }
.office-card p { margin: 0 0 4px; color: #4a5370; }
.office-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--brand-700); text-decoration: none; overflow-wrap: anywhere; }
.office-phone:hover { color: var(--accent-700); }
@media (min-width: 760px) { .office-grid { grid-template-columns: repeat(3, 1fr); } }
.hours { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hours li { display: flex; justify-content: space-between; gap: 10px; font-size: .92rem; border-bottom: 1px solid #eef1f8; padding-bottom: 8px; }
.map-embed { margin-bottom: 40px; }
.map-frame { position: relative; border-radius: var(--r-lg); overflow: hidden; height: 360px; box-shadow: 0 30px 60px -40px rgba(var(--dark-rgb), .6); }
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: saturate(.8); }
.map-btn { position: absolute; left: 16px; bottom: 16px; }

/* pager, error */
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 36px; }
.pager a, .pager span { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px; border-radius: 12px; background: #fff; border: 1px solid #e6eaf5; text-decoration: none; font-weight: 600; color: var(--dark); }
.pager .cur { background: var(--dark); color: #fff; }
.error-page { padding-top: 140px; }
.err-stage { display: grid; place-items: center; margin-bottom: -20px; }
.err-stage .mark-stage { width: 200px; height: 200px; }
.err-stage .mark-3d { --mark-ring: var(--dark); filter: drop-shadow(0 20px 20px rgba(var(--dark-rgb), .3)); }
.err-stage .mark-ring { border-color: rgba(var(--brand-rgb), .2); }
.err-code { display: block; font-family: var(--font-head); font-weight: 800; font-size: 5rem; line-height: 1; color: transparent; -webkit-text-stroke: 2px rgba(var(--brand-rgb), .3); }

/* ---------------------------------------------------------------- footer */
.site-footer { padding: 60px 12px 12px; }
.footer-card { position: relative; overflow: hidden; padding: 48px 22px 20px; border-radius: var(--r-lg); background: radial-gradient(900px 500px at 0% 0%, rgba(var(--brand-rgb), .4), transparent 60%), var(--dark-950); color: rgba(255, 255, 255, .72); isolation: isolate; }
.footer-orbit { position: absolute; right: -30px; top: -30px; opacity: .14; z-index: -1; }
.footer-top { position: relative; max-width: 1240px; margin: 0 auto; display: grid; gap: 34px; }
.footer-about p { max-width: 380px; margin: 16px 0; }
.footer-logo .logo-chip img { height: 36px; width: auto; }
.footer-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.socials { display: flex; gap: 8px; margin-top: 16px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, .08); transition: .2s; }
.socials a:hover { background: var(--accent); transform: translateY(-3px); }
.footer-h { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: .93rem; }
.footer-links a, .footer-contact a { color: rgba(255, 255, 255, .72); text-decoration: none; transition: color .2s, transform .2s; display: inline-block; }
.footer-links a:hover, .footer-contact a:hover { color: #fff; transform: translateX(3px); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .ic { color: #ffb47f; margin-top: 4px; }
.footer-contact strong { color: #fff; font-weight: 600; }
.footer-wordmark { font-family: var(--font-head); font-weight: 800; font-size: clamp(5rem, 24vw, 19rem); line-height: .8; letter-spacing: -.06em; text-align: center; margin: 40px 0 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 80%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
.footer-bottom { position: relative; max-width: 1240px; margin: -10px auto 0; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .84rem; }
.footer-bottom-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-bottom a { color: rgba(255, 255, 255, .72); }
.to-top { position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--dark); color: #fff; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .5); opacity: 0; transform: translateY(20px); pointer-events: none; transition: .3s; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { color: #fff; background: var(--accent-700); }

/* ---------------------------------------------------------------- larger screens */
@media (min-width: 600px) {
  .container { padding: 0 24px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .proj-grid, .post-grid, .quote-grid, .gallery, .feat-grid.cols-2, .feat-grid.cols-3, .feat-grid.cols-4, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-2 .span-2 { grid-column: 1 / -1; }
  .fb-selects { grid-template-columns: repeat(3, 1fr); }
  .svc-pick { grid-template-columns: 1fr 1fr; }
  .contact-cards { grid-template-columns: repeat(3, 1fr); }
  .fact-grid { grid-template-columns: repeat(2, 1fr); }
  .form-card { padding: 30px; }
  .cta-card { padding: 54px 44px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .svc-tiles { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .section { padding: 96px 0; }
  .bg-dark.section, .bg-brand.section { margin: 0 16px; }
  .hero { padding: 16px 16px 0; }
  .hero-in { grid-template-columns: 1.08fr .92fr; padding: 140px 48px 96px; }
  .hero-card { min-height: 720px; }
  .hero.has-scene .scroll-cue { display: block; }
  .scene { height: 500px; }
  .globe { width: 300px; height: 300px; margin: -150px 0 0 -150px; }
  .o1 { --s: 430px; }
  .o2 { --s: 520px; }
  .o3 { --s: 370px; }
  .hero-compact .hero-card { min-height: 460px; }
  .hero-compact .hero-in { grid-template-columns: 1.4fr .6fr; padding: 130px 48px 64px; }
  .hero-mark { display: grid; place-items: center; animation: fadeUp 1s .3s both; }
  .hero-facts { display: block; }
  .stats-grid.n4 { grid-template-columns: repeat(4, 1fr); }
  .stats-grid.n5 { grid-template-columns: repeat(5, 1fr); }
  .stats-grid.n5 .stat:last-child { grid-column: auto; }
  .stats-grid.n3 { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .split.img-left .split-media { order: -1; }
  .svc-bento { grid-template-columns: repeat(6, 1fr); }
  .svc-bento > * { grid-column: span 2; }
  .svc-bento.n5 > :nth-child(1), .svc-bento.n5 > :nth-child(2) { grid-column: span 3; }
  .svc-bento.n4 > * { grid-column: span 3; }
  .svc-bento.n5 > :nth-child(1) { background: linear-gradient(150deg, var(--dark), var(--brand-700)); color: #fff; border: 0; }
  .svc-bento.n5 > :nth-child(1) h3 { color: #fff; }
  .svc-bento.n5 > :nth-child(1) p { color: rgba(255, 255, 255, .78); }
  .svc-bento.n5 > :nth-child(1) .tag { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .18); }
  .svc-bento.n5 > :nth-child(1) .svc-go { color: #ffb47f; }
  .svc-bento.n5 > :nth-child(1) .svc-num { color: rgba(255, 255, 255, .1); }
  .proj-grid, .post-grid, .quote-grid, .gallery, .feat-grid.cols-3, .team-grid { grid-template-columns: repeat(3, 1fr); }
  .proj-grid.two { grid-template-columns: repeat(2, 1fr); }
  .quote-grid.n2, .quote-grid.n4 { grid-template-columns: repeat(2, 1fr); } /* 4 testimonials: 2 × 2, not 3 + 1 */
  .feat-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
  .team-grid.with-bio { grid-template-columns: 1fr; gap: 56px; }
  .team-grid.with-bio .team-card { grid-template-columns: 340px 1fr; gap: 48px; align-items: center; }
  .team-grid.with-bio .team-card:nth-child(even) { grid-template-columns: 1fr 340px; }
  .team-grid.with-bio .team-card:nth-child(even) .team-photo { order: 2; }
  .map-wrap { grid-template-columns: 1.55fr 1fr; gap: 40px; align-items: center; }
  .map-list { max-height: 300px; }
  .flow { grid-template-columns: 1fr auto 1fr auto 1fr; }
  .flow-arrow { height: auto; width: 46px; }
  .flow-arrow svg { transform: none; }
  .detail-grid { grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
  .sticky { position: sticky; top: 100px; }
  .filter-bar { grid-template-columns: 1fr; }
  .fb-selects { grid-template-columns: repeat(6, 1fr); }
  .proposal-grid { grid-template-columns: 1fr 340px; align-items: start; }
  .contact-grid { grid-template-columns: 1.5fr 1fr; align-items: start; }
  .roster-grid { grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
  .roster-side { position: sticky; top: 110px; }
  .roster-visual { display: block; }
  .fact-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-card { padding: 64px 48px 24px; }
  .footer-top { grid-template-columns: 1.5fr 1fr 1.2fr 1fr 1.3fr; }
  .tl-item { flex-basis: 270px; }
  .cta-card { grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding: 56px 64px; }
  .cta-copy { max-width: 640px; }
  .cta-side.has-photo { min-height: 400px; display: grid; align-items: end; }
  .cta-photo { display: block; position: absolute; top: 0; right: 0; bottom: 120px; left: 70px; border-radius: 22px; overflow: hidden; transform: rotate(2.5deg); border: 4px solid rgba(255, 255, 255, .14); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .6); }
  .cta-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .8, .2, 1); }
  .cta-card:hover .cta-photo img { transform: scale(1.05); }
  .cta-side.has-photo { min-height: 430px; }
  .cta-side.has-photo .cta-desk { position: relative; z-index: 1; max-width: 350px; margin: 0 0 -8px -12px; background: rgba(var(--dark-rgb), .74); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .6); }
}
@media (min-width: 1100px) {
  .svc-tiles.n3, .svc-tiles.n6, .svc-tiles.n9 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1200px) {
  .hero-title { font-size: 4.6rem; }
  .tl-track { padding-left: calc((100vw - 1240px) / 2 + 24px); padding-right: 60px; }
}

/* ---------------------------------------------------------------- motion levels & accessibility */
@media (hover: none) { .tilt { transform: none !important; } .glare { display: none; } }
html[data-motion=calm] .hero-floor, html[data-motion=calm] .hero-mesh span, html[data-motion=calm] .float-chip, html[data-motion=calm] .globe, html[data-motion=calm] .float-badge, html[data-motion=calm] .cv { animation: none; }
html[data-motion=calm] .ring, html[data-motion=calm] .mark-ring { animation-duration: 60s; }
html[data-motion=off] *, html[data-motion=off] *::before, html[data-motion=off] *::after { animation: none !important; transition: none !important; }
html[data-motion=off] [data-reveal], html[data-motion=off] .map-plane .pin, html[data-motion=off] .flow-col li { opacity: 1 !important; transform: none !important; }
html[data-motion=off] .tilt { transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal], .js .map-plane .pin, .js .flow-col li { opacity: 1 !important; transform: none !important; }
  .tilt { transform: none !important; }
  .js .statement-text .sw { color: inherit; }
}
@media print {
  .site-header, .site-footer, .scroll-progress, .to-top, .hero-mesh, .hero-floor, .scene { display: none !important; }
  .hero-card { min-height: 0; background: none; color: #000; }
  .hero-title, .hero-text { color: #000; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
