/* ==========================================================================
   Ascension CFO — design system
   Brand purple #4E2770 sampled pixel-exact from the client's own logo.
   Built mobile-first. No framework, no runtime CSS, no external requests
   except the async-loaded webfont.
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  /* brand — from the logo */
  --brand:        #4E2770;
  --brand-light:  #652D8F;
  --brand-deep:   #35194E;
  --brand-ink:    #241036;

  /* warm neutral paper, so the purple reads premium rather than corporate-cold */
  --paper:        #FBFAF8;
  --paper-2:      #F3F0EC;
  --paper-3:      #E8E3DC;
  --ink:          #1C1520;
  --ink-2:        #4A4152;   /* body copy — 8.6:1 on --paper */
  --ink-3:        #6B6277;   /* meta text — 4.9:1 on --paper */

  /* single restrained accent: gold. Trust + finance, used for emphasis only. */
  --gold:         #B98216;   /* 4.6:1 on --paper — safe for text */
  --gold-bright:  #E3B34A;   /* for use ON dark purple only */

  --line:         #E2DCD4;
  --line-dark:    rgba(255,255,255,.16);

  --ok:           #1E7A4B;

  /* type — Fraunces carries the personality at display sizes (it is optical-size aware,
     so it tightens as it grows); Plus Jakarta Sans does the reading work. */
  --display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          Helvetica, Arial, sans-serif;

  /* fluid scale */
  --step--1: clamp(.82rem, .80rem + .10vw, .88rem);
  --step-0:  clamp(1rem, .97rem + .16vw, 1.09rem);
  --step-1:  clamp(1.19rem, 1.12rem + .32vw, 1.4rem);
  --step-2:  clamp(1.44rem, 1.31rem + .62vw, 1.85rem);
  --step-3:  clamp(1.73rem, 1.51rem + 1.06vw, 2.44rem);
  --step-4:  clamp(2.07rem, 1.72rem + 1.71vw, 3.22rem);
  --step-5:  clamp(2.49rem, 1.94rem + 2.66vw, 4.24rem);

  --wrap: 1180px;
  --wrap-narrow: 760px;
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(28,21,32,.05), 0 2px 8px rgba(28,21,32,.04);
  --shadow:    0 2px 4px rgba(28,21,32,.05), 0 12px 32px rgba(28,21,32,.07);
  --shadow-lg: 0 4px 8px rgba(28,21,32,.06), 0 24px 60px rgba(78,39,112,.13);

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video, iframe { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.015em; }
h1 {
  font-family: var(--display); font-weight: 500; font-size: var(--step-5);
  letter-spacing: -.028em; line-height: 1.04;
  font-variation-settings: "SOFT" 0, "WONK" 0;
}
h2 {
  font-family: var(--display); font-weight: 500; font-size: var(--step-4);
  letter-spacing: -.024em; line-height: 1.1;
  font-variation-settings: "SOFT" 0, "WONK" 0;
}
h3 { font-size: var(--step-2); letter-spacing: -.012em; }
h4 { font-size: var(--step-1); letter-spacing: -.008em; }
p  { margin: 0 0 1.15em; }
a  { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-light); }
ul, ol { margin: 0 0 1.2em; padding-left: 1.3em; }
li { margin-bottom: .5em; }
strong { color: var(--ink); font-weight: 600; }
hr { border: 0; border-top: 1px solid var(--line); margin: 3rem 0; }
:focus-visible { outline: 3px solid var(--brand-light); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--brand); color: #fff; padding: .8rem 1.2rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- layout ---------- */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2.5rem, var(--wrap-narrow)); margin-inline: auto; }
section { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.section-tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

.eyebrow {
  font-size: var(--step--1); font-weight: 600; letter-spacing: .10em;
  text-transform: uppercase; color: var(--brand-light); margin: 0 0 .9rem;
  display: flex; align-items: center; gap: .6rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; flex: none;
  background: linear-gradient(90deg, var(--gold), rgba(185,130,22,.15)); }
.eyebrow-center { justify-content: center; }

.lead { font-size: var(--step-1); line-height: 1.55; color: var(--ink-2); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--sans); font-size: var(--step-0); font-weight: 600;
  padding: .95rem 1.6rem; min-height: 48px;
  border-radius: 999px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg, .btn i { width: 18px; height: 18px; flex: none; }

.btn-primary {
  background: linear-gradient(135deg, var(--brand), #5C2E85);
  color: #fff; box-shadow: 0 6px 18px rgba(78,39,112,.28);
}
.btn-primary:hover { background: var(--brand-light); color: #fff; box-shadow: 0 10px 26px rgba(78,39,112,.34); }

.btn-ghost { background: transparent; color: var(--brand); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); background: rgba(78,39,112,.05); color: var(--brand); }

.btn-on-dark { background: #fff; color: var(--brand-deep); }
.btn-on-dark:hover { background: var(--paper-2); color: var(--brand-deep); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.42); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; align-items: center; }

/* ---------- header ---------- */
.topbar {
  background: var(--brand-deep); color: #fff;
  font-size: var(--step--1);
}
.topbar .wrap { display: flex; align-items: center; justify-content: flex-end; gap: 1.5rem; min-height: 40px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.topbar a:hover { color: var(--gold-bright); }
.topbar svg { width: 15px; height: 15px; }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251,250,248,.88);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 1.25rem; min-height: 76px; }
.brand-logo { flex: none; display: flex; align-items: center; }
.brand-logo img { width: 176px; height: auto; }

.nav { margin-left: auto; display: flex; align-items: center; gap: .35rem; }
/* `:not(.btn)` matters — without it these rules out-specify .btn-primary and paint the
   nav CTA's label near-black on its purple background (measured 1.70:1). */
.nav a:not(.btn) {
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: .96rem;
  padding: .6rem .78rem; border-radius: 8px; white-space: nowrap;
  display: inline-flex; align-items: center; gap: .3rem;
}
.nav a:not(.btn):hover { background: var(--paper-2); color: var(--brand); }
.nav a:not(.btn)[aria-current="page"] { color: var(--brand); font-weight: 600; }

/* belt and braces: the CTA is white-on-purple in every state */
.nav-cta .btn-primary,
.nav-cta .btn-primary:hover,
.nav-cta .btn-primary:focus { color: #fff; }

.has-sub { position: relative; }
.has-sub > button {
  font: inherit; font-weight: 500; font-size: .96rem; color: var(--ink);
  background: none; border: 0; cursor: pointer; padding: .6rem .78rem;
  border-radius: 8px; display: inline-flex; align-items: center; gap: .3rem;
}
.has-sub > button:hover { background: var(--paper-2); color: var(--brand); }
.has-sub > button svg { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.has-sub[data-open="true"] > button svg { transform: rotate(180deg); }
/* The dropdown starts flush against the button (top:100%) and creates its visual gap with
   its OWN top padding. Offsetting it with `top: calc(100% + 8px)` left 8px of dead space —
   the pointer crossed it, mouseleave fired, and the menu shut before you could reach it. */
.submenu {
  position: absolute; top: 100%; left: -.4rem; min-width: 292px;
  padding: 10px 0 0;              /* the visual gap, still inside the hover target */
  display: none; list-style: none; margin: 0;
  z-index: 5;
}
.submenu > li:first-child { margin-top: 0; }
.submenu::before {                /* the panel itself */
  content: ""; position: absolute; inset: 10px 0 0 0;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(1.6) blur(18px);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.submenu li, .submenu a { position: relative; z-index: 1; }
.submenu { padding-inline: 0; }
.has-sub[data-open="true"] .submenu {
  display: block;
  animation: submenu-in .18s var(--ease) both;
}
@keyframes submenu-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .has-sub[data-open="true"] .submenu { animation: none; }
}
.submenu li { margin: 0; padding-inline: .5rem; }
.submenu li:first-of-type { padding-top: .5rem; }
.submenu li:last-of-type { padding-bottom: .5rem; }
.submenu a {
  display: block; padding: .62rem .8rem; border-radius: 9px; font-size: .93rem;
  transition: background-color .15s var(--ease), transform .15s var(--ease);
}
.submenu a:hover { background: rgba(78,39,112,.07); transform: translateX(3px); }
.submenu .sub-desc { display: block; font-size: .8rem; color: var(--ink-3); font-weight: 400; margin-top: .12rem; }

.nav-cta { margin-left: .5rem; }

.nav-toggle {
  display: none; margin-left: auto; background: none; border: 1px solid var(--line);
  border-radius: 10px; width: 46px; height: 46px; cursor: pointer; color: var(--ink);
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 1040px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 76px 0 auto 0; background: var(--paper);
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    flex-direction: column; align-items: stretch; gap: 0; padding: 1rem 1.25rem 1.6rem;
    max-height: calc(100dvh - 76px); overflow-y: auto; display: none;
  }
  .nav[data-open="true"] { display: flex; }
  .nav a:not(.btn), .has-sub > button { width: 100%; padding: .85rem .6rem; font-size: 1.02rem; }
  .has-sub > button { justify-content: space-between; }
  .submenu {
    position: static; display: none; box-shadow: none; border: 0;
    border-left: 2px solid var(--line); border-radius: 0;
    margin: 0 0 .5rem .6rem; padding: 0 0 0 .5rem; min-width: 0;
  }
  .submenu::before { display: none; }        /* no floating panel on mobile */
  .submenu li { padding-inline: 0; }
  .submenu a:hover { transform: none; }
  /* The one-line service blurbs are useful in the desktop dropdown, where there is room for
     a two-column-feeling panel. In the hamburger drawer they turn a 9-item list into a wall
     of 8px grey text and push the CTA below the fold. Desktop keeps them.
     MUST stay inside this block and AFTER the base rule at `.submenu .sub-desc` — same
     specificity (0,2,0), so source order is what wins. Hoisting it above that rule, or
     writing it as a mobile-first default, silently hides the blurbs at every viewport. */
  .submenu .sub-desc { display: none; }
  .nav-cta { margin: .9rem 0 0; }
  .nav-cta .btn { width: 100%; }
}

/* Text on the purple fields is solid white, not semi-transparent white. At .66-.86 alpha
   it blended toward the background and read grey. */

/* ---------- hero ---------- */
.hero {
  /* .hero is a <section>, so it would otherwise inherit the generic section padding
     on top of its own .wrap padding — that stacked to ~190px of dead space above the H1. */
  padding-block: 0;
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(110% 80% at 82% -6%, rgba(140,74,190,.60) 0%, rgba(140,74,190,0) 60%),
    radial-gradient(90% 70% at 8% 105%, rgba(185,130,22,.20) 0%, rgba(185,130,22,0) 62%),
    linear-gradient(158deg, #2B1340 0%, var(--brand) 55%, #3E1D5A 100%);
}
/* the ascending-ridge motif, lifted from the logo's mountain mark */
.hero::after {
  content: ""; position: absolute; inset: auto 0 -1px 0; height: 52%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320' preserveAspectRatio='none'%3E%3Cpath d='M0 320 L360 96 L520 200 L760 40 L1040 224 L1200 150 L1440 264 L1440 320Z' fill='rgba(255,255,255,0.05)'/%3E%3Cpath d='M0 320 L300 168 L470 250 L720 120 L980 268 L1180 205 L1440 300 L1440 320Z' fill='rgba(255,255,255,0.038)'/%3E%3C/svg%3E") bottom center / 100% 100% no-repeat;
  pointer-events: none;
}
/* fine grain — stops the large purple field looking like flat print */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.045'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
/* the first line of the headline gets the gold rule, so the eye starts there */
.hero h1 .accent {
  background: linear-gradient(180deg, transparent 62%, rgba(227,179,74,.30) 62%);
}
.hero > .wrap { position: relative; z-index: 1; padding-block: clamp(3rem, 6vw, 5.25rem); }
/* Fraunces sets wider than the face this replaced, so the hero gets its own ceiling —
   at the global --step-5 the headline ran to four lines and pushed the CTA off-screen. */
.hero h1 {
  color: #fff; max-width: 22ch;
  font-size: clamp(2.35rem, 1.85rem + 2.2vw, 3.62rem);
}
.hero .hero-sub { font-size: var(--step-1); color: #fff; max-width: 56ch; margin-bottom: 2rem; }
.hero .eyebrow { color: var(--gold-bright); }
.hero .eyebrow::before { background: var(--gold-bright); }
.hero-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 4rem; } }

.hero-proof {
  margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid var(--line-dark);
  display: flex; flex-wrap: wrap; gap: 1.1rem 2.4rem; align-items: center;
  font-size: var(--step--1); color: #fff;
}
.hero-proof span { display: inline-flex; align-items: center; gap: .5rem; }
.hero-proof svg { width: 17px; height: 17px; color: var(--gold-bright); flex: none; }

/* answer card — the AEO "quotable answer" block, also the hero's visual anchor */
.answer-card {
  background: rgba(255,255,255,.07); border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg); padding: 1.9rem; backdrop-filter: blur(8px);
}
.answer-card h2, .answer-card h3 { color: #fff; font-family: var(--sans); font-size: var(--step-1); font-weight: 600; }
.answer-card p { color: #fff; }
.answer-card p:last-child { margin-bottom: 0; }

/* ---------- the on-page Quick Answer block (AEO) ---------- */
.quick-answer {
  position: relative;
  background: linear-gradient(140deg, #fff 0%, #FAF7FC 55%, var(--paper-2) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.6rem 1.8rem; margin: 0 0 2.4rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.quick-answer::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 4px;
  background: linear-gradient(180deg, var(--brand), var(--brand-light) 60%, var(--gold));
}
.quick-answer h2 {
  font-family: var(--sans); font-size: var(--step--1); font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase; color: var(--brand);
  margin-bottom: .6rem;
}
.quick-answer p { font-size: var(--step-1); line-height: 1.55; color: var(--ink); margin-bottom: 0; }
.quick-answer p + p { margin-top: .8rem; font-size: var(--step-0); color: var(--ink-2); }

/* ---------- cards & grids ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2,1fr); } .grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3,1fr); } .grid-4 { grid-template-columns: repeat(4,1fr); } }

.card {
  position: relative; isolation: isolate;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.9rem; box-shadow: var(--shadow-sm);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
/* a hairline of brand colour that draws itself across the top edge on hover */
.card::after {
  content: ""; position: absolute; inset: -1px -1px auto -1px; height: 3px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: linear-gradient(90deg, var(--brand), var(--brand-light) 55%, var(--gold));
  transform: scaleX(0); transform-origin: left;
  transition: transform .32s var(--ease);
}
a.card:hover::after { transform: scaleX(1); }

/* reveal-on-scroll (JS adds these; reduced-motion users never get them) */
.will-reveal { opacity: 0; transform: translateY(14px); }
.is-revealed {
  opacity: 1; transform: none;
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.card h3 { font-size: var(--step-1); margin-bottom: .55rem; }
.card p:last-child { margin-bottom: 0; }
a.card { text-decoration: none; color: inherit; display: block; }
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(78,39,112,.28); }
a.card:hover h3 { color: var(--brand); }

.card-icon {
  width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(145deg, rgba(78,39,112,.11), rgba(101,45,143,.05));
  color: var(--brand); margin-bottom: 1.15rem;
}
.card-icon svg { width: 24px; height: 24px; }

.card-link {
  display: inline-flex; align-items: center; gap: .4rem; margin-top: 1rem;
  font-weight: 600; font-size: .94rem; color: var(--brand);
}
.card-link svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
a.card:hover .card-link svg { transform: translateX(4px); }

/* numbered step list */
.steps { list-style: none; padding: 0; counter-reset: step; display: grid; gap: 1.25rem; }
.steps li {
  counter-increment: step; position: relative; padding-left: 4rem; margin: 0;
}
.steps li::before {
  content: counter(step,decimal-leading-zero);
  position: absolute; left: 0; top: -.15rem;
  font-family: var(--display); font-size: 1.9rem; color: var(--brand);
  opacity: .42; line-height: 1;
}
.steps h3 { font-size: var(--step-1); margin-bottom: .3rem; }
.steps p { margin-bottom: 0; }

/* stat strip */
.stats { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.stat .stat-n { font-family: var(--display); font-size: var(--step-4); color: var(--brand); line-height: 1; }
.stat .stat-l { font-size: var(--step--1); color: var(--ink-3); margin-top: .45rem; }

/* ---------- bands ---------- */
.band-tint { background: var(--paper-2); border-block: 1px solid var(--line); }
.band-dark {
  position: relative; overflow: hidden;
  background:
    radial-gradient(80% 120% at 85% 0%, rgba(140,74,190,.45) 0%, rgba(140,74,190,0) 60%),
    linear-gradient(155deg, #2B1340, var(--brand));
  color: #fff;
}
.band-dark::after {
  content: ""; position: absolute; inset: auto 0 -1px 0; height: 62%; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320' preserveAspectRatio='none'%3E%3Cpath d='M0 320 L300 168 L470 250 L720 120 L980 268 L1180 205 L1440 300 L1440 320Z' fill='rgba(255,255,255,0.035)'/%3E%3C/svg%3E") bottom center / 100% 100% no-repeat;
}
.band-dark > * { position: relative; z-index: 1; }
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark .eyebrow { color: var(--gold-bright); }
.band-dark .eyebrow::before { background: var(--gold-bright); }
.band-dark a:not(.btn) { color: var(--gold-bright); }

/* ---------- on-page section nav (service pages) ---------- */
/* Mobile-first: the sidebar is hidden by default and the media query turns it on.
   These two rules MUST come before the media query — an equal-specificity `.toc
   { display:none }` placed after it wins on source order and silently kills the
   sidebar at every viewport. */
.toc-layout { display: block; }
.toc { display: none; }

@media (min-width: 1060px) {
  .toc-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 3.5rem;
    align-items: start;
  }
  .toc { display: block; position: sticky; top: 104px; }
  .toc-mobile { display: none; }
}

.toc-inner {
  border-left: 2px solid var(--line);
  padding-left: 1.25rem;
  max-height: calc(100dvh - 140px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.toc-title {
  font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-3); margin: 0 0 .9rem;
}
.toc-list { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.toc-list li { margin: 0; }
.toc-list a {
  display: block; padding: .42rem 0 .42rem .1rem;
  font-size: .875rem; line-height: 1.4; color: var(--ink-3);
  text-decoration: none; border-left: 2px solid transparent; margin-left: -1.35rem;
  padding-left: 1.25rem;
  transition: color .16s var(--ease), border-color .16s var(--ease);
}
.toc-list a:hover { color: var(--brand); }
.toc-list a[aria-current="true"] {
  color: var(--brand); font-weight: 600; border-left-color: var(--brand);
}
.toc-cta {
  display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.4rem;
  font-size: .85rem; font-weight: 600; color: var(--brand); text-decoration: none;
  padding: .6rem .9rem; border: 1px solid var(--line); border-radius: 999px;
  transition: border-color .16s var(--ease), background-color .16s var(--ease);
}
.toc-cta:hover { border-color: var(--brand); background: rgba(78,39,112,.05); }
.toc-cta svg { width: 15px; height: 15px; flex: none; }

/* mobile: a collapsed jump list above the copy */
.toc-mobile {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; margin: 0 0 2rem; box-shadow: var(--shadow-sm);
}
.toc-mobile summary {
  cursor: pointer; list-style: none; padding: .95rem 1.1rem;
  font-weight: 600; color: var(--ink); display: flex; justify-content: space-between;
  align-items: center; gap: 1rem; min-height: 48px;
}
.toc-mobile summary::-webkit-details-marker { display: none; }
.toc-mobile summary span { font-weight: 400; font-size: .84rem; color: var(--ink-3); }
.toc-mobile ol { margin: 0; padding: 0 1.1rem 1rem 2.2rem; }
.toc-mobile li { margin-bottom: .45rem; }
.toc-mobile a { font-size: .92rem; }

/* headings need clearance under the sticky header when jumped to */
.prose h2[id] { scroll-margin-top: 100px; }

/* ---------- prose (blog / long-form) ---------- */
.prose { max-width: 72ch; }
.prose h2 { font-size: var(--step-3); margin-top: 2.6rem; }
.prose h3 { font-size: var(--step-1); margin-top: 1.9rem; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.35rem; }
.prose blockquote {
  margin: 2rem 0; padding: .35rem 0 .35rem 1.5rem;
  border-left: 3px solid var(--gold); font-size: var(--step-1);
  font-style: normal; color: var(--ink);
}
.prose table { width: 100%; border-collapse: collapse; margin: 1.8rem 0; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: .75rem .9rem; border-bottom: 1px solid var(--line); }
.prose th { background: var(--paper-2); font-weight: 600; color: var(--ink); }
.table-scroll { overflow-x: auto; margin: 1.8rem 0; }
.table-scroll table { margin: 0; }

/* ---------- FAQ accordion ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.35rem 2.75rem 1.35rem 0;
  font-weight: 600; font-size: var(--step-1); color: var(--ink); position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: .55rem; top: 50%; width: 12px; height: 12px;
  margin-top: -8px; border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand);
  transform: rotate(45deg); transition: transform .22s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq summary:hover { color: var(--brand); }
.faq .faq-a { padding: 0 0 1.5rem; max-width: 74ch; }
.faq .faq-a > :last-child { margin-bottom: 0; }

/* ---------- testimonials ---------- */
.quote-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.9rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.quote-card blockquote { margin: 0 0 1.3rem; font-size: var(--step-1); line-height: 1.5; color: var(--ink); }
.quote-card .who { margin-top: auto; font-size: .93rem; }
.quote-card .who strong { display: block; color: var(--ink); }
.quote-card .who span { color: var(--ink-3); }
.quote-mark { font-family: var(--display); font-size: 3rem; line-height: .6; color: var(--gold); opacity: .55; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 20ch; margin-inline: auto; }
.cta-band p { max-width: 56ch; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; margin-top: 1.9rem; }

/* ---------- breadcrumbs ---------- */
.breadcrumb { font-size: var(--step--1); color: var(--ink-3); padding-block: 1.1rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; margin: 0; padding: 0; }
.breadcrumb li { margin: 0; display: flex; align-items: center; gap: .45rem; }
.breadcrumb li + li::before { content: "/"; color: var(--line); }
.breadcrumb a { color: var(--ink-3); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand); text-decoration: underline; }

/* ---------- page header ---------- */
.page-head { background: var(--paper-2); border-bottom: 1px solid var(--line); }
.page-head .wrap { padding-block: clamp(2.2rem, 4vw, 3.6rem); }
.page-head h1 { max-width: 22ch; }
.page-head .lead { max-width: 62ch; margin-bottom: 0; }

/* ---------- team ---------- */
.person { text-align: left; }
/* Two kinds of avatar share one box: a real headshot (img.avatar) and the initials
   fallback (div.avatar). Sizing and shape live here so both render identically; only the
   fill differs. The img needs object-fit or a non-square source would stretch a face. */
.person .avatar {
  width: 84px; height: 84px; border-radius: 50%; margin-bottom: 1.1rem;
  flex: none;
}
.person div.avatar {
  background: linear-gradient(145deg, var(--brand), var(--brand-light));
  color: #fff; display: grid; place-items: center;
  font-family: var(--display); font-size: 1.9rem; letter-spacing: .02em;
}
.person img.avatar {
  display: block; object-fit: cover; object-position: center top;
  background: var(--paper);
}

/* Profile-page portrait. object-position keeps the crop on the face if a future photo
   arrives taller than it is wide. */
.portrait {
  width: 168px; height: 168px; border-radius: 50%;
  display: block; margin: 0 0 1.4rem;
  object-fit: cover; object-position: center top;
  background: var(--paper);
  box-shadow: 0 0 0 4px var(--paper), 0 0 0 5px var(--line);
}
.person h3 { margin-bottom: .1rem; }
.person .role { color: var(--brand); font-weight: 600; font-size: .93rem; margin-bottom: .8rem; }

/* ---------- forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.9rem; box-shadow: var(--shadow); }
.field { margin-bottom: 1.05rem; }
.field label { display: block; font-weight: 600; font-size: .93rem; color: var(--ink); margin-bottom: .35rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: .8rem .95rem; border: 1.5px solid var(--line); border-radius: 10px;
  background: var(--paper); min-height: 48px;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px rgba(78,39,112,.14); }
.field textarea { min-height: 120px; resize: vertical; }
.field .hint { font-size: .84rem; color: var(--ink-3); margin-top: .3rem; }
.check { display: flex; gap: .65rem; align-items: flex-start; font-size: .9rem; color: var(--ink-2); }
.check input { width: 20px; height: 20px; min-height: 0; flex: none; margin-top: .15rem; }
fieldset { border: 0; padding: 0; margin: 0 0 1.05rem; }
fieldset legend { font-weight: 600; font-size: .93rem; color: var(--ink); margin-bottom: .45rem; padding: 0; }
.radio-row { display: grid; gap: .55rem; }
.radio-row label {
  display: flex; align-items: center; gap: .6rem; font-weight: 400; padding: .7rem .9rem;
  border: 1.5px solid var(--line); border-radius: 10px; cursor: pointer; min-height: 48px;
}
.radio-row label:hover { border-color: var(--brand); }
.radio-row input { width: 20px; height: 20px; min-height: 0; flex: none; }

/* ---------- footer ---------- */
.site-footer { background: var(--brand-ink); color: #fff; padding-block: 4rem 0; font-size: .94rem; }
.site-footer .footer-h { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1.1rem; font-family: var(--sans); font-weight: 600; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .58rem; }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; } }
.footer-logo img { width: 190px; margin-bottom: 1.2rem; }
.footer-nap { font-style: normal; line-height: 1.8; }
.footer-nap a { display: inline-flex; align-items: center; gap: .5rem; }
.footer-nap svg { width: 16px; height: 16px; flex: none; color: var(--gold-bright); }
.social-row { display: flex; gap: .6rem; margin-top: 1.3rem; }
.social-row a {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-dark); color: #fff;
}
.social-row a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.social-row svg { width: 18px; height: 18px; }
.footer-bottom {
  margin-top: 3rem; padding-block: 1.5rem; border-top: 1px solid var(--line-dark);
  display: flex; flex-wrap: wrap; gap: .8rem 1.6rem; justify-content: space-between;
  font-size: .87rem; color: rgba(255,255,255,.85);
}
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer-bottom li { margin: 0; }

/* ---------- utilities ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.measure { max-width: 68ch; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.pill {
  display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .8rem;
  border-radius: 999px; background: rgba(78,39,112,.09); color: var(--brand);
  font-size: .82rem; font-weight: 600;
}
.logo-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2.5rem; }
.logo-strip img { height: 46px; width: auto; opacity: .72; filter: grayscale(1); transition: opacity .2s, filter .2s; }
.logo-strip img:hover { opacity: 1; filter: none; }

.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.map-embed iframe { display: block; width: 100%; height: 340px; border: 0; }

/* print */
@media print {
  .site-header, .topbar, .site-footer, .cta-band, .nav-toggle { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ---------- video / media (Conferences & Media) ---------- */
.video-grid { margin-top: 1.75rem; }
.video-card { display: flex; flex-direction: column; }
.video-card h3 { margin: .9rem 0 .15rem; font-size: 1.06rem; line-height: 1.35; }
.video-card h3 a { color: inherit; text-decoration: none; }
.video-card h3 a:hover { color: var(--brand); text-decoration: underline; }
.video-card > p { margin: 0 0 .5rem; }
.video-meta { color: var(--brand); font-weight: 600; font-size: .87rem; }

/* the facade: poster + play button, sized by aspect-ratio so nothing shifts on load */
.video-thumb {
  position: relative; display: block; aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--ink); border: 1px solid var(--line);
}
.video-thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .35s ease, opacity .35s ease;
}
.video-thumb:hover img, .video-thumb:focus-visible img { transform: scale(1.03); opacity: .82; }
.video-play {
  position: absolute; inset: 0; margin: auto;
  width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .94); color: var(--brand);
  box-shadow: 0 6px 22px rgba(0, 0, 0, .3);
  transition: transform .25s ease, background .25s ease;
}
.video-play svg { width: 26px; height: 26px; margin-left: 3px; }
.video-thumb:hover .video-play, .video-thumb:focus-visible .video-play {
  transform: scale(1.09); background: #fff;
}
.video-time {
  position: absolute; right: .6rem; bottom: .6rem;
  background: rgba(0, 0, 0, .82); color: #fff;
  font-size: .78rem; font-variant-numeric: tabular-nums;
  padding: .12rem .42rem; border-radius: 5px; letter-spacing: .02em;
}
/* once site.js swaps the facade for the real player */
.video-thumb.is-playing { background: #000; }
.video-thumb iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

@media (prefers-reduced-motion: reduce) {
  .video-thumb img, .video-play { transition: none; }
  .video-thumb:hover img, .video-thumb:focus-visible img { transform: none; }
}

/* ---------- testimonial slider ---------- */
/* scroll-snap does the sliding; JS only drives the arrows, dots and auto-advance, so the
   whole thing still works with JS off. */
.slider { margin-top: 2.2rem; }
/* FLEX, not grid. `grid-auto-columns: 33%` inside an overflow-x container resolves
   against an indefinite width and collapses every card to min-content — six one-word-wide
   columns. A flex item's percentage width resolves against the flex container, which has
   a definite width, so it behaves. */
.slider-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: .35rem .35rem 1.25rem;   /* room for card shadow + focus ring */
  margin: -.35rem;
  scrollbar-width: thin;
}
.slider-track > * {
  scroll-snap-align: start;
  flex: 0 0 auto;
  width: min(88%, 340px);
  min-width: 0;
}
@media (min-width: 720px)  { .slider-track > * { width: calc(50% - .75rem); } }
@media (min-width: 1040px) { .slider-track > * { width: calc(33.333% - 1rem); } }
.slider-track:focus-visible { outline: 3px solid var(--brand-light); outline-offset: 2px; border-radius: var(--radius); }

.slider-controls { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: .5rem; }
.slider-btn {
  width: 44px; height: 44px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%; border: 1.5px solid var(--line);
  background: var(--paper); color: var(--brand); cursor: pointer;
  transition: background .18s var(--ease), border-color .18s var(--ease), opacity .18s;
}
.slider-btn svg { width: 20px; height: 20px; }
.slider-btn:hover:not(:disabled) { background: rgba(78,39,112,.06); border-color: var(--brand); }
.slider-btn:disabled { opacity: .3; cursor: default; }
/* with JS off there is nothing to click, so the arrows stay out of the way */
.slider:not(.is-enhanced) .slider-controls { display: none; }

.slider-dots { display: flex; gap: .45rem; }
.slider-dot {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%;
  background: var(--paper-3); cursor: pointer; transition: background .18s, transform .18s;
}
.slider-dot[aria-current="true"] { background: var(--brand); transform: scale(1.3); }

.slider-more { margin: 1.4rem auto 0; display: table; }

/* ---------- review stars + slider note ---------- */
/* Per-review ratings only. There is deliberately no aggregate figure anywhere: see the
   provenance note on site_data.REVIEWS. */
.stars { display: flex; gap: 2px; color: var(--gold); margin-bottom: .85rem; }
.stars svg { width: 15px; height: 15px; }
.slider-note { color: var(--ink-3); font-size: var(--step--1); margin: -.35rem 0 0; }
/* The reviews run from 35 to 923 characters. Every card in a flex row takes the height of
   the tallest, so an unclamped set left a wall of white space beside the short ones.
   Five lines bounds the tallest card; the full text is on /testimonials/, which does not
   clamp. */
.slider .quote-card blockquote {
  display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical;
  overflow: hidden;
}
.quote-card { justify-content: flex-start; }
.quote-card .who { margin-top: auto; padding-top: 1rem; }
