/* Reid & Co. Brand palette from reidandco.co.nz: plum, with one indigo accent
   for actions and marks. Newsreader for headings, Poppins (the brand face)
   for everything else. White pages, a cool light grey for alternate
   sections, plum for the hero panel and the footer. */

@font-face { font-family: "Newsreader Display"; src: url("/assets/fonts/newsreader-display.woff2") format("woff2"); font-weight: 300 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --plum: #1f0f3a;
  --plum-deep: #150928;
  --indigo: #4600f9;
  --indigo-deep: #3500cc;
  --lilac: #a78bfa;
  --ink: #1f0f3a;
  --text: #3a2d55;
  --muted: #5a4d7a;
  --line: #e8e0f5;
  --light: #f4f6fb;
  --white: #ffffff;
  --serif: "Newsreader Display", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(20px, 4.5vw, 48px);
  --header-h: 72px;
  --radius: 20px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: only light;
}
@media (max-width: 599px) { :root { --header-h: 64px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
body { margin: 0; min-width: 320px; background: var(--white); color: var(--text); font: 400 1.0625rem/1.72 var(--sans); font-variant-numeric: lining-nums; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
@media (max-width: 599px) { body { font-size: 1rem; } }
body.menu-open { overflow: hidden; }
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); text-wrap: balance; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em; line-height: 1.08; }
p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; }
p { text-wrap: pretty; }
a { color: var(--indigo); text-decoration-thickness: 1px; text-underline-offset: .22em; transition: color .2s; }
a:hover { color: var(--indigo-deep); }
:focus-visible { outline: 2px solid var(--indigo); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }
.icon { flex: none; width: 1.15em; height: 1.15em; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -120px; z-index: 100; padding: 12px 20px; border-radius: 999px; background: var(--plum); color: #fff; font-weight: 500; text-decoration: none; }
.skip:focus { top: 12px; color: #fff; }

.eyebrow { margin-bottom: 18px; color: var(--indigo); font: 600 .75rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.eyebrow--light { color: var(--lilac); }
.h2 { font-size: clamp(2.1rem, 1.45rem + 2.5vw, 3.5rem); }
.lead { margin-top: 22px; color: var(--muted); font-size: clamp(1.05rem, 1rem + .3vw, 1.22rem); line-height: 1.65; }
.dot { color: var(--indigo); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* ---------- Buttons and links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border: 1px solid transparent; border-radius: 999px; font: 500 1rem/1.2 var(--sans); text-align: center; text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.btn:hover { transform: translateY(-1px); }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 1.02rem; }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: .92rem; }
.btn--primary { background: var(--indigo); color: #fff; box-shadow: 0 12px 28px -14px rgba(70, 0, 249, .7); }
.btn--primary:hover { background: var(--indigo-deep); color: #fff; }
.btn--ghost { border-color: rgba(255, 255, 255, .34); color: #fff; }
.btn--ghost:hover { border-color: rgba(255, 255, 255, .8); background: rgba(255, 255, 255, .06); color: #fff; }
.btn--outline { border-color: #d9cff0; background: #fff; color: var(--ink); }
.btn--outline:hover { border-color: var(--ink); color: var(--ink); }
@media (max-width: 420px) { .actions .btn { width: 100%; } }

.arrow-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ink); font-weight: 500; text-decoration: none; }
.arrow-link .icon { color: var(--indigo); transition: transform .2s var(--ease); }
.arrow-link:hover { color: var(--indigo); }
.arrow-link:hover .icon { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
@supports (backdrop-filter: blur(12px)) { .site-header { background: rgba(255, 255, 255, .86); backdrop-filter: saturate(170%) blur(14px); } }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -24px rgba(31, 15, 58, .35); }
.site-header__inner { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; margin-right: auto; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand__mark { width: 40px; height: 40px; border-radius: 50%; }
.brand__text { display: grid; line-height: 1.1; }
.brand__name { font: 500 1.3rem/1.1 var(--sans); letter-spacing: .005em; }
.brand__tag { margin-top: 4px; color: var(--muted); font: 500 .6rem/1 var(--sans); letter-spacing: .17em; text-transform: uppercase; }
@media (max-width: 359px) { .brand__tag { display: none; } }

.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav__link { position: relative; display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 14px; border: 0; border-radius: 999px; background: none; color: var(--ink); font: 500 .94rem/1 var(--sans); text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s; }
.nav__link:hover { background: var(--light); color: var(--ink); }
.nav__link[aria-current], .nav__trigger.is-current { color: var(--indigo); }
.nav__link[aria-current]::after, .nav__trigger.is-current::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--indigo); }
.nav__trigger .icon { width: 16px; height: 16px; transition: transform .2s; }
.nav__trigger[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav__menu { position: relative; }
.nav__sub { position: absolute; top: calc(100% + 10px); left: 50%; z-index: 5; min-width: 230px; padding: 8px; transform: translateX(-50%); list-style: none; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 28px 60px -28px rgba(31, 15, 58, .45); }
.nav__sub[hidden] { display: none; }
.nav__sub a { display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 10px; color: var(--ink); font-size: .95rem; font-weight: 500; text-decoration: none; }
.nav__sub a:hover, .nav__sub a[aria-current] { background: var(--light); color: var(--indigo); }
.header__cta { display: none; }
@media (min-width: 600px) { .header__cta { display: inline-flex; } }

.menu-toggle { display: inline-grid; place-items: center; width: 48px; height: 48px; margin-right: -8px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--ink); cursor: pointer; }
.menu-toggle:hover { background: var(--light); }
.menu-toggle__bars, .menu-toggle__bars::before { display: block; width: 22px; height: 1.5px; border-radius: 2px; background: currentColor; transition: transform .25s var(--ease); }
.menu-toggle__bars { position: relative; transform: translateY(-4px); }
.menu-toggle__bars::before { content: ""; position: absolute; top: 8px; left: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { transform: translateY(0) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(-8px) rotate(-90deg); }

@media (min-width: 1100px) {
  .nav { display: block; }
  .menu-toggle, .menu { display: none !important; }
}

/* The phone and tablet menu sits outside the header (the header's blur would
   otherwise trap a fixed panel inside it). */
.menu { position: fixed; inset: var(--header-h) 0 0; z-index: 49; overflow-y: auto; overscroll-behavior: contain; background: #fff; opacity: 0; transform: translateY(-6px); transition: opacity .25s var(--ease), transform .25s var(--ease); }
.menu.is-open { opacity: 1; transform: none; }
.menu[hidden] { display: none; }
.menu__inner { padding-block: 16px 48px; }
.menu__list { list-style: none; }
.menu__list a { display: flex; align-items: center; min-height: 64px; border-bottom: 1px solid var(--line); color: var(--ink); font: 400 1.85rem/1.1 var(--serif); letter-spacing: -0.01em; text-decoration: none; }
.menu__list a[aria-current] { color: var(--indigo); }
.menu__list--small a { min-height: 54px; font: 500 1.05rem/1.2 var(--sans); letter-spacing: 0; }
.menu__heading { margin-top: 32px; color: var(--muted); font: 600 .72rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.menu__actions { display: grid; gap: 12px; margin-top: 36px; max-width: 420px; }

/* ---------- Home: hero ---------- */
.hero { padding: clamp(10px, 1.6vw, 20px) clamp(10px, 1.6vw, 20px) 0; }
.hero__panel { position: relative; isolation: isolate; overflow: hidden; max-width: 1400px; margin-inline: auto; border-radius: clamp(22px, 3vw, 34px); color: #fff; background:
  radial-gradient(60% 75% at 96% 4%, rgba(70, 0, 249, .7), transparent 62%),
  radial-gradient(50% 60% at 0% 100%, rgba(167, 139, 250, .2), transparent 62%),
  linear-gradient(160deg, #22103f 0%, var(--plum-deep) 100%); }
.hero__panel::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(1px 1px at 20% 30%, rgba(255, 255, 255, .5), transparent 60%), radial-gradient(1px 1px at 70% 80%, rgba(255, 255, 255, .35), transparent 60%); opacity: .5; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(40px, 6vw, 56px); align-items: center; width: min(100% - 2 * clamp(22px, 5vw, 72px), 1240px); margin-inline: auto; padding-block: clamp(52px, 8vw, 112px); }
@media (min-width: 960px) { .hero__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(48px, 6vw, 96px); } }
.hero__eyebrow { display: inline-flex; align-items: center; min-height: 34px; padding: 0 16px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .9); font: 500 .72rem/1.2 var(--sans); letter-spacing: .15em; text-transform: uppercase; }
@media (max-width: 479px) { .hero__eyebrow-lead { display: none; } }
.hero__title { margin-top: 28px; color: #fff; font-size: clamp(2.75rem, 1.35rem + 5vw, 5.6rem); line-height: .98; letter-spacing: -0.028em; }
.hero__lead { max-width: 33em; margin-top: 26px; color: rgba(255, 255, 255, .8); font-size: clamp(1.02rem, .96rem + .3vw, 1.18rem); line-height: 1.7; }
.hero__note { margin-top: 26px; color: rgba(255, 255, 255, .66); font-size: .92rem; }
.hero__media { position: relative; justify-self: center; width: min(100%, 460px); }
@media (min-width: 960px) { .hero__media { justify-self: end; } }
.hero__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: 24px; background: #2b1a4a; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); }
.hero__card { position: absolute; left: 18px; bottom: 18px; display: grid; gap: 2px; padding: 14px 20px; border-radius: 16px; background: #fff; color: var(--ink); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .5); }
@media (min-width: 960px) { .hero__card { left: -28px; bottom: 36px; } }
.hero__card-name { font: 400 1.3rem/1.15 var(--serif); }
.hero__card-role { color: var(--muted); font-size: .8rem; line-height: 1.4; }

/* ---------- Home: numbers ---------- */
.stats { padding-block: clamp(36px, 5vw, 64px) 0; }
.stats__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; overflow: hidden; list-style: none; border: 1px solid var(--line); border-radius: var(--radius); background: var(--line); }
@media (min-width: 900px) { .stats__list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat { padding: clamp(20px, 3vw, 32px); background: #fff; }
.stat__value { color: var(--ink); font: 400 clamp(2.3rem, 1.8rem + 2vw, 3.6rem)/1 var(--serif); letter-spacing: -0.02em; }
.stat__label { margin-top: 12px; color: var(--muted); font-size: .9rem; line-height: 1.5; }

/* ---------- Home: client logos ---------- */
.clients { padding-block: clamp(56px, 7vw, 96px); }
.clients__title { color: var(--muted); font: 600 .75rem/1.3 var(--sans); letter-spacing: .16em; text-align: center; text-transform: uppercase; }
.clients__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 16px; align-items: center; justify-items: center; margin-top: 40px; list-style: none; }
@media (min-width: 640px) { .clients__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .clients__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 44px clamp(40px, 4.6vw, 64px); } }
.clients__item img { max-width: 100%; height: auto; opacity: .86; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 9vw, 136px); }
.section--light { background: var(--light); }
.section__head { max-width: 780px; margin-bottom: clamp(40px, 5vw, 64px); }
.section__more { margin-top: 32px; }

.pillars { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; list-style: none; }
@media (min-width: 900px) { .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pillar { display: flex; flex-direction: column; padding: clamp(28px, 3vw, 40px); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.pillar__word { color: var(--ink); font: 400 clamp(2.4rem, 2rem + 1.2vw, 3.1rem)/1 var(--serif); letter-spacing: -0.02em; }
.pillar__title { margin-top: 26px; color: var(--ink); font: 600 1.05rem/1.4 var(--sans); }
.pillar__text { margin-top: 12px; color: var(--muted); }
.pillar__links { display: grid; margin-top: auto; padding-top: 28px; list-style: none; }
.pillar__links li { border-top: 1px solid var(--line); }
.pillar__links .arrow-link { justify-content: space-between; width: 100%; min-height: 52px; }

.approach { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(48px, 6vw, 96px); }
@media (min-width: 960px) { .approach { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }
.approach__text { margin-top: 18px; color: var(--muted); }
.approach__photo img { margin-top: 40px; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 30% 40%; border-radius: var(--radius); background: var(--light); }
@media (min-width: 960px) { .approach__values { padding-top: 42px; } }
.values { list-style: none; }
.value { padding-block: 30px; border-top: 1px solid var(--line); }
.value:first-child { padding-top: 0; border-top: 0; }
.value__title { font-size: clamp(1.55rem, 1.35rem + .7vw, 1.95rem); line-height: 1.2; }
.value__text { margin-top: 12px; color: var(--muted); }

.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
@media (min-width: 960px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 6vw, 96px); } }
.split__body .lead { margin-top: 0; }
.split__body > p + p { margin-top: 18px; }

.about { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
@media (min-width: 960px) { .about { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.about__photo img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; object-position: 70% 50%; border-radius: var(--radius); background: var(--light); }
@media (max-width: 959px) { .about__photo img { aspect-ratio: 4 / 3; } }
.about__text { margin-top: 18px; color: var(--muted); }
.creds { margin-block: 32px 18px; border-top: 1px solid var(--line); }
.cred { display: grid; grid-template-columns: minmax(0, 9.5rem) minmax(0, 1fr); gap: 4px 24px; padding-block: 16px; border-bottom: 1px solid var(--line); }
.cred__k { color: var(--ink); font: 400 1.4rem/1.2 var(--serif); }
.cred__v { color: var(--muted); font-size: .95rem; line-height: 1.55; }
@media (max-width: 479px) { .cred { grid-template-columns: minmax(0, 1fr); } }

.quotes { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.quote { display: flex; flex-direction: column; gap: 28px; padding: clamp(28px, 3.4vw, 44px); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.quote::before { content: ""; width: 30px; height: 30px; background: url("/assets/img/brand/quote.svg") left center / contain no-repeat; }
.quote__text { color: var(--ink); font: 400 clamp(1.16rem, 1.06rem + .35vw, 1.36rem)/1.5 var(--serif); }
.quote__cite { display: grid; gap: 2px; margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line); font-style: normal; }
.quote__name { color: var(--ink); font-weight: 600; font-size: .98rem; }
.quote__role { color: var(--muted); font-size: .88rem; line-height: 1.5; }

/* ---------- Inner pages ---------- */
.page-hero { padding-block: clamp(56px, 8vw, 112px) clamp(48px, 6vw, 84px); border-bottom: 1px solid var(--line); background: radial-gradient(42% 90% at 100% 0%, rgba(70, 0, 249, .09), transparent 70%), radial-gradient(30% 60% at 0% 100%, rgba(167, 139, 250, .1), transparent 70%); }
.page-hero__title { max-width: 15ch; font-size: clamp(2.6rem, 1.4rem + 4.4vw, 5.2rem); line-height: 1; letter-spacing: -0.026em; }
.page-hero__lead { max-width: 40em; }

.svc-layout { display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1100px) { .svc-layout { grid-template-columns: 240px minmax(0, 1fr); gap: clamp(56px, 6vw, 96px); } }
.subnav { position: sticky; top: var(--header-h); z-index: 20; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .96); }
.subnav__list { position: relative; display: flex; gap: 8px; overflow-x: auto; padding-block: 12px; list-style: none; scrollbar-width: none; }
.subnav__list::-webkit-scrollbar { display: none; }
.subnav__link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-size: .88rem; font-weight: 500; text-decoration: none; white-space: nowrap; transition: background-color .2s, color .2s, border-color .2s; }
.subnav__link:hover { border-color: var(--ink); color: var(--ink); }
.subnav__link[aria-current="true"] { border-color: var(--plum); background: var(--plum); color: #fff; }
.subnav__cta { display: none; }
@media (min-width: 1100px) {
  .subnav { top: calc(var(--header-h) + 40px); align-self: start; margin: clamp(56px, 7vw, 104px) 0 0; padding: 0; border: 0; background: none; }
  .subnav__list { flex-direction: column; gap: 2px; overflow: visible; padding: 0; }
  .subnav__link { min-height: 44px; padding: 0 16px; border: 0; border-radius: 12px; color: var(--muted); font-size: .94rem; white-space: normal; }
  .subnav__link:hover { background: var(--light); color: var(--ink); }
  .subnav__link[aria-current="true"] { background: var(--light); color: var(--ink); box-shadow: inset 3px 0 0 var(--indigo); }
  .subnav__cta { display: inline-flex; margin-top: 24px; }
}

/* The page already keeps anchors clear of the header (scroll-padding on
   html); on phones a section also clears the sticky index above it. */
.svc { padding-block: clamp(56px, 7vw, 104px); border-bottom: 1px solid var(--line); scroll-margin-top: 48px; }
.svc:last-child { border-bottom: 0; }
@media (min-width: 1100px) { .svc { scroll-margin-top: 0; } }
.svc__title { font-size: clamp(2.1rem, 1.5rem + 2.2vw, 3.3rem); }
.svc__lead { max-width: 34em; margin-top: 20px; color: var(--ink); font: 400 clamp(1.3rem, 1.15rem + .6vw, 1.62rem)/1.42 var(--serif); }
.svc__body { display: grid; gap: 16px; max-width: 42em; margin-top: 24px; }
.svc__sub { margin-top: 48px; color: var(--ink); font: 600 1.06rem/1.4 var(--sans); }
.svc__intro { margin-top: 10px; color: var(--muted); }
.svc__photo img { width: 100%; margin-top: 36px; aspect-ratio: 16 / 9; object-fit: cover; object-position: 60% 45%; border-radius: var(--radius); background: var(--light); }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 1px; overflow: hidden; margin-top: 40px; border: 1px solid var(--line); border-radius: 18px; background: var(--line); }
.fact { padding: 22px 24px; background: #fff; }
.fact__k { color: var(--ink); font: 400 1.6rem/1.15 var(--serif); }
.fact__v { margin-top: 8px; color: var(--muted); font-size: .9rem; line-height: 1.55; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; list-style: none; }
.chip { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--light); color: var(--ink); font-size: .88rem; line-height: 1.4; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 14px; margin-top: 18px; list-style: none; }
@media (min-width: 640px) { .cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.card { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: #fff; color: var(--muted); font-size: .95rem; line-height: 1.6; }
.card__title { margin-bottom: 8px; color: var(--ink); font: 400 1.35rem/1.2 var(--serif); }
.card__meta { margin-bottom: 6px; color: var(--indigo); font-size: .82rem; font-weight: 600; }

.ticks { display: grid; gap: 12px; max-width: 42em; margin-top: 18px; list-style: none; }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; background: url("/assets/img/brand/tick.svg") center / contain no-repeat; }

.modules { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 12px; margin-top: 18px; list-style: none; counter-reset: module; }
.modules li { padding: 20px 22px; border: 1px solid var(--line); border-radius: 16px; color: var(--ink); font: 400 1.2rem/1.3 var(--serif); }

.svc__quote { max-width: 46em; margin-top: 48px; padding: 28px 32px; border-left: 3px solid var(--indigo); border-radius: 0 18px 18px 0; background: var(--light); }
.svc__quote blockquote { color: var(--ink); font: 400 clamp(1.15rem, 1.05rem + .3vw, 1.32rem)/1.5 var(--serif); }
.svc__quote figcaption { display: grid; gap: 2px; margin-top: 16px; }

.faq { max-width: 46em; margin-top: 8px; }
.faq .svc__sub { margin-bottom: 8px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 60px; padding-block: 14px; color: var(--ink); font-weight: 500; line-height: 1.45; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--indigo); }
.faq__a { padding-bottom: 22px; color: var(--muted); }

.page-hero--404 { border-bottom: 0; padding-bottom: clamp(72px, 9vw, 136px); }

/* ---------- Inner hero (Work with us) ---------- */
.hero--inner .hero__grid { padding-block: clamp(52px, 7vw, 104px); }
@media (min-width: 960px) { .hero__grid--single { grid-template-columns: minmax(0, 1fr); } }
.hero__grid--single .hero__copy { max-width: 820px; }
.hero__title--inner { max-width: 15ch; font-size: clamp(2.6rem, 1.4rem + 4.2vw, 4.8rem); line-height: 1; }

/* ---------- About ---------- */
.about__copy .prose-lite { margin-top: 4px; }
.prose-lite > p:not(.lead) { margin-top: 16px; color: var(--muted); }
.about__photo--portrait img { object-position: 50% 22%; }
@media (max-width: 959px) { .about__photo--portrait img { aspect-ratio: 1 / 1; } }
@media (min-width: 960px) { .about--reverse .about__media { order: 2; } }

.band { padding-block: clamp(72px, 9vw, 128px); color: rgba(255, 255, 255, .8); background: radial-gradient(55% 90% at 100% 0%, rgba(70, 0, 249, .55), transparent 62%), radial-gradient(40% 70% at 0% 100%, rgba(167, 139, 250, .14), transparent 62%), var(--plum); }
.band__inner { display: grid; justify-items: center; gap: 22px; text-align: center; }
.band__quote { max-width: 16ch; color: #fff; font: 400 clamp(2.4rem, 1.4rem + 4vw, 4.6rem)/1.02 var(--serif); letter-spacing: -0.024em; text-wrap: balance; }
.band__cite { max-width: 34em; font-size: clamp(1rem, .96rem + .2vw, 1.1rem); }

.differents { list-style: none; border-top: 1px solid var(--line); }
.different { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px 56px; padding-block: 30px; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .different { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); padding-block: 40px; } }
.different__title { font-size: clamp(1.55rem, 1.35rem + .8vw, 2.1rem); line-height: 1.15; }
.different p { color: var(--muted); }

.creds--flush { margin: 0; }

.duo { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 900px) { .duo { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.duo__card { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: clamp(28px, 3.4vw, 48px); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.duo__card .eyebrow { margin-bottom: 0; }
.duo__title { font-size: clamp(1.65rem, 1.4rem + .9vw, 2.2rem); line-height: 1.12; }
.duo__card p:not(.eyebrow) { color: var(--muted); }
.duo__card .arrow-link { margin-top: auto; padding-top: 8px; }

/* ---------- Work with us ---------- */
.steps { list-style: none; }
.step { position: relative; padding: 0 0 36px 40px; }
.step:last-child { padding-bottom: 0; }
.step::before { content: ""; position: absolute; left: 0; top: 11px; width: 13px; height: 13px; border: 2px solid var(--indigo); border-radius: 50%; background: #fff; }
.step::after { content: ""; position: absolute; left: 6px; top: 32px; bottom: 6px; width: 1px; background: var(--line); }
.step:last-child::after { display: none; }
.step__title { font-size: clamp(1.5rem, 1.32rem + .7vw, 1.95rem); line-height: 1.2; }
.step p { margin-top: 10px; color: var(--muted); }

.pillar__heading { font-size: clamp(1.5rem, 1.32rem + .7vw, 1.95rem); line-height: 1.18; }
.pillar__heading + .pillar__text { margin-top: 16px; }

.chips--lg { gap: 10px; margin-top: 0; }
.chips--lg .chip { padding: 10px 18px; font-size: .97rem; }
.split__note { margin-top: 24px; color: var(--muted); }
.split__body .chips + .split__note + .arrow-link { margin-top: 12px; }

/* ---------- Testimonials ---------- */
.feature-quote { max-width: 46em; margin-top: clamp(32px, 4vw, 48px); padding: clamp(22px, 3vw, 32px) clamp(24px, 3vw, 36px); border-left: 3px solid var(--indigo); border-radius: 0 18px 18px 0; background: rgba(255, 255, 255, .78); }
.feature-quote blockquote { color: var(--ink); font: 400 clamp(1.45rem, 1.2rem + 1vw, 2.1rem)/1.28 var(--serif); letter-spacing: -0.01em; }
.feature-quote figcaption { display: grid; gap: 2px; margin-top: 16px; }

.tsection .eyebrow { margin-bottom: 14px; }
.tgrid { margin-top: 32px; columns: 2 340px; column-gap: 16px; }
.tcard { display: flex; flex-direction: column; gap: 22px; margin: 0 0 16px; padding: clamp(24px, 2.6vw, 32px); border: 1px solid var(--line); border-radius: 18px; background: #fff; break-inside: avoid; }
.tcard__quote { color: var(--text); font-size: .98rem; line-height: 1.7; }
.tcard__quote p + p, .tcard__quote ul + p, .tcard__quote p + ul { margin-top: 12px; }
.tcard__quote ul { display: grid; gap: 6px; padding-left: 1.2em; }
.tcard__quote li::marker { color: var(--indigo); }
.tcard__cite { display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.tcard__avatar { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--plum); color: #fff; font: 500 .85rem/1 var(--sans); letter-spacing: .04em; }
.tcard__who { display: grid; gap: 2px; min-width: 0; }

/* ---------- Market reports ---------- */
.report { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(36px, 4.5vw, 72px); align-items: start; }
@media (min-width: 1000px) { .report { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); } }
.report__cover { position: relative; isolation: isolate; overflow: hidden; padding: clamp(28px, 4vw, 52px); border-radius: clamp(22px, 3vw, 30px); color: rgba(255, 255, 255, .8); background:
  radial-gradient(70% 60% at 100% 0%, rgba(70, 0, 249, .62), transparent 62%),
  radial-gradient(50% 50% at 0% 100%, rgba(167, 139, 250, .16), transparent 62%),
  linear-gradient(160deg, #22103f 0%, var(--plum-deep) 100%); box-shadow: 0 40px 80px -48px rgba(31, 15, 58, .7); }
.report__issue { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; color: rgba(255, 255, 255, .78); font: 600 .74rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.report__kicker { margin-top: clamp(36px, 5vw, 64px); color: var(--lilac); font: 600 .72rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.report__title { margin-top: 14px; color: #fff; font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.5rem); line-height: 1.02; letter-spacing: -0.024em; }
.report__intro { max-width: 34em; margin-top: 20px; }
.report__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 20px; margin-top: 36px; padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, .16); list-style: none; }
.report__value { color: #fff; font: 400 clamp(2.1rem, 1.7rem + 1.4vw, 2.9rem)/1 var(--serif); letter-spacing: -0.02em; }
.report__label { margin-top: 10px; color: rgba(255, 255, 255, .74); font-size: .86rem; line-height: 1.5; }
.report__sub { color: var(--ink); font: 600 1.06rem/1.4 var(--sans); }
.report__contents { margin-top: 14px; list-style: none; border-top: 1px solid var(--line); }
.report__contents li { padding-block: 12px; border-bottom: 1px solid var(--line); color: var(--ink); line-height: 1.5; }
.report__quote { margin-top: 36px; padding: 24px 28px; border-left: 3px solid var(--indigo); border-radius: 0 18px 18px 0; background: var(--light); }
.section--light .report__quote { background: #fff; }
.report__quote blockquote { color: var(--ink); font: 400 clamp(1.15rem, 1.05rem + .3vw, 1.3rem)/1.5 var(--serif); }
.report__quote figcaption { margin-top: 12px; color: var(--muted); font-size: .9rem; font-weight: 500; }
.report__download { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 32px; }
.report__file { color: var(--muted); font-size: .9rem; }

/* ---------- Articles ---------- */
.acards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; list-style: none; }
@media (min-width: 700px) { .acards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .acards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.acard { display: flex; }
.acard__link { display: flex; flex-direction: column; width: 100%; padding: clamp(26px, 3vw, 36px); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--text); text-decoration: none; transition: border-color .2s, box-shadow .25s, transform .25s var(--ease); }
.acard__link:hover { border-color: #d9cff0; box-shadow: 0 28px 56px -36px rgba(31, 15, 58, .45); transform: translateY(-2px); color: var(--text); }
.acard__meta { color: var(--muted); font-size: .84rem; line-height: 1.5; }
.acard__title { margin-top: 14px; font-size: clamp(1.45rem, 1.3rem + .5vw, 1.75rem); line-height: 1.18; transition: color .2s; }
.acard__link:hover .acard__title { color: var(--indigo); }
.acard__excerpt { display: block; margin-top: 14px; color: var(--muted); font-size: .95rem; line-height: 1.65; }
.acard__more { display: inline-flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 24px; color: var(--ink); font-weight: 500; }
.acard__more .icon { color: var(--indigo); transition: transform .2s var(--ease); }
.acard__link:hover .acard__more .icon { transform: translateX(3px); }
.section__head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 32px; max-width: none; }

.wrap--text { --wrap: 760px; }
.post__head { padding-block: clamp(28px, 4vw, 48px) clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); background: radial-gradient(42% 90% at 100% 0%, rgba(70, 0, 249, .08), transparent 70%), radial-gradient(30% 60% at 0% 100%, rgba(167, 139, 250, .1), transparent 70%); }
.arrow-link--back .icon { transition: transform .2s var(--ease); }
.arrow-link--back:hover .icon { transform: translateX(-3px); }
.post__title { margin-top: clamp(20px, 3vw, 36px); font-size: clamp(2.3rem, 1.5rem + 3vw, 3.9rem); line-height: 1.04; letter-spacing: -0.022em; }
.post__meta { margin-top: 22px; color: var(--muted); font-size: .95rem; }
.post { padding-bottom: clamp(64px, 8vw, 112px); }
.prose { padding-top: clamp(36px, 5vw, 64px); color: var(--text); font-size: 1.0625rem; line-height: 1.8; }
@media (min-width: 600px) { .prose { font-size: 1.125rem; } }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { margin-top: 1.9em; font-size: clamp(1.7rem, 1.45rem + 1vw, 2.2rem); line-height: 1.15; }
.prose h2 + * { margin-top: .7em; }
.prose ol, .prose ul { display: grid; gap: .7em; padding-left: 1.4em; }
.prose li { padding-left: .2em; }
.prose li::marker { color: var(--indigo); font-weight: 600; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose__table { width: 100%; border-collapse: collapse; border: 1px solid var(--line); font-size: .95rem; line-height: 1.5; }
.prose__table th, .prose__table td { padding: 10px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.prose__table th { color: var(--ink); font-weight: 600; background: var(--light); }
.author { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 20px 24px; align-items: start; margin-top: clamp(48px, 6vw, 72px); padding: clamp(22px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--light); }
@media (max-width: 479px) { .author { grid-template-columns: minmax(0, 1fr); } }
.author__photo img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; }
.author__label { color: var(--indigo); font: 600 .72rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.author__name { margin-top: 8px; font-size: 1.6rem; line-height: 1.15; }
.author__text { margin-top: 8px; color: var(--muted); font-size: .95rem; line-height: 1.6; }
.author .arrow-link { margin-top: 6px; }
.post__source { margin-top: 24px; color: var(--muted); font-size: .9rem; }

/* ---------- Video shorts ---------- */
.videos { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px 20px; max-width: 1040px; margin-inline: auto; list-style: none; }
@media (min-width: 600px) { .videos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .videos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 599px) { .video { max-width: 400px; width: 100%; justify-self: center; } }
.video__frame { position: relative; overflow: hidden; aspect-ratio: 9 / 16; border-radius: 20px; background: var(--plum); box-shadow: 0 30px 60px -40px rgba(31, 15, 58, .6); }
.video__play { position: absolute; inset: 0; display: block; color: #fff; }
.video__play:focus-visible { outline-offset: -4px; border-radius: 20px; }
.video__poster, .video__poster img { width: 100%; height: 100%; }
.video__poster img { object-fit: cover; transition: transform .6s var(--ease); }
.video__play:hover .video__poster img { transform: scale(1.03); }
.video__poster--brand { display: grid; place-items: center; background: radial-gradient(80% 50% at 100% 0%, rgba(70, 0, 249, .6), transparent 62%), radial-gradient(60% 40% at 0% 100%, rgba(167, 139, 250, .2), transparent 62%), linear-gradient(160deg, #22103f 0%, var(--plum-deep) 100%); }
.video__poster--brand img { width: 88px; height: 88px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(255, 255, 255, .22); transform: none !important; }
/* The play button and running time sit in the band under the artwork. */
.video__icon { position: absolute; left: 20px; bottom: 20px; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: rgba(255, 255, 255, .94); color: var(--plum); box-shadow: 0 16px 36px -12px rgba(0, 0, 0, .5); transition: transform .25s var(--ease), background-color .2s; }
.video__icon .icon { width: 22px; height: 22px; margin-left: 3px; fill: currentColor; }
.video__play:hover .video__icon { transform: scale(1.07); background: #fff; }
.video__time { position: absolute; right: 20px; bottom: 37px; padding: 4px 10px; border-radius: 999px; background: rgba(21, 9, 40, .8); color: #fff; font: 500 .8rem/1.3 var(--sans); }
.video__pill { position: absolute; left: 50%; bottom: 20px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; transform: translateX(-50%); border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--plum); font: 500 .84rem/1.2 var(--sans); white-space: nowrap; }
.video__pill .icon { width: 16px; height: 16px; color: var(--indigo); }
.video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__title { margin-top: 20px; font-size: clamp(1.35rem, 1.25rem + .4vw, 1.6rem); line-height: 1.2; }
.video__text { margin-top: 8px; color: var(--muted); font-size: .95rem; line-height: 1.6; }

/* ---------- Footer ---------- */
.site-footer { color: rgba(255, 255, 255, .76); background: radial-gradient(55% 70% at 100% 0%, rgba(70, 0, 249, .5), transparent 62%), radial-gradient(40% 60% at 0% 40%, rgba(167, 139, 250, .1), transparent 60%), var(--plum); }
.cta { padding-block: clamp(80px, 10vw, 140px); }
.cta__title { max-width: 15ch; color: #fff; font-size: clamp(2.4rem, 1.5rem + 3.4vw, 4.4rem); line-height: 1.02; letter-spacing: -0.025em; }
.cta__text { max-width: 36em; margin-top: 24px; font-size: clamp(1.02rem, .98rem + .25vw, 1.15rem); }
.cta__contact { display: flex; flex-wrap: wrap; gap: 4px 32px; margin-top: 32px; list-style: none; }
.cta__contact a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: #fff; text-decoration: none; }
.cta__contact a:hover { color: var(--lilac); }
.cta__contact .icon { color: var(--lilac); }

.footer { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; padding-block: 56px; border-top: 1px solid rgba(255, 255, 255, .12); }
@media (min-width: 900px) { .footer { grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); } }
.brand--light, .brand--light:hover { color: #fff; }
.brand--light .brand__mark { box-shadow: 0 0 0 1px rgba(255, 255, 255, .22); }
.brand--light .brand__tag { color: rgba(255, 255, 255, .62); }
.footer__blurb { max-width: 24em; margin-top: 18px; font-size: .95rem; }
.footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); gap: 28px 20px; }
.footer__heading { margin-bottom: 8px; color: #fff; font: 600 .72rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.footer__list { list-style: none; }
.footer__list a { display: inline-flex; align-items: center; min-height: 44px; color: rgba(255, 255, 255, .76); font-size: .95rem; text-decoration: none; }
.footer__list a:hover, .footer__list a[aria-current] { color: #fff; }
.footer__base { display: flex; flex-wrap: wrap; gap: 6px 28px; padding-block: 24px 40px; border-top: 1px solid rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .62); font-size: .84rem; }
.footer__base a { display: inline-block; color: rgba(255, 255, 255, .88); }
.footer__base a:hover { color: #fff; }
.footer__base p { line-height: 2; }
@media (min-width: 900px) { .footer__version { margin-left: auto; } }

/* ---------- Gentle reveal (only below the fold, only with motion) ---------- */
[data-reveal] { transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal-pending { opacity: 0; transform: translateY(16px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; transition-delay: 0s !important; animation-duration: 0s !important; }
  .reveal-pending { opacity: 1; transform: none; }
}

@media print {
  .site-header, .menu, .subnav, .hero__card, .cta .actions { display: none !important; }
  .hero__panel, .site-footer { background: none; color: var(--ink); }
  .hero__title, .cta__title { color: var(--ink); }
}
