/* Great Minds Consulting — site styles (from Audience Switcher, version A)
   One typeface (Onest). Accent phrases use a pink highlighter stroke (.hl). */

:root {
  --burgundy: #76082E;
  --crimson: #AD003C;
  --wine: #50041E;
  --ink: #1A0A10;
  --body: #3D3236;
  --muted: #5E5257;
  --light: #F7F7F7;
  --sage: #D0D5D2;
  --line: #E6E2E3;
  --pink-tint: #F6E6EC;
  --pink-soft: #FFC2D6;
  --on-dark: #F3E6EA;
  --radius: 6px;
  --gutter: clamp(16px, 5vw, 128px);   /* fluid, edge to edge: large gutters on wide screens */
  --max: none;
  --measure: 72ch;                      /* reading width for running text */
  --card-min: clamp(280px, 21vw, 480px);  /* card grids: ~4 columns from laptop to ultra-wide */
  --tile-min: clamp(200px, 14vw, 320px);  /* small tiles (people, logos) */
  --sans: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--light); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--burgundy); }
a:hover { color: var(--crimson); }
:focus-visible { outline: 3px solid var(--burgundy); outline-offset: 2px; }
/* On dark panels a burgundy ring would disappear, so it turns pale pink. */
.on-dark :focus-visible, .section-dark :focus-visible, .cta :focus-visible, .partner-hero-panel :focus-visible,
.feature-read:focus-visible, .solution:focus-visible, .site-footer .btn-primary:focus-visible { outline-color: var(--pink-soft); }
h1, h2, h3, h4, p { margin: 0; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #FFFFFF; padding: 12px 16px; border-radius: var(--radius); }
.skip-link:focus { top: 12px; color: #FFFFFF; }

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 820px; margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- Type ---------- */
.hl {
  color: var(--ink);
  background: linear-gradient(transparent 58%, var(--pink-soft) 58%, var(--pink-soft) 92%, transparent 92%);
  padding-inline: 0.06em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.on-dark .hl, .hl-dark { color: var(--pink-soft); background: none; padding: 0; }
.accent { color: var(--burgundy); }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--crimson); }
.on-dark .eyebrow { color: var(--pink-soft); }
.display { font-weight: 600; font-size: clamp(42px, 6vw, 88px); line-height: 1.02; letter-spacing: -0.035em; }
h1, h2, h3 { overflow-wrap: break-word; }
.h1 { font-weight: 600; font-size: clamp(40px, 5.2vw, 76px); line-height: 1.03; letter-spacing: -0.035em; }
.h1.h1-long { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.1; letter-spacing: -0.03em; }
.h2 { font-weight: 600; font-size: clamp(34px, 4vw, 58px); line-height: 1.04; letter-spacing: -0.035em; }
.h2-sm { font-weight: 600; font-size: clamp(30px, 3.2vw, 46px); line-height: 1.08; letter-spacing: -0.03em; }
.h2-long { font-weight: 600; font-size: clamp(24px, 2.3vw, 32px); line-height: 1.18; letter-spacing: -0.02em; max-width: 36em; }
/* Large screens: the layout is fluid, so type grows with it instead of stopping at laptop sizes. */
@media (min-width: 1800px) {
  body { font-size: 17px; }
  .display { font-size: clamp(88px, 4.7vw, 128px); }
  .h1 { font-size: clamp(76px, 3.9vw, 104px); }
  .h1.h1-long { font-size: clamp(52px, 2.7vw, 70px); }
  .h2 { font-size: clamp(58px, 3vw, 78px); }
  .h2-sm { font-size: clamp(46px, 2.4vw, 62px); }
  .h2-long { font-size: clamp(32px, 1.7vw, 42px); }
  .lead { font-size: clamp(20px, 1.05vw, 24px); }
}
.h3 { font-weight: 600; font-size: clamp(22px, 2vw, 28px); line-height: 1.2; letter-spacing: -0.02em; }
.lead { font-size: clamp(18px, 1.5vw, 20px); color: var(--body); }
.muted { color: var(--muted); }
.num { font-weight: 600; letter-spacing: -0.02em; color: var(--burgundy); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 10px 24px; border: 1px solid transparent; border-radius: var(--radius);
  text-align: center; line-height: 1.25;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--burgundy); color: #FFFFFF; }
.btn-primary:hover { background: var(--wine); color: #FFFFFF; }
.btn-ghost { background: #FFFFFF; border-color: var(--sage); color: var(--ink); }
.btn-ghost:hover { border-color: var(--burgundy); color: var(--burgundy); }
.btn-light { background: #FFFFFF; color: var(--burgundy); }
.btn-light:hover { background: var(--pink-tint); color: var(--burgundy); }
.btn-outline-light { border-color: var(--pink-soft); color: #FFFFFF; }
.btn-outline-light:hover { background: rgba(255, 255, 255, .08); color: #FFFFFF; }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 20; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; padding-block: 18px; }
.logo { display: flex; align-items: center; min-height: 44px; }
.logo img { height: 20px; width: auto; }
.nav { display: flex; flex-wrap: wrap; gap: 0 26px; font-size: 15px; font-weight: 500; }
.nav a { color: var(--ink); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--burgundy); }
.nav a[aria-current="page"], .nav a.is-section { color: var(--burgundy); border-bottom-color: var(--burgundy); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.viewing-as { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: #FFFFFF; color: var(--body); font-size: 14px; text-decoration: none; }
.viewing-as strong { color: var(--burgundy); font-weight: 600; }
.viewing-as:hover { border-color: var(--burgundy); color: var(--body); }
.viewing-as[hidden] { display: none; }
@media (max-width: 1180px) { .viewing-as { display: none; } .nav { gap: 0 20px; } }
.menu-toggle { display: none; }
@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius); background: #FFFFFF; color: var(--ink); cursor: pointer; }
  .site-header .wrap { column-gap: 12px; }
  .logo img { height: 18px; }
  .nav { order: 3; width: 100%; display: none; flex-direction: column; padding: 8px 0 4px; border-top: 1px solid var(--line); }
  .nav.is-open { display: flex; }
  .nav a { border-bottom: 0; }
  .viewing-as { display: none; }
}

/* ---------- Breadcrumbs + page hero (inner pages) ---------- */
.breadcrumbs { font-size: 14px; color: var(--muted); }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 8px; color: var(--sage); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--burgundy); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--ink); }

.page-hero { padding-block: 24px 72px; }
.page-hero-panel { background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 64px); }
.page-hero-panel .breadcrumbs { margin-bottom: 32px; }
.page-hero .h1 { max-width: 14em; }
.page-hero .lead { margin-top: 24px; max-width: 34em; }
.page-hero .btn-row { margin-top: 32px; }
.page-hero-split { display: flex; flex-wrap: wrap; gap: 40px 56px; align-items: flex-end; }
.page-hero-split > :first-child { flex: 1.4 1 480px; min-width: 0; }
.page-hero-split > :last-child { flex: 1 1 320px; min-width: 0; }
.page-hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }

/* ---------- Sections ---------- */
.section { padding-block: 96px; }
.section-tight { padding-block: 64px; }
.section-white { background: #FFFFFF; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: var(--wine); color: #FFFFFF; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.section-head > div { min-width: 0; max-width: clamp(820px, 52vw, 1320px); }
.h2-statement { font-weight: 500; font-size: clamp(20px, 1.7vw, 24px); line-height: 1.4; letter-spacing: -0.01em; max-width: 40em; }
.section-head .h2, .section-head .h2-sm, .section-head .h2-long, .section-head .h2-statement { margin-top: 14px; }
.section-head .lede { color: var(--body); max-width: 380px; }
.section-head .section-sub { color: var(--body); font-size: 18px; line-height: 1.5; max-width: 760px; margin: 16px 0 0; }
.split { display: flex; flex-wrap: wrap; gap: 32px 64px; }
.split > * { flex: 1 1 380px; min-width: 0; }
.stack > * + * { margin-top: 16px; }
main p, .site-footer p { max-width: var(--measure); }  /* wide layout, readable lines */

/* ---------- Cards ---------- */
.card { background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card-light { background: var(--light); border-radius: var(--radius); padding: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 12px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--card-min)), 1fr)); gap: 12px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }

.tag { display: inline-block; align-self: flex-start; background: var(--pink-tint); color: var(--burgundy); border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.picked-tag { display: none; align-self: flex-start; background: var(--pink-tint); color: var(--burgundy); border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.is-picked .picked-tag { display: inline-block; }

/* "Where to start" list */
.start-list { list-style: none; margin: 12px 0 0; padding: 0; }
.start-list li { border-bottom: 1px solid #E0DCDD; }
.start-list li:last-child { border-bottom: 0; }
.start-list a { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; color: var(--ink); text-decoration: none; }
.start-list a:hover .start-name { color: var(--burgundy); }
.start-num { flex: 0 0 28px; font-size: 20px; line-height: 1; padding-top: 2px; font-weight: 600; color: var(--burgundy); }
.start-body { flex: 1 1 auto; min-width: 0; }
.start-kind { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.start-name { display: block; margin-top: 2px; font-size: 19px; font-weight: 600; letter-spacing: -0.015em; }
.start-line { display: block; margin-top: 4px; font-size: 15px; color: var(--body); }
.start-arrow { flex: none; margin-top: 22px; color: var(--burgundy); }

/* Featured case study card */
.feature-case { display: flex; flex-direction: column; overflow: hidden; background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; }
.feature-case img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.feature-case .body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1 1 auto; }
.feature-case .title { font-size: 23px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.feature-case:hover .title { color: var(--burgundy); }
.feature-case .desc { font-size: 15px; color: var(--body); }
.feature-case .meta { margin-top: auto; padding-top: 6px; font-size: 14px; color: var(--muted); }

/* Recommended reading card */
.feature-read { display: flex; flex-direction: column; gap: 14px; min-height: 300px; background: var(--wine); color: #FFFFFF; border-radius: var(--radius); padding: 26px 24px; text-decoration: none; }
.feature-read:hover { color: #FFFFFF; background: #5E0626; }
.feature-read .label { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pink-soft); }
.feature-read .title { font-size: 28px; font-weight: 600; line-height: 1.12; letter-spacing: -0.025em; }
.feature-read .blurb { font-size: 15px; color: var(--on-dark); }
.feature-read .more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }

/* ---------- Stats + clients ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.stat { background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.stat-num { font-size: 64px; line-height: 1; font-weight: 600; letter-spacing: -0.04em; }
.stat-num .plus { color: var(--burgundy); }
.stat-label { margin-top: 12px; font-size: 15px; color: var(--muted); }
.clients { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 40px; }
.clients-label { font-size: 14px; color: var(--muted); }
.clients-list { display: flex; flex-wrap: wrap; gap: 8px 44px; font-size: 24px; font-weight: 600; letter-spacing: -0.02em; color: var(--body); list-style: none; margin: 0; padding: 0; }

/* ---------- Capabilities + solutions ---------- */
.caps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--card-min)), 1fr)); gap: 12px; }
.cap { display: flex; flex-direction: column; gap: 12px; min-height: 260px; background: var(--light); border-radius: var(--radius); padding: 32px 28px; color: var(--ink); text-decoration: none; border: 1px solid transparent; }
.section:not(.section-white) .cap { background: #FFFFFF; border-color: var(--line); }
.cap:hover, .cap.is-picked { border-color: var(--burgundy); color: var(--ink); }
.cap.is-picked { background: #FFFFFF; }
.cap-num { font-size: 22px; line-height: 1; font-weight: 600; color: var(--burgundy); }
.cap-name { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; }
.cap-line { color: var(--body); }
.cap-more { margin-top: auto; font-weight: 600; color: var(--burgundy); }
/* Practice cards with a photo across the top, bleeding to the card edges */
.cap-photo { overflow: hidden; }
.cap-img { width: calc(100% + 56px); max-width: none; margin: -32px -28px 8px; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
/* A wide photo band between sections of text */
.feature-band { margin: 0; }
.feature-band img { width: 100%; aspect-ratio: 16 / 5; object-fit: cover; border-radius: var(--radius); display: block; }
@media (max-width: 760px) { .feature-band img { aspect-ratio: 16 / 9; } }
.solutions { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 12px; }
.solution { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; background: var(--burgundy); color: #FFFFFF; border-radius: var(--radius); padding: 28px; text-decoration: none; }
.solution:hover { background: var(--wine); color: #FFFFFF; }
.solution .k { display: block; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pink-soft); }
.solution .n { display: block; margin-top: 6px; font-size: 26px; font-weight: 600; letter-spacing: -0.02em; }
.solution .d { display: block; margin-top: 6px; color: var(--on-dark); }
.solution .picked-tag { background: var(--pink-soft); color: var(--wine); }

/* ---------- Partners ---------- */
.partner-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-content: center; }  /* two rows of four, boxes resize */
@media (max-width: 520px) { .partner-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }  /* phones: logos stay legible */
.partner-list a, .partner-list span { display: flex; align-items: center; min-height: 84px; padding: 0 20px; background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; font-size: 19px; font-weight: 600; }
.partner-list a:hover { border-color: var(--burgundy); color: var(--burgundy); }
/* Logos: each context sets a base height (--logo-h); --logo-scale (generated below by _src/logos.py)
   evens out visual weight, so wide wordmarks render shorter and compact marks taller.
   Clients render in one ink tone (some only exist as white files); partner logos keep full colour. */
.logo-wall img, .partner-list img, .vendor-logo, .client-logo, .tile-logo img {
  display: block; width: auto; max-width: 100%; height: calc(var(--logo-h) * var(--logo-scale, 1)); object-fit: contain; }
.logo-wall { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 20px 48px; }
.logo-wall li { display: flex; align-items: center; flex: 0 0 auto; }
.logo-wall img { --logo-h: 22px; filter: brightness(0); opacity: 0.38; }
/* Client logo carousel: two copies of the list slide left by half the track for a seamless loop.
   Pauses on hover, keyboard focus or the Pause button; static wrapped row under reduced motion. */
.clients-head { flex: 1 1 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.marquee-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 4px; border: 0; background: none; color: var(--muted); font: inherit; font-size: 14px; cursor: pointer; }
.marquee-toggle:hover { color: var(--burgundy); }
.marquee-icon { width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; box-sizing: border-box; }
.marquee-toggle[data-paused] .marquee-icon { border: 0; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.logo-marquee { flex: 1 1 100%; min-width: 0; margin-top: 2px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.logo-track { display: flex; width: max-content; animation: logo-scroll 45s linear infinite; }
.logo-track .logo-wall { flex-wrap: nowrap; padding: 6px 48px 6px 0; }
.logo-marquee:hover .logo-track, .logo-marquee:focus-within .logo-track, .logo-marquee.is-paused .logo-track { animation-play-state: paused; }
@keyframes logo-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .logo-track { animation: none; width: auto; }
  .logo-track .logo-wall { flex-wrap: wrap; padding-right: 0; }
  .logo-track .logo-wall[aria-hidden] { display: none; }
  .logo-marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-toggle { display: none; }
}
.partner-list a, .partner-list span.logo-tile { justify-content: center; padding: 0 16px; }
.partner-list img { --logo-h: 27px; transition: transform 0.2s ease; }
.partner-list a:hover img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .partner-list img { transition: none; } .partner-list a:hover img { transform: none; } }
.vendor-logo { --logo-h: 24px; object-position: left center; }
.client-logo { --logo-h: 38px; object-position: left center; }
.powered-by { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 10px; }

/* ---------- Case studies ---------- */
.cases { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--card-min)), 1fr)); gap: 12px; }
.cases:has(> :nth-child(2):last-child), .cases:has(> :nth-child(3):last-child) { grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--card-min)), 1fr)); }
.case { display: flex; flex-direction: column; overflow: hidden; background: var(--light); border-radius: var(--radius); color: var(--ink); text-decoration: none; border: 1px solid transparent; }
.section:not(.section-white) .case { background: #FFFFFF; border-color: var(--line); }
.case:hover, .case.is-picked { border-color: var(--burgundy); color: var(--ink); }
.case img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.case .card-ph { display: block; width: 100%; aspect-ratio: 2 / 1; background: linear-gradient(135deg, var(--pink-tint), var(--pink-soft)); }  /* post with no image */
.case .body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1 1 auto; }
.case .meta { font-size: 14px; color: var(--muted); }
.case .result, .feature-case .result { display: block; font-size: 17px; font-weight: 600; line-height: 1.3; color: var(--burgundy); }
.case .title { font-size: 21px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; }
.case .desc { font-size: 15px; color: var(--body); }
.case-row { display: flex; gap: 16px; align-items: center; justify-content: space-between; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; color: var(--ink); text-decoration: none; }
.case-row:hover, .case-row.is-picked { border-color: var(--burgundy); color: var(--ink); }
.case-row .meta { display: block; font-size: 14px; color: var(--muted); }
.case-row .title { display: block; margin-top: 4px; font-size: 18px; font-weight: 600; line-height: 1.3; }
.case-row .arrow { color: var(--burgundy); font-size: 20px; }
.note { font-size: 14px; color: var(--muted); }

/* ---------- Insights ---------- */
.insights { margin: 0; padding: 0; list-style: none; background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius); }
.insights li { border-bottom: 1px solid var(--line); }
.insights li:last-child { border-bottom: 0; }
.insights a { display: flex; flex-wrap: wrap; gap: 6px 32px; align-items: baseline; padding: 24px 28px; color: var(--ink); text-decoration: none; }
.insights a:hover .t { color: var(--burgundy); }
.insights li.is-picked a { background: #FFFBFC; box-shadow: inset 3px 0 0 var(--burgundy); }
.insights .k { flex: 0 0 180px; font-size: 14px; color: var(--muted); }
.insights .t { flex: 1 1 420px; min-width: 0; font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.insights .arrow { color: var(--burgundy); }

/* ---------- Filter chips (listing pages) ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 4px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 10px; padding: 4px; }
.chips button { min-height: 44px; padding: 0 16px; border: 0; border-radius: 7px; background: transparent; color: var(--body); font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; }
.chips button:hover { color: var(--burgundy); background: var(--light); }
.chips button[aria-pressed="true"] { background: var(--burgundy); color: #FFFFFF; font-weight: 600; }
.filter-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.filter-bar .label { font-weight: 600; letter-spacing: -0.02em; }
.filter-count { font-size: 14px; color: var(--muted); }
[data-filter-item][hidden] { display: none !important; }

/* ---------- Article prose ---------- */
.prose { font-size: 18px; line-height: 1.7; color: var(--body); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2em; font-size: clamp(26px, 2.4vw, 32px); line-height: 1.15; font-weight: 600; letter-spacing: -0.025em; color: var(--ink); }
.prose h3 { margin-top: 1.6em; font-size: 21px; line-height: 1.25; font-weight: 600; letter-spacing: -0.015em; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.4em; }
.prose strong { color: var(--ink); }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--burgundy); font-size: 22px; line-height: 1.4; color: var(--ink); font-weight: 500; }
.table-scroll { max-width: 100%; overflow-x: auto;
  background: linear-gradient(to right, var(--white, #fff) 30%, transparent) left / 40px 100% no-repeat local,
    linear-gradient(to left, var(--white, #fff) 30%, transparent) right / 40px 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, rgba(0, 0, 0, .16), transparent) left / 14px 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, rgba(0, 0, 0, .16), transparent) right / 14px 100% no-repeat scroll; }
.table-scroll table { min-width: 560px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--ink); background: var(--light); }
.table-scroll { overflow-x: auto; }
.callout { background: var(--pink-tint); border-radius: var(--radius); padding: 24px 28px; color: var(--ink); }
.callout .eyebrow { margin-bottom: 8px; }
.toc { position: sticky; top: 24px; }
.toc ol { list-style: none; margin: 12px 0 0; padding: 0; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 8px 0 8px 16px; color: var(--body); text-decoration: none; font-size: 15px; }
.toc a:hover { color: var(--burgundy); }
.article-layout { display: flex; flex-wrap: wrap; gap: 48px 64px; align-items: flex-start; }
.article-layout > .article-main { flex: 999 1 560px; min-width: 0; max-width: 760px; }
@media (max-width: 860px) { .article-aside .toc { display: none; } }  /* below the article on phones it only adds length */
.figure-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin: 28px 0; }
.figure-grid .figure { margin: 0; }
.figure-grid img { width: 100%; height: auto; border-radius: var(--radius); }
.person-contact { margin-top: 14px; font-size: 15px; color: var(--body); overflow-wrap: break-word; }
.person-contact a { color: var(--burgundy); }
.article-layout > .article-aside { flex: 0 1 320px; min-width: 240px; }
.aside-cards { display: flex; flex-direction: column; gap: 16px; }
/* Wide screens: contents | article | cards, centred, so the reading column doesn't leave the right side empty. */
@media (min-width: 1600px) {
  .article-layout { display: grid; grid-template-columns: minmax(200px, 280px) minmax(0, 46em) minmax(260px, 340px);
    column-gap: clamp(48px, 4vw, 96px); justify-content: center; align-items: start; }
  .article-layout > .article-main { grid-column: 2; grid-row: 1; max-width: none; }
  .article-layout > .article-aside { display: contents; }
  .article-layout > .article-aside > .toc { grid-column: 1; grid-row: 1; position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow-y: auto; }
  .article-layout > .article-aside > .aside-cards { grid-column: 3; grid-row: 1; position: sticky; top: 24px; }
}
@media (max-width: 860px) { .toc { position: static; } }

/* ---------- Forms ---------- */
.form { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 15px; font-weight: 600; color: var(--ink); }
.field .hint { font-size: 14px; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #B9B0B3; border-radius: var(--radius);
  background: #FFFFFF; color: var(--ink); font: inherit;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--burgundy); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--body); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--burgundy); }
.form-status { min-height: 1.4em; font-size: 15px; color: var(--burgundy); font-weight: 500; }

/* ---------- CTA ---------- */
.cta { display: flex; flex-wrap: wrap; gap: 32px 48px; align-items: flex-end; justify-content: space-between; background: var(--burgundy); color: #FFFFFF; border-radius: var(--radius); padding: clamp(32px, 5vw, 72px); }
.cta > div:first-child { flex: 1 1 480px; min-width: 0; }
.cta h2 { font-weight: 600; font-size: clamp(42px, 5.4vw, 80px); line-height: 1; letter-spacing: -0.04em; }
.cta h2 .hl { color: var(--pink-soft); background: none; padding: 0; }
.cta p { margin-top: 20px; max-width: 520px; font-size: 18px; color: var(--on-dark); }

/* ---------- Footer ---------- */
.site-footer { background: #FFFFFF; border-top: 1px solid var(--line); font-size: 15px; }
.site-footer > .wrap { padding-block: 64px 36px; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 40px 48px; }
.footer-brand { flex: 2 1 300px; min-width: 0; }
.footer-brand img { height: 20px; width: auto; }
.footer-brand p { margin-top: 20px; color: var(--body); line-height: 1.8; }
.footer-brand a { color: var(--ink); }
.footer-nav { flex: 1 1 160px; display: flex; flex-direction: column; }
.footer-nav .h { font-weight: 600; margin-bottom: 4px; }
.footer-nav a { color: var(--body); text-decoration: none; min-height: 36px; display: flex; align-items: center; }
.footer-nav a:hover { color: var(--burgundy); }
.signup { flex: 2 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.signup .h { font-weight: 600; }
.signup label { font-size: 14px; color: var(--body); }
.signup .row { display: flex; flex-wrap: wrap; gap: 8px; }
.signup input { flex: 1 1 200px; min-width: 0; min-height: 48px; padding: 0 14px; border: 1px solid #B9B0B3; border-radius: var(--radius); background: #FFFFFF; color: var(--ink); font: inherit; }
.signup .btn { min-height: 48px; }
.signup .check { font-size: 13px; gap: 8px; }
.signup .check input { flex: none; width: 18px; height: 18px; min-height: 0; padding: 0; margin-top: 1px; }
.signup .status { min-height: 1.4em; font-size: 14px; color: var(--burgundy); }
.acknowledgement { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; max-width: 900px; color: var(--muted); }
.legal { margin-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--muted); }
.legal nav { display: flex; flex-wrap: wrap; gap: 20px; }
.legal a { color: var(--muted); }

/* ---------- Content swap animation ---------- */
.swap { transition: opacity .22s ease, transform .22s ease; }
.swap.is-swapping { opacity: 0; transform: translateY(6px); }
@media (prefers-reduced-motion: reduce) { .swap { transition: none; } .swap.is-swapping { transform: none; } }

/* logo-scale:begin (generated by _src/logos.py) */
img[src$="/2022/05/logo_google.svg"] { --logo-scale: 1.203; }
img[src$="/2022/05/logo_microsoft.svg"] { --logo-scale: 0.907; }
img[src$="/2022/05/logo_myer.svg"] { --logo-scale: 0.909; }
img[src$="/2022/07/logo_breville_white.svg"] { --logo-scale: 0.897; }
img[src$="/2022/07/logo_canon_primary.svg"] { --logo-scale: 0.855; }
img[src$="/2022/07/logo_lenovo_dark.svg"] { --logo-scale: 0.863; }
img[src$="/2022/07/logo_samsung_light.svg"] { --logo-scale: 1.178; }
img[src$="/2022/08/logo_salesforce.svg"] { --logo-scale: 1.612; }
img[src$="/2022/08/logo_salesforce_white-1.svg"] { --logo-scale: 1.612; }
img[src$="/2022/09/logo_fossil.svg"] { --logo-scale: 0.857; }
img[src$="/2023/02/logo_shopify-plus-black.svg"] { --logo-scale: 0.95; }
img[src$="/2023/02/logo_shopify-plus-white.svg"] { --logo-scale: 0.95; }
img[src$="/2023/07/bynder-logo-partner-primary.svg"] { --logo-scale: 1.073; }
img[src$="/2023/07/bynder-logo-partner-white.svg"] { --logo-scale: 1.073; }
img[src$="/2023/09/logo_exclaimer.svg"] { --logo-scale: 0.922; }
img[src$="/2025/02/logo_atlassian.svg"] { --logo-scale: 0.684; }
img[src$="/2025/02/logo_atlassian_light.svg"] { --logo-scale: 0.684; }
img[src$="/2025/03/Klaviyo_idRlQDy2Ux_0.svg"] { --logo-scale: 1.107; }
img[src$="/2025/03/Klaviyo_idnxx87nKw_0.svg"] { --logo-scale: 1.107; }
img[src$="/2025/03/logo_adobe_primary.svg"] { --logo-scale: 0.84; }
img[src$="/2025/03/logo_adobe_white.svg"] { --logo-scale: 0.84; }
img[src$="/2025/03/logo_akeneo-dark.svg"] { --logo-scale: 0.782; }
img[src$="/2025/03/logo_akeneo-white.svg"] { --logo-scale: 0.788; }
img[src$="/2025/03/logo_aws.svg"] { --logo-scale: 1.392; }
img[src$="/2025/03/logo_aws_light.svg"] { --logo-scale: 1.392; }
img[src$="/2025/03/logo_meriton-suites_primary.svg"] { --logo-scale: 1.174; }
img[src$="/2025/04/logo_hassell_black.svg"] { --logo-scale: 1.002; }
img[src$="/2025/04/logo_montgomery_primary.svg"] { --logo-scale: 1.024; }
img[src$="/2025/04/logo_n8n_primary.svg"] { --logo-scale: 1.169; }
img[src$="/2025/04/logo_symantec_primary.svg"] { --logo-scale: 1.127; }
img[src$="/2025/04/logo_tzannes-logo-primary.svg"] { --logo-scale: 1.001; }
img[src$="/2025/05/logo_uipath_primary.svg"] { --logo-scale: 1.208; }
img[src$="/2025/05/logo_uipath_white.svg"] { --logo-scale: 1.208; }
img[src$="/2025/10/logo_exclaimer-white.svg"] { --logo-scale: 0.922; }
/* logo-scale:end */
