/* The Margin design: the homepage and the case study pages (chrome "margin" in content/index.json).
   Ported from the Two Paths canvas (https://claude.ai/artifact/JA6EhmcFVjNoPEnvWuKx3m); this file is
   now the source of truth. Old Bottom Line pages never load it. Every class starts with m- or cs-
   so nothing here can restyle a theme page. */

@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/home/fonts/instrument-sans-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/home/fonts/instrument-sans-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(/home/fonts/geist-mono-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(/home/fonts/geist-mono-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --m-paper: #F5F4F0;
  --m-card: #FBFAF7;
  --m-ink: #24252B;
  --m-ink-2: #2E2F35;
  --m-text: #4A4B52;
  --m-body: #55565D;
  --m-mono: #6E6F77;
  --m-grey: #84858C;
  --m-hair: #E4E2DC;
  --m-hair-2: #D6D3CA;
  --m-slate: #3A3D4E;
  --m-sans: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --m-monofont: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --m-gutter: 64px;
  --m-gap: 24px;
  --m-section: 128px;
}

html { scroll-behavior: smooth; }
body { margin: 0; background: var(--m-paper); color: var(--m-ink); font-family: var(--m-sans); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; color-scheme: light; overflow-x: hidden; }
.m-page *, .m-page *::before, .m-page *::after, .m-nav *, .m-footer * { box-sizing: border-box; }
.m-page img { max-width: 100%; }
.m-page a, .m-nav a, .m-footer a { color: var(--m-ink); }
.m-page a:focus-visible, .m-page button:focus-visible, .m-nav a:focus-visible, .m-nav button:focus-visible, .m-footer a:focus-visible, .m-footer button:focus-visible {
  outline: 2px solid #2F6DB5; outline-offset: 3px; }
.m-page button, .m-nav button, .m-footer button { font-family: inherit; cursor: pointer; }
.m-mono { font-family: var(--m-monofont); }
.m-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.m-wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding-left: max(var(--m-gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--m-gutter), env(safe-area-inset-right, 0px)); }
.m-section { padding-top: var(--m-section); scroll-margin-top: 16px; }
.m-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--m-gap); }

/* Type */
.m-h1 { margin: 0; font-size: 64px; line-height: 1.04; font-weight: 500; letter-spacing: -0.032em; color: var(--m-ink); text-wrap: balance; }
.m-h2 { margin: 0; font-size: 46px; line-height: 1.08; font-weight: 500; letter-spacing: -0.028em; color: var(--m-ink); text-wrap: balance; }
.m-h2 .m-grey, .m-h1 .m-grey { color: var(--m-grey); }
.m-lead { margin: 0; font-size: 17px; line-height: 1.55; color: var(--m-text); }
.m-underline { text-decoration-line: underline; text-decoration-thickness: 2px; text-underline-offset: 0.16em; text-decoration-color: rgba(132, 133, 140, 0.5); text-decoration-skip-ink: auto; }

/* Buttons and links */
.m-pill { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 22px 0 24px; border-radius: 999px; background: var(--m-slate);
  color: #F2F3F7 !important; font-size: 17px; font-weight: 500; text-decoration: none; transition: background-color .18s ease, transform .12s ease; white-space: nowrap; }
.m-pill:hover { background: #2A2C38; color: #fff !important; transform: translateY(-1px); }
.m-pill:active { transform: translateY(0) scale(.98); }
.m-pill--sm { height: 44px; padding: 0 20px 0 22px; font-size: 16px; }
.m-pill--lg { height: 52px; padding: 0 24px 0 26px; font-size: 18px; }
.m-pill svg { flex: none; }
.m-white { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: 12px; background: #fff; color: var(--m-ink) !important;
  font-size: 15px; font-weight: 500; text-decoration: none; box-shadow: 0 1px 2px rgba(0,0,0,.12); transition: background-color .18s ease, transform .12s ease; }
.m-white:hover { background: #EEEDE8; transform: translateY(-1px); }
.m-link { text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-repeat: no-repeat;
  background-position: 0 100%; transition: background-size .22s ease; }
.m-link:hover { background-size: 100% 1px; }
.m-under { font-size: 16px; font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; transition: text-underline-offset .18s ease; }
.m-under:hover { text-underline-offset: 4px; }

/* Nav */
.m-nav { position: relative; z-index: 20; background: var(--m-paper); font-family: var(--m-sans); }
.m-nav__bar { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--m-hair); }
.m-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--m-ink) !important; }
.m-logo span { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; }
.m-nav__links { display: flex; align-items: center; gap: 28px; margin: 0; padding: 0; list-style: none; font-size: 15px; }
.m-nav__links a { color: var(--m-text) !important; }
.m-nav__links a[aria-current="page"] { color: var(--m-ink) !important; font-weight: 500; }
.m-nav__menu { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -10px; border: 0; background: transparent; color: var(--m-ink); }
.m-nav__panel { display: contents; }
.m-skip { position: absolute; left: 16px; top: -64px; z-index: 30; padding: 10px 14px; border-radius: 10px; background: var(--m-ink); color: #fff !important; font-size: 14px; text-decoration: none; }
.m-skip:focus { top: 16px; }

/* Hero */
.m-hero { padding-top: 48px; padding-bottom: 40px; }
.m-hero__top { align-items: end; row-gap: 24px; }
.m-hero__title { grid-column: span 7; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.m-hero__side { grid-column: 9 / span 4; display: flex; flex-direction: column; align-items: flex-end; gap: 24px; padding-bottom: 6px; }

/* The map */
.m-map-scroll { margin-top: 44px; scroll-margin-top: 24px; }
.m-map { position: relative; width: 100%; aspect-ratio: 2688 / 1152; border-radius: 24px; overflow: hidden; background: #7A8A66;
  box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 36px 70px -40px rgba(38,52,20,.55); }
.m-map > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.m-map > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.m-chip { position: absolute; display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px 0 7px; border-radius: 999px; background: rgba(255,255,255,.92);
  box-shadow: 0 1px 2px rgba(20,20,10,.15), 0 8px 20px -10px rgba(20,20,10,.4); font-size: 13px; font-weight: 500; color: var(--m-ink); white-space: nowrap;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.m-chip--firm { padding: 0 12px 0 10px; font-weight: 600; transform: translate(-50%, -50%); }
.m-chip--dim { height: 26px; padding: 0 10px; background: rgba(240,239,235,.88); border: 1px dashed rgba(70,70,74,.5); box-shadow: none; font-size: 12px; font-weight: 400; color: #3F4047; }
.m-panelbox { position: absolute; display: flex; flex-direction: column; border-radius: 14px; background: rgba(255,255,255,.9);
  box-shadow: 0 1px 2px rgba(20,20,10,.15), 0 10px 24px -12px rgba(20,20,10,.45); color: var(--m-ink); backdrop-filter: blur(16px) saturate(1.25); -webkit-backdrop-filter: blur(16px) saturate(1.25); }
.m-dest { right: 1%; top: 21.9%; gap: 5px; padding: 9px 12px 10px; font-size: 12px; font-weight: 500; white-space: nowrap; }
.m-dest__title { font-family: var(--m-monofont); font-size: 11px; font-weight: 400; color: #5D5E66; }
.m-dest span { display: inline-flex; align-items: center; gap: 7px; }
.m-legend { left: 20px; bottom: 20px; gap: 8px; padding: 12px 16px; font-size: 13px; }
.m-legend span { display: inline-flex; align-items: center; gap: 10px; }
.m-map-hint { display: none; margin: 10px 0 0; font-family: var(--m-monofont); font-size: 12px; color: var(--m-mono); }

/* The logo strip under the map: our firms, in ink. A slow marquee when they don't fit (1180px and down). */
.m-logos { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--m-hair); }
.m-logos__title { margin: 0 0 22px; font-family: var(--m-monofont); font-size: 13px; font-weight: 400; color: var(--m-mono); }
.m-logos__track { overflow: hidden; }
.m-logos__belt { display: flex; }
.m-logos__row { list-style: none; margin: 0; padding: 0; flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.m-logos__row li { flex: none; }
.m-logos__row img { display: block; width: auto; max-width: none; filter: grayscale(1); opacity: .62; }
.m-logos__copy { display: none; }
@keyframes m-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* What you get: accordion and picture */
.m-get { align-items: center; row-gap: 40px; }
.m-get__left { grid-column: span 5; display: flex; flex-direction: column; align-items: flex-start; gap: 44px; }
.m-get__left .m-h2 { font-size: 40px; line-height: 1.12; }
.m-get__right { grid-column: 7 / span 6; }
.m-acc { align-self: stretch; border-top: 1px solid var(--m-hair-2); }
.m-acc__item { border-bottom: 1px solid var(--m-hair); }
.m-acc__item h3 { margin: 0; }
.m-acc__btn { position: relative; display: flex; align-items: center; width: 100%; min-height: 56px; padding: 16px 0; border: 0; background: transparent; text-align: left;
  font-size: 18px; font-weight: 500; letter-spacing: -0.01em; color: var(--m-mono); transition: color .18s ease; }
.m-acc__btn:hover, .m-acc__btn[aria-expanded="true"] { color: var(--m-ink); }
.m-acc__btn::before { content: ""; position: absolute; left: -20px; top: 50%; width: 7px; height: 7px; margin-top: -3px; border-radius: 50%; background: var(--m-ink); opacity: 0; }
.m-acc__btn[aria-expanded="true"]::before { opacity: 1; }
.m-acc__text { margin: -6px 0 0; padding: 0 0 22px; max-width: 520px; font-size: 16px; line-height: 1.55; color: var(--m-body); }
.m-acc__text[hidden] { display: none; }
.m-show { position: relative; aspect-ratio: 1 / 1; border-radius: 28px; overflow: hidden; background: #DDE8D6;
  -webkit-mask-image: linear-gradient(to right, #000 72%, rgba(0,0,0,0) 100%), linear-gradient(to bottom, #000 76%, rgba(0,0,0,0) 100%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, #000 72%, rgba(0,0,0,0) 100%), linear-gradient(to bottom, #000 76%, rgba(0,0,0,0) 100%); mask-composite: intersect; }
.m-show img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .55s ease; }
.m-show img.is-on { opacity: 1; }
.m-show__blur { position: absolute; top: 0; right: 0; bottom: 0; width: 22%; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  -webkit-mask-image: linear-gradient(to right, transparent, #000); mask-image: linear-gradient(to right, transparent, #000); }
.m-tag { position: absolute; top: 20px; left: 20px; display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; background: rgba(255,255,255,.72);
  font-family: var(--m-monofont); font-size: 12px; color: var(--m-ink); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

/* Chapter cards (stops, and the Hall of Heroes) */
.m-card { display: flex; flex-direction: column; gap: 20px; padding: 28px 28px 22px; background: var(--m-card); border: 1px solid var(--m-hair); border-radius: 22px;
  transition: transform .22s ease, box-shadow .22s ease; min-width: 0; }
.m-card:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -26px rgba(40,40,25,.45); }
.m-card h3 { margin: 0; font-size: 30px; line-height: 1.12; font-weight: 500; letter-spacing: -0.022em; color: var(--m-ink-2); }
.m-card h3 .m-grey { color: var(--m-grey); }
.m-rule { height: 1px; background: var(--m-hair); }
.m-label { margin: 0; font-family: var(--m-monofont); font-size: 13px; color: var(--m-mono); }
.m-pic { position: relative; aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden; background: #CFE3C2; margin-top: auto; }
.m-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform .6s ease; }
.m-card:hover .m-pic img { transform: scale(1.025); }
.m-pic__blur { position: absolute; left: 0; right: 0; bottom: 0; height: 30%; backdrop-filter: blur(9px); -webkit-backdrop-filter: blur(9px);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 55%); mask-image: linear-gradient(to bottom, transparent 0%, #000 55%);
  background: linear-gradient(to bottom, rgba(251,250,247,0), rgba(251,250,247,.28)); }
.m-byline { display: flex; justify-content: space-between; gap: 12px; font-family: var(--m-monofont); font-size: 12px; color: var(--m-mono); }

/* How we do it: the track and the four stops */
.m-how .m-h2 { max-width: 900px; }
.m-track { margin-top: 44px; }
.m-track svg { display: block; width: 100%; height: auto; overflow: visible; }
.m-stops { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 12px; }
.m-stop { gap: 16px; padding: 24px 24px 24px; }
.m-stops .m-card h3 { font-size: 28px; }
.m-stop__cap { margin: 0; font-size: 20px; line-height: 1.3; font-weight: 500; letter-spacing: -0.012em; color: var(--m-ink); }
.m-shot-scroll { margin-top: auto; }
.m-shot { position: relative; margin: 0; aspect-ratio: 1 / 0.92; border-radius: 16px; background: #ECEAE4; overflow: hidden; }
.m-shot img { position: absolute; display: block; height: auto; border-radius: 10px; border: 1px solid rgba(36,37,43,.08);
  box-shadow: 0 1px 2px rgba(36,37,43,.08), 0 18px 36px -20px rgba(36,37,43,.45); }
.m-shot--marketing, .m-shot--sales { min-width: 420px; }
.m-shot__google { left: 4%; top: 4.3%; width: 70%; }
.m-shot__slack { right: 4%; top: 59.2%; width: 64%; }
.m-shot__call { left: 4%; top: 7%; width: 92%; }
.m-shot__deal { left: 6%; top: 39%; width: 58%; }
.m-shot-hint { display: none; margin: -6px 0 0; font-family: var(--m-monofont); font-size: 12px; color: var(--m-mono); }
/* Annotation tags on the screenshots (the deck's orange tags, in Margin's ink). */
.m-note { position: absolute; z-index: 2; display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 7px; background: var(--m-slate);
  color: #fff; font-family: var(--m-monofont); font-size: 11.5px; font-weight: 500; letter-spacing: .01em; white-space: nowrap; box-shadow: 0 8px 18px -10px rgba(0,0,0,.55); }
.m-note::before { content: ""; position: absolute; width: 0; height: 0; border: 6px solid transparent; }
.m-note--left::before, .m-note:not(.m-note--down):not(.m-note--up)::before { left: -11px; top: 50%; margin-top: -6px; border-right-color: var(--m-slate); }
.m-note--down::before { left: auto; right: 16px; top: auto; bottom: -11px; margin: 0; border-top-color: var(--m-slate); border-right-color: transparent; }
.m-note--up::before { left: auto; right: 16px; top: -11px; margin: 0; border-bottom-color: var(--m-slate); border-right-color: transparent; }
/* Product-UI panels for onboarding and the month-end close (sample clients). */
.m-shot--ui { padding: 5%; }
.m-ui { height: 100%; display: flex; flex-direction: column; background: #fff; border-radius: 12px; border: 1px solid rgba(36,37,43,.08);
  box-shadow: 0 1px 2px rgba(36,37,43,.08), 0 18px 36px -20px rgba(36,37,43,.45); overflow: hidden; font-size: 14px; color: var(--m-ink); }
.m-ui__bar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid #EEECE7; }
.m-ui__bar span { width: 9px; height: 9px; border-radius: 50%; background: #DAD7CF; }
.m-ui__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px 0; }
.m-ui__brand { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.m-ui__brand b { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--m-slate); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .02em; }
.m-ui__pill { flex: none; padding: 4px 10px; border-radius: 999px; background: #EEF1F7; color: #3A4A6B; font-family: var(--m-monofont); font-size: 11px; }
.m-ui__pill--ok { background: #E7F3EC; color: #1E6A43; }
.m-ui__body { display: flex; flex-direction: column; padding: 18px 20px 0; flex: 1; }
.m-ui__k { margin: 0; font-family: var(--m-monofont); font-size: 11px; color: var(--m-mono); }
.m-ui__name { margin: 2px 0 12px; font-size: 18px; font-weight: 600; letter-spacing: -0.012em; }
.m-ui__list { list-style: none; margin: 0; padding: 0; }
.m-ui__list li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid #F0EEE9; }
.m-ui__tick { flex: none; width: 18px; height: 18px; fill: #2F8F5B; transition: transform .35s cubic-bezier(.3,1.6,.5,1), opacity .2s ease; }
.m-ui__done { margin: auto 0 0; padding: 14px 0 0; }
.m-ui__done span { display: inline-flex; padding: 5px 11px; border-radius: 999px; background: #E7F3EC; color: #1E6A43; font-size: 12px; font-weight: 600; transition: opacity .3s ease; }
.m-ui__foot { margin: 0; padding: 10px 20px 14px; font-family: var(--m-monofont); font-size: 11px; color: #9A9BA1; text-align: right; }
.m-ui__board { position: relative; flex: 1; padding: 16px 20px 0; display: flex; flex-direction: column; gap: 4px; --lane: 54%; }
.m-ui__days, .m-ui__row { display: grid; grid-template-columns: minmax(0, 1fr) var(--lane); align-items: center; gap: 12px; }
.m-ui__days { padding-bottom: 6px; border-bottom: 1px solid #F0EEE9; }
.m-ui__scale { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); font-family: var(--m-monofont); font-size: 10.5px; color: #9A9BA1; }
.m-ui__scale b { font-weight: 400; white-space: nowrap; }
.m-ui__scale .is-due { color: var(--m-ink); font-weight: 500; }
.m-ui__row { padding: 9px 0; border-bottom: 1px solid #F4F2EE; }
.m-ui__client { font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-ui__lane { position: relative; display: flex; align-items: center; height: 10px; border-radius: 5px; background: #F1EFEA; }
.m-ui__lane i { display: block; height: 10px; border-radius: 5px; background: linear-gradient(90deg, #8FA2C7, var(--m-slate)); transition: width .8s cubic-bezier(.2,.7,.2,1); }
.m-ui__lane .m-ui__tick { margin-left: -9px; }
.m-ui__lane::after { content: ""; position: absolute; left: 80%; top: -10px; bottom: -10px; border-left: 1.5px dashed #C9C5BA; }
/* Ticking through: margin.js arms the panel, then plays it once when it scrolls into view. */
.m-ui.is-armed:not(.is-live) .m-ui__tick { transform: scale(0); opacity: 0; }
.m-ui.is-armed:not(.is-live) .m-ui__done span { opacity: 0; }
.m-ui.is-armed:not(.is-live) .m-ui__lane i { width: 0 !important; }
.m-ui.is-live .m-ui__tick { transform: scale(1); opacity: 1; }
.m-ui.is-live .m-ui__done span { opacity: 1; transition-delay: 2.2s; }
.m-ui.is-live li:nth-child(1) .m-ui__tick { transition-delay: .3s; }
.m-ui.is-live li:nth-child(2) .m-ui__tick { transition-delay: .8s; }
.m-ui.is-live li:nth-child(3) .m-ui__tick { transition-delay: 1.3s; }
.m-ui.is-live li:nth-child(4) .m-ui__tick { transition-delay: 1.8s; }
.m-ui.is-live .m-ui__lane .m-ui__tick { transition-delay: .9s; }
.m-vtrack, .m-stop-flag, .m-vend { display: none; }

/* What comes with Margin: the collectible cards */
.m-with { align-items: start; row-gap: 32px; }
.m-with__left { grid-column: span 4; display: flex; flex-direction: column; gap: 20px; padding-top: 8px; }
.m-with__cards { grid-column: 5 / span 8; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.m-holo { padding: 10px; border-radius: 26px; box-shadow: 0 1px 0 rgba(0,0,0,.05), 0 28px 50px -32px rgba(40,40,25,.5); transition: transform .22s ease;
  background-color: #E7E9ED;
  background-image: linear-gradient(125deg, rgba(255,196,224,.42) 0%, rgba(190,224,255,.48) 32%, rgba(204,250,214,.44) 62%, rgba(255,234,186,.5) 100%),
    repeating-conic-gradient(rgba(255,255,255,.9) 0 25%, rgba(255,255,255,0) 0 50%), repeating-conic-gradient(rgba(150,158,172,.32) 0 25%, rgba(255,255,255,0) 0 50%);
  background-size: 100% 100%, 6px 6px, 18px 18px; background-position: 0 0, 0 0, 3px 3px; }
.m-holo:hover { transform: translateY(-2px); }
.m-holo__in { position: relative; aspect-ratio: 3 / 4; border-radius: 18px; overflow: hidden; background: #9CC6E8; }
.m-holo__in > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.m-holo__tag { position: absolute; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px 0 8px; border-radius: 999px;
  background: rgba(255,255,255,.8); font-family: var(--m-monofont); font-size: 12px; color: var(--m-ink); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.m-glass { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px; border-radius: 16px;
  background: rgba(22,36,18,.5); border: 1px solid rgba(255,255,255,.24); backdrop-filter: blur(16px) saturate(1.25); -webkit-backdrop-filter: blur(16px) saturate(1.25); }
.m-glass h3 { margin: 0; font-size: 26px; line-height: 1.16; font-weight: 500; letter-spacing: -0.02em; color: #fff; }
.m-glass h3 span { color: rgba(255,255,255,.68); }
.m-glass p { margin: 0; font-size: 15px; line-height: 1.5; color: rgba(255,255,255,.92); }

/* Hall of Heroes */
.m-hall .m-h2 { max-width: 880px; }
.m-hall__note { margin: 16px 0 0; font-family: var(--m-monofont); font-size: 12px; color: var(--m-mono); }
.m-hall__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.m-hero-card { position: relative; }
.m-hero-card__logo { height: 34px; display: flex; align-items: center; }
.m-hero-card__logo img { max-height: 34px; width: auto; max-width: 70%; }
.m-hero-card__logo img.is-mark { max-height: 26px; }
.m-stats { margin: 0; display: grid; grid-template-columns: 1fr auto; row-gap: 8px; column-gap: 16px; font-size: 15px; font-variant-numeric: tabular-nums; }
.m-stats dt { font-family: var(--m-monofont); font-size: 13px; color: var(--m-mono); }
.m-stats dd { margin: 0; font-weight: 600; color: var(--m-ink); text-align: right; }
.m-quote { margin: 0; font-size: 16px; line-height: 1.55; color: var(--m-body); }
.m-quote footer { margin-top: 6px; font-family: var(--m-monofont); font-size: 12px; color: var(--m-mono); }
.m-hero-card__more { font-size: 15px; font-weight: 500; }
.m-hero-card__more::after { content: ""; position: absolute; inset: 0; border-radius: 22px; }
.m-slot { grid-column: 3; grid-row: 2; display: flex; flex-direction: column; gap: 20px; padding: 28px 28px 22px; background: rgba(251,250,247,.4); border: 2px dashed #C9C5BA; border-radius: 22px; }
.m-slot h3 { margin: 0; font-size: 30px; line-height: 1.12; font-weight: 500; letter-spacing: -0.022em; color: var(--m-grey); }
.m-slot__bar { display: block; height: 12px; border-radius: 6px; background: #E6E3DB; }
.m-slot__scene { border-radius: 14px; overflow: hidden; background: #DCEBF6; margin-top: auto; border: 1px dashed #C9C5BA; }
.m-slot__scene svg { display: block; width: 100%; height: auto; }
.m-cta { grid-column: 1 / span 2; grid-row: 2; align-self: center; display: flex; flex-direction: column; align-items: flex-end; gap: 28px; padding-right: 4px; text-align: right; }
.m-cta__arrow { display: flex; align-items: center; gap: 22px; transition: transform .25s ease-out, opacity .25s ease-out; }
.m-cta__arrow p { margin: 0; font-size: 56px; line-height: 1.02; font-weight: 500; letter-spacing: -0.034em; color: var(--m-ink); }
.m-cta__arrow svg { flex: none; filter: drop-shadow(0 3px 0 rgba(36,37,43,.12)); }
.m-cta blockquote { margin: 0; max-width: 560px; font-size: 24px; line-height: 1.35; font-weight: 500; letter-spacing: -0.012em; color: var(--m-ink-2); }
.m-book { margin-top: 48px; scroll-margin-top: 24px; padding: 32px; background: var(--m-card); border: 1px solid var(--m-hair); border-radius: 28px; }
.m-book__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 16px; }
.m-book__head h3 { margin: 0; font-size: 28px; font-weight: 500; letter-spacing: -0.02em; }
.m-book__head p { margin: 0; font-size: 15px; color: var(--m-body); }

/* Footer */
.m-footer { padding-top: var(--m-section); padding-bottom: 48px; font-family: var(--m-sans); background: var(--m-paper); color: var(--m-ink); }
.m-footer__grid { row-gap: 32px; padding-top: 40px; border-top: 1px solid var(--m-hair); }
.m-footer__about { grid-column: span 6; display: flex; flex-direction: column; gap: 14px; }
.m-footer__about p { margin: 0; max-width: 440px; font-size: 15px; line-height: 1.55; color: #5D5E66; }
.m-footer__col { grid-column: 11 / span 2; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.m-footer__col--road { grid-column: 9 / span 2; }
.m-footer__col p { margin: 0 0 4px; font-family: var(--m-monofont); font-size: 12px; color: var(--m-mono); }
.m-footer__col a { color: #3A3B42 !important; align-self: flex-start; }
.m-footer__legal { grid-column: span 12; display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 24px 0 0; font-size: 13px; color: var(--m-mono); }
.m-footer__legal a, .m-footer__legal button { color: var(--m-mono) !important; font-size: 13px; }
.m-footer__legal button { margin: 0; padding: 0; border: 0; background: none; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Case study pages ---------- */
.cs-crumb { margin: 0 0 24px; font-family: var(--m-monofont); font-size: 13px; color: var(--m-mono); }
.cs-crumb a { color: var(--m-mono) !important; }
.cs-hero { padding-top: 48px; }
.cs-hero__grid { align-items: end; row-gap: 32px; }
.cs-hero__title { grid-column: span 8; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.cs-hero__logo { height: 44px; width: auto; max-width: 220px; }
.cs-hero__logo.is-mark { height: 30px; }
.cs-hero__title .m-h1 { font-size: 56px; }
.cs-hero__site { grid-column: 10 / span 3; justify-self: end; font-size: 15px; }
.cs-photo { margin-top: 40px; border-radius: 24px; overflow: hidden; background: #DDD; aspect-ratio: 16 / 9; }
.cs-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cs-facts { list-style: none; margin: 28px 0 0; padding: 24px 0 0; border-top: 1px solid var(--m-hair); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.cs-facts li { display: flex; flex-direction: column; gap: 4px; font-size: 15px; line-height: 1.45; color: var(--m-text); }
.cs-facts strong { font-family: var(--m-monofont); font-size: 12px; font-weight: 400; color: var(--m-mono); }
.cs-stats { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 24px; }
.cs-stats li { padding: 24px; background: var(--m-card); border: 1px solid var(--m-hair); border-radius: 22px; }
.cs-stats b { display: block; font-size: 52px; line-height: 1; font-weight: 500; letter-spacing: -0.03em; color: var(--m-ink); font-variant-numeric: tabular-nums; }
.cs-stats span { display: block; margin-top: 12px; font-family: var(--m-monofont); font-size: 13px; color: var(--m-mono); }
.cs-bigquote { margin: 72px 0 0; padding: 0; max-width: 980px; }
.cs-bigquote p { margin: 0; font-size: 36px; line-height: 1.2; font-weight: 500; letter-spacing: -0.024em; color: var(--m-ink); text-wrap: balance; }
.cs-bigquote footer { margin-top: 18px; font-size: 15px; color: var(--m-text); }
.cs-bigquote footer b { font-weight: 600; color: var(--m-ink); }
.cs-note { margin: 18px 0 0; font-family: var(--m-monofont); font-size: 12px; color: var(--m-mono); }
.cs-body { margin-top: 96px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--m-gap); row-gap: 72px; }
.cs-part { grid-column: 1 / span 12; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--m-gap); row-gap: 16px; border-top: 1px solid var(--m-hair); padding-top: 32px; }
.cs-part > h2 { grid-column: span 4; margin: 0; font-size: 34px; line-height: 1.1; font-weight: 500; letter-spacing: -0.024em; }
.cs-part__text { grid-column: 6 / span 7; display: flex; flex-direction: column; gap: 18px; font-size: 17px; line-height: 1.6; color: var(--m-text); }
.cs-part__text p { margin: 0; }
.cs-part__text ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.cs-part__text li { position: relative; padding-left: 22px; }
.cs-part__text li::before { content: ""; position: absolute; left: 2px; top: 0.7em; width: 7px; height: 7px; border-radius: 2px; background: var(--m-slate); }
.cs-part__text li strong { color: var(--m-ink); font-weight: 600; }
.cs-part__text blockquote { margin: 8px 0 0; padding: 0 0 0 20px; border-left: 2px solid var(--m-slate); font-size: 21px; line-height: 1.4; font-weight: 500; color: var(--m-ink-2); }
.cs-video { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #111; }
.cs-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cs-figure { margin: 0; max-width: 460px; border-radius: 18px; overflow: hidden; }
.cs-figure img { display: block; width: 100%; height: auto; }
.cs-related { margin-top: 120px; }
.cs-related__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.cs-end { margin-top: 120px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; padding: 56px 64px; background: var(--m-card); border: 1px solid var(--m-hair); border-radius: 28px; }
.cs-end .m-h2 { max-width: 760px; }
.cs-end p { margin: 14px 0 0; max-width: 620px; font-size: 18px; line-height: 1.45; color: var(--m-text); }
.cs-index .m-hall__grid { margin-top: 56px; }

/* Under reduced motion everything rests. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .m-page *, .m-nav * { transition: none !important; animation: none !important; }
}

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  :root { --m-gutter: 32px; --m-section: 104px; }
  .m-h1 { font-size: 52px; }
  .m-h2 { font-size: 38px; }
  .m-hero__title { grid-column: span 12; }
  .m-hero__side { grid-column: span 12; align-items: flex-start; }
  .m-chip { height: 26px; font-size: 12px; gap: 5px; padding: 0 9px 0 6px; }
  .m-chip svg { width: 13px; height: 13px; }
  .m-chip--dim { height: 22px; font-size: 11px; padding: 0 8px; }
  .m-dest { font-size: 11px; padding: 7px 10px 8px; gap: 3px; }
  .m-legend { font-size: 12px; padding: 9px 12px; gap: 5px; left: 14px; bottom: 14px; }
  .m-get__left { grid-column: span 12; }
  .m-get__right { grid-column: span 12; max-width: 720px; }
  .m-stops { grid-template-columns: minmax(0, 1fr); }
  .m-stop { max-width: 760px; }
  .m-track { display: none; }
  .m-with__left { grid-column: span 12; max-width: 720px; }
  .m-with__cards { grid-column: span 12; }
  .m-hall__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .m-slot { grid-column: auto; grid-row: auto; }
  /* The slot now sits above the arrow, so the arrow points up at it. */
  .m-cta { grid-column: 1 / -1; grid-row: auto; align-items: flex-start; text-align: left; }
  .m-cta__arrow svg { transform: rotate(-90deg); }
  .cs-hero__title { grid-column: span 12; }
  .cs-hero__site { grid-column: span 12; justify-self: start; }
  .cs-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cs-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cs-part > h2 { grid-column: span 12; }
  .cs-part__text { grid-column: span 12; }
}

@media (max-width: 1180px) {
  .m-logos__track { -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }
  .m-logos__belt { width: max-content; animation: m-marquee 42s linear infinite; }
  .m-logos__row { flex: none; justify-content: flex-start; gap: 48px; padding-right: 48px; }
  .m-logos__copy { display: flex; }
}
@media (max-width: 1180px) and (prefers-reduced-motion: reduce) {
  .m-logos__track { -webkit-mask-image: none; mask-image: none; }
  .m-logos__belt { width: auto; animation: none; }
  .m-logos__row { flex: 1; flex-wrap: wrap; justify-content: center; gap: 24px 36px; padding-right: 0; }
  .m-logos__copy { display: none; }
}

/* The stops' road runs down the side once the four cards stack (tablet and phone). */
@media (max-width: 1100px) {
  .m-stops { position: relative; padding-left: 40px; margin-top: 64px; }
  .m-vtrack { display: block; position: absolute; left: 12px; top: 8px; bottom: 56px; width: 10px; }
  .m-vtrack__road { position: absolute; left: 0; top: 0; bottom: 0; width: 10px; border-radius: 5px; background: #E6E3DB; }
  .m-vtrack__road::after { content: ""; position: absolute; left: 4px; top: 4px; bottom: 4px; border-left: 2px dashed #B9B5AA; }
  .m-vtrack__trav { position: absolute; left: 2.5px; top: 0; width: 5px; border-radius: 3px; background: var(--m-slate); height: calc(var(--p, 0) * 100%); }
  .m-vtrack__sprite { position: absolute; left: -9px; top: calc(var(--p, 0) * 100%); width: 28px; height: 36px; transform: translateY(-100%); }
  .m-stop-flag { display: block; position: absolute; left: -36px; top: 26px; width: 20px; height: 28px; }
  .m-stops .m-card { position: relative; }
  .m-vend { display: flex; grid-column: 1 / -1; align-items: center; gap: 10px; margin: 4px 0 0 -40px; font-family: var(--m-monofont); font-size: 13px; color: var(--m-ink); }
  .m-vend svg { flex: none; }
}

/* ---------- Phone ---------- */
@media (max-width: 720px) {
  :root { --m-gutter: 16px; --m-gap: 16px; --m-section: 80px; }
  body { font-size: 16px; }
  .m-grid { grid-template-columns: minmax(0, 1fr); }
  .m-grid > * { grid-column: 1 / -1 !important; }
  .m-h1 { font-size: 40px; line-height: 1.06; }
  .m-h2, .m-get__left .m-h2 { font-size: 30px; line-height: 1.12; }
  .m-nav__bar { height: 64px; }
  .m-nav__menu { display: inline-flex; }
  .m-nav__panel { display: none; position: absolute; left: 0; right: 0; top: 64px; padding: 8px 16px 24px; background: var(--m-paper); border-bottom: 1px solid var(--m-hair);
    flex-direction: column; align-items: stretch; gap: 8px; box-shadow: 0 24px 40px -30px rgba(0,0,0,.35); }
  .m-nav.is-open .m-nav__panel { display: flex; }
  .m-nav__links { flex-direction: column; align-items: stretch; gap: 0; font-size: 17px; }
  .m-nav__links a { display: flex; align-items: center; min-height: 48px; border-bottom: 1px solid var(--m-hair); }
  .m-nav__panel .m-pill { justify-content: center; margin-top: 12px; }
  .m-hero { padding-top: 32px; }
  .m-pill { height: 48px; }
  /* The map keeps its size and scrolls sideways inside its own frame, so every label stays readable. */
  .m-map-scroll { overflow-x: auto; overscroll-behavior-x: contain; margin-left: -16px; margin-right: -16px; padding: 0 16px 6px; scrollbar-width: none; }
  .m-map-scroll::-webkit-scrollbar { display: none; }
  .m-map { width: 940px; border-radius: 18px; }
  .m-map-hint { display: block; }
  .m-get__left { gap: 28px; }
  .m-acc__btn::before { left: -14px; }
  .m-show { border-radius: 20px; }
  .m-stops { grid-template-columns: minmax(0, 1fr); padding-left: 36px; }
  .m-stop-flag { left: -32px; }
  .m-stop { padding: 20px 16px; }
  .m-stop__cap { font-size: 18px; }
  /* The real screenshots keep a readable size and swipe sideways inside their card. */
  .m-shot-scroll { overflow-x: auto; overscroll-behavior-x: contain; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
  .m-shot-scroll::-webkit-scrollbar { display: none; }
  .m-shot--marketing, .m-shot--sales { min-width: 600px; }
  .m-shot-hint { display: block; }
  .m-shot--ui { aspect-ratio: auto; padding: 12px; }
  .m-ui__head { padding: 14px 14px 0; }
  .m-ui__body { padding: 14px 14px 0; }
  .m-ui__board { padding: 14px 14px 0; --lane: 52%; }
  .m-ui__scale b:nth-child(2), .m-ui__scale b:nth-child(3), .m-ui__scale b:nth-child(4) { visibility: hidden; }
  .m-ui__head { flex-wrap: wrap; row-gap: 8px; }
  .m-ui__foot { padding: 10px 14px 12px; }
  .m-ui__brand { font-size: 14px; }
  .m-with__cards { grid-template-columns: minmax(0, 1fr); }
  .m-hall__grid { grid-template-columns: minmax(0, 1fr); }
  .m-card { padding: 22px 20px 18px; }
  .m-card h3, .m-slot h3 { font-size: 26px; }
  .m-cta { align-items: flex-start; gap: 20px; }
  .m-cta__arrow { gap: 14px; }
  .m-cta__arrow p { font-size: 38px; }
  .m-cta__arrow svg { width: 96px; height: 41px; }
  .m-cta blockquote { font-size: 20px; }
  .m-book { padding: 20px 12px; border-radius: 20px; margin-left: -4px; margin-right: -4px; }
  .m-book__head { padding: 0 8px; }
  .cs-hero__title .m-h1 { font-size: 36px; }
  .cs-photo { aspect-ratio: 4 / 3; border-radius: 18px; }
  .cs-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 40px; }
  .cs-stats li { padding: 18px 16px; border-radius: 18px; }
  .cs-stats b { font-size: 36px; }
  .cs-facts { grid-template-columns: minmax(0, 1fr); }
  .cs-bigquote p { font-size: 26px; }
  .cs-body { margin-top: 64px; row-gap: 48px; }
  .cs-part > h2 { font-size: 28px; }
  .cs-related__grid { grid-template-columns: minmax(0, 1fr); }
  .cs-end { padding: 32px 20px; }
}
