
/* Sherlock home
   Designed at 1366×768. --u is one design pixel; the page scales up to 1920 wide, then centres. */

:root {
  --coral: #ff6666;
  --magenta: #ec458d;
  --grad: linear-gradient(124deg, #ff6666 0%, #ec458d 100%); /* the brand O fill, from Figma */
  --ink: #141210;
  --dark: #1a1716;
  --dark-2: #24201e;
  --surface: #faf8f8;
  --serif: "Noto Serif", Georgia, serif;
  --sans: "Figtree", system-ui, sans-serif;
  --grey: #6f6a64;
  --para-dim: rgba(20, 18, 16, 0.38);
  --u: calc(min(100vw, 1920px) / 1366);
  --gutter: calc((100vw - min(100vw, 1920px)) / 2);

  /* type scale (design px at 1366) */
  --fs-display: calc(var(--u) * 64);
  --fs-h2: calc(var(--u) * 56);
  --fs-lead: calc(var(--u) * 30);
  --fs-sub: calc(var(--u) * 22);
  --fs-body: calc(var(--u) * 18);
  --fs-ui: calc(var(--u) * 15);

  /* spacing, 8-based */
  --sp-2: calc(var(--u) * 16);
  --sp-3: calc(var(--u) * 24);
  --sp-4: calc(var(--u) * 32);
  --sp-5: calc(var(--u) * 48);
  --sp-6: calc(var(--u) * 64);
  --sp-7: calc(var(--u) * 96);
  --sp-8: calc(var(--u) * 128);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --bar-h: calc(var(--u) * 52); /* 44-tall buttons with a 4 gap above and below */
  /* fine grain for the frosted glass (nav bar) */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--surface); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
/* no lone last words: headings balance their lines, paragraphs avoid orphans */
h1, h2, h3 { text-wrap: balance; }
p, blockquote { text-wrap: pretty; }

.inner { position: relative; width: calc(var(--u) * 1366); height: 100%; margin: 0 auto; }

/* ---------- Nav (same bar and behaviour as the Hero Scroll study) ---------- */

.nav {
  position: fixed;
  top: calc(var(--u) * 16);
  /* the bar reaches past the 80–1286 grid by its own inner padding (18 left,
     4 right), so the logo starts on 80 and the CTA ends on 1286 */
  left: calc(var(--gutter) + var(--u) * (80 - 18));
  z-index: 50;
  width: calc(var(--u) * (1206 + 18 + 4));
  height: var(--bar-h);
  padding: 0 calc(var(--u) * 4) 0 calc(var(--u) * 18);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-radius: 999px;
  /* frosted glass: a heavier blur, a faint coral frost laid over the tint
     (dropped over the coral fold, where it would vanish), a fine grain
     (::before) and a two-shade coral hairline (::after). The tint, frost,
     stroke and text colour follow the section below. */
  --frost: rgba(255, 102, 102, .05);
  --stroke-a: #ffb3a8;
  --stroke-b: #ff6666;
  /* the tint lives in --glass and is painted by .nav-glass (and by each
     dropdown) rather than by the bar itself: a blur on the bar would stop
     the dropdowns inside it from blurring the page */
  --glass: rgba(20, 18, 16, .5);
  color: var(--surface);
  transition: --glass .4s ease, --frost .4s ease, --stroke-a .4s ease, --stroke-b .4s ease, box-shadow .4s ease, color .4s ease;
}
@property --frost { syntax: "<color>"; inherits: true; initial-value: transparent; }
@property --glass { syntax: "<color>"; inherits: true; initial-value: transparent; }
/* one glass recipe, shared by the bar and its dropdowns */
.nav-glass, .nav-menu {
  background-color: var(--glass);
  background-image: linear-gradient(var(--frost), var(--frost));
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
}
.nav-glass { position: absolute; inset: 0; z-index: -2; border-radius: inherit; pointer-events: none; }
@property --stroke-a { syntax: "<color>"; inherits: true; initial-value: transparent; }
@property --stroke-b { syntax: "<color>"; inherits: true; initial-value: transparent; }
/* grain of the frosting */
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  background: var(--grain);
  opacity: .05; /* plain blend: an overlay blend here would cut the backdrop blur off */
}
/* gradient hairline: two shades of coral */
.nav::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  padding: 1px;
  pointer-events: none;
  opacity: .1; /* stroke at 10% */
  background: linear-gradient(110deg, var(--stroke-a) 0%, var(--stroke-b) 55%, var(--stroke-a) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.logo { width: calc(var(--u) * 86); color: inherit; display: block; justify-self: start; transition: color .4s ease, opacity 200ms ease, transform 160ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .logo:hover { opacity: .8; } }
.logo:active { transform: scale(.97); }
.logo svg { width: 100%; height: auto; display: block; }
.logo { width: calc(var(--u) * 88); } /* the new lockup (wordmark and tagline) is taller than the old one: narrower, so the bar keeps its height */
.logo .lg { display: block; width: 100%; height: auto; }
/* white letters on the dark bar, ink letters on the light and coral bars; the "o" stays coral */
.logo .lg-i, body[data-nav="light"] .logo .lg-w, body[data-nav="coral"] .logo .lg-w { display: none; }
body[data-nav="light"] .logo .lg-i, body[data-nav="coral"] .logo .lg-i { display: block; }

.nav-links {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--sans);
  font-size: var(--fs-ui);
  color: inherit;
  transition: color .4s ease;
}
.nav-links a {
  position: relative;
  z-index: 1;
  height: calc(var(--u) * 44);
  padding: 0 calc(var(--u) * 16);
  display: flex;
  align-items: center;
  border-radius: 999px;
  opacity: .72;
  transition: opacity 200ms ease, background-color .4s ease, transform 160ms var(--ease-out);
}
.nav-links a:hover, .nav-links a:focus-visible { opacity: 1; }
.nav-links a:active { transform: scale(.96); }
/* selected tab: full-strength text and its own pill */
.nav-links a[aria-current="page"] {
  opacity: 1;
  font-weight: 500;
  background: rgba(255, 255, 255, .16);
}
.nav-drop {
  position: absolute;
  left: 0;
  top: 50%;
  height: calc(var(--u) * 44);
  margin-top: calc(var(--u) * -22);
  border-radius: 999px;
  background: rgba(255, 179, 168, .24); /* light pink hover pill */
  opacity: 0;
  pointer-events: none;
}

/* ---------- Primary CTA (every "Connect with us") ----------
   One gradient pill (coral → magenta) with white label text and a dark
   circle tucked inside on the right holding a white arrow. On hover a soft,
   wide white glow follows the cursor across the pill (--mx/--my set in the
   script), and the arrow slides out to the right while a twin slides in
   from the left. */

.cta { --mx: 50%; --my: 50%; position: relative; overflow: hidden; isolation: isolate; display: inline-flex; flex: none; align-items: center; gap: calc(var(--u) * 14); height: calc(var(--u) * 48); padding: 0 calc(var(--u) * 7) 0 calc(var(--u) * 24); border-radius: 999px; background: linear-gradient(115deg, #ff6666 0%, #f4517d 55%, #e04a92 100%); font-family: var(--sans); font-size: calc(var(--u) * 15); font-weight: 500; color: #fff; transition: transform 160ms var(--ease-out); }
.cta:active { transform: scale(.98); }
.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  /* a wide, soft white spread with a long feathered falloff, on every CTA */
  background: radial-gradient(circle calc(var(--u) * 135) at var(--mx) var(--my),
    rgba(255, 255, 255, .3) 0%,
    rgba(255, 255, 255, .2) 22%,
    rgba(255, 255, 255, .1) 45%,
    rgba(255, 255, 255, .035) 70%,
    rgba(255, 255, 255, 0) 100%);
  opacity: 0;
  transition: opacity .35s ease;
}
.cta-label { position: relative; z-index: 1; white-space: nowrap; }
.cta-arrow { position: relative; z-index: 1; overflow: hidden; flex: none; display: grid; place-items: center; width: calc(var(--u) * 34); height: calc(var(--u) * 34); border-radius: 50%; background: var(--ink); color: #fff; font-size: calc(var(--u) * 16); }
.cta-arrow i { grid-area: 1 / 1; transition: transform 420ms var(--ease-out); }
.cta-arrow i::before { display: inline-block; transform: rotate(45deg); } /* up-right glyph turned to point right */
.cta-arrow i + i { transform: translateX(-180%); }
@media (hover: hover) and (pointer: fine) {
  .cta:hover::after { opacity: 1; }
  .cta:hover .cta-arrow i:first-child { transform: translateX(180%); }
  .cta:hover .cta-arrow i + i { transform: none; transition-delay: 70ms; }
}
@media (prefers-reduced-motion: reduce) {
  .cta-arrow i { transition: none; }
}
.cta:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 999px; }

/* in the nav bar it is a size smaller */
.nav .cta { justify-self: end; height: calc(var(--u) * 44); padding-left: calc(var(--u) * 22); padding-right: calc(var(--u) * 6); }
.nav .cta-arrow { width: calc(var(--u) * 32); height: calc(var(--u) * 32); }
/* over the coral fold the pill turns ink so it doesn't vanish */
body[data-nav="coral"] .nav .cta { background: var(--ink); color: #fff; }
body[data-nav="coral"] .nav .cta-arrow { background: #fff; color: var(--ink); }

.nav a:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* themes follow the section under the bar; the glass recipe stays the same,
   only the tint, hairline and text colour change */
/* over the coral fold: no coral frost, and a white-to-blush hairline so it reads */
body[data-nav="coral"] .nav { --glass: rgba(255, 255, 255, .5); --frost: rgba(255, 102, 102, 0); --stroke-a: rgba(255, 255, 255, .85); --stroke-b: #ffd3cc; color: var(--ink); }
body[data-nav="dark"] .nav { --glass: rgba(20, 18, 16, .5); --frost: rgba(255, 102, 102, .04); color: var(--surface); }
body[data-nav="light"] .nav { --glass: rgba(250, 248, 248, .6); --frost: rgba(255, 102, 102, .03); --stroke-a: #ffb3a8; --stroke-b: #f25c5c; color: var(--ink); }
body[data-nav="coral"] .nav-drop { background: rgba(20, 18, 16, .07); }
body[data-nav="light"] .nav-drop { background: rgba(255, 102, 102, .12); }
body[data-nav="light"] .nav-links a[aria-current="page"] { background: rgba(255, 102, 102, .12); }

/* ---------- Solutions dropdown ----------
   Same glass family as the bar: rounded panel, grain, two-shade coral hairline,
   and it takes the bar's theme. Nested backdrop blur doesn't work inside the
   bar's own blur, so the panel tint is denser instead. */
.nav-item { display: flex; }
.nav-trigger { gap: calc(var(--u) * 6); }
.nav-trigger .caret { width: calc(var(--u) * 12); height: calc(var(--u) * 12); flex: none; transition: transform 240ms var(--ease-out); }
.nav-item.is-open .nav-trigger { opacity: 1; }
.nav-item.is-open .nav-trigger .caret { transform: rotate(180deg); }
.nav-menu {
  position: absolute;
  /* 2px below the bar: the links row is 44 tall inside the 52 bar, so the bar ends 4 below it */
  top: calc(100% + var(--u) * 4 + 2px);
  left: var(--menu-x, 0px);
  z-index: 2;
  min-width: calc(var(--u) * 220);
  padding: calc(var(--u) * 6);
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-radius: calc(var(--u) * 22);
  /* glass comes from the shared .nav-glass/.nav-menu rule above */
  color: inherit;
  opacity: 0;
  visibility: hidden;
  transform: translateY(calc(var(--u) * -6)) scale(.98);
  transform-origin: top left;
  transition: opacity 180ms ease, transform 240ms var(--ease-out), visibility 0s linear 240ms, background-color .4s ease, color .4s ease;
}
/* an invisible bridge so the pointer can travel from the tab to the panel */
.nav-item.is-open .nav-trigger::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: calc(var(--u) * 12); }
/* grain + gradient hairline, exactly as on the bar */
.nav-menu::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  background: var(--grain);
  opacity: .05; /* plain blend: an overlay blend here would cut the backdrop blur off */
}
.nav-menu::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  pointer-events: none;
  opacity: .1;
  background: linear-gradient(110deg, var(--stroke-a) 0%, var(--stroke-b) 55%, var(--stroke-a) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.nav-item.is-open .nav-menu { opacity: 1; visibility: visible; transform: none; transition: opacity 180ms ease, transform 240ms var(--ease-out), visibility 0s, color .4s ease; }
.nav-links .nav-menu a {
  height: calc(var(--u) * 42);
  padding: 0 calc(var(--u) * 16);
  border-radius: calc(var(--u) * 16);
  white-space: nowrap;
  opacity: .9;
  transition: opacity 200ms ease, background-color 200ms ease, transform 160ms var(--ease-out);
}
/* Solutions menu: two labelled columns side by side, a hairline between */
.nav-menu.nav-mega { flex-direction: row; gap: 0; padding: calc(var(--u) * 10); }
.nav-col { display: flex; flex-direction: column; gap: 2px; min-width: calc(var(--u) * 210); }
.nav-col + .nav-col { margin-left: calc(var(--u) * 10); padding-left: calc(var(--u) * 10); border-left: 1px solid color-mix(in srgb, currentColor 14%, transparent); }
.nav-col-h { padding: calc(var(--u) * 8) calc(var(--u) * 16) calc(var(--u) * 6); font-size: calc(var(--u) * 11); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; opacity: .55; }
/* hovered item: a plain white pill, no pink */
.nav-links .nav-menu a:hover, .nav-links .nav-menu a:focus-visible { opacity: 1; background: rgba(255, 255, 255, .16); }
body[data-nav="coral"] .nav-links .nav-menu a:hover, body[data-nav="light"] .nav-links .nav-menu a:hover,
body[data-nav="coral"] .nav-links .nav-menu a:focus-visible, body[data-nav="light"] .nav-links .nav-menu a:focus-visible { background: rgba(255, 255, 255, .75); }
@media (prefers-reduced-motion: reduce) {
  .nav-menu, .nav-item.is-open .nav-menu { transform: none; }
  .nav-trigger .caret { transition: none; }
}
body[data-nav="coral"] .nav-links a[aria-current="page"] { background: rgba(255, 255, 255, .32); }
.nav a:focus-visible { outline-color: currentColor; }
/* light bar: a light grey hairline instead of the pink one, so the edge shows */
body[data-nav="light"] .nav { --stroke-a: #dedad8; --stroke-b: #cfcac7; }
body[data-nav="light"] .nav::after, body[data-nav="light"] .nav-menu::after { opacity: .5; }

/* ---------- Hover vs selected ----------
   Two different colours so they never read as the same thing, no outlines:
   selected = a coral tint (the current page's tab, and its menu row),
   hover = a soft white pill (the pill that follows the pointer, and menu rows). */
body .nav-drop { background: rgba(255, 255, 255, .14); }
body[data-nav="light"] .nav-drop { background: rgba(255, 255, 255, .8); }
body[data-nav="coral"] .nav-drop { background: rgba(255, 255, 255, .42); }

body .nav-links > a[aria-current="page"], body .nav-links .nav-trigger.is-current { opacity: 1; font-weight: 500; background: rgba(255, 102, 102, .28); box-shadow: none; }
body[data-nav="light"] .nav-links > a[aria-current="page"], body[data-nav="light"] .nav-links .nav-trigger.is-current { background: rgba(255, 102, 102, .13); }
body[data-nav="coral"] .nav-links > a[aria-current="page"], body[data-nav="coral"] .nav-links .nav-trigger.is-current { background: rgba(20, 18, 16, .08); }

body .nav-links .nav-menu a:hover, body .nav-links .nav-menu a:focus-visible { opacity: 1; background: rgba(255, 255, 255, .14); }
body[data-nav="light"] .nav-links .nav-menu a:hover, body[data-nav="light"] .nav-links .nav-menu a:focus-visible,
body[data-nav="coral"] .nav-links .nav-menu a:hover, body[data-nav="coral"] .nav-links .nav-menu a:focus-visible { background: rgba(255, 255, 255, .8); }
body .nav-links .nav-menu a[aria-current="page"] { opacity: 1; font-weight: 500; background: rgba(255, 102, 102, .24); box-shadow: none; }
body[data-nav="light"] .nav-links .nav-menu a[aria-current="page"], body[data-nav="coral"] .nav-links .nav-menu a[aria-current="page"] { background: rgba(255, 102, 102, .13); }
@media (prefers-reduced-transparency: reduce) {
  .nav { --glass: rgba(26, 23, 22, .92); --frost: transparent; }
  body[data-nav="coral"] .nav, body[data-nav="light"] .nav { --glass: rgba(250, 248, 248, .96); }
  .nav-glass, .nav-menu { backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* ---------- Stage (pinned) ---------- */

/* its bottom edge bows into an arc as it leaves (clip-path set in home.js) */
.stage { position: relative; z-index: 3; height: 100vh; overflow: hidden; background: var(--surface); }
.layer { position: absolute; inset: 0; }

.hero-bg { overflow: hidden; background: #d9d7d3; }
.hero-bg .photo {
  position: absolute;
  inset: 0;
  background: 62% 40% / cover no-repeat; /* full colour; she sits on the right, the copy on the left */
  transform-origin: 60% 45%;
}
.hero { position: absolute; inset: 0; pointer-events: none; } /* the full-screen box itself never catches the pointer (or the inspector)... */
.hero > * { pointer-events: auto; } /* ...only its copy, buttons and cue do, and only until they fade (see the stage timeline) */
.p-wrap { pointer-events: none; } /* "Coaching works" turns pickable once it is on screen (stage timeline) */
/* a soft shade from the left keeps the white type readable; the right of the photo stays untouched */
.hero-bg .scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .75) 0%, rgba(0, 0, 0, .48) 25%, rgba(0, 0, 0, 0) 50%); } /* soft black shade, left edge to 50% of the width */
/* hero film: Sarah talking to Sherlock, a silent loop that fills the stage like the photo did */
.hero-bg video.photo { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 85% 40%; background: #d9d7d3 none; }

/* as in the reference: the headline and, under it, the buttons, left-aligned on the left
   of the photo and centred on the height of the screen (a touch above centre) */
.h-copy {
  position: absolute;
  inset: 0;
  padding: 0 0 6vh calc(var(--gutter) + var(--u) * 80); /* starts on the 80 grid line, like the nav logo and every section */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: calc(var(--u) * 26); /* headline to buttons */
  text-align: left;
  pointer-events: none;
}
.h-copy > * { pointer-events: auto; }
.h-title {
  font-family: var(--sans);
  font-weight: 400;
  font-size: max(28px, calc(var(--u) * 58));
  line-height: 1.14;
  letter-spacing: -0.025em;
  color: #fff;
}
.h-title .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.h-title .ln > span { display: inline-block; }
.h-title .ln-2 { overflow: visible; display: flex; justify-content: flex-start; align-items: baseline; gap: .26em; }
/* line 1: the quoted problem, serif italic, its opening quote hung into the margin. The six quotes share
   one grid cell; the rotator slides one out and the next in, clipped top and bottom only */
.h-title .ln-q { overflow: visible; clip-path: inset(-.1em -2em 0 -2em); font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.012em; }
.h-title .ln-q > .q-rot { display: grid; clip-path: inset(0 -2em); padding-bottom: .1em; } /* beats .h-title .ln > span */
/* the questions are long: each wraps to two balanced lines so the copy stays on the shaded left half, clear of the faces */
.q-item { grid-area: 1 / 1; display: block; white-space: normal; text-wrap: balance; max-width: 12.4em; font-size: .88em; }
.q-item:not(.is-on) { opacity: 0; } /* no transform here: GSAP owns the movement (a CSS offset gets baked in as y) */
.hq { display: inline-block; margin-left: -.42em; width: .42em; }
/* line 2: "Sherlock solves it." in the sans, white and semibold */
.h-title .ln-2 > .ln-sv { font-family: var(--sans); font-weight: 500; letter-spacing: -0.03em; color: #fff; }

/* lifted half the line's descender room so the buttons sit centred on the
   text's ink (cap top to last baseline), equal space above and below */
.ctas { display: flex; justify-content: flex-start; gap: calc(var(--u) * 16); }
.btn {
  height: calc(var(--u) * 48);
  padding: 0 calc(var(--u) * 26);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: calc(var(--u) * 15); /* matches the primary CTA */
  font-weight: 500;
  transition: transform 160ms var(--ease-out), background-color .2s ease, box-shadow .2s ease;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--grad); color: var(--ink); box-shadow: 0 8px 24px -10px rgba(236, 69, 141, .6); }
.btn-ghost { color: #fff; box-shadow: inset 0 0 0 1px rgba(250, 248, 248, .7); }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 28px -10px rgba(236, 69, 141, .75); }
  .btn-ghost:hover { background: rgba(250, 248, 248, .12); }
}
.btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.cue {
  position: absolute;
  left: 50%;
  bottom: calc(var(--u) * 24);
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(var(--u) * 8);
  font-size: calc(var(--u) * 12);
  letter-spacing: .02em;
  color: rgba(250, 248, 248, .75);
}
.mouse {
  position: relative;
  width: calc(var(--u) * 20);
  height: calc(var(--u) * 30);
  border: 1.5px solid rgba(250, 248, 248, .7);
  border-radius: 999px;
}
.mouse i {
  position: absolute;
  left: 50%;
  top: calc(var(--u) * 6);
  width: calc(var(--u) * 3);
  height: calc(var(--u) * 6);
  margin-left: calc(var(--u) * -1.5);
  border-radius: 2px;
  background: rgba(250, 248, 248, .85);
  animation: wheel 1.8s var(--ease-out) infinite;
}
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(calc(var(--u) * 9)); opacity: 0; } 100% { opacity: 0; } }

.o-layer { width: 100%; height: 100%; display: block; pointer-events: none; }
.coral { background: var(--grad); opacity: 0; pointer-events: none; } /* a plain colour flood; it must not block the hero buttons under it */

/* "Coaching works": title and paragraph form one group, centred in the fold */
.problem { position: absolute; inset: 0; display: flex; align-items: center; pointer-events: none; }
.p-wrap { width: calc(var(--u) * 1366); margin: 0 auto; padding: 0 calc(var(--u) * 80); }
.p-title {
  width: calc(var(--u) * 760);
  font-family: var(--serif);
  font-weight: 500;
  font-size: var(--fs-h2);
  line-height: 1.16;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.p-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.p-title .c { display: inline-block; will-change: transform; }
.p-title .hl { color: #fff; }
.p-body {
  margin: var(--sp-6) 0 0; /* left-aligned with the heading */
  width: calc(var(--u) * 1040); /* wide enough that each paragraph runs exactly three lines */
  font-family: var(--sans);
  font-weight: 400;
  font-size: var(--fs-lead);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--para-dim);
}
.p-body p + p { margin-top: .8em; }
.p-body .w { color: var(--para-dim); transition: color .2s ease-out; } /* each word turns white whole, one at a time, with the scroll (see the highlight) */
.p-body .w.lit { color: #fff; }

/* logo wall: Zero's hierarchy, a big line and a small accent line, then the band */
.wall {
  --tuck: calc(var(--u) * 160); /* sits under the coral fold so its curved corners show the wall */
  position: relative;
  z-index: 2; /* above Real support, which tucks under its curved bottom */
  margin-top: calc(var(--tuck) * -1);
  padding-top: var(--tuck);
  min-height: calc(100vh + var(--tuck));
  display: flex;
  align-items: center;
  background: var(--surface); /* off-white */
  color: var(--ink);
}
.wall-wrap { width: 100%; padding: var(--sp-7) 0 var(--sp-6); }
.wall-title { text-align: center; font-weight: 500; }
.wall-title .big {
  display: block;
  font-family: var(--serif);
  font-size: calc(var(--u) * 88);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.wall-title .small {
  display: block;
  margin-top: calc(var(--u) * 12);
  font-size: calc(var(--u) * 24);
  letter-spacing: -0.01em;
  color: #d4405a; /* the brand red, a step darker so it reads on off-white */
}
.wall-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.wall-title .c { display: inline-block; will-change: transform; }

.arc { position: relative; margin-top: var(--sp-4); height: calc(var(--u) * 290); } /* two rows with air between them */
.arc-row { position: absolute; inset: 0; }
.logo-item {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  gap: calc(var(--u) * 8);
  font-weight: 600;
  font-size: calc(var(--u) * 19);
  letter-spacing: -0.02em;
  color: rgba(20, 18, 16, .62);
  white-space: nowrap;
  will-change: transform, opacity;
}
.logo-item i { font-size: calc(var(--u) * 24); }
/* real client logos in their own brand colours (white backgrounds keyed out in the files); each logo's
   height comes from its shape and optical weight (--lh) so wide wordmarks and compact marks carry equal weight */
/* every logo sits in the same box, centred; it keeps its optical height but never outgrows the box */
.logo-item.logo-img { width: calc(var(--u) * 190); height: calc(var(--u) * 60); justify-content: center; gap: 0; }
.logo-item.logo-img img { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(var(--u) * var(--lh, 36)); }

.sec-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: calc(var(--u) * 52);
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-align: center;
}

/* ---------- Real support: product cards run sideways (pinned) ---------- */

/* tucks under the off-white logo wall so that fold's curved bottom shows dark in its corners */
.solves {
  --tuck: calc(var(--u) * 160);
  position: relative;
  z-index: 1;
  margin-top: calc(var(--tuck) * -1);
  padding-top: var(--tuck);
  background: var(--dark);
  color: var(--surface);
}
/* heading, line and the four cards as one block on the 80 to 1286 grid,
   with the same room above and below (the 40px under it is the curve's) */
.solves-pin { display: flex; flex-direction: column; justify-content: center; padding: calc(var(--u) * 120) 0 calc(var(--u) * 80); }
.sup-head { width: calc(var(--u) * 1216); margin: 0 auto; text-align: center; }
.sup-sub { max-width: none; margin: var(--sp-2) 0 0; font-size: var(--fs-body); line-height: 1.5; color: rgba(250, 248, 248, .62); }
/* Sherlock's two layers, delivered as one package: each layer is a panel holding its cards.
   Four equal card columns: the engine panel spans three, intelligence one. */
.tiles {
  --in: calc(var(--u) * 16);   /* between cards in a panel */
  --pad: calc(var(--u) * 16);  /* inside each panel */
  --out: calc(var(--u) * 24);  /* between the two panels */
  --cp: calc(var(--u) * 24);   /* inside each card */
  display: grid;
  grid-template-columns: calc((100% - var(--out) - 2 * var(--in) - 4 * var(--pad)) * 0.75 + 2 * var(--in) + 2 * var(--pad)) 1fr;
  grid-template-rows: auto 1fr; /* panel names, then cards: shared by both panels (subgrid) */
  column-gap: var(--out);
  width: calc(var(--u) * 1206);
  margin: var(--sp-5) auto 0;
}
.grp { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: calc(var(--u) * 14); padding: var(--pad); border-radius: calc(var(--u) * 26); background: rgba(250, 248, 248, .025); } /* no outline: the cards carry the edges */
.grp-name { padding: calc(var(--u) * 8) 0 calc(var(--u) * 2); text-align: center; font-family: var(--sans); font-weight: 600; font-size: calc(var(--u) * 17); line-height: 1.2; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; color: rgba(250, 248, 248, .55); }
.grp-cards { display: grid; gap: var(--in); }
.grp-engine .grp-cards { grid-template-columns: repeat(3, 1fr); }
/* the cards: no hover tab; a plain "Learn More" with an arrow at the bottom left, underlined on hover */
.tiles .ptile { --tab: 0px; padding-bottom: 0; display: flex; flex-direction: column; }
/* card titles a step smaller. The edge is a faint 1px ring; on hover it lights up corner to corner:
   a soft white at the top left, turning coral towards the bottom right, where the card's glow sits */
.tiles .ptile h4, .tiles .ptile h3 { font-size: calc(var(--u) * 21); }
@property --pa { syntax: "<number>"; inherits: false; initial-value: 0; }
.tiles .ptile::after {
  content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; padding: 1px; pointer-events: none;
  background:
    linear-gradient(to bottom right,
      rgb(250 248 248 / calc(.3 * var(--pa))) 0%,
      rgb(250 248 248 / calc(.2 * var(--pa))) 48%,
      rgb(255 102 102 / calc(.85 * var(--pa))) 82%,
      rgb(255 102 102 / var(--pa)) 100%),
    linear-gradient(rgba(250, 248, 248, .09), rgba(250, 248, 248, .09));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  transition: --pa 420ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .tiles .ptile:hover::after { --pa: 1; } }
.tiles .ptile:focus-within::after { --pa: 1; }
@media (prefers-reduced-motion: reduce) { .tiles .ptile::after { transition: none; } }
.tiles .ptile-copy { flex: 1; padding: var(--cp) var(--cp) calc(var(--u) * 20); }
.tiles .ptile-more {
  position: static; translate: none; height: auto; opacity: 1;
  align-self: flex-start; display: inline-flex; align-items: center; gap: calc(var(--u) * 6);
  margin: 0 var(--cp) var(--cp); padding: 0;
  font-size: calc(var(--u) * 14); font-weight: 500; color: var(--surface);
  text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1px; text-underline-offset: 4px;
  transition: text-decoration-color 200ms ease;
}
.tiles .ptile-more .lm-arrow { width: 1.05em; height: 1.05em; fill: currentColor; transition: translate 240ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .tiles .ptile:hover { scale: none !important; }
  .tiles .ptile:hover .ptile-more { text-decoration-color: currentColor; }
  .tiles .ptile:hover .ptile-more .lm-arrow { translate: 3px 0; }
}
.tiles .ptile-more:focus-visible { outline: 2px solid var(--surface); outline-offset: 4px; border-radius: 4px; text-decoration-color: currentColor; }
@media (prefers-reduced-motion: reduce) { .tiles .ptile-more .lm-arrow { transition: none; } }
/* one product per card, copy only (the mock-up panels were removed); the
   four share the grid width and the height of the tallest one */
/* faint frosted glass: a translucent dark sheet, a light blur and grain,
   and the CTA's coral-to-magenta glowing faintly out of the bottom-right corner.
   A 1px inner hairline for the edge; no drop shadow. */
.ptile {
  --tab: calc(var(--u) * 41.4); /* depth of the Learn More tab (46, less 10%); reserved under the card, clipped away at rest */
  position: relative;
  will-change: transform, filter;
  border-radius: calc(var(--u) * 18);
  padding-bottom: var(--tab);
  background:
    radial-gradient(calc(120% * var(--g)) calc(90% * var(--g)) at 100% calc(100% - var(--tab)), rgba(255, 102, 102, .22), rgba(236, 69, 141, .09) 50%, rgba(236, 69, 141, 0) 78%),
    rgba(36, 32, 30, .78);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  scale: 1; /* the CSS scale property, so it stacks on GSAP's scroll transform */
  transition: scale 420ms var(--ease-out), --g 520ms var(--ease-out), --edge-a 420ms ease, --edge-b 420ms ease;
}
.ptile::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--grain);
  opacity: .07;
  mix-blend-mode: overlay;
  pointer-events: none;
}
/* the edge: a 1px hairline in the old faint white that turns coral as it
   reaches the bottom-right corner, where the glow sits; it grows with the glow */
@property --g { syntax: "<number>"; inherits: true; initial-value: 1; }
/* the edge's corner colours: faint white at rest, coral only on hover */
@property --edge-a { syntax: "<color>"; inherits: true; initial-value: rgba(255, 255, 255, .07); }
@property --edge-b { syntax: "<color>"; inherits: true; initial-value: rgba(255, 255, 255, .07); }
/* the words inside the tab */
.ptile-more {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 3;
  height: var(--tab);
  translate: -50% calc(var(--u) * -4); /* sits a little high in the tab: more room below the words, less above */
  display: flex;
  align-items: center;
  padding: 0 calc(var(--u) * 18);
  font-family: var(--sans);
  font-size: calc(var(--u) * 15);
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: var(--surface);
  opacity: 0;
  transition: opacity 260ms ease;
}
.ptile { cursor: pointer; }
.ptile-more { text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1px; text-underline-offset: 4px; transition: opacity 260ms ease, text-decoration-color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .ptile-more:hover { text-decoration-color: currentColor; } }
.ptile-more:focus-visible { text-decoration-color: currentColor; }
.ptile-more:focus-visible { outline: 2px solid var(--surface); outline-offset: -4px; border-radius: 999px; }
@media (hover: hover) and (pointer: fine) {
  /* !important: GSAP writes an inline scale: none on the card for its scroll tween */
  .ptile:hover { scale: 1.06 !important; --g: 1.45; --edge-a: #ff6666; --edge-b: rgba(255, 102, 102, .55); z-index: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .ptile { transition: none; }
  .ptile:hover { scale: none !important; }
}
.ptile-copy { position: relative; }
@media (prefers-reduced-transparency: reduce) {
  .ptile { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--dark-2); }
}
/* copy hangs from the card's top-left corner, the same inset on both sides */
.ptile-copy { align-self: start; padding: var(--sp-3) var(--sp-3) calc(var(--u) * 32); }
.ptile h4 { font-family: var(--sans); font-weight: 600; font-size: calc(var(--u) * 24); line-height: 1.15; letter-spacing: -0.02em; white-space: nowrap; color: var(--surface); } /* one line, all four */
.ptile-body { margin-top: calc(var(--u) * 12); font-size: calc(var(--u) * 14); line-height: 1.5; color: rgba(250, 248, 248, .78); }
.ptile .for { margin-top: calc(var(--u) * 18); font-size: calc(var(--u) * 12); line-height: 1.45; color: rgba(250, 248, 248, .5); }

/* who it is made for, as pills */
.for-pills { list-style: none; display: flex; flex-wrap: wrap; gap: calc(var(--u) * 6); margin-top: calc(var(--u) * 8); }
.for-pills li {
  padding: calc(var(--u) * 4) calc(var(--u) * 10);
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(250, 248, 248, .16);
  background: rgba(250, 248, 248, .04);
  font-size: calc(var(--u) * 12);
  line-height: 1.4;
  color: rgba(250, 248, 248, .78);
  white-space: nowrap;
}
.ptile .viz { width: auto; height: 100%; justify-self: stretch; }
/* the mock-up card becomes the panel itself */
.ptile .card {
  height: 100%;
  border-radius: 0;
  box-shadow: none;
  padding: var(--sp-3);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #f7f4f3;
  font-size: calc(var(--u) * 13);
}
.ptile .card-top { margin-bottom: var(--sp-2); }
.ptile .bubble.me { background: #fff; }
.ptile .kpis div { background: #fff; }
.ptile .pill { background: #fff; }

/* the dark block keeps clear room under the cards for its curved edge */
.solves { padding-bottom: calc(var(--u) * 64); }

/* ---------- 92%: a white fold with Sherlock's speaking glow ---------- */

.stat {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--surface);
}
.stat-line {
  position: relative;
  z-index: 1;
  text-align: center;
  font-size: calc(var(--u) * 56);
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.stat-line b { font-family: var(--serif); font-weight: 500; }
/* the brand gradient on the number and on "Sherlock users" */
.stat-num, .stat-hl {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* the bloom from the conversation film: a soft dome whose flat foot (y 273 of
   373 in the SVG) sits on the fold's bottom edge; home.js breathes it */
.stat-glow {
  position: absolute;
  left: 50%;
  width: calc(var(--u) * 1500);
  height: calc(var(--u) * 760);
  margin-left: calc(var(--u) * -750);
  bottom: calc(var(--u) * -204);
  filter: blur(36px);
  opacity: 0;
  transform-origin: 50% 100%;
  pointer-events: none;
}
.stat-glow svg { display: block; width: 100%; height: 100%; overflow: visible; }

/* ---------- Sherlock solves it all: image slots and the solve link ---------- */

.ph-img {
  height: calc(var(--u) * 320);
  border-radius: calc(var(--u) * 20);
  border: 1.5px dashed rgba(20, 18, 16, .25);
  display: grid;
  place-content: center;
  justify-items: center;
  gap: calc(var(--u) * 10);
  font-size: calc(var(--u) * 12);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(20, 18, 16, .4);
}
.ph-img i { font-size: calc(var(--u) * 32); }

.proof {
  position: relative;
  min-height: 100vh;
  padding: var(--sp-8) 0;
  display: flex;
  align-items: center;
  background: var(--surface); /* the page off-white */
}
/* the heading centred on top; under it one story at a time in a white card,
   with the two arrows out on the grid's left and right edges */
.proof-wrap {
  width: calc(var(--u) * 1366);
  margin: 0 auto;
  padding: 0 calc(var(--u) * 80);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-6);
}
.proof .sec-title { text-align: center; line-height: 1.05; }
.proof-stage { width: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--sp-5); }
.proof-viewport { overflow: hidden; padding: calc(var(--u) * 16) calc(var(--u) * 28) calc(var(--u) * 48); margin: calc(var(--u) * -16) calc(var(--u) * -28) calc(var(--u) * -48); } /* clips the cards as they slide; the padding leaves room for the shadow */
/* three steps under the card: the active one fills over the story's time */
.proof-bars { display: flex; gap: calc(var(--u) * 8); width: calc(var(--u) * 220); margin-top: calc(var(--sp-3) * -1); } /* about 50px under the card */
.bar-btn {
  flex: 1;
  height: calc(var(--u) * 24);
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.bar-btn i { position: relative; display: block; width: 100%; height: 2px; border-radius: 2px; background: rgba(20, 18, 16, .12); overflow: hidden; }
.bar-btn i::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.bar-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.arrow {
  width: calc(var(--u) * 48);
  height: calc(var(--u) * 48);
  border-radius: 50%;
  border: 0;
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(20, 18, 16, .16);
  color: var(--ink);
  font-size: calc(var(--u) * 18);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color .2s ease, transform 160ms var(--ease-out);
}
.arrow:active { transform: scale(.95); }
@media (hover: hover) and (pointer: fine) { .arrow:hover { background: rgba(20, 18, 16, .05); } }
.arrow:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* every story is its own white card; they share one grid cell, and only the one
   on screen (and the one sliding in or out) is visible */
.slides { display: grid; }
.slide {
  grid-area: 1 / 1;
  visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch; /* every child fills the card's width */
  gap: var(--sp-3);
  text-align: left;
  background: #fff;
  border-radius: calc(var(--u) * 28);
  padding: calc(var(--u) * 38); /* the same 38 on all four sides */
  box-shadow: 0 1px 2px rgba(20, 18, 16, .04), 0 16px 36px -22px rgba(20, 18, 16, .2);
}
.slide.is-on { visibility: visible; }
/* avatar, then name and role, in the card's top-left corner */
.slide figcaption {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: var(--sp-2);
  align-items: center;
  font-size: calc(var(--u) * 16);
  line-height: 1.4;
}
/* the quote under it, in the sans, left-aligned, across the card's full width */
.slide blockquote {
  width: 100%;
  font-family: var(--sans);
  font-weight: 400;
  font-size: calc(var(--u) * 24);
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.avatar {
  grid-row: span 2;
  overflow: hidden;
  width: calc(var(--u) * 50.4); /* 48 + 5% */
  height: calc(var(--u) * 50.4);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fde4e4;
  font-size: calc(var(--u) * 15);
  font-weight: 600;
  color: var(--ink);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar i { font-size: calc(var(--u) * 20); opacity: .5; }
.slide figcaption b { font-weight: 600; }
.slide figcaption span { color: var(--grey); }
.slide figcaption em { margin-left: calc(var(--u) * 8); padding: 2px calc(var(--u) * 8); border-radius: 999px; background: #f0eeeb; color: var(--grey); font-size: calc(var(--u) * 11); font-style: normal; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; vertical-align: 1px; }
.stats { margin-top: var(--sp-4); display: flex; gap: var(--sp-6); }
.stats b { display: block; font-family: var(--serif); font-weight: 500; font-size: calc(var(--u) * 44); letter-spacing: -0.03em; color: var(--coral); }
.stats span { font-size: calc(var(--u) * 14); color: var(--grey); }
.more { margin-top: var(--sp-4); display: inline-flex; align-items: center; gap: calc(var(--u) * 8); font-size: calc(var(--u) * 15); font-weight: 500; color: var(--ink); border-bottom: 1px solid rgba(20, 18, 16, .25); padding-bottom: 2px; transition: border-color .2s ease; }
@media (hover: hover) and (pointer: fine) { .more:hover { border-color: var(--ink); } }

/* product mock-ups: quiet cards, greys plus the one coral accent */
.viz { justify-self: end; width: calc(var(--u) * 520); }
.card {
  padding: var(--sp-3);
  border-radius: calc(var(--u) * 20);
  background: #fff;
  box-shadow: 0 1px 2px rgba(20, 18, 16, .04), 0 24px 60px -24px rgba(20, 18, 16, .18), inset 0 0 0 1px rgba(20, 18, 16, .05);
  font-size: calc(var(--u) * 15);
  color: #3d3935;
}
.card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--sp-2); }
.pill { padding: calc(var(--u) * 5) calc(var(--u) * 12); border-radius: 999px; background: #f3f1ee; font-size: calc(var(--u) * 13); font-weight: 500; color: var(--ink); }
.meta { font-size: calc(var(--u) * 13); color: var(--grey); }
.bubble { max-width: 86%; padding: calc(var(--u) * 12) calc(var(--u) * 16); border-radius: calc(var(--u) * 16); line-height: 1.45; }
.bubble + .bubble { margin-top: calc(var(--u) * 10); }
.bubble.me { margin-left: auto; background: #f3f1ee; border-bottom-right-radius: 4px; }
.bubble.sh { background: rgba(255, 102, 102, .1); color: var(--ink); border-bottom-left-radius: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: calc(var(--u) * 8); margin-top: var(--sp-2); }
.chip { display: inline-flex; align-items: center; gap: calc(var(--u) * 6); padding: calc(var(--u) * 7) calc(var(--u) * 12); border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(20, 18, 16, .1); font-size: calc(var(--u) * 13); }
.chip.on { background: var(--ink); color: #fff; box-shadow: none; }
.goal { font-weight: 500; color: var(--ink); margin: calc(var(--u) * 4) 0 var(--sp-2); }
.bars { display: grid; gap: calc(var(--u) * 12); }
.bar { display: grid; grid-template-columns: calc(var(--u) * 150) 1fr calc(var(--u) * 40); align-items: center; gap: calc(var(--u) * 12); font-size: calc(var(--u) * 13); }
.bars.thin .bar { grid-template-columns: calc(var(--u) * 180) 1fr; }
.bar b { height: calc(var(--u) * 6); border-radius: 999px; background: #f0eeeb; position: relative; overflow: hidden; }
.bar b::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--coral); transform-origin: 0 50%; transform: scaleX(var(--v)); }
.bar em { font-style: normal; color: var(--grey); text-align: right; }
.pulse-row { margin-top: var(--sp-3); padding-top: var(--sp-2); border-top: 1px solid #f0eeeb; display: flex; align-items: center; gap: calc(var(--u) * 8); font-size: calc(var(--u) * 13); color: var(--grey); }
.steps { list-style: none; display: grid; gap: calc(var(--u) * 10); }
.steps li { display: flex; align-items: center; gap: calc(var(--u) * 10); }
.steps li i { width: calc(var(--u) * 22); height: calc(var(--u) * 22); border-radius: 50%; display: grid; place-items: center; font-size: calc(var(--u) * 12); background: #f3f1ee; color: var(--grey); }
.steps li.done i { background: var(--coral); color: #fff; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(var(--u) * 10); margin-bottom: var(--sp-3); }
.kpis div { padding: calc(var(--u) * 12); border-radius: calc(var(--u) * 12); background: #f7f5f3; }
.kpis b { display: block; font-weight: 600; font-size: calc(var(--u) * 22); letter-spacing: -0.02em; color: var(--ink); }
.kpis span { font-size: calc(var(--u) * 12); color: var(--grey); }

.j-stat {
  position: relative;
  width: calc(var(--u) * 1366);
  margin: calc(var(--u) * 40) auto 0;
  padding-left: calc(var(--u) * 200);
}
.j-stat .dot { left: calc(var(--u) * 154.5); top: calc(var(--u) * 30); }
.j-stat p { font-size: calc(var(--u) * 28); line-height: 1.3; letter-spacing: -0.02em; width: calc(var(--u) * 640); color: #3d3935; }
.j-stat b { display: block; font-family: var(--serif); font-weight: 500; font-size: calc(var(--u) * 88); letter-spacing: -0.03em; line-height: 1; color: var(--coral); }

/* ---------- Ecosystem heading ---------- */

.eco-title { position: absolute; left: 0; right: 0; top: calc(var(--u) * 64); z-index: 2; }

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

/* closing call to action under Proven impact, as on the other pages */
.closer { padding: clamp(125px, calc(var(--u) * 229), 338px) 0; background: #fff; } /* the sub-pages' closer spacing (1.3 × --s8 there) */
.closer .wrap { width: calc(var(--u) * 1206); margin: 0 auto; }
.closer .box { display: flex; flex-direction: column; align-items: center; text-align: center; }
.closer p { max-width: 100%; font-family: var(--sans); font-weight: 500; font-size: clamp(26px, calc(var(--u) * 42), 64px); line-height: 1.18; letter-spacing: -0.03em; text-wrap: balance; color: var(--ink); }
.closer p .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.closer .cta { margin-top: max(32px, calc(var(--u) * 48)); }
/* page CTAs (not the nav's): the same size as on every other page */
.stage .cta, section .cta { height: clamp(46px, calc(var(--u) * 52), 72px); font-size: clamp(14px, calc(var(--u) * 15), 21px); padding: 0 clamp(7px, calc(var(--u) * 8), 11px) 0 clamp(22px, calc(var(--u) * 26), 36px); }
.stage .cta .cta-arrow, section .cta .cta-arrow { width: clamp(32px, calc(var(--u) * 37), 51px); height: clamp(32px, calc(var(--u) * 37), 51px); font-size: clamp(15px, calc(var(--u) * 17), 23px); }
.hero .btn { height: clamp(46px, calc(var(--u) * 52), 72px); } /* the ghost button beside it, the same height */
.closer [data-r] { opacity: 0; transform: translateY(32px); filter: blur(10px); transition: opacity 1s var(--ease-out), transform 1.25s var(--ease-out), filter 1s var(--ease-out); }
.closer [data-r].on { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) { .closer [data-r] { opacity: 1; transform: none; filter: none; transition: none; } }
@media (max-width: 700px) { .closer p { font-size: 22px; } }
.foot { position: relative; background: var(--dark); color: #fff; overflow: hidden; padding: var(--sp-8) 0 var(--sp-6); border-radius: 28px 28px 0 0; }
.foot .inner { padding: 0 calc(var(--u) * 80); }
.f-top { display: grid; grid-template-columns: calc(var(--u) * 340) 1fr; gap: var(--sp-6); }
.f-wm { display: block; height: calc(var(--u) * 50.6); width: auto; } /* 44 + 15% */
.f-brand p { margin-top: var(--sp-3); font-size: calc(var(--u) * 20); line-height: 1.35; letter-spacing: -0.015em; color: rgba(255, 255, 255, .7); }
.f-cta { margin-top: var(--sp-4); }
.f-cols { display: flex; justify-content: space-between; gap: var(--sp-4); }
.f-cols div { white-space: nowrap; }
.f-cols h4 { font-weight: 500; font-size: calc(var(--u) * 13); letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .45); margin-bottom: var(--sp-2); }
.f-cols a { display: block; font-size: calc(var(--u) * 15); line-height: 2.1; color: rgba(255, 255, 255, .82); transition: color .2s ease; }
@media (hover: hover) and (pointer: fine) { .f-cols a:hover { color: var(--coral); } }
.f-mid { margin-top: var(--sp-7); padding-top: var(--sp-4); border-top: 1px solid rgba(255, 255, 255, .08); display: flex; justify-content: space-between; align-items: center; }
.badges { display: flex; gap: calc(var(--u) * 10); }
.badge { display: inline-flex; align-items: center; gap: calc(var(--u) * 6); height: calc(var(--u) * 34); padding: 0 calc(var(--u) * 14); border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); font-size: calc(var(--u) * 13); color: rgba(255, 255, 255, .8); }
.legal { font-size: calc(var(--u) * 13); color: rgba(255, 255, 255, .45); }
/* additions for the current content: stacked headings, Follow Us icons, drawn compliance marks */
.f-cols h4 a { display: inline; font-size: inherit; line-height: inherit; color: inherit; }
.f-cols h4 + h4 { margin-top: calc(var(--sp-2) * -0.25); }
.f-cols a + h4 { margin-top: var(--sp-4); }

/* footer: five link groups side by side, the legal links with the copyright; on small screens two columns */
.f-cols { display: grid; grid-template-columns: repeat(5, auto); justify-content: space-between; column-gap: var(--sp-4); }
.f-cols h4 { font-size: max(11px, calc(var(--u) * 13)); }
.f-cols a { font-size: max(14px, calc(var(--u) * 15)); }
.f-end { display: flex; flex-direction: column; align-items: flex-end; gap: calc(var(--sp-2) * .75); }
.f-legal { display: flex; gap: var(--sp-4); }
.f-legal a { font-size: max(12px, calc(var(--u) * 13)); color: rgba(255, 255, 255, .62); transition: color .2s ease; }
@media (hover: hover) and (pointer: fine) { .f-legal a:hover { color: var(--coral); } }
.legal { font-size: max(12px, calc(var(--u) * 13)); }
.f-top { grid-template-columns: calc(var(--u) * 280) 1fr; gap: var(--sp-5); }
.f-cols { column-gap: calc(var(--u) * 28); }
.f-brand p { font-size: max(16px, calc(var(--u) * 18)); }
.f-cta.cta { height: clamp(44px, calc(var(--u) * 48), 64px); padding: 0 clamp(6px, calc(var(--u) * 7), 10px) 0 clamp(20px, calc(var(--u) * 24), 32px); gap: clamp(12px, calc(var(--u) * 14), 18px); font-size: clamp(14px, calc(var(--u) * 15), 20px); }
.f-cta .cta-arrow { width: clamp(32px, calc(var(--u) * 34), 46px); height: clamp(32px, calc(var(--u) * 34), 46px); font-size: clamp(14px, calc(var(--u) * 16), 21px); }
@media (max-width: 1280px) { .f-top { grid-template-columns: 1fr; gap: var(--sp-6); } }
@media (max-width: 760px) {
  .f-wm { height: 43.7px; }
  .f-brand p { font-size: 18px; }
  .f-social { gap: 10px; }
  .f-social a { width: 44px; height: 44px; font-size: 18px; }
  .f-seal { width: 48px; height: 48px; }
}
@media (max-width: 760px) {
  .f-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--sp-5); }
  .f-cols div { white-space: normal; }
  .f-mid { flex-direction: column; align-items: flex-start; gap: var(--sp-4); }
  .f-end { align-items: flex-start; }
}
/* socials under the tagline: dark frosted chips with a hairline, the filled
   logo in light ink; on hover the chip floods with the brand gradient */
.f-social { display: flex; gap: calc(var(--u) * 10); margin-top: var(--sp-3); }
.f-social a {
  position: relative;
  width: calc(var(--u) * 44); height: calc(var(--u) * 44);
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
  color: rgba(250, 248, 248, .82);
  font-size: calc(var(--u) * 21); line-height: 1;
  overflow: hidden;
  transition: color .25s ease, box-shadow .25s ease, transform .25s var(--ease-out);
}
.f-social a::before { content: ""; position: absolute; inset: 0; background: var(--grad); opacity: 0; transition: opacity .3s ease; }
.f-social i { position: relative; }
@media (hover: hover) and (pointer: fine) {
  .f-social a:hover { color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0); transform: translateY(-2px); }
  .f-social a:hover::before { opacity: 1; }
}
.f-social a:focus-visible { outline: 2px solid var(--surface); outline-offset: 3px; }
.badges { align-items: center; gap: calc(var(--u) * 16); color: rgba(255, 255, 255, .55); font-family: var(--sans); }
.f-seal { width: calc(var(--u) * 56); height: calc(var(--u) * 56); }
img.f-seal { display: block; object-fit: contain; }
.f-plate { width: calc(var(--u) * 96); height: calc(var(--u) * 27); }
.f-flag { width: calc(var(--u) * 37); height: calc(var(--u) * 27); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  .mouse i { animation: none; }
}


/* ---------- the trust strip: a thin band under the ecosystem ---------- */
/* ---------- Use cases: stacking cards ----------
   Every card is sticky; card i sticks one strip lower than card i-1, so the stack shows each earlier
   card's top strip. Sizes from Figma 5704:18512 scaled to the 1206 grid: strip 72, full face 150. */
.uc { position: relative; background: var(--surface); padding: var(--sp-8) 0 var(--sp-7);
  /* type sizes: at 1280x720 they land on 36 / 76 / 24 / 20 / 24 (heading, number, title, line, strip), multiples of 4.
     The same unit as the Product page's pillar stack: the width scale, shrunk on short screens so both stacks
     always fit (sized for the taller of the two, 708), and so both render at exactly the same size */
  --pk: min(var(--u), calc((100vh - var(--bar-h) - 80px) / 708)); /* 40px of air above and below the stack */ --uc-top: calc((100vh - var(--pk) * 642) / 2); /* stack centred: equal space above and below */ --uc-strip: calc(var(--pk) * 72); --uc-full: calc(var(--pk) * 184); /* the same face as the product page's pillar cards */ --uc-th: calc(var(--pk) * 54); }
/* the heading rides in the stack too: its margin-bottom equals the stack below it, so it leaves with the
   cards; the first card's negative margin-top puts the visible gap back to 92 - 48 */
.uc-title { position: sticky; top: var(--uc-top); z-index: 0; flex: none; height: var(--uc-th); margin: 0 0 calc(var(--pk) * 98 - var(--uc-th) + (var(--uc-n) - 1) * var(--uc-strip) + var(--uc-full)); font-size: calc(var(--pk) * 43.107); line-height: 1.1; /* the same heading size as the Product page's stack (+10%) */ white-space: nowrap; }
.uc-title + .uc-card { margin-top: calc(-1 * ((var(--uc-n) - 1) * var(--uc-strip) + var(--uc-full))); }
/* a flex column so margins never collapse. Sticky cards stop moving when their parent's content box
   ends, minus their own margin-bottom: card i's margin-bottom is the strips stacked below it, so the stack
   holds until the last card lands and then leaves as one. The gap between cards is a constant 34vh. */
.uc-stack { --uc-n: 6; width: min(calc(var(--u) * 1206), calc(100% - 32px)); margin: 0 auto; display: flex; flex-direction: column; }
.uc-stack::after { content: ""; flex: none; height: 45vh; } /* the stack holds this long once complete */
.uc-card { position: sticky; top: calc(var(--uc-top) + var(--pk) * 98 + var(--i) * var(--uc-strip)); z-index: calc(1 + var(--i));
  display: block; flex: none; height: var(--uc-full); margin-bottom: calc((var(--uc-n) - 1 - var(--i)) * var(--uc-strip)); border-radius: calc(var(--pk) * 22); overflow: hidden;
  color: var(--ink); text-decoration: none; font-family: var(--sans); isolation: isolate; outline-offset: 4px; }
.uc-card + .uc-card { margin-top: calc(34vh - (var(--uc-n) - var(--i)) * var(--uc-strip)); }
.uc-card.t-beige { background: #efeae6; }
.uc-card.t-dark { background: var(--dark); color: #fff; }
.uc-card.t-pink { background: #fde3e3; }
.uc-card.t-deep { background: #0f0d0c; color: #fff; }
.uc-card:focus-visible { outline: 2px solid var(--coral); }
/* the two faces share the card; scroll crossfades them (blur in, blur out) */
.uc-full, .uc-strip { position: absolute; left: 0; right: 0; display: flex; align-items: center; padding: 0 calc(var(--pk) * 36); }
.uc-big, .uc-full h3, .uc-full .uc-ar { will-change: transform; }
.uc-full { top: 0; bottom: 0; gap: calc(var(--pk) * 28); }
.uc-strip { top: 0; height: var(--uc-strip); gap: calc(var(--pk) * 12); opacity: 0; font-size: calc(var(--pk) * 28.738); font-weight: 400; letter-spacing: -0.01em; }
.uc-strip .uc-n { font-variant-numeric: tabular-nums; }
.uc-big { flex: none; width: calc(var(--pk) * 140); font-size: calc(var(--pk) * 91.004); font-weight: 300; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.uc-copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: calc(var(--pk) * 8); }
.uc-copy h3 { margin: 0; font: 500 calc(var(--pk) * 28.738)/1.2 var(--sans); letter-spacing: -0.01em; }
.uc-line { font-size: calc(var(--pk) * 23.948); line-height: 1.3; opacity: .78; text-wrap: pretty; }
.uc-ar { flex: none; margin-left: auto; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; transition: transform .25s var(--ease-out); }
.uc-strip .uc-ar { width: calc(var(--pk) * 22); height: calc(var(--pk) * 22); }
.uc-full .uc-ar { width: calc(var(--pk) * 72); height: calc(var(--pk) * 72); stroke-width: 2; }
@media (hover: hover) { .uc-card:hover .uc-ar { transform: translate(3px, -3px); } }
/* reduced motion / no-JS fallback: a class swaps the faces with no blur or movement */
.uc-card.is-stacked .uc-full { opacity: 0; } .uc-card.is-stacked .uc-strip { opacity: 1; }
@media (max-width: 700px) {
  .uc { --uc-strip: 56px; --uc-full: 128px; }
  .uc-title { font-size: 22px; white-space: normal; height: auto; }
  .uc-big { width: 64px; font-size: 44px; } .uc-copy h3 { font-size: 17px; } .uc-line { font-size: 14px; } .uc-strip { font-size: 17px; }
  .uc-full .uc-ar { width: 32px; height: 32px; }
}

/* ---------- smooth corners, site-wide ----------
   Rounded boxes (not pills, not circles) use a superellipse corner where the
   browser supports it, so straight edges ease into the turn like the video frame.
   Browsers without corner-shape keep the plain radius. */
@supports (corner-shape: superellipse(1.5)) {
  .ph-img, .card, .bubble, .kpis div, .foot, .slide,
  .sh-eco .tile, .sh-eco .gc, .sh-eco .lc, .sh-eco .imp, .sh-eco .nd::before { corner-shape: superellipse(1.5); }
}
@media (max-width: 700px) {
  .h-title { font-size: 27px; }
  .q-item { white-space: normal; text-wrap: balance; }
}
.tm { font-size: .5em; font-weight: 400; letter-spacing: 0; line-height: 0; vertical-align: .72em; margin-left: .03em; }
/* in flex rows (the side index, chips) the gap and vertical-align do not apply to the ™: pull it back and lift it */
.rail a > .tm { margin-left: -1.5em; position: relative; top: -.75em; } /* the index rows have a gap between items */
.nav-menu a > .tm { margin-left: .06em; position: relative; top: -.75em; } /* menu rows have none */ /* the trademark sign: small and raised, at any heading size */
/* the two column headings in the Solutions menu are links like the rest, with a hairline under each */
body .nav-links .nav-menu .nav-col > a.nav-col-h { font-size: inherit; font-weight: inherit; letter-spacing: inherit; text-transform: none; white-space: nowrap; opacity: 1; position: relative; margin-bottom: calc(var(--u) * 9); }
body .nav-links .nav-menu .nav-col > a.nav-col-h::after { content: ""; position: absolute; left: calc(var(--u) * 16); right: calc(var(--u) * 16); bottom: calc(var(--u) * -5); height: 1px; background: currentColor; opacity: .16; pointer-events: none; }

/* ---------- The engine and the intelligence it feeds (home, Product Overview, Solutions Overview) ----------
   The Performance Engine panel carries a coral edge, a header bar (what it is, three qualities) and a wire
   from the bar to each of its three cards. A dashed "anonymized signals" link runs across to the Business
   Intelligence panel, which keeps a plain hairline edge. The cards themselves are unchanged. */
.solves .tiles.engine-map { --k: var(--uu, var(--u)); --link: calc(var(--k) * 92);
  display: grid; grid-template-columns: minmax(0, 3.15fr) var(--link) minmax(0, 1.12fr); grid-template-rows: none; column-gap: 0; align-items: stretch; }
.solves .engine-map .grp { grid-row: auto; display: flex; flex-direction: column; gap: 0; padding: calc(var(--k) * 24); border-radius: calc(var(--k) * 28); background: rgba(250, 248, 248, .02); position: relative; }
.solves .engine-map .grp::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: rgba(250, 248, 248, .1); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.solves .engine-map .grp-cards { flex: 1; }
.solves .engine-map .grp-bi .grp-cards { display: grid; }
/* the header bar */
.grp-bar { display: flex; align-items: center; gap: calc(var(--k) * 14); text-align: left; }
.grp-engine .grp-bar { padding: calc(var(--k) * 16) calc(var(--k) * 20); border-radius: calc(var(--k) * 18);
  background: linear-gradient(100deg, rgba(255, 102, 102, .14), rgba(236, 69, 141, .06) 60%, rgba(250, 248, 248, .03)); box-shadow: inset 0 0 0 1px rgba(255, 140, 140, .14); }
.grp-bi .grp-bar { padding: calc(var(--k) * 16) calc(var(--k) * 12) calc(var(--k) * 22); }
.grp-id { flex: 1; min-width: 0; }
.solves .engine-map .grp-name { padding: 0; text-align: left; font-size: calc(var(--k) * 14); font-weight: 600; letter-spacing: .16em; white-space: normal; color: #ff8a80; }
.grp-bi .grp-name { color: rgba(250, 248, 248, .72) !important; }
.grp-sub { margin-top: calc(var(--k) * 4); font-size: calc(var(--k) * 14); line-height: 1.4; color: rgba(250, 248, 248, .66); }
.grp-tags { flex: none; display: flex; flex-wrap: wrap; gap: calc(var(--k) * 8); margin: 0; list-style: none; }
.grp-tags li { display: inline-flex; align-items: center; height: calc(var(--k) * 32); padding: 0 calc(var(--k) * 14); border-radius: 999px; font-size: calc(var(--k) * 13); font-weight: 500; white-space: nowrap; color: rgba(250, 248, 248, .9); box-shadow: inset 0 0 0 1px rgba(250, 248, 248, .22); }
.grp-bi .grp-bar { min-height: calc(var(--k) * 112); align-items: flex-start; box-sizing: border-box; } /* the Acumen card starts level with the three */
.solves .engine-map .ptile-copy { display: flex; flex-direction: column; }
.solves .engine-map .ptile-copy .for { margin-top: auto; padding-top: calc(var(--k) * 24); } /* "Made for" sits on one line across the cards */
/* the wire: a stem from the bar, a rail across, a drop into each card */
.grp-wire { position: relative; height: calc(var(--k) * 40); --c: rgba(255, 120, 120, .6); --edge: calc((100% - 2 * var(--in)) / 6); }
.grp-wire::before { content: ""; position: absolute; left: 50%; top: 0; height: 50%; width: 1px; background: var(--c); }
.grp-wire i { position: absolute; top: 50%; bottom: 0; border: 0 solid var(--c); --r: calc(var(--k) * 12); }
.grp-wire i:nth-child(1) { left: var(--edge); right: 50%; border-top-width: 1px; border-left-width: 1px; border-top-left-radius: var(--r); }
.grp-wire i:nth-child(2) { left: 50%; width: 1px; background: var(--c); }
.grp-wire i:nth-child(3) { left: calc(50% + 1px); right: var(--edge); border-top-width: 1px; border-right-width: 1px; border-top-right-radius: var(--r); }
/* the link between the panels: anonymized signals flowing across */
.grp-link { align-self: center; display: flex; flex-direction: column; align-items: center; gap: calc(var(--k) * 12); padding: 0 calc(var(--k) * 6); text-align: center; }
.grp-link span { font-size: calc(var(--k) * 11); font-weight: 600; line-height: 1.5; letter-spacing: .04em; text-transform: uppercase; color: rgba(250, 248, 248, .5); }
.grp-link svg { width: calc(var(--k) * 62); height: calc(var(--k) * 14); overflow: visible; }
.grp-link path { fill: none; stroke: #ff8a80; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.grp-link .flow { stroke-dasharray: 5 5; animation: grp-flow 1.2s linear infinite; }
@keyframes grp-flow { to { stroke-dashoffset: -10; } }
@media (prefers-reduced-motion: reduce) { .grp-link .flow { animation: none; } }
/* tablets: the panels stack and the signals run down between them */
@media (max-width: 1000px) {
  .solves .tiles.engine-map { grid-template-columns: 1fr; row-gap: 0; }
  .grp-link { flex-direction: row; padding: calc(var(--k) * 18) 0; justify-self: center; }
  .grp-link svg { rotate: 90deg; width: calc(var(--k) * 40); }
  .grp-engine .grp-bar { flex-wrap: wrap; }
  .grp-engine .grp-tags { width: 100%; }
}
/* phones: the whole map at phone sizes (the units here no longer shrink with the screen), cards in one column */
@media (max-width: 700px) {
  .solves .tiles.engine-map { --u: 1px; --uu: 1px; --k: 1px; --in: 12px; --pad: 16px; --cp: 20px; width: calc(100% - 32px); max-width: 560px; }
  .solves .engine-map .grp-engine .grp-cards { grid-template-columns: 1fr; }
  .solves .engine-map .ptile h4, .solves .engine-map .ptile h3 { white-space: normal; }
  .grp-wire { display: none; }
  .solves .engine-map .grp-engine .grp-cards { margin-top: 16px; }
  .grp-engine .grp-tags { padding-left: 0; }
  .grp-bi .grp-bar { min-height: 0; }
}
