/* ==========================================================
   Synctris — layout inspired by surge.global
   ========================================================== */
:root {
  --accent: #00cf94;
  --accent-dark: #00a877;
  --ink: #0b0b0c;
  --ink-2: #171717;
  --muted: #747474;
  --line: #e8e8e8;
  --soft: #f5f5f4;
  --bg: #ffffff;
  --radius: 20px;
  --radius-sm: 12px;
  --container: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font-head: "Inter Tight", Helvetica, Arial, sans-serif;
  --font-body: "Inter", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); font-weight: 600; margin: 0; line-height: 1.12; letter-spacing: -0.02em; }
p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Buttons (Surge-style text roll) ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 48px; padding: 0 22px;
  border-radius: 10px; border: 1px solid transparent;
  font-family: var(--font-head); font-size: 16px; font-weight: 500;
  white-space: nowrap;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn-roll { position: relative; display: inline-block; overflow: hidden; height: 1.3em; line-height: 1.3em; }
.btn-roll > span { display: block; transition: transform .45s var(--ease); }
.btn:hover .btn-roll > span, a:hover > .btn .btn-roll > span { transform: translateY(-100%); }
.btn-primary { background: var(--accent); color: #04130d; }
.btn-primary:hover, a:hover > .btn-primary { background: var(--ink); color: #fff; }
.btn-glass { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.3); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-glass:hover { background: #fff; color: var(--ink); }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.35); }
a:hover > .btn-outline-light { background: #fff; color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: 18px 0;
  transition: transform .5s var(--ease), background .4s, box-shadow .4s, padding .4s;
}
.site-header.is-scrolled { background: rgba(255,255,255,.85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); padding: 12px 0; }
.site-header.is-hidden { transform: translateY(-100%); }
.header-row { display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 30px; height: 30px; transition: transform .8s var(--ease); }
.brand:hover .brand-mark { transform: rotate(120deg); }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 20px; color: var(--ink); letter-spacing: -0.02em; }
.brand--light .brand-mark { filter: invert(1); }
.brand--light .brand-name { color: #fff; }
.main-nav { display: flex; gap: 32px; margin-left: auto; }
.main-nav a { position: relative; color: var(--ink); font-family: var(--font-head); font-weight: 500; font-size: 15px; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1.5px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.main-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header-cta { height: 42px; padding: 0 18px; font-size: 15px; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: var(--soft); border-radius: 10px; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
.menu-open .burger span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 21px; transform: rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 40; background: #fff;
  padding: 110px var(--gutter) 40px; display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0); transition: clip-path .6s var(--ease);
}
.menu-open .mobile-menu { clip-path: inset(0 0 0 0); }
.menu-open { overflow: hidden; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { font-family: var(--font-head); font-size: 34px; font-weight: 600; color: var(--ink); padding: 10px 0; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { justify-content: center; }

/* ---------- Hero ---------- */
.hero { padding-top: 92px; }
.hero-media {
  position: relative; overflow: hidden; border-radius: var(--radius);
  height: min(82vh, 760px); min-height: 520px; background: #06026e;
}
.hero-img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; animation: kenburns 22s ease-in-out infinite alternate; will-change: transform; }
@keyframes kenburns { from { scale: 1.02; } to { scale: 1.12; } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 30%, rgba(0,0,0,.7) 100%); }
.hero-content { position: absolute; inset: auto 0 0 0; padding: clamp(24px, 4vw, 56px); color: #fff; }
.hero-title { color: #fff; font-size: clamp(44px, 7.2vw, 104px); line-height: 1.02; letter-spacing: -0.035em; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.hero-title .line:nth-child(2) > span { transition-delay: .12s; }
.is-loaded .hero-title .line > span { transform: none; }
.rotator { position: relative; display: inline-grid; vertical-align: bottom; overflow: hidden; color: var(--accent); }
.rot-word { grid-area: 1 / 1; transform: translateY(110%); opacity: 0; transition: transform .8s var(--ease), opacity .8s var(--ease); }
.rot-word.is-active { transform: none; opacity: 1; }
.rot-word.is-leaving { transform: translateY(-110%); opacity: 0; }
.hero-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-top: 28px; }
.hero-sub { max-width: 520px; font-size: clamp(16px, 1.4vw, 19px); color: rgba(255,255,255,.85); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Scroll-scrubbed statement ---------- */
.statement { padding: clamp(80px, 12vw, 160px) 0; }
.scrub-text { font-size: clamp(30px, 4.6vw, 64px); line-height: 1.14; letter-spacing: -0.03em; max-width: 1150px; }
.scrub-text--sm { font-size: clamp(30px, 4.2vw, 56px); max-width: 900px; margin-bottom: 56px; }
.scrub-text .w { color: #d4d4d4; transition: color .25s linear; }
.scrub-text .w.on { color: var(--ink); }

/* ---------- Capability cards ---------- */
.capabilities { padding-bottom: clamp(80px, 10vw, 140px); }
.cap-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.cap-card { position: relative; overflow: hidden; border-radius: var(--radius); min-height: 560px; display: flex; align-items: flex-end; color: #fff; isolation: isolate; scroll-margin-top: 100px; }
.cap-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.cap-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.2) 0%, rgba(0,0,0,.5) 40%, rgba(0,0,0,.92) 100%); transition: background .6s var(--ease); }
.cap-card:hover .cap-bg { transform: scale(1.07); }
.cap-card:hover .cap-shade { background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.6) 45%, rgba(0,0,0,.92) 100%); }
.cap-inner { padding: clamp(24px, 3.4vw, 44px); max-width: 640px; }
.cap-eyebrow { display: inline-block; font-family: var(--font-head); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.cap-card h3 { color: #fff; font-size: clamp(28px, 3vw, 44px); margin-bottom: 14px; }
.cap-card p { color: rgba(255,255,255,.78); max-width: 520px; }
.cap-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.cap-list li { font-size: 14px; padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.08); backdrop-filter: blur(6px); transform: translateY(12px); opacity: 0; transition: transform .6s var(--ease), opacity .6s var(--ease); }
.cap-card:hover .cap-list li, .cap-card:focus-visible .cap-list li { transform: none; opacity: 1; }
.cap-card:hover .cap-list li:nth-child(2) { transition-delay: .05s; }
.cap-card:hover .cap-list li:nth-child(3) { transition-delay: .1s; }
.cap-card:hover .cap-list li:nth-child(4) { transition-delay: .15s; }
.cap-arrow { position: absolute; top: 24px; right: 24px; width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.15); backdrop-filter: blur(8px); display: grid; place-items: center; transition: background .4s, transform .6s var(--ease); }
.cap-arrow svg { width: 22px; height: 22px; stroke: #fff; stroke-width: 2; fill: none; transition: stroke .4s; }
.cap-card:hover .cap-arrow { background: var(--accent); transform: rotate(45deg); }
.cap-card:hover .cap-arrow svg { stroke: #04130d; }

/* ---------- Section heads ---------- */
.section-title { font-size: clamp(40px, 5vw, 64px); letter-spacing: -0.03em; margin-bottom: 18px; }
.section-lead { font-size: clamp(16px, 1.4vw, 19px); max-width: 560px; }

/* ---------- Why us slider ---------- */
.why { padding: clamp(80px, 10vw, 120px) 0; background: var(--soft); border-radius: 32px; margin: 0 clamp(0px, 1vw, 12px); }
.why-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; }
.slider-nav { display: flex; gap: 10px; }
.nav-btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid #d6d6d6; background: #fff; display: grid; place-items: center; transition: background .3s, border-color .3s; }
.nav-btn svg { width: 20px; height: 20px; stroke: var(--ink); stroke-width: 2; fill: none; }
.nav-btn:hover { background: var(--ink); border-color: var(--ink); }
.nav-btn:hover svg { stroke: #fff; }
.slider { overflow: hidden; cursor: grab; padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); }
.slider.is-dragging { cursor: grabbing; }
.slider-track { display: flex; gap: 20px; will-change: transform; padding-right: var(--gutter); }
.why-card { flex: 0 0 clamp(290px, 30vw, 400px); background: #fff; border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; user-select: none; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.why-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -24px rgba(0,0,0,.18); }
.why-num { font-family: var(--font-head); font-size: 14px; font-weight: 600; color: var(--accent-dark); }
.why-visual { height: 220px; border-radius: var(--radius-sm); background: var(--soft); margin: 18px 0 24px; overflow: hidden; position: relative; }
.why-card h3 { font-size: 24px; margin-bottom: 10px; }
.why-card p { font-size: 15px; }
.why-visual--img { display: flex; justify-content: center; gap: 12px; padding-top: 24px; }
.why-visual--img img { width: 38%; height: auto; border-radius: 14px; box-shadow: 0 10px 30px -10px rgba(0,0,0,.25); pointer-events: none; transition: transform .8s var(--ease); }
.why-visual--img img:last-child { margin-top: 30px; }
.why-card:hover .why-visual--img img:first-child { transform: translateY(-10px); }
.why-card:hover .why-visual--img img:last-child { transform: translateY(-24px); }
.why-visual--social { display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 8px; padding: 16px; }
.bubble { background: #fff; border-radius: 999px; padding: 6px 14px 6px 6px; display: flex; align-items: center; gap: 8px; font-size: 12px; line-height: 1.2; box-shadow: 0 4px 14px -6px rgba(0,0,0,.15); animation: float 5s ease-in-out infinite; }
.bubble::before { content: ""; width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), #6a5cff); flex: none; }
.bubble b { color: var(--ink); font-weight: 600; display: block; }
.bubble small { color: var(--muted); }
.bubble:nth-child(2n) { animation-delay: -1.5s; } .bubble:nth-child(3n) { animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-6px); } }
.why-visual--chart svg { position: absolute; inset: 30px 0 0; width: 100%; height: calc(100% - 30px); }
.chart-line { stroke-dasharray: 420; stroke-dashoffset: 420; transition: stroke-dashoffset 2s var(--ease); }
.chart-area { opacity: 0; transition: opacity 1.4s .6s; }
.in-view .chart-line { stroke-dashoffset: 0; } .in-view .chart-area { opacity: 1; }
.why-visual--toggle { display: grid; place-items: center; }
.pill-row { display: flex; gap: 6px; background: #fff; padding: 6px; border-radius: 999px; box-shadow: 0 6px 20px -10px rgba(0,0,0,.2); }
.pill { padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--muted); transition: background .4s var(--ease), color .4s; }
.pill.is-on { background: var(--ink); color: #fff; }
.why-card--dark { background: var(--ink-2); justify-content: center; }
.say-no { color: rgba(255,255,255,.6); font-size: 18px; font-weight: 500; margin-bottom: 18px; }
.nope-list li { font-family: var(--font-head); font-size: clamp(28px, 2.6vw, 38px); font-weight: 600; color: #fff; line-height: 1.3; }
.nope-list span { position: relative; }
.nope-list span::after { content: ""; position: absolute; left: -2%; top: 55%; height: 3px; width: 104%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.in-view .nope-list span::after { transform: scaleX(1); }
.in-view .nope-list li:nth-child(2) span::after { transition-delay: .2s; }
.in-view .nope-list li:nth-child(3) span::after { transition-delay: .4s; }
.in-view .nope-list li:nth-child(4) span::after { transition-delay: .6s; }

/* ---------- Services list ---------- */
.services { padding: clamp(80px, 10vw, 140px) 0; }
.services-head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; margin-bottom: 48px; }
.services-head .section-title { margin: 0; }
.service-list { border-top: 1px solid var(--line); }
.service-row { position: relative; display: grid; grid-template-columns: 70px 1.1fr 1.4fr 40px; align-items: center; gap: 20px; padding: 26px 8px; border-bottom: 1px solid var(--line); overflow: hidden; cursor: default; }
.service-row::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease); z-index: -1; }
.service-row { isolation: isolate; }
.service-row:hover::before { transform: scaleY(1); }
.s-idx { font-family: var(--font-head); font-size: 14px; color: var(--muted); transition: color .4s; }
.service-row h4 { font-size: clamp(22px, 2.2vw, 30px); transition: color .4s, transform .55s var(--ease); }
.service-row p { transition: color .4s; }
.s-arrow { font-size: 22px; color: var(--ink); transform: translateX(-10px); opacity: 0; transition: transform .5s var(--ease), opacity .5s, color .4s; }
.service-row:hover h4 { color: #fff; transform: translateX(8px); }
.service-row:hover p { color: rgba(255,255,255,.7); }
.service-row:hover .s-idx { color: var(--accent); }
.service-row:hover .s-arrow { color: var(--accent); opacity: 1; transform: none; }

/* ---------- Work + quote ---------- */
.work { padding-bottom: clamp(80px, 10vw, 140px); }
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.work-item { margin: 0; }
.work-item:nth-child(even) { margin-top: 80px; }
.work-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; background: #000; }
.work-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.work-item:hover .work-img img { transform: scale(1.06); }
.work-item figcaption { margin-top: 14px; font-family: var(--font-head); font-weight: 500; font-size: 18px; color: var(--ink); }
.quote { margin: 100px auto 0; max-width: 900px; text-align: center; }
.quote p { font-family: var(--font-head); font-size: clamp(22px, 2.6vw, 34px); line-height: 1.35; color: var(--ink); letter-spacing: -0.015em; font-weight: 500; }
.quote footer { display: inline-flex; align-items: center; gap: 14px; margin-top: 28px; text-align: left; font-size: 15px; line-height: 1.4; }
.quote b { color: var(--ink); }
.avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: #04130d; display: grid; place-items: center; font-weight: 600; font-family: var(--font-head); }

/* ---------- Stats ---------- */
.stats { padding: 0 0 clamp(60px, 8vw, 100px); }
.stats-row { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; border-top: 1px solid var(--line); padding-top: 64px; }
.stats-title { font-size: clamp(30px, 3.2vw, 44px); max-width: 300px; }
.stat { border-left: 1px solid var(--line); padding-left: 24px; }
.stat-num { display: block; font-family: var(--font-head); font-size: clamp(52px, 5.4vw, 76px); font-weight: 300; color: var(--ink); line-height: 1; letter-spacing: -0.04em; margin-bottom: 14px; }
.stat p { font-size: 15px; max-width: 200px; }

/* ---------- CTA ---------- */
.cta { padding-bottom: clamp(60px, 8vw, 100px); }
.cta-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 20px; }
.cta-card { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 420px; padding: clamp(28px, 3.4vw, 48px); display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; color: #fff; isolation: isolate; }
.cta-card h3 { color: #fff; font-size: clamp(28px, 3vw, 44px); }
.cta-card--dark { background: var(--ink-2); }
.cta-card--dark h3 { font-size: clamp(24px, 2.2vw, 32px); margin: 24px 0; }
.chip { font-size: 13px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.1); color: rgba(255,255,255,.8); }
.cta-card--media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.cta-card--media:hover img { transform: scale(1.06); }
.cta-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0,0,0,.7), rgba(0,0,0,.1)); }
.cta-inner { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; height: 100%; gap: 28px; }
.cta-inner h3 { font-size: clamp(34px, 4.4vw, 64px); letter-spacing: -0.03em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.6); padding: clamp(60px, 8vw, 100px) 0 28px; border-radius: 32px 32px 0 0; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.1fr 1.4fr; gap: 48px; }
.footer-brand h3 { color: #fff; font-size: clamp(30px, 3.4vw, 48px); margin: 36px 0 16px; max-width: 480px; }
.footer-brand p { max-width: 420px; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.f-label { color: #fff; font-family: var(--font-head); font-weight: 600; margin-bottom: 16px; }
.footer-cols a { display: block; padding: 5px 0; transition: color .3s, transform .4s var(--ease); }
.footer-cols a:hover { color: var(--accent); transform: translateX(4px); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 14px; border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; }
.footer-bottom a { margin-left: 20px; } .footer-bottom a:hover { color: #fff; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in-view { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .main-nav, .header-cta { display: none; }
  .burger { display: block; }
  .stats-row { grid-template-columns: repeat(3, 1fr); }
  .stats-title { grid-column: 1 / -1; max-width: none; }
  .footer-top { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .hero { padding-top: 80px; }
  .hero-media { height: 78vh; min-height: 520px; border-radius: 16px; }
  .hero-bottom { flex-direction: column; align-items: flex-start; gap: 20px; }
  .hero-actions .btn { height: 44px; padding: 0 16px; font-size: 15px; }
  .cap-grid, .work-grid, .cta-grid { grid-template-columns: 1fr; }
  .cap-card { min-height: 480px; }
  .cap-list li { opacity: 1; transform: none; }
  .work-item:nth-child(even) { margin-top: 0; }
  .why-head { flex-direction: column; align-items: flex-start; }
  .services-head { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 40px 1fr; row-gap: 6px; padding: 20px 4px; }
  .service-row p { grid-column: 2; }
  .s-arrow { display: none; }
  .stats-row { grid-template-columns: 1fr; gap: 28px; padding-top: 48px; }
  .stat { border-left: 0; border-top: 1px solid var(--line); padding: 24px 0 0; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom a { margin: 0 20px 0 0; }
  .cta-card { min-height: 340px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .hero-title .line > span { opacity: 1; transform: none; }
}

/* ==========================================================
   v2 — logos, nav dropdown, subpages
   ========================================================== */

/* ---------- Logos (two-row marquee of client cards) ---------- */
.logos { padding: 72px 0 32px; }
.logos-label { text-align: center; font-size: 15px; margin-bottom: 32px; }
.logos-label strong { color: var(--ink); font-weight: 600; }
.marquee { overflow: hidden; padding: 6px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee + .marquee { margin-top: 10px; }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 60s linear infinite; }
.marquee--reverse .marquee-track { animation-direction: reverse; animation-duration: 70s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 7px)); } }
.logo-chip { display: flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border: 1px solid var(--line); border-radius: 16px; background: #fff; white-space: nowrap; transition: border-color .4s, box-shadow .4s, transform .4s var(--ease); }
.logo-chip img { width: 60px; height: 52px; border-radius: 11px; object-fit: cover; background: var(--soft); filter: grayscale(1); opacity: .85; transition: filter .4s, opacity .4s; }
.logo-chip span { font-family: var(--font-head); font-weight: 500; font-size: 15px; color: var(--ink); }
.logo-chip:hover { border-color: #d0d0d0; box-shadow: 0 10px 24px -14px rgba(0,0,0,.25); transform: translateY(-2px); }
.logo-chip:hover img { filter: none; opacity: 1; }

/* ---------- Nav dropdown ---------- */
.main-nav { align-items: center; }
.nav-link { position: relative; background: none; border: 0; padding: 0; color: var(--ink); font-family: var(--font-head); font-weight: 500; font-size: 15px; display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }
.nav-link svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2; fill: none; transition: transform .4s var(--ease); }
.main-nav a.nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1.5px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.main-nav a.nav-link:hover::after, .main-nav a.nav-link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-item { position: relative; }
.drop { position: absolute; top: calc(100% + 18px); left: 50%; width: 640px; transform: translate(-50%, 10px); opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), transform .45s var(--ease), visibility .35s; }
.drop::before { content: ""; position: absolute; inset: -20px 0 auto; height: 20px; }
.has-drop:hover .drop, .has-drop.is-open .drop, .has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-drop:hover .nav-link svg, .has-drop.is-open .nav-link svg { transform: rotate(180deg); }
.drop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.25); }
.drop-card { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 12px; transition: background .3s; }
.drop-card:hover, .drop-card[aria-current="page"] { background: var(--soft); }
.drop-card img { width: 64px; height: 48px; border-radius: 8px; object-fit: cover; flex: none; }
.drop-card b { display: block; color: var(--ink); font-family: var(--font-head); font-weight: 600; font-size: 15px; }
.drop-card small { color: var(--muted); font-size: 13px; line-height: 1.35; display: block; }
.drop-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
.mm-label { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 18px 0 4px; }
.mobile-menu { overflow-y: auto; }
.mobile-menu nav a { font-size: 26px; padding: 8px 0; }

/* ---------- Footer wordmark ---------- */

/* ---------- CTA mark ---------- */
.cta-card--dark { isolation: isolate; }
.cta-mark { position: absolute; right: -40px; bottom: -40px; width: 280px; height: 280px; mix-blend-mode: screen; opacity: .55; z-index: -1; transition: transform 1.2s var(--ease); }
.cta-card--dark:hover .cta-mark { transform: rotate(60deg) scale(1.05); }

/* ---------- Home: content marketing banner ---------- */
.cm-banner-wrap { padding-bottom: clamp(80px, 10vw, 140px); margin-top: calc(-1 * clamp(40px, 5vw, 90px)); }
.cm-banner { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; background: var(--ink); color: rgba(255,255,255,.72); border-radius: var(--radius); padding: clamp(28px, 4vw, 56px); overflow: hidden; position: relative; }
.cm-banner::before { content: ""; position: absolute; width: 520px; height: 520px; right: -120px; top: -160px; background: radial-gradient(circle, rgba(0,207,148,.35), transparent 65%); pointer-events: none; }
.cm-banner h3 { color: #fff; font-size: clamp(30px, 3.4vw, 50px); margin-bottom: 14px; }
.cm-banner p { max-width: 440px; margin-bottom: 28px; }
.cm-banner-media { position: relative; height: 340px; }
.cm-banner-media img { position: absolute; border-radius: 16px; object-fit: cover; box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); transition: transform 1s var(--ease); }
.cm-banner-media img:nth-child(1) { width: 52%; height: 60%; left: 0; top: 8%; }
.cm-banner-media img:nth-child(3) { width: 52%; height: 60%; right: 0; bottom: 4%; }
.cm-banner-media .cm-phone { width: auto; height: 100%; left: 50%; top: 0; transform: translateX(-50%); z-index: 2; border-radius: 22px; object-fit: contain; }
.cm-banner:hover .cm-banner-media img:nth-child(1) { transform: translate(-10px, -8px) rotate(-3deg); }
.cm-banner:hover .cm-banner-media img:nth-child(3) { transform: translate(10px, 8px) rotate(3deg); }
.cm-banner:hover .cm-phone { transform: translateX(-50%) translateY(-6px); }

/* ---------- Subpage hero ---------- */
.page-hero { padding: 150px 0 0; }
.page-hero--compact { padding-bottom: clamp(60px, 8vw, 110px); }
.crumbs { font-size: 14px; margin-bottom: 26px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.crumbs a:hover { color: var(--ink); }
.crumbs span { opacity: .5; }
.crumbs--light { color: rgba(255,255,255,.6); }
.crumbs--light a:hover { color: #fff; }
.page-title { font-size: clamp(40px, 6.4vw, 92px); line-height: 1.02; letter-spacing: -0.035em; max-width: 1150px; }
.page-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.page-title .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.page-title .line:nth-child(2) > span { transition-delay: .08s; }
.page-title .line:nth-child(3) > span { transition-delay: .16s; }
.is-loaded .page-title .line > span { transform: none; }
.page-title--light { color: #fff; }
.muted-word { color: #c4c4c4; }
.page-hero-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin: 36px 0 56px; }
.page-lead { font-size: clamp(17px, 1.5vw, 20px); max-width: 620px; }
.page-lead--light { color: rgba(255,255,255,.72); margin: 24px 0 32px; }
.page-hero-media { position: relative; border-radius: var(--radius); overflow: hidden; height: min(70vh, 640px); min-height: 360px; background: #000; }
.page-hero-media img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; will-change: transform; }
.page-hero-media .hero-mark { inset: auto; width: 140px; height: 140px; right: 40px; bottom: 40px; filter: invert(1); opacity: .9; animation: spin 24s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Split intro ---------- */
.split { padding-bottom: clamp(80px, 10vw, 130px); }
.split-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; border-top: 1px solid var(--line); padding-top: 40px; }
.split-label { font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 15px; text-transform: uppercase; letter-spacing: .08em; }
.split-body p { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.6; color: #4d4d4d; }
.split-body p + p { margin-top: 20px; }

/* ---------- Service cards ---------- */
.svc { padding-bottom: clamp(80px, 10vw, 130px); }
.svc .section-title { margin-bottom: 40px; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-card { position: relative; background: var(--soft); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; transition: background .5s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease); overflow: hidden; }
.svc-card:hover { background: #fff; transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.25), 0 0 0 1px var(--line); }
.svc-media { margin: -28px -28px 24px; aspect-ratio: 16 / 9; overflow: hidden; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.svc-card:hover .svc-media img { transform: scale(1.06); }
.svc-icon { width: 52px; height: 52px; border-radius: 14px; background: #fff; display: grid; place-items: center; margin-bottom: 40px; transition: background .4s, transform .6s var(--ease); flex: none; }
.svc-icon svg { width: 24px; height: 24px; stroke: var(--ink); stroke-width: 1.7; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.svc-card:hover .svc-icon { background: var(--accent); transform: rotate(-8deg); }
.svc-num { font-family: var(--font-head); font-size: 13px; font-weight: 600; color: var(--accent-dark); margin-bottom: 10px; }
.svc-card h3 { font-size: 22px; margin-bottom: 10px; }
.svc-card p { font-size: 15px; }
.svc-grid--3 .svc-card { min-height: 320px; }
.service-list--more { margin-top: 56px; }
.service-row .row-link { position: absolute; inset: 0; z-index: 2; }
.wide-media { margin-top: 20px; border-radius: var(--radius); overflow: hidden; }
.wide-media img { width: 100%; }

/* ---------- Feature block (strategy) ---------- */
.feature { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; background: var(--soft); border-radius: var(--radius); overflow: hidden; }
.feature-media { min-height: 420px; overflow: hidden; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.feature:hover .feature-media img { transform: scale(1.05); }
.feature-body { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.feature-body h2 { font-size: clamp(32px, 3.6vw, 52px); margin-bottom: 16px; }
.feature-body p { font-size: 18px; }
.cap-list--dark li { opacity: 1; transform: none; border-color: #d8d8d8; background: #fff; color: var(--ink); backdrop-filter: none; }

/* ---------- Case studies slider ---------- */
.cases { padding: clamp(80px, 10vw, 120px) 0; background: var(--soft); border-radius: 32px; margin: 0 clamp(0px, 1vw, 12px) clamp(80px, 10vw, 120px); }
.case-card { flex: 0 0 clamp(260px, 24vw, 340px); position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1024 / 1600; user-select: none; }
.case-card img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; transition: transform 1s var(--ease); }
.case-card:hover img { transform: scale(1.05); }
.case-meta { position: absolute; inset: auto 0 0; padding: 60px 22px 20px; background: linear-gradient(transparent, rgba(0,0,0,.75)); color: rgba(255,255,255,.8); }
.case-meta h3 { color: #fff; font-size: 22px; }
.case-meta p { font-size: 14px; }

/* ---------- More services ---------- */
.more { padding-bottom: clamp(60px, 8vw, 100px); }
.more .split-label { margin-bottom: 20px; }
.more-list { border-top: 1px solid var(--line); }
.more-link { display: flex; align-items: center; justify-content: space-between; padding: 22px 4px; border-bottom: 1px solid var(--line); font-family: var(--font-head); font-weight: 600; font-size: clamp(28px, 4vw, 56px); letter-spacing: -0.03em; color: #cfcfcf; transition: color .4s, padding .5s var(--ease); }
.more-link svg { width: clamp(28px, 3vw, 44px); height: clamp(28px, 3vw, 44px); stroke: currentColor; stroke-width: 1.6; fill: none; transition: transform .5s var(--ease); }
.more-link:hover { color: var(--ink); padding-left: 16px; }
.more-link:hover svg { transform: rotate(45deg); color: var(--accent); }

/* ---------- Content marketing page ---------- */
body[data-page="content-marketing"] .site-header:not(.is-scrolled) .brand-name,
body[data-page="content-marketing"] .site-header:not(.is-scrolled) .nav-link { color: #fff; }
body[data-page="content-marketing"] .site-header:not(.is-scrolled) .brand-mark { filter: invert(1); }
body[data-page="content-marketing"] .site-header:not(.is-scrolled) .burger { background: rgba(255,255,255,.12); }
body[data-page="content-marketing"] .site-header:not(.is-scrolled) .burger span { background: #fff; }
.cm-hero { background: #050507; padding: 140px 0 0; border-radius: 0 0 32px 32px; overflow: hidden; position: relative; }
.cm-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 50% at 75% 40%, rgba(120,60,255,.25), transparent 60%), radial-gradient(ellipse 40% 40% at 20% 90%, rgba(0,207,148,.18), transparent 60%); pointer-events: none; }
.cm-hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; position: relative; }
.grad-text { background: linear-gradient(90deg, #ff2d87, #ff8a3d 35%, #f5e44a 55%, #3ff0c2 75%, #4b6bff); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; animation: gradShift 8s ease-in-out infinite alternate; }
@keyframes gradShift { to { background-position: 100% 0; } }
.cm-hero-visual { position: relative; height: 560px; display: grid; place-items: center; }
.cm-glow { position: absolute; width: 380px; height: 380px; border-radius: 50%; background: conic-gradient(from 0deg, #ff2d87, #ff8a3d, #f5e44a, #3ff0c2, #4b6bff, #ff2d87); filter: blur(70px); opacity: .45; animation: spin 16s linear infinite; }
.cm-hero-phone { position: relative; height: 500px; max-width: 80%; object-fit: contain; width: auto; border-radius: 34px; box-shadow: 0 40px 80px -20px rgba(0,0,0,.8); }
.float-chip { position: absolute; padding: 10px 16px; border-radius: 14px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: rgba(255,255,255,.8); font-size: 14px; white-space: nowrap; animation: float 6s ease-in-out infinite; }
.float-chip b { color: #fff; font-family: var(--font-head); font-size: 18px; margin-right: 4px; }
.fc-1 { left: -10px; top: 18%; } .fc-2 { right: -10px; top: 45%; animation-delay: -2s; } .fc-3 { left: 6%; bottom: 12%; animation-delay: -4s; }
.ticker { margin-top: 72px; border-top: 1px solid rgba(255,255,255,.1); overflow: hidden; padding: 26px 0; position: relative; }
.ticker-track { display: flex; gap: 64px; width: max-content; animation: marquee 30s linear infinite; }
.ticker span { color: rgba(255,255,255,.55); font-size: 18px; white-space: nowrap; }
.ticker b { color: #fff; font-family: var(--font-head); font-size: 28px; font-weight: 600; margin-right: 8px; }

.steps { padding: clamp(80px, 10vw, 140px) 0; }
.steps-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: start; }
.steps-head { position: sticky; top: 120px; }
.step-list { list-style: none; margin: 0; padding: 0; position: relative; }
.step-list::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--line); }
.step-list::after { content: ""; position: absolute; left: 0; top: 0; width: 2px; height: var(--progress, 0%); background: var(--accent); transition: height .2s linear; }
.step { padding: 0 0 56px 40px; position: relative; }
.step::before { content: ""; position: absolute; left: -6px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid var(--line); transition: border-color .4s, background .4s; z-index: 1; }
.step.is-active::before { border-color: var(--accent); background: var(--accent); }
.step-tag { display: inline-block; font-size: 13px; padding: 4px 12px; border-radius: 999px; background: var(--soft); margin-bottom: 14px; }
.step-num { display: block; font-family: var(--font-head); font-weight: 300; font-size: 56px; line-height: 1; color: #d9d9d9; margin-bottom: 8px; transition: color .4s; }
.step.is-active .step-num { color: var(--ink); }
.step h3 { font-size: clamp(24px, 2.4vw, 34px); margin-bottom: 8px; }
.step p { font-size: 17px; }
.step-metrics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.step-metrics span { font-size: 14px; padding: 8px 14px; border-radius: 10px; background: var(--ink); color: #fff; }

.gain { padding-bottom: clamp(80px, 10vw, 140px); }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto; gap: 20px; }
.bento-card { background: var(--soft); border-radius: var(--radius); padding: 28px; min-height: 220px; display: flex; flex-direction: column; justify-content: flex-end; transition: transform .5s var(--ease), background .5s; }
.bento-card:hover { transform: translateY(-6px); background: #eeeeec; }
.bento-card h3 { font-size: 24px; margin-bottom: 8px; }
.bento-card--hero { grid-row: span 2; background: #050507; color: rgba(255,255,255,.7); justify-content: space-between; position: relative; overflow: hidden; }
.bento-card--hero:hover { background: #050507; }
.bento-card--hero::after { content: ""; position: absolute; width: 300px; height: 300px; right: -100px; bottom: -100px; border-radius: 50%; background: conic-gradient(#ff2d87, #f5e44a, #3ff0c2, #4b6bff, #ff2d87); filter: blur(60px); opacity: .4; }
.bento-card--hero h3 { color: #fff; font-size: 32px; margin-top: auto; }
.bento-stat { position: relative; z-index: 1; margin-top: 28px; }
.bento-stat b { display: block; font-family: var(--font-head); font-size: 72px; font-weight: 300; color: #fff; line-height: 1; letter-spacing: -0.04em; }
.chip--accent { align-self: flex-start; background: var(--accent); color: #04130d; font-weight: 600; }

.results { padding-bottom: clamp(80px, 10vw, 140px); }
.results .cap-eyebrow { color: var(--accent-dark); }
.result-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.result-card { border-radius: var(--radius); overflow: hidden; background: var(--soft); transition: transform .5s var(--ease), box-shadow .5s; }
.result-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.3); }
.result-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1s var(--ease); }
.result-card:hover img { transform: scale(1.05); }
.result-body { padding: 20px; }
.result-num { display: block; font-family: var(--font-head); font-size: 30px; color: var(--ink); letter-spacing: -0.02em; }
.result-tag { display: inline-block; margin: 8px 0 10px; font-size: 13px; padding: 4px 10px; border-radius: 999px; background: rgba(0,207,148,.15); color: var(--accent-dark); font-weight: 600; }
.result-body p { font-size: 14px; margin-bottom: 10px; }
.result-body small { color: var(--ink); font-weight: 600; }

/* ---------- About ---------- */
.about-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 56px 0; }
.pillar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pillar { position: relative; background: var(--soft); border-radius: var(--radius); padding: 28px; min-height: 260px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate; transition: color .4s; }
.pillar::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: translateY(101%); transition: transform .6s var(--ease); z-index: -1; }
.pillar:hover::before { transform: none; }
.pillar h3 { font-size: 28px; margin-bottom: 6px; transition: color .4s; }
.pillar:hover h3 { color: #fff; }
.pillar:hover p { color: rgba(255,255,255,.7); }
.pillar-arrow { position: absolute; top: 24px; right: 24px; font-size: 24px; color: var(--ink); transition: color .4s, transform .5s var(--ease); }
.pillar:hover .pillar-arrow { color: var(--accent); transform: rotate(-45deg); }
.pillar .svc-num { position: absolute; top: 28px; left: 28px; }
.approach { padding-bottom: clamp(80px, 10vw, 130px); }
.approach-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.task-board { background: var(--soft); border-radius: var(--radius); padding: 28px; display: grid; gap: 14px; }
.task { background: #fff; border-radius: 14px; padding: 18px 20px; box-shadow: 0 8px 24px -16px rgba(0,0,0,.2); transition: transform .5s var(--ease); }
.task:nth-child(2) { margin-left: 32px; } .task:nth-child(3) { margin-left: 64px; }
.task-board:hover .task { transform: translateX(-8px); }
.task-tag { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: rgba(0,207,148,.15); color: var(--accent-dark); }
.task-tag--b { background: rgba(106,92,255,.12); color: #5a4bf0; } .task-tag--c { background: rgba(255,138,61,.15); color: #d86a1e; }
.task p { color: var(--ink); font-weight: 500; margin: 10px 0 12px; }
.task-foot { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.task-bar { flex: 1; height: 6px; border-radius: 99px; background: var(--soft); overflow: hidden; }
.task-bar i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: inherit; transition: width 1.4s var(--ease) .3s; }
.in-view .task-bar i { width: var(--w); }
.industries { padding-bottom: clamp(80px, 10vw, 130px); }
.industry-list { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.industry-list li { font-family: var(--font-head); font-size: clamp(22px, 2.6vw, 36px); font-weight: 500; color: var(--ink); padding: 14px 28px; border: 1px solid var(--line); border-radius: 999px; transition: background .4s, color .4s, border-color .4s; }
.industry-list li:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.clients { padding-bottom: clamp(80px, 10vw, 130px); }
.client-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-top: 40px; }
.client-grid .logo-chip { white-space: normal; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.contact-grid .page-title { font-size: clamp(40px, 5.2vw, 76px); }
.contact-grid .page-lead { margin: 28px 0 32px; }
.contact-cards { display: grid; gap: 10px; }
.contact-card { display: flex; align-items: center; gap: 16px; padding: 12px; border: 1px solid var(--line); border-radius: 16px; transition: border-color .3s, transform .4s var(--ease); }
.contact-card .svc-icon { margin: 0; background: var(--soft); width: 48px; height: 48px; }
.contact-card b { display: block; color: var(--ink); font-family: var(--font-head); }
.contact-card small { color: var(--muted); }
.contact-card:hover { border-color: var(--ink); transform: translateX(6px); }
.contact-card:hover .svc-icon { background: var(--accent); }
.contact-form { background: var(--soft); border-radius: var(--radius); padding: clamp(24px, 3.4vw, 44px); display: grid; gap: 16px; }
.contact-form h2 { font-size: clamp(28px, 2.8vw, 40px); margin-bottom: 8px; }
.contact-form h2 span { color: #b5b5b5; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field span { font-size: 14px; color: var(--ink); font-weight: 500; }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; transition: border-color .3s, box-shadow .3s; width: 100%; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(0,207,148,.18); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #e5484d; }
.btn-block { width: 100%; justify-content: center; height: 54px; }
.form-note { font-size: 14px; min-height: 1.4em; }
.form-note.ok { color: var(--accent-dark); } .form-note.err { color: #e5484d; }

/* ---------- v2 responsive ---------- */
@media (max-width: 1024px) {
  .svc-grid, .result-grid, .pillar-grid { grid-template-columns: repeat(2, 1fr); }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .cm-hero-grid, .steps-grid, .approach-grid, .contact-grid, .cm-banner { grid-template-columns: 1fr; }
  .steps-head { position: static; }
  .cm-hero-visual { height: 480px; }
}
@media (max-width: 760px) {
  .page-hero { padding-top: 110px; }
  .page-hero-row { flex-direction: column; align-items: flex-start; margin: 24px 0 36px; }
  .page-hero-media { height: 56vh; min-height: 300px; }
  .page-hero-media .hero-mark { width: 80px; height: 80px; right: 20px; bottom: 20px; }
  .split-grid { grid-template-columns: 1fr; gap: 16px; }
  .svc-grid, .pillar-grid, .bento, .field-row { grid-template-columns: 1fr; }
  .result-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .result-body { padding: 14px; }
  .result-num { font-size: 20px; }
  .result-body p { display: none; }
  .bento-card--hero { grid-row: auto; min-height: 360px; }
  .feature { grid-template-columns: 1fr; }
  .feature-media { min-height: 260px; }
  .cm-hero { padding-top: 110px; }
  .cm-hero-visual { height: 420px; }
  .cm-hero-phone { height: 380px; }
  .float-chip { font-size: 12px; } .float-chip b { font-size: 15px; }
  .fc-1 { left: 0; } .fc-2 { right: 0; }
  .cm-banner-media { height: 260px; }
  .task:nth-child(2), .task:nth-child(3) { margin-left: 0; }
  .logo-chip img { width: 40px; height: 40px; }
  .client-grid { grid-template-columns: 1fr 1fr; }
  .client-grid .logo-chip { padding-right: 10px; }
  .client-grid .logo-chip span { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .page-title .line > span { transform: none; }
}

/* ==========================================================
   v3 — banner-style service cards, value block, work, offices
   ========================================================== */
.banner-stack { display: grid; gap: 20px; }
.banner-stack .cm-banner { scroll-margin-top: 100px; min-height: 440px; }
.cm-banner-text { position: relative; z-index: 1; }
.cm-banner--flip .cm-banner-text { order: 2; }
.cm-banner--flip::before { right: auto; left: -120px; }
.cap-list--on { margin: -8px 0 28px; }
.cap-list--on li { opacity: 1; transform: none; }
.cm-banner:hover .cap-list--on li { border-color: rgba(0,207,148,.5); }
.cm-banner-media img { background: #111; }
.cm-banner-media .cm-phone { background: transparent; }

/* 3x value block */
.value { padding-bottom: clamp(80px, 10vw, 130px); }
.value-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 20px; }
.value-hero { position: relative; overflow: hidden; border-radius: var(--radius); padding: 28px; min-height: 300px; color: rgba(255,255,255,.85); display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; }
.value-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform 1.4s var(--ease); }
.value-hero:hover .value-bg { transform: scale(1.08) rotate(1deg); }
.value-hero b { font-family: var(--font-head); font-weight: 600; color: #fff; font-size: clamp(56px, 6vw, 88px); line-height: 1; letter-spacing: -0.04em; margin: 6px 0; }
.value-card { background: var(--soft); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; transition: background .5s var(--ease), transform .5s var(--ease); }
.value-card:hover { background: var(--ink); transform: translateY(-6px); }
.value-card h3 { font-size: 22px; margin-bottom: 10px; transition: color .4s; }
.value-card p { font-size: 15px; transition: color .4s; }
.value-card:hover h3 { color: #fff; }
.value-card:hover p { color: rgba(255,255,255,.7); }

/* home work tiles as links */
a.work-item { display: block; }
.work-more { text-align: center; margin-top: 48px; }

/* Work page */
.case-rows { display: grid; gap: 20px; }
.case-row { display: grid; grid-template-columns: 1.5fr 1fr; background: var(--soft); border-radius: var(--radius); overflow: hidden; }
.case-row:nth-child(even) .case-row-media { order: 2; }
.case-row-media { overflow: hidden; background: #000; }
.case-row-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.case-row:hover .case-row-media img { transform: scale(1.04); }
.case-row-body { padding: clamp(24px, 3.4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.case-row-body .cap-eyebrow { color: var(--accent-dark); }
.case-row-body h2 { font-size: clamp(26px, 2.6vw, 38px); margin-bottom: 12px; }
.cases-feature { padding: 20px 0 clamp(80px, 10vw, 130px); }
.gallery-sec { padding-bottom: clamp(80px, 10vw, 130px); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 32px; }
.filter { border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: 9px 16px; font-size: 14px; font-weight: 500; transition: background .3s, color .3s, border-color .3s; }
.filter:hover { border-color: var(--ink); }
.filter.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.g-item { margin: 0; cursor: zoom-in; border-radius: var(--radius-sm); overflow: hidden; background: #000; position: relative; animation: gIn .5s var(--ease); }
.g-item.is-hidden { display: none; }
@keyframes gIn { from { opacity: 0; transform: scale(.97); } }
.g-item img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 1s var(--ease), opacity .4s; }
.g-item:hover img { transform: scale(1.05); opacity: .75; }
.g-item figcaption { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--ink); font-size: 13px; font-weight: 500; transform: translateY(8px); opacity: 0; transition: transform .4s var(--ease), opacity .4s; }
.g-item:hover figcaption { transform: none; opacity: 1; }
.wide-media--bordered { border: 1px solid var(--line); margin-top: 32px; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(5,5,7,.92); display: grid; place-items: center; padding: 60px 72px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 1400px; width: 100%; }
.lightbox img { width: 100%; max-height: 80vh; object-fit: contain; border-radius: 12px; }
.lightbox figcaption { color: rgba(255,255,255,.8); text-align: center; margin-top: 14px; }
.lb-close, .lb-nav { position: absolute; border: 0; background: rgba(255,255,255,.12); color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 28px; line-height: 1; transition: background .3s; }
.lb-close:hover, .lb-nav:hover { background: var(--accent); color: #04130d; }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 16px; top: 50%; } .lb-next { right: 16px; top: 50%; }

/* Offices & contact extras */
.footer-mail { display: inline-block; margin-top: 18px; color: #fff; font-family: var(--font-head); font-size: 20px; border-bottom: 1px solid rgba(255,255,255,.3); transition: color .3s, border-color .3s; }
.footer-mail:hover { color: var(--accent); border-color: var(--accent); }
.offices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.1); font-size: 14px; }
.office p { margin-bottom: 6px; }
.office a:hover { color: #fff; }
.inline-link { color: var(--ink); border-bottom: 1px solid var(--accent); }
.office-sec { padding-bottom: clamp(60px, 8vw, 100px); }
.office-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.office-card { background: var(--soft); border-radius: var(--radius); padding: 28px; transition: background .5s var(--ease), transform .5s var(--ease); }
.office-card:hover { background: var(--ink); color: rgba(255,255,255,.7); transform: translateY(-6px); }
.office-card:hover h3, .office-card:hover a { color: #fff; }
.office-flag { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent); color: #04130d; font-weight: 700; font-family: var(--font-head); margin-bottom: 36px; }
.office-card h3 { font-size: 24px; margin-bottom: 8px; transition: color .4s; }
.office-card p { margin-bottom: 12px; }
.office-card a { color: var(--ink); font-weight: 600; transition: color .4s; }

@media (max-width: 1024px) {
  .value-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .cm-banner--flip .cm-banner-text { order: 0; }
}
@media (max-width: 760px) {
  .value-grid, .office-grid, .offices, .case-row { grid-template-columns: 1fr; }
  .value-card, .value-hero { min-height: 220px; }
  .case-row:nth-child(even) .case-row-media { order: 0; }
  .gallery { grid-template-columns: 1fr; }
  .g-item figcaption { opacity: 1; transform: none; }
  .lightbox { padding: 60px 12px; }
  .lb-nav { top: auto; bottom: 20px; }
}

.formerly { display: inline-flex; gap: 6px; font-size: 14px; padding: 6px 14px; border-radius: 999px; background: var(--soft); margin: -8px 0 24px; }
.formerly b { color: var(--ink); }
.tools { padding-bottom: clamp(80px, 10vw, 130px); }
.tools .wide-media { margin-top: 32px; }
.work-strip { padding-bottom: clamp(80px, 10vw, 130px); }
.strip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.strip-grid .work-img { aspect-ratio: 16 / 9; }
@media (max-width: 760px) { .strip-grid { grid-template-columns: 1fr; } }
.strip-grid--one { grid-template-columns: 1fr; }
.strip-grid--one .work-img { aspect-ratio: 16 / 9; max-height: 640px; }

/* ---------- Coloured service banner cards (keynote category colours) ---------- */
.cm-banner { --c-bg: var(--ink); --c-fg: #fff; --c-muted: rgba(255,255,255,.72); --c-glow: rgba(0,207,148,.35); --c-eyebrow: var(--accent); --c-tag: rgba(255,255,255,.28); --c-btn-bg: var(--accent); --c-btn-fg: #04130d;
  background: var(--c-bg); color: var(--c-muted); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.cm-banner:hover { transform: translateY(-4px); box-shadow: 0 40px 80px -40px var(--c-bg); }
.cm-banner::before { background: radial-gradient(circle, var(--c-glow), transparent 65%); }
.cm-banner h3 { color: var(--c-fg); }
.cm-banner .cap-eyebrow { color: var(--c-eyebrow); }
.cm-banner .cap-list--on li { border-color: var(--c-tag); color: var(--c-fg); }
.cm-banner .btn-primary { background: var(--c-btn-bg); color: var(--c-btn-fg); }
.cm-banner:hover .btn-primary { background: #fff; color: var(--ink); }
.cm-banner--tech    { --c-bg: #db2433; --c-glow: rgba(255,170,120,.45); --c-eyebrow: #ffd9d4; --c-muted: rgba(255,255,255,.85); --c-btn-bg: #fff; --c-btn-fg: #db2433; }
.cm-banner--mkt     { --c-bg: #00be62; --c-fg: #04130d; --c-muted: rgba(4,19,13,.78); --c-glow: rgba(210,255,120,.55); --c-eyebrow: #04130d; --c-tag: rgba(4,19,13,.3); --c-btn-bg: #04130d; --c-btn-fg: #fff; }
.cm-banner--mkt:hover .btn-primary { background: #fff; color: #04130d; }
.cm-banner--content { --c-bg: #2e1249; --c-glow: rgba(255,45,135,.4); --c-eyebrow: #ff7ab8; }
.cm-banner--strat   { --c-bg: #001893; --c-glow: rgba(90,140,255,.55); --c-eyebrow: #9fb4ff; --c-muted: rgba(255,255,255,.8); --c-btn-bg: #fff; --c-btn-fg: #001893; }
.cm-banner--data    { --c-bg: #b32dcd; --c-glow: rgba(255,150,240,.5); --c-eyebrow: #ffe1ff; --c-muted: rgba(255,255,255,.88); --c-btn-bg: #fff; --c-btn-fg: #8a1ea0; }
.cm-banner--mkt .cap-eyebrow { opacity: .75; }

/* ---------- Footer wordmark: full-bleed, animated brand gradient ---------- */
.footer-wordmark { width: 100vw; margin: 72px calc(50% - 50vw) 32px; display: flex; justify-content: center; overflow: hidden; user-select: none; }
.fw-inner { display: flex; align-items: center; gap: .1em; font-family: var(--font-head); font-weight: 700; font-size: 18vw; line-height: .95; letter-spacing: -0.055em; white-space: nowrap; padding-bottom: .04em; }
.fw-mark { width: 1.05em; height: 1.05em; margin-right: -.06em; mix-blend-mode: screen; flex: none; animation: spin 30s linear infinite; }
.fw-text { position: relative; display: inline-block; padding-right: .04em;
  background: linear-gradient(90deg, #ff2d87, #ff9300, #f5e44a, #00be62, #3ff0c2, #4b6bff, #b32dcd, #ff2d87);
  background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: fwShift 10s linear infinite; }
.fw-text::after { content: attr(data-text); position: absolute; inset: 0; z-index: -1; background: inherit; background-size: inherit; -webkit-background-clip: text; background-clip: text; color: transparent; filter: blur(28px); opacity: .55; animation: inherit; }
@keyframes fwShift { to { background-position: -200% 0; } }
.site-footer:hover .fw-text, .site-footer:hover .fw-text::after { animation-duration: 4s; }
.footer-wordmark .fw-inner { transform: translateY(30%); opacity: 0; transition: transform 1.2s var(--ease), opacity 1.2s var(--ease); }
.footer-wordmark.in-view .fw-inner { transform: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) { .fw-text, .fw-mark { animation: none; } .footer-wordmark .fw-inner { transform: none; opacity: 1; } }

/* ---------- Content Marketing nested under Marketing ---------- */
.drop-grid { align-items: start; }
.drop-group { display: grid; gap: 2px; }
.drop-sub { display: flex; align-items: center; gap: 10px; margin-left: 30px; padding: 8px 10px; border-radius: 10px; border-left: 2px solid var(--line); transition: background .3s, border-color .3s; }
.drop-sub:hover, .drop-sub[aria-current="page"] { background: var(--soft); border-color: var(--accent); }
.drop-sub .sub-arrow { color: var(--accent-dark); font-size: 16px; }
.drop-sub b { display: block; color: var(--ink); font-family: var(--font-head); font-weight: 600; font-size: 14px; }
.drop-sub small { color: var(--muted); font-size: 12px; display: block; }
.mobile-menu nav a.mm-sub { font-size: 20px; padding-left: 20px; color: #555; }
.footer-cols a.f-sub { padding-left: 14px; font-size: 14px; }
.more-link--sub { padding-left: clamp(24px, 4vw, 64px); font-size: clamp(22px, 3vw, 42px); }
.more-link--sub small { font-size: .5em; color: #bdbdbd; vertical-align: middle; margin-right: 6px; }
.more-link--sub:hover { padding-left: calc(clamp(24px, 4vw, 64px) + 16px); }
.sub-service { margin-top: 20px; }
.cm-banner--content { --c-bg: #063d24; --c-glow: rgba(0,190,98,.45); --c-eyebrow: #6ff0ae; }

/* ---------- Footer: full-size neon mark behind the content ---------- */
.site-footer { position: relative; isolation: isolate; }
.site-footer > .container { position: relative; z-index: 1; }
.footer-bottom { margin-top: 72px; }
.footer-bg-mark { position: absolute; inset: 0; z-index: 0; display: grid; place-items: center; pointer-events: none; overflow: hidden; }
.footer-bg-mark img { width: max(100%, 900px); max-width: none; aspect-ratio: 1; object-fit: cover; mix-blend-mode: screen; opacity: .32;
  -webkit-mask-image: radial-gradient(circle at center, #000 45%, transparent 72%); mask-image: radial-gradient(circle at center, #000 45%, transparent 72%);
  animation: spin 90s linear infinite; }
.site-footer:hover .footer-bg-mark img { opacity: .42; transition: opacity 1s; }
@media (prefers-reduced-motion: reduce) { .footer-bg-mark img { animation: none; } }

/* ---------- YouTube Shorts previews (content marketing) ---------- */
.yt-preview { position: absolute; inset: 0; overflow: hidden; background: #000; display: block; }
.yt-preview img { width: 100%; height: 100%; object-fit: cover; transition: opacity .6s; }
.yt-preview iframe { position: absolute; top: 50%; left: 50%; width: 100%; height: 100%; transform: translate(-50%, -50%) scale(1.02); border: 0; pointer-events: none; opacity: 0; transition: opacity .8s; }
.yt-preview.is-playing iframe { opacity: 1; }
.yt-preview.is-playing img { opacity: 0; }

.phone-frame { position: relative; display: block; height: 520px; aspect-ratio: 9 / 19.5; border-radius: 42px; padding: 10px; background: #111; box-shadow: 0 0 0 2px #2a2a2e, 0 40px 80px -20px rgba(0,0,0,.8); z-index: 1; transition: transform .6s var(--ease); }
.phone-frame:hover { transform: translateY(-6px) rotate(-1deg); }
.phone-frame .yt-preview { inset: 10px; border-radius: 32px; }
.phone-notch { position: absolute; top: 18px; left: 50%; width: 90px; height: 24px; border-radius: 99px; background: #111; transform: translateX(-50%); z-index: 2; }

.shorts { padding: clamp(80px, 10vw, 130px) 0 clamp(60px, 8vw, 100px); }
.shorts .cap-eyebrow { color: var(--accent-dark); }
.shorts-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.short-card { flex: 0 0 clamp(220px, 20vw, 280px); position: relative; aspect-ratio: 9 / 16; border-radius: var(--radius); overflow: hidden; background: #000; user-select: none; box-shadow: 0 20px 40px -24px rgba(0,0,0,.5); transition: transform .5s var(--ease); }
.short-card:hover { transform: translateY(-6px); }
.short-card .yt-preview img { pointer-events: none; }
.short-meta { position: absolute; inset: auto 0 0; padding: 60px 18px 16px; background: linear-gradient(transparent, rgba(0,0,0,.8)); color: #fff; z-index: 1; }
.short-meta b { display: block; font-family: var(--font-head); font-size: 18px; }
.short-meta small { color: rgba(255,255,255,.75); font-size: 13px; }
.short-play { position: absolute; top: 14px; right: 14px; z-index: 1; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.18); backdrop-filter: blur(8px); transition: background .3s, transform .4s var(--ease); }
.short-play svg { width: 16px; height: 16px; fill: #fff; margin-left: 2px; }
.short-card:hover .short-play, .result-card--video:hover .short-play { background: #ff0033; transform: scale(1.1); }

.result-card--video { display: block; }
.result-media { position: relative; display: block; overflow: hidden; }
.result-media img { display: block; }

@media (max-width: 760px) {
  .phone-frame { height: 400px; border-radius: 34px; }
  .phone-frame .yt-preview { border-radius: 26px; }
  .short-card { flex-basis: 62vw; }
}
/* cover-fit the 9:16 embed and crop YouTube's title/logo bars */
.yt-preview iframe { width: auto; height: 100%; aspect-ratio: 9 / 16; transform: translate(-50%, -50%) scale(1.28); }
.short-card .yt-preview iframe { width: 100%; height: auto; aspect-ratio: 9 / 16; }
.float-chip { z-index: 3; }
/* footer mark: static and solid (overrides the animated version above) */
.footer-bg-mark img { animation: none; opacity: 1; -webkit-mask-image: none; mask-image: none; }
.site-footer:hover .footer-bg-mark img { opacity: 1; }

/* ---------- Background music toggle ---------- */
.sound-toggle { flex: none; width: 44px; height: 42px; border-radius: 10px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; transition: background .3s, border-color .3s; }
.sound-toggle:hover { border-color: var(--ink); }
.sound-toggle .eq { display: flex; align-items: flex-end; gap: 3px; height: 16px; }
.sound-toggle .eq i { display: block; width: 3px; height: 4px; border-radius: 2px; background: var(--ink); transition: height .3s; }
.sound-toggle.is-on { background: var(--ink); border-color: var(--ink); }
.sound-toggle.is-on .eq i { background: var(--accent); animation: eq 1s ease-in-out infinite; }
.sound-toggle.is-on .eq i:nth-child(2) { animation-delay: -.3s; } .sound-toggle.is-on .eq i:nth-child(3) { animation-delay: -.6s; } .sound-toggle.is-on .eq i:nth-child(4) { animation-delay: -.15s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 16px; } }
body[data-page="content-marketing"] .site-header:not(.is-scrolled) .sound-toggle:not(.is-on) { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.2); }
body[data-page="content-marketing"] .site-header:not(.is-scrolled) .sound-toggle:not(.is-on) .eq i { background: #fff; }
@media (max-width: 1024px) { .sound-toggle { margin-left: auto; } .burger { margin-left: 8px; } }
@media (prefers-reduced-motion: reduce) { .sound-toggle.is-on .eq i { animation: none; height: 12px; } }

/* ---------- Footer warp-speed starfield (canvas) ---------- */
.site-footer { background: #000; }
.footer-warp { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; pointer-events: none; }
.footer-bg-mark { z-index: 0; }
.footer-bg-mark img { mix-blend-mode: screen; }
.footer-bg-mark { mix-blend-mode: screen; }

/* ---------- Real reviews: spotlight carousel ---------- */
.reviews { padding: clamp(80px, 10vw, 140px) 0; background: #fafafa; }
.reviews-label { text-align: center; font-family: var(--font-head); font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 36px; }
.review-stage { display: grid; max-width: 1150px; margin: 0 auto; }
.review { grid-area: 1 / 1; margin: 0; text-align: center; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s .5s; }
.review.is-active { opacity: 1; visibility: visible; transition: opacity .3s var(--ease); }
.review blockquote { margin: 0; }
.review p { font-family: var(--font-head); font-weight: 500; font-size: clamp(22px, 3.1vw, 46px); line-height: 1.16; letter-spacing: -0.02em; color: var(--ink); }
.review .qm { font-family: Georgia, serif; font-style: italic; color: #a3a3a3; font-size: .8em; vertical-align: .25em; margin: 0 .06em; }
.review mark { background: none; color: #059669; background-image: linear-gradient(rgba(5,150,105,.22), rgba(5,150,105,.22)); background-repeat: no-repeat; background-position: 0 92%; background-size: 0% .16em; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background-size 1.1s var(--ease) var(--hl-delay, 0s); }
.review.is-active.is-in mark { background-size: 100% .16em; }
/* word-by-word reveal */
.review .rw { display: inline-block; opacity: 0; filter: blur(8px); transform: translateY(.35em); transition: opacity .6s var(--ease), filter .6s var(--ease), transform .7s var(--ease); transition-delay: var(--wd, 0s); }
.review.is-in .rw { opacity: 1; filter: none; transform: none; }
.review figcaption { display: inline-flex; align-items: center; gap: 14px; margin-top: 36px; text-align: left; opacity: 0; transform: translateY(12px); transition: opacity .7s var(--ease) var(--cap-delay, 0s), transform .7s var(--ease) var(--cap-delay, 0s); }
.review.is-in figcaption { opacity: 1; transform: none; }
.review figcaption img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.review figcaption b { display: block; color: var(--ink); font-family: var(--font-head); font-weight: 600; font-size: 17px; }
.review figcaption small { color: var(--muted); font-size: 15px; }
.review-dots { display: flex; justify-content: center; gap: 8px; margin-top: 44px; }
.review-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: #d9d9d9; overflow: hidden; position: relative; cursor: pointer; transition: width .5s var(--ease), background .3s; }
.review-dots button:hover { background: #bdbdbd; }
.review-dots button.is-active { width: 36px; background: rgba(5,150,105,.2); }
.review-dots button i { position: absolute; inset: 0; background: #059669; transform: scaleX(0); transform-origin: left; }
.review-dots button.is-active i { animation: dotFill var(--dur, 8s) linear forwards; }
.reviews.is-paused .review-dots button.is-active i { animation-play-state: paused; }
@keyframes dotFill { to { transform: scaleX(1); } }
@media (max-width: 760px) { .review p { font-size: 21px; line-height: 1.3; } .review figcaption { margin-top: 24px; } }
@media (prefers-reduced-motion: reduce) { .review .rw { opacity: 1; filter: none; transform: none; } .review mark { background-size: 100% .16em; } .review figcaption { opacity: 1; transform: none; } }
.review { align-self: center; }
.footer-bottom .ninjas { margin-left: 14px; padding-left: 14px; border-left: 1px solid rgba(255,255,255,.2); color: #fff; white-space: nowrap; }

/* ==========================================================
   Blog
   ========================================================== */
.pill-label { display: inline-block; padding: 6px 14px; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; color: var(--ink); background: #fff; margin-bottom: 22px; }
.blog-hero { padding: 150px 0 40px; text-align: center; }
.blog-hero .page-title { margin: 0 auto; }
.blog-hero .page-lead { margin: 18px auto 0; max-width: 460px; }
.blog-search { max-width: 1280px; margin: 48px auto 0; text-align: left; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: #fff; }
.blog-search label { display: block; font-family: var(--font-head); font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.search-field { display: flex; align-items: center; gap: 10px; background: var(--soft); border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; transition: border-color .3s, box-shadow .3s; }
.search-field:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(0,207,148,.15); }
.search-field svg { width: 18px; height: 18px; stroke: var(--muted); stroke-width: 2; fill: none; flex: none; }
.search-field input { flex: 1; border: 0; background: none; font: inherit; font-size: 16px; padding: 13px 0; color: var(--ink); outline: none; }
.blog-search .filters { margin: 14px 0 0; }
.blog-list { padding: 24px 0 clamp(80px, 10vw, 130px); }
.blog-empty { text-align: center; padding: 40px 0; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 8px 16px; background: #fff; transition: box-shadow .5s var(--ease), transform .5s var(--ease), border-color .3s; }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.25); border-color: #dcdcdc; }
.post-card.is-hidden { display: none; }
.post-card h3 { font-size: 19px; line-height: 1.3; margin: 16px 8px 12px; letter-spacing: -0.01em; }
.post-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: auto 8px 0; }
.post-chips span { font-size: 13px; color: var(--ink); padding: 4px 10px; border: 1px solid var(--line); border-radius: 8px; }
.post-chips em { font-style: normal; font-size: 13px; color: var(--muted); padding: 4px 10px; border: 1px solid var(--line); border-radius: 8px; margin-left: 6px; position: relative; }
.post-chips em::before { content: ""; position: absolute; left: -7px; top: 3px; bottom: 3px; width: 1px; background: var(--line); }

/* cover art: label, title and three tilted icon tiles in the keynote colours */
.cover { --c1: #00be62; --c2: #00e38a; position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: linear-gradient(135deg, #f4f4f3, #e7e7e5); padding: 7% 7%; display: flex; flex-direction: column; justify-content: flex-end; }
.cover--red { --c1: #db2433; --c2: #ff6a5c; }
.cover--pink { --c1: #c01873; --c2: #ff4fa0; }
.cover--orange { --c1: #ff7a00; --c2: #ffb03a; }
.cover--purple { --c1: #8a1ea0; --c2: #c84ae0; }
.cover--blue { --c1: #001893; --c2: #3a63ff; }
.cover-label { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: clamp(9px, .8vw, 11px); letter-spacing: .06em; text-transform: uppercase; color: #555; margin-bottom: 6px; display: flex; align-items: center; gap: 6px; position: relative; z-index: 1; }
.cover-label::before { content: ""; width: 6px; height: 6px; background: var(--c1); border-radius: 1px; }
.cover-title { font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: clamp(18px, 1.9vw, 26px); line-height: 1.12; letter-spacing: -0.02em; max-width: 62%; position: relative; z-index: 1; }
.cover-tiles { position: absolute; right: 6%; top: 10%; width: 46%; height: 62%; }
.cover-tiles i { position: absolute; width: 38%; aspect-ratio: 1; border-radius: 18%; background: linear-gradient(145deg, var(--c2), var(--c1)); box-shadow: inset 0 2px 0 rgba(255,255,255,.35), 0 14px 24px -10px var(--c1); display: grid; place-items: center; transition: transform .7s var(--ease); }
.cover-tiles i:nth-child(1) { left: 0; top: 22%; transform: rotate(-8deg); }
.cover-tiles i:nth-child(2) { left: 31%; top: 0; transform: rotate(4deg); z-index: 1; }
.cover-tiles i:nth-child(3) { left: 60%; top: 34%; transform: rotate(14deg); }
.cover-tiles svg { width: 46%; height: 46%; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.post-card:hover .cover-tiles i:nth-child(1) { transform: rotate(-14deg) translate(-4px, -4px); }
.post-card:hover .cover-tiles i:nth-child(2) { transform: rotate(0deg) translateY(-8px); }
.post-card:hover .cover-tiles i:nth-child(3) { transform: rotate(20deg) translate(4px, -2px); }
.cover--hero { aspect-ratio: 21 / 8; border-radius: var(--radius); margin: 40px 0 56px; }
.cover--hero .cover-title { font-size: clamp(26px, 3.6vw, 52px); max-width: 55%; }
.cover--hero .cover-label { font-size: 13px; }
.cover--hero .cover-tiles { width: 36%; }

/* homepage + related */
.blog-latest { padding: clamp(80px, 10vw, 120px) 0; }

/* article */
.post-head { padding-top: 140px; max-width: 900px; }
.post-head .post-chips { margin: 0 0 18px; }
.post-title { font-size: clamp(34px, 4.6vw, 64px); line-height: 1.05; letter-spacing: -0.03em; margin-bottom: 18px; }
.post-meta { display: flex; align-items: center; gap: 8px; margin-top: 22px; font-size: 14px; }
.post-meta img { width: 22px; height: 22px; }
.post-layout { display: grid; grid-template-columns: 220px minmax(0, 720px); gap: 64px; justify-content: center; padding-bottom: 40px; }
.post-toc { position: sticky; top: 110px; align-self: start; display: grid; gap: 4px; font-size: 14px; }
.post-toc p { font-family: var(--font-head); font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.post-toc a { padding: 6px 0 6px 12px; border-left: 2px solid var(--line); line-height: 1.35; transition: color .3s, border-color .3s; }
.post-toc a:hover, .post-toc a.is-active { color: var(--ink); border-color: var(--accent); }
.post-body { font-size: 18px; line-height: 1.75; color: #3d3d3d; }
.post-body > * + * { margin-top: 1.1em; }
.post-body h2 { font-size: clamp(24px, 2.4vw, 32px); margin-top: 2em; scroll-margin-top: 100px; }
.post-body h3 { font-size: 21px; margin-top: 1.6em; scroll-margin-top: 100px; }
.post-body strong { color: var(--ink); }
.post-body ul, .post-body ol { padding-left: 1.3em; list-style: revert; }
.post-body li + li { margin-top: .45em; }
.post-body li::marker { color: var(--accent-dark); font-weight: 600; }
.post-body a { color: var(--ink); border-bottom: 2px solid var(--accent); transition: background .3s; }
.post-body a:hover { background: rgba(0,207,148,.12); }

@media (max-width: 1024px) {
  .post-grid { grid-template-columns: 1fr 1fr; }
  .post-layout { grid-template-columns: 1fr; gap: 0; }
  .post-toc { display: none; }
}
@media (max-width: 760px) {
  .blog-hero { padding-top: 110px; }
  .post-grid { grid-template-columns: 1fr; }
  .post-head { padding-top: 110px; }
  .cover--hero { aspect-ratio: 16 / 10; margin: 28px 0 36px; }
  .cover--hero .cover-title { max-width: 70%; }
  .post-body { font-size: 17px; }
}
.post-chips em { margin-left: 0; background: var(--soft); }
.post-chips em::before { display: none; }
/* nav logo: one full spin per hover (replaces the old 120° twist) */
.brand-mark { transition: none; }
.brand:hover .brand-mark { transform: none; animation: spinOnce .9s cubic-bezier(.65, 0, .35, 1); }
@keyframes spinOnce { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .brand:hover .brand-mark { animation: none; } }
/* spin around the trefoil's own centre of symmetry (not the image box centre) so it doesn't wobble */
.brand-mark { transform-origin: 50% 57.8%; }
.brand:hover .brand-mark { animation: spinOnce .5s cubic-bezier(.45, 0, .2, 1); }

/* ==========================================================
   Dark mode  — html[data-theme="dark"]
   Tokens flip first; the overrides below fix places that hard-code white
   surfaces or use --ink as a background.
   ========================================================== */
:root { --surface: #ffffff; --surface-2: #ffffff; color-scheme: light; }
[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f2f2f3;
  --ink-2: #18181b;
  --muted: #9b9ba3;
  --line: #26262c;
  --soft: #131316;
  --bg: #0a0a0b;
  --surface: #17171a;
  --surface-2: #1f1f24;
  --accent-dark: #19d6a0;
}
[data-theme="dark"] .brand-mark,
[data-theme="dark"] .post-meta img { filter: invert(1); }

/* header, menus */
[data-theme="dark"] .site-header.is-scrolled { background: rgba(10,10,11,.8); box-shadow: 0 1px 0 var(--line); }
[data-theme="dark"] .mobile-menu { background: var(--bg); }
[data-theme="dark"] .mobile-menu nav a.mm-sub { color: #a9a9b0; }
[data-theme="dark"] .drop-grid { background: var(--surface); box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); }
[data-theme="dark"] .sound-toggle { background: var(--surface); }
[data-theme="dark"] .sound-toggle.is-on { background: var(--surface-2); border-color: var(--line); }

/* buttons whose hover used --ink as a background */
[data-theme="dark"] .btn-primary:hover, [data-theme="dark"] a:hover > .btn-primary,
[data-theme="dark"] .btn-glass:hover, [data-theme="dark"] a:hover > .btn-outline-light,
[data-theme="dark"] .cm-banner:hover .btn-primary { background: #fff; color: #0b0b0c; }
[data-theme="dark"] .nav-btn { background: var(--surface); border-color: var(--line); }
[data-theme="dark"] .nav-btn:hover { background: #fff; border-color: #fff; }
[data-theme="dark"] .nav-btn:hover svg { stroke: #0b0b0c; }
[data-theme="dark"] .filter { background: var(--surface); }
[data-theme="dark"] .filter.is-on { background: #fff; color: #0b0b0c; border-color: #fff; }
[data-theme="dark"] .industry-list li:hover { background: #fff; color: #0b0b0c; border-color: #fff; }
[data-theme="dark"] .pill-row { background: var(--surface-2); }
[data-theme="dark"] .pill.is-on { background: #fff; color: #0b0b0c; }
[data-theme="dark"] .step-metrics span { background: var(--surface-2); color: var(--ink); }

/* dark "fill on hover" panels */
[data-theme="dark"] .service-row::before,
[data-theme="dark"] .pillar::before { background: var(--surface-2); }
[data-theme="dark"] .value-card:hover,
[data-theme="dark"] .office-card:hover,
[data-theme="dark"] .bento-card:hover { background: var(--surface-2); }
[data-theme="dark"] .why-card--dark, [data-theme="dark"] .cta-card--dark { background: #121215; border: 1px solid var(--line); }

/* white cards and fields become raised dark surfaces */
[data-theme="dark"] .why-card, [data-theme="dark"] .bubble, [data-theme="dark"] .task,
[data-theme="dark"] .logo-chip, [data-theme="dark"] .post-card, [data-theme="dark"] .pill-label,
[data-theme="dark"] .blog-search, [data-theme="dark"] .field input, [data-theme="dark"] .field select,
[data-theme="dark"] .field textarea, [data-theme="dark"] .svc-card:hover { background: var(--surface); }
[data-theme="dark"] .svc-icon { background: var(--surface-2); }
[data-theme="dark"] .cap-list--dark li { background: var(--surface-2); border-color: var(--line); }
[data-theme="dark"] .logo-chip img { background: #fff; filter: grayscale(1) brightness(.92); }
[data-theme="dark"] .logo-chip:hover img { filter: none; }
[data-theme="dark"] .logo-chip:hover, [data-theme="dark"] .post-card:hover { border-color: #3a3a42; box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }
[data-theme="dark"] .g-item figcaption { color: #0b0b0c; }
[data-theme="dark"] .step::before { background: var(--bg); }

/* soft greys used for de-emphasised text */
[data-theme="dark"] .scrub-text .w { color: #34343a; }
[data-theme="dark"] .scrub-text .w.on { color: var(--ink); }
[data-theme="dark"] .muted-word, [data-theme="dark"] .contact-form h2 span { color: #56565e; }
[data-theme="dark"] .more-link { color: #3a3a41; }
[data-theme="dark"] .more-link:hover { color: var(--ink); }
[data-theme="dark"] .more-link--sub small { color: #5a5a62; }
[data-theme="dark"] .step-num { color: #34343a; }
[data-theme="dark"] .split-body p { color: #b8b8be; }
[data-theme="dark"] .post-body { color: #c6c6cc; }

/* reviews + blog covers */
[data-theme="dark"] .reviews { background: #0e0e10; }
[data-theme="dark"] .review mark { color: #34d399; background-image: linear-gradient(rgba(52,211,153,.25), rgba(52,211,153,.25)); }
[data-theme="dark"] .review-dots button { background: #34343a; }
[data-theme="dark"] .cover { background: linear-gradient(135deg, #1d1d22, #121215); }
[data-theme="dark"] .cover-label { color: #a1a1a9; }

/* content marketing page: transparent header over the dark hero */
body[data-page="content-marketing"] .site-header:not(.is-scrolled) .theme-toggle { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.2); color: #fff; }

/* ---------- Theme toggle (sun ⇄ moon) ---------- */
.theme-toggle { flex: none; width: 44px; height: 42px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: border-color .3s, background .3s; }
.theme-toggle:hover { border-color: var(--ink); }
.theme-toggle svg { width: 20px; height: 20px; overflow: visible; transition: transform .7s cubic-bezier(.45, 0, .2, 1); }
.theme-toggle .tt-core { transition: r .5s var(--ease); }
.theme-toggle .tt-bite { transition: cx .6s var(--ease), cy .6s var(--ease); }
.theme-toggle .tt-rays { transform-origin: center; transition: transform .6s var(--ease), opacity .4s; }
[data-theme="dark"] .theme-toggle svg { transform: rotate(-40deg); }
[data-theme="dark"] .theme-toggle .tt-core { r: 9px; }
[data-theme="dark"] .theme-toggle .tt-bite { cx: 17px; cy: 7px; }
[data-theme="dark"] .theme-toggle .tt-rays { transform: scale(.4) rotate(45deg); opacity: 0; }
@media (max-width: 1024px) { .theme-toggle { margin-left: auto; } .sound-toggle { margin-left: 8px; } }

/* ---------- Switch animation: circular reveal from the toggle (View Transitions) ---------- */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) { animation: themeReveal .75s cubic-bezier(.65, 0, .25, 1) both; }
@keyframes themeReveal { from { clip-path: circle(0 at var(--tx, 50%) var(--ty, 0)); } to { clip-path: circle(var(--tr, 150vmax) at var(--tx, 50%) var(--ty, 0)); } }
/* fallback for browsers without View Transitions: a quick colour crossfade */
html.theme-fade, html.theme-fade * { transition: background-color .45s ease, color .45s ease, border-color .45s ease, fill .45s ease !important; }
[data-theme="dark"] .muted-word, [data-theme="dark"] .contact-form h2 span { color: #74747c; }
[data-theme="dark"] .step-num { color: #4a4a52; }
.reviews-title { text-align: center; margin: 0 auto 48px; max-width: 900px; }

/* ==========================================================
   Floating rounded navigation bar
   ========================================================== */
.site-header { inset: 14px 0 auto 0; padding: 0; pointer-events: none; }
.site-header.is-scrolled { background: none; box-shadow: none; padding: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header.is-hidden { transform: translateY(calc(-100% - 24px)); }
.site-header .header-row {
  pointer-events: auto;
  width: calc(100% - 2 * var(--gutter)); max-width: calc(var(--container) - 2 * var(--gutter));
  margin: 0 auto; padding: 10px 10px 10px 20px;
  border-radius: 18px; border: 1px solid rgba(0,0,0,.06);
  background: rgba(255,255,255,.72); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 10px 30px -18px rgba(0,0,0,.35);
  transition: background .4s, box-shadow .4s, border-color .4s;
}
.site-header.is-scrolled .header-row { background: rgba(255,255,255,.86); box-shadow: 0 16px 40px -20px rgba(0,0,0,.4); }
[data-theme="dark"] .site-header .header-row { background: rgba(23,23,26,.7); border-color: rgba(255,255,255,.08); box-shadow: 0 10px 30px -18px rgba(0,0,0,.8); }
[data-theme="dark"] .site-header.is-scrolled .header-row { background: rgba(23,23,26,.88); }
[data-theme="dark"] .site-header.is-scrolled { background: none; box-shadow: none; }
/* over the dark content-marketing hero the bar is dark glass until you scroll */
body[data-page="content-marketing"] .site-header:not(.is-scrolled) .header-row { background: rgba(20,20,24,.5); border-color: rgba(255,255,255,.1); }
.mobile-menu { padding-top: 120px; }

/* ---------- Music button: simple note icon ---------- */
.sound-toggle .note { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.sound-toggle.is-on .note { stroke: var(--accent); animation: noteBob 1.2s ease-in-out infinite; }
@keyframes noteBob { 50% { transform: translateY(-2px) rotate(-8deg); } }
body[data-page="content-marketing"] .site-header:not(.is-scrolled) .sound-toggle:not(.is-on) .note { stroke: #fff; }
@media (prefers-reduced-motion: reduce) { .sound-toggle.is-on .note { animation: none; } }

/* ---------- Full-width cover images ---------- */
.hero { padding-top: 0; }
.hero > .container, .page-hero > .container:has(.page-hero-media) { max-width: none; padding: 0; }
.hero-media { border-radius: 0; height: min(100svh, 920px); min-height: 600px; }
.page-hero-media { border-radius: 0; }
.hero-content { padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); }
@media (max-width: 760px) { .hero-media { border-radius: 0; height: 100svh; min-height: 560px; } }

/* ---------- Nav bar spacing: brand | centred links | grouped controls ---------- */
.site-header .header-row { position: relative; gap: 6px; }
.site-header .brand { margin-right: auto; }
.site-header .main-nav { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); margin: 0; gap: 30px; }
.site-header .theme-toggle { order: 2; margin: 0; }
.site-header .sound-toggle { order: 3; margin: 0; }
.site-header .header-cta { order: 4; margin-left: 6px; height: 42px; }
.site-header .burger { order: 5; margin: 0; }
.site-header .theme-toggle, .site-header .sound-toggle, .site-header .burger { width: 42px; height: 42px; border-radius: 12px; }
.site-header .burger { border: 1px solid var(--line); background: var(--surface); }
.site-header .burger span { left: 11px; right: 11px; }
.site-header .burger span:first-child { top: 16px; } .site-header .burger span:last-child { top: 24px; }
.menu-open .site-header .burger span:first-child, .menu-open .site-header .burger span:last-child { top: 20px; }
body[data-page="content-marketing"] .site-header:not(.is-scrolled) .burger { border-color: rgba(255,255,255,.2); }
@media (max-width: 1100px) { .site-header .main-nav { gap: 22px; } }

/* ---------- Client logos inside the hero (visible on first screen) ---------- */
.hero-content { bottom: 132px; }
.hero-logos { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 16px 0 18px; border-top: 1px solid rgba(255,255,255,.14); background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.45)); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hero-logos-label { padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); font-size: 13px; color: rgba(255,255,255,.72); margin-bottom: 12px; }
.hero-logos-label strong { color: #fff; font-weight: 600; }
.hero-logos .marquee-track { animation-duration: 70s; }
.hero-logos .logo-chip { padding: 6px 14px 6px 6px; border-radius: 12px; border-color: rgba(255,255,255,.14); background: rgba(255,255,255,.08); }
.hero-logos .logo-chip span { color: #fff; font-size: 14px; }
.hero-logos .logo-chip img { width: 44px; height: 36px; border-radius: 8px; background: #fff; filter: grayscale(1); opacity: .9; }
.hero-logos .logo-chip:hover { border-color: rgba(255,255,255,.35); box-shadow: none; transform: translateY(-2px); }
.hero-logos .logo-chip:hover img { filter: none; opacity: 1; }
[data-theme="dark"] .hero-logos .logo-chip { background: rgba(255,255,255,.08); }
@media (max-width: 760px) {
  .hero-content { bottom: 118px; }
  .hero-logos { padding: 12px 0 14px; }
  .hero-logos-label { font-size: 12px; margin-bottom: 10px; }
  .hero-logos .logo-chip img { width: 36px; height: 30px; }
  .hero-logos .logo-chip span { font-size: 13px; }
}
/* stack hero copy + client strip in normal flow at the bottom of the hero so they never overlap */
.hero-media { display: flex; flex-direction: column; justify-content: flex-end; }
.hero-content, .hero-logos { position: relative; inset: auto; bottom: auto; }
.hero-content { padding-bottom: 28px; }
@media (max-width: 760px) { .hero-content { bottom: auto; padding-bottom: 22px; } }
.hero-logos .marquee + .marquee { margin-top: 8px; }
.hero-logos .marquee--reverse .marquee-track { animation-duration: 80s; }
/* hero strip: logos only — grey until hover, full colour on hover */
.hero-logos .logo-chip { padding: 5px; gap: 0; }
.hero-logos .logo-chip span { display: none; }
.hero-logos .logo-chip img { width: 84px; height: 52px; border-radius: 9px; object-fit: contain; padding: 4px; background: #fff; filter: grayscale(1); opacity: .85; transition: filter .35s, opacity .35s; }
.hero-logos .logo-chip:hover img { filter: none; opacity: 1; }
@media (max-width: 760px) { .hero-logos .logo-chip img { width: 68px; height: 42px; } }

/* ---------- Why us: all cards visible in a grid (no carousel) ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why-grid .why-card { flex: none; user-select: auto; }
.why-grid .why-card--dark { grid-column: span 2; padding: clamp(28px, 4vw, 48px); }
.why-grid .nope-list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 32px; }
@media (max-width: 1024px) {
  .why-grid { grid-template-columns: 1fr 1fr; }
  .why-grid .why-card--dark { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-grid .nope-list { grid-template-columns: 1fr; }
}

/* ---------- Hero client strip: logos only on a light frosted band ---------- */
.hero-logos { background: rgba(255,255,255,.9); border-top: 1px solid rgba(255,255,255,.6); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); padding: 16px 0 18px; }
.hero-logos-label { color: #5f5f66; }
.hero-logos-label strong { color: #0b0b0c; }
.hero-logos .marquee-track { gap: 44px; align-items: center; }
.hero-logos .marquee + .marquee { margin-top: 14px; }
.client-logo { display: grid; place-items: center; height: 44px; flex: none; }
.client-logo img { height: 100%; width: auto; max-width: 132px; object-fit: contain; mix-blend-mode: multiply; filter: grayscale(1) contrast(1.05); opacity: .7; transition: filter .35s, opacity .35s, transform .35s var(--ease); }
.client-logo:hover img { filter: none; opacity: 1; transform: scale(1.08); }
@media (max-width: 760px) {
  .hero-logos .marquee-track { gap: 30px; }
  .client-logo { height: 34px; }
  .client-logo img { max-width: 100px; }
}

/* ---------- Why us card 01: mini store illustration ---------- */
.why-visual--store { display: grid; place-items: center; }
.store-card { position: relative; z-index: 1; width: 150px; background: var(--surface, #fff); border-radius: 14px; padding: 8px 8px 10px; box-shadow: 0 12px 28px -14px rgba(0,0,0,.3); display: grid; gap: 8px; transition: transform .7s var(--ease); }
.store-card--back { position: absolute; width: 130px; transform: translate(62px, -14px) rotate(8deg); opacity: .75; z-index: 0; padding-bottom: 60px; }
.store-img { display: grid; place-items: center; height: 88px; border-radius: 10px; background: linear-gradient(145deg, #00e38a, #00a877); }
.store-img--b { height: 70px; background: linear-gradient(145deg, #ffb03a, #ff7a00); }
.store-img svg { width: 34px; height: 34px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.store-meta b { display: block; font-size: 13px; color: var(--ink); line-height: 1.2; }
.store-meta small { font-size: 12px; color: var(--muted); }
.store-btn { display: block; text-align: center; font-size: 12px; font-weight: 600; padding: 7px 0; border-radius: 8px; background: var(--ink); color: var(--bg); }
.store-toast { position: absolute; z-index: 2; left: 14px; bottom: 16px; display: flex; align-items: center; gap: 8px; padding: 7px 12px 7px 7px; border-radius: 12px; background: var(--surface, #fff); box-shadow: 0 10px 24px -10px rgba(0,0,0,.35); font-size: 12px; line-height: 1.2; opacity: 0; transform: translateY(10px) scale(.95); }
.store-toast i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: var(--accent); }
.store-toast svg { width: 14px; height: 14px; fill: none; stroke: #04130d; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.store-toast b { display: block; color: var(--ink); }
.store-toast small { color: var(--muted); }
.in-view .store-toast { animation: toastIn 4s var(--ease) .8s infinite; }
.in-view .store-btn { animation: btnPress 4s ease .5s infinite; }
@keyframes toastIn { 0% { opacity: 0; transform: translateY(10px) scale(.95); } 12%, 80% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes btnPress { 0%, 8%, 100% { transform: none; } 4% { transform: scale(.94); } }
.why-card:hover .store-card:not(.store-card--back) { transform: translateY(-6px) rotate(-2deg); }
.why-card:hover .store-card--back { transform: translate(70px, -20px) rotate(12deg); }
@media (prefers-reduced-motion: reduce) { .in-view .store-toast { animation: none; opacity: 1; transform: none; } .in-view .store-btn { animation: none; } }
[data-theme="dark"] .store-card, [data-theme="dark"] .store-toast { background: var(--surface-2); }
.store-toast { left: 12px; top: 14px; bottom: auto; }

/* ---------- Discover our services: card grid with cursor spotlight ---------- */
.svc-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.svc-tile { --c: #00be62; --c2: #00e38a; position: relative; display: flex; flex-direction: column; min-height: 250px; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); overflow: hidden; isolation: isolate; transition: transform .5s var(--ease), border-color .4s, box-shadow .5s var(--ease); }
.svc-tile--tech { --c: #db2433; --c2: #ff6a5c; }
.svc-tile--content { --c: #c01873; --c2: #ff4fa0; }
.svc-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--c) 16%, transparent), transparent 60%); }
.svc-tile:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c) 45%, var(--line)); box-shadow: 0 24px 50px -28px color-mix(in srgb, var(--c) 60%, transparent); }
.svc-tile:hover::before { opacity: 1; }
.svc-tile-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: auto; }
.svc-tile-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(145deg, var(--c2), var(--c)); box-shadow: inset 0 2px 0 rgba(255,255,255,.3), 0 10px 20px -10px var(--c); transition: transform .6s var(--ease); }
.svc-tile-icon svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.svc-tile:hover .svc-tile-icon { transform: rotate(-8deg) scale(1.06); }
.svc-tile-num { font-family: var(--font-head); font-size: 13px; font-weight: 600; color: var(--muted); }
.svc-tile h4 { font-size: 21px; margin: 28px 0 8px; }
.svc-tile p { font-size: 14.5px; line-height: 1.55; }
.svc-tile-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 500; color: var(--c); }
.svc-tile-foot svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; transform: translateX(-6px); opacity: 0; transition: transform .45s var(--ease), opacity .45s; }
.svc-tile:hover .svc-tile-foot svg { transform: none; opacity: 1; }
[data-theme="dark"] .svc-tile-foot { color: var(--c2); }
@media (max-width: 1024px) { .svc-tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .svc-tiles { grid-template-columns: 1fr; } .svc-tile { min-height: 0; } .svc-tile h4 { margin-top: 20px; } }

/* ---------- Hero client strip: transparent, logos blended into the cover ---------- */
.hero-logos { background: linear-gradient(180deg, transparent, rgba(0,0,0,.55)); border-top: 0; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 10px 0 20px; }
.hero-logos-label { color: rgba(255,255,255,.75); }
.hero-logos-label strong { color: #fff; }
.client-logo { padding: 6px 10px; border-radius: 10px; transition: background .35s; }
.client-logo img { mix-blend-mode: screen; filter: grayscale(1) brightness(1.35); opacity: .85; }
.client-logo.is-dark img { filter: grayscale(1) invert(1) brightness(1.1); }
.client-logo:hover { background: #fff; }
.client-logo:hover img { mix-blend-mode: normal; filter: none; opacity: 1; transform: none; }
/* white logo by default, original colours on hover (both baked as images, no blend modes) */
.client-logo { position: relative; }
.client-logo img { mix-blend-mode: normal; transform: none; }
.client-logo .cl-white { filter: none; opacity: .88; }
.client-logo .cl-color { position: absolute; inset: 6px 10px; width: calc(100% - 20px); height: calc(100% - 12px); filter: none; opacity: 0; }
.client-logo:hover .cl-white { opacity: 0; }
.client-logo:hover .cl-color { opacity: 1; }

/* ==========================================================
   Typography: Switzer (Fontshare) across the site — lighter headings,
   tight tracking, in the style of neat.framer.website
   ========================================================== */
:root {
  --font-head: "Switzer", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Switzer", "Helvetica Neue", Arial, sans-serif;
}
body { font-feature-settings: "ss01", "cv11"; letter-spacing: -0.005em; }
h1, h2, h3, h4 { font-weight: 500; letter-spacing: -0.025em; }
.hero-title, .page-title, .post-title, .section-title, .scrub-text, .cta-inner h3, .footer-brand h3 { font-weight: 500; letter-spacing: -0.04em; }
.review p, .cm-banner h3, .cap-card h3, .feature-body h2, .value-hero b { font-weight: 500; }
.stat-num, .step-num, .bento-stat b { font-weight: 300; }
.brand-name { font-weight: 600; letter-spacing: -0.03em; }
.nav-link, .main-nav a, .btn { font-weight: 500; }
.svc-tile h4, .why-card h3, .post-card h3, .case-row-body h2 { font-weight: 500; }

/* ---------- Services dropdown: clean list, colour icons, no images ---------- */
.drop { width: 340px; }
.drop-list { display: grid; gap: 2px; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 30px 60px -24px rgba(0,0,0,.35); }
.drop-item { --c: #00be62; --c2: #00e38a; display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 12px; transition: background .25s; }
.drop-item--tech { --c: #db2433; --c2: #ff6a5c; }
.drop-item--content { --c: #c01873; --c2: #ff4fa0; }
.drop-item--strat { --c: #001893; --c2: #3a63ff; }
.drop-item--data { --c: #8a1ea0; --c2: #c84ae0; }
.drop-item:hover, .drop-item[aria-current="page"] { background: var(--soft); }
.drop-ic { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(145deg, var(--c2), var(--c)); transition: transform .4s var(--ease); }
.drop-ic svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.drop-item:hover .drop-ic { transform: rotate(-8deg) scale(1.05); }
.drop-item b { display: block; color: var(--ink); font-weight: 500; font-size: 15px; line-height: 1.25; }
.drop-item small { display: block; color: var(--muted); font-size: 13px; line-height: 1.3; }
.drop-item--sub { margin-left: 28px; padding: 8px 12px; position: relative; }
.drop-item--sub::before { content: ""; position: absolute; left: -12px; top: -2px; width: 10px; height: 50%; border-left: 1.5px solid var(--line); border-bottom: 1.5px solid var(--line); border-bottom-left-radius: 8px; }
.drop-item--sub .drop-ic { width: 30px; height: 30px; border-radius: 9px; }
.drop-item--sub .drop-ic svg { width: 15px; height: 15px; }
[data-theme="dark"] .drop-list { box-shadow: 0 30px 60px -24px rgba(0,0,0,.8); }

/* ---------- Client logos below the cover: original artwork, uncropped ---------- */
.clients-strip { padding: 44px 0 20px; }
.clients-strip .logos-label { text-align: center; font-size: 15px; margin-bottom: 26px; }
.clients-strip .logos-label strong { color: var(--ink); font-weight: 600; }
.clients-strip .marquee-track { gap: 14px; }
.clients-strip .marquee + .marquee { margin-top: 14px; }
.client-tile { flex: none; width: 96px; height: 96px; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.client-tile img { width: 100%; height: 100%; object-fit: contain; display: block; }
.client-tile:hover { transform: translateY(-4px); box-shadow: 0 16px 30px -18px rgba(0,0,0,.4); }
.hero-content { padding-bottom: clamp(28px, 5vw, 64px); }
@media (max-width: 760px) { .client-tile { width: 76px; height: 76px; border-radius: 14px; } .clients-strip { padding-top: 32px; } }

/* ==========================================================
   Brand colour: black (white in dark mode). Green is kept only for Book a Call.
   ========================================================== */
:root { --accent: #0b0b0c; --accent-dark: #0b0b0c; --call: #00cf94; --call-ink: #04130d; }
[data-theme="dark"] { --accent: #f2f2f3; --accent-dark: #f2f2f3; }

/* buttons: primary = black, Book a Call = green */
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover, a:hover > .btn-primary { background: #34343a; color: #fff; }
[data-theme="dark"] .btn-primary:hover, [data-theme="dark"] a:hover > .btn-primary { background: #c9c9ce; color: #0b0b0c; }
.btn-call, [data-theme="dark"] .btn-call { background: var(--call); color: var(--call-ink); }
.btn-call:hover, a:hover > .btn-call, [data-theme="dark"] .btn-call:hover, [data-theme="dark"] a:hover > .btn-call { background: #00b682; color: var(--call-ink); }

/* hero rotating word: white with a soft underline instead of green */
.rotator { color: #fff; }
.rot-word { background-image: linear-gradient(rgba(255,255,255,.35), rgba(255,255,255,.35)); background-repeat: no-repeat; background-size: 100% .08em; background-position: 0 92%; }

/* things that sat on dark surfaces and used the accent */
.nope-list span::after { background: #fff; }
.footer-cols a:hover, .footer-mail:hover { color: #fff; border-color: #fff; }
.pillar:hover .pillar-arrow { color: #fff; }
.chip--accent { background: #fff; color: #0b0b0c; }
.lb-close:hover, .lb-nav:hover { background: #fff; color: #0b0b0c; }
.cap-card:hover .cap-arrow { background: #fff; }
.cap-card:hover .cap-arrow svg { stroke: #0b0b0c; }
.cm-banner { --c-btn-bg: #fff; --c-btn-fg: #0b0b0c; --c-eyebrow: rgba(255,255,255,.8); }
.cm-banner--content { --c-eyebrow: #9ff0c8; }

/* icons that turned the accent on hover now go black (white in dark) with a contrasting stroke */
.svc-card:hover .svc-icon svg, .contact-card:hover .svc-icon svg { stroke: var(--bg); }
.store-toast svg { stroke: var(--bg); }
.sound-toggle.is-on .note { stroke: #fff; }
[data-theme="dark"] .sound-toggle.is-on .note { stroke: var(--ink); }

/* green tints → neutral */
.task-tag { background: rgba(0,0,0,.06); color: var(--ink); }
[data-theme="dark"] .task-tag { background: rgba(255,255,255,.08); }
.field input:focus, .field select:focus, .field textarea:focus, .search-field:focus-within { box-shadow: 0 0 0 4px color-mix(in srgb, var(--ink) 12%, transparent); }
.post-body a:hover { background: color-mix(in srgb, var(--ink) 8%, transparent); }
.why-visual--chart { color: var(--ink); }
.bubble::before { background: linear-gradient(135deg, #3a3a42, #8a8a93); }
.store-img { background: linear-gradient(145deg, #3a3a42, #0b0b0c); }
[data-theme="dark"] .store-img { background: linear-gradient(145deg, #5a5a62, #2a2a30); }

/* reviews: black highlight (white in dark) */
.review mark, [data-theme="dark"] .review mark { color: var(--ink); background-image: linear-gradient(color-mix(in srgb, var(--ink) 18%, transparent), color-mix(in srgb, var(--ink) 18%, transparent)); }
.review-dots button.is-active { background: color-mix(in srgb, var(--ink) 15%, transparent); }
.review-dots button i { background: var(--ink); }
.rot-word { justify-self: start; }
/* hero copy is above the fold: fade it in on load rather than waiting for scroll-reveal */
.is-loaded .hero .reveal { opacity: 1; transform: none; transition-delay: .35s; }
.is-loaded .hero .hero-actions.reveal { transition-delay: .5s; }

/* ---------- Reviews: calmer sizing ---------- */
.reviews { padding: clamp(64px, 8vw, 110px) 0; }
.reviews-title { font-size: clamp(26px, 3vw, 40px); margin-bottom: 36px; }
.review-stage { max-width: 860px; }
.review p { font-size: clamp(18px, 1.8vw, 26px); line-height: 1.4; letter-spacing: -0.012em; }
.review .qm { font-size: 1em; vertical-align: 0; }
.review figcaption { margin-top: 26px; }
.review figcaption img { width: 46px; height: 46px; }
.review figcaption b { font-size: 16px; }
.review figcaption small { font-size: 14px; }
.review-dots { margin-top: 32px; }
@media (max-width: 760px) { .review p { font-size: 17px; line-height: 1.45; } .reviews-title { font-size: 26px; } }

/* ==========================================================
   Why us — a colour per card (keynote palette)
   ========================================================== */
.why-grid .why-card { --wc: #00be62; --wc2: #00e38a; position: relative; overflow: hidden; }
.why-grid .why-card:nth-child(2) { --wc: #e11d74; --wc2: #ff5fa8; }
.why-grid .why-card:nth-child(3) { --wc: #2f55ff; --wc2: #6a8bff; }
.why-grid .why-card:nth-child(4) { --wc: #ff7a00; --wc2: #ffb03a; }
.why-grid .why-card:not(.why-card--dark)::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--wc), var(--wc2)); }
.why-grid .why-num { color: var(--wc); font-weight: 600; }
.why-grid .why-visual { background: linear-gradient(160deg, color-mix(in srgb, var(--wc) 14%, var(--soft)), var(--soft) 70%); }
.why-grid .why-card:hover { box-shadow: 0 28px 56px -30px color-mix(in srgb, var(--wc) 55%, transparent); }
/* illustrations pick up the card colour */
.store-img { background: linear-gradient(145deg, #00e38a, #00a877); }
[data-theme="dark"] .store-img { background: linear-gradient(145deg, #00e38a, #00a877); }
.store-img--b { background: linear-gradient(145deg, #ffb03a, #ff7a00); }
.store-toast i { background: #00be62; }
.store-toast svg { stroke: #fff; }
.bubble::before { background: linear-gradient(135deg, #ff5fa8, #8a1ea0); }
.bubble:nth-child(2n)::before { background: linear-gradient(135deg, #ffb03a, #e11d74); }
.bubble:nth-child(3n)::before { background: linear-gradient(135deg, #6a8bff, #c84ae0); }
.why-visual--chart { color: #2f55ff; }
[data-theme="dark"] .why-visual--chart { color: #6a8bff; }
.pill.is-on, [data-theme="dark"] .pill.is-on { background: linear-gradient(135deg, #ffb03a, #ff7a00); color: #fff; }
/* "Say no more to": dark card with a soft rainbow glow and colour strike-throughs */
.why-grid .why-card--dark { background: #0e0e11; }
.why-grid .why-card--dark::after { content: ""; position: absolute; width: 420px; height: 420px; right: -140px; top: -180px; border-radius: 50%; background: conic-gradient(from 90deg, #ff2d87, #ff9300, #f5e44a, #00be62, #3ff0c2, #4b6bff, #b32dcd, #ff2d87); filter: blur(80px); opacity: .35; pointer-events: none; }
.why-grid .why-card--dark > * { position: relative; z-index: 1; }
.nope-list li:nth-child(1) span::after { background: #ff2d87; }
.nope-list li:nth-child(2) span::after { background: #ff9300; }
.nope-list li:nth-child(3) span::after { background: #00be62; }
.nope-list li:nth-child(4) span::after { background: #4b6bff; }

/* ==========================================================
   Reviews — highlight colour per review
   ========================================================== */
.review { --hl: #059669; }
.review:nth-child(2) { --hl: #2f55ff; }
.review:nth-child(3) { --hl: #e11d74; }
[data-theme="dark"] .review { --hl: #34d399; }
[data-theme="dark"] .review:nth-child(2) { --hl: #7c9bff; }
[data-theme="dark"] .review:nth-child(3) { --hl: #ff6fae; }
.review mark, [data-theme="dark"] .review mark { color: var(--hl); background-image: linear-gradient(color-mix(in srgb, var(--hl) 28%, transparent), color-mix(in srgb, var(--hl) 28%, transparent)); }
.review-dots button { --hl: #059669; }
.review-dots button:nth-child(2) { --hl: #2f55ff; }
.review-dots button:nth-child(3) { --hl: #e11d74; }
.review-dots button.is-active { background: color-mix(in srgb, var(--hl) 22%, transparent); }
.review-dots button i { background: var(--hl); }
.site-footer { border-radius: 0; }
