/* Figtree, Hanken Grotesk and Newsreader (SIL Open Font License), served from this site. */
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/figtree-normal-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/figtree-normal-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: 'Hanken Grotesk'; font-style: normal; font-weight: 600 800; font-display: swap; src: url(../fonts/hanken-grotesk-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: 'Newsreader'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(../fonts/newsreader-normal-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: 'Newsreader'; font-style: italic; font-weight: 500; font-display: swap; src: url(../fonts/newsreader-italic-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; }

:root {
  color-scheme: light;
  --ink: #221830;
  --ink-2: #4A4057;
  --muted: #665C73;
  --ground: #FBF8F4;
  --paper: #FFFFFF;
  --lav: #F4EFF6;
  --lav-2: #F1EAF4;
  --footer: #F7F3EE;
  --line: #ECE4EF;
  --line-2: #E7E0EA;
  --line-warm: #EFE8E0;
  --field: #8E80A0;
  --purple: #844E9C;
  --purple-ui: #6D3D86;
  --purple-ui-2: #4E2A61;
  --teal: #5EC4CF;
  --teal-ink: #1B7580;
  --teal-tint: #E3F4F6;
  --coral: #ED6567;
  --coral-ink: #B23C3E;
  --coral-tint: #FCE9E8;
  --lav-tint: #F1E9F5;
  --art-teal: #E3F4F6;
  --art-coral: #FCEAE8;
  --art-lav: #EFE6F3;
  --band: #221830;
  --band-2: #33264A;
  --band-line: #3B2F4A;
  --band-text: #D9D1E1;
  --band-muted: #B9AEC6;
  --teal-light: #7FD6DE;
  --lilac: #C39AD6;
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(16px, 5.5vw, 80px);
  --section: clamp(56px, 8vw, 104px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 104px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
h1:focus { outline: none; }
a { color: var(--purple-ui); }
a:hover { color: var(--purple-ui-2); }
/* Focus ring: a dark outline with a teal ring inside it, so it shows on white, cream and teal alike. */
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 5px var(--teal); }
[tabindex="-1"]:focus:not(:focus-visible) { outline: none; box-shadow: none; }
.band :focus-visible, .cta-card :focus-visible, .news-card :focus-visible, .rail-news :focus-visible, .conclusion :focus-visible,
.case-hero :focus-visible, .cs-panel :focus-visible, .utility :focus-visible { outline-color: var(--teal-light); }
/* ...except inside the white consultation card that sits in a dark band. */
.band .form-card :focus-visible { outline-color: var(--ink); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 100; padding: 10px 16px; border-radius: 8px; background: var(--ink); color: #fff; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; color: #fff; }

.wrap { width: 100%; max-width: calc(1280px + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--teal-ink); }
.eyebrow::before { content: ""; flex-shrink: 0; width: 36px; height: 3px; background: linear-gradient(90deg, var(--teal) 0 10px, transparent 10px 13px, var(--coral) 13px 23px, transparent 23px 26px, var(--purple) 26px 36px); }
.lav .eyebrow { color: #17707A; }
.display { font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 5.2vw, 66px); line-height: 1.04; letter-spacing: -0.02em; text-wrap: balance; }
.display em, .h2 em { font-style: italic; color: var(--purple); }
.h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3.5vw, 48px); line-height: 1.1; letter-spacing: -0.015em; text-wrap: balance; }
.h2.sm { font-size: clamp(28px, 3.1vw, 44px); line-height: 1.15; letter-spacing: -0.01em; }
.h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(21px, 1.8vw, 24px); line-height: 1.25; }
.lead { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.6; color: var(--ink-2); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border: 0; border-radius: 10px; font: 600 16px/1.2 var(--sans); text-decoration: none; cursor: pointer; }
.btn-primary { background: var(--purple-ui); color: #fff; }
.btn-primary:hover { background: #5C3272; color: #fff; }
.btn-secondary { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1.5px #CFC3D8; }
.btn-secondary:hover { color: var(--ink); box-shadow: inset 0 0 0 1.5px #A994B8; }
.btn-teal { background: var(--teal); color: var(--ink); font-weight: 700; }
.btn-teal:hover { background: #7BD0D9; color: var(--ink); }
.btn-ghost { min-height: 44px; padding: 0 18px; background: var(--paper); color: var(--purple-ui); box-shadow: inset 0 0 0 1px var(--field); font-size: 15px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--purple-ui); text-decoration: none; }

.section { padding-block: var(--section); }
.paper { background: var(--paper); }
.lav { background: var(--lav); }
.band { background: var(--band); color: #fff; padding-block: clamp(56px, 7vw, 88px); }
.band .eyebrow { color: var(--teal-light); }
.band .eyebrow::before { background: linear-gradient(90deg, var(--teal) 0 10px, transparent 10px 13px, var(--coral) 13px 23px, transparent 23px 26px, var(--lilac) 26px 36px); }
.band .h2 { color: #fff; }
.eyebrow + .h2, .eyebrow + .display { margin-top: 20px; }

/* Utility bar and header */
.utility { background: var(--band); color: var(--band-text); font-size: 13.5px; }
.utility-inner { min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.utility a { display: inline-flex; align-items: center; gap: 8px; color: var(--band-text); text-decoration: none; }
.utility a:hover { color: #fff; }
.utility .i { width: 16px; height: 16px; color: var(--teal-light); }
.u-address { display: inline-flex; align-items: center; gap: 8px; }
.u-right { display: flex; align-items: center; gap: 24px; }
.u-divider { width: 1px; height: 16px; background: var(--ink-2); }
.socials { display: flex; align-items: center; gap: 2px; }
.utility .socials a { width: 32px; height: 32px; justify-content: center; }
.utility .socials .i { color: inherit; }

.masthead { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.masthead-inner { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; text-decoration: none; }
.logo-mark { width: 56px; height: 55px; }
.logo-word { display: block; width: 167px; height: 54px; }
.main-nav { align-self: stretch; display: flex; gap: 36px; }
.main-nav a { display: flex; align-items: center; padding-top: 3px; border-bottom: 3px solid transparent; font-size: 15.5px; font-weight: 500; color: var(--ink); text-decoration: none; }
.main-nav a:hover { color: var(--purple-ui); }
.main-nav a[aria-current="page"] { color: var(--purple-ui); border-bottom-color: var(--purple); }
.head-actions { display: flex; align-items: center; gap: 12px; }
.header-cta { min-height: 48px; padding: 0 22px; font-size: 15px; }
.menu-btn { display: none; width: 48px; height: 48px; border: 0; border-radius: 12px; background: var(--lav); color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }
.menu-btn .i { width: 24px; height: 24px; stroke-width: 2; }
.menu-btn[aria-expanded="true"] .ico-open, .menu-btn[aria-expanded="false"] .ico-close { display: none; }
.mobile-menu { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px rgba(34, 24, 48, 0.14); max-height: calc(100vh - 88px); max-height: calc(100dvh - 88px); overflow-y: auto; }
.mobile-menu-inner { padding-block: 12px 28px; display: flex; flex-direction: column; }
.mobile-menu nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 26px; line-height: 1.2; color: var(--ink); text-decoration: none; }
.mobile-menu nav a[aria-current="page"] { color: var(--purple-ui); }
.mm-cta { margin-top: 24px; }
.mm-contact { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: 15px; }
.mm-contact a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; }
.mm-contact .i { color: var(--teal-ink); }

/* Hero */
.hero-grid { display: grid; grid-template-columns: minmax(0, 600px) minmax(0, 640px); justify-content: space-between; align-items: center; gap: 40px; padding-block: clamp(40px, 5vw, 48px); }
.hero-copy .display { margin-top: 28px; }
.hero-copy .lead { margin-top: 24px; max-width: 540px; }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-call { margin-top: 32px; display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink-2); }
.hero-call .i { color: var(--teal-ink); }
.hero-call a { font-weight: 600; }
.cycle { width: 100%; max-width: 640px; }
.cycle svg { display: block; width: 100%; height: auto; overflow: visible; }

/* Mission pillars and values */
.pillars { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.pillar { border-top: 1px solid var(--band-line); padding-top: 28px; }
.facet { display: block; width: 22px; height: 22px; }
.pillar h3 { margin-top: 20px; font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 2.2vw, 30px); line-height: 1.2; }
.pillar p { margin-top: 12px; color: var(--band-text); line-height: 1.65; }

/* Section heads */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 80px; }
.head-main { max-width: 700px; }
.head-aside { max-width: 420px; }
.head-aside p { font-size: 17px; color: var(--ink-2); }
.head-aside .link-arrow { margin-top: 16px; }

/* Tiles and cards */
.tile { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tile .i { width: 26px; height: 26px; }
.tint-teal { background: var(--teal-tint); color: var(--teal-ink); }
.tint-coral { background: var(--coral-tint); color: var(--coral-ink); }
.tint-lav { background: var(--lav-tint); color: var(--purple-ui); }
.cards-4 { margin-top: 56px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.cards-4 .svc-card { padding: 28px; }
.svc-card.cta-card { background: var(--band); border-color: var(--band); color: #fff; }
.svc-card.cta-card:hover { background: #2C2040; border-color: #2C2040; color: #fff; }
.svc-card.cta-card .tile { background: var(--band-2); color: var(--teal-light); }
.svc-card.cta-card p { color: var(--band-text); }
.svc-card.cta-card .more { color: var(--teal-light); }
.svc-card { display: flex; flex-direction: column; padding: 32px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; color: var(--ink); text-decoration: none; transition: border-color 0.15s ease; }
.svc-card:hover { border-color: #CDBCD8; color: var(--ink); }
.svc-card .h3 { margin-top: 24px; }
.svc-card p { margin-top: 10px; color: var(--ink-2); }
.more { margin-top: auto; padding-top: 22px; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--purple-ui); }

/* About teaser */
.about-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: 40px clamp(40px, 6vw, 96px); }
.about-text { margin-top: 24px; max-width: 560px; font-size: 18px; line-height: 1.65; color: var(--ink-2); }
.about-copy .link-arrow { margin-top: 28px; }
.about-card { padding: clamp(28px, 3.5vw, 44px); border-radius: 20px; background: var(--lav); }
.about-card h3 { font-family: var(--serif); font-weight: 500; font-size: 22px; line-height: 1.3; }
.about-card .check { background: var(--paper); }
.checks { margin: 24px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; }
.checks li { display: flex; align-items: flex-start; gap: 12px; font-weight: 500; line-height: 1.4; }
.check { width: 26px; height: 26px; border-radius: 999px; background: var(--teal-tint); color: var(--teal-ink); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.check .i { width: 15px; height: 15px; stroke-width: 2.5; }
.checks .check { margin-top: -2px; }

/* Challenges */
.challenges-head { max-width: 860px; }
.challenges-head .lead { margin-top: 20px; max-width: 760px; }
.challenge-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.challenge { padding: 24px; background: var(--paper); border-radius: 14px; }
.challenge svg { display: block; width: 14px; height: 14px; }
.challenge h3 { margin-top: 14px; font-size: 17px; line-height: 1.3; font-weight: 600; }
.challenge p { margin-top: 8px; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }

/* Testimonials */
.quotes { margin-top: 48px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.quote { padding: clamp(28px, 3.5vw, 44px); border-radius: 20px; background: var(--ground); border: 1px solid var(--line-warm); display: flex; flex-direction: column; }
.q { display: block; width: 44px; height: 34px; }
.quote blockquote { margin-top: 20px; font-family: var(--serif); font-size: clamp(19px, 1.7vw, 22px); line-height: 1.5; }
.quote figcaption { margin-top: auto; padding-top: 32px; display: flex; align-items: center; gap: 14px; }
.avatar { width: 48px; height: 48px; border-radius: 999px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 15px; font-weight: 700; }
.who { display: flex; flex-direction: column; gap: 2px; }
.who b { font-weight: 600; }
.who span { font-size: 14px; color: var(--muted); }

/* Articles */
.art-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.art-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; color: var(--ink); text-decoration: none; transition: border-color 0.15s ease; }
.art-card:hover { border-color: #CDBCD8; color: var(--ink); }
.art-img { aspect-ratio: 410 / 200; max-width: 100%; }
.art-img svg { display: block; width: 100%; height: 100%; }
.art-body { flex-grow: 1; padding: 28px; display: flex; flex-direction: column; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 13.5px; color: var(--muted); }
.tag { padding: 5px 11px; border-radius: 999px; background: var(--lav); font-size: 12.5px; font-weight: 600; color: var(--purple-ui); }
.tag.dark { background: var(--ink); color: #fff; }
.art-card h3 { margin-top: 16px; font-family: var(--serif); font-weight: 500; font-size: 21px; line-height: 1.3; }
.art-card p { margin-top: 12px; font-size: 15px; color: var(--ink-2); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 384px) minmax(0, 1fr); gap: 32px 96px; align-items: start; }
.faq-intro p { margin-top: 20px; font-size: 17px; color: var(--ink-2); }
.faq-intro .btn { margin-top: 32px; }
.faq-list { border-top: 1px solid var(--line-2); }
.faq-item { border-bottom: 1px solid var(--line-2); }
.faq-q { width: 100%; min-height: 72px; padding: 20px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; border: 0; background: none; cursor: pointer; text-align: left; font: 600 18px/1.4 var(--sans); color: var(--ink); }
.faq-ico { width: 32px; height: 32px; flex-shrink: 0; border-radius: 999px; background: var(--footer); color: var(--purple-ui); display: flex; align-items: center; justify-content: center; }
.faq-ico svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.25; stroke-linecap: round; }
.faq-q[aria-expanded="true"] .faq-ico { background: var(--lav-tint); }
.faq-q[aria-expanded="true"] .faq-v { opacity: 0; }
.faq-a { padding: 0 64px 24px 0; color: var(--ink-2); line-height: 1.65; }

/* Consultation band and forms */
.consult-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px 80px; align-items: center; }
.consult .h2 { font-size: clamp(34px, 3.8vw, 52px); line-height: 1.08; }
.consult .lead { margin-top: 20px; color: var(--band-text); }
.contact-rows { margin-top: 40px; display: flex; flex-direction: column; gap: 16px; }
.contact-row { display: flex; align-items: center; gap: 16px; color: #fff; text-decoration: none; }
a.contact-row:hover { color: #fff; }
.contact-row .tile { width: 48px; height: 48px; border-radius: 12px; background: var(--band-2); color: var(--teal-light); }
.contact-row .tile .i { width: 22px; height: 22px; }
.contact-row small { display: block; font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--band-muted); }
.contact-row b { display: block; font-size: 17px; font-weight: 600; }
.form-card { background: var(--paper); color: var(--ink); border-radius: 20px; padding: clamp(24px, 3.5vw, 48px); }
.form-card.bordered { border: 1px solid var(--line); }
.form-card h2, .form-card h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.2; }
.fields { margin-top: 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; line-height: 20px; font-weight: 600; }
.field label span { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--field); border-radius: 10px; background: #fff; font: 15px/1.5 var(--sans); color: var(--ink); }
.field textarea { min-height: 104px; padding: 12px 14px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #7A7086; }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 44px; }
.select-wrap .i { position: absolute; right: 16px; top: 15px; pointer-events: none; color: var(--ink-2); }
.form-card form > .btn { margin-top: 24px; width: 100%; }
.sent { padding-block: 40px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.ok { width: 64px; height: 64px; border-radius: 999px; background: var(--teal-tint); color: var(--teal-ink); display: flex; align-items: center; justify-content: center; }
.ok .i { width: 30px; height: 30px; stroke-width: 2; }
.sent p { max-width: 420px; color: var(--ink-2); }
.sent .note { font-size: 13.5px; color: var(--muted); }

/* Footer */
.site-footer { background: var(--footer); padding-top: clamp(48px, 6vw, 72px); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr); gap: 40px 56px; }
.footer-logo { width: min(220px, 100%); display: flex; flex-direction: column; align-items: center; gap: 4px; text-decoration: none; }
.footer-logo svg { width: 54px; height: 53px; margin-left: 19px; }
.footer-logo img { display: block; width: 100%; height: auto; }
.footer-brand p { margin-top: 20px; font-size: 15px; color: var(--ink-2); }
.footer-brand .socials { margin-top: 20px; gap: 8px; }
.footer-brand .socials a { width: 44px; height: 44px; border-radius: 999px; border: 1px solid #DDD3CA; display: inline-flex; align-items: center; justify-content: center; color: var(--ink-2); }
.f-head { margin-bottom: 16px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.f-links { display: flex; flex-direction: column; gap: 12px; }
.f-links a { font-size: 15px; color: var(--ink); text-decoration: none; }
.f-links a:hover { color: var(--purple-ui); }
.f-contact { display: flex; flex-direction: column; gap: 14px; font-size: 15px; }
.f-contact > * { display: flex; gap: 10px; color: var(--ink); text-decoration: none; }
.f-contact .i { margin-top: 3px; color: var(--teal-ink); }
.newsletter h2 { font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1.2; }
.newsletter p { margin-top: 10px; font-size: 15px; color: var(--ink-2); }
.newsletter form { margin-top: 20px; }
.newsletter label { font-size: 13.5px; font-weight: 600; }
.nl-row { margin-top: 8px; display: flex; gap: 8px; }
.nl-row input { flex: 1 1 auto; min-width: 0; min-height: 48px; padding: 0 14px; border: 1px solid var(--field); border-radius: 10px; background: #fff; font: 15px/1.5 var(--sans); color: var(--ink); }
.nl-row .btn { min-height: 48px; padding: 0 20px; font-size: 15px; }
.nl-done { margin-top: 10px; font-size: 14px; color: var(--teal-ink); }
.footer-bottom { margin-top: 52px; padding-top: 20px; padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 100px); border-top: 1px solid #E4DBD1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; font-size: 14px; color: var(--muted); }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer-bottom a { color: var(--ink-2); text-decoration: none; }

/* Inner page heroes */
.page-hero { padding-block: clamp(56px, 7vw, 96px) clamp(40px, 5vw, 72px); }
.page-hero .display { font-size: clamp(38px, 4.8vw, 60px); line-height: 1.06; }
.page-hero .lead { margin-top: 20px; max-width: 760px; }
.split { display: grid; grid-template-columns: minmax(0, 700px) minmax(0, 480px); justify-content: space-between; align-items: end; gap: 24px 80px; }
.split .lead { margin-top: 0; }

/* About page */
.mission-card { padding: clamp(28px, 4.5vw, 64px); border-radius: 24px; background: var(--paper); border: 1px solid var(--line-warm); display: flex; align-items: center; gap: clamp(28px, 4.5vw, 64px); }
.mission-art { width: 220px; height: 220px; flex-shrink: 0; border-radius: 20px; background: var(--lav-2); display: flex; align-items: center; justify-content: center; }
.mission-art svg { width: 140px; height: 136px; }
.mission-card .big { margin-top: 20px; font-family: var(--serif); font-size: clamp(22px, 2.3vw, 32px); line-height: 1.35; }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 96px; }
.two-col h2 { margin-top: 20px; font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 2.4vw, 32px); line-height: 1.25; }
.two-col p { margin-top: 20px; font-size: 18px; line-height: 1.65; color: var(--ink-2); }
.cap-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.cap { padding: 28px; border-radius: 16px; background: var(--paper); display: flex; flex-direction: column; gap: 20px; }
.cap .tile { width: 48px; height: 48px; border-radius: 12px; }
.cap .tile .i { width: 24px; height: 24px; }
.cap h3 { font-size: 18px; line-height: 1.3; font-weight: 600; }
.story { text-align: center; }
.story .q { width: 52px; height: 40px; margin-inline: auto; }
.story blockquote { margin: 28px auto 0; max-width: 980px; font-family: var(--serif); font-size: clamp(22px, 2.3vw, 30px); line-height: 1.45; }
.story figcaption { margin-top: 36px; display: inline-flex; align-items: center; gap: 14px; text-align: left; }

/* Services page */
.svc-nav { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 89px); z-index: 40; background: rgba(251, 248, 244, 0.94); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.chips { display: flex; gap: 10px; padding: 12px 4px; margin-inline: -4px; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex-shrink: 0; white-space: nowrap; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid #DCD2E2; background: var(--paper); display: inline-flex; align-items: center; font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none; }
.chip:hover { border-color: #B9A6C6; color: var(--ink); }
.chip[aria-current="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.svc-list { padding-block: 16px var(--section); }
.svc-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 72px; align-items: center; padding-block: 56px; }
.svc-row { scroll-margin-top: 64px; }
.svc-row + .svc-row { border-top: 1px solid var(--line); }
.svc-row.rev .svc-art { order: 2; }
.svc-art { aspect-ratio: 520 / 320; max-width: 100%; border-radius: 20px; overflow: hidden; }
.svc-art svg { display: block; width: 100%; height: 100%; }
.svc-copy .h2 { font-size: clamp(28px, 2.9vw, 40px); line-height: 1.15; }
.svc-copy p { margin-top: 16px; font-size: 18px; line-height: 1.65; color: var(--ink-2); }
.ticks { margin: 24px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.ticks li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.ticks .i { stroke-width: 2.25; color: var(--row-ink, var(--teal-ink)); }

/* Articles page */
.featured { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); border-radius: 20px; border: 1px solid var(--line); background: var(--paper); overflow: hidden; color: var(--ink); text-decoration: none; }
.featured:hover { border-color: #CDBCD8; color: var(--ink); }
.featured-art { aspect-ratio: 640 / 460; max-width: 100%; }
.featured-art svg { display: block; width: 100%; height: 100%; }
.featured-body { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.featured-body h2 { margin-top: 20px; font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 2.5vw, 34px); line-height: 1.2; letter-spacing: -0.01em; }
.featured-body p { margin-top: 16px; font-size: 17px; color: var(--ink-2); }
.featured-body .more { margin-top: 28px; padding-top: 0; }
.art-grid.six { margin-top: 24px; }
.news-card { padding: 40px 36px; border-radius: 16px; background: var(--band); color: #fff; display: flex; flex-direction: column; }
.news-card .tile { background: var(--band-2); color: var(--teal-light); }
.news-card h2 { margin-top: 28px; font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1.2; }
.news-card > p { margin-top: 12px; color: var(--band-text); }
.news-card form { margin-top: auto; padding-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.news-card label { font-size: 14px; font-weight: 600; }
.news-card input { min-height: 50px; padding: 0 14px; border: 1px solid #4A3D5A; border-radius: 10px; background: #fff; font: 15px/1.5 var(--sans); color: var(--ink); }
.news-card .nl-done { color: var(--teal-light); }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.contact-side { display: flex; flex-direction: column; gap: 16px; }
.info-card { padding: 24px 28px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); display: flex; align-items: center; gap: 18px; color: var(--ink); text-decoration: none; }
a.info-card:hover { border-color: #CDBCD8; color: var(--ink); }
.info-card small { display: block; font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.info-card b { display: block; font-size: 18px; line-height: 1.45; font-weight: 600; }
.map { position: relative; min-height: 380px; border-radius: 16px; overflow: hidden; background: #EFEAF2; border: 1px solid var(--line); }
.map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-card { position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 16px 18px; border-radius: 12px; background: #fff; box-shadow: 0 8px 24px rgba(34, 24, 48, 0.1); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.map-card b { display: block; font-size: 15px; }
.map-card span { font-size: 14px; color: var(--ink-2); }

/* Responsive */
@media (max-width: 760px) {
  .challenge-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1240px) {
  .cards-4, .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .main-nav { display: none; }
  .menu-btn { display: inline-flex; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .cycle { max-width: 560px; margin-inline: auto; }
  .cap-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .art-grid.six { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1241px) {
  .mobile-menu { display: none !important; }
}
@media (max-width: 1000px) {
  .consult-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 960px) {
  .about-grid, .faq-grid, .split { grid-template-columns: minmax(0, 1fr); }
  .svc-row { grid-template-columns: minmax(0, 1fr); }
  .svc-row.rev .svc-art { order: 0; }
}
@media (max-width: 900px) {
  .u-address { display: none; }
  .utility-inner { justify-content: center; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .pillars, .quotes, .two-col { grid-template-columns: minmax(0, 1fr); }
  .pillars { gap: 28px; }
  .art-grid { grid-template-columns: minmax(0, 1fr); }
  .featured { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .mission-card { flex-direction: column; align-items: flex-start; }
  .mission-art { width: 120px; height: 120px; }
  .mission-art svg { width: 78px; height: 76px; }
}
@media (max-width: 700px) {
  .cards-4, .art-grid.six { grid-template-columns: minmax(0, 1fr); }
  .cards-4 { margin-top: 36px; }
  .cards-4 .svc-card { padding: 24px; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 88px; }
  .masthead-inner { height: 72px; }
  .logo-mark { width: 40px; height: 39px; }
  .logo-word { width: 124px; height: 40px; }
  .header-cta { display: none; }
  .svc-nav { top: calc(env(safe-area-inset-top, 0px) + 73px); }
  .mobile-menu { max-height: calc(100vh - 72px); max-height: calc(100dvh - 72px); }
  .cycle { display: none; }
  .hero-actions .btn { flex: 1 1 100%; }
  .challenge-grid { gap: 12px; }
  .cap-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .cap { flex-direction: row; align-items: center; padding: 18px 20px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .u-divider, .utility .socials { display: none; }
  .u-right { gap: 18px; }
}
@media (max-width: 560px) {
  .checks, .ticks, .fields { grid-template-columns: minmax(0, 1fr); }
  .faq-q { font-size: 16.5px; }
  .faq-a { padding-right: 0; }
  .map { min-height: 320px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .svc-card, .art-card, .cycle .stage { transition: none; }
}

/* Revenue cycle: clickable, animated steps */
.cycle .hit { fill: transparent; }
.cycle .halo { fill: none; stroke: #844E9C; stroke-width: 3; opacity: 0; }
.cycle .node { fill: #221830; stroke: #FBF8F4; stroke-width: 4; transition: fill 0.15s ease; }
.cycle .num { font-family: var(--sans); font-size: 13px; font-weight: 700; fill: #FFFFFF; text-anchor: middle; }
.cycle .lbl { font-family: var(--sans); font-size: 16px; font-weight: 600; fill: var(--ink); transition: fill 0.15s ease; }
.cycle .stage { cursor: pointer; outline: none; transform-box: fill-box; transform-origin: center; transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1); }
.cycle .hit { transition: fill 0.15s ease, stroke 0.15s ease; }
/* The step under the pointer lifts out of the circle a little and grows, on a white card, so it reads as a button. */
.cycle .stage:hover, .cycle .stage:focus-visible { transform: translate(var(--dx, 0px), var(--dy, 0px)) scale(1.1); }
.cycle .stage:hover .hit, .cycle .stage:focus-visible .hit { fill: #FFFFFF; stroke: #E6DEEA; stroke-width: 1.5; filter: drop-shadow(0 8px 16px rgba(34, 24, 48, 0.14)); }
.cycle .stage:hover .halo, .cycle .stage:focus-visible .halo { opacity: 0 !important; }
.cycle .stage:hover .node, .cycle .stage:focus-visible .node { fill: var(--purple-ui); }
.cycle .stage:hover .lbl, .cycle .stage:focus-visible .lbl { fill: var(--purple-ui); text-decoration: underline; }
.cycle .stage:focus-visible .hit { stroke: var(--ink); stroke-width: 3; }
.cycle-hint { margin-top: 5px; text-align: center; font-size: 14px; color: var(--muted); }

/* Accessibility preferences */
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
html[data-text="lg"] { scroll-padding-top: 118px; }
html[data-text="xl"] { scroll-padding-top: 132px; }
html[data-text="lg"] body { zoom: 1.12; }
html[data-text="xl"] body { zoom: 1.25; }
/* The zoom also enlarges these heights, so divide by it to keep the panels and menu on screen. */
html[data-text="lg"] .a11y-panel { max-height: calc(100vh / 1.12 - 120px); }
html[data-text="xl"] .a11y-panel { max-height: calc(100vh / 1.25 - 120px); }
html[data-text="lg"] .chat-panel { height: min(600px, calc(100vh / 1.12 - 120px)); }
html[data-text="xl"] .chat-panel { height: min(600px, calc(100vh / 1.25 - 120px)); }
html[data-text="lg"] .mobile-menu { max-height: calc(100vh / 1.12 - 88px); max-height: calc(100dvh / 1.12 - 88px); }
html[data-text="xl"] .mobile-menu { max-height: calc(100vh / 1.25 - 88px); max-height: calc(100dvh / 1.25 - 88px); }
html[data-contrast="high"] { --ink-2: #221830; --muted: #332A40; --line: #8E80A0; --line-2: #8E80A0; --line-warm: #8E80A0; --field: #5F5270; --teal-ink: #0F5A63; --purple-ui: #5A2F72; --coral-ink: #962E31; --band-text: #FFFFFF; --band-muted: #EDE6F5; }
html[data-contrast="high"] .btn-secondary { box-shadow: inset 0 0 0 2px var(--ink); }
html[data-contrast="high"] .chip, html[data-contrast="high"] .chat-action { border-color: var(--ink); }
html[data-contrast="high"] .svc-card, html[data-contrast="high"] .art-card, html[data-contrast="high"] .info-card, html[data-contrast="high"] .challenge, html[data-contrast="high"] .cap, html[data-contrast="high"] .quote { border: 1px solid var(--ink); }
html[data-contrast="high"] .footer-bottom, html[data-contrast="high"] .footer-brand .socials a, html[data-contrast="high"] .nl-row input { border-color: var(--ink); }
html[data-font="readable"] { --serif: var(--sans); }
html[data-font="readable"] body { letter-spacing: 0.012em; word-spacing: 0.06em; }
html[data-font="readable"] p, html[data-font="readable"] li { line-height: 1.75; }
html[data-font="readable"] .display, html[data-font="readable"] .h2 { letter-spacing: 0; }
html[data-font="readable"] em { font-style: normal; }
html[data-links="underline"] a:not(.btn):not(.chip):not(.svc-card):not(.art-card):not(.featured):not(.cs-feature):not(.info-card):not(.logo):not(.footer-logo):not(.contact-row):not(.skip):not(.chat-action):not(.stage) { text-decoration: underline; text-underline-offset: 3px; }
html[data-links="underline"] .cycle .lbl { text-decoration: underline; }
html[data-motion="reduce"] { scroll-behavior: auto; }
html[data-motion="reduce"] *, html[data-motion="reduce"] *::before, html[data-motion="reduce"] *::after { animation: none !important; transition: none !important; }

/* Floating accessibility and chat controls */
.fab { position: fixed; z-index: 60; bottom: calc(env(safe-area-inset-bottom, 0px) + 20px); display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; cursor: pointer; font: 600 15px/1 var(--sans); box-shadow: 0 10px 30px rgba(34, 24, 48, 0.22); }
.fab:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 5px var(--teal), 0 10px 30px rgba(34, 24, 48, 0.22); }
.a11y-launcher { left: 20px; width: 52px; height: 52px; border-radius: 999px; background: var(--ink); color: #FFFFFF; }
.a11y-launcher .i { width: 28px; height: 28px; stroke-width: 1.6; }
.chat-launcher { right: 20px; height: 56px; padding: 0 22px 0 18px; border-radius: 999px; background: var(--purple-ui); color: #FFFFFF; }
.chat-launcher .i { width: 24px; height: 24px; }
.chat-launcher[aria-expanded="true"] { background: var(--ink); }
.panel { position: fixed; z-index: 70; bottom: calc(env(safe-area-inset-bottom, 0px) + 88px); display: flex; flex-direction: column; overflow: hidden; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 24px 60px rgba(34, 24, 48, 0.24); }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 14px 14px 18px; border-bottom: 1px solid var(--line); }
.panel-head h2 { font-family: var(--serif); font-weight: 500; font-size: 20px; line-height: 1.2; }
.panel-head p { font-size: 13px; color: var(--muted); }
.icon-btn { width: 40px; height: 40px; flex-shrink: 0; border: 0; border-radius: 10px; background: var(--lav); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.icon-btn .i { width: 20px; height: 20px; stroke-width: 2; }
.a11y-panel { left: 20px; width: min(340px, calc(100vw - 40px)); max-height: calc(100vh - 120px); }
.a11y-body { padding: 18px; display: flex; flex-direction: column; gap: 18px; overflow-y: auto; }
.a11y-body fieldset { margin: 0; padding: 0; border: 0; }
.a11y-body legend { margin-bottom: 10px; padding: 0; font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 12px; background: var(--lav); }
.seg label { position: relative; display: block; }
.seg input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.seg span { display: flex; align-items: center; justify-content: center; min-height: 40px; border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.seg input:checked + span { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(34, 24, 48, 0.18); }
.seg input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 5px var(--teal); }
.switches { display: flex; flex-direction: column; }
.switch-row { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); cursor: pointer; }
.switch-row:last-child { border-bottom: 1px solid var(--line); }
.switch-row input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.switch-text b { display: block; font-size: 15px; font-weight: 600; }
.switch-text span { display: block; font-size: 13px; line-height: 1.4; color: var(--muted); }
.switch { position: relative; flex-shrink: 0; width: 44px; height: 26px; border-radius: 999px; background: #8E80A0; transition: background 0.15s ease; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 999px; background: #FFFFFF; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25); transition: transform 0.15s ease; }
.switch-row input:checked + .switch { background: var(--purple-ui); }
.switch-row input:checked + .switch::after { transform: translateX(18px); }
.switch-row input:focus-visible + .switch { outline: 3px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 5px var(--teal); }
.a11y-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.chat-panel { right: 20px; width: min(390px, calc(100vw - 40px)); height: min(600px, calc(100vh - 120px)); }
.chat-id { display: flex; align-items: center; gap: 12px; min-width: 0; }
.chat-avatar { width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; background: var(--lav); display: flex; align-items: center; justify-content: center; }
.chat-avatar svg { width: 28px; height: 27px; }
.chat-log { flex: 1 1 auto; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--ground); }
.msg { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: 15px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg.bot { align-self: flex-start; background: var(--paper); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.msg.user { align-self: flex-end; background: var(--purple-ui); color: #FFFFFF; border-bottom-right-radius: 6px; }
.msg-actions { align-self: flex-start; display: flex; flex-wrap: wrap; gap: 6px; max-width: 100%; }
.chat-action { min-height: 36px; padding: 0 14px; border: 1px solid var(--field); border-radius: 999px; background: var(--paper); display: inline-flex; align-items: center; font: 600 14px/1.2 var(--sans); color: var(--purple-ui); text-decoration: none; cursor: pointer; }
.chat-action:hover { border-color: var(--purple-ui); color: var(--purple-ui); }
.typing { display: inline-flex; gap: 4px; padding-block: 4px; }
.typing i { width: 7px; height: 7px; border-radius: 999px; background: var(--muted); animation: typing 1.2s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing { 0%, 80%, 100% { opacity: 0.25; } 40% { opacity: 1; } }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: var(--paper); }
.chat-form input { flex: 1 1 auto; min-width: 0; min-height: 46px; padding: 0 14px; border: 1px solid var(--field); border-radius: 12px; background: #FFFFFF; font: 15px/1.4 var(--sans); color: var(--ink); }
.chat-form button { width: 46px; height: 46px; flex-shrink: 0; border: 0; border-radius: 12px; background: var(--purple-ui); color: #FFFFFF; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.chat-form button:disabled { opacity: 0.5; cursor: default; }
.chat-note { padding: 0 14px 12px; background: var(--paper); font-size: 12.5px; line-height: 1.45; color: var(--muted); }

/* Accessibility statement */
.prose { max-width: 760px; }
.prose h2 { margin-top: 40px; font-family: var(--serif); font-weight: 500; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.25; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { font-size: 18px; line-height: 1.65; color: var(--ink-2); }
.prose p { margin-top: 12px; }
.prose ul { margin: 12px 0 0; padding-left: 22px; }
.prose li + li { margin-top: 8px; }
.prose .btn { margin-top: 32px; }

@media (max-width: 640px) {
  .a11y-launcher { left: 16px; }
  .chat-launcher { right: 16px; width: 56px; padding: 0; }
  .chat-launcher .fab-label { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .panel { left: 12px; right: 12px; width: auto; bottom: calc(env(safe-area-inset-bottom, 0px) + 84px); }
  /* The last term keeps the top of the panel on screen when the window is very short. */
  .chat-panel { height: min(72vh, 560px, 100vh - 96px); }
  html[data-text="lg"] .chat-panel { height: min(72vh / 1.12, 560px, 100vh / 1.12 - 96px); }
  html[data-text="xl"] .chat-panel { height: min(72vh / 1.25, 560px, 100vh / 1.25 - 96px); }
  /* These come after the Larger text rules above, which use the taller desktop header. */
  html[data-text="lg"] .mobile-menu { max-height: calc(100vh / 1.12 - 72px); max-height: calc(100dvh / 1.12 - 72px); }
  html[data-text="xl"] .mobile-menu { max-height: calc(100vh / 1.25 - 72px); max-height: calc(100dvh / 1.25 - 72px); }
}
@media (prefers-reduced-motion: reduce) {
  .typing i { animation: none; opacity: 0.6; }
}

/* Structured chat replies, notices and policy page */
.unsub-card { max-width: 560px; }
.msg.bot { white-space: normal; }
.msg ul { margin: 6px 0 0; padding-left: 18px; }
.msg li + li { margin-top: 3px; }
.msg li::marker { color: var(--purple); }
.msg p + p, .msg ul + p { margin-top: 8px; }
.chat-id h2 { font-size: 18px; white-space: nowrap; }
.chat-note a { color: var(--purple-ui); font-weight: 600; }
.form-note { margin-top: 12px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.form-note a { color: var(--purple-ui); font-weight: 600; }
.news-card .form-note { color: var(--band-text); }
.news-card .form-note a { color: var(--teal-light); }
@media (max-width: 640px) {
  .msg { max-width: 92%; }
}

/* Articles and case study listings */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 14px; color: var(--muted); }
.crumbs a { font-weight: 600; color: var(--purple-ui); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs .i { width: 16px; height: 16px; transform: rotate(-90deg); }
.post-title { margin-top: 20px; max-width: 1000px; font-size: clamp(34px, 4.2vw, 54px); line-height: 1.08; }
.cs-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); border: 1px solid var(--line); border-radius: 20px; background: var(--paper); overflow: hidden; color: var(--ink); text-decoration: none; }
.cs-feature:hover { border-color: #CDBCD8; color: var(--ink); }
.cs-panel { position: relative; min-height: 340px; padding: clamp(28px, 4vw, 56px); background: var(--band); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; }
.cs-mark { position: absolute; top: clamp(24px, 3vw, 40px); left: clamp(28px, 4vw, 56px); width: 52px; height: 51px; }
.cs-num { font-family: var(--serif); font-weight: 500; font-size: clamp(72px, 9vw, 120px); line-height: 1; letter-spacing: -0.03em; color: var(--teal-light); }
.cs-lbl { margin-top: 12px; font-size: 18px; color: var(--band-text); }
html[data-contrast="high"] .cs-feature { border-color: var(--ink); }
@media (max-width: 1240px) {
  .main-nav { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (min-width: 1241px) and (max-width: 1400px) {
  .main-nav { gap: 28px; }
}
@media (max-width: 1000px) {
    }
@media (max-width: 900px) {
  .cs-feature { grid-template-columns: minmax(0, 1fr); }
  .cs-panel { min-height: 240px; }
}
@media (max-width: 560px) {
  }


/* ---------- Article and case study pages (shared with the live site) ---------- */
.read-progress { display: none; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; pointer-events: none; }
.read-progress span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--teal), var(--purple) 55%, var(--coral)); }
.is-reading .read-progress { display: block; }
.crumbs-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }

.art-hero { padding-block: clamp(36px, 5vw, 64px) clamp(44px, 5.5vw, 76px); background: var(--art-lav); }
.art-hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.art-hero .meta { margin-top: 24px; }
.art-hero .tag { background: var(--paper); }
.art-hero .post-title { margin-top: 16px; max-width: 760px; font-size: clamp(32px, 3.9vw, 50px); line-height: 1.1; }
.art-dek { margin-top: 20px; max-width: 640px; font-family: var(--serif); font-size: clamp(19px, 1.65vw, 22px); line-height: 1.5; color: var(--ink-2); }
.byline { margin-top: 28px; display: flex; align-items: center; gap: 12px; font-size: 14px; line-height: 1.35; color: var(--muted); }
.byline b { display: block; font-size: 15px; color: var(--ink); }
.byline-mark { flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; }
.byline-mark svg { width: 27px; height: 26px; }
.art-hero-art { border-radius: 24px; background: var(--paper); box-shadow: 0 30px 60px -36px rgba(34, 24, 48, 0.45); overflow: hidden; }
.art-hero-art svg { display: block; width: 100%; height: auto; }

.art-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(40px, 5vw, 88px); align-items: start; padding-block: clamp(40px, 5vw, 64px) var(--section); }
.art-rail { position: sticky; top: 112px; display: grid; gap: 28px; }
.toc-title { font-size: 12.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal-ink); }
.toc ol { margin: 14px 0 0; padding: 0; list-style: none; counter-reset: toc; border-left: 2px solid var(--line); }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 10px; margin-left: -2px; padding: 8px 0 8px 16px; border-left: 2px solid transparent; font-size: 14.5px; line-height: 1.4; color: var(--ink-2); text-decoration: none; }
.toc a::before { content: counter(toc, decimal-leading-zero); flex-shrink: 0; padding-top: 1px; font-size: 12px; font-weight: 600; color: var(--muted); }
.toc a:hover { color: var(--purple-ui); }
.toc a[aria-current="true"] { border-left-color: var(--purple); font-weight: 600; color: var(--purple-ui); }
.toc a[aria-current="true"]::before { color: var(--purple-ui); }
.rail-news { padding: 24px 22px; border-radius: 16px; background: var(--band); color: #fff; }
.rail-news h2 { font-family: var(--serif); font-weight: 500; font-size: 21px; line-height: 1.3; }
.rail-news > p { margin-top: 8px; font-size: 14px; color: var(--band-text); }
.rail-news form { margin-top: 16px; display: grid; gap: 8px; }
.rail-news input { min-height: 44px; padding: 0 12px; border: 1px solid #4A3D5A; border-radius: 10px; font: 15px/1.4 var(--sans); color: var(--ink); }
.rail-news .btn { min-height: 44px; }
.rail-news .form-note, .rail-news .nl-done { font-size: 12.5px; color: var(--band-text); }
.rail-news .form-note a { color: var(--teal-light); }
.toc-mobile { display: none; margin-bottom: 28px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.toc-mobile summary { padding: 16px 20px; font-weight: 600; color: var(--ink); cursor: pointer; }
.toc-mobile ol { margin: 0; padding: 0 20px 16px 40px; }
.toc-mobile li + li { margin-top: 8px; }
.toc-mobile a { color: var(--purple-ui); text-decoration: none; }
.art-main { min-width: 0; max-width: 780px; }

.takeaways { padding: 28px 30px 30px; border-radius: 20px; background: var(--art-teal); }
.takeaways h2 { font: 600 13px/1.2 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal-ink); }
.takeaways ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.takeaways li { position: relative; padding-left: 34px; font-size: 17px; line-height: 1.55; color: var(--ink); }
.takeaways li::before { content: ""; position: absolute; left: 0; top: 0.2em; width: 22px; height: 22px; border-radius: 50%; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B7580' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 13px no-repeat; }

.article-body { counter-reset: sec; margin-top: 44px; }
.article-body p, .article-body li { font-size: 18px; line-height: 1.75; color: var(--ink-2); }
.article-body p + p { margin-top: 18px; }
.article-body a { color: var(--purple-ui); text-decoration: underline; text-decoration-color: rgba(109, 61, 134, 0.35); text-underline-offset: 3px; }
.article-body a:hover { text-decoration-color: currentColor; }
.article-body strong { color: var(--ink); }
.article-body h2 { counter-increment: sec; margin-top: 72px; font-family: var(--serif); font-weight: 500; font-size: clamp(27px, 2.6vw, 36px); line-height: 1.18; letter-spacing: -0.01em; color: var(--ink); scroll-margin-top: 84px; }
.article-body > h2:first-child { margin-top: 0; }
.article-body h2::before { content: counter(sec, decimal-leading-zero); display: block; margin-bottom: 14px; padding-left: 50px; background: linear-gradient(90deg, var(--teal) 0 10px, transparent 10px 13px, var(--coral) 13px 23px, transparent 23px 26px, var(--purple) 26px 36px) left center / 36px 3px no-repeat; font: 600 13px/1 var(--sans); letter-spacing: 0.2em; color: var(--teal-ink); }
.article-body h2 + p, .article-body h2 + h3 { margin-top: 18px; }
.article-body h3 { margin-top: 36px; font-family: var(--serif); font-weight: 500; font-size: 23px; line-height: 1.3; color: var(--ink); }
.article-body h3 + p { margin-top: 10px; }
.article-body ol + p, .article-body ul + p, .article-body .points + p, .article-body .callout + p, .article-body .table-wrap + p { margin-top: 28px; }
.article-body ul:not(.cards) { margin: 20px 0 0; padding: 0; list-style: none; }
.article-body ul:not(.cards) > li { position: relative; padding-left: 28px; }
.article-body ul:not(.cards) > li + li { margin-top: 10px; }
.article-body ul:not(.cards) > li::before { content: ""; position: absolute; left: 3px; top: 0.66em; width: 9px; height: 9px; border-radius: 2px; background: var(--teal); transform: rotate(45deg); }

.article-body ul.cards { margin: 28px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.article-body ul.cards > li { padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); font-size: 16px; line-height: 1.6; }
.article-body ul.cards > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.article-body ul.cards > li > strong:first-of-type { display: block; margin: 18px 0 6px; font-family: var(--serif); font-weight: 500; font-size: 20px; line-height: 1.3; }
.li-ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--art-teal); color: var(--teal-ink); }
.li-ico .i { width: 22px; height: 22px; }
.cards > li:nth-child(3n+2) .li-ico { background: var(--art-coral); color: var(--coral-ink); }
.cards > li:nth-child(3n) .li-ico { background: var(--art-lav); color: var(--purple-ui); }

.article-body ol.steps { margin: 28px 0 0; padding: 0; list-style: none; counter-reset: step; }
.article-body ol.steps > li { counter-increment: step; position: relative; padding: 0 0 28px 66px; }
.article-body ol.steps > li:last-child { padding-bottom: 0; }
.article-body ol.steps > li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--purple); font: 600 17px/1 var(--sans); color: #fff; }
.article-body ol.steps > li::after { content: ""; position: absolute; left: 21px; top: 50px; bottom: 6px; width: 2px; background: var(--line); }
.article-body ol.steps > li:last-child::after { display: none; }
.article-body ol.steps > li:nth-child(3n+2)::before { background: var(--teal-ink); }
.article-body ol.steps > li:nth-child(3n)::before { background: var(--coral-ink); }
.article-body ol.steps > li > strong:first-child { display: block; padding-top: 8px; margin-bottom: 4px; font-family: var(--serif); font-weight: 500; font-size: 21px; line-height: 1.3; }

.points { margin-top: 28px; display: grid; gap: 16px; }
.point { position: relative; padding: 28px 30px 28px 96px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); }
.article-body .point h3 { margin: 0; }
.pt-badge { position: absolute; left: 28px; top: 28px; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--art-teal); font: 500 22px/1 var(--serif); color: var(--teal-ink); }
.pt-badge .i { width: 22px; height: 22px; }
.point:nth-child(3n+2) .pt-badge { background: var(--art-coral); color: var(--coral-ink); }
.point:nth-child(3n) .pt-badge { background: var(--art-lav); color: var(--purple-ui); }
.pt-title { display: block; font-family: var(--serif); font-weight: 500; font-size: 23px; line-height: 1.25; color: var(--ink); }
.pt-sub { display: block; margin-top: 8px; font: 600 12.5px/1.3 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.article-body .point p { font-size: 17px; line-height: 1.7; }
.article-body .point h3 + p { margin-top: 12px; }

.article-body .callout { position: relative; margin: 36px 0 0; padding: 28px 30px 28px 86px; border: 0; border-radius: 20px; background: var(--lav); }
.callout-ico { position: absolute; left: 28px; top: 28px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--purple); color: #fff; }
.callout-ico .i { width: 18px; height: 18px; }
.article-body .callout p { font-family: var(--serif); font-size: 20px; line-height: 1.6; color: var(--ink); }

.article-body .conclusion { margin-top: 72px; padding: clamp(28px, 4vw, 48px); border-radius: 24px; background: var(--band); }
.article-body .conclusion h2 { margin-top: 0; color: #fff; }
.article-body .conclusion h2::before { color: var(--teal-light); }
.article-body .conclusion p { color: var(--band-text); }
.article-body .conclusion a { color: var(--teal-light); }
.article-body figure { margin: 36px 0 0; }
.article-body img { display: block; max-width: 100%; height: auto; border-radius: 16px; }
.article-body figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }
.table-wrap { margin-top: 28px; overflow-x: auto; }
.article-body table { width: 100%; border-collapse: collapse; font-size: 16px; }
.article-body th, .article-body td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.article-body th { background: var(--lav); color: var(--ink); }

.svc-cta { margin-top: 56px; padding: 30px; border: 1px solid var(--line); border-radius: 22px; background: var(--paper); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px; }
.svc-cta .tile { width: 58px; height: 58px; }
.svc-cta h2 { margin-top: 10px; font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.25; }
.svc-cta p:not(.eyebrow) { margin-top: 8px; color: var(--ink-2); }
.svc-cta .actions { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; }

/* Case studies */
.case-hero { padding-block: clamp(36px, 5vw, 64px) clamp(96px, 10vw, 136px); background: var(--band); color: #fff; }
.case-hero .crumbs { color: var(--band-text); }
.case-hero .crumbs a { color: var(--teal-light); }
.case-hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.case-client { margin-top: 28px; color: var(--teal-light); }
.case-hero h1 { margin-top: 18px; font-size: clamp(34px, 4.2vw, 56px); line-height: 1.08; color: #fff; }
.case-hero .lead { margin-top: 22px; max-width: 640px; color: var(--band-text); }
.case-stat { position: relative; padding: clamp(28px, 3.5vw, 44px); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 26px; background: var(--band-2); overflow: hidden; }
.case-stat .num { font-family: var(--serif); font-weight: 500; font-size: clamp(84px, 10vw, 144px); line-height: 0.95; letter-spacing: -0.03em; color: var(--teal-light); }
.case-stat .lbl { margin-top: 16px; font-size: 19px; line-height: 1.4; color: #fff; }
.case-stat .mark { position: absolute; right: -34px; bottom: -40px; width: 200px; height: 195px; opacity: 0.16; }
.case-facts { position: relative; margin-top: calc(-1 * clamp(58px, 6.5vw, 76px)); }
.case-facts ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 22px; background: var(--paper); box-shadow: 0 30px 60px -40px rgba(34, 24, 48, 0.45); }
.case-facts li { padding: 26px 26px 24px; display: flex; align-items: flex-start; gap: 14px; }
.case-facts li + li { border-left: 1px solid var(--line); }
.case-facts .tile { flex-shrink: 0; width: 44px; height: 44px; }
.case-facts .k { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.case-facts .v { display: block; margin-top: 5px; font-weight: 600; line-height: 1.4; color: var(--ink); }
.case-body { padding-block: clamp(56px, 7vw, 96px) clamp(48px, 6vw, 80px); display: grid; gap: clamp(56px, 7vw, 96px); }
.cs-sec { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.6fr); gap: clamp(28px, 5vw, 80px); }
.cs-sec-num { font: 600 13px/1 var(--sans); letter-spacing: 0.2em; color: var(--teal-ink); padding-left: 50px; background: linear-gradient(90deg, var(--teal) 0 10px, transparent 10px 13px, var(--coral) 13px 23px, transparent 23px 26px, var(--purple) 26px 36px) left center / 36px 3px no-repeat; }
.cs-sec-head h2 { margin-top: 16px; font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3vw, 42px); line-height: 1.12; letter-spacing: -0.01em; color: var(--ink); }
.cs-sec-stat { margin-top: 24px; }
.cs-sec-stat .num { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(56px, 6vw, 80px); line-height: 1; color: var(--teal-ink); }
.cs-sec-stat .lbl { display: block; margin-top: 8px; color: var(--ink-2); }
.cs-sec-body > p { font-size: 18px; line-height: 1.75; color: var(--ink-2); }
.cs-sec-body > p + p { margin-top: 16px; }
.cs-sec-body ul.cards { margin: 24px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cs-sec-body ul.cards > li { padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.cs-sec-body ul.cards > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.cs-sec-body ul.cards > li > strong:first-of-type { display: block; margin: 18px 0 6px; font-family: var(--serif); font-weight: 500; font-size: 20px; line-height: 1.3; color: var(--ink); }
.cs-sec--challenge .cs-sec-num { color: var(--coral-ink); }
.cs-sec--challenge ul.cards > li { border-color: #F3D3D1; background: #FFF8F7; }
.cs-sec--challenge ul.cards > li .li-ico { background: var(--art-coral); color: var(--coral-ink); }
.cs-sec--solution ul.cards > li .li-ico { background: var(--art-lav); color: var(--purple-ui); }
.cs-sec--solution .cs-sec-num { color: var(--purple-ui); }
.cs-sec--results ul.cards > li { border-color: #C9E9EC; background: #F4FBFC; }
.cs-sec--results ul.cards > li .li-ico { background: var(--teal-ink); color: #fff; }
.case-quote { margin: 0 0 clamp(56px, 7vw, 96px); padding: clamp(32px, 4vw, 56px); border-radius: 26px; background: var(--lav); }
.case-quote blockquote { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.45; color: var(--ink); }
.case-quote figcaption { margin-top: 24px; font-weight: 600; color: var(--ink); }
.case-quote figcaption span { display: block; font-weight: 400; color: var(--muted); }

html[data-contrast="high"] .point, html[data-contrast="high"] .article-body ul.cards > li, html[data-contrast="high"] .cs-sec-body ul.cards > li, html[data-contrast="high"] .case-facts ul, html[data-contrast="high"] .svc-cta { border-color: var(--ink); }

@media (max-width: 1100px) {
  .art-layout { grid-template-columns: minmax(0, 1fr); }
  .art-rail { display: none; }
  .toc-mobile { display: block; }
  .art-main { max-width: none; }
}
@media (max-width: 1000px) {
  .case-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .case-stat { max-width: 460px; }
  .case-facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-facts li:nth-child(3) { border-left: 0; }
  .case-facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cs-sec { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .art-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .art-hero-art { max-width: 520px; }
}
@media (max-width: 640px) {
  .article-body ul.cards, .cs-sec-body ul.cards { grid-template-columns: minmax(0, 1fr); }
  .point { padding: 24px 22px; }
  .pt-badge { position: static; margin-bottom: 16px; }
  .article-body .callout { padding: 24px 22px; }
  .callout-ico { position: static; margin-bottom: 14px; }
  .svc-cta { grid-template-columns: minmax(0, 1fr); padding: 24px; }
  .article-body ol.steps > li { padding-left: 58px; }
}
@media (max-width: 560px) {
  .case-facts ul { grid-template-columns: minmax(0, 1fr); }
  .case-facts li + li { border-left: 0; border-top: 1px solid var(--line); }
}

/* Article section menu (sticky under the header) and previous/next links */
.art-nav { top: calc(env(safe-area-inset-top, 0px) + 89px); }
.art-nav-inner { display: flex; align-items: center; gap: 16px; }
.art-nav-label { flex-shrink: 0; font-size: 12.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal-ink); }
.art-nav .chips { flex: 1; min-width: 0; }
.art-nav .chip { gap: 8px; max-width: 340px; }
.art-nav .chip .n { flex-shrink: 0; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.art-nav .chip .t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.art-nav .chip[aria-current="true"] .n { color: var(--teal-light); }
.art-nav-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; }
.art-nav-progress span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--teal), var(--purple) 55%, var(--coral)); }
/* Case studies use the same menu, below the client facts; headings land with their section number in view. */
.case-nav { margin-top: clamp(20px, 3vw, 32px); }
.cs-sec-head h2 { scroll-margin-top: 114px; }
.art-layout { grid-template-columns: minmax(0, 1fr) 300px; }
.art-rail { top: 180px; }
.art-main { max-width: 780px; }
.post-pager { margin-top: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.post-pager:empty { display: none; }
.pp { padding: 22px 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); display: flex; flex-direction: column; gap: 8px; color: var(--ink); text-decoration: none; }
.pp:hover { border-color: #CDBCD8; color: var(--ink); }
.pp.next { grid-column: 2; text-align: right; align-items: flex-end; }
.pp-dir { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--purple-ui); }
.pp.prev .pp-dir .i { transform: rotate(180deg); }
.pp-title { font-family: var(--serif); font-weight: 500; font-size: 19px; line-height: 1.35; }
html[data-contrast="high"] .pp { border-color: var(--ink); }
@media (max-width: 1100px) {
  .art-nav { top: calc(env(safe-area-inset-top, 0px) + 89px); }
  .art-layout { grid-template-columns: minmax(0, 1fr); }
  .art-rail { position: static; display: block; max-width: 520px; }
}
@media (max-width: 640px) {
  .art-nav { top: calc(env(safe-area-inset-top, 0px) + 73px); }
  .art-nav-label { display: none; }
  .post-pager { grid-template-columns: minmax(0, 1fr); }
  .pp.next { grid-column: auto; }
}

/* ---------- Live site: forms, messages, listings ---------- */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: #FDECEC; font-size: 15px; font-weight: 500; color: var(--coral-ink); }
.band .form-error, .news-card .form-error, .rail-news .form-error { background: #FFF1F1; }
[aria-invalid="true"] { border-color: var(--coral-ink) !important; box-shadow: 0 0 0 3px rgba(178, 60, 62, 0.15); }
.nl-done { font-weight: 500; }
.newsletter .nl-done { margin-top: 10px; color: var(--teal-ink); }
button[disabled] { opacity: 0.6; cursor: wait; }
.cat-chips { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 10px; }
.cat-chips a { min-height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); display: inline-flex; align-items: center; font-size: 14.5px; font-weight: 600; color: var(--ink-2); text-decoration: none; }
.cat-chips a:hover { border-color: var(--purple-ui); color: var(--purple-ui); }
.cat-chips a[aria-current="page"] { border-color: var(--purple); background: var(--purple); color: #fff; }
.pager { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }
.pager span { font-size: 15px; color: var(--muted); }
.empty-note { margin-top: 32px; padding: 32px; border: 1px dashed var(--line); border-radius: 18px; text-align: center; color: var(--ink-2); }
.state-card { max-width: 640px; }
.state-card .ok { margin-bottom: 18px; }
.state-card h2 { font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1.2; }
.state-card p { margin-top: 12px; color: var(--ink-2); }
.state-card .btn { margin-top: 24px; }
.state-card .email { font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.errors-list { margin: 12px 0 0; padding-left: 20px; color: var(--coral-ink); }
.not-found .links { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.art-body-image { margin: 0 0 36px; }
.art-body-image img { display: block; width: 100%; height: auto; border-radius: 20px; }
.tips { margin-top: 56px; padding: clamp(26px, 3.5vw, 40px); border-radius: 24px; background: var(--lav); }
.tips > h2 { margin-top: 12px; font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.2; }
.tips ol { margin: 24px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; counter-reset: tip; }
.tips li { counter-increment: tip; position: relative; padding: 22px 22px 22px 70px; border-radius: 16px; background: var(--paper); font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.tips li::before { content: counter(tip); position: absolute; left: 22px; top: 22px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--art-teal); font: 600 15px/1 var(--sans); color: var(--teal-ink); }
.tips li:nth-child(3n+2)::before { background: var(--art-coral); color: var(--coral-ink); }
.tips li:nth-child(3n)::before { background: var(--art-lav); color: var(--purple-ui); }
.tips li b { display: block; margin-bottom: 4px; font-family: var(--serif); font-weight: 500; font-size: 19px; line-height: 1.3; color: var(--ink); }
.tips li:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 640px) {
  .tips ol { grid-template-columns: minmax(0, 1fr); }
}
[hidden] { display: none !important; }
.art-img img, .featured-art img, .art-hero-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.art-hero-art img { aspect-ratio: 410 / 250; }
.preview-bar { position: sticky; top: 0; z-index: 70; padding: 10px 16px; background: var(--coral-ink); font-size: 14px; font-weight: 600; text-align: center; color: #fff; }
.preview-bar a { color: #fff; }
.cs-feature .cs-panel .cs-lbl:only-of-type { font-family: var(--serif); font-size: 26px; color: #fff; }

/* Case study pictures: beside the title with the headline number on it, and behind the featured card's number */
.case-side { position: relative; }
.case-side .case-pic { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 26px; background: var(--band-2); }
.case-side.has-pic .case-stat { position: absolute; left: -28px; bottom: -32px; max-width: 78%; padding: 20px 26px; box-shadow: 0 24px 48px -28px rgba(0, 0, 0, 0.6); }
.case-side.has-pic .case-stat .num { font-size: clamp(44px, 5vw, 72px); }
.case-side.has-pic .case-stat .lbl { margin-top: 8px; font-size: 16px; }
.case-side.has-pic .case-stat .mark { width: 110px; height: 107px; right: -20px; bottom: -24px; }
.cs-panel.has-pic { background: linear-gradient(180deg, rgba(34, 24, 48, 0.1) 30%, rgba(34, 24, 48, 0.82)), var(--pic) center / cover no-repeat, var(--band); }
.cs-sec-body figure { margin: 24px 0 0; }
.cs-sec-body img { display: block; max-width: 100%; height: auto; border-radius: 16px; }
@media (max-width: 1000px) {
  .case-side.has-pic { max-width: 560px; margin-bottom: 28px; }
  .case-side.has-pic .case-stat { left: 16px; bottom: -28px; }
}

/* Type pairing: Hanken Grotesk (bold, tight) for headings; Newsreader for the human touches: the purple italic
   accent words in headlines, quotes, big numbers and the headings inside articles. */
:root { --grotesk: 'Hanken Grotesk', var(--sans); --news: 'Newsreader', var(--serif); }
html[data-font="readable"] { --news: var(--sans); }
.display, .h2, .two-col h2, .featured-body h2, .news-card h2, .prose h2, .svc-cta h2, .state-card h2, .tips > h2, .cs-sec-head h2, .form-card h2 {
  font-family: var(--grotesk); font-weight: 700; letter-spacing: -0.03em;
}
.display { font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; }
.h3, .pillar h3, .about-card h3, .art-card h3, .form-card h3, .newsletter h2, .rail-news h2, .panel-head h2, .pp-title, .mobile-menu nav a {
  font-family: var(--grotesk); font-weight: 600; letter-spacing: -0.02em;
}
.display em, .h2 em, .featured-body h2 em { font-family: var(--news); font-style: italic; font-weight: 500; letter-spacing: -0.01em; }
