/* =========================================================
   Sai Cheekireddy: site styles
   Black, white and blue-teal. Mobile first.
   ========================================================= */

:root {
  --ink: #141413;
  --ink-2: #1c1c1e;
  --paper: #ffffff;
  --mist: #f4f6f7;
  --line: #e3e7e9;
  --muted: #5b6468;
  --teal: #1e7bb2;        /* brand blue (logo arrow, links, accents) */
  --teal-ink: #165f8c;    /* brand blue, hover / pressed */
  --teal-bright: #1e7bb2; /* same brand blue on black */
  --teal-tint: #e8f2f8;
  --radius: 20px;
  --radius-sm: 12px;
  --max: 1200px;
  --gutter: 20px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --display: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
@media (min-width: 768px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.65 var(--body); letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; letter-spacing: -.03em; line-height: 1.08; margin: 0; text-wrap: balance; }
::selection { background: var(--teal); color: #fff; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 .75rem/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin: 0 0 18px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; }
.dark .eyebrow { color: var(--teal-bright); }
.display { font-size: clamp(2.4rem, 7vw, 5rem); line-height: 1.02; letter-spacing: -.04em; }
.h2 { font-size: clamp(2rem, 5vw, 3.4rem); }
.h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); letter-spacing: -.02em; }
.lede { font-size: clamp(1.1rem, 2vw, 1.3rem); line-height: 1.55; color: var(--muted); max-width: 60ch; }
.dark .lede { color: #b7c0c3; }
.muted { color: var(--muted); }
.hl { font-style: normal; background: linear-gradient(transparent 68%, rgba(30,123,178,.38) 68%, rgba(30,123,178,.38) 92%, transparent 92%); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px;
  padding: 12px 22px; border-radius: 999px; border: 1.5px solid var(--ink);
  background: var(--ink); color: #fff; font: 600 .975rem/1 var(--body); text-decoration: none; letter-spacing: -.005em;
  transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn:hover { background: var(--teal); border-color: var(--teal); transform: translateY(-1px); }
.btn .arr { transition: transform .2s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-teal { background: var(--teal); border-color: var(--teal); }
.btn-teal:hover { background: var(--teal-ink); border-color: var(--teal-ink); }
.dark .btn { background: #fff; color: var(--ink); border-color: #fff; }
.dark .btn:hover { background: var(--teal-bright); border-color: var(--teal-bright); color: var(--ink); }
.dark .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.dark .btn-outline:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link { color: var(--teal); font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.link:hover { color: var(--teal-ink); text-decoration: underline; text-underline-offset: 4px; }
.dark .link { color: var(--teal-bright); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .25s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 1.05rem/1 var(--display); letter-spacing: -.02em; }
.brand-mark { width: 30px; height: 30px; border-radius: 9px; background: var(--ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: .8rem; letter-spacing: 0; }
.brand-mark span { color: var(--teal-bright); }
.nav { display: none; }
.nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav a { display: block; padding: 8px 12px; border-radius: 999px; text-decoration: none; font-size: .925rem; font-weight: 500; color: var(--ink-2); transition: background .2s, color .2s; }
.nav a:hover { background: var(--mist); }
.nav a[aria-current="page"] { color: var(--teal); }
.header-cta { display: none; }
@media (min-width: 960px) {
  .nav { display: block; }
  .header-cta { display: inline-flex; min-height: 40px; padding: 8px 18px; font-size: .9rem; }
  .menu-btn { display: none !important; }
}
.menu-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff; font: 600 .9rem var(--body); color: var(--ink); cursor: pointer;
}
.menu-btn .bars { width: 16px; height: 10px; position: relative; }
.menu-btn .bars::before, .menu-btn .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform .25s var(--ease), top .25s; }
.menu-btn .bars::before { top: 0; } .menu-btn .bars::after { top: 8px; }
.menu-open .menu-btn .bars::before { top: 4px; transform: rotate(45deg); }
.menu-open .menu-btn .bars::after { top: 4px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 68px 0 0 0; z-index: 49; background: var(--ink); color: #fff;
  padding: 24px var(--gutter) 40px; display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  overflow-y: auto;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; }
.menu-open { overflow: hidden; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li a { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); text-decoration: none; font: 700 1.9rem/1.1 var(--display); letter-spacing: -.03em; }
.mobile-menu li a[aria-current="page"] { color: var(--teal-bright); }
.mobile-menu .btn-row { margin-top: 32px; }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: 88px 0; }
@media (min-width: 768px) { .section { padding: 120px 0; } }
.section-tight { padding: 56px 0; }
.mist { background: var(--mist); }
.dark { background: var(--ink); color: #fff; }
.section-head { display: grid; gap: 18px; margin-bottom: 48px; }
@media (min-width: 900px) { .section-head.split { grid-template-columns: 1fr 1fr; align-items: end; gap: 48px; } .section-head.split .lede { margin: 0; } }

/* ---------- Home hero ---------- */
.hero { padding: 40px 0 0; overflow: hidden; }
.hero-grid { display: grid; gap: 32px; align-items: end; }
@media (min-width: 960px) { .hero { padding-top: 56px; } .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 24px; } }
.hero-copy { padding-bottom: 8px; }
@media (min-width: 960px) { .hero-copy { padding-bottom: 88px; } }
.hero-copy .lede { margin: 24px 0 32px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.hero-tags li { font-size: .8rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--teal-tint); color: var(--teal-ink); }
.hero-photo { position: relative; margin: 0 auto; width: min(100%, 520px); }
.hero-photo::before {
  content: ""; position: absolute; left: 6%; right: 6%; bottom: 0; top: 18%;
  background: var(--mist); border-radius: 999px 999px 0 0;
}
.hero-photo img { position: relative; width: 100%; mix-blend-mode: multiply; -webkit-mask-image: linear-gradient(#000 85%, transparent); mask-image: linear-gradient(#000 85%, transparent); }
.hero-photo .badge {
  position: absolute; right: 0; top: 30%; z-index: 2; background: #fff; border-radius: 16px; padding: 12px 14px;
  box-shadow: 0 12px 40px -12px rgba(0,0,0,.25); font-size: .8rem; line-height: 1.3; max-width: 190px;
}
.hero-photo .badge strong { display: block; font: 700 1.5rem/1 var(--display); letter-spacing: -.03em; color: var(--teal); margin-bottom: 4px; }
.hero-photo .badge.b2 { left: 0; right: auto; top: 62%; }
@media (max-width: 520px) { .hero-photo .badge { padding: 10px 12px; max-width: 150px; font-size: .72rem; } .hero-photo .badge strong { font-size: 1.2rem; } }

/* ---------- Logo marquee ---------- */
.logos { background: var(--ink); color: #fff; padding: 36px 0 40px; overflow: hidden; }
.logos .label { text-align: center; font: 600 .75rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: #9aa6aa; margin: 0 0 26px; }
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 64px; padding-right: 64px; }
.marquee-group img { height: 34px; width: auto; opacity: .72; transition: opacity .25s, transform .25s var(--ease); }
.marquee-group img:hover { opacity: 1; transform: scale(1.05); }
@media (min-width: 768px) { .marquee-group { gap: 88px; padding-right: 88px; } .marquee-group img { height: 40px; } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Work cards ---------- */
.work-grid { display: grid; gap: 20px; }
@media (min-width: 860px) { .work-grid { grid-template-columns: 1fr 1fr; gap: 24px; } .work-card.feature { grid-column: 1 / -1; grid-template-columns: 1.2fr 1fr; grid-template-rows: none; } .work-card.feature .work-media { aspect-ratio: auto; min-height: 320px; } .work-card.feature .work-body { padding: 48px; justify-content: center; } }
.work-card {
  display: grid; grid-template-rows: auto 1fr; border-radius: var(--radius); overflow: hidden; background: var(--paper);
  border: 1px solid var(--line); text-decoration: none; color: inherit; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}

.work-card:hover { transform: translateY(-4px); box-shadow: 0 24px 60px -28px rgba(10,10,10,.35); border-color: transparent; }
.work-media { aspect-ratio: 5 / 3; overflow: hidden; background: var(--mist); }

.work-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.work-card:hover .work-media img { transform: scale(1.04); }
.work-body { padding: 26px 24px 28px; display: flex; flex-direction: column; gap: 10px; }
.work-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); }
.work-meta .co { color: var(--muted); letter-spacing: .02em; text-transform: none; font-weight: 500; font-size: .9rem; }
.work-card h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); letter-spacing: -.025em; }
.work-card p { color: var(--muted); margin: 0; }
.work-card .link { margin-top: auto; padding-top: 10px; }

/* ---------- Pillars ---------- */
.pillars { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 700px) { .pillars { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .pillars { grid-template-columns: repeat(4, 1fr); } }
.pillar { background: var(--paper); padding: 28px 24px 32px; transition: background .3s; }
.pillar:hover { background: var(--teal-tint); }
.pillar .num { font: 700 .85rem/1 var(--display); color: var(--teal); margin-bottom: 40px; display: block; }
.pillar h3 { font-size: 1.25rem; letter-spacing: -.02em; margin-bottom: 10px; }
.pillar p { color: var(--muted); font-size: .975rem; margin: 0; }

/* ---------- Stats ---------- */
.stats { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat strong { display: block; font: 700 clamp(2.4rem, 6vw, 3.6rem)/1 var(--display); letter-spacing: -.04em; margin-bottom: 8px; }
.dark .stat strong { color: #fff; }
.stat strong em { font-style: normal; color: var(--teal-bright); }
.stat > span { color: #a6b1b4; font-size: .95rem; line-height: 1.4; display: block; max-width: 24ch; }

/* ---------- Quotes ---------- */
.quote-feature { display: grid; gap: 28px; }
.quote-feature blockquote { margin: 0; font: 600 clamp(1.5rem, 3.6vw, 2.5rem)/1.2 var(--display); letter-spacing: -.025em; max-width: 30ch; }
.quote-feature blockquote::before { content: "“"; display: block; font-size: 4rem; line-height: .6; color: var(--teal); margin-bottom: 8px; }
.cite { font-size: .95rem; color: var(--muted); }
.cite strong { color: var(--ink); display: block; font-weight: 600; }
.quote-grid { display: grid; gap: 20px; }
@media (min-width: 760px) { .quote-grid { grid-template-columns: 1fr 1fr; } }
.quote-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; display: flex; flex-direction: column; gap: 22px; background: var(--paper); }
.quote-card blockquote { margin: 0; font-size: 1.075rem; line-height: 1.6; }
.quote-card .cite { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.quote-card.big { background: var(--ink); color: #fff; border-color: var(--ink); }
.quote-card.big blockquote { font: 600 clamp(1.3rem, 2.8vw, 1.8rem)/1.3 var(--display); letter-spacing: -.02em; }
.quote-card.big .cite { border-color: rgba(255,255,255,.15); color: #a6b1b4; }
.quote-card.big .cite strong { color: #fff; }
@media (min-width: 760px) { .quote-card.span { grid-column: 1 / -1; } }

/* ---------- Two paths (hire / consult) ---------- */
.paths { display: grid; gap: 20px; }
@media (min-width: 860px) { .paths { grid-template-columns: 1fr 1fr; } }
.path { border-radius: var(--radius); padding: 34px 28px; display: flex; flex-direction: column; gap: 16px; }
.path.light { background: var(--paper); border: 1px solid var(--line); }
.path.teal { background: var(--teal); color: #fff; }
.path.teal .eyebrow { color: #e8f2f8; }
.path.teal .btn { background: #fff; color: var(--ink); border-color: #fff; }
.path.teal .btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.path h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.path ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.path li { padding-left: 26px; position: relative; }
.path li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 2px; background: currentColor; opacity: .6; }
.path .btn-row { margin-top: auto; padding-top: 8px; }

/* ---------- Page header ---------- */
.page-head { padding: 56px 0 40px; }
@media (min-width: 768px) { .page-head { padding: 88px 0 56px; } }
.page-head .lede { margin-top: 22px; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 26px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--teal); }

/* ---------- Case study ---------- */
.cs-meta { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--line); }
@media (min-width: 860px) { .cs-meta { grid-template-columns: repeat(4, 1fr); } }
.cs-meta dt { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.cs-meta dd { margin: 0; font-weight: 600; line-height: 1.4; }
.cs-cover { border-radius: var(--radius); overflow: hidden; background: var(--mist); }
.cs-cover img { width: 100%; }
.prose { max-width: 720px; margin: 0 auto; font-size: 1.1rem; line-height: 1.75; }
.prose h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin: 2.2em 0 .6em; letter-spacing: -.025em; }
.prose h3 { font-size: 1.3rem; margin: 1.8em 0 .5em; letter-spacing: -.02em; }
.prose p { margin: 0 0 1.15em; }
.prose a { color: var(--teal); text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose .callout {
  margin: 1.6em 0; padding: 22px 24px; border-left: 3px solid var(--teal); background: var(--teal-tint); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font: 600 1.25rem/1.4 var(--display); letter-spacing: -.015em; color: var(--ink);
}
.prose .pull { margin: 2em 0; font: 700 clamp(1.5rem, 3.5vw, 2.1rem)/1.2 var(--display); letter-spacing: -.03em; color: var(--ink); }
.prose .pull::before { content: ""; display: block; width: 44px; height: 3px; background: var(--teal); margin-bottom: 18px; }
.prose figure, .figure { margin: 2.2em 0; }
.prose figure.wide { margin-left: calc(50% - min(50vw, 560px) + var(--gutter)); margin-right: calc(50% - min(50vw, 560px) + var(--gutter)); }
.prose figure img, .figure img { width: 100%; border-radius: var(--radius-sm); background: var(--mist); }
.prose figcaption, .figure figcaption { font-size: .9rem; color: var(--muted); margin-top: 12px; line-height: 1.5; }
.steps { display: grid; gap: 12px; margin: 1.6em 0; counter-reset: step; }
@media (min-width: 640px) { .steps.three { grid-template-columns: repeat(3, 1fr); } }
.steps > div { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 18px 20px; font-size: .975rem; line-height: 1.55; }
.steps > div strong { display: block; font: 700 1.05rem/1.2 var(--display); margin-bottom: 6px; color: var(--teal); }
.loop { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 1.4em 0; font-size: .85rem; font-weight: 600; }
.loop span { background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 999px; }
.loop i { font-style: normal; color: var(--teal); }

.owned { display: grid; gap: 12px; }
@media (min-width: 700px) { .owned { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .owned.four { grid-template-columns: repeat(4, 1fr); } .owned.three { grid-template-columns: repeat(3, 1fr); } }
.owned div { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-sm); padding: 22px 20px; }
.owned h3 { font-size: 1.05rem; letter-spacing: -.01em; margin-bottom: 8px; color: var(--teal-bright); font-family: var(--display); }
.owned p { margin: 0; color: #b7c0c3; font-size: .95rem; line-height: 1.55; }

.next-grid { display: grid; gap: 20px; }
@media (min-width: 760px) { .next-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- About ---------- */
.about-hero { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .about-hero { grid-template-columns: 1.1fr .9fr; gap: 64px; } }
.about-hero .portrait { border-radius: var(--radius); overflow: hidden; background: var(--mist); max-width: 520px; width: 100%; justify-self: center; }
.about-hero .portrait img { mix-blend-mode: multiply; }
.about-hero .portrait img { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; object-position: 50% 20%; }
.facts { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 700px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.facts div { background: var(--paper); padding: 20px; }
.facts dt { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 6px; }
.facts dd { margin: 0; font-weight: 600; line-height: 1.4; }
.split { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } .split.flip > :first-child { order: 2; } }
.split .h2 { margin-bottom: 24px; }
.photo-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.photo-stack figure { margin: 0; }
.photo-stack img { width: 100%; border-radius: var(--radius-sm); object-fit: cover; aspect-ratio: 4 / 5; background: var(--mist); }
.photo-stack .tall img { aspect-ratio: 3 / 4.6; }
.photo-stack .wide { grid-column: 1 / -1; }
.photo-stack .wide img { aspect-ratio: 16 / 10; }
.photo-stack figcaption { font-size: .8rem; color: var(--muted); margin-top: 8px; line-height: 1.4; }
.dark .photo-stack figcaption { color: #9aa6aa; }

/* ---------- Certifications ---------- */
.cert-grid { display: grid; gap: 20px; }
@media (min-width: 760px) { .cert-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .cert-grid { grid-template-columns: repeat(3, 1fr); } }
.cert { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; background: var(--paper); transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.cert:hover { transform: translateY(-3px); box-shadow: 0 20px 50px -30px rgba(10,10,10,.35); }
.cert .img { background: var(--mist); padding: 18px; }
.cert .img img { width: 100%; border-radius: 6px; box-shadow: 0 6px 20px -10px rgba(0,0,0,.25); }
.cert-body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 10px; }
.cert-body .issuer { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.cert-body h2 { font-size: 1.3rem; letter-spacing: -.02em; }
.cert-body p { font-size: .95rem; color: var(--muted); margin: 0; line-height: 1.6; }
.cert-body details summary { cursor: pointer; font-weight: 600; font-size: .95rem; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.cert-body details summary::-webkit-details-marker { display: none; }
.cert-body details summary::after { content: "+"; color: var(--teal); font-size: 1.2rem; line-height: 1; }
.cert-body details[open] summary::after { content: "–"; }
.cert-body details p { margin-top: 8px; }
.issuer-strip { display: flex; flex-wrap: wrap; gap: 8px; }
.issuer-strip span { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .9rem; font-weight: 500; background: var(--paper); }

/* ---------- Blog ---------- */
.post-grid { display: grid; gap: 24px; }
@media (min-width: 860px) { .post-grid { grid-template-columns: 1fr 1fr; } }
.post-card { text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 14px; }
.post-card .media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; background: var(--mist); }
.post-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover .media img { transform: scale(1.04); }
.post-card h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); letter-spacing: -.025em; }
.post-card:hover h2 { color: var(--teal); }
.post-meta { display: flex; gap: 12px; font-size: .85rem; color: var(--muted); }
.post-meta .cat { color: var(--teal); font-weight: 600; }
.download {
  display: grid; gap: 20px; align-items: center; background: var(--ink); color: #fff; border-radius: var(--radius); padding: 30px 26px; margin: 2.4em 0;
}
@media (min-width: 700px) { .download { grid-template-columns: 1fr auto; padding: 36px 40px; } }
.download h2 { font-size: 1.5rem; margin: 0 0 6px !important; }
.download p { color: #b7c0c3; margin: 0; font-size: 1rem; }
.sources { font-size: .9rem; color: var(--muted); word-break: break-word; }

/* ---------- Resume ---------- */
.resume-grid { display: grid; gap: 48px; }
@media (min-width: 960px) { .resume-grid { grid-template-columns: 280px 1fr; gap: 72px; } .resume-side { position: sticky; top: 100px; align-self: start; } }
.resume-side h2 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-family: var(--body); margin: 0 0 12px; }
.resume-side ul { list-style: none; margin: 0 0 32px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.resume-side li { font-size: .875rem; background: var(--mist); border-radius: 999px; padding: 5px 12px; }
.job { padding: 0 0 36px; margin: 0 0 36px; border-bottom: 1px solid var(--line); }
.job:last-child { border-bottom: 0; }
.job-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; align-items: baseline; margin-bottom: 4px; }
.job h3 { font-size: 1.35rem; letter-spacing: -.02em; }
.job .when { font-size: .9rem; color: var(--muted); white-space: nowrap; }
.job .where { color: var(--teal); font-weight: 600; margin: 0 0 14px; }
.job ul { margin: 0; padding-left: 1.1em; color: var(--ink-2); }
.job li { margin-bottom: 8px; line-height: 1.6; }
.job .more { margin-top: 12px; }

/* ---------- CTA band + footer ---------- */
.cta-band { padding: 96px 0 0; }
.site-footer { background: var(--ink); color: #fff; padding: 88px 0 32px; }
.footer-cta { display: grid; gap: 28px; padding-bottom: 64px; border-bottom: 1px solid rgba(255,255,255,.12); }
@media (min-width: 900px) { .footer-cta { grid-template-columns: 1.3fr 1fr; align-items: end; } }
.footer-cta h2 { font-size: clamp(3rem, 10vw, 6.5rem); letter-spacing: -.05em; line-height: .95; }
.footer-cta h2 em { font-style: normal; color: var(--teal-bright); }
.footer-cta p { color: #b7c0c3; font-size: 1.15rem; max-width: 40ch; }
.email-big { display: inline-block; font: 600 clamp(1.15rem, 2.6vw, 1.6rem)/1.2 var(--display); letter-spacing: -.02em; color: #fff; text-decoration: none; border-bottom: 2px solid var(--teal-bright); padding-bottom: 4px; margin-bottom: 22px; word-break: break-all; }
.email-big:hover { color: var(--teal-bright); }
.footer-bottom { display: grid; gap: 20px; padding-top: 28px; font-size: .9rem; color: #9aa6aa; }
@media (min-width: 860px) { .footer-bottom { grid-template-columns: 1fr auto; align-items: center; } }
.footer-bottom nav ul { display: flex; flex-wrap: wrap; gap: 6px 20px; list-style: none; margin: 0; padding: 0; }
.footer-bottom a { color: #d9e0e2; text-decoration: none; }
.footer-bottom a:hover { color: var(--teal-bright); }
.stars { color: #e4002b; letter-spacing: .15em; }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; flex-wrap: wrap; width: 100%; justify-content: center; }
  .marquee-group[aria-hidden="true"] { display: none; }
  .marquee-group { flex-wrap: wrap; justify-content: center; gap: 32px 48px; padding: 0; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  * { transition-duration: .01ms !important; }
}

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }

[hidden] { display: none !important; }

/* ---------- Logo tiles (home) ---------- */
.logos { padding: 56px 0 64px; }
.logos-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; margin-bottom: 24px; }
.logos .label { text-align: left; margin: 0; }
.logos-hint { margin: 0; font-size: .85rem; color: #7d898d; }
.logo-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 900px) { .logo-grid { grid-template-columns: repeat(4, 1fr); } }
.logo-grid li { display: flex; }
.logo-tile {
  position: relative; flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 22px;
  min-height: 150px; padding: 26px 20px 20px; background: var(--ink); color: #fff; text-decoration: none; overflow: hidden;
  transition: background .35s var(--ease);
}
@media (min-width: 900px) { .logo-tile { min-height: 190px; padding: 32px 26px 24px; } }
.logo-tile img { height: 30px; width: auto; max-width: 100%; object-fit: contain; object-position: left center; opacity: .82; transition: opacity .3s, transform .45s var(--ease); }
@media (min-width: 900px) { .logo-tile img { height: 36px; } }
.logo-role { display: block; font: 600 .95rem/1.3 var(--display); letter-spacing: -.01em; color: #fff; }
.logo-meta { display: block; font-size: .8rem; color: #8a979b; margin-top: 4px; transition: color .3s; }
.logo-tile > span:first-of-type { margin-top: auto; }
a.logo-tile::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--teal-bright);
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
a.logo-tile:hover, a.logo-tile:focus-visible { background: #121a1c; }
a.logo-tile:hover img, a.logo-tile:focus-visible img { opacity: 1; transform: translateY(-3px); }
a.logo-tile:hover .logo-meta, a.logo-tile:focus-visible .logo-meta { color: var(--teal-bright); }
a.logo-tile:hover::after, a.logo-tile:focus-visible::after { transform: scaleX(1); }
div.logo-tile img { opacity: .6; }
.logo-tile { align-items: center; text-align: center; }
.logo-tile img { object-position: center; }
.logos-note { margin: 18px 0 0; font-size: .875rem; color: #8a979b; }

/* ---------- Gloss on buttons ---------- */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after {
  content: ""; position: absolute; top: -20%; bottom: -20%; left: 0; width: 45%; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 0%, rgba(255,255,255,.0) 20%, rgba(255,255,255,.45) 50%, rgba(255,255,255,0) 80%, transparent 100%);
  transform: translateX(-160%) skewX(-18deg); transition: transform .75s var(--ease);
}
.btn-outline::after, .dark .btn::after, .path.teal .btn::after { background: linear-gradient(105deg, transparent 0%, rgba(30,123,178,0) 20%, rgba(30,123,178,.35) 50%, rgba(30,123,178,0) 80%, transparent 100%); }
.btn:hover::after, .btn:focus-visible::after { transform: translateX(330%) skewX(-18deg); }

/* ---------- Chrome accents ---------- */
:root { --chrome-x: 0%; }
.chrome {
  background-image: linear-gradient(100deg, #8d99a2 0%, #f5f8fa 18%, #a4b0b8 34%, #ffffff 48%, #7c8992 64%, #e9eef1 80%, #9aa6ae 100%);
  background-size: 260% 100%; background-position: var(--chrome-x) 50%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.chrome-line { position: relative; }
.chrome-line::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; pointer-events: none;
  background-image: linear-gradient(90deg, transparent, #7c8992 15%, #f5f8fa 35%, #9aa6ae 55%, #ffffff 70%, #7c8992 85%, transparent);
  background-size: 260% 100%; background-position: var(--chrome-x) 0; opacity: .7;
}

/* ---------- Logo tiles v2 ---------- */
@media (min-width: 900px) { .logo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 899px) { .logo-grid li:last-child:nth-child(odd) { grid-column: 1 / -1; } }
.logo-tile .ext { position: absolute; top: 12px; right: 14px; font-size: .85rem; color: #6f7c80; transition: color .3s, transform .3s var(--ease); }
a.logo-tile:hover .ext, a.logo-tile:focus-visible .ext { color: var(--teal-bright); transform: translate(2px, -2px); }
.logo-word { display: block; height: 30px; font: 700 1.55rem/30px var(--display); letter-spacing: -.04em; color: #fff; opacity: .82; transition: opacity .3s, transform .45s var(--ease); }
@media (min-width: 900px) { .logo-word { height: 36px; line-height: 36px; font-size: 1.8rem; } }
a.logo-tile:hover .logo-word { opacity: 1; transform: translateY(-3px); }
.logos-note { max-width: 70ch; line-height: 1.55; }

/* ---------- Hero highlight draws in ---------- */
.hl-draw { background-repeat: no-repeat; background-size: 0% 100%; animation: hl-draw 1.1s var(--ease) .65s forwards; }
@keyframes hl-draw { to { background-size: 100% 100%; } }

/* ---------- Pillars stack out from behind each other ---------- */
.pillars.stack-in { isolation: isolate; }
.stack-in .pillar { position: relative; }
.stack-in .pillar:nth-child(1) { z-index: 4; } .stack-in .pillar:nth-child(2) { z-index: 3; }
.stack-in .pillar:nth-child(3) { z-index: 2; } .stack-in .pillar:nth-child(4) { z-index: 1; }
.js .stack-in .pillar { opacity: 0; transform: translateY(-100%); transition: transform .8s var(--ease), opacity .5s var(--ease); }
.js .stack-in .pillar:nth-child(1) { transform: translateY(28px); }
.js .stack-in.in .pillar { opacity: 1; transform: none; }
.js .stack-in.in .pillar:nth-child(2) { transition-delay: .32s; }
.js .stack-in.in .pillar:nth-child(3) { transition-delay: .64s; }
.js .stack-in.in .pillar:nth-child(4) { transition-delay: .96s; }
@media (min-width: 700px) and (max-width: 1079px) {
  .js .stack-in .pillar:nth-child(2), .js .stack-in .pillar:nth-child(4) { transform: translateX(-100%); }
}
@media (min-width: 1080px) {
  .js .stack-in .pillar:nth-child(n+2) { transform: translateX(-100%); }
}
@media (prefers-reduced-motion: reduce) { .js .stack-in .pillar { opacity: 1 !important; transform: none !important; } }

/* ---------- Stats with chrome numbers ---------- */
.dark .stat strong .chrome { display: inline-block; }

/* ---------- Modal ---------- */
.modal { border: 0; padding: 0; margin: auto; width: min(560px, calc(100% - 24px)); max-height: calc(100dvh - 24px); border-radius: 22px; background: var(--paper); color: var(--ink); box-shadow: 0 30px 80px -20px rgba(0,0,0,.45); overflow: auto; }
.modal::backdrop { background: rgba(6,12,18,.55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
@media (max-width: 599px) { .modal { width: 100%; max-width: 100%; margin: auto 0 0; border-radius: 22px 22px 0 0; max-height: 92dvh; } }
.modal[open] { animation: modal-in .35s var(--ease); }
@keyframes modal-in { from { opacity: 0; transform: translateY(16px); } }
.modal-inner { padding: 28px 24px 26px; }
@media (min-width: 600px) { .modal-inner { padding: 34px 34px 30px; } }
.modal-top { display: flex; justify-content: space-between; align-items: start; gap: 16px; margin-bottom: 6px; }
.modal h2 { font-size: 1.6rem; letter-spacing: -.025em; }
.modal-close { flex: none; width: 38px; height: 38px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-size: 1.2rem; line-height: 1; cursor: pointer; color: var(--ink); }
.modal-close:hover { border-color: var(--ink); }
.modal .sub { color: var(--muted); margin: 0 0 22px; font-size: .975rem; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 600; font-size: .9rem; }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; font: 400 1rem/1.4 var(--body); color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px var(--teal-tint); }
.field-row { display: grid; gap: 0 14px; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0 0 16px; }
.chips legend { font-weight: 600; font-size: .9rem; margin-bottom: 8px; padding: 0; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); font-size: .9rem; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.chips input:checked + span { background: var(--teal); border-color: var(--teal); color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; }
.form-status { margin: 12px 0 0; font-size: .95rem; }
.form-status.ok { color: #1a7f4b; } .form-status.err { color: #b42318; }
.modal .btn { width: 100%; }

/* ---------- Resume chooser ---------- */
.choose { display: grid; gap: 16px; }
@media (min-width: 760px) { .choose { grid-template-columns: 1fr 1fr; } }
.choice { display: flex; flex-direction: column; gap: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; transition: border-color .3s, box-shadow .3s var(--ease), transform .3s var(--ease); }
.choice:hover { border-color: var(--teal); box-shadow: 0 20px 50px -30px rgba(30,123,178,.45); transform: translateY(-3px); }
.choice h3 { font-size: 1.5rem; letter-spacing: -.02em; }
.choice p { margin: 0; color: var(--muted); }
.choice .btn-row { margin-top: auto; padding-top: 8px; }
.pillars.stack-in { background: transparent; border: 0; gap: 0; border-radius: var(--radius); }
.stack-in .pillar { border: 1px solid var(--line); margin: -1px 0 0 -1px; }
@media (min-width: 700px) { .pillars.stack-in { padding: 1px 0 0 1px; } }

/* =========================================================
   Native diagrams for case studies
   ========================================================= */
.diagram { margin: 2.6em 0; }
.diagram figcaption { font-size: .9rem; color: var(--muted); margin-top: 14px; line-height: 1.5; }
.prose .diagram h4 { font-family: var(--display); }

/* ---- Process (4 steps) ---- */
.process { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: p; }
@media (min-width: 760px) { .process { grid-template-columns: repeat(4, 1fr); gap: 10px; } }
.process > li { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 18px 20px; overflow: hidden; }
.process > li::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--line); }
.process > li::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--teal); transform: scaleX(0); transform-origin: left; animation: p-fill 8s var(--ease) infinite; animation-delay: calc(var(--i) * 2s); }
@keyframes p-fill { 0% { transform: scaleX(0); } 22% { transform: scaleX(1); } 88% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
.process .pnum { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 999px; background: var(--ink); color: #fff; font: 700 .8rem/1 var(--display); margin-bottom: 12px; }
.process h4 { font-size: 1.1rem; letter-spacing: -.015em; margin: 0 0 8px; }
.process ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .925rem; line-height: 1.4; color: var(--ink-2); }
.process ul li { padding-left: 14px; position: relative; margin: 0; }
.process ul li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.process > li:not(:last-child) .to { display: none; }
@media (min-width: 760px) {
  .process > li:not(:last-child) .to { display: grid; place-items: center; position: absolute; right: -15px; top: 18px; z-index: 2; width: 22px; height: 22px; border-radius: 50%; background: var(--teal); color: #fff; font-size: .75rem; }
  .process > li { overflow: visible; }
  .process > li::before, .process > li::after { border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
}

/* ---- Flywheel ---- */
.flywheel-wrap { display: grid; gap: 28px; align-items: center; background: var(--mist); border-radius: var(--radius); padding: 24px 16px 28px; }
@media (min-width: 860px) { .flywheel-wrap { grid-template-columns: 1.15fr .85fr; padding: 36px; gap: 36px; } }
.flywheel { position: relative; width: min(100%, 520px); aspect-ratio: 1; margin: 0 auto; }
.flywheel svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.fw-ring { fill: none; stroke: #c9d3d9; stroke-width: .5; stroke-dasharray: 2.2 2.2; transform-box: view-box; transform-origin: 50% 50%; animation: fw-spin 40s linear infinite; }
.fw-arcs path { fill: none; stroke: var(--ink); stroke-width: .9; stroke-linecap: round; marker-end: url(#fw-head); }
.fw-orbit { transform-box: view-box; transform-origin: 50% 50%; animation: fw-spin 12s linear infinite; }
.fw-dot { fill: var(--teal); }
.fw-glow { fill: var(--teal); opacity: .22; }
@keyframes fw-spin { to { transform: rotate(360deg); } }
.fw-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 34%; text-align: center; font: 700 clamp(.7rem, 2.6vw, 1rem)/1.2 var(--display); letter-spacing: -.01em; color: var(--ink); }
.fw-center small { display: block; font: 500 clamp(.58rem, 1.9vw, .72rem)/1.3 var(--body); color: var(--muted); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 4px; }
.fw-node {
  position: absolute; transform: translate(-50%, -50%); width: 30%; padding: 7px 8px; text-align: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  font: 600 clamp(.6rem, 2.25vw, .8rem)/1.25 var(--body); color: var(--ink);
  animation: fw-pulse 12s linear infinite; animation-delay: calc(var(--i) * 2s);
}
@keyframes fw-pulse { 0%, 13% { border-color: var(--teal); box-shadow: 0 0 0 4px var(--teal-tint); color: var(--teal-ink); } 18%, 100% { border-color: var(--line); box-shadow: none; color: var(--ink); } }
.fw-out { display: grid; gap: 10px; }
.fw-out-label { font: 600 .75rem/1.2 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 4px; }
.fw-route { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; }
.fw-route .ic { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); color: var(--ink); font-size: .85rem; }
.fw-route strong { display: block; font: 700 1rem/1.25 var(--display); letter-spacing: -.01em; }
.fw-route span.d { display: block; font-size: .875rem; color: var(--muted); margin-top: 2px; line-height: 1.4; }
.fw-route.hot { background: var(--teal); border-color: var(--teal); color: #fff; }
.fw-route.hot .ic { background: rgba(255,255,255,.18); color: #fff; }
.fw-route.hot span.d { color: #e8f2f8; }

/* ---- Customer journey flow ---- */
.flow { background: var(--mist); border-radius: var(--radius); padding: 28px 16px 24px; text-align: center; }
@media (min-width: 760px) { .flow { padding: 40px 32px 32px; } }
.flow-start { display: inline-block; font: 700 1.05rem/1 var(--display); padding: 12px 18px; border-radius: 999px; background: var(--ink); color: #fff; }
.flow-down { width: 2px; height: 30px; margin: 0 auto; background: linear-gradient(var(--ink), var(--ink)) no-repeat; position: relative; }
.flow-down::after { content: ""; position: absolute; left: 50%; bottom: -2px; width: 8px; height: 8px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateX(-50%) rotate(45deg); }
.flow-track { position: relative; margin: 10px auto 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; padding: 12px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); overflow: hidden; }
.flow-track::after { content: ""; position: absolute; top: 0; bottom: 0; width: 30%; left: -30%; background: linear-gradient(90deg, transparent, rgba(30,123,178,.22), transparent); animation: flow-sweep 3.2s ease-in-out infinite; pointer-events: none; }
@keyframes flow-sweep { to { left: 100%; } }
.flow-track span.s { position: relative; z-index: 1; font: 700 .975rem/1 var(--display); padding: 10px 14px; border-radius: 999px; background: var(--teal); color: #fff; }
.flow-track i { position: relative; z-index: 1; font-style: normal; color: var(--teal); font-weight: 700; }
.flow-outs { display: grid; gap: 10px; margin-top: 18px; text-align: left; }
@media (min-width: 700px) { .flow-outs { grid-template-columns: repeat(3, 1fr); } }
.flow-out { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 16px 18px; position: relative; }
.flow-out::before { content: ""; position: absolute; left: 16px; top: -10px; width: 2px; height: 10px; background: var(--ink); }
@media (max-width: 699px) { .flow-out::before { display: none; } }
.flow-out strong { display: block; font: 700 1.05rem/1.25 var(--display); letter-spacing: -.01em; margin-bottom: 6px; }
.flow-out span { display: block; font-size: .9rem; color: var(--teal-ink); font-weight: 600; }
@media (prefers-reduced-motion: reduce) {
  .fw-ring, .fw-orbit, .fw-node, .flow-track::after, .process > li::after { animation: none !important; }
  .process > li::after { transform: scaleX(1); }
}

/* Fixes: make sure every "What I do" card lands in place, and give the footer heading room */
.js .pillars.stack-in.in .pillar:nth-child(n) { opacity: 1; transform: none; }
.footer-cta h2 { line-height: 1; padding: .04em .06em .06em 0; overflow: visible; }
.stat strong > span { color: #fff; }

/* ---------- Logo (Uptick mark) ---------- */
.brand { gap: 12px; color: #141413; }
.brand-logo { height: 26px; width: 26px; flex: none; }
.brand-name { font: 700 1.2rem/1 "Schibsted Grotesk", var(--display); letter-spacing: -.03em; white-space: nowrap; }
.foot-logo { height: 22px; width: 22px; flex: none; color: #FBFAF8; }

.chips legend .opt { display: inline; padding: 0; border: 0; border-radius: 0; font-size: inherit; cursor: default; }
