/* Theme colours are registered so they can animate when the page
   moves between dark and light sections. */
@property --bg     { syntax: "<color>"; inherits: true; initial-value: #0a0c10; }
@property --fg     { syntax: "<color>"; inherits: true; initial-value: #ffffff; }
@property --muted  { syntax: "<color>"; inherits: true; initial-value: #98a29d; }
@property --line   { syntax: "<color>"; inherits: true; initial-value: rgba(255,255,255,.13); }
@property --card   { syntax: "<color>"; inherits: true; initial-value: rgba(255,255,255,.04); }
@property --accent { syntax: "<color>"; inherits: true; initial-value: #2ecc71; }

:root {
  --green: #2ecc71;
  --ink: #080c0d;
  --sans: "Power Grotesk", "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Consolas, monospace;
  --gutter: clamp(16px, 4vw, 56px);
}

body {
  --bg: #0a0c10; --fg: #ffffff; --muted: #98a29d;
  --line: rgba(255,255,255,.13); --card: rgba(255,255,255,.04); --accent: #2ecc71;
  transition: --bg .9s ease, --fg .9s ease, --muted .9s ease, --line .9s ease, --card .9s ease, --accent .9s ease;
}
body[data-theme="light"] {
  --bg: #e9eceb; --fg: #0a0c10; --muted: #57605b;
  --line: rgba(10,12,16,.15); --card: rgba(10,12,16,.045); --accent: #0b6f37;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--fg);
  font-family: var(--sans); font-size: 17px; line-height: 1.55; font-weight: 400;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul, ol { list-style: none; }
h1, h2, h3 { font-weight: 400; letter-spacing: -0.035em; line-height: 1.06; }
h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); }
h3 { font-size: clamp(1.3rem, 2.1vw, 1.8rem); letter-spacing: -0.025em; }

.wrap { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--mono); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.dim { color: var(--muted); }
.label { color: var(--muted); margin-bottom: 22px; }
.center { text-align: center; }
.accent { color: var(--accent); }
.link { display: inline-block; padding-block: 6px; border-bottom: 1px solid transparent; transition: border-color .25s; white-space: nowrap; }
.link:hover { border-color: currentColor; }
.tag { display: inline-block; padding: 4px 9px; border: 1px dashed var(--line); border-radius: 4px; color: var(--muted); font-size: .68rem; }
.tag.inline { margin-left: 10px; }

/* ---------- Background layers ---------- */
/* Green glow drifting behind the top of the screen (dark sections only) */
.glow {
  position: fixed; inset: 0 0 auto 0; height: 62vh; z-index: 0; pointer-events: none; overflow: hidden;
  -webkit-mask-image: linear-gradient(#000, transparent); mask-image: linear-gradient(#000, transparent);
  transition: opacity .9s ease;
}
.glow i { position: absolute; border-radius: 50%; filter: blur(70px); }
.glow i:first-child { left: 12%; top: -52%; width: 62%; height: 84%; background: rgba(46,204,113,.55); animation: drift1 16s ease-in-out infinite alternate; }
.glow i:last-child  { left: 46%; top: -60%; width: 46%; height: 84%; background: rgba(3,239,149,.38); animation: drift2 21s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(16%, 10%) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-22%, 14%) scale(.9); } }
body[data-theme="light"] .glow { opacity: 0; }

/* The 3D logo is drawn on one fixed full-screen canvas and moved with scroll */
#stage { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .8s ease; }
#stage.ready { opacity: 1; }

/* Film grain */
.grain {
  position: fixed; inset: 0; z-index: 3; pointer-events: none; opacity: .09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, .footer { position: relative; z-index: 1; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 40; height: 76px;
  display: flex; align-items: center; justify-content: space-between;
  padding-inline: var(--gutter);
}
.header::before {
  content: ""; position: absolute; inset: 0 0 -24px 0; z-index: -2; pointer-events: none;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent);
}
.brand { display: flex; align-items: center; gap: 9px; color: var(--fg); }
.brand-icon { width: 34px; height: 34px; flex: none; }
.brand-word b { display: block; font-weight: 700; font-size: 1.5rem; letter-spacing: -0.02em; line-height: .86; }
.brand-word small { display: block; font-size: .46rem; font-weight: 700; letter-spacing: .9em; margin-top: 4px; padding-left: 2px; }
.logo { height: 34px; width: auto; }
.brand .logo { position: absolute; left: 0; top: 0; transition: opacity .6s ease; }
.logo-on-light { opacity: 0; }
body[data-theme="light"] .logo-on-dark { opacity: 0; }
body[data-theme="light"] .logo-on-light { opacity: 1; }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 34px); font-family: var(--mono); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.nav a { color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--fg); }
.nav .nav-cta { color: var(--accent); }
.burger { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; flex-direction: column; justify-content: center; align-items: flex-end; gap: 7px; }
.burger span { display: block; height: 1.5px; width: 26px; background: var(--fg); transition: transform .3s, width .3s; }
.burger span:last-child { width: 18px; }

/* ---------- Hero ---------- */
.hero { height: 420vh; }
.hero-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero-a, .hero-b { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; text-align: center; padding-inline: var(--gutter); will-change: opacity, transform; }
.hero-a { padding-top: clamp(96px, 15vh, 150px); padding-bottom: clamp(22px, 4vh, 44px); }
.eyebrow { display: flex; flex-direction: column; gap: 3px; margin-bottom: clamp(18px, 4vh, 40px); }
.hero-title { font-size: clamp(2.3rem, 5.2vw, 4.3rem); min-height: 1.1em; margin-bottom: clamp(16px, 3.4vh, 34px); }
.hero-title .w { display: inline-block; white-space: pre; opacity: 0; filter: blur(14px); transform: translateY(.12em); animation: wordIn .9s cubic-bezier(.2,.7,.2,1) forwards; }
@keyframes wordIn { to { opacity: 1; filter: none; transform: none; } }
.hero-title.out .w { animation: wordOut .45s ease forwards; }
@keyframes wordOut { from { opacity: 1; filter: none; } to { opacity: 0; filter: blur(12px); } }
.hero-tag { margin-bottom: 12px; }
.hero-sub { max-width: 27em; font-size: clamp(.98rem, 1.25vw, 1.12rem); line-height: 1.4; }
.hero-slot { flex: 1 1 auto; min-height: 150px; width: 100%; }
.hero-tick-label { margin-bottom: 8px; }
.ticker { width: min(560px, 100%); overflow: hidden; margin-bottom: clamp(14px, 3vh, 28px); -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); }
.ticker-track { display: flex; align-items: center; gap: 34px; width: max-content; padding-right: 34px; animation: slide 30s linear infinite; }
.ticker-track img { height: 44px; width: auto; opacity: .85; }
.ticker-track img.tall { height: 38px; filter: brightness(1.7); }
@keyframes slide { to { transform: translateX(-50%); } }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 30px; font-size: .88rem; }

.hero-b { justify-content: center; gap: 26px; opacity: 0; pointer-events: none; }
.roll-window { height: calc(var(--rl) * 5); overflow: hidden; --rl: clamp(2.6rem, 5.4vw, 4.2rem); -webkit-mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent); mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent); }
.roll { transition: transform .7s cubic-bezier(.2,.7,.2,1); padding-top: calc(var(--rl) * 2); }
.roll li { height: var(--rl); line-height: var(--rl); font-size: clamp(1.45rem, 3.3vw, 2.5rem); letter-spacing: -0.03em; opacity: .28; transition: opacity .5s ease; white-space: nowrap; }
.roll li.is-on { opacity: 1; }

/* ---------- Statement with flowing lines and green band ---------- */
.quote-sec { position: relative; min-height: 130vh; display: flex; align-items: center; overflow: hidden; }
.quote-sec::before {
  content: ""; position: absolute; inset: 25% 0 0 0; pointer-events: none;
  background: linear-gradient(transparent, rgba(46,204,113,.5) 55%, #2ecc71 86%, #a9e8c4 96%, #e9eceb 100%);
}
.flow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.flow path { fill: none; stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.flow .f1, .flow .f4 { stroke: rgba(255,255,255,.75); }
.flow .f2, .flow .f3 { stroke: var(--green); }
.quote-in { position: relative; text-align: center; padding-block: 18vh; }
.statement-text { font-size: clamp(1.6rem, 3.6vw, 3.1rem); line-height: 1.16; letter-spacing: -0.03em; max-width: 21em; margin-inline: auto; }
.statement-text span { opacity: .18; transition: opacity .35s ease; }
.statement-text span.lit { opacity: 1; }
.quote-by { margin-top: 34px; }

/* ---------- Services ---------- */
/* Always light, whatever the page theme is at that moment, so it meets the green band cleanly */
#services {
  background: #e9eceb; color: var(--fg);
  --fg: #0a0c10; --bg: #e9eceb; --muted: #57605b; --line: rgba(10,12,16,.15); --card: rgba(10,12,16,.045); --accent: #0b6f37;
}
.svc-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: start; padding-top: clamp(80px, 14vh, 150px); padding-bottom: 30vh; }
.svc-head p { max-width: 24em; font-size: 1.05rem; line-height: 1.4; justify-self: end; padding-top: .6em; }
.svc-scroll { height: calc(100vh + 7 * 62vh); }
.svc-pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; padding-top: 76px; padding-bottom: clamp(14px, 3vh, 30px); }
.svc-stage { position: relative; flex: 1 1 auto; min-height: 200px; }
.svc-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.svc-lines line { stroke: var(--fg); stroke-width: 1; vector-effect: non-scaling-stroke; transition: opacity .35s ease; }
.pill {
  position: absolute; transform: translate(-50%, -50%); white-space: nowrap;
  background: var(--ink); color: #e9eceb; padding: 9px 16px; border-radius: 999px; font-size: .72rem;
  transition: opacity .35s ease, transform .5s cubic-bezier(.2,.7,.2,1);
}
.pill::after { content: ""; display: inline-block; width: 8px; height: 8px; border: 1px solid currentColor; border-radius: 2px; margin-left: 10px; vertical-align: -1px; }
.svc-stage.swap .pill { opacity: 0; transform: translate(-50%, -50%) scale(.85); }
.svc-stage.swap .svc-lines line, .pill.off, .svc-lines line.off { opacity: 0; }
.svc-stage:not(.ready) .pill, .svc-stage:not(.ready) .svc-lines line { opacity: 0; }

.acc { display: grid; grid-template-columns: 38px 1fr; align-items: start; gap: 6px; padding: clamp(10px, 1.8vh, 18px) 0; border-top: 1px solid var(--line); cursor: pointer; }
.acc:first-child { border-top: 0; }
.acc-n { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); margin-top: .25em; font-size: .7rem; transition: background .4s, color .4s, border-color .4s; }
.acc h3 { color: var(--muted); transition: color .4s; }
.acc p { max-width: 46em; font-size: .95rem; line-height: 1.4; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s ease, opacity .5s ease, margin .6s ease; }
.acc.is-on .acc-n { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.acc.is-on h3 { color: var(--fg); }
.acc.is-on p { max-height: 7em; opacity: 1; margin-top: 8px; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(90px, 15vh, 180px); }
.section-head { margin-bottom: clamp(40px, 7vh, 80px); }
.section-head.row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.center-head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.center-head p { max-width: 24em; line-height: 1.4; }

/* Work */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 44px); }
.case-img { position: relative; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); display: grid; place-items: center; }
.case-img .tag { position: absolute; top: 14px; left: 14px; background: rgba(10,12,16,.5); color: #cfd6d2; border-color: rgba(255,255,255,.25); }
.case-word { font-size: clamp(2rem, 5vw, 4.2rem); letter-spacing: -0.04em; color: rgba(255,255,255,.9); transition: transform .6s ease; }
.case:hover .case-word { transform: scale(1.06); }
.c1 { background: radial-gradient(120% 120% at 0% 0%, #2ecc71 0%, #0d3a22 55%, #0a0c10 100%); }
.c2 { background: radial-gradient(120% 120% at 100% 0%, #1c8f4d 0%, #10261a 55%, #0a0c10 100%); }
.c3 { background: radial-gradient(120% 120% at 100% 100%, #2ecc71 0%, #0f3320 50%, #0a0c10 100%); }
.c4 { background: radial-gradient(120% 120% at 0% 100%, #46e088 0%, #134227 50%, #0a0c10 100%); }
.case-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-top: 20px; }
.case-meta p { color: var(--muted); font-size: .7rem; }
.case-nums { display: flex; gap: 40px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.case-nums b { display: block; font-size: 1.7rem; font-weight: 500; letter-spacing: -0.03em; color: var(--accent); }
.case-nums span { color: var(--muted); font-size: .68rem; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.step { padding: 30px 26px 10px 0; border-right: 1px solid var(--line); }
.step + .step { padding-left: 26px; }
.step:last-child { border-right: 0; }
.step .mono { color: var(--accent); display: block; margin-bottom: clamp(40px, 9vh, 110px); }
.step h3 { margin-bottom: 12px; }
.step p { color: var(--muted); }

/* Results */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; border-top: 1px solid var(--line); padding-top: 34px; }
.stat b { display: block; font-size: clamp(2.8rem, 7vw, 6rem); font-weight: 400; letter-spacing: -0.05em; line-height: 1; margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); }
.quote { margin-top: clamp(80px, 14vh, 160px); max-width: 1000px; }
.quote blockquote { font-size: clamp(1.5rem, 3.4vw, 2.9rem); line-height: 1.2; letter-spacing: -0.03em; margin-bottom: 28px; }
.quote figcaption { color: var(--muted); }

/* Industries + markets */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 8vw, 130px); }
.split h2 { font-size: clamp(2rem, 4vw, 3.3rem); margin-bottom: 36px; }
.ind li { font-size: clamp(1.2rem, 2vw, 1.6rem); letter-spacing: -0.02em; padding: 16px 0; border-bottom: 1px solid var(--line); transition: padding-left .3s, color .3s; }
.ind li:hover { padding-left: 14px; color: var(--accent); }
.markets li { display: flex; align-items: center; gap: 18px; padding: 19px 0; border-bottom: 1px solid var(--line); font-size: .86rem; }
.markets b { font-weight: 500; color: var(--accent); width: 2.2em; }
.markets i { margin-left: auto; font-style: normal; color: var(--muted); font-size: .7rem; }

/* Insights */
#insights { padding-top: 0; }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post { display: flex; flex-direction: column; gap: 22px; min-height: 280px; padding: 28px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; transition: transform .35s ease, border-color .3s; }
.post:hover { transform: translateY(-6px); border-color: var(--accent); }
.post > .mono:first-child { color: var(--muted); font-size: .7rem; }
.post-more { margin-top: auto; color: var(--accent); }

/* CTA */
.cta { padding-block: 84px clamp(50px, 8vh, 90px); text-align: center; display: flex; flex-direction: column; align-items: center; }
.cta-slot { height: clamp(150px, 23vh, 230px); width: 100%; margin-bottom: 20px; }
.cta-title { font-size: clamp(2.2rem, 5.4vw, 4.4rem); margin-bottom: 34px; }
.btn { display: inline-flex; align-items: center; gap: 12px; background: var(--green); color: var(--ink); font-weight: 500; font-size: 1.05rem; padding: 18px 30px; border-radius: 999px; transition: transform .25s, box-shadow .25s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 50px -10px rgba(46,204,113,.7); }
.cta-num { margin-top: 22px; color: var(--muted); }

/* Footer, with a green glow rising from the bottom */
.footer { padding-block: 40px 34px; border-top: 1px solid var(--line); overflow: hidden; }
.footer::before { content: ""; position: absolute; inset: auto 0 0 0; height: 240%; z-index: -1; pointer-events: none; background: radial-gradient(120% 90% at 50% 100%, rgba(46,204,113,.38), rgba(46,204,113,.1) 35%, transparent 70%); }
.footer { overflow: visible; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.footer-nav { display: flex; gap: 12px 26px; flex-wrap: wrap; }
.footer-nav a, .footer-bottom { color: var(--muted); }
.footer-nav a:hover { color: var(--fg); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .7rem; }

/* WhatsApp float */
.wa { position: fixed; right: 20px; bottom: 20px; z-index: 45; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: var(--ink); box-shadow: 0 10px 34px -8px rgba(46,204,113,.7); transition: transform .25s; }
.wa:hover { transform: scale(1.08); }

/* Version switch (for comparing; removed before launch) */
.switch { position: fixed; left: 16px; bottom: 16px; z-index: 45; font-family: var(--mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; background: rgba(8,12,13,.8); color: #fff; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 9px 14px; }
.switch:hover { border-color: var(--green); color: var(--green); }

/* Scroll reveal (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .step { border-bottom: 1px solid var(--line); padding-bottom: 30px; }
  .step:nth-child(2n) { border-right: 0; }
  .step:nth-child(2n+1) { padding-left: 0; }
  .step .mono { margin-bottom: 40px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 44px 24px; }
  .posts { grid-template-columns: 1fr; }
  .post { min-height: 200px; }
}
@media (max-width: 820px) {
  .burger { display: flex; }
  .nav {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; align-items: flex-start; gap: 26px;
    padding-inline: var(--gutter); background: var(--bg); font-size: 1.1rem;
    opacity: 0; pointer-events: none; transition: opacity .35s ease;
  }
  .nav.open { opacity: 1; pointer-events: auto; }
  .burger.open span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .burger.open span:last-child { width: 26px; transform: translateY(-4.25px) rotate(-45deg); }
  .svc-head { grid-template-columns: 1fr; padding-bottom: 22vh; }
  .svc-head p { justify-self: start; }
  .work-grid, .split { grid-template-columns: 1fr; }
  .pill { padding: 7px 11px; font-size: .62rem; }
  .pill:nth-of-type(1) { top: 12% !important; left: 24% !important; }
  .pill:nth-of-type(2) { top: 20% !important; left: 78% !important; }
  .pill:nth-of-type(3) { top: 90% !important; left: 34% !important; }
  .ticker-track img { height: 36px; }
  .ticker-track img.tall { height: 32px; }
  .hero-a { padding-bottom: 86px; } /* keep the hero links clear of the WhatsApp button */
  .hero-actions { font-size: .78rem; gap: 4px 22px; }
  .roll li { white-space: normal; line-height: 1.1; display: flex; align-items: center; justify-content: center; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding-left: 0; border-right: 0; }
  .case-nums { gap: 28px; }
  .acc p { font-size: .88rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .statement-text span { opacity: 1; }
  .hero-title .w { opacity: 1; filter: none; transform: none; }
}

/* Client names shown as text until the logo files are supplied again */
.ticker-track span { font-weight: 600; font-size: 1.05rem; letter-spacing: -0.02em; white-space: nowrap; opacity: .8; line-height: 44px; }

/* ---------- Card polish ---------- */
.case { display: flex; flex-direction: column; }
.case-img { transition: transform .6s cubic-bezier(.2,.7,.2,1), border-color .4s, box-shadow .6s; }
.case-img::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 45%, rgba(8,12,13,.55)); }
.case:hover .case-img { transform: translateY(-6px); border-color: rgba(46,204,113,.6); box-shadow: 0 30px 60px -30px rgba(46,204,113,.45); }
.case-img .tag { z-index: 1; border-style: solid; border-radius: 999px; padding: 5px 11px; }
.case-go { position: absolute; z-index: 1; left: 16px; bottom: 14px; font-size: .68rem; color: #fff; opacity: .85; }
.case-meta { align-items: flex-end; }
.case-meta h3 { font-size: clamp(1.2rem, 1.8vw, 1.55rem); max-width: 16em; }
.case-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .66rem; }
.case-chips li { padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line); color: var(--fg); }
.case-chips li:first-child { border-color: transparent; padding-left: 0; color: var(--muted); }

.step { transition: background-color .4s; }
.step h3 { transition: color .3s; }
.step:hover h3 { color: var(--accent); }

.stat b sup { font-size: .38em; color: var(--accent); vertical-align: top; position: relative; top: .3em; margin-left: 2px; letter-spacing: 0; }
.stat { padding-right: 10px; }
.quote { padding: clamp(26px, 4vw, 48px); border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
.quote .tag { margin-bottom: 22px; border-radius: 999px; }
.quote blockquote { color: var(--muted); }

.post { position: relative; overflow: hidden; border-radius: 18px; }
.post::before { content: ""; position: absolute; inset: auto -20% -60% -20%; height: 90%; pointer-events: none; opacity: 0; transition: opacity .5s;
  background: radial-gradient(60% 60% at 50% 100%, rgba(46,204,113,.35), transparent 70%); }
.post:hover::before { opacity: 1; }
.post h3 { font-size: clamp(1.25rem, 1.9vw, 1.65rem); position: relative; }
.post > .mono { position: relative; }
.case-meta { flex-direction: column; align-items: flex-start; gap: 8px; }

/* ---------- Why Zyfid Media: drawn lines and a faint dot texture ---------- */
.hero-b > * { position: relative; }
.hero-b > .why-dots, .hero-b > .why-lines { position: absolute; inset: 0; pointer-events: none; }
.why-dots {
  background-image: radial-gradient(rgba(255,255,255,.16) 1px, transparent 1.3px); background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 62% 58% at 50% 55%, #000 10%, transparent 75%); mask-image: radial-gradient(ellipse 62% 58% at 50% 55%, #000 10%, transparent 75%);
  animation: dotsDrift 40s linear infinite;
}
@keyframes dotsDrift { to { background-position: 28px 56px; } }
.why-lines { width: 100%; height: 100%; animation: linesSway 14s ease-in-out infinite alternate; }
@keyframes linesSway { to { transform: translateY(-2.5%) scaleX(1.03); } }
.why-lines path { fill: none; stroke-width: 1.1; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; }
.why-lines .g { stroke: rgba(46,204,113,.6); }
.why-lines .w { stroke: rgba(255,255,255,.3); }

/* ---------- Services: smooth hover on each capability ---------- */
.acc h3 { transition: color .4s ease, transform .5s cubic-bezier(.2,.7,.2,1); }
.acc-n { transition: background .4s, color .4s, border-color .4s, transform .4s cubic-bezier(.2,.7,.2,1); }
.acc:hover h3 { color: var(--fg); transform: translateX(8px); }
.acc:hover .acc-n { border-color: var(--fg); transform: scale(1.12); }
.acc.is-on h3 { transform: none; }
.pill { transition: opacity .35s ease, transform .5s cubic-bezier(.2,.7,.2,1), background-color .3s; }

/* =====================================================================
   Multi-page site: header dropdowns, inner pages, new home sections
   ===================================================================== */
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.small { font-size: .85rem; }
.hp { position: absolute; left: -9999px; }

/* ---------- Header: dropdowns ---------- */
.nav .dd { position: relative; }
.dd-btn { font: inherit; letter-spacing: inherit; text-transform: inherit; color: var(--muted); background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding: 10px 0; transition: color .2s; }
.dd-btn:hover, .dd.open .dd-btn, .dd-btn[aria-current], .nav a[aria-current] { color: var(--fg); }
.dd-btn i { width: 7px; height: 7px; border-right: 1.2px solid currentColor; border-bottom: 1.2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .3s; }
.dd.open .dd-btn i { transform: translateY(1px) rotate(-135deg); }
.dd-panel {
  position: absolute; top: calc(100% + 12px); left: 50%; z-index: 50; translate: -50% 0;
  background: color-mix(in srgb, var(--bg) 92%, transparent); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border: 1px solid var(--line); border-radius: 16px; padding: 22px; box-shadow: 0 30px 80px -30px rgba(0,0,0,.6);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s ease, transform .35s cubic-bezier(.2,.7,.2,1), visibility .25s;
  text-transform: none; letter-spacing: 0; font-family: var(--sans);
}
.dd-panel::before { content: ""; position: absolute; inset: -14px 0 auto 0; height: 14px; }
.dd.open .dd-panel { opacity: 1; visibility: visible; transform: none; }
.dd-mega { width: min(1060px, 92vw); left: auto; right: -260px; translate: 0 0; }
.dd-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px 24px; }
.dd-col { display: flex; flex-direction: column; gap: 2px; }
.dd-panel a { color: var(--muted); font-size: .9rem; padding: 5px 0; transition: color .2s, transform .25s; }
.dd-panel a:hover { color: var(--fg); transform: translateX(3px); }
.dd-col .dd-head { color: var(--fg); font-weight: 500; font-size: .95rem; margin-bottom: 4px; }
.dd-list { width: 380px; display: flex; flex-direction: column; }
.dd-list a { display: flex; flex-direction: column; gap: 1px; padding: 9px 10px; border-radius: 10px; }
.dd-list a:hover { background: var(--card); transform: none; }
.dd-list b { color: var(--fg); font-weight: 500; font-size: .93rem; }
.dd-list span { font-size: .8rem; }
.dd-foot { display: block; margin-top: 14px; padding-top: 14px !important; border-top: 1px solid var(--line); font-family: var(--mono); font-size: .72rem !important; letter-spacing: .06em; text-transform: uppercase; color: var(--accent) !important; }
.nav .nav-cta { border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent); padding: 9px 15px; border-radius: 999px; transition: background .25s, color .25s; }
.nav .nav-cta:hover { background: var(--accent); color: var(--bg); }
@media (max-width: 1100px) {
  .burger { display: flex; }
  .nav {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 0;
    padding: 96px var(--gutter) 40px; background: var(--bg); font-size: 1rem; overflow-y: auto;
    opacity: 0; pointer-events: none; transition: opacity .35s ease;
  }
  .nav.open { opacity: 1; pointer-events: auto; }
  .burger.open span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .burger.open span:last-child { width: 26px; transform: translateY(-4.25px) rotate(-45deg); }
  .nav > a, .dd-btn { padding: 16px 0; border-bottom: 1px solid var(--line); width: 100%; justify-content: space-between; color: var(--fg); }
  .nav .nav-cta { margin-top: 24px; text-align: center; border-bottom: 1px solid var(--accent); }
  .dd-panel { position: static; translate: none; width: auto; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: none; padding: 0 0 0 4px;
    display: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .dd.open .dd-panel { display: block; padding: 10px 0 18px 4px; }
  .dd-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) { .dd-cols { grid-template-columns: 1fr; } }

/* ---------- Buttons ---------- */
.btn.ghost { background: transparent; color: var(--fg); border: 1px solid var(--line); }
.btn.ghost:hover { border-color: var(--fg); box-shadow: none; }
.btn.small { padding: 10px 16px; font-size: .85rem; }
.btn span[aria-hidden] { transition: transform .3s; }
.btn:hover span[aria-hidden] { transform: translateX(4px); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.cta-row.left { justify-content: flex-start; }

/* ---------- Home: hero copy, closing ---------- */
.hero-title { font-size: clamp(2.2rem, 5vw, 4.4rem); max-width: 13em; }
.hero-sub { max-width: 34em; }
.hero-line { font-size: .82rem; margin-top: 10px; }
.cta-sub { max-width: 36em; margin: -10px auto 30px; color: var(--muted); line-height: 1.45; }
.cta-num a { color: var(--fg); border-bottom: 1px solid var(--line); }
.acc-more { color: color-mix(in srgb, var(--accent) 72%, var(--fg)); margin-left: 6px; white-space: nowrap; }
.head-note { max-width: 30em; color: var(--muted); line-height: 1.45; margin-top: 18px; }
.section-head.row .head-note { margin-top: 0; }
.more-link { display: inline-block; margin-top: 34px; }
.narrow-wrap { max-width: 980px; }

/* Sound familiar? */
.prob-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.prob { padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line); border-radius: 18px; background: var(--card); display: flex; flex-direction: column; gap: 12px;
  transition: transform .45s cubic-bezier(.2,.7,.2,1), border-color .3s; }
.prob:hover { transform: translateY(-4px); border-color: var(--accent); }
.prob-n { color: var(--accent); }
.prob p { color: var(--muted); line-height: 1.45; }
.prob .prob-cause { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); color: var(--fg); }
.prob-cause .mono { display: block; color: var(--muted); font-size: .66rem; margin-bottom: 6px; }

/* How the system works */
.sysflow { --p: 0; position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: s; }
.sysflow::before, .sysflow::after { content: ""; position: absolute; left: 4%; right: 4%; top: 21px; height: 1px; }
.sysflow::before { background: var(--line); }
.sysflow::after { background: var(--green); transform-origin: left; transform: scaleX(var(--p)); box-shadow: 0 0 12px rgba(46,204,113,.6); }
.sys-step { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 10px; padding-right: 8px; }
.sys-dot { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: var(--bg); color: var(--muted);
  transition: background .5s, color .5s, border-color .5s, box-shadow .5s, transform .5s cubic-bezier(.2,.7,.2,1); }
.sys-step h3 { margin-top: 14px; transition: color .5s; color: var(--muted); }
.sys-step p { color: var(--muted); font-size: .95rem; line-height: 1.45; opacity: .82; transition: opacity .5s; }
.sys-step.on .sys-dot { background: var(--green); color: var(--ink); border-color: var(--green); box-shadow: 0 0 0 8px rgba(46,204,113,.12); transform: scale(1.08); }
.sys-step.on h3 { color: var(--fg); }
.sys-step.on p { opacity: 1; }

/* Steps: six */
.steps.six { grid-template-columns: repeat(3, 1fr); }
.steps.six .step { border-bottom: 1px solid var(--line); padding-bottom: 34px; }
.steps.six .step:nth-child(3n) { border-right: 0; }
.steps.six .step:nth-child(3n+1) { padding-left: 0; }
.steps.six .step .mono { margin-bottom: clamp(26px, 5vh, 60px); }

/* Industries cards */
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ind-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; min-height: 220px; border-radius: 16px; border: 1px solid var(--line); background: var(--card);
  transition: transform .45s cubic-bezier(.2,.7,.2,1), border-color .3s, background .3s; }
.ind-card > .mono:first-child { color: var(--accent); }
.ind-card h3 { font-size: clamp(1.2rem, 1.6vw, 1.45rem); }
.ind-card p { color: var(--muted); font-size: .93rem; line-height: 1.4; }
.ind-go { margin-top: auto; color: var(--accent); opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .3s; }
.ind-card:hover { transform: translateY(-5px); border-color: var(--accent); }
.ind-card:hover .ind-go { opacity: 1; transform: none; }
.ind-all { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.ind-all p { color: color-mix(in srgb, var(--bg) 70%, transparent); }
.ind-all .ind-go { opacity: 1; transform: none; color: var(--green); }

/* Health check */
.quiz { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.quiz-intro p { color: var(--muted); line-height: 1.45; max-width: 26em; margin: 18px 0 30px; }
.quiz-bar { height: 2px; background: var(--line); margin-bottom: 12px; overflow: hidden; }
.quiz-bar i { display: block; height: 100%; background: var(--green); transform-origin: left; transform: scaleX(0); transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.quiz-box { position: relative; min-height: 330px; border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px, 3.4vw, 42px); background: var(--card); }
.quiz-q { border: 0; display: none; flex-direction: column; gap: 10px; }
.quiz-q.is-on { display: flex; animation: qIn .5s cubic-bezier(.2,.7,.2,1); }
@keyframes qIn { from { opacity: 0; transform: translateX(24px); } }
.quiz-q legend { font-size: clamp(1.3rem, 2.2vw, 1.8rem); letter-spacing: -.025em; line-height: 1.15; margin-bottom: 18px; }
.quiz-opt { display: flex; align-items: center; gap: 14px; text-align: left; font: inherit; font-size: 1rem; color: var(--fg); background: transparent; border: 1px solid var(--line); border-radius: 12px; padding: 15px 16px; cursor: pointer;
  transition: border-color .25s, background .25s, transform .25s; }
.quiz-opt .mono { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; flex: none; font-size: .68rem; transition: background .25s, color .25s; }
.quiz-opt:hover { border-color: var(--accent); transform: translateX(4px); }
.quiz-opt.picked { background: rgba(46,204,113,.12); border-color: var(--green); }
.quiz-opt.picked .mono { background: var(--green); color: var(--ink); border-color: var(--green); }
.quiz-result { animation: qIn .5s cubic-bezier(.2,.7,.2,1); }
.quiz-score { display: flex; align-items: baseline; gap: 6px; margin: 4px 0 14px; }
.quiz-score b { font-size: clamp(3.6rem, 8vw, 6rem); font-weight: 400; letter-spacing: -.05em; line-height: 1; color: var(--green); }
.quiz-score span { color: var(--muted); }
.quiz-result h3 { margin-bottom: 10px; }
.quiz-result p { color: var(--muted); margin-bottom: 26px; }
.quiz-result p a { color: var(--accent); }

/* Insights cards */
.post-sum { color: var(--muted); font-size: .95rem; line-height: 1.4; position: relative; }
.post[hidden] { display: none; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filters button { font: inherit; letter-spacing: inherit; text-transform: inherit; font-size: .72rem; color: var(--muted); background: none; border: 1px solid var(--line); border-radius: 999px; padding: 9px 15px; cursor: pointer; transition: all .25s; }
.filters button:hover { color: var(--fg); border-color: var(--fg); }
.filters button.is-on { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.empty { padding: 40px 0; }

/* FAQ */
.faq { border-top: 1px solid var(--line); margin-top: 10px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: clamp(1.05rem, 1.6vw, 1.3rem); letter-spacing: -.015em; transition: color .25s; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-item summary i { position: relative; width: 14px; height: 14px; flex: none; }
.faq-item summary i::before, .faq-item summary i::after { content: ""; position: absolute; left: 0; top: 50%; width: 14px; height: 1.4px; background: currentColor; transition: transform .35s; }
.faq-item summary i::after { transform: rotate(90deg); }
.faq-item[open] summary i::after { transform: rotate(0); }
.faq-a { overflow: hidden; transition: height .38s cubic-bezier(.2,.7,.2,1); }
.faq-a p { color: var(--muted); line-height: 1.5; padding: 0 40px 24px 0; max-width: 46em; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; min-height: 76vh; min-height: 76svh; display: flex; align-items: center; padding-top: 110px; padding-bottom: clamp(50px, 8vh, 90px); }
.page-hero-in { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 30px; align-items: center; width: 100%; }
.ph-copy { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.ph-title { font-size: clamp(2.3rem, 5vw, 4.4rem); max-width: 14em; }
.ph-intro { font-size: clamp(1.02rem, 1.35vw, 1.2rem); line-height: 1.45; max-width: 34em; color: var(--muted); }
.ph-intro a { color: var(--fg); border-bottom: 1px solid var(--line); }
.ph-slot { height: clamp(220px, 40vh, 420px); }
.eyebrow-s { color: var(--accent); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: .68rem; }
.crumbs a:hover { color: var(--fg); }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.jump a { display: inline-block; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: .68rem; color: var(--muted); transition: all .25s; }
.jump a:hover { color: var(--fg); border-color: var(--fg); }
.page-hero .cta-row { margin-top: 6px; }

/* generic blocks */
.lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.45; color: var(--muted); max-width: 40em; }
.center-block { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.center-block .lead { margin-bottom: 10px; }
.center-block.slim { padding-block: clamp(50px, 9vh, 100px); }
.big-line { font-size: clamp(1.4rem, 2.8vw, 2.3rem); letter-spacing: -.03em; line-height: 1.2; max-width: 30em; }
.split h2 { margin-bottom: 0; }
.prose-s { display: flex; flex-direction: column; gap: 16px; font-size: 1.08rem; line-height: 1.55; color: var(--muted); }

/* services hub rows */
.cat-rows { border-top: 1px solid var(--line); }
.cat-row { display: grid; grid-template-columns: 70px minmax(0, 1.1fr) minmax(0, 1fr) auto; gap: 18px 30px; align-items: center; padding: clamp(24px, 4vh, 38px) 0; border-bottom: 1px solid var(--line);
  transition: padding .4s cubic-bezier(.2,.7,.2,1), background .3s; }
.cat-row:hover { padding-left: 14px; }
.cat-n { color: var(--accent); }
.cat-main h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); transition: color .3s; }
.cat-main p { color: var(--muted); margin-top: 6px; }
.cat-row:hover h2 { color: var(--accent); }
.cat-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.cat-tags li { padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: .64rem; color: var(--muted); }
.cat-go { color: var(--accent); white-space: nowrap; transition: transform .3s; }
.cat-row:hover .cat-go { transform: translateX(6px); }
.next-cat .cat-row { grid-template-columns: 70px 1fr auto; border-top: 1px solid var(--line); }

/* service blocks on category pages */
.svc-block { scroll-margin-top: 80px; }
.svc-block-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: clamp(36px, 6vh, 60px); max-width: 900px; }
.svc-block-head h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); margin-bottom: 40px; }
.svc-col { display: flex; flex-direction: column; gap: 26px; }
.svc-col > div > p:not(.mono), .svc-col > p { line-height: 1.5; }
.problem-box { padding: 24px 26px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); border-left: 3px solid var(--accent); }
.problem-box .mono { color: var(--accent); margin-bottom: 8px; }
.problem-box p:last-child { font-size: 1.1rem; line-height: 1.45; letter-spacing: -.01em; }
.note { font-size: .9rem; color: var(--muted); padding-left: 14px; border-left: 2px solid var(--line); }
.ticks { margin-bottom: 26px; }
.ticks li { position: relative; padding: 11px 0 11px 30px; border-bottom: 1px solid var(--line); line-height: 1.4; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 12px; height: 6px; border-left: 1.6px solid var(--accent); border-bottom: 1.6px solid var(--accent); transform: rotate(-45deg); }
.ticks.big li { font-size: 1.1rem; padding-block: 16px; }
.mini-steps { counter-reset: m; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mini-steps li { counter-increment: m; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; font-size: .92rem; line-height: 1.35; }
.mini-steps li::before { content: "0" counter(m); display: block; font-family: var(--mono); font-size: .66rem; color: var(--accent); margin-bottom: 6px; }
.related { color: var(--muted); margin-top: 28px; font-size: .72rem; line-height: 2; }
.related a { color: var(--fg); border-bottom: 1px solid var(--line); transition: color .2s, border-color .2s; }
.related a:hover { color: var(--accent); border-color: var(--accent); }

/* industries hub */
.ind-block { scroll-margin-top: 80px; }
.ch-table { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; margin-bottom: 34px; }
.ch-row { display: grid; grid-template-columns: 1fr 1fr; }
.ch-row span { padding: 18px 22px; line-height: 1.4; }
.ch-row span + span { border-left: 1px solid var(--line); }
.ch-row + .ch-row { border-top: 1px solid var(--line); }
.ch-head { background: var(--card); color: var(--muted); }
.ch-row:not(.ch-head) span:first-child { color: var(--muted); }
.chips-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 30px; }
.chips-links li a, .chips-links li { display: inline-block; }
.chips-links a { padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line); font-size: .92rem; transition: all .25s; }
.chips-links a:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }

/* how we work */
.six-table { border-top: 1px solid var(--line); }
.six-row { display: grid; grid-template-columns: 220px 1fr 1fr; gap: 30px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: start; }
.six-head { color: var(--muted); padding-block: 14px; }
.six-step { font-size: clamp(1.3rem, 2vw, 1.7rem); letter-spacing: -.025em; display: flex; flex-direction: column; gap: 6px; }
.six-step i { font-style: normal; color: var(--accent); }
.six-row > span:nth-child(2) { color: var(--muted); line-height: 1.5; }
.six-get { line-height: 1.5; padding-left: 18px; border-left: 2px solid var(--accent); }
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.timeline li { padding: 30px; border-radius: 18px; border: 1px solid var(--line); background: var(--card); display: flex; flex-direction: column; gap: 10px; }
.timeline .mono { color: var(--accent); }
.timeline p { color: var(--muted); line-height: 1.45; }
.kv li { display: flex; justify-content: space-between; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.kv li:first-child { border-top: 1px solid var(--line); }
.kv span { color: var(--muted); }
.kv b { font-weight: 500; text-align: right; }
.kv.small li { padding: 14px 0; font-size: .93rem; flex-direction: column; gap: 4px; }
.kv.small b { text-align: left; }
.kv a { border-bottom: 1px solid var(--line); }

/* about */
.beliefs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.belief { padding: 26px 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); display: flex; flex-direction: column; gap: 12px; transition: transform .4s cubic-bezier(.2,.7,.2,1), border-color .3s; }
.belief:hover { transform: translateY(-4px); border-color: var(--accent); }
.belief .mono { color: var(--accent); }
.belief h3 { font-size: 1.25rem; }
.belief p { color: var(--muted); font-size: .93rem; line-height: 1.45; }
.team { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.member { display: flex; flex-direction: column; gap: 10px; }
.member .photo { position: relative; aspect-ratio: 4 / 5; border-radius: 16px; display: grid; place-items: center; font-size: 2.6rem; letter-spacing: -.04em; color: rgba(255,255,255,.35);
  background: radial-gradient(90% 70% at 50% 110%, rgba(46,204,113,.45), rgba(46,204,113,.05) 60%, transparent), #0e1314; border: 1px solid var(--line); overflow: hidden; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.member:hover .photo { transform: translateY(-5px); }
.member .photo .tag { position: absolute; top: 12px; left: 12px; font-size: .58rem; border-radius: 999px; }
.member .role { color: var(--accent); font-size: .66rem; }
.member h3 { font-size: 1.2rem; }
.member p { color: var(--muted); font-size: .9rem; line-height: 1.4; }

/* article + legal prose */
.article { max-width: 760px; margin-inline: auto; font-size: 1.12rem; line-height: 1.65; }
.article > * + * { margin-top: 1.1em; }
.article strong { font-weight: 600; }
.article ul, .article ol { padding-left: 1.3em; display: flex; flex-direction: column; gap: .5em; }
.article ul { list-style: disc; } .article ol { list-style: decimal; }
.article li::marker { color: var(--accent); }
.article h2 { font-size: 1.5rem; margin-top: 1.8em; }
.article-end { margin-top: 2.6em !important; padding: 28px; border-radius: 18px; border: 1px solid var(--line); background: var(--card); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.article-end p { font-size: 1.2rem; letter-spacing: -.02em; }
.legal { font-size: 1rem; }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(30px, 6vw, 90px); align-items: start; }
.contact-side { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 26px; }
.next-steps { counter-reset: n; display: flex; flex-direction: column; gap: 14px; }
.next-steps li { counter-increment: n; position: relative; padding-left: 44px; line-height: 1.45; color: var(--muted); }
.next-steps li::before { content: counter(n); position: absolute; left: 0; top: -2px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--fg); color: var(--bg); font-family: var(--mono); font-size: .72rem; }
.next-steps b { color: var(--fg); font-weight: 500; display: block; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: clamp(24px, 3.4vw, 44px); border-radius: 22px; border: 1px solid var(--line); background: var(--card); }
.form-title { grid-column: 1 / -1; font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 6px; }
.form label { display: flex; flex-direction: column; gap: 7px; font-size: .85rem; font-weight: 500; min-width: 0; }
.form .full { grid-column: 1 / -1; }
.form input:not([type=checkbox]), .form select, .form textarea { font: inherit; font-size: 1rem; font-weight: 400; color: var(--fg); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; width: 100%; transition: border-color .2s, box-shadow .2s; }
.form select option { color: #0a0c10; background: #fff; }
.form textarea { min-height: 130px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(46,204,113,.12); }
.form .bad input, .form .bad select, .form label.bad .check-box { border-color: #d64545; }
.err { color: #d64545; font-size: .8rem; font-weight: 400; }
.checks { border: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.checks legend { font-size: .85rem; font-weight: 500; margin-bottom: 10px; }
.check { flex-direction: row !important; align-items: center; gap: 10px !important; font-weight: 400 !important; cursor: pointer; }
.checks .check { padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; transition: border-color .2s, background .2s; }
.checks .check:has(input:checked) { border-color: var(--accent); background: rgba(46,204,113,.1); }
.check input { accent-color: var(--green); width: 16px; height: 16px; }
.consent { align-items: flex-start !important; line-height: 1.45; }
.consent a { text-decoration: underline; }
.form-end { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.form-end .btn { border: 0; cursor: pointer; font-family: inherit; }
.form-end .btn:disabled { opacity: .6; cursor: wait; }
.form-msg { color: #d64545; }

/* footer */
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr .8fr; gap: 30px 40px; align-items: start; }
.f-brand { display: flex; flex-direction: column; gap: 14px; max-width: 30em; }
.f-brand p { color: var(--muted); line-height: 1.45; font-size: .95rem; }
.f-loc { font-size: .7rem !important; }
.f-contact { display: flex; flex-direction: column; gap: 4px; }
.f-contact a { color: var(--fg); }
.f-col { display: flex; flex-direction: column; gap: 9px; }
.f-col .mono { color: var(--muted); margin-bottom: 6px; font-size: .68rem; }
.f-col a { font-size: .93rem; transition: color .2s; }
.f-col a:hover { color: var(--accent); }
.f-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.f-legal a, .f-legal button { color: var(--muted); background: none; border: 0; font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; padding: 0; }
.f-legal a:hover, .f-legal button:hover { color: var(--fg); }

/* cookie banner */
.cookie { position: fixed; left: 16px; bottom: 16px; z-index: 60; width: min(440px, calc(100vw - 32px)); padding: 20px; border-radius: 18px; border: 1px solid rgba(255,255,255,.14);
  background: rgba(14,18,20,.94); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); color: #fff; font-size: .9rem; line-height: 1.45;
  box-shadow: 0 30px 70px -20px rgba(0,0,0,.6); opacity: 0; transform: translateY(16px); transition: opacity .4s, transform .5s cubic-bezier(.2,.7,.2,1); }
.cookie.show { opacity: 1; transform: none; }
.cookie a { text-decoration: underline; }
.cookie-prefs { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.cookie-prefs label { display: grid; grid-template-columns: 18px 1fr; gap: 2px 10px; align-items: center; }
.cookie-prefs label span { grid-column: 2; color: #98a29d; font-size: .8rem; }
.cookie-prefs input { accent-color: var(--green); }
.cookie-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.cookie .btn.ghost { color: #fff; border-color: rgba(255,255,255,.25); }

/* ---------- Responsive for the new parts ---------- */
@media (max-width: 1100px) {
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .beliefs { grid-template-columns: repeat(2, 1fr); }
  .team { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .cat-row { grid-template-columns: 50px 1fr auto; }
  .cat-tags { grid-column: 2 / -1; }
}
@media (max-width: 900px) {
  .page-hero { min-height: auto; padding-top: 100px; }
  .page-hero-in { grid-template-columns: 1fr; }
  .ph-slot { order: -1; height: 150px; margin-bottom: -10px; }
  .prob-grid, .svc-grid, .quiz, .contact-grid, .timeline, .ch-row { grid-template-columns: 1fr; }
  .ch-row span + span { border-left: 0; border-top: 1px dashed var(--line); }
  .ch-head { display: none; }
  .sysflow { grid-template-columns: 1fr; gap: 26px; padding-left: 0; }
  .sysflow::before, .sysflow::after { left: 21px; right: auto; top: 10px; bottom: 10px; width: 1px; height: auto; }
  .sysflow::after { transform-origin: top; transform: scaleY(var(--p)); }
  .sys-step { display: grid; grid-template-columns: 42px 1fr; column-gap: 18px; }
  .sys-step h3 { margin-top: 8px; }
  .sys-step p { grid-column: 2; }
  .steps.six { grid-template-columns: 1fr 1fr; }
  .steps.six .step:nth-child(3n) { border-right: 1px solid var(--line); }
  .steps.six .step:nth-child(2n) { border-right: 0; }
  .steps.six .step:nth-child(3n+1) { padding-left: 26px; }
  .steps.six .step:nth-child(2n+1) { padding-left: 0; }
  .six-row { grid-template-columns: 1fr; gap: 12px; }
  .six-head { display: none; }
  .contact-side { position: static; }
  .form { grid-template-columns: 1fr; }
  .mini-steps { grid-template-columns: 1fr 1fr; }
  .hero-line { display: none; }
}
@media (max-width: 600px) {
  .ind-grid, .beliefs, .steps.six { grid-template-columns: 1fr; }
  .steps.six .step { border-right: 0 !important; padding-left: 0 !important; }
  .team { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .f-brand { grid-column: 1 / -1; }
  .cat-row { grid-template-columns: 1fr; gap: 10px; }
  .cat-tags { grid-column: auto; }
  .article { font-size: 1.04rem; }
  .cookie { left: 10px; right: 10px; bottom: 10px; width: auto; }
}
[hidden] { display: none !important; }
@media (min-width: 1101px) {
  .dd-mega { position: fixed; top: 64px; left: 50%; right: auto; translate: -50% 0; }
}

/* ---------- Round 2: service and industry cards ---------- */
.svc-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.svc-cards.three { grid-template-columns: repeat(3, 1fr); }
.svc-card { display: flex; flex-direction: column; gap: 12px; padding: clamp(24px, 3vw, 34px); border-radius: 18px; border: 1px solid var(--line); background: var(--card);
  transition: transform .45s cubic-bezier(.2,.7,.2,1), border-color .3s; }
.svc-card > .mono:first-child { color: var(--accent); }
.svc-card h3 { font-size: clamp(1.35rem, 2vw, 1.8rem); }
.svc-card p { color: var(--muted); line-height: 1.45; }
.svc-card ul { display: flex; flex-direction: column; gap: 6px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .68rem; color: var(--muted); }
.svc-card ul li::before { content: "+ "; color: var(--accent); }
.svc-go { margin-top: auto; padding-top: 8px; color: var(--accent); transition: transform .3s; }
.svc-card:hover { transform: translateY(-5px); border-color: var(--accent); }
.svc-card:hover .svc-go { transform: translateX(6px); }
.svc-card.small h3 { font-size: 1.35rem; }
.mini-steps.four { grid-template-columns: repeat(4, 1fr); }
.big-p { font-size: 1.1rem; line-height: 1.5; }
@media (max-width: 900px) {
  .svc-cards, .svc-cards.three { grid-template-columns: 1fr; }
  .mini-steps.four { grid-template-columns: 1fr 1fr; }
}

/* ---------- Home hero: photo background ---------- */
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: #050709; }
.hero-bg-par { position: absolute; inset: -12% 0; will-change: transform; }
.hero-bg-par picture, .hero-bg-img { display: block; width: 100%; height: 100%; }
.hero-bg-img { object-fit: cover; object-position: 62% 50%; filter: saturate(.7) brightness(.78); transform-origin: 60% 45%;
  animation: kenburns 26s ease-in-out infinite alternate; will-change: transform; }
@keyframes kenburns { from { transform: scale(1) translate3d(0, 0, 0); } to { transform: scale(1.08) translate3d(-1.6%, -1.1%, 0); } }
/* heavy black from the left for the headline; the right side stays visible; a soft fade at the bottom into the page */
.hero-bg::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(4,6,8,.97) 0%, rgba(4,6,8,.9) 24%, rgba(4,6,8,.62) 44%, rgba(4,6,8,.18) 66%, rgba(4,6,8,0) 82%),
    linear-gradient(0deg, #0a0c10 0%, rgba(10,12,16,0) 26%),
    linear-gradient(180deg, rgba(4,6,8,.55) 0%, rgba(4,6,8,0) 18%); }
.hero-shade { position: absolute; inset: 0; z-index: 1; background: #06080b; opacity: 0; pointer-events: none; }
.hero-rings { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }
.hero-rings circle { fill: none; stroke: #2CCD6E; stroke-width: 1; vector-effect: non-scaling-stroke; opacity: .26; }
.hero-rings circle:nth-child(2) { opacity: .14; }
.hero-rings circle:nth-child(4) { opacity: .35; }
.home .hero-a, .home .hero-b { z-index: 2; }
.home .glow { opacity: .55; }

/* copy sits on the left over the dark side of the photo */
.home .hero-a { align-items: flex-start; text-align: left; padding-left: max(var(--gutter), 6vw); padding-right: 46vw; justify-content: center; gap: 0; }
.home .hero-a .eyebrow { align-items: flex-start; }
.home .hero-title { color: #fff; font-size: clamp(2.6rem, 5.6vw, 5.4rem); max-width: 9.5em; line-height: 1.02; }
.home .hero-sub { color: rgba(255,255,255,.82); max-width: 30em; margin-bottom: clamp(26px, 5vh, 46px); }
.home .hero-slot { position: absolute; right: 7vw; top: 50%; translate: 0 -50%; width: 30vw; height: 44vh; min-height: 0; flex: none; }
.home .hero-actions { justify-content: flex-start; order: 1; margin-bottom: 30px; }
.home .hero-tick-label, .home .ticker, .home .hero-line { order: 2; }
.home .hero-actions .link { font-size: .9rem; }
.home .hero-tick-label { margin-top: 6px; }
.home .ticker { -webkit-mask-image: linear-gradient(90deg, #000 70%, transparent); mask-image: linear-gradient(90deg, #000 70%, transparent); }
.hero-title .hw { display: inline-block; white-space: nowrap; }
.hero-title .ch { display: inline-block; }
/* before GSAP takes over: hide what it is about to reveal (removed after 4s as a fail-safe) */
.anim .home .hero-a > * { visibility: hidden; }

@media (max-width: 900px) {
  .home .hero-a { padding-right: var(--gutter); padding-left: var(--gutter); justify-content: flex-end; padding-bottom: 90px; }
  .home .hero-slot { right: 50%; translate: 50% 0; top: 11vh; width: 42vw; height: 15vh; }
  .hero-bg-img { object-position: 70% 50%; }
  .hero-bg::after { background:
    linear-gradient(0deg, rgba(4,6,8,.98) 0%, rgba(4,6,8,.9) 45%, rgba(4,6,8,.45) 72%, rgba(4,6,8,.25) 100%),
    linear-gradient(90deg, rgba(4,6,8,.6), rgba(4,6,8,0) 70%); }
  .hero-rings circle:nth-child(1), .hero-rings circle:nth-child(2) { translate: 120px -40px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg-img { animation: none; }
  .hero-bg-par { transform: none !important; }
}

/* =====================================================================
   v10: new type pairing, floating header, centred hero, client strip,
   stacking service cards, per-section themes with soft bridges,
   light closing section, team page
   ===================================================================== */
:root {
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Power Grotesk", "Space Grotesk", system-ui, sans-serif;
}
body { font-size: 16.5px; letter-spacing: -0.006em; }
h1, h2, h3, legend, .statement-text, .roll li, .case-word, .stat b, .quiz-score b, .brand-word, .tm-ini, .tt-faces li, .cl-word, .member .photo { font-family: var(--display); }
.btn { font-weight: 600; letter-spacing: -0.01em; }

/* ---------- Sections carry their own theme; the page body only drives the header ---------- */
main [data-theme="dark"], footer[data-theme="dark"] {
  --bg: #0a0c10; --fg: #ffffff; --muted: #98a29d; --line: rgba(255,255,255,.13); --card: rgba(255,255,255,.04); --accent: #2ecc71;
}
main [data-theme="light"] {
  --bg: #e9eceb; --fg: #0a0c10; --muted: #57605b; --line: rgba(10,12,16,.15); --card: rgba(10,12,16,.045); --accent: #0b6f37;
}
main > section[data-theme]:not(.hero) { background: var(--bg); color: var(--fg); box-shadow: 0 0 0 100vmax var(--bg); clip-path: inset(0 -100vmax); }
.glow { z-index: 1; }
/* a soft band through green wherever dark meets light */
.bridge { position: relative; height: clamp(130px, 24vh, 280px); pointer-events: none; }
.bridge.to-light { background: linear-gradient(180deg, #0a0c10 0%, #0b1a12 18%, #13502f 42%, #2ecc71 66%, #a9e8c4 85%, #e9eceb 100%); }
.bridge.to-dark  { background: linear-gradient(180deg, #e9eceb 0%, #a9e8c4 15%, #2ecc71 34%, #13502f 58%, #0b1a12 82%, #0a0c10 100%); }
.bridge::after { content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.35) 1px, transparent 1.4px); background-size: 16px 16px;
  -webkit-mask-image: linear-gradient(transparent, #000 45%, #000 55%, transparent); mask-image: linear-gradient(transparent, #000 45%, #000 55%, transparent); }
.quiz-score b { color: var(--accent); }

/* ---------- Header: floating glass bar ---------- */
.header { position: fixed; top: 14px; left: 0; right: 0; height: auto; display: block; padding-inline: var(--gutter); z-index: 40; transition: transform .55s cubic-bezier(.2,.7,.2,1); }
.header::before { display: none; }
.header.hide { transform: translateY(-140%); }
.hd-bar { position: relative; max-width: 1280px; margin-inline: auto; height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 8px 0 18px; border-radius: 999px; transition: height .4s cubic-bezier(.2,.7,.2,1); }
.hd-bar::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: color-mix(in srgb, var(--bg) 30%, transparent); border: 1px solid color-mix(in srgb, var(--fg) 12%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 18px 50px -28px rgba(0,0,0,.55); transition: background .6s ease, border-color .6s ease; }
.hd-bar::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: -1px; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--green), transparent); opacity: .7; }
.header.scrolled .hd-bar { height: 58px; }
.header.scrolled .hd-bar::before { background: color-mix(in srgb, var(--bg) 72%, transparent); }
@media (min-width: 1101px) {
  .nav { position: relative; font-family: var(--sans); font-size: .93rem; font-weight: 500; letter-spacing: -.005em; text-transform: none; gap: 2px; }
  .nav .nav-a, .nav .dd-btn { position: relative; z-index: 1; padding: 9px 14px; color: color-mix(in srgb, var(--fg) 72%, transparent); border-radius: 999px; transition: color .25s; }
  .nav .nav-a:hover, .nav .dd-btn:hover, .nav .dd.open .dd-btn { color: var(--fg); }
  .nav a[aria-current]::after, .dd-btn[aria-current]::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--green); }
  .nav-ind { position: absolute; left: 0; top: 50%; height: 38px; margin-top: -19px; border-radius: 999px; z-index: 0; pointer-events: none; opacity: 0;
    background: color-mix(in srgb, var(--fg) 9%, transparent);
    transition: transform .45s cubic-bezier(.2,.7,.2,1), width .45s cubic-bezier(.2,.7,.2,1), opacity .25s ease; }
  .nav-ind.on { opacity: 1; }
  .nav .nav-cta { margin-left: 12px; display: inline-flex; align-items: center; gap: 10px; background: var(--green); color: var(--ink); border: 0; padding: 6px 6px 6px 18px; font-weight: 600; border-radius: 999px; }
  .nav .nav-cta:hover { background: #45e085; color: var(--ink); }
  .dd-mega { top: 90px; }
}
.nav-cta i { width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--green); display: grid; place-items: center; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.nav-cta:hover i { transform: rotate(45deg); }
@media (max-width: 1100px) {
  .hd-bar { height: 58px; padding: 0 6px 0 14px; }
  .nav-ind { display: none; }
  .nav { font-family: var(--sans); text-transform: none; letter-spacing: -.01em; font-size: 1.15rem; font-weight: 500; }
  .nav .nav-cta { display: flex; justify-content: center; align-items: center; gap: 12px; background: var(--green); color: var(--ink); border: 0; padding: 12px; font-weight: 600; }
}

/* ---------- Home hero: centred copy, real buttons ---------- */
.home .hero-a { align-items: center; text-align: center; padding: 100px var(--gutter) 40px; justify-content: center; gap: 0; }
.home .hero-a .eyebrow { align-items: center; }
.home .hero-slot { position: relative; right: auto; top: auto; translate: none; width: min(32vw, 280px); height: clamp(100px, 18vh, 190px); flex: none; order: 0; margin-bottom: clamp(8px, 2vh, 20px); }
.home .hero-title { font-size: clamp(2.7rem, 6.4vw, 6rem); max-width: 11em; margin-inline: auto; line-height: 1; }
.home .hero-sub { margin-inline: auto; max-width: 34em; }
.home .hero-actions { justify-content: center; gap: 12px; margin-bottom: 0; order: 0; }
.btn.glass { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.3); color: #fff; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn.glass:hover { background: rgba(255,255,255,.16); border-color: #fff; }
.hero-bg::after { background:
  radial-gradient(ellipse 62% 60% at 50% 52%, rgba(4,6,8,.88) 0%, rgba(4,6,8,.74) 48%, rgba(4,6,8,.38) 100%),
  linear-gradient(0deg, #0a0c10 0%, rgba(10,12,16,0) 24%),
  linear-gradient(180deg, rgba(4,6,8,.6) 0%, rgba(4,6,8,0) 18%); }
@media (max-width: 900px) {
  .home .hero-a { justify-content: center; padding: 92px var(--gutter) 70px; }
  .home .hero-slot { position: relative; right: auto; top: auto; translate: none; width: 40vw; height: 15vh; }
  .hero-bg::after { background:
    radial-gradient(ellipse 90% 60% at 50% 55%, rgba(4,6,8,.9) 0%, rgba(4,6,8,.78) 60%, rgba(4,6,8,.5) 100%),
    linear-gradient(0deg, #0a0c10 0%, rgba(10,12,16,0) 24%); }
  .home .hero-actions .btn { padding: 15px 22px; font-size: .98rem; }
}

/* ---------- Brands we work with ---------- */
.clients { padding-block: clamp(46px, 9vh, 90px); border-top: 1px solid var(--line); overflow: hidden; }
.cl-head { display: flex; justify-content: space-between; gap: 8px 20px; flex-wrap: wrap; margin-bottom: clamp(24px, 4vh, 38px); }
.cl-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.cl-track { display: flex; align-items: center; gap: clamp(48px, 6vw, 96px); width: max-content; padding-right: clamp(48px, 6vw, 96px); animation: slide 40s linear infinite; }
.cl-marquee:hover .cl-track { animation-play-state: paused; }
.cl-track li { flex: none; display: flex; align-items: center; height: 60px; opacity: .7; transition: opacity .3s ease; }
.cl-track li:hover { opacity: 1; }
.cl-track img { height: 44px; width: auto; }
.cl-word { font-size: 1.7rem; font-weight: 600; letter-spacing: -.03em; color: #fff; white-space: nowrap; }
@media (max-width: 820px) { .cl-track img { height: 34px; } .cl-word { font-size: 1.35rem; } }

/* ---------- Services: stacking cards ---------- */
#services .svc-head { padding-bottom: clamp(40px, 8vh, 90px); }
.cap-stack { padding-bottom: 14vh; }
.cap-card { position: sticky; top: calc(96px + var(--i) * 14px); margin-bottom: 16vh; }
.cap-card:last-child { margin-bottom: 0; }
.cap-in { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(20px, 4vw, 60px); min-height: min(66vh, 600px);
  padding: clamp(26px, 4vw, 56px); border-radius: 28px; overflow: hidden; background: #f7f9f8; border: 1px solid rgba(10,12,16,.08);
  box-shadow: 0 40px 80px -46px rgba(10,12,16,.45), inset 0 1px 0 rgba(255,255,255,.9);
  transform-origin: 50% 0; transform: scale(calc(1 - var(--cover, 0) * .05)); filter: brightness(calc(1 - var(--cover, 0) * .1)); }
.cap-in::before { content: ""; position: absolute; right: -12%; bottom: -45%; width: 75%; height: 95%; pointer-events: none; background: radial-gradient(closest-side, rgba(46,204,113,.3), transparent); }
.cap-copy { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.cap-n { color: var(--muted); }
.cap-n b { font-weight: 500; color: var(--accent); }
.cap-copy h3 { font-size: clamp(2rem, 4.2vw, 3.6rem); letter-spacing: -.04em; line-height: 1; color: var(--fg); }
.cap-line { font-size: 1.12rem; color: var(--muted); max-width: 26em; line-height: 1.45; }
.cap-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 8px; }
.cap-tags a { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: .88rem; background: rgba(255,255,255,.6); transition: background .25s, color .25s, border-color .25s; }
.cap-tags a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.cap-copy .btn { margin-top: auto; }
.cap-vis { position: relative; min-height: 240px; }
.cap-orbit { position: absolute; left: 50%; top: 50%; width: min(80%, 44vh); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; border: 1px dashed rgba(10,12,16,.2); animation: orbitSpin 46s linear infinite; }
.cap-orbit.o2 { width: min(58%, 32vh); border: 1px solid rgba(46,204,113,.5); animation-duration: 30s; animation-direction: reverse; }
.cap-orbit::after { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 6px rgba(46,204,113,.16); }
.cap-dots { position: absolute; inset: 0; background-image: radial-gradient(rgba(10,12,16,.17) 1px, transparent 1.4px); background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(closest-side, #000, transparent); mask-image: radial-gradient(closest-side, #000, transparent); }
@keyframes orbitSpin { to { rotate: 360deg; } }
@media (max-width: 820px) {
  .cap-card { top: calc(82px + var(--i) * 9px); margin-bottom: 10vh; }
  .cap-in { grid-template-columns: 1fr; min-height: 0; gap: 10px; padding: 22px; border-radius: 22px; }
  .cap-vis { order: -1; min-height: 0; height: 26vw; max-height: 130px; }
  .cap-orbit { width: 26vw; max-width: 130px; } .cap-orbit.o2 { width: 18vw; max-width: 92px; }
  .cap-copy { gap: 12px; } .cap-line { font-size: 1rem; }
  .cap-tags a { padding: 6px 11px; font-size: .8rem; }
}

/* ---------- Closing section: light, soft green, drifting dots ---------- */
main > section.cta-sec[data-theme] { position: relative; overflow: hidden;
  background: radial-gradient(70% 60% at 50% 105%, rgba(46,204,113,.34), transparent 70%), radial-gradient(45% 55% at 0% 0%, rgba(46,204,113,.14), transparent 70%), radial-gradient(40% 50% at 100% 15%, rgba(46,204,113,.12), transparent 70%), #eef2f0;
  box-shadow: 0 0 0 100vmax #eef2f0; }
.cta-dots { position: absolute; inset: -44px; pointer-events: none;
  background-image: radial-gradient(rgba(15,138,69,.42) 1.2px, transparent 1.7px), radial-gradient(rgba(46,204,113,.5) 2.2px, transparent 2.8px);
  background-size: 22px 22px, 88px 88px; background-position: 0 0, 30px 40px;
  -webkit-mask-image: radial-gradient(ellipse 72% 72% at 50% 58%, #000 15%, transparent 75%); mask-image: radial-gradient(ellipse 72% 72% at 50% 58%, #000 15%, transparent 75%);
  animation: dotDrift 16s linear infinite; }
@keyframes dotDrift { to { background-position: 22px -22px, -58px 128px; } }
.cta-sec .cta { position: relative; z-index: 1; }
.cta-sec .btn.ghost { border-color: rgba(10,12,16,.25); }
.footer { background: radial-gradient(120% 90% at 50% 100%, rgba(46,204,113,.34), rgba(46,204,113,.08) 38%, transparent 70%), #0a0c10; color: var(--fg); }
.footer::before { display: none; }

/* ---------- Team ---------- */
.team-teaser { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.tt-side { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.tt-faces { display: flex; padding-left: 14px; }
.tt-faces li { width: 64px; height: 64px; margin-left: -14px; border-radius: 50%; display: grid; place-items: center; font-size: 1.15rem; color: #fff; border: 2px solid var(--bg);
  background: radial-gradient(120% 100% at 30% 0%, #2ecc71, #0d3a22 60%, #0a0c10); transition: transform .3s; }
.tt-faces li:hover { transform: translateY(-6px); }
.tm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tm-grid.tm-lead { grid-template-columns: repeat(2, 1fr); }
.tm-card { display: flex; flex-direction: column; background: #f7f9f8; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s; }
.tm-card:hover { transform: translateY(-6px); box-shadow: 0 34px 60px -34px rgba(10,12,16,.4); }
.tm-photo { position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; background: radial-gradient(120% 100% at 30% 0%, #2ecc71, #0d3a22 55%, #0a0c10); }
.tm-lead .tm-photo { aspect-ratio: 16 / 10; }
.tm-card:nth-child(2) .tm-photo, .tm-grid:not(.tm-lead) .tm-card:nth-child(3) .tm-photo { background: radial-gradient(120% 100% at 80% 100%, #46e088, #0f3320 50%, #0a0c10); }
.tm-ini { position: relative; z-index: 1; font-size: clamp(3rem, 6vw, 5rem); color: rgba(255,255,255,.92); letter-spacing: -.04em; }
.tm-photo .tag { position: absolute; z-index: 1; top: 14px; left: 14px; background: rgba(10,12,16,.45); color: #d7ddda; border-color: rgba(255,255,255,.25); border-radius: 999px; }
.tm-ring { position: absolute; width: 62%; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.tm-card:hover .tm-ring { transform: scale(1.18); }
.tm-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; }
.tm-role { color: var(--accent); font-size: .68rem; }
.tm-body h3 { font-size: 1.55rem; }
.tm-body p { color: var(--muted); line-height: 1.45; }
.tm-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tm-links a { display: inline-block; font-size: .8rem; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); transition: background .25s, color .25s; }
.tm-links a:hover { background: var(--fg); color: var(--bg); }
.tm-how { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .tm-grid, .tm-grid.tm-lead, .tm-how { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  .cl-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .cl-track li[aria-hidden] { display: none; }
  .cta-dots, .cap-orbit { animation: none; }
  .header { transition: none; }
}

/* =====================================================================
   v11: living dark sections, insight cards, centred client quote, scroll life
   ===================================================================== */
/* ---------- Scroll life ---------- */
.js .reveal { opacity: 0; transform: translateY(38px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1), translate .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s ease, border-color .3s ease, background .3s ease; }
.js .reveal[data-from="top"] { transform: translateY(-38px); }
.js .reveal.in { opacity: 1; transform: none; }
.split-h .hw-o { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.split-h .hw-i { display: inline-block; transform: translateY(110%); transition: transform .95s cubic-bezier(.2,.7,.2,1); }
.split-h[data-from="top"] .hw-i { transform: translateY(-110%); }
.split-h.in .hw-i { transform: none; }
main > section .section-head { translate: 0 calc((.5 - var(--sp, .5)) * 56px); }
.stat { position: relative; }
.stat::before { content: ""; position: absolute; left: 0; right: 10px; top: -35px; height: 2px; background: linear-gradient(90deg, var(--green), transparent); transform-origin: left; transform: scaleX(0); transition: transform 1.3s .25s cubic-bezier(.2,.7,.2,1); }
.stat.in::before { transform: scaleX(1); }

/* ---------- Dark sections: a faint grid and slow green light that drifts with the scroll ---------- */
main > section[data-theme="dark"]:not(.hero):not(.quote-sec) { position: relative; isolation: isolate; }
main > section[data-theme="dark"]:not(.hero):not(.quote-sec)::before,
main > section[data-theme="dark"]:not(.hero):not(.quote-sec)::after { content: ""; position: absolute; top: 0; bottom: 0; left: calc(50% - 50vw); right: calc(50% - 50vw); z-index: -1; pointer-events: none; }
main > section[data-theme="dark"]:not(.hero):not(.quote-sec)::before {
  background:
    radial-gradient(42vw 34vw at calc(16% + var(--sp, .5) * 14%) calc(12% + var(--sp, .5) * 36%), rgba(46,204,113,.15), transparent 70%),
    radial-gradient(34vw 30vw at calc(88% - var(--sp, .5) * 12%) calc(92% - var(--sp, .5) * 40%), rgba(3,239,149,.09), transparent 70%),
    linear-gradient(180deg, #0a0c10 0%, #0c1214 50%, #0a0c10 100%); }
main > section[data-theme="dark"]:nth-of-type(even):not(.hero):not(.quote-sec)::before {
  background:
    radial-gradient(40vw 32vw at calc(84% - var(--sp, .5) * 14%) calc(14% + var(--sp, .5) * 34%), rgba(46,204,113,.14), transparent 70%),
    radial-gradient(34vw 30vw at calc(12% + var(--sp, .5) * 12%) calc(90% - var(--sp, .5) * 38%), rgba(3,239,149,.08), transparent 70%),
    linear-gradient(180deg, #0a0c10 0%, #0c1214 50%, #0a0c10 100%); }
main > section[data-theme="dark"]:not(.hero):not(.quote-sec)::after {
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 76px 76px; background-position: 50% calc(var(--sp, .5) * -160px);
  -webkit-mask-image: radial-gradient(ellipse 62% 58% at 50% 45%, #000 10%, transparent 78%); mask-image: radial-gradient(ellipse 62% 58% at 50% 45%, #000 10%, transparent 78%); }
.page-hero::after { -webkit-mask-image: radial-gradient(ellipse 60% 70% at 75% 50%, #000 10%, transparent 75%) !important; mask-image: radial-gradient(ellipse 60% 70% at 75% 50%, #000 10%, transparent 75%) !important; }

/* ---------- Insight cards ---------- */
.posts { gap: 22px; }
.post { padding: 0; gap: 0; min-height: 0; border-radius: 22px; background: color-mix(in srgb, var(--bg) 55%, #fff); border: 1px solid var(--line); }
.post:hover { transform: none; translate: 0 -8px; border-color: rgba(46,204,113,.55); box-shadow: 0 34px 60px -36px rgba(10,12,16,.5); }
.post::before { inset: 0; height: auto; z-index: 2; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(46,204,113,.16), transparent 70%); }
.post-art { position: relative; aspect-ratio: 16 / 8.5; display: grid; place-items: center; overflow: hidden; background: radial-gradient(120% 130% at 0% 0%, #1f7346 0%, #0c2418 50%, #0a0c10 100%); }
.post[data-topic="Paid Advertising"] .post-art { background: radial-gradient(120% 130% at 100% 0%, #1f7346 0%, #0c2418 50%, #0a0c10 100%); }
.post[data-topic="SEO & AI Search"] .post-art { background: radial-gradient(120% 130% at 50% 120%, #2a8f57 0%, #0c2418 55%, #0a0c10 100%); }
.post[data-topic="Websites & Conversion"] .post-art { background: radial-gradient(120% 130% at 0% 100%, #1f7346 0%, #0c2418 50%, #0a0c10 100%); }
.post[data-topic="Measurement & Analytics"] .post-art { background: radial-gradient(120% 130% at 100% 100%, #2a8f57 0%, #0c2418 52%, #0a0c10 100%); }
.post-art::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1.3px); background-size: 14px 14px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000, transparent 75%); mask-image: radial-gradient(ellipse at 50% 50%, #000, transparent 75%); }
.post-art svg { position: relative; z-index: 1; width: 62%; fill: none; stroke: #2ecc71; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.post-art svg > * { stroke-dasharray: 620; stroke-dashoffset: 620; transition: stroke-dashoffset 1.8s cubic-bezier(.3,.6,.2,1); }
.post-art svg > *:nth-child(2) { transition-delay: .15s; } .post-art svg > *:nth-child(3) { transition-delay: .3s; } .post-art svg > *:nth-child(n+4) { transition-delay: .45s; }
.post.in .post-art svg > *, html:not(.js) .post-art svg > * { stroke-dashoffset: 0; }
.post:hover .post-art svg { transform: scale(1.07) rotate(-1.5deg); }
.post-ix { position: absolute; z-index: 1; top: 14px; left: 16px; font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; color: rgba(255,255,255,.65); }
.post-body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; padding: 22px 24px 24px; flex: 1; }
.post-meta { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: .66rem; }
.post-topic { color: var(--accent); }
.post h3 { font-size: clamp(1.2rem, 1.7vw, 1.45rem); line-height: 1.15; }
.post-more { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: .92rem; color: var(--fg); }
.post-more i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--fg); color: var(--bg); transition: transform .45s cubic-bezier(.2,.7,.2,1), background .3s, color .3s; }
.post:hover .post-more i { transform: rotate(45deg); background: var(--green); color: var(--ink); }
.tm-card:hover, .ind-card:hover { transform: none; translate: 0 -6px; }

/* ---------- Client quote: centred, words arrive with the scroll ---------- */
.quote.quote-big { position: relative; margin: clamp(100px, 18vh, 200px) auto 0; max-width: min(880px, 64vw); padding: clamp(30px, 5vw, 60px) 0 0; border: 0; border-radius: 0; background: none; text-align: center; display: flex; flex-direction: column; align-items: center; }
.q-rings { position: absolute; left: 50%; top: 46%; width: min(780px, 130%); translate: -50% -50%; z-index: -1; fill: none; stroke: rgba(46,204,113,.2); stroke-width: 1; pointer-events: none; rotate: calc(var(--qp, 0) * 70deg); scale: calc(.85 + var(--qp, 0) * .15); }
.q-rings circle:nth-child(2) { stroke-dasharray: 3 9; stroke: rgba(255,255,255,.22); }
.q-mark { font-family: var(--display); font-size: clamp(8rem, 15vw, 13rem); line-height: .7; height: .42em; color: var(--green); opacity: calc(.25 + var(--qp, 1) * .75); transform: translateY(calc((1 - var(--qp, 1)) * 50px)) scale(calc(.75 + var(--qp, 1) * .25)); }
.quote-big .tag { margin: 4px 0 26px; }
.quote-big blockquote { font-family: var(--display); color: var(--fg); font-size: clamp(1.7rem, 3.5vw, 3.1rem); line-height: 1.16; letter-spacing: -.03em; margin-bottom: 36px; }
.qw { display: inline-block; } .qw > span { display: inline-block; will-change: transform, opacity, filter; }
.quote-big figcaption { display: flex; align-items: center; gap: 14px; text-align: left; color: var(--fg); }
.q-av { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); color: #fff; background: radial-gradient(120% 100% at 30% 0%, #2ecc71, #0d3a22 60%, #0a0c10); border: 1px solid rgba(255,255,255,.2); }
.q-who b { display: block; font-weight: 600; }
.q-who .mono { color: var(--muted); font-size: .68rem; }
@media (max-width: 900px) { .quote.quote-big { max-width: 100%; } }

@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal[data-from="top"] { opacity: 1; transform: none; }
  main > section .section-head { translate: none; }
  .post-art svg > * { stroke-dashoffset: 0; transition: none; }
}

/* =====================================================================
   v12: problem cards, hovers, gradient buttons, tighter logo strip, photo heroes
   ===================================================================== */
/* Buttons: a soft green gradient that shifts on hover */
.btn:not(.ghost) { background: linear-gradient(120deg, #6cf0a3 0%, #2ecc71 38%, #1aa85a 100%); background-size: 180% 100%; background-position: 0% 50%;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 10px 30px -14px rgba(46,204,113,.8); transition: transform .25s, box-shadow .25s, background-position .6s ease; }
.btn:not(.ghost):hover { background-position: 100% 50%; box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 16px 44px -12px rgba(46,204,113,.85); }
.btn.ghost { background: linear-gradient(120deg, color-mix(in srgb, var(--fg) 6%, transparent), transparent 70%); }
.nav .nav-cta { background: linear-gradient(120deg, #6cf0a3, #2ecc71 45%, #1aa85a) !important; }

/* Sound familiar? */
#problems .prob-grid { gap: 20px; }
.prob { position: relative; overflow: hidden; gap: 12px; padding: clamp(26px, 3vw, 38px); border-radius: 22px; background: #f7f9f8; border: 1px solid rgba(10,12,16,.08); box-shadow: 0 30px 60px -48px rgba(10,12,16,.5); }
.prob::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(10,12,16,.12) 1px, transparent 1.4px); background-size: 16px 16px;
  -webkit-mask-image: radial-gradient(60% 70% at 100% 0%, #000, transparent); mask-image: radial-gradient(60% 70% at 100% 0%, #000, transparent); }
.prob-ghost { position: absolute; top: -.18em; right: .1em; font-family: var(--display); font-size: clamp(6rem, 11vw, 9.5rem); line-height: 1; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1px rgba(10,12,16,.14); pointer-events: none; transition: -webkit-text-stroke-color .4s, transform .6s cubic-bezier(.2,.7,.2,1); }
.prob-ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: #0a0c10; margin-bottom: 6px; transition: background .4s, transform .5s cubic-bezier(.2,.7,.2,1); }
.prob-ic svg { width: 32px; fill: none; stroke: #2ecc71; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .4s; }
.prob-n { font-size: .68rem; }
.prob h3 { position: relative; font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.prob .prob-cause { position: relative; margin: auto calc(-1 * clamp(26px, 3vw, 38px)) calc(-1 * clamp(26px, 3vw, 38px)); padding: 18px clamp(26px, 3vw, 38px) 22px; border-top: 1px solid rgba(10,12,16,.08); background: rgba(46,204,113,.08); transition: background .45s, color .45s; }
.prob:hover { transform: none; translate: 0 -6px; border-color: rgba(46,204,113,.6); }
.prob:hover .prob-ghost { -webkit-text-stroke-color: rgba(46,204,113,.7); transform: translateY(6px) scale(1.04); }
.prob:hover .prob-ic { background: var(--green); transform: rotate(-6deg); }
.prob:hover .prob-ic svg { stroke: #0a0c10; }
.prob:hover .prob-cause { background: #0a0c10; color: #fff; }
.prob:hover .prob-cause .mono { color: #2ecc71; }

/* Industries: cards turn black on hover */
.ind-card { transition: background .4s ease, color .4s ease, border-color .4s ease, translate .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s; }
.ind-card:hover { background: #0a0c10; color: #fff; border-color: #0a0c10; box-shadow: 0 30px 60px -30px rgba(10,12,16,.6); }
.ind-card:hover p { color: rgba(255,255,255,.7); }
.ind-card:hover > .mono:first-child, .ind-card:hover .ind-go { color: #2ecc71; }
.js .reveal.ind-card { transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1), translate .45s cubic-bezier(.2,.7,.2,1), background .4s, color .4s, border-color .4s, box-shadow .45s; }

/* Health check: options turn green on hover */
.quiz-opt:hover { background: var(--green); border-color: var(--green); color: var(--ink); }
.quiz-opt:hover .mono { background: var(--ink); color: var(--green); border-color: var(--ink); }

/* Less space between the logo strip and the statement */
.clients { padding-bottom: clamp(30px, 5vh, 50px); }
.quote-sec { min-height: 0; }
.quote-in { padding-block: clamp(50px, 9vh, 100px) 30vh; }
#results { overflow-x: clip; }

/* Inner page heroes: a photo behind the copy, darkened on the left for the headline */
.page-hero.has-img::before { background:
  linear-gradient(90deg, rgba(6,8,10,.96) 0%, rgba(6,8,10,.88) 34%, rgba(6,8,10,.5) 62%, rgba(6,8,10,.35) 100%),
  linear-gradient(0deg, #0a0c10 0%, rgba(10,12,16,0) 30%),
  var(--hi-lg) center / cover no-repeat !important; filter: saturate(.75); }
@media (max-width: 800px) { .page-hero.has-img::before { background:
  linear-gradient(0deg, rgba(6,8,10,.97) 10%, rgba(6,8,10,.8) 55%, rgba(6,8,10,.55) 100%),
  var(--hi-sm) 60% 50% / cover no-repeat !important; } }

/* =====================================================================
   v13: opening loader, industry photo cards, softer dark section edges
   ===================================================================== */
/* ---------- Opening loader (first page of a visit, and on refresh) ---------- */
.loader { display: none; }
.loading .loader { display: flex; }
.loading, .loading body { overflow: hidden; }
.loader { position: fixed; inset: 0; z-index: 200; background: #06080a; color: #fff; flex-direction: column; align-items: center; justify-content: center; overflow: hidden;
  clip-path: inset(0 0 0 0); transition: clip-path .9s cubic-bezier(.76,0,.24,1); }
.loader.out { clip-path: inset(0 0 100% 0); }
.ld-glow i { position: absolute; border-radius: 50%; filter: blur(80px); }
.ld-glow i:first-child { width: 60vw; height: 60vw; left: -10vw; top: -30vw; background: rgba(46,204,113,.28); animation: ldDrift1 6s ease-in-out infinite alternate; }
.ld-glow i:last-child { width: 50vw; height: 50vw; right: -12vw; bottom: -28vw; background: rgba(3,239,149,.18); animation: ldDrift2 7s ease-in-out infinite alternate; }
@keyframes ldDrift1 { to { transform: translate(14vw, 10vw) scale(1.15); } }
@keyframes ldDrift2 { to { transform: translate(-12vw, -8vw) scale(1.1); } }
.ld-grid { position: absolute; inset: -80px 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 80px 80px;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 50%, #000, transparent 75%); mask-image: radial-gradient(ellipse 60% 55% at 50% 50%, #000, transparent 75%); animation: ldGrid 3s linear infinite; }
@keyframes ldGrid { to { transform: translateY(80px); } }
.ld-mid { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.ld-mark { width: clamp(90px, 12vw, 140px); overflow: visible; }
.ld-mark polygon { fill: #2ecc71; fill-opacity: 0; stroke: #2ecc71; stroke-width: 1.4; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: ldDraw 1s cubic-bezier(.6,0,.2,1) forwards, ldFill .5s ease forwards; }
.ld-mark polygon:nth-child(1) { animation-delay: .05s, .95s; } .ld-mark polygon:nth-child(2) { animation-delay: .2s, 1.05s; }
.ld-mark polygon:nth-child(3) { animation-delay: .35s, 1.15s; } .ld-mark polygon:nth-child(4) { animation-delay: .5s, 1.25s; }
@keyframes ldDraw { to { stroke-dashoffset: 0; } }
@keyframes ldFill { to { fill-opacity: 1; } }
.ld-word { display: flex; align-items: baseline; gap: 12px; opacity: 0; transform: translateY(14px); animation: ldUp .8s cubic-bezier(.2,.7,.2,1) .7s forwards; }
.ld-word b { font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: .02em; font-weight: 600; }
.ld-word .mono { color: #2ecc71; letter-spacing: .5em; }
@keyframes ldUp { to { opacity: 1; transform: none; } }
.ld-foot { position: absolute; left: 0; right: 0; bottom: clamp(26px, 5vh, 48px); display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.ld-foot .mono { color: rgba(255,255,255,.55); }
.ld-pct { font-family: var(--display); font-weight: 400; font-size: clamp(3.6rem, 10vw, 8rem); line-height: .8; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.ld-pct small { font-size: .35em; color: #2ecc71; margin-left: 4px; vertical-align: top; }
.ld-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.08); }
.ld-bar i { display: block; height: 100%; background: linear-gradient(90deg, #1aa85a, #2ecc71, #6cf0a3); transform-origin: left; transform: scaleX(0); }
@media (max-width: 600px) { .ld-foot .mono { display: none; } .ld-foot { justify-content: flex-end; } }

/* ---------- Industry cards with a photo of the industry ---------- */
.ind-card.has-photo { position: relative; overflow: hidden; isolation: isolate; color: #fff; background: #0a0c10; border-color: transparent; min-height: 270px; justify-content: flex-end; }
.ind-img { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; filter: saturate(.75) brightness(.8); transition: transform 1.2s cubic-bezier(.2,.7,.2,1), filter .6s ease; }
.ind-card.has-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,12,16,.15) 0%, rgba(10,12,16,.55) 45%, rgba(10,12,16,.94) 100%); transition: background .5s ease; }
.ind-card.has-photo p { color: rgba(255,255,255,.78); }
.ind-card.has-photo > .mono:first-child { color: #2ecc71; margin-bottom: auto; }
.ind-card.has-photo:hover .ind-img { transform: scale(1.08); filter: saturate(.5) brightness(.5); }
.ind-card.has-photo:hover::after { background: linear-gradient(180deg, rgba(10,12,16,.55) 0%, rgba(10,12,16,.85) 45%, #0a0c10 100%); }
.ind-card.has-photo .ind-go { color: #2ecc71; }

/* ---------- Dark sections blend into each other (no hard line between them) ---------- */
main > section[data-theme="dark"]:not(.hero):not(.quote-sec)::before {
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 84%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 84%, transparent 100%); }
.clients { border-top: 0; padding-top: clamp(30px, 6vh, 60px); padding-bottom: clamp(18px, 3vh, 30px); }
.clients::before { background: radial-gradient(40vw 20vw at 50% 50%, rgba(46,204,113,.08), transparent 70%) !important; }
.quote-in { padding-top: clamp(36px, 6vh, 70px); }
.ind-card.has-photo .ind-go { margin-top: 0; }

/* =====================================================================
   v14: header links, phone "why" section, statement background, phone centring, articles
   ===================================================================== */
/* Header: room for FAQ and Contact */
@media (min-width: 1101px) {
  .nav .nav-a, .nav .dd-btn { padding: 9px 11px; }
  .nav { font-size: .9rem; }
}
@media (min-width: 1101px) and (max-width: 1260px) {
  .nav .nav-a, .nav .dd-btn { padding: 9px 8px; }
  .nav { font-size: .85rem; }
  .nav .nav-cta { margin-left: 6px; padding-left: 14px; }
  .hd-bar { padding-left: 14px; }
}

/* Why one team beats five agencies: on phones a normal section instead of a pinned scroll */
.why-m { display: none; }
@media (max-width: 820px) {
  .hero { height: 100vh; height: 100svh; }
  .hero-b { display: none; }
  .why-m { display: block; position: relative; padding-block: 70px 50px; text-align: center; }
  .why-m .label { margin-bottom: 26px; }
  .why-m-list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
  .why-m-list li { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 22px 0; border-bottom: 1px solid var(--line); font-family: var(--display); font-size: clamp(1.55rem, 7vw, 2.1rem); letter-spacing: -.03em; line-height: 1.1; }
  .why-m-list li .mono { font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; color: var(--green); }
}

/* Statement: soft drifting light instead of sharp lines */
.quote-sec .flow { filter: blur(1.6px); opacity: .55; z-index: 0; }
.quote-sec .flow path { stroke-width: 1.6; stroke-dasharray: 240 90; animation: flowRun 14s linear infinite; }
.quote-sec .flow .f2, .quote-sec .flow .f3 { animation-duration: 18s; animation-direction: reverse; }
@keyframes flowRun { to { stroke-dashoffset: -660; } }
.quote-sec::after { content: ""; position: absolute; inset: -10% -10% 30% -10%; z-index: 0; pointer-events: none;
  background: radial-gradient(34% 42% at 24% 38%, rgba(46,204,113,.22), transparent 70%), radial-gradient(30% 36% at 78% 52%, rgba(3,239,149,.15), transparent 70%), radial-gradient(22% 30% at 50% 20%, rgba(255,255,255,.05), transparent 70%);
  filter: blur(34px); animation: aurora 16s ease-in-out infinite alternate; }
@keyframes aurora { to { transform: translate3d(5%, -4%, 0) scale(1.12); } }
.quote-in { z-index: 1; }

/* Phones: section headings centred and balanced */
@media (max-width: 820px) {
  .cl-head { flex-direction: column; align-items: center; text-align: center; gap: 6px; }
  #services .svc-head { text-align: center; justify-items: center; }
  #services .svc-head p { justify-self: center; margin-inline: auto; }
  #problems .section-head, #process .section-head, #insights .section-head, #industries .section-head { flex-direction: column; align-items: center; text-align: center; }
  #problems .head-note, #process .head-note, #insights .head-note, #industries .head-note { margin-inline: auto; }
  #process .more-link { display: table; margin-inline: auto; }
  .prob { align-items: center; text-align: center; }
  .prob .prob-cause { text-align: center; }
  .prob-ghost { right: 50%; translate: 50% 0; opacity: .7; }
  #health .quiz-intro { text-align: center; }
  #health .quiz-intro p { margin-inline: auto; }
  .step { text-align: center; }
}

/* Team: four specialists in a row */
.tm-grid:not(.tm-lead) { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .tm-grid:not(.tm-lead) { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .tm-grid:not(.tm-lead) { grid-template-columns: 1fr; } }

/* News articles: date and sources */
.art-date { color: var(--muted); margin-bottom: 26px; }
.article h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 38px 0 14px; letter-spacing: -.03em; }
.art-sources { margin-top: 44px; padding: 24px 26px; border-radius: 18px; border: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 55%, #fff); }
.art-sources ol { list-style: decimal; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.art-sources a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; word-break: break-word; }
@media (prefers-reduced-motion: reduce) { .quote-sec .flow path, .quote-sec::after { animation: none; } }

/* =====================================================================
   v15: logos + statement share one background, why-stage rings, footer, work page, centred steps
   ===================================================================== */
/* Logos and statement: one continuous background, no lines */
.quote-sec { display: block; min-height: 0; }
.quote-sec::after { display: none; }
.qs-bg { position: absolute; inset: 0 0 26% 0; z-index: 0; pointer-events: none; overflow: hidden; }
.qs-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 76px 76px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 10%, transparent 80%); mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 10%, transparent 80%); }
.qs-bg i { position: absolute; border-radius: 50%; filter: blur(70px); }
.qs-bg i:nth-of-type(1) { width: 46vw; height: 34vw; left: 4%; top: 2%; background: rgba(46,204,113,.16); animation: qsDrift1 18s ease-in-out infinite alternate; }
.qs-bg i:nth-of-type(2) { width: 38vw; height: 30vw; right: 2%; top: 30%; background: rgba(3,239,149,.1); animation: qsDrift2 22s ease-in-out infinite alternate; }
.qs-bg i:nth-of-type(3) { width: 30vw; height: 24vw; left: 34%; top: 46%; background: rgba(46,204,113,.1); animation: qsDrift1 26s ease-in-out infinite alternate-reverse; }
@keyframes qsDrift1 { to { transform: translate(8vw, 6vh) scale(1.12); } }
@keyframes qsDrift2 { to { transform: translate(-7vw, -5vh) scale(1.1); } }
.quote-sec .clients { position: relative; z-index: 1; padding: clamp(60px, 10vh, 110px) 0 0; border: 0; }
.quote-sec .quote-in { position: relative; z-index: 1; padding-block: clamp(80px, 12vh, 130px) 30vh; }

/* Why one team beats five agencies (desktop): slow rings and soft light instead of floating lines */
.why-lines { display: none; }
.why-rings { position: absolute; left: 50%; top: 50%; width: min(92vh, 900px); aspect-ratio: 1; translate: -50% -50%; fill: none; pointer-events: none; animation: ringSpin 60s linear infinite; }
.why-rings circle { stroke: rgba(46,204,113,.2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.why-rings circle:nth-child(2) { stroke: rgba(255,255,255,.14); stroke-dasharray: 3 9; }
.why-rings circle:nth-child(3) { stroke: rgba(46,204,113,.28); stroke-dasharray: 60 30; }
.why-rings circle:nth-child(4) { stroke: rgba(255,255,255,.1); }
@keyframes ringSpin { to { rotate: 360deg; } }
.why-aurora i { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.why-aurora i:first-child { width: 44vw; height: 36vw; left: 8%; top: 10%; background: rgba(46,204,113,.14); animation: qsDrift1 16s ease-in-out infinite alternate; }
.why-aurora i:last-child { width: 36vw; height: 30vw; right: 6%; bottom: 8%; background: rgba(3,239,149,.1); animation: qsDrift2 20s ease-in-out infinite alternate; }
.hero-b > .mono, .hero-b .roll-window { position: relative; z-index: 1; }

/* Service pages: the four steps are centred */
.hiw .section-head { margin-inline: auto; }
.hiw .mini-steps li { text-align: center; padding: 22px 18px; }
.hiw .mini-steps li::before { margin-inline: auto; }

/* ---------- Footer ---------- */
.footer { padding-block: clamp(60px, 9vh, 100px) 26px; border-top: 0; overflow: hidden; }
.ft-cta { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; padding-bottom: clamp(40px, 6vh, 60px); border-bottom: 1px solid var(--line); }
.ft-cta .label { margin-bottom: 12px; }
.ft-mail { display: inline-flex; align-items: center; gap: 14px; font-family: var(--display); font-size: clamp(1.7rem, 4.2vw, 3.4rem); letter-spacing: -.035em; line-height: 1; transition: color .3s; }
.ft-mail i { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: var(--ink); transition: transform .45s cubic-bezier(.2,.7,.2,1); flex: none; }
.ft-mail:hover { color: var(--green); }
.ft-mail:hover i { transform: rotate(45deg); }
.ft-cta-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.ft-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr .8fr; gap: 34px 40px; padding-block: clamp(40px, 6vh, 64px); }
.ft-brand { display: flex; flex-direction: column; gap: 16px; max-width: 24em; }
.ft-brand p { color: var(--muted); line-height: 1.5; font-size: .95rem; }
.ft-loc { display: flex; align-items: center; gap: 10px; font-size: .68rem !important; }
.ft-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(46,204,113,.6); animation: ftPulse 2.4s ease-out infinite; }
@keyframes ftPulse { to { box-shadow: 0 0 0 10px rgba(46,204,113,0); } }
.footer .f-col { gap: 10px; }
.footer .f-col .mono { color: var(--green); margin-bottom: 8px; }
.footer .f-col a { color: rgba(255,255,255,.72); font-size: .92rem; width: fit-content; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: color .25s, background-size .35s; }
.footer .f-col a:hover { color: #fff; background-size: 100% 1px; }
.ft-word { font-family: var(--display); font-weight: 600; font-size: clamp(5rem, 22vw, 20rem); line-height: .78; letter-spacing: -.06em; text-align: center; margin: 0 0 22px; user-select: none;
  color: transparent; -webkit-text-stroke: 1px rgba(46,204,113,.28); background: linear-gradient(180deg, rgba(46,204,113,.18), transparent 80%); -webkit-background-clip: text; background-clip: text; }
.footer-bottom { align-items: center; padding-top: 20px; border-top: 1px solid var(--line); }
.ft-top { color: var(--muted); transition: color .25s; }
.ft-top:hover { color: var(--green); }
@media (max-width: 1000px) { .ft-grid { grid-template-columns: 1fr 1fr; } .ft-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .ft-grid { grid-template-columns: 1fr; } .ft-cta-btns .btn { flex: 1; justify-content: center; } .footer-bottom { flex-direction: column; align-items: flex-start; } }

/* ---------- Work page ---------- */
.work-index { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(50px, 8vh, 90px); }
.work-index a { display: inline-flex; align-items: center; gap: 12px; padding: 12px 18px; border-radius: 999px; border: 1px solid var(--line); font-weight: 500; transition: background .25s, color .25s; }
.work-index a .mono { color: var(--accent); }
.work-index a em { font-style: normal; color: var(--muted); font-size: .64rem; }
.work-index a:hover { background: var(--ink); color: #fff; }
.project { scroll-margin-top: 110px; padding-block: clamp(40px, 7vh, 80px); border-top: 1px solid var(--line); }
.project-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.project-head h2 { max-width: 16em; }
.project-cover { aspect-ratio: 21 / 9; border-radius: 22px; margin-bottom: 36px; }
.slot-note { position: absolute; right: 16px; bottom: 14px; color: rgba(255,255,255,.65); }
.project-body { display: grid; grid-template-columns: 1.1fr 1fr .9fr; gap: 30px 44px; margin-bottom: 30px; }
.project-brief { font-size: 1.12rem; line-height: 1.5; }
.project-results { color: var(--muted); line-height: 1.5; }
.project-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.slot { aspect-ratio: 4 / 3; border-radius: 18px; border: 1.5px dashed rgba(10,12,16,.22); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 16px;
  background: repeating-linear-gradient(135deg, rgba(10,12,16,.03) 0 12px, transparent 12px 24px); }
.slot .mono { color: var(--accent); font-size: .64rem; }
.slot b { font-weight: 500; }
@media (max-width: 900px) { .project-body { grid-template-columns: 1fr; } .project-gallery { grid-template-columns: 1fr 1fr; } .project-cover { aspect-ratio: 16 / 10; } }
@media (max-width: 520px) { .project-gallery { grid-template-columns: 1fr; } }
a.case { display: block; color: inherit; }
@media (prefers-reduced-motion: reduce) { .qs-bg i, .why-rings, .why-aurora i, .ft-dot { animation: none; } }
.quote-sec::before { inset: 52% 0 0 0; }

/* =====================================================================
   v16: the "why" wheel, and a softer background behind the statement
   ===================================================================== */
.why-rings, .why-aurora, .hero-b > .why-dots { display: none; }
.hero-rings { transition: opacity .3s linear; }
.why-wheel { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%); }
/* a soft band of light where the active reason sits */
.why-focus { position: absolute; left: 0; right: 0; top: 50%; height: 34vh; translate: 0 -50%; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, rgba(46,204,113,.13), transparent 70%); }

/* Statement: the background glows fade out gently instead of being cut off */
.qs-bg { inset: 0; overflow: visible;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 50%, transparent 82%); mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 50%, transparent 82%); }
.quote-sec { overflow: hidden; }
.quote-sec::before { inset: 40% 0 0 0; background: linear-gradient(180deg, transparent 0%, rgba(46,204,113,.06) 25%, rgba(46,204,113,.32) 55%, #2ecc71 84%, #a9e8c4 95%, #e9eceb 100%); }

/* ===== v17: Work page photos + results wall ===== */
.project-cover.has-img { margin: 0 0 36px; overflow: hidden; background: #e9eceb; }
.project-cover.has-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.project-gallery.g4 { grid-template-columns: repeat(4, 1fr); }
.shot { margin: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 5; background: #e9eceb; }
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.shot:hover img { transform: scale(1.04); }
@media (max-width: 900px) { .project-gallery.g4 { grid-template-columns: 1fr 1fr; } }
.results-wall .center-head .lead { max-width: 40em; margin-inline: auto; color: var(--muted); }
.rw-group { margin: clamp(40px, 6vh, 64px) 0 18px; color: var(--accent); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.rw-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 18px; }
.rw-card { display: flex; flex-direction: column; gap: 14px; padding: 26px; border-radius: 22px; background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.015)); border: 1px solid rgba(255,255,255,.1); transition: border-color .3s, transform .3s; }
.rw-card:hover { border-color: rgba(46,204,113,.45); transform: translateY(-3px); }
.rw-ch { color: var(--accent); font-size: .64rem; margin: 0; }
.rw-card h4 { font-size: 1.25rem; margin: 0; }
.rw-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 12px; margin: 4px 0 0; }
.rw-stats dt { font-family: var(--display); font-size: clamp(1.6rem, 2.4vw, 2.1rem); letter-spacing: -.03em; line-height: 1; color: #fff; }
.rw-stats dd { margin: 6px 0 0; font-size: .82rem; color: var(--muted); line-height: 1.35; }
.rw-note { margin: 0; font-size: .88rem; color: var(--muted); }
.rw-shots { display: grid; gap: 10px; margin-top: auto; }
.rw-shot { position: relative; display: block; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid rgba(255,255,255,.12); height: 170px; }
.rw-shot img { width: 100%; height: 100%; object-fit: cover; object-position: left top; display: block; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.rw-shot span { position: absolute; right: 10px; bottom: 10px; padding: 6px 10px; border-radius: 999px; background: rgba(10,12,16,.82); color: #fff; font-size: .6rem; opacity: 0; transition: opacity .3s; }
.rw-shot:hover img { transform: scale(1.03); }
.rw-shot:hover span, .rw-shot:focus-visible span { opacity: 1; }
.rw-stats { display: flex; flex-wrap: wrap; gap: 14px 22px; }
.rw-stats > div { flex: 1 1 auto; min-width: 84px; }
.rw-stats dt { font-size: clamp(1.45rem, 2vw, 1.85rem); white-space: nowrap; }
/* project sections (Sabeanz) */
.pj-sec { margin-top: clamp(30px, 5vh, 50px); }
.pj-sec > .label { margin-bottom: 14px; }
.pj-grid { display: grid; gap: 14px; }
.pj-grid.two { grid-template-columns: 1fr 1fr; }
.pj-grid.three { grid-template-columns: repeat(3, 1fr); }
.pj-grid.social { grid-template-columns: 1.6fr 1fr; align-items: start; }
.pj-grid.one { grid-template-columns: 1fr; }
.pj-img { margin: 0; border-radius: 18px; overflow: hidden; background: #e9eceb; }
.pj-img img { width: 100%; height: auto; display: block; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.pj-img:hover img { transform: scale(1.025); }
@media (max-width: 900px) { .pj-grid.two, .pj-grid.three, .pj-grid.social { grid-template-columns: 1fr; } }
/* article covers */
.post-art.has-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.post-art.has-cover::after { display: none; }
.post-art.has-cover .post-ix { z-index: 2; }
.post:hover .post-art.has-cover img { transform: scale(1.05); }
.art-cover { margin: 0 0 28px; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 8.5; background: #e9eceb; }
.art-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-art.has-cover .post-ix { background: rgba(10,12,16,.62); color: #fff; padding: 4px 9px; border-radius: 999px; }
/* home: real project cards */
.case.feature { grid-column: 1 / -1; }
.case.feature .case-img { aspect-ratio: 21 / 9; }
.case-img.has-photo { background: #111; }
.case-img.has-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.case:hover .case-img.has-photo img { transform: scale(1.04); }
.case-img.has-photo .case-go { z-index: 1; padding: 6px 12px; border-radius: 999px; background: rgba(10,12,16,.62); color: #fff; }
@media (max-width: 900px) { .case.feature .case-img { aspect-ratio: 16 / 10; } }
/* footer: subtle background instead of the big word */
.ft-word { display: none; }
.footer > .wrap { position: relative; z-index: 1; }
.ft-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1.3px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(90% 70% at 50% 100%, #000 10%, transparent 75%); mask-image: radial-gradient(90% 70% at 50% 100%, #000 10%, transparent 75%); }
.ft-bg i { position: absolute; width: 46vw; height: 46vw; max-width: 640px; max-height: 640px; border-radius: 50%; filter: blur(90px); opacity: .22; background: #2ecc71; bottom: -30%; left: 12%; animation: ftDrift 22s ease-in-out infinite alternate; }
.ft-bg i + i { left: auto; right: 8%; bottom: -40%; opacity: .14; background: #1f7346; animation-duration: 28s; animation-direction: alternate-reverse; }
@keyframes ftDrift { to { transform: translate3d(12vw, -6vh, 0) scale(1.15); } }
@media (prefers-reduced-motion: reduce) { .ft-bg i { animation: none; } }
#results-seo { scroll-margin-top: 110px; } #results { scroll-margin-top: 0; }


/* ===== v19: market pages, article related services ===== */
.mkt-proof { margin-top: 24px; padding: 18px 22px; border-radius: 16px; background: rgba(46,204,113,.1); border: 1px solid rgba(46,204,113,.3); line-height: 1.5; }
.mkt-proof a { color: var(--accent); font-weight: 500; white-space: nowrap; }
.art-related { margin: 34px 0 10px; padding-top: 22px; border-top: 1px solid var(--line); }
.art-related ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; }
.art-related a { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); transition: border-color .25s, transform .25s; }
.art-related a:hover { border-color: var(--accent); transform: translateX(3px); }
.art-related a span { color: var(--muted); font-size: .88rem; }
.next-cat .related { margin-bottom: 22px; }

/* ===== v20: balanced headings, wave reveal, phone footer buttons ===== */
h1, h2, h3, .statement-text { text-wrap: balance; }
.split-h .hw-i { transform: translateY(110%) rotate(6deg); transform-origin: 0 100%; opacity: 0; transition: transform 1.05s cubic-bezier(.16,1,.3,1), opacity .7s ease; }
.split-h[data-from="top"] .hw-i { transform: translateY(-110%) rotate(-6deg); transform-origin: 0 0; }
.split-h.in .hw-i { transform: none; opacity: 1; }
@media (max-width: 560px) {
  .ft-cta-btns { flex-direction: column; width: 100%; }
  .ft-cta-btns .btn { width: 100%; flex: none; justify-content: center; }
}
@media (max-width: 560px) { .ft-mail { font-size: clamp(1.25rem, 6.6vw, 1.7rem); gap: 10px; } .ft-mail i { width: 36px; height: 36px; } }

/* ===== v21: hero title line mask + slow settle + one shine ===== */
.home .hero-title .hl { display: block; overflow: hidden; padding: .04em 0 .22em; margin-bottom: -.22em; }
.home .hero-title .hl-i { display: inline-block; will-change: transform; }
.home .hero-title .hl-shine { background: linear-gradient(100deg, #fff 0%, #fff 40%, #8ff0b8 50%, #fff 60%, #fff 100%) 100% 0 / 260% 100% no-repeat; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.home .hero-title.shine .hl-shine { animation: heroShine 1.8s cubic-bezier(.4,0,.2,1) forwards; }
@keyframes heroShine { to { background-position: 0% 0; } }
@media (prefers-reduced-motion: reduce) { .home .hero-title .hl-shine { -webkit-text-fill-color: currentColor; background: none; } }

/* ===== v22: team photos, rotating testimonials ===== */
.tm-photo.has-ph { background: #0a0c10; }
.tm-photo.has-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; filter: grayscale(1) contrast(1.05); transition: transform .9s cubic-bezier(.2,.7,.2,1), filter .6s; }
.tm-card:hover .tm-photo.has-ph img { transform: scale(1.04); filter: grayscale(.2) contrast(1.05); }
.tt-faces li.has-ph { padding: 0; overflow: hidden; background: #0a0c10; }
.tt-faces li.has-ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; filter: grayscale(1); }
.q-tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 4px 0 26px; }
.q-tab { font: inherit; font-family: var(--mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); background: transparent; color: var(--muted); cursor: pointer; transition: color .25s, border-color .25s, background .25s; }
.q-tab:hover { color: #fff; border-color: rgba(46,204,113,.6); }
.q-tab.on { color: #0a0c10; background: var(--green); border-color: var(--green); }
#clientQuote blockquote, #clientQuote figcaption { transition: opacity .35s ease, transform .35s ease; }
#clientQuote.q-swap blockquote, #clientQuote.q-swap figcaption { opacity: 0; transform: translateY(8px); }
.tm-photo.has-ph .tm-ring { display: none; } .tm-photo.has-ph img { object-position: 50% 15%; }

/* ===== v23: taller team photo frames, testimonial arrows ===== */
.tm-lead .tm-photo { aspect-ratio: 1 / 1; }
.tm-grid:not(.tm-lead) .tm-photo { aspect-ratio: 4 / 5; }
.tm-photo.has-ph img { object-position: 50% 12%; }
@media (max-width: 900px) { .tm-lead .tm-photo, .tm-grid:not(.tm-lead) .tm-photo { aspect-ratio: 4 / 5; } }
#clientQuote { position: relative; }
.q-nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 4px 0 26px; }
.q-nav .q-tabs { margin: 0; }
.q-arrow { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.22); background: rgba(10,12,16,.55); color: #fff; font-size: 1.1rem; cursor: pointer; transition: background .25s, border-color .25s, color .25s, transform .25s; }
.q-arrow:hover { background: var(--green); border-color: var(--green); color: #0a0c10; }
.q-prev:hover { transform: translateX(-3px); } .q-next:hover { transform: translateX(3px); }
@media (max-width: 560px) { .q-nav { flex-wrap: wrap; } .q-nav .q-tabs { order: -1; width: 100%; } }
.cl-track img[src*="sabeanz"] { height: 62px; }
@media (max-width: 820px) { .cl-track img[src*="sabeanz"] { height: 48px; } }

/* ===== v4: header + full-screen menu (from v3) ===== */
:root { --mint: #3ff097; --deep: #0f3a24; --ease4: cubic-bezier(.16,1,.3,1); }
.header.v4-hd { position: fixed; top: 0; left: 0; right: 0; height: auto; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px var(--gutter); color: #fff; mix-blend-mode: difference; transition: transform .5s var(--ease4); }
.header.v4-hd::before { display: none; }
.header.v4-hd.hide { transform: translateY(-110%); }
.v4-brand { display: flex; align-items: center; gap: 10px; color: inherit; }
.v4-brand-z svg { width: 30px; height: auto; fill: currentColor; display: block; transition: transform .8s var(--ease4); }
.v4-brand:hover .v4-brand-z svg { transform: rotate(-180deg); }
.v4-brand b { font-family: var(--display); font-weight: 500; font-size: 1.25rem; letter-spacing: -.03em; }
.v4-brand small { font-family: var(--mono); font-size: .55rem; letter-spacing: .4em; opacity: .7; align-self: flex-end; margin-bottom: 4px; }
.v4-hd-r { display: flex; align-items: center; gap: 10px; }
.v4-pill { display: inline-flex; align-items: center; gap: 12px; padding: 7px 7px 7px 20px; border-radius: 999px; border: 1px solid currentColor; font-weight: 500; font-size: .92rem; color: inherit; transition: background .3s, color .3s; }
.v4-pill .ic { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #000; transition: transform .45s var(--ease4), background .3s, color .3s; }
.v4-pill .ic svg { width: 13px; height: 13px; }
.v4-pill:hover { background: #fff; color: #000; } .v4-pill:hover .ic { background: #000; color: #fff; transform: rotate(45deg); }
.v4-menu-btn { display: inline-flex; align-items: center; height: 48px; padding: 0 20px; border-radius: 999px; border: 1px solid currentColor; background: transparent; color: inherit; position: relative; cursor: pointer; font: inherit; }
.v4-menu-btn .mono { margin-right: 28px; font-size: .7rem; letter-spacing: .12em; }
.v4-menu-btn i { position: absolute; right: 20px; width: 18px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease4); }
.v4-menu-btn i:first-of-type { transform: translateY(-4px); } .v4-menu-btn i:last-of-type { transform: translateY(4px); }
.v4-menu-btn[aria-expanded="true"] i:first-of-type { transform: rotate(45deg); } .v4-menu-btn[aria-expanded="true"] i:last-of-type { transform: rotate(-45deg); }
@media (max-width: 760px) { .v4-pill { display: none; } }
.v4-menu { position: fixed; inset: 0; z-index: 55; background: var(--deep); color: #eef1ee; clip-path: circle(0% at calc(100% - 70px) 42px); transition: clip-path .9s var(--ease4); overflow-y: auto; }
.v4-menu.open { clip-path: circle(150% at calc(100% - 70px) 42px); }
.v4-menu-in { min-height: 100%; display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; padding: 120px var(--gutter) 50px; }
.v4-menu-nav a { display: flex; align-items: baseline; gap: 18px; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.1); overflow: hidden; color: #eef1ee; }
.v4-menu-nav b { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 5vw, 4.2rem); letter-spacing: -.04em; line-height: 1.05; display: inline-block; transform: translateY(110%); transition: color .3s, transform .5s var(--ease4); }
.v4-menu.open .v4-menu-nav b { transform: none; transition-delay: calc(var(--d, 0) * 1s), 0s; transition-property: transform, color; }
.v4-menu-nav a:hover b, .v4-menu-nav a[aria-current] b { color: var(--mint); }
.v4-menu-nav a:hover b { transform: translateX(12px); transition-delay: 0s; }
.v4-menu-nav .mono { color: var(--mint); font-size: .7rem; }
.v4-menu-side { display: flex; flex-direction: column; gap: 8px; padding-top: 14px; }
.v4-menu-side .mono { color: var(--mint); margin-top: 22px; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.v4-menu-side a { color: #c8d2cd; } .v4-menu-side a:hover { color: #fff; }
@media (max-width: 760px) { .v4-menu-in { grid-template-columns: 1fr; padding-top: 100px; } .v4-menu-side { display: none; } }
@media (prefers-reduced-motion: reduce) { .v4-menu, .v4-menu-nav b { transition: none; } .v4-menu-nav b { transform: none; } }

/* ===== v4: why one team (from v2, without background lines) ===== */
.home .roll-window { position: relative; width: 100%; align-self: stretch; --rl: clamp(3rem, 6.2vw, 5.4rem); -webkit-mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent); }
.home .roll { transition: none; padding: 0; position: absolute; inset: 0; transform: none !important; }
.home .roll li { position: absolute; left: 50%; top: 50%; width: max-content; max-width: 92vw; transition: none; will-change: transform, opacity, filter; transform-origin: 50% 50%; font-size: clamp(1.8rem, 4.4vw, 3.7rem); letter-spacing: -0.035em; }
.home .roll li.is-on { opacity: 1; }
.home .why-wheel, .home .why-focus { display: none; }
.why-rise { position: absolute; left: -10%; right: -10%; bottom: 0; height: 75%; pointer-events: none; z-index: 0; background: radial-gradient(60% 70% at 50% 100%, rgba(46,204,113,.75), rgba(46,204,113,.22) 45%, transparent 75%); opacity: var(--rise, 0); transform: translateY(calc((1 - var(--rise, 0)) * 30%)); }

/* ===== v4: our work scrolls sideways (from v2) ===== */
#work.hs-on { padding-block: 0; }
#work.hs-on .hs-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; width: 100vw; margin-left: calc(50% - 50vw); overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: clamp(24px, 4vh, 44px); padding-top: 80px; }
#work.hs-on .section-head { margin-bottom: 0; padding-inline: max(24px, 6vw); }
#work.hs-on .work-grid { display: flex; gap: clamp(20px, 2.4vw, 36px); padding-inline: max(24px, 6vw); width: max-content; will-change: transform; }
#work.hs-on .case { flex: none; width: clamp(340px, 34vw, 520px); }
#work.hs-on .case.feature { width: clamp(520px, 52vw, 820px); }
#work.hs-on .case .case-img, #work.hs-on .case.feature .case-img { aspect-ratio: 16 / 10; }
#work.hs-on .case-chips { display: none; }
@media (max-width: 900px) {
  #work .work-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
  #work .work-grid::-webkit-scrollbar { display: none; }
  #work .case, #work .case.feature { flex: none; width: 82vw; scroll-snap-align: center; }
  #work .case-chips { display: none; }
}
.z-pre { transform: scale(1.16) !important; transition: transform 1.6s cubic-bezier(.16,1,.3,1) !important; }
.z-pre.z-in { transform: scale(1) !important; }
.case:hover .case-img.has-photo img.z-in { transform: scale(1.04) !important; }

/* ===== v4: markets list + photo (from v3) ===== */
.v4-mk { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 60px); align-items: start; }
.v4-mk-list { list-style: none; margin: 0; padding: 0; }
.v4-mk-list a { display: grid; grid-template-columns: 50px 1fr 44px; grid-template-areas: "n b go" "n e go"; align-items: center; gap: 2px 14px; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--fg); transition: padding .4s var(--ease4); }
.v4-mk-list li:first-child a { border-top: 1px solid var(--line); }
.v4-mk-list .mono { grid-area: n; color: var(--muted); }
.v4-mk-list b { grid-area: b; font-family: var(--display); font-weight: 400; font-size: clamp(1.4rem, 2.6vw, 2.3rem); letter-spacing: -.03em; transition: color .3s; }
.v4-mk-list em { grid-area: e; font-style: normal; color: var(--muted); font-size: .92rem; }
.v4-mk-list .go { grid-area: go; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); opacity: 0; transition: .4s var(--ease4); }
.v4-mk-list .go svg { width: 12px; height: 12px; }
.v4-mk-list a.on, .v4-mk-list a:hover { padding-left: 14px; }
.v4-mk-list a.on b, .v4-mk-list a:hover b { color: var(--accent, var(--green)); }
.v4-mk-list a.on .go, .v4-mk-list a:hover .go { opacity: 1; background: var(--ink); color: var(--mint); border-color: var(--ink); }
.v4-mk-photo { position: sticky; top: 14vh; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; background: #ccd3cf; }
.v4-mk-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .5s, transform 1.2s var(--ease4); }
.v4-mk-photo img.fade { opacity: 0; transform: scale(1.06); }
@media (max-width: 900px) { .v4-mk { grid-template-columns: 1fr; } .v4-mk-photo { display: none; } }

/* ===== v4: "Let's grow together" band before the closing call to action ===== */
.grow-band { position: relative; z-index: 1; overflow: hidden; background: var(--mint); color: #06140c; padding: clamp(18px, 3vh, 30px) 0; }
.grow-t { display: flex; gap: 40px; width: max-content; animation: growTick 26s linear infinite; font-family: var(--display); font-size: clamp(3rem, 9vw, 8rem); letter-spacing: -.05em; line-height: 1; white-space: nowrap; }
.grow-t i { font-style: normal; font-size: .5em; align-self: center; }
@keyframes growTick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .grow-t { animation: none; } }
body:has(.v4-menu.open) .header.v4-hd { mix-blend-mode: normal; }

/* ===== v4.1: dark menu with a green glow, Services / Markets drop-downs ===== */
.v4-menu { background: radial-gradient(90% 60% at 50% 115%, rgba(46,204,113,.42), rgba(46,204,113,.12) 45%, transparent 75%), #07090b; }
.v4-menu-nav a { border-bottom-color: rgba(255,255,255,.08); }
.v4-mi { position: relative; border-bottom: 1px solid rgba(255,255,255,.08); }
.v4-mi > a { border-bottom: 0; padding-right: 64px; }
.v4-sub-btn { position: absolute; right: 0; top: 10px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: transparent; color: #eef1ee; cursor: pointer; transition: background .3s, border-color .3s, color .3s; }
.v4-sub-btn i { position: absolute; left: 50%; top: 50%; width: 16px; height: 1.5px; background: currentColor; translate: -50% -50%; transition: rotate .4s var(--ease4); }
.v4-sub-btn i + i { rotate: 90deg; }
.v4-sub-btn:hover, .v4-mi.open .v4-sub-btn { background: var(--mint); border-color: var(--mint); color: #06140c; }
.v4-mi.open .v4-sub-btn i + i { rotate: 0deg; }
.v4-sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease4); }
.v4-sub > div { overflow: hidden; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 24px; padding-left: 38px; }
.v4-mi.open .v4-sub { grid-template-rows: 1fr; }
.v4-mi.open .v4-sub > div { padding-bottom: 18px; }
.v4-sub a { border: 0 !important; padding: 6px 0 !important; color: #c8d2cd !important; font-size: 1.05rem; display: block !important; }
.v4-sub a:hover { color: var(--mint) !important; }
.v4-sub .v4-sub-all { color: var(--mint) !important; font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
@media (max-width: 760px) { .v4-sub > div { grid-template-columns: 1fr; padding-left: 30px; } .v4-sub-btn { width: 42px; height: 42px; top: 6px; } }
.v4-menu { overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }

/* ================= v6: picked from v5 ================= */
/* hero: clean, dark, one line, the Z in the middle, small corners */
.home .hero-rings { display: none; }
.home .hero-bg-img { filter: saturate(.6) brightness(.42); }
.home .hero-bg { background: #07090b; }
.home .hero-bg::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(75% 55% at 50% -8%, rgba(46,204,113,.34), rgba(46,204,113,.06) 45%, transparent 72%), linear-gradient(180deg, rgba(7,9,11,.35), rgba(7,9,11,.15) 40%, rgba(7,9,11,.75)); }
.home .hero-bg::after { display: none; }
.home .hero-a.v5-hero { align-items: center; text-align: center; justify-content: flex-start; padding: clamp(110px, 17vh, 170px) var(--gutter) 0; gap: 0; }
.home .v5-hero .eyebrow { align-items: center; margin-bottom: clamp(14px, 2.4vh, 26px); }
.home .v5-hero .hero-title { font-size: clamp(3rem, 8.4vw, 8.8rem); max-width: none; line-height: .95; letter-spacing: -.055em; margin: 0; }
.home .v5-hero .hero-slot { position: relative; right: auto; top: auto; translate: none; width: min(46vw, 560px); height: clamp(170px, 34vh, 380px); margin: clamp(6px, 2vh, 20px) auto 0; flex: none; order: 0; }
.v5-hero .hc { position: absolute; bottom: clamp(26px, 6vh, 60px); max-width: 340px; display: flex; flex-direction: column; gap: 12px; text-align: left; }
.v5-hero .hc-l { left: max(var(--gutter), 3vw); } .v5-hero .hc-r { right: max(var(--gutter), 3vw); }
.v5-hero .hc .dim { color: rgba(255,255,255,.5); }
.hc-tick { width: 310px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.hc-tick div { display: flex; width: max-content; animation: hcT 24s linear infinite; }
.hc-tick span { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; white-space: nowrap; }
@keyframes hcT { to { transform: translateX(-50%); } }
.v5-hero .hero-actions { display: flex; gap: 26px; margin: 10px 0 0; justify-content: flex-start; flex-wrap: wrap; }
.hc-link { font-family: var(--mono); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; transition: color .3s, translate .35s cubic-bezier(.2,.7,.2,1); }
.hc-link span { display: inline-block; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.hc-link:hover span { transform: translateX(5px); }
.hc-link.accent { color: var(--green); }
.home .v5-hero .hc-r .hero-sub { font-size: 1rem; color: rgba(255,255,255,.78); max-width: 22em; margin: 0; line-height: 1.45; }
@media (max-width: 900px) {
  .home .hero-a.v5-hero { padding-top: 110px; justify-content: flex-start; }
  .home .v5-hero .hero-title { font-size: clamp(2.6rem, 12.5vw, 4.6rem); }
  .home .v5-hero .hero-slot { width: 62vw; height: 22vh; }
  .v5-hero .hc { position: static; max-width: none; width: 100%; margin-top: 18px; align-items: center; text-align: center; }
  .v5-hero .hc-r { order: -1; display: none; }
  .v5-hero .hero-actions { justify-content: center; }
  .hc-tick { width: min(320px, 90vw); }
}
@media (prefers-reduced-motion: reduce) { .hc-tick div { animation: none; } }

/* statement: words rise from behind as they light */
.statement-text.v5-depth { perspective: 900px; }
.statement-text.v5-depth span { display: inline-block; transform: translateY(.3em) rotateX(42deg); transform-origin: 50% 100%; transition: opacity .5s ease, transform .9s cubic-bezier(.16,1,.3,1); }
.statement-text.v5-depth span.lit { transform: none; }

/* cursor: dot + trailing ring */
.v5-cursor { position: fixed; inset: 0; z-index: 120; pointer-events: none; opacity: 0; transition: opacity .3s; }
.v5-cursor.on { opacity: 1; }
.v5-cursor i { position: absolute; left: 0; top: 0; border-radius: 50%; will-change: transform; }
.v5-cursor .d { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: #3ff097; mix-blend-mode: difference; }
.v5-cursor .r { width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1.5px solid rgba(63,240,151,.75); display: grid; place-items: center;
  transition: width .4s cubic-bezier(.2,.7,.2,1), height .4s cubic-bezier(.2,.7,.2,1), margin .4s cubic-bezier(.2,.7,.2,1), background .3s, border-color .3s; }
.v5-cursor.link .r { width: 58px; height: 58px; margin: -29px 0 0 -29px; background: rgba(63,240,151,.14); }
.v5-cursor.press .r { width: 26px; height: 26px; margin: -13px 0 0 -13px; }
@media (hover: none), (pointer: coarse) { .v5-cursor { display: none; } }

/* footer: clean */
.v5-ft .ft-cta { border-bottom: 0; padding-bottom: clamp(70px, 12vh, 130px); }
.v5-ft .footer-bottom { position: relative; z-index: 1; }

.v5-ft { padding-top: clamp(110px, 18vh, 200px); padding-bottom: 34px; }
.v5-ft .ft-cta { padding-bottom: clamp(70px, 12vh, 130px); }
.ft-nav { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 10px clamp(22px, 4vw, 56px); padding: 26px 0; border-top: 1px solid var(--line); margin-bottom: clamp(40px, 8vh, 90px); }
.ft-nav a { font-family: var(--display); font-size: clamp(1.05rem, 1.6vw, 1.35rem); letter-spacing: -.02em; color: rgba(255,255,255,.78); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: color .25s, background-size .4s cubic-bezier(.2,.7,.2,1); }
.ft-nav a:hover { color: #fff; background-size: 100% 1px; }
@media (max-width: 560px) { .ft-nav { gap: 10px 22px; } }


/* ================= v7 (final) ================= */
/* inner page banners: full screen, laid out like the home hero, photo kept */
.page-hero.v7-ph { min-height: 100vh; min-height: 100svh; display: flex; align-items: stretch; padding: 0; }
.v7-ph-in { position: relative; z-index: 2; width: 100%; min-height: inherit; display: flex; flex-direction: column; align-items: center; text-align: center; padding: clamp(110px, 17vh, 170px) var(--gutter) clamp(150px, 22vh, 210px); }
.v7-ph-top { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: clamp(14px, 2.4vh, 26px); }
.v7-ph-top .crumbs { justify-content: center; }
.v7-ph .ph-title { font-size: clamp(2.5rem, 6vw, 6.2rem); line-height: 1; letter-spacing: -.05em; max-width: 15em; margin: 0 auto; text-wrap: balance; }
.v7-ph .ph-slot { position: relative; width: min(40vw, 460px); height: clamp(150px, 28vh, 320px); margin: clamp(6px, 2vh, 18px) auto 0; order: 0; flex: none; }
.v7-ph-c { position: absolute; bottom: clamp(26px, 6vh, 60px); max-width: 420px; text-align: left; }
.v7-ph-l { left: max(var(--gutter), 3vw); } .v7-ph-r { right: max(var(--gutter), 3vw); }
.v7-ph-l .cta-row { margin: 0; justify-content: flex-start; flex-wrap: wrap; gap: 10px; }
.v7-ph-r .ph-intro { font-size: clamp(.95rem, 1.1vw, 1.05rem); line-height: 1.5; color: rgba(255,255,255,.8); max-width: 26em; margin: 0; }
.v7-ph-r .art-meta, .v7-ph-r > *:not(.ph-intro) { margin-top: 10px; }
@media (max-width: 900px) {
  .v7-ph-in { padding: 110px var(--gutter) 50px; justify-content: flex-start; }
  .v7-ph .ph-title { font-size: clamp(2.2rem, 10vw, 3.6rem); }
  .v7-ph .ph-slot { width: 56vw; height: 20vh; }
  .v7-ph-c { position: static; max-width: none; width: 100%; text-align: center; margin-top: 18px; }
  .v7-ph-l { order: 5; } .v7-ph-l .cta-row { justify-content: center; }
  .v7-ph-r .ph-intro { margin: 0 auto; }
}

/* "How the system works" slides up over "Sound familiar?" */
.home #problems { position: sticky; top: var(--stick, 0px); z-index: 0; }
.home #system { position: relative; z-index: 1; box-shadow: 0 -40px 80px -20px rgba(0,0,0,.45), 0 0 0 100vmax var(--bg); }
.sys-band { width: 100vw; margin: calc(-1 * clamp(90px, 15vh, 180px)) 0 clamp(60px, 10vh, 110px) calc(50% - 50vw); overflow: hidden; padding: clamp(10px, 2vh, 22px) 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.sys-band div { display: flex; gap: 36px; width: max-content; animation: sysBand 30s linear infinite; font-family: var(--display); font-size: clamp(2.6rem, 7.5vw, 7rem); letter-spacing: -.05em; line-height: 1; white-space: nowrap; color: #fff; }
.sys-band i { font-style: normal; color: var(--green); }
@keyframes sysBand { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .sys-band div { animation: none; } .home #problems { position: relative; } }

/* testimonial: only the words change; arrows on the left and right */
.home #clientQuote { transform: none !important; }
.home #clientQuote.q-swap blockquote, .home #clientQuote.q-swap figcaption { opacity: 0; transform: translateY(10px); }
.home #clientQuote blockquote, .home #clientQuote figcaption { transition: opacity .4s ease, transform .5s cubic-bezier(.2,.7,.2,1); }
#clientQuote .q-side { position: absolute; top: 52%; translate: 0 -50%; z-index: 3; width: 56px; height: 56px; }
#clientQuote .q-prev.q-side { left: clamp(-130px, -8vw, -64px); }
#clientQuote .q-next.q-side { right: clamp(-130px, -8vw, -64px); }
@media (max-width: 1100px) { #clientQuote .q-prev.q-side { left: -6px; } #clientQuote .q-next.q-side { right: -6px; } #clientQuote { padding-inline: 56px; } }
@media (max-width: 700px) { #clientQuote { padding-inline: 0; padding-bottom: 80px; } #clientQuote .q-side { top: auto; bottom: 0; translate: none; width: 46px; height: 46px; } #clientQuote .q-prev.q-side { left: calc(50% - 56px); } #clientQuote .q-next.q-side { right: calc(50% - 56px); } }

/* ================= v8 ================= */
/* calm single row of logos, after the testimonials */
.brands-sec { position: relative; padding-block: clamp(60px, 10vh, 110px); overflow: hidden; }
.brands-sec .cl-head { margin-bottom: clamp(26px, 4vh, 40px); }
.cl-calm { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.cl-calm-t { display: flex; align-items: center; gap: clamp(64px, 8vw, 130px); width: max-content; list-style: none; margin: 0; padding: 0 clamp(32px, 4vw, 65px); animation: clCalm 60s linear infinite; }
.cl-calm:hover .cl-calm-t { animation-play-state: paused; }
.cl-calm-t img { height: 52px; width: auto; opacity: .6; transition: opacity .4s, transform .4s; }
.cl-calm-t img[src*="sabeanz"] { height: 76px; }
.cl-calm-t li:hover img { opacity: 1; transform: scale(1.06); }
.cl-calm-t .cl-word { opacity: .6; transition: opacity .4s; } .cl-calm-t li:hover .cl-word { opacity: 1; }
@keyframes clCalm { to { transform: translateX(-50%); } }
@media (max-width: 820px) { .cl-calm-t img { height: 38px; } .cl-calm-t img[src*="sabeanz"] { height: 56px; } }
@media (prefers-reduced-motion: reduce) { .cl-calm-t { animation: none; flex-wrap: wrap; justify-content: center; width: auto; } }

/* system: the band is the title */
.home #system .section-head { margin-bottom: clamp(36px, 6vh, 60px); }
.sys-sub { color: var(--muted); font-size: 1.1rem; max-width: 30em; margin-inline: auto; text-align: center; }

/* 3D quote marks around the statement */
.quote-in { position: relative; }
.q3d { position: absolute; z-index: 0; pointer-events: none; display: block; width: 1em; height: .8em; font-family: Georgia, "Times New Roman", serif; font-size: clamp(9rem, 17vw, 17rem); line-height: .8; transform-style: preserve-3d; will-change: transform; }
.q3d i { position: absolute; inset: 0; font-style: normal; color: #13502f; }
.q3d i:nth-child(1) { transform: translateZ(0); color: #0b2a1a; } .q3d i:nth-child(2) { transform: translate(1px,1px) translateZ(2px); color: #0f3a24; }
.q3d i:nth-child(3) { transform: translate(2px,2px) translateZ(4px); color: #13502f; } .q3d i:nth-child(4) { transform: translate(3px,3px) translateZ(6px); color: #1b6a41; }
.q3d i:nth-child(5) { transform: translate(4px,4px) translateZ(8px); color: #239356; }
.q3d i:nth-child(6) { transform: translate(5px,5px) translateZ(10px); color: #3ff097; text-shadow: 0 0 40px rgba(63,240,151,.35); }
.q3d-open { left: clamp(-10px, 1vw, 30px); top: clamp(-90px, -6vw, -40px); }
.q3d-close { right: clamp(-10px, 1vw, 30px); bottom: clamp(-150px, -9vw, -70px); }
.quote-in .statement-text, .quote-in .quote-by { position: relative; z-index: 1; }
@media (max-width: 700px) { .q3d { font-size: 7rem; } .q3d-open { left: -6px; top: -50px; } .q3d-close { right: -6px; bottom: -80px; } }

/* FAQ: two columns, pinned title + help card, numbered questions */
.faq2 { display: grid; grid-template-columns: .9fr 1.3fr; gap: clamp(30px, 6vw, 100px); align-items: start; }
.faq2-l { position: sticky; top: 14vh; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.faq2-l h2 { margin: 0; } .faq2-l .head-note { margin: 0; max-width: 26em; }
.faq2-card { width: 100%; max-width: 420px; padding: 24px; border-radius: 20px; background: linear-gradient(160deg, rgba(46,204,113,.16), rgba(255,255,255,.03)); border: 1px solid rgba(46,204,113,.3); display: flex; flex-direction: column; gap: 10px; }
.faq2-card .mono { color: var(--green); font-size: .7rem; }
.faq2-card p:not(.mono) { color: rgba(255,255,255,.8); margin: 0; }
.faq2-btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.faq2-list { border-top: 1px solid var(--line); }
.faq2-item { position: relative; border-bottom: 1px solid var(--line); }
.faq2-item::before { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 100%; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.faq2-item[open]::before { transform: scaleX(1); }
.faq2-item summary { list-style: none; display: grid; grid-template-columns: 44px 1fr 40px; align-items: center; gap: 12px; padding: 26px 0; cursor: pointer; }
.faq2-item summary::-webkit-details-marker { display: none; }
.faq2-item .n { color: var(--green); font-size: .72rem; }
.faq2-item .q { font-family: var(--display); font-size: clamp(1.1rem, 1.7vw, 1.45rem); letter-spacing: -.02em; transition: color .3s; }
.faq2-item summary:hover .q, .faq2-item[open] .q { color: #fff; }
.faq2-item summary i { position: relative; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); transition: background .3s, border-color .3s, transform .45s cubic-bezier(.2,.7,.2,1); }
.faq2-item summary i::before, .faq2-item summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 1.5px; background: currentColor; translate: -50% -50%; }
.faq2-item summary i::after { rotate: 90deg; }
.faq2-item[open] summary i { background: var(--green); border-color: var(--green); color: #06140c; transform: rotate(45deg); }
.faq2-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s cubic-bezier(.2,.7,.2,1); }
.faq2-a > p { overflow: hidden; margin: 0; padding-left: 56px; color: var(--muted); line-height: 1.6; max-width: 40em; }
.faq2-item[open] .faq2-a { grid-template-rows: 1fr; }
.faq2-item[open] .faq2-a > p { padding-bottom: 26px; }
@media (max-width: 900px) { .faq2 { grid-template-columns: 1fr; } .faq2-l { position: static; align-items: center; text-align: center; } .faq2-card { text-align: left; } .faq2-a > p { padding-left: 0; } .faq2-item summary { grid-template-columns: 34px 1fr 36px; } }

/* phones: service cards centred, no Z slot */
@media (max-width: 760px) {
  .home .cap-vis { display: none; }
  .home .cap-copy { align-items: center; text-align: center; }
  .home .cap-tags { justify-content: center; }
  .home .cap-copy .btn { align-self: center; }
}
/* phones: why one team, with a rising green glow */
.why-m { position: relative; overflow: hidden; }
.why-m::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: 0; height: 70%; pointer-events: none; z-index: 0; background: radial-gradient(60% 70% at 50% 100%, rgba(46,204,113,.55), rgba(46,204,113,.15) 45%, transparent 75%); opacity: var(--rise, 0); }
.why-m .wrap { position: relative; z-index: 1; }
.why-m-list li { transition: none; will-change: transform, opacity, filter; }
.q3d-open { top: clamp(0px, 2vh, 30px); left: max(2vw, 10px); }
.q3d-close { bottom: calc(30vh - clamp(60px, 9vw, 150px)); right: max(2vw, 10px); }
@media (max-width: 700px) { .q3d-open { top: 6px; left: 0; } .q3d-close { bottom: calc(30vh - 70px); right: 0; } }
/* v8.1: footer links centred, one quote mark above the paragraph */
.ft-nav { justify-content: center; }
.st-mark { display: block; text-align: center; font-family: var(--display); font-size: clamp(7rem, 12vw, 11rem); line-height: .7; height: .45em; margin: 0 auto clamp(18px, 3vh, 30px); color: var(--green); }
/* WordPress articles */
.wp-post.post { opacity: 1; transform: none; }
.post-art svg path { fill: none; }
.article img { max-width: 100%; height: auto; border-radius: 16px; }
.article figure { margin: 1.4em 0; } .article figcaption { font-size: .85rem; color: var(--muted); margin-top: 8px; }
.article blockquote { border-left: 3px solid var(--accent); padding-left: 18px; font-style: italic; color: var(--muted); }
.article a:not(.btn) { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.article-end-wrap { margin-top: 30px; }
