/* Layout: private-bank quiet. Oversized Avenir Light headlines on cream, a living mustard tree as the one bold moment,
   hairline-ruled sections, navy reserved for statements and the footer, gold only on the logo and each view's one action. */
:root {
  /* brand (from the Mustard Money design system) */
  --brand-navy: #263747;
  --brand-slate: #415f77;
  --brand-slate-light: #567997;
  --brand-gold: #d29f08;
  --brand-tan: #e6cd8d;
  --brand-cream: #fffbf4;
  --rule-gray: #92999d;

  /* semantic, light */
  --surface: #fffbf4;
  --surface-raised: #ffffff;
  --surface-tint: #f8eed7;
  --surface-inverse: #263747;
  --ink: #263747;
  --ink-muted: #415f77;
  --ink-inverse: #fffbf4;
  --ink-inverse-muted: #e6cd8d;
  --accent: #d29f08;
  --accent-hover: #c08f05;
  --on-accent: #263747;
  --accent-soft: #e6cd8d;
  --link: #415f77;
  --rule: #ddd9cf;
  --rule-strong: #92999d;
  --rule-inverse: #3e5468;
  --border: #567997;
  --focus: #567997;
  --header-bg: rgba(255, 251, 244, 0.88);
  --surface-feature: #415f77;
  --rule-feature: #567997;
  --tree-branch: #415f77;
  --tree-leaf: #e6cd8d;
  --tree-leaf-2: #d29f08;
  --tree-bird: #263747;
  --tree-ground: #92999d;

  /* type */
  --font-sans: "Avenir", "Avenir Next", "Nunito Sans", "Century Gothic", system-ui, sans-serif;
  --fs-display: clamp(56px, 8.4vw, 128px);
  --fs-h1: clamp(42px, 5.6vw, 80px);
  --fs-h2: clamp(32px, 3.8vw, 52px);
  --fs-statement: clamp(26px, 3vw, 40px);
  --fs-h3: 22px;
  --fs-lead: clamp(19px, 1.7vw, 23px);
  --fs-body: 17px;
  --fs-small: 15px;

  /* space and shape */
  --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-6: 24px; --space-8: 32px;
  --space-12: 48px; --space-16: 64px; --space-24: 96px; --space-32: 128px;
  --radius-sm: 2px; --radius-md: 4px;
  --wrap: 1280px;
  --measure: 62ch;
  --gutter: clamp(16px, 4.2vw, 56px);
}
/* light only: the site always shows the cream-and-navy palette, whatever the visitor's dark-mode setting */
:root, :root[data-theme="dark"] { color-scheme: light; }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: var(--fs-body);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--surface);
}
h1, h2, h3, p, ul, fieldset, figure, blockquote { margin: 0; }
h1, h2 { font-weight: 300; letter-spacing: -0.022em; text-wrap: balance; }
h3 { font-weight: 500; font-size: var(--fs-h3); line-height: 1.3; letter-spacing: -0.005em; text-wrap: balance; }
p { text-wrap: pretty; }
a { color: var(--link); text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
[tabindex="-1"]:focus { outline: none; }

.wrap {
  width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.display { font-size: clamp(44px, 8.4vw, 96px); line-height: 0.98; letter-spacing: -0.035em; }
.h1 { font-size: var(--fs-h1); line-height: 1.04; letter-spacing: -0.03em; }
.h2 { font-size: var(--fs-h2); line-height: 1.1; }
.statement { font-size: var(--fs-statement); line-height: 1.25; font-weight: 300; letter-spacing: -0.015em; text-wrap: balance; }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-muted); max-width: 38ch; }
.muted { color: var(--ink-muted); }
.prose { display: grid; gap: var(--space-4); max-width: var(--measure); }
.prose-lg p { font-size: 19px; line-height: 1.6; }

/* actions */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 14px 26px;
  background: var(--accent); color: var(--on-accent);
  font: inherit; font-weight: 500; font-size: 16px; line-height: 1.2; letter-spacing: 0.005em;
  border: 0; border-radius: var(--radius-md); text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, transform .2s ease;
}
.btn:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 16px; height: 16px; transition: transform .25s ease; }
.btn:hover svg { transform: translateX(3px); }
.textlink {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 500; font-size: 16px; color: var(--ink); text-decoration: none;
  padding-bottom: 4px; background: linear-gradient(var(--accent), var(--accent)) left bottom / 100% 1px no-repeat;
  transition: background-size .3s ease, color .2s ease;
}
.textlink svg { width: 15px; height: 15px; transition: transform .25s ease; }
.textlink:hover { color: var(--ink); background-size: 0% 1px; }
.textlink:hover svg { transform: translateX(4px); }

/* header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s ease;
}
.site-header.scrolled { border-bottom-color: var(--rule); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--space-8); min-height: 88px; }
.brand { display: block; width: 176px; flex: none; }
.brand svg { display: block; width: 100%; height: auto; }
.nav { display: flex; align-items: center; gap: var(--space-8); }
.nav ul { display: flex; gap: 28px; list-style: none; padding: 0; margin: 0; }
.nav ul a {
  position: relative; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 400;
  padding-block: 8px; white-space: nowrap;
}
.nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.nav ul a:hover::after, .nav ul a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.menu-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--rule); border-radius: var(--radius-md);
  background: transparent; color: var(--ink); cursor: pointer; align-items: center; justify-content: center;
}
.menu-toggle svg { width: 20px; height: 20px; }
.menu-toggle .close { display: none; }
.menu-toggle[aria-expanded="true"] .open { display: none; }
.menu-toggle[aria-expanded="true"] .close { display: block; }
@media (max-width: 1140px) {
  .menu-toggle { display: inline-flex; }
  .site-header .wrap { flex-wrap: wrap; min-height: 76px; gap: 0; }
  .brand { width: 160px; }
  .nav { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: var(--space-6); padding-block: var(--space-4) var(--space-8); }
  .nav.open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding-block: 14px; font-size: 24px; font-weight: 300; border-bottom: 1px solid var(--rule); }
  .nav ul a::after { display: none; }
  .nav ul a[aria-current="page"] { color: var(--ink-muted); }
  .nav .btn { min-height: 52px; font-size: 16px; }
}

/* views */
.view { animation: viewIn .55s cubic-bezier(.2,.7,.2,1) both; }
@keyframes viewIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* sections */
.section { padding-block: var(--space-24); }
.section.tight-top { padding-top: 0; }
.ruled { border-top: 1px solid var(--rule); }
@media (max-width: 760px) { .section { padding-block: var(--space-16); } }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-16); align-items: start; }
.split > * { min-width: 0; }
.sticky-col { position: sticky; top: 128px; display: grid; gap: var(--space-6); align-content: start; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: var(--space-8); }
  .sticky-col { position: static; }
}
.stack { display: grid; gap: var(--space-6); justify-items: start; align-content: start; }
.stack-lg { display: grid; gap: var(--space-8); justify-items: start; align-content: start; }

/* bands */
.band { background: var(--surface-inverse); color: var(--ink-inverse); }
.band .muted, .band .lead { color: var(--ink-inverse-muted); }
.band a:not(.btn) { color: var(--ink-inverse); }
.band .textlink { color: var(--ink-inverse); }
.tint { background: var(--surface-tint); }

/* hero */
.hero { padding-block: clamp(24px, 3vw, 48px) clamp(24px, 3vw, 48px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: var(--space-12); align-items: center; }
.hero .stack-lg { gap: var(--space-8); }
.hero h1 { max-width: none; }
.tree-frame { position: relative; width: 100%; aspect-ratio: 1 / 0.94; max-width: 100%; }
.tree-frame canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: var(--space-8); }
  .tree-frame { max-width: 520px; justify-self: center; }
}
.tagline .wrap > p {
  border-block: 1px solid var(--rule); padding-block: 30px; text-align: center;
  font-size: clamp(18px, 1.8vw, 22px); line-height: 1.5; color: var(--ink-muted);
}

/* parable band */
.parable { padding-block: clamp(64px, 7.5vw, 112px); }
.parable .wrap { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--space-16); align-items: start; }
.parable-head { min-width: 0; }
.branch-row { grid-column: 1 / -1; margin-top: -50px; margin-inline: calc(50% - 50vw); pointer-events: none; }
.branch-art { display: block; width: 100%; max-width: 1500px; margin-right: auto; height: auto; overflow: visible; transform: scaleX(-1); }   /* mirrored: the trunk enters from the left edge, the birds face the other way */
.parable { overflow-x: clip; }
.branch-art .wood { fill: none; stroke: var(--ink-inverse-muted); stroke-linecap: round; stroke-linejoin: round; opacity: .8; }
.branch-art .leaf { fill: var(--ink-inverse-muted); opacity: .85; }
.branch-art .leaf.gold { fill: var(--accent); opacity: 1; }
/* moving birds: placement is an attribute on the outer group, the idle hop is CSS on the inner one */
.branch-art .wood, .branch-art .bird { pointer-events: stroke; }
.branch-art .bird { pointer-events: auto; fill: var(--ink-inverse); }
.branch-art .bird .bleg { fill: none; stroke: var(--ink-inverse); stroke-width: 1.4; stroke-linecap: round; }
.branch-art .bird .bline { fill: none; stroke: var(--surface-inverse); stroke-width: 1.3; stroke-linecap: round; }
.branch-art .bird .bmark { fill: var(--surface-inverse); }
.hop { animation: hop 32s ease-in-out infinite; transform-box: fill-box; transform-origin: 50% 100%; }
@keyframes hop { 0%, 90%, 100% { transform: none; } 92% { transform: translateY(-4px) rotate(-2deg); } 94% { transform: none; } 95.5% { transform: translateY(-2px); } 97% { transform: none; } }
.parable .wrap > * { min-width: 0; }
.parable h2 { font-size: clamp(38px, 5vw, 72px); line-height: 1.04; letter-spacing: -0.03em; margin-top: -0.12em; }
.parable .prose { gap: var(--space-6); align-content: start; padding-top: var(--prose-drop, 0px); }   /* first line level with the top of "The mustard seed" label */
@media (min-width: 901px) { .parable .prose { margin-top: -3px; } }
.parable .prose p { color: var(--ink-inverse-muted); }
.parable .prose p:last-child { color: var(--ink-inverse); font-size: 21px; line-height: 1.5; padding-top: var(--space-6); border-top: 1px solid var(--rule-inverse); }
@media (max-width: 900px) { .parable .prose { padding-top: 0; } .parable .wrap { grid-template-columns: 1fr; gap: var(--space-8); } .branch-row { margin-top: 0; } }
/* smaller screens: the branch is drawn larger and runs off both edges, centred on the middle of the branch where the birds sit, at a readable size */
@media (max-width: 900px) { .branch-art { width: 150%; max-width: none; margin-left: -15%; } }
@media (max-width: 560px) { .branch-row { margin-top: var(--space-4); } .branch-art { width: 210%; margin-left: -25%; } }

/* convictions list (home) */
.conv-head { display: flex; flex-wrap: wrap; align-items: flex-end; align-items: last baseline; justify-content: space-between; gap: var(--space-6); margin-bottom: var(--space-12); }
.conv-head h2 { max-width: 16ch; }
.conv-list { list-style: none; padding: 0; border-top: 1px solid var(--rule-strong); }
.conv-list li {
  display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: baseline;
  padding-block: clamp(20px, 2.6vw, 34px); border-bottom: 1px solid var(--rule);
  font-size: clamp(24px, 3.1vw, 44px); line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance;
}
.conv-list li::before { content: ""; width: 24px; height: 1px; background: var(--accent); transform: translateY(-0.32em); }
.conv-list li:last-child { border-bottom-color: var(--rule-strong); }   /* the closing rule matches the opening one */
@media (max-width: 560px) { .conv-list li { grid-template-columns: 36px minmax(0, 1fr); } .conv-list li::before { width: 16px; } }

/* home pair */
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-block: 1px solid var(--rule); }
.pair > * { min-width: 0; padding: clamp(32px, 5vw, 72px) clamp(0px, 4vw, 64px); display: grid; gap: var(--space-6); align-content: start; justify-items: start; }
.pair > :first-child { padding-left: 0; border-right: 1px solid var(--rule); }
.pair > :last-child { padding-right: 0; }
.pair p { max-width: 44ch; }
@media (max-width: 860px) {
  .pair { grid-template-columns: 1fr; }
  .pair > * { padding-inline: 0; }
  .pair > :first-child { border-right: 0; border-bottom: 1px solid var(--rule); }
}

/* closing strip */
.closing { position: relative; overflow: hidden; padding-block: clamp(80px, 10vw, 144px); background: var(--surface-feature); color: var(--ink-inverse); }
.closing::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--accent); }
.closing .lead { color: var(--ink-inverse); opacity: .9; }
.closing .statement { font-size: clamp(30px, 3.8vw, 52px); line-height: 1.16; letter-spacing: -0.022em; }
.closing .seal { display: block; width: 36px; height: 36px; margin-bottom: var(--space-6); }
.closing .seal svg { display: block; width: 100%; height: 100%; }
.closing .btn { min-height: 58px; padding: 16px 30px; font-size: 17px; }
.closing + .site-footer { border-top: 0; }
.closing .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-12); align-items: center; }
.closing .statement { max-width: 25ch; }
@media (max-width: 760px) { .closing .wrap { grid-template-columns: 1fr; gap: var(--space-8); } }

/* page intro */
.page-intro { padding-block: clamp(56px, 8vw, 120px) clamp(48px, 6vw, 88px); }
.page-intro .split { align-items: end; }
.about-intro .split { align-items: start; }
.about-intro h1 { margin-top: -0.1em; }
/* about: a referral line set apart under the intro text, in the style of the site's other quotes */
.about-intro .prose .about-quote { margin-top: var(--space-4); padding-left: var(--space-6); border-left: 2px solid var(--accent); font-size: clamp(24px, 2.5vw, 34px); line-height: 1.25; font-weight: 300; font-style: italic; letter-spacing: -0.015em; color: var(--ink-accent); }
/* about: the client meeting photo fills the space under the heading, uncropped (3:2), its bottom level with the end of the text */
.about-photo { aspect-ratio: 1600 / 1066; margin-top: var(--space-2); }
@media (max-width: 900px) { .about-photo { max-width: 520px; } }
@media (min-width: 901px) {
  .about-intro .split > .intro-head { position: relative; top: auto; align-self: stretch; grid-template-rows: auto auto 1fr; }
  .about-intro .photo.about-photo { height: 100%; width: auto; max-width: 100%; min-height: 0; justify-self: start; }
  .about-intro .about-photo img { position: absolute; inset: 0; }
}
@media (min-width: 901px) { .about-intro .split > .prose { padding-top: 0; margin-top: -3px; } }   /* first line of the text level with the top of the "About" label */
@media (min-width: 901px) { .about-intro .intro-head { position: sticky; top: 112px; align-self: start; } }   /* the heading follows along while the text scrolls */   /* first line level with the top of the headline, below the eyebrow */
.page-intro h1 { max-width: 14ch; }
.page-intro h1.two-line { max-width: none; font-size: clamp(30px, 8vw, 48px); }
@media (min-width: 901px) {
  .page-intro h1.two-line { white-space: nowrap; font-size: clamp(38px, 4.4vw, 64px); }
  .page-intro .split.wide-head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; }
  .page-intro .split.wide-head > .lead { margin-top: 38px; }
}

/* how we work */
.conviction { padding-block: clamp(64px, 8vw, 112px); border-top: 1px solid var(--rule); }
.hook-row { padding-bottom: clamp(48px, 6vw, 80px); }
.conviction .question {
  font-size: clamp(24px, 2.8vw, 36px); line-height: 1.3; font-weight: 300; letter-spacing: -0.015em;
  color: var(--ink-muted); max-width: 30ch; padding-left: var(--space-8); border-left: 2px solid var(--accent);
}
.conviction .h2 { max-width: 16ch; }

/* how we work: question band */
.question-band { scroll-margin-top: 88px; padding-block: clamp(80px, 10vw, 144px); text-align: center; }
.question-band .wrap { display: grid; justify-items: center; gap: var(--space-8); }
.question-band .q-seal { display: block; width: 44px; height: 44px; }
.question-band .q-seal svg { display: block; width: 100%; height: 100%; }
.question-band .q-rule { width: 48px; height: 2px; background: var(--accent); }
.question-band .question {
  font-size: clamp(28px, 3.6vw, 50px); line-height: 1.2; font-weight: 300; letter-spacing: -0.022em;
  color: var(--ink-inverse); max-width: 26ch; text-wrap: balance;
}
.question-band + .conviction { border-top: 0; }
.q-run { display: none; }
/* the question sits in front of the answer and fades away as you scroll, revealing the answer behind it (every screen size).
   --hdr is the sticky header's height; --vfull is the visible screen height (small-viewport units on phones, so the browser bar doesn't make it jump). */
.q-stage { --hdr: calc(88px + env(safe-area-inset-top, 0px)); --vfull: 100vh; }
@supports (height: 100svh) { .q-stage { --vfull: 100svh; } }
@media (max-width: 1360px) { .q-stage { --hdr: calc(76px + env(safe-area-inset-top, 0px)); } }
.q-stage .question-band {
  position: sticky; top: var(--hdr); z-index: 2; height: calc(var(--vfull) - var(--hdr)); min-height: 0; display: grid; align-content: center;
  margin-bottom: calc(-1 * (var(--vfull) - var(--hdr))); scroll-margin-top: var(--hdr);
}
.q-stage .question-band + .conviction {
  position: sticky; top: var(--hdr); z-index: 1; min-height: calc(var(--vfull) - var(--hdr)); display: grid; align-content: center;
}
/* scroll distance: the question holds, fades, the answer stands alone for a beat, then the stage ends and the answer scrolls up with the page
   (on a phone the answer is taller than the screen: it holds at the top for that beat, then the rest of it scrolls into view as normal) */
.q-stage > .q-run { display: block; height: calc(var(--vfull) * 1.45); }   /* room for the hold, the lift at scroll speed, and a beat with the answer alone */
.q-stage .question-band + .conviction:not(.tint) { background: var(--surface); }   /* the answer under the lifting panel is opaque whichever colour it is */
/* curtain lift: the blue panel slides up off the screen as one solid piece, question and all, uncovering the answer already sitting
   beneath it; a soft shadow under its bottom edge makes it read as a lifted page (--qy is set by the scroll script) */
.q-stage .question-band { transform: translateY(var(--qy, 0%)); will-change: transform; box-shadow: 0 22px 44px -18px rgba(38, 55, 71, var(--qshadow, 0)); }

/* how we work: index tiles and illustrations */
.intro-quote {
  font-size: clamp(24px, 2.5vw, 34px); line-height: 1.32; font-weight: 300; letter-spacing: -0.015em; color: var(--ink);
  padding-left: var(--space-8); border-left: 2px solid var(--accent); max-width: 30ch; text-wrap: balance;
}
@media (min-width: 901px) { .page-intro .intro-quote { margin-left: clamp(24px, 4vw, 64px); } }
/* how we work: two equal halves, so the quote's gold line sits on the center of the page */
@media (min-width: 901px) { #view-how-we-work .page-intro .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 0; } #view-how-we-work .page-intro .intro-quote { margin-left: 0; } }
/* conviction rows: heading | text | illustration on one row, so the illustration adds no height */
@media (min-width: 901px) {
  .conviction .split { grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr); gap: clamp(32px, 4vw, 56px); align-items: start; }
  .conviction .sticky-col { display: contents; }
  .conviction .sticky-col > h2 { grid-column: 1; grid-row: 1; position: sticky; top: 112px; align-self: start; margin-top: 0; }   /* top-aligned with the text, follows the page while it scrolls */
  .conviction .split > .prose, .conviction .sticky-col > .prose { grid-column: 2; grid-row: 1; align-self: start; }
  .conviction .illo { grid-column: 3; grid-row: 1; width: 100%; max-width: 300px; margin-top: 0; justify-self: end; align-self: start; }
}
@media (max-width: 900px) { .conviction .illo { width: min(100%, 220px); margin-top: var(--space-4); } }
/* in-between widths: illustration beside the heading (heading left, drawing right), the text full width below */
@media (min-width: 520px) and (max-width: 900px) {
  .conviction .sticky-col { grid-template-columns: minmax(0, 1fr) clamp(150px, 30vw, 240px); column-gap: clamp(24px, 4vw, 40px); align-items: center; }
  .conviction .sticky-col > .illo { width: 100%; max-width: none; margin-top: 0; }
}
.conviction { scroll-margin-top: 88px; }
.conviction.tint { border-top-color: transparent; }
.conv-index { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); margin-top: clamp(40px, 5vw, 72px); }
.conv-tile {
  min-width: 0; display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-8); text-align: left;
  font: inherit; font-size: 19px; line-height: 1.35; font-weight: 400; letter-spacing: -0.005em; color: var(--ink);
  background: var(--surface-raised); border: 1px solid var(--rule); border-top: 2px solid var(--accent); border-radius: var(--radius-md);
  padding: 24px 22px 22px; cursor: pointer; transition: transform .4s cubic-bezier(.2,.7,.2,1), border-color .3s ease;
}
.conv-tile:hover { transform: translateY(-5px); border-color: var(--rule-strong); border-top-color: var(--accent); }
.conv-tile .tile-arrow { width: 16px; height: 16px; color: var(--ink-muted); transition: transform .3s ease; }
.conv-tile:hover .tile-arrow { transform: translateY(4px); }
@media (max-width: 1000px) { .conv-index { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .conv-index { grid-template-columns: 1fr; } .conv-tile { gap: var(--space-4); } }

.illo { display: block; width: min(100%, 340px); height: auto; overflow: visible; margin-top: var(--space-8); }
.illo .ln { fill: none; stroke: var(--rule-strong); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.illo .dash { stroke-dasharray: 4 6; }
.illo .noise { opacity: .55; }
.illo .gold { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; }
.illo .dot { fill: var(--rule-strong); }
.illo .node { fill: var(--surface-raised); stroke: var(--ink); stroke-width: 1.5; }
.illo .node-gold { fill: var(--accent); }
.illo .hub { fill: var(--accent-soft); }
.illo .halo { fill: none; stroke: var(--accent); stroke-width: 1; opacity: .6; }
.illo text { font-family: var(--font-sans); font-size: 13px; font-weight: 500; letter-spacing: .02em; fill: var(--ink-muted); }
.illo .hub-label { fill: var(--on-accent); font-size: 14px; }
.illo.will-draw .draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.illo.will-draw .fade { opacity: 0; }
.illo.will-draw .noise.fade { opacity: 0; }
.illo.drawn .draw { stroke-dashoffset: 0; transition: stroke-dashoffset 1.3s cubic-bezier(.6,.1,.2,1) var(--dl, 0s); }
.illo.drawn .fade { opacity: 1; transition: opacity .7s ease var(--dl, 0s); }
.illo.drawn .noise.fade { opacity: .55; }
.illo.drawn .halo.fade { opacity: .6; }
@media (max-width: 900px) { .illo { width: min(100%, 300px); margin-top: var(--space-6); } }

/* who we serve */
.serve-intro .wrap { display: grid; gap: clamp(40px, 5vw, 64px); }
.serve-intro h1 { max-width: 18ch; }
.serve-body { display: grid; gap: var(--space-8); }
.serve-lead { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.3; font-weight: 400; letter-spacing: -0.01em; color: var(--ink); padding-left: var(--space-4); border-left: 2px solid var(--accent); }
.serve-lead .trail::after { content: "\2026"; color: var(--accent); }
/* three traits as a hairline-ruled list with a gold dash that slides out on hover, like the home page convictions */
.traits { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rule-strong); }
.traits li {
  display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: baseline;
  padding-block: clamp(18px, 2.2vw, 28px); border-bottom: 1px solid var(--rule);
  font-size: clamp(24px, 3.1vw, 44px); line-height: 1.15; font-weight: 300; letter-spacing: -0.02em; color: var(--ink); text-wrap: balance;
  transition: transform .45s cubic-bezier(.2,.7,.2,1);
}
.traits li::before { content: ""; width: 24px; height: 1px; background: var(--accent); transform: translateY(-0.32em); transition: width .45s cubic-bezier(.2,.7,.2,1); }
.traits li:hover { transform: translateX(10px); }
.traits li:hover::before { width: 40px; }
.serve-after { max-width: 52ch; }
@media (max-width: 560px) { .traits li { grid-template-columns: 36px minmax(0, 1fr); } .traits li::before { width: 16px; } }
.quote-band { background: var(--surface-tint); padding-block: clamp(64px, 8vw, 112px); text-align: center; }
.quote-band .wrap { display: grid; justify-items: center; gap: var(--space-6); }
.quote-band .seal { width: 30px; height: 30px; }
.quote-band .seal svg { display: block; width: 100%; height: 100%; }
.quote-band blockquote { font-size: clamp(26px, 3.2vw, 44px); line-height: 1.22; font-weight: 300; letter-spacing: -0.02em; max-width: 24ch; text-wrap: balance; }
.unsure {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-8); align-items: center;
  margin-top: clamp(32px, 2.8vw, 40px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--rule-strong);
}
.unsure p { font-size: clamp(22px, 2.4vw, 32px); line-height: 1.3; font-weight: 300; letter-spacing: -0.015em; max-width: 34ch; text-wrap: balance; }
@media (max-width: 700px) { .unsure { grid-template-columns: 1fr; gap: var(--space-6); } }
.btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; justify-self: start;
  min-height: 52px; padding: 13px 28px; border: 1.5px solid var(--ink); border-radius: var(--radius-md);
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: 16px; line-height: 1.2;
  transition: background-color .2s ease, color .2s ease;
}
.btn-outline svg { width: 16px; height: 16px; transition: transform .25s ease; }
.btn-outline:hover { background: var(--ink); color: var(--surface); }
.btn-outline:hover svg { transform: translateX(3px); }
/* What we do intro: a touch bigger and darker so it stands out */
#view-what-we-do .page-intro .lead,
#view-paying-it-forward .page-intro .lead {
  color: var(--ink); font-size: clamp(22px, 2.3vw, 32px); line-height: 1.32; font-weight: 300; letter-spacing: -0.015em;
  max-width: 30ch; padding-left: var(--space-6); border-left: 2px solid var(--accent); text-wrap: pretty;
}
@media (min-width: 901px) { #view-what-we-do .page-intro .split.wide-head > .lead, #view-paying-it-forward .page-intro .split.wide-head > .lead { margin-left: -24px; margin-top: calc(2.6px - 0.237 * clamp(22px, 2.3vw, 32px)); } }   /* first line level with the top of the page label */   /* gold rule nudged left so the first sentence fits on line one */   /* set like the How we work intro: a statement with a gold rule, the key phrase in the accent tone */
/* "We're likely a good fit if:" a step larger than body text, centred on the height of "Is this a fit?" beside it */
.fit-split { --fit-lead-fs: clamp(26px, 2.7vw, 36px); }
.fit-lead { font-size: var(--fit-lead-fs); line-height: 1.2; font-weight: 400; letter-spacing: -0.012em; color: var(--ink); padding-left: var(--space-4); border-left: 2px solid var(--accent); }
@media (min-width: 901px) { .fit-split > .sticky-col { margin-bottom: calc(-0.19 * var(--fs-h2)); } }   /* the sticky heading stops when the bottom of its letters (not its line box) meets the bottom of the button */
/* the Schedule button sits against the right margin, under the right-hand boxes */
@media (min-width: 901px) { .fit-split > .stack-lg > .btn { justify-self: end; } }
/* the button sits midway between the boxes and the grey rule below (same space above and below it) */
.fit-split > .stack-lg > .btn { margin-top: clamp(0px, calc(2.8vw - 32px), 8px); }
/* the checklist keeps its full width as the window narrows; the heading column gives up its space first */
@media (min-width: 901px) { .split.fit-split { grid-template-columns: minmax(240px, 1fr) minmax(0, 710px); } }
@media (min-width: 901px) { .fit-split > .stack-lg { padding-top: 0; margin-top: calc(3.9px - 0.177 * var(--fit-lead-fs)); } }   /* the top of "We're likely a good fit if:" level with the top of the FIT label */
.pull {
  font-size: clamp(22px, 2.4vw, 30px); line-height: 1.38; font-weight: 300; letter-spacing: -0.01em;
  color: var(--ink); padding-left: var(--space-6); border-left: 2px solid var(--accent); max-width: 30ch;
}
.fit-sec { padding-top: clamp(40px, 5vw, 64px); }
.section.fit-sec { padding-bottom: clamp(40px, 5vw, 64px); }   /* the "Not sure" line sits evenly between the rule above it and the footer */
/* a large faint sprout in the empty space under the heading, bleeding off the left edge; it scrolls with the checklist, like the watermark in the closing bands */
.fit-sec { position: relative; overflow: clip; }   /* clip, not hidden: hidden would make the section a scroll box and break the sticky heading */
.fit-sec > .wrap { position: relative; z-index: 1; }
.fit-mark { display: none; }
@media (min-width: 901px) {
  /* placed by Michael with the drag tool: x 28, y -74, width 834 on a 1587px-wide section, kept in proportion at other widths */
  .fit-mark { display: block; position: absolute; z-index: 0; left: 1.76%; top: 0; width: 52.55%; height: auto; transform: translateY(-8.87%); color: var(--accent); opacity: .13; pointer-events: none; }
}

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); margin-top: var(--space-12); }
.card {
  min-width: 0; display: grid; gap: var(--space-4); align-content: start;
  background: var(--surface-raised); border: 1px solid var(--rule); border-radius: var(--radius-md);
  padding: clamp(24px, 3vw, 40px);
  transition: border-color .25s ease, transform .25s ease;
}
.card:hover { border-color: var(--rule-strong); transform: translateY(-2px); }
.card p { font-size: 16px; line-height: 1.7; }
.card .mark { width: 28px; height: 1px; background: var(--accent); }
@media (max-width: 980px) { .cards { grid-template-columns: 1fr; } }
.checks { list-style: none; padding: 0; width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); }
.checks li {
  position: relative; min-width: 0; display: grid; gap: var(--space-6); align-content: start;
  background: var(--surface-raised); border: 1px solid var(--rule); border-radius: var(--radius-md);
  padding: 28px 44px 30px 26px; font-size: 19px; line-height: 1.45; font-weight: 400; letter-spacing: -0.005em; text-wrap: pretty;   /* extra room on the right so no box's text runs closer to its edge than the others */
  transition: transform .4s cubic-bezier(.2,.7,.2,1), border-color .3s ease;
}
.checks li::before { content: ""; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); }
.checks li::after {
  content: ""; position: absolute; left: 39px; top: 41px; width: 14px; height: 7px;
  border-left: 2px solid var(--on-accent); border-bottom: 2px solid var(--on-accent); transform: rotate(-45deg);
}
.checks li:hover { transform: translateY(-5px); border-color: var(--rule-strong); }
@media (max-width: 640px) { .checks { grid-template-columns: 1fr; } }

/* what we do */
.areas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-12) var(--space-8); }
.areas > div { min-width: 0; display: grid; gap: var(--space-3); align-content: start; border-top: 1px solid var(--rule-strong); padding-top: var(--space-6); }
.areas h3 { font-size: 21px; }
.areas p { font-size: 16px; line-height: 1.7; color: var(--ink-muted); }
@media (max-width: 1040px) { .areas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .areas { grid-template-columns: 1fr; gap: var(--space-8); } }
.subs { display: grid; gap: 0; border-top: 1px solid var(--rule); }
.sub { display: grid; gap: var(--space-3); padding-block: var(--space-8); border-bottom: 1px solid var(--rule); }
.sub h3 { font-size: 20px; }

/* forms */
.form-card {
  background: var(--surface-raised); border: 1px solid var(--rule); border-radius: var(--radius-md);
  padding: clamp(24px, 4vw, 48px);
}
form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6); }
form .full { grid-column: 1 / -1; }
@media (max-width: 620px) { form { grid-template-columns: 1fr; } }
.field { display: grid; gap: var(--space-2); min-width: 0; align-content: start; }
label, legend { font-size: var(--fs-small); line-height: 1.4; font-weight: 500; color: var(--ink); }
input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%; font: inherit; font-weight: 400; font-size: 16px; color: var(--ink);
  background: var(--surface); border: 1px solid var(--rule-strong); border-radius: var(--radius-sm);
  padding: 12px 14px; min-height: 50px; transition: border-color .2s ease, box-shadow .2s ease;
}
input:hover, textarea:hover { border-color: var(--border); }
input:focus-visible, textarea:focus-visible { outline: none; border-color: var(--focus); box-shadow: 0 0 0 2px var(--focus); }
.req { color: var(--accent); margin-left: 3px; font-weight: 500; }
.req-note { font-size: 14px; color: var(--ink-muted); margin: 0 0 calc(-1 * var(--space-2)); }
.req-note .req { margin: 0 2px 0 0; }
input::placeholder { color: var(--ink-muted); opacity: .55; }
.select { position: relative; }
.select::after {
  content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; pointer-events: none;
  border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: translateY(-70%) rotate(45deg);
}
select {
  width: 100%; font: inherit; font-weight: 400; font-size: 16px; color: var(--ink); -webkit-appearance: none; appearance: none;
  background: var(--surface); border: 1px solid var(--rule-strong); border-radius: var(--radius-sm);
  padding: 12px 40px 12px 14px; min-height: 50px; cursor: pointer; transition: border-color .2s ease, box-shadow .2s ease;
}
select:invalid { color: var(--ink-muted); }
select:hover { border-color: var(--border); }
select:focus-visible { outline: none; border-color: var(--focus); box-shadow: 0 0 0 2px var(--focus); }
.err { display: none; font-size: 14px; line-height: 1.4; font-weight: 500; color: var(--ink); }
.err::before { content: "! "; color: var(--accent); font-weight: 800; }
.field.show-err .err, fieldset.show-err .err { display: block; }
.field.show-err input, .field.show-err select, .field.show-err textarea { border-color: var(--ink); box-shadow: inset 3px 0 0 var(--accent); }
fieldset.show-err .chip span { border-color: var(--ink); }
fieldset .err { margin-top: var(--space-3); }
textarea { min-height: 136px; resize: vertical; line-height: 1.6; }
fieldset { border: 0; padding: 0; min-width: 0; }
legend { padding: 0; margin-bottom: var(--space-3); }
.chips { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px;
  border: 1px solid var(--rule-strong); border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 400; cursor: pointer; font-variant-numeric: tabular-nums;
  transition: background-color .2s ease, border-color .2s ease;
}
.chip span:hover { border-color: var(--border); }
.chip input:checked + span { background: var(--accent-soft); border-color: var(--accent-soft); color: var(--on-accent); font-weight: 500; }
.chip input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.form-actions { grid-column: 1 / -1; padding-top: var(--space-2); }
.confirm { display: grid; gap: var(--space-4); align-content: start; }
.confirm p { font-size: 22px; line-height: 1.45; }
.confirm .mark { width: 40px; height: 1px; background: var(--accent); }

/* paying it forward */
/* the Ministers band is short: its heading scrolls with the text instead of following the page, so it stays level with it */
#view-paying-it-forward .band-slate .sticky-col { position: relative; top: auto; }
/* Ministers band in the brand's slate blue, set apart from the navy bands and the tan tint; the body copy goes cream for contrast on slate */
.band.band-slate { background: var(--surface-feature); }
.band-slate .muted { color: var(--ink-inverse); opacity: .9; }
@media (min-width: 901px) { .giveback-col { margin-top: -3px; } }   /* How we give back: the label's letters start level with the list's top rule */
@media (min-width: 901px) { #view-paying-it-forward .band .split > .prose { margin-top: calc(7.5px - 0.5 * var(--fs-lead)); } }   /* Ministers: first line level with the top of the "Serving the church" label */
.give3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-12); }
.give3 > div { min-width: 0; display: grid; gap: var(--space-4); align-content: start; border-top: 1px solid var(--rule-strong); padding-top: var(--space-6); }
@media (max-width: 980px) { .give3 { grid-template-columns: 1fr; gap: var(--space-8); } }

/* about */
.role { font-size: 15px; font-weight: 500; letter-spacing: 0.02em; color: var(--ink-muted); }
.kingdom {
  position: relative; padding-block: clamp(72px, 10vw, 144px); text-align: center;
  background: var(--surface-feature); color: var(--ink-inverse);
}
.kingdom::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--accent); }
.kingdom .wrap { display: grid; gap: var(--space-12); justify-items: center; }
.kingdom blockquote { font-size: clamp(30px, 4.2vw, 60px); line-height: 1.14; letter-spacing: -0.025em; font-weight: 300; max-width: 20ch; text-wrap: balance; }
.kingdom .sprout { width: 34px; height: 34px; }
.kingdom .sprout svg { width: 100%; height: 100%; display: block; }

/* schedule */
.expect { list-style: none; padding: 0; display: grid; border-top: 1px solid var(--rule); max-width: 46ch; }
.expect li { padding: 14px 0 14px 32px; border-bottom: 1px solid var(--rule); position: relative; }
.expect li::before { content: ""; position: absolute; left: 0; top: 27px; width: 16px; height: 1px; background: var(--accent); }

/* footer */
.site-footer { padding-block: var(--space-16) var(--space-12); border-top: 1px solid var(--rule-inverse); }
.site-footer .top { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--space-12); padding-bottom: var(--space-12); border-bottom: 1px solid var(--rule-inverse); }
.site-footer .top > * { min-width: 0; }
@media (max-width: 860px) { .site-footer .top { grid-template-columns: 1fr; gap: var(--space-8); } }
.site-footer .logo { width: 210px; }
.site-footer .logo svg { display: block; width: 100%; height: auto; }
.footer-brand { display: grid; gap: var(--space-6); align-content: start; }
.footer-line { font-size: 20px; line-height: 1.5; max-width: 34ch; color: var(--ink-inverse); }
/* footer: a referral line set apart from the tagline in the tan accent, with the gold rule used for the site's other quotes */
.footer-quote { margin: var(--space-2) 0 0; padding-left: var(--space-4); border-left: 2px solid var(--accent); font-size: clamp(24px, 2.4vw, 32px); line-height: 1.2; font-weight: 300; font-style: italic; letter-spacing: -0.015em; color: var(--ink-inverse-muted); }
.footer-meta { display: grid; gap: var(--space-6); align-content: start; font-size: 15px; line-height: 1.6; color: var(--ink-inverse-muted); }
.footer-meta .contact { display: grid; gap: 2px; justify-items: start; }
.footer-navs { display: grid; gap: 8px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 0; }
.footer-nav.spread { justify-content: space-between; }
@media (max-width: 700px) { .footer-nav.spread { justify-content: flex-start; } }
.site-footer .footer-meta .contact a, .site-footer .footer-links a { color: var(--ink-inverse-muted); text-decoration-color: var(--ink-inverse-muted); }
.site-footer .footer-meta .contact a:hover, .site-footer .footer-links a:hover { color: var(--ink-inverse); }
.footer-nav a { color: var(--ink-inverse); text-decoration: none; font-size: 15px; }
.footer-nav a:hover { text-decoration: underline; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; }
.disclosures { padding-top: var(--space-8); display: grid; gap: var(--space-4); font-size: 13px; line-height: 1.7; color: var(--ink-inverse-muted); }
.disclosures p { font-weight: 400; }
.site-footer .disclosures a { color: inherit; text-decoration-color: currentColor; }
.site-footer .disclosures a:hover { color: var(--ink-inverse); }
.disclosures p:not(.copyright) { text-align: justify; text-justify: inter-word; hyphens: auto; -webkit-hyphens: auto; }
.copyright { color: var(--ink-inverse); padding-top: var(--space-4); }

/* motion: hover */
.areas > div, .give3 > div { position: relative; transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.areas > div::before, .give3 > div::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.areas > div:hover, .give3 > div:hover { transform: translateY(-5px); }
.areas > div:hover::before, .give3 > div:hover::before { transform: scaleX(1); }
.conv-list li { transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.conv-list li::before { transition: width .45s cubic-bezier(.2,.7,.2,1); }
.conv-list li:hover { transform: translateX(10px); }
.conv-list li:hover::before { width: 40px; }
.sub, .expect li { transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.sub:hover, .expect li:hover { transform: translateX(8px); }
.pair > * h2 { transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.pair > *:hover h2 { transform: translateX(6px); }

/* plan review form: tied to "For plan participants" by a gold line, so it reads as the next step */
.plan-split { row-gap: 0; }
/* heading and text share their own grid, so the sticky heading stops at the rule above the form; the letters (not the line box) land on that rule */
@media (min-width: 901px) { .plan-top > .sticky-col { margin-bottom: calc(-0.19 * var(--fs-h2)); } }
/* the form spans the full width, margin to margin; the gold line still drops from "For plan participants" in the right column */
.plan-connect { grid-column: 1 / -1; position: relative; padding-top: 56px; scroll-margin-top: 104px; }
.plan-line { position: absolute; left: calc((100% - var(--space-16)) * 5 / 12 + var(--space-16) + 32px); top: 0; width: 2px; height: 56px; background: var(--accent); }
.plan-line::before { content: ""; position: absolute; left: -4px; top: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.plan-connect .form-card { border-top: 3px solid var(--accent); }
/* plan form: a question as its title, the "* Required" note tucked into the bottom right, level with the bottom of the button */
.form-title { margin: 0 0 var(--space-2); font-size: clamp(24px, 2.4vw, 32px); line-height: 1.2; font-weight: 300; letter-spacing: -0.015em; color: var(--ink); text-wrap: balance; }
.form-actions-split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--space-4); }
.form-actions-split .req-note { margin: 0; line-height: 1; padding-bottom: 2px; }
@media (max-width: 900px) { .plan-connect { grid-column: 1; } .plan-line { left: 20px; } }
.form-card { transition: border-color .3s ease; }
.form-card:focus-within { border-color: var(--rule-strong); }

/* motion: scroll */
.rise { animation: rise .95s cubic-bezier(.2,.7,.2,1) backwards; animation-delay: var(--d, 0ms); }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.tree-frame canvas { transform-origin: 50% 60%; animation: breathe 12s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.004); } }

/* ============ Blue Trust–inspired layer ============
   Borrowed: letterspaced caps eyebrows, two-tone headlines, long line-arrow actions, persona cards under the hero,
   a statement that fills in as you scroll, a Connect pre-footer with a large brand watermark, a sitemap footer over growth rings. */
:root { --ink-accent: #567997; --eyebrow: #415f77; }
.band, .closing, .kingdom, .p-card { --ink-accent: #e6cd8d; --eyebrow: #e6cd8d; }

.eyebrow {
  display: block; margin: 0; font-size: 13px; line-height: 1.4; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; color: var(--eyebrow);
}
.hl { color: var(--ink-accent); }
.gold { color: var(--accent); }
.lt { color: var(--accent-soft); }
.intro-head { display: grid; gap: 20px; justify-items: start; align-content: start; }
.head-stack { display: grid; gap: 18px; justify-items: start; }

/* line arrow, the long hairline with a small head */
.arw {
  position: relative; display: inline-block; flex: none; width: 34px; height: 1px; background: currentColor;
  transition: width .4s cubic-bezier(.2,.7,.2,1);
}
.arw::after {
  content: ""; position: absolute; right: 1px; top: 50%; width: 7px; height: 7px;
  border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: translateY(-50%) rotate(45deg);
}
a:hover .arw, button:hover .arw, a:focus-visible .arw { width: 52px; }
.btn, .btn-outline { text-transform: uppercase; letter-spacing: .16em; font-size: 13.5px; gap: 16px; }
.btn { padding: 15px 26px; }
.btn .arw { width: 26px; }
.btn:hover .arw { width: 40px; }
.nav .btn { font-size: 12.5px; letter-spacing: .14em; padding: 10px 16px; white-space: nowrap; }
.closing .btn { font-size: 14px; }
.btn-outline { border-width: 1px; }
.textlink {
  background: none; padding-bottom: 2px; gap: 16px;
  font-size: 13px; letter-spacing: .18em; text-transform: uppercase;
}
.textlink:hover { color: var(--ink-accent); }
.band .textlink:hover { color: var(--ink-inverse-muted); }
.btn-line {
  display: inline-flex; align-items: center; gap: 22px; padding-block: 12px;
  color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
}
.btn-line .ln-l { width: 64px; height: 1px; background: var(--accent); transition: width .4s cubic-bezier(.2,.7,.2,1); }
.btn-line .arw { width: 64px; color: var(--accent); }
.btn-line:hover { color: var(--ink); }
.btn-line:hover .ln-l, .btn-line:hover .arw { width: 92px; }
@media (max-width: 560px) { .btn-line .ln-l { display: none; } .btn-line { gap: 16px; font-size: 13px; } }

/* utility bar + caps nav */
.utility { background: var(--surface-inverse); color: var(--ink-inverse-muted); font-size: 11.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
.utility .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); min-height: 38px; }
.utility ul { display: flex; gap: 28px; list-style: none; padding: 0; margin: 0; }
.utility a { color: var(--ink-inverse); text-decoration: none; }
.utility a:hover { color: var(--ink-inverse-muted); }
@media (max-width: 640px) { .utility .u-left { display: none; } .utility .wrap { justify-content: flex-end; } }
.nav ul { gap: 26px; }
.nav ul a { font-size: 12.5px; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; }
@media (max-width: 1360px) {
  .menu-toggle { display: inline-flex; }
  .site-header .wrap { flex-wrap: wrap; min-height: 76px; gap: 0; }
  .brand { width: 160px; }
  .nav { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: var(--space-6); padding-block: var(--space-4) var(--space-8); }
  .nav.open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding-block: 14px; font-size: 22px; font-weight: 300; letter-spacing: -0.01em; text-transform: none; border-bottom: 1px solid var(--rule); }
  .nav ul a::after { display: none; }
  .nav ul a[aria-current="page"] { color: var(--ink-muted); }
  .nav .btn { min-height: 52px; font-size: 13.5px; }
}

/* persona cards */
.persona { padding-block: 0; margin-top: calc(clamp(32px, 5vw, 72px) - var(--space-24)); }   /* desktop: the grey line sits midway, the same space above it as between it and the photo below (72px on a full-size screen) */
/* desktop: the same grey line as on mobile, margin to margin across the top of this block; the photo and text keep their own space below it */
/* "Who we work with" and "Generosity" share one light-yellow band, from where the grey line used to sit down to the Connect band;
   the colour change now does the separating, so the line above is gone (the rule between the two blocks stays) */
.persona, .give-row { background: var(--surface-tint); }
@media (max-width: 900px) { .persona { margin-top: calc(var(--space-12) - var(--space-24)); } }   /* stacked: this block starts right where the photo above ends (cancels that section's bottom padding) */
@media (max-width: 760px) { .persona { margin-top: calc(var(--space-12) - var(--space-16)); } }   /* sections use the smaller padding here */
/* stacked: a hairline separates this block from the photo above, with the same space above the line as below it */
@media (max-width: 900px) { .persona-split .mm-block { padding-block: clamp(32px, 5vw, 72px); } }   /* the band starts 48px below the photo above, where the grey line used to be */   /* same spacing as the "Paying it forward" rule below: 48px above the line (that photo's gap), the block's own padding below */
.persona-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); }
.p-card {
  position: relative; overflow: hidden; isolation: isolate; min-width: 0;
  display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-12);
  min-height: 440px; padding: 34px 30px 30px; border-radius: var(--radius-md);
  background: var(--surface-inverse); color: var(--ink-inverse); text-decoration: none;
}
.p-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--brand-slate);
  clip-path: inset(100% 0 0 0); transition: clip-path .7s cubic-bezier(.2,.7,.2,1);
}
.p-card::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--accent);
  transform: scaleX(.16); transform-origin: left; transition: transform .7s cubic-bezier(.2,.7,.2,1);
}
.p-card:hover, .p-card:focus-visible { color: var(--ink-inverse); }
.p-card:hover::before, .p-card:focus-visible::before { clip-path: inset(0 0 0 0); }
.p-card:hover::after, .p-card:focus-visible::after { transform: scaleX(1); }
.p-top { display: grid; gap: var(--space-4); justify-items: start; }
.p-icon { width: 40px; height: 40px; color: var(--accent); }
.p-icon svg { display: block; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.p-card .eyebrow { color: var(--ink-inverse-muted); }
.p-body { display: grid; gap: var(--space-4); align-content: start; }
.p-card h3 { font-size: clamp(25px, 2.3vw, 32px); font-weight: 300; line-height: 1.16; letter-spacing: -0.02em; color: var(--ink-inverse); }
.p-card p { font-size: 16px; line-height: 1.6; color: var(--ink-inverse-muted); max-width: 40ch; }
.p-more { display: inline-flex; align-items: center; gap: 16px; margin-top: var(--space-2); font-size: 13px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-inverse); }
.p-card:hover .arw, .p-card:focus-visible .arw { width: 60px; }
@media (max-width: 960px) {
  .persona-grid { grid-template-columns: 1fr; }
  .p-card { min-height: 0; gap: var(--space-8); }
}

/* cards with different text lengths: start every headline at the same height */
.persona-grid.top-aligned .p-card { justify-content: flex-start; min-height: 0; }
@supports (grid-template-rows: subgrid) {
  .persona-grid.top-aligned .p-card { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: var(--space-12); align-content: start; }
}

/* statement that fills in on scroll */
.statement-sec { padding-block: clamp(72px, 9vw, 136px); text-align: center; border-top: 1px solid var(--rule); }
.statement-sec .wrap { display: grid; justify-items: center; gap: var(--space-12); }
.fill-text { font-size: clamp(30px, 3.9vw, 56px); line-height: 1.18; font-weight: 300; letter-spacing: -0.022em; max-width: 24ch; text-wrap: balance; }
.js-fill .w { opacity: .2; transition: opacity .45s ease; }
.js-fill .w.on { opacity: 1; }

/* home: stacked "who we work with" and "generosity" blocks (hairline rules, big light headline, short line, gold-underlined link) */
.mm-block { display: grid; gap: 24px; align-content: start; justify-items: start; padding-block: clamp(32px, 5vw, 72px); }
.mm-block.ruled-top { border-top: 1px solid var(--rule); }
.mm-block.ruled-both { border-block: 1px solid var(--rule); }
.mm-block h2 { margin: 0; font-weight: 300; font-size: clamp(32px, 3.8vw, 52px); line-height: 1.1; letter-spacing: -0.022em; text-wrap: balance; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.mm-block:hover h2 { transform: translateX(6px); }
.mm-block p { margin: 0; font-size: clamp(19px, 1.7vw, 23px); line-height: 1.5; color: var(--ink-muted); max-width: 38ch; }
.mm-link {
  display: inline-flex; align-items: center; gap: 10px; padding-bottom: 4px;
  font-weight: 500; font-size: 16px; color: var(--ink); text-decoration: none;
  background: linear-gradient(var(--accent), var(--accent)) left bottom / 100% 1px no-repeat;
  transition: background-size .3s ease;
}
.mm-link svg { width: 15px; height: 15px; transition: transform .25s ease; }
.mm-link:hover { color: var(--ink); background-size: 0% 1px; }
.mm-link:hover svg { transform: translateX(4px); }

/* paying-it-forward row on home */
.give-row .split { align-items: end; }
.give-row .stack { gap: var(--space-8); }

/* pre-footer: Connect / Begin the conversation */
.closing::after {
  content: ""; position: absolute; right: -3%; bottom: -22%; width: clamp(280px, 36vw, 560px); aspect-ratio: 1;
  pointer-events: none; opacity: .1;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 720 720'%3E%3Cpath fill='%23e6cd8d' d='M454.45,190.03c-1.59-1.54-21.84,14.17-24.44,16.38-72.63,61.86-84.14,149.93-76.02,241.59,2.66,30.020,20.36,28.35,40.52,41.16,71.42,45.37,55.66,156.71-24.61,182.28-111.74,35.6-187.98-108.21-98.62-177.97,19.27-15.05,37.74-15.39,40.76-45.59,2.85-28.48,3.88-68.53,4.78-97.89.38-12.36,1.13-28.36-10.9-35.98-12.91-8.17-42.66-13.7-59.71-21.98-27.62-13.41-53.74-36.750-71-62.04-7.81-11.44-18.72-27.12-19.35-40.84-.6-11.79,34.8-.19,42.3,1.54,58.48,13.54,95.77,51.36,127.87,99.67,2.18-40.94,5.75-83.94,25.3-120.59,40.44-75.8,139.25-96.71,212.76-126.8-13.3,80.25-11.57,195.1-90.29,242.27-21.48,12.87-40.54,26.16-76.14,27.24-6.62.2-11.73-1.2-13.19-2.25l69.95-120.2Z'/%3E%3C/svg%3E");
}
.closing .wrap { position: relative; z-index: 1; }
.closing.prefooter .wrap { grid-template-columns: minmax(0, 5fr) 1px minmax(0, 6fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.pf-head { display: grid; gap: var(--space-6); justify-items: start; }
.pf-head h2 { font-size: clamp(40px, 5.2vw, 76px); line-height: 1.04; letter-spacing: -0.03em; max-width: 12ch; }
.pf-divider { align-self: stretch; width: 1px; background: var(--rule-feature); }
.pf-body { display: grid; gap: var(--space-8); justify-items: start; padding-top: 6px; }
.pf-body p { font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-inverse); opacity: .92; max-width: 40ch; }
.pf-body p + p { margin-top: calc(-1 * var(--space-4)); }
@media (min-width: 861px) { .pf-body { padding-top: 47px; } }   /* first line level with the top of the headline */
@media (max-width: 860px) {
  .closing.prefooter .wrap { grid-template-columns: 1fr; gap: var(--space-8); }
  .pf-divider { width: 100%; height: 1px; }
  .closing::after { bottom: -8%; right: -18%; }
}

/* sitemap footer over growth rings */
.site-footer { position: relative; overflow: hidden; isolation: isolate; }
.site-footer .wrap { position: relative; z-index: 1; }
.site-footer .top { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
@media (max-width: 960px) { .site-footer .top { grid-template-columns: 1fr; gap: var(--space-12); } }
.sitemap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-8); }
.sitemap > div { display: grid; gap: var(--space-4); align-content: start; min-width: 0; }
.sitemap h4 { margin: 0; color: var(--ink-inverse-muted); font-size: 12px; }
.sitemap ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.sitemap ul a { color: var(--ink-inverse); text-decoration: none; font-size: 12.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; line-height: 1.5; }
.sitemap ul a:hover { color: var(--ink-inverse-muted); }
.sitemap .plain { font-size: 15px; line-height: 1.6; color: #fff; }
.sitemap .plain .plain-email { display: inline-block; margin-top: 14px; }
.sitemap .plain a { color: #fff; text-decoration-color: var(--ink-inverse-muted); }
@media (max-width: 700px) { .sitemap { grid-template-columns: 1fr 1fr; } .sitemap > div:nth-child(2) { grid-column: 1 / -1; order: 3; } }
.footer-base {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-4);
  margin-top: var(--space-8); padding-top: var(--space-6); border-top: 1px solid var(--rule-inverse);
  font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-inverse);
}
.to-top {
  display: inline-flex; align-items: center; gap: 12px; padding: 8px 0; background: none; border: 0; cursor: pointer;
  font: inherit; letter-spacing: inherit; text-transform: inherit; color: var(--ink-inverse);
}
.to-top .arw { width: 1px; height: 22px; }
.to-top .arw::after { right: auto; left: 50%; top: 1px; transform: translateX(-50%) rotate(-45deg); }
.to-top:hover .arw { width: 1px; height: 32px; }
.rings {
  position: absolute; z-index: 0; right: -160px; bottom: -300px; width: clamp(420px, 46vw, 720px); height: auto;
  pointer-events: none; opacity: .75;
}
.rings path { fill: none; stroke: var(--rule-inverse); stroke-width: 1.2; }
.rings path.heart { stroke: var(--accent); opacity: .5; }
.disclosures { position: relative; }

/* photography: the brand shoot, set like prints. Small corners, no shadow, a tinted ground while each one loads. */
.photo { position: relative; margin: 0; overflow: hidden; width: 100%; max-width: 100%; border-radius: var(--radius-md); background: var(--surface-tint); }
.photo img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform 1.4s cubic-bezier(.2,.7,.2,1); }
.photo:hover img { transform: scale(1.02); }
.photo.r-3x2 { aspect-ratio: 3 / 2; }
.photo.r-4x5 { aspect-ratio: 4 / 5; }
.photo.r-wide { aspect-ratio: 21 / 9; }
@media (max-width: 700px) { .photo.r-wide { aspect-ratio: 3 / 2; } }

/* what we do: the detail photo under the Executive benefits heading, following it as the page scrolls */
.exec-photo { margin-top: var(--space-2); }
/* desktop: the photo keeps its 3:2 shape and is sized so its bottom meets the rule under the last paragraph on the right */
@media (min-width: 901px) {
  .exec-col { align-self: stretch; grid-template-rows: auto 1fr; }
  /* bleeds off the left edge of the screen and runs down to the bottom of the tinted band; fills that area, cropping as needed */
  .exec-col { --exec-bleed: calc(max(0px, (100vw - var(--wrap) - 2 * var(--gutter)) / 2) + max(var(--gutter), env(safe-area-inset-left, 0px))); }
  .exec-col .photo.exec-photo {
    aspect-ratio: auto; height: calc(100% + var(--space-24)); width: auto; max-width: none; min-height: 0;
    margin: 0 0 calc(-1 * var(--space-24)) calc(-1 * var(--exec-bleed)); align-self: stretch; justify-self: stretch;
    border-radius: 0 var(--radius-md) 0 0;
  }
  .exec-col .exec-photo img { position: absolute; inset: 0; }
}
@media (max-width: 900px) { .exec-photo { max-width: 520px; } }

/* home: "who we work with" beside the clients photo */
.persona-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-16); align-items: center; }
.persona-split > * { min-width: 0; }
.persona-split .mm-block p { max-width: 34ch; }   /* a touch slimmer than the default block */
@media (min-width: 901px) { .persona-split .photo { margin-block: clamp(32px, 5vw, 72px); } }   /* same breathing room as the text beside it, so the photo clears the rules above and below */
@media (max-width: 900px) { .persona-split { grid-template-columns: 1fr; gap: 0; } .persona-split .photo { margin-bottom: var(--space-12); } }

/* who we serve: traits list beside a portrait */
.serve-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--space-16); align-items: start; }
.serve-grid > * { min-width: 0; }
.serve-photo { margin-top: 6px; }
@media (max-width: 900px) { .serve-grid { grid-template-columns: 1fr; gap: var(--space-12); } .serve-photo { max-width: 460px; } }
/* the closing line answers the opening one: same gold rule, larger, full ink, last words in the accent tone */
.serve-body .serve-after {
  max-width: none; margin-top: var(--space-4); padding-left: var(--space-6); border-left: 2px solid var(--accent);
  font-size: clamp(22px, 2.2vw, 32px); line-height: 1.25; font-weight: 300; letter-spacing: -0.018em; color: var(--ink); text-wrap: balance;
}

/* home: Michael beside the four convictions, opposite side from the clients photo below */
.conv-split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-16); align-items: start; }
.conv-split > * { min-width: 0; }
/* desktop: the photo runs exactly from the list's top rule to the rule under the last conviction */
@media (min-width: 901px) {
  .conv-split { align-items: stretch; }
  .conv-split .photo.conv-photo { aspect-ratio: auto; min-height: 360px; }
  .conv-split .conv-photo img { position: absolute; inset: 0; }
}
@media (max-width: 900px) { .conv-split { grid-template-columns: 1fr; gap: var(--space-12); } .conv-photo { order: 2; max-width: 460px; } }

/* about: a verse under the bio, set like the site's other quotes with its reference as a small label */
.bio-verse { margin: var(--space-4) 0 0; padding-left: var(--space-6); border-left: 2px solid var(--accent); display: grid; gap: var(--space-3); }
.bio-verse blockquote { margin: 0; font-size: clamp(21px, 2vw, 27px); line-height: 1.35; font-weight: 300; letter-spacing: -0.012em; color: var(--ink); text-wrap: pretty; }
.bio-verse figcaption { font-size: 13px; line-height: 1.4; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--eyebrow); }
/* about: name and bio on the left, headshot on the right */
.bio-split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-16); align-items: start; }
.bio-split > * { min-width: 0; }
.bio-text { display: grid; gap: var(--space-8); align-content: start; }
.headshot { max-width: 400px; justify-self: end; }
.photo.headshot { aspect-ratio: 599 / 900; }   /* the photo's own shape: never cropped */
.headshot img { object-position: 50% 18%; }
/* desktop: the headshot runs exactly from the top of the "Head Financial Planner" label to the bottom of the last paragraph */
@media (min-width: 901px) {
  /* text column as wide as the text; the photo is centred in the space between the text's edge and the right margin */
  /* the photo has its own size (308px wide at most, shrinking with the window, never growing); its column always leaves 48px either side */
  .bio-split { --hs-w: min(308px, 22vw); grid-template-columns: minmax(0, max-content) minmax(calc(var(--hs-w) + 96px), 1fr); column-gap: 0; align-items: center; }
  /* the whole photo, uncropped (it is 2:3), centred beside the text */
  .bio-split .photo.headshot { aspect-ratio: 599 / 900; width: var(--hs-w); height: auto; margin: 0; max-width: none; justify-self: center; align-self: center; }
  .bio-split .headshot img { position: absolute; inset: 0; object-position: 50% 50%; }
}
@media (max-width: 900px) { .bio-split { grid-template-columns: 1fr; gap: var(--space-8); } .headshot { max-width: 320px; justify-self: start; } }

/* home: generosity block beside the laptop photo, photo on the left so it alternates with the clients photo above */
.give-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-16); align-items: center; border-block: 1px solid var(--rule); padding-block: clamp(32px, 5vw, 72px); }
.give-split > * { min-width: 0; }
.give-split .mm-block { padding-block: 0; }
/* the blue Connect band starts right where the block ends: its gold bar takes the place of the gray rule underneath */
.section.give-row { padding-bottom: 0; }
.give-row .give-split { border-bottom: 0; }
.give-split .mm-block p { max-width: 80%; }   /* a slimmer box; on wide screens each sentence gets its own line */
.br-wide { display: none; }
@media (min-width: 1180px) { .br-wide { display: inline; } }   /* "not an afterthought" starts line two where the first line fits whole */   /* wider than the default block, a little short of the column's edge */
.give-photo { max-width: 440px; }
@media (max-width: 900px) { .give-split { grid-template-columns: 1fr; gap: var(--space-8); } .give-photo { order: 2; max-width: 460px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* forms on the live site: spam trap (hidden from people) and a send-failure message */
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-fail { font-size: 15px; line-height: 1.5; font-weight: 500; color: var(--ink); padding: var(--space-3) var(--space-4); border-left: 2px solid var(--accent); background: var(--surface-tint); }
.form-fail:focus { outline: none; }
form[aria-busy="true"] .btn { opacity: .7; cursor: progress; }
.skip-link { position: absolute; left: var(--space-4); top: -100px; z-index: 100; padding: 10px 16px; background: var(--surface-inverse); color: var(--ink-inverse); border-radius: var(--radius-md); text-decoration: none; font-weight: 500; }
.skip-link:focus { top: var(--space-4); color: var(--ink-inverse); }
