/* =====================================================================
   Investing Expat — site.css
   Design: forest / cream / limestone / brass (Brand Guidelines V2, Dec 2026)
   One stylesheet for the whole site. Edit the tokens below first.
   ===================================================================== */

:root {
  /* Brand palette */
  --forest: #243B35;
  --cream: #FAF8F3;
  --limestone: #EEE9DF;
  --brass: #97794E;
  --forest-soft: #46564D;
  --rule: #D9D3C5;
  --rule-dark: #C4BDAD;

  /* Typography — ONE sans for headings/body/nav, ONE serif for small
     tracked labels, plus the header wordmark + sub-title faces.
     Rule: every section uses these four and nothing else. */
  --f-sans: 'Figtree', 'Avenir Next', 'Helvetica Neue', 'Segoe UI', Arial, sans-serif;
  --f-serif: 'Libre Caslon Text', Georgia, 'Times New Roman', serif;

  /* Header wordmark + sub-title (option F: Marcellus + Libre Caslon Text).
     The sub-title face doubles as the site's label serif above, so the whole
     site uses just three faces. To switch to another option from
     z/0010-header-fonts.html, change these variables, --f-serif above and the
     Google Fonts <link> in build/partials/head-common.html */
  --wm-font: 'Marcellus', 'Trajan Pro', Georgia, serif;
  --wm-weight: 400;
  --wm-track: .26em;
  --tg-font: var(--f-serif);
  --tg-weight: 400;
  --tg-track: .2em;
  --tg-scale: .26;      /* sub-title size as a fraction of the wordmark size */
  --wm-c: var(--forest); /* wordmark colour; override where it sits on a dark ground */

  /* Layout */
  --hdr-full: 176px;    /* header height at the top of the page */
  --hdr-compact: 68px;  /* header height once scrolled */
  --pad: 7%;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-compact) + 18px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream); color: var(--forest);
  font: 400 16px/1.75 var(--f-sans); -webkit-font-smoothing: antialiased;
  padding-top: var(--hdr-full);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { max-width: 65ch; margin: 0 0 1em; }
h2 + p { margin-top: 22px; }
h1, h2, h3 { font-family: var(--f-sans); font-weight: 300; letter-spacing: -.025em; line-height: 1.22; margin: 0; }
h1 { font-size: clamp(36px, 4.25vw, 64px); }
h2 { font-size: clamp(32px, 3.3vw, 52px); }
h3 { font-size: clamp(23px, 2.2vw, 32px); }
.as-h2 { font-size: clamp(32px, 3.3vw, 52px); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--forest); color: var(--cream); padding: 10px 16px; font-size: 13px; }
.skip-link:focus { top: 12px; }

/* Small tracked serif labels ("eyebrows") */
.eyebrow, .num {
  font-family: var(--f-serif); font-weight: 400; font-size: 11.5px;
  text-transform: uppercase; letter-spacing: .14em; margin: 0 0 20px; line-height: 1.5;
}
.num { display: block; margin-bottom: 16px; }
.eyebrow--lg { font-size: 19px; }     /* large section label ("Who we help", "What we do") */

/* Buttons */
.btn, button.btn {
  display: inline-block; background: var(--forest); color: var(--cream);
  border: 1px solid var(--forest); border-radius: 0; cursor: pointer;
  font: 500 11px/1.2 var(--f-sans); letter-spacing: .13em; text-transform: uppercase;
  padding: 16px 25px; transition: background .2s, color .2s;
}
.btn:hover { background: transparent; color: var(--forest); }
.btn.light { background: transparent; color: var(--forest); }
.btn.light:hover { background: var(--forest); color: var(--cream); }
.dark .btn, .dark button.btn { background: var(--cream); color: var(--forest); border-color: var(--cream); }
.dark .btn:hover { background: transparent; color: var(--cream); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }

/* =====================================================================
   Header — large at the top of the page, collapses to one bar on scroll;
   below 1000px the menu becomes an icon that drops the links down.
   ===================================================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--cream); border-bottom: 1px solid var(--rule);
  transition: background .25s, box-shadow .25s;
}
.header-inner {
  position: relative; height: var(--hdr-full); padding: 0 5%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
}
.brand { display: inline-flex; flex-direction: column; align-items: center; color: var(--wm-c); }
.wm {
  font: var(--wm-weight) clamp(24px, 3vw, 40px)/1 var(--wm-font); letter-spacing: var(--wm-track);
  text-transform: uppercase; white-space: nowrap; color: var(--wm-c);
  margin-right: calc(-1 * var(--wm-track));      /* keeps the word optically centred */
}
.tg {
  font: var(--tg-weight) calc(clamp(24px, 3vw, 40px) * var(--tg-scale))/1 var(--tg-font); letter-spacing: var(--tg-track);
  text-transform: uppercase; white-space: nowrap; margin-top: 1.15em; margin-right: calc(-1 * var(--tg-track));
}
.site-nav { display: flex; align-items: center; gap: 32px; font: 500 11px/1 var(--f-sans); letter-spacing: .12em; text-transform: uppercase; }
.site-nav > a:not(.btn) { position: relative; padding: 6px 0; }
.site-nav > a:not(.btn)::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.site-nav > a:not(.btn):hover::after, .site-nav > a[aria-current]::after { transform: scaleX(1); }
.nav-cta.btn { padding: 12px 18px; }
.menu-toggle { display: none; }

/* Language selector */
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; padding: 6px 0; display: flex; align-items: center; gap: 6px; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary::after { content: ''; border: 4px solid transparent; border-top-color: currentColor; margin-top: 4px; }
.lang[open] summary::after { margin-top: -4px; transform: rotate(180deg); }
.lang ul { position: absolute; right: 0; top: calc(100% + 8px); list-style: none; margin: 0; padding: 8px 0; min-width: 150px; background: var(--cream); border: 1px solid var(--rule); box-shadow: 0 10px 30px rgba(36,59,53,.1); }
.lang li a { display: block; padding: 8px 16px; letter-spacing: .06em; }
.lang li a:hover, .lang li a[aria-current] { background: var(--limestone); }

/* Compact state (added by site.js after scrolling) */
.site-header.is-compact { background: rgba(250,248,243,.95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 8px 28px rgba(36,59,53,.08); }
.site-header.is-compact .header-inner { height: var(--hdr-compact); flex-direction: row; justify-content: space-between; gap: 28px; animation: hdrIn .3s ease both; }
.site-header.is-compact .brand { flex-direction: row; }
.site-header.is-compact .wm { font-size: 21px; margin-right: 0; }
.site-header.is-compact .tg { display: none; }
.site-header.is-compact .site-nav { gap: 26px; }
.site-header.is-compact .nav-cta.btn { padding: 11px 16px; }
@keyframes hdrIn { from { opacity: .35; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

@media (max-width: 1000px) {
  :root { --hdr-full: 104px; --hdr-compact: 62px; }
  .header-inner, .site-header.is-compact .header-inner { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; justify-content: stretch; gap: 0; padding: 0 3%; }
  .brand, .site-header.is-compact .brand { grid-column: 2; flex-direction: column; justify-self: center; }
  .wm { font-size: clamp(16px, 5.4vw, 20px); --wm-track: .2em; }
  .tg { font-size: 7px; --tg-track: .12em; margin-top: 1.2em; line-height: 1.5; }
  .site-header.is-compact .wm { font-size: 19px; }
  .site-header.is-compact .tg { display: none; }
  .brand { min-width: 0; }
  .tg { white-space: normal; text-align: center; }  /* wraps instead of colliding with the menu icon on very narrow phones */
  .menu-toggle { display: grid; grid-column: 3; justify-self: end; place-items: center; width: 44px; height: 44px; background: none; border: 0; padding: 0; cursor: pointer; color: var(--forest); }
  .menu-toggle .bars, .menu-toggle .bars::before, .menu-toggle .bars::after { display: block; width: 22px; height: 1.5px; background: currentColor; transition: transform .25s, background .25s; }
  .menu-toggle .bars { position: relative; }
  .menu-toggle .bars::before, .menu-toggle .bars::after { content: ''; position: absolute; left: 0; }
  .menu-toggle .bars::before { top: -7px; } .menu-toggle .bars::after { top: 7px; }
  .menu-open .menu-toggle .bars { background: transparent; }
  .menu-open .menu-toggle .bars::before { top: 0; transform: rotate(45deg); }
  .menu-open .menu-toggle .bars::after { top: 0; transform: rotate(-45deg); }
  .site-nav, .site-header.is-compact .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--cream);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 6% 22px;
    border-bottom: 1px solid var(--rule); box-shadow: 0 18px 30px rgba(36,59,53,.1); font-size: 12px;
  }
  .menu-open .site-nav { display: flex; }
  .site-nav > a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--rule); }
  .site-nav > a:not(.btn)::after { display: none; }
  .nav-cta.btn, .site-header.is-compact .nav-cta.btn { margin-top: 18px; text-align: center; padding: 16px; }
  .lang { margin-top: 14px; }
  .lang ul { position: static; box-shadow: none; border: 0; padding: 4px 0 0; }
  .site-header.is-compact .header-inner { animation: none; }
}

/* =====================================================================
   Page sections
   ===================================================================== */
.section { padding: clamp(60px, 8vw, 100px) var(--pad); }
.section--sand, .sand { background: var(--limestone); }
.dark { background: var(--forest); color: var(--cream); }
.section-head { max-width: 900px; }
.section-head h2 + p { margin-top: 22px; font-size: 19px; }

/* Hero image under the header */
.hero-art { height: clamp(220px, 32vw, 480px); position: relative; overflow: hidden; background: #c4bda8; }
.hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }

/* Dark facts strip */
.strip { background: var(--forest); color: var(--cream); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: 28px 6%; text-align: center; align-items: center; }
.strip > * { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; line-height: 1.6; }
.strip strong { font: 400 36px/1 var(--f-serif); }
.strip span { font: 500 11px/1.6 var(--f-sans); letter-spacing: .085em; text-transform: uppercase; }
.strip > * + * { border-left: 1px solid rgba(250,248,243,.24); padding-left: 24px; }

/* Intro (two columns) */
.intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8%; align-items: start; }
.intro p:not(.eyebrow) { font-size: 19px; }

/* Client profiles */
.profiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; margin-top: 56px; }
.profile { display: flex; flex-direction: column; background: var(--limestone); }
.profile-image {
  position: relative; min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 30px; background-size: cover; background-position: center; color: var(--cream); isolation: isolate;
}
.profile-image::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(14,30,26,.9) 0%, rgba(14,30,26,.62) 42%, rgba(14,30,26,.14) 80%, transparent 100%); }
.profile-image .num, .profile-image h3 { text-shadow: 0 1px 14px rgba(14,30,26,.45); }
.profile-image .num { margin-bottom: 10px; }
.profile-image h3 { font-size: clamp(25px, 2.7vw, 36px); }
.profile-body { padding: 26px 30px 32px; flex: 1; }
.profile-body p { margin: 0; max-width: none; }

/* Numbered cards (services, values, services-detail) */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 42px); margin-top: 45px; align-items: stretch; }
.cards.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { border-top: 1px solid var(--rule-dark); padding-top: 22px; min-width: 0; }
.card h3 { font-size: clamp(23px, 2.1vw, 30px); line-height: 1.25; }
.cards.cols-4 .card h3 { font-size: clamp(22px, 1.8vw, 26px); }
.card p { margin: 14px 0 0; font-size: 15.5px; line-height: 1.75; }
@supports (grid-template-rows: subgrid) {
  .cards { grid-template-rows: auto auto 1fr; row-gap: 0; margin-bottom: calc(-1 * clamp(24px, 3vw, 42px)); }
  .card { display: grid; grid-row: span 3; grid-template-rows: subgrid; padding-bottom: clamp(24px, 3vw, 42px); }
}
.card .num { color: var(--forest); }
.more { display: inline-block; margin-top: 22px; font: 500 11px/1 var(--f-sans); letter-spacing: .13em; text-transform: uppercase; border-bottom: 1px solid var(--brass); padding-bottom: 6px; }
.more:hover { color: var(--brass); }
.cards + .more { margin-top: 44px; }

/* FAQ */
.faq-list { margin-top: 38px; max-width: 980px; }
.faq-list details { border-top: 1px solid var(--rule-dark); padding: 18px 0; }
.faq-list details:last-child { border-bottom: 1px solid var(--rule-dark); }
.faq-list summary { cursor: pointer; font-size: 19px; line-height: 1.45; list-style: none; display: flex; justify-content: space-between; gap: 24px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; color: var(--brass); font-size: 26px; line-height: 1; flex-shrink: 0; }
.faq-list details[open] summary::after { content: '\2212'; }
.faq-list .answer p { margin: 12px 0 0; max-width: 74ch; }
.faq-actions { margin-top: 40px; }

/* Photo interlude */
.photo-interlude { position: relative; isolation: isolate; display: grid; place-items: center; text-align: center; color: var(--cream); min-height: clamp(300px, 35vw, 510px); padding: 55px var(--pad); background-size: cover; background-position: center; }
.photo-interlude::before { content: ''; position: absolute; inset: 0; background: rgba(18,33,28,.48); z-index: -1; }
.photo-interlude h2 { font-size: clamp(34px, 4.5vw, 66px); max-width: 19ch; margin: 0 auto; }
.photo-interlude .eyebrow { margin-bottom: 18px; text-shadow: 0 1px 10px rgba(14,30,26,.6); }

/* Experts */
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(30px, 5vw, 60px); margin-top: 44px; }
.team article { display: flex; flex-direction: column; min-width: 0; }
.portrait { aspect-ratio: 5 / 4; overflow: hidden; background: var(--limestone); }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.team h3 { margin-top: 24px; }
.team .eyebrow { margin: 10px 0 14px; }
.team article > a { margin-top: auto; padding-top: 12px; border-bottom: 0; }
.team .more { align-self: flex-start; }

/* Contact + forms */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 7%; align-items: start; }
.contact-alt { margin-top: 34px; font-size: 14px; }
.contact-alt a { border-bottom: 1px solid var(--brass); }
form { display: grid; gap: 16px; }
label { display: block; font-size: 13px; }
input, select, textarea {
  width: 100%; padding: 13px; margin-top: 6px; border: 1px solid #aaa99d; border-radius: 0;
  background: var(--cream); color: var(--forest); font: 400 15px/1.4 var(--f-sans);
}
select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23243B35' stroke-width='1.4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
textarea { min-height: 120px; resize: vertical; }
input[type=checkbox] { width: auto; margin: 0 8px 0 0; vertical-align: -2px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.consent { font-size: 13px; line-height: 1.55; }
.form-status { font-size: 13px; min-height: 1.4em; line-height: 1.5; }
.form-status.ok { color: #d9c394; } .form-status.err { color: #f3b9a8; }
.newsletter .form-status.ok { color: var(--brass); } .newsletter .form-status.err { color: #9a3b2a; }
.hp { position: absolute; left: -9999px; }
button.btn[disabled] { opacity: .6; cursor: wait; }
form .btn { justify-self: start; }

/* Newsletter */
.newsletter { padding: 55px var(--pad); border-bottom: 1px solid var(--rule); }
.newsletter h3 { font-size: clamp(26px, 2.6vw, 36px); }
.newsletter form { gap: 12px; }
.newsletter .row { display: flex; gap: 12px; align-items: flex-end; }
.newsletter .row label { flex: 1; }
.newsletter .row .btn { height: 47px; padding-top: 0; padding-bottom: 0; }

/* Footer */
.site-footer { padding: 60px var(--pad) 44px; font-size: 12.5px; line-height: 1.75; color: var(--forest-soft); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 36px 6%; padding-bottom: 38px; margin-bottom: 34px; border-bottom: 1px solid var(--rule); color: var(--forest); }
.site-footer .brand { align-items: flex-start; }
.site-footer .wm { font-size: 25px; margin-right: 0; }
.site-footer .tg { font-size: 8.5px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 14px 30px; font: 500 11px/1 var(--f-sans); letter-spacing: .12em; text-transform: uppercase; align-items: center; }
.footer-nav a:hover { color: var(--brass); }
.legal h4 { font: 400 11.5px/1.5 var(--f-serif); letter-spacing: .14em; text-transform: uppercase; color: var(--forest); margin: 0 0 14px; }
.legal p, .legal li { max-width: 112ch; margin: 0 0 .9em; }
.legal ol { margin: 0 0 1.2em; padding-left: 1.6em; list-style: lower-alpha; }
.legal a { border-bottom: 1px solid var(--brass); }
.legal .copyright { margin-top: 26px; color: var(--forest); font-weight: 500; }

/* =====================================================================
   Inner pages (about, services, contact, blog, articles)
   ===================================================================== */
.page-head { padding: clamp(48px, 7vw, 88px) var(--pad) 8px; max-width: 1180px; }
.page-head h1 { margin-bottom: 18px; }
.page-head .lede { font-size: 19px; }
.page-body { padding: 30px var(--pad) clamp(60px, 8vw, 100px); }
.narrow { max-width: 760px; }
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 6%; align-items: start; }
.about-grid .portrait { aspect-ratio: 1 / 1; }
.prose p, .prose li { font-size: 17px; line-height: 1.85; max-width: 68ch; }
.prose a, .article a:not(.btn):not(.more) { text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 3px; }
.prose h2 { font-size: clamp(26px, 2.6vw, 36px); margin: 2em 0 .6em; }
.prose ul { padding-left: 1.2em; }
.prose img { margin: 2rem 0; max-width: 420px; }

/* Blog index */
.blog-search { margin: 8px 0 36px; max-width: 560px; }
.blog-search input { margin-top: 0; padding: 15px 16px; }
.post-list { list-style: none; margin: 0; padding: 0; max-width: 900px; }
.post-list li { padding: 28px 0; border-top: 1px solid var(--rule-dark); }
.post-list li:last-child { border-bottom: 1px solid var(--rule-dark); }
.post-list a.post-title { font: 300 clamp(23px, 2.3vw, 31px)/1.25 var(--f-sans); letter-spacing: -.02em; }
.post-list a.post-title:hover { color: var(--brass); }
.post-meta { font: 400 11.5px/1.5 var(--f-serif); text-transform: uppercase; letter-spacing: .12em; margin: 12px 0 0; }
.post-excerpt { margin: 12px 0 0; font-size: 16px; }
.tag { display: inline-block; border: 1px solid var(--brass); color: var(--brass); font: 500 10px/1 var(--f-sans); letter-spacing: .14em; padding: 4px 8px; margin-left: 8px; vertical-align: 1px; }

/* Articles */
.article { max-width: 760px; margin: 0 auto; padding: clamp(40px, 6vw, 80px) 6% clamp(56px, 8vw, 100px); }
.article header { margin-bottom: 34px; }
.article h1 { font-size: clamp(34px, 4vw, 54px); margin-bottom: 18px; }
.article-meta { font: 400 11.5px/1.6 var(--f-serif); text-transform: uppercase; letter-spacing: .12em; }
.article-meta a { border-bottom: 1px solid var(--brass); }
.tldr { background: var(--limestone); border-left: 3px solid var(--brass); padding: 24px 28px; margin: 0 0 40px; }
.tldr-label { display: block; font: 400 11.5px/1.5 var(--f-serif); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px; }
.tldr p { margin: 0; font-size: 16.5px; }
.article-body > p, .article-body li { font-size: 17.5px; line-height: 1.85; max-width: 68ch; }
.article-body h2 { font-size: clamp(26px, 2.6vw, 36px); margin: 2em 0 .55em; }
.article-body h3 { margin: 1.6em 0 .5em; }
.article-body ul { padding-left: 1.2em; }
.article-body blockquote { margin: 1.6em 0; padding-left: 1.4em; border-left: 2px solid var(--brass); font-size: 19px; }
.article-body img { margin: 2rem 0; }
.faq { margin-top: 56px; padding-top: 34px; border-top: 1px solid var(--rule-dark); }
.faq h2 { margin-top: 0; }
.faq dt { font-weight: 500; font-size: 18px; margin-top: 26px; }
.faq dd { margin: 8px 0 0; font-size: 16.5px; color: var(--forest-soft); }
.related { margin-top: 50px; }
.related h2 { font-size: 26px; margin: 0 0 12px; }
.related ul { margin: 0; padding-left: 1.2em; }
.byline { margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--rule-dark); font-size: 14px; color: var(--forest-soft); }
.notice-ai { border: 1px solid var(--brass); padding: 18px 22px; margin: 0 0 32px; font-size: 14.5px; }
.notice-ai b { display: block; font: 400 11.5px/1.5 var(--f-serif); letter-spacing: .14em; text-transform: uppercase; color: var(--brass); margin-bottom: 4px; }

/* =====================================================================
   Decision flowcharts (markup from build/flowchart.js, content in content/flowcharts/)
   Phone: one column with a "spine" on the left; side branches hang to the right.
   Wide (container ≥ 700px): spine down the left half, branches go sideways.
   ===================================================================== */
.flowchart {
  --spine: 28px; --fc-gap: 128px; --fc-line: var(--brass);
  container-type: inline-size; margin: 48px 0 56px;
  width: min(940px, calc(100vw - 32px)); position: relative; left: 50%; transform: translateX(-50%);  /* wider than the text column */
}
.flowchart p { max-width: none; margin: 0; }
.flowchart ol, .flowchart ul { list-style: none; margin: 0; padding: 0; }
.flowchart li { max-width: none; font-size: 15px; line-height: 1.55; }
.flowchart figcaption { margin-bottom: 26px; }
.flowchart figcaption .eyebrow { margin-bottom: 8px; }
.flowchart .fc-title { font: 300 clamp(23px, 2.6vw, 31px)/1.3 var(--f-sans); letter-spacing: -.02em; margin-bottom: 8px; }
.flowchart .fc-intro { font-size: 15px; color: var(--forest-soft); }
.flowchart .fc-part-title { font: 400 12px/1.5 var(--f-serif); letter-spacing: .14em; text-transform: uppercase; margin: 0 0 14px; padding-bottom: 8px; border-bottom: 1px solid var(--rule-dark); }

.fc-node { border: 1px solid var(--forest); background: var(--cream); padding: 16px 18px; display: flex; flex-direction: column; justify-content: center; }
.fc-q { position: relative; padding-left: 58px; }
.fc-num { position: absolute; left: 14px; top: calc(50% - 15px); width: 30px; height: 30px; border-radius: 50%; background: var(--brass); color: var(--cream); display: grid; place-items: center; font: 500 13px/1 var(--f-sans); }
.flowchart .fc-question { font-weight: 500; font-size: 16.5px; line-height: 1.45; }
.flowchart .fc-hint { margin-top: 6px; font-size: 13.5px; color: var(--forest-soft); }
.flowchart .fc-outcome { font-weight: 500; font-size: 16px; line-height: 1.4; }
.flowchart .fc-result p + p { margin-top: 6px; font-size: 13.5px; }
.fc-result.tone-go { background: var(--forest); color: var(--cream); }
.fc-result.tone-alt { background: var(--limestone); border-color: var(--rule-dark); }
.fc-result.tone-stop { border: 1.5px dashed var(--brass); }
.fc-answer { position: relative; z-index: 1; display: inline-block; align-self: flex-start; background: var(--cream); color: var(--forest); border: 1px solid var(--fc-line); border-radius: 99px; padding: 3px 11px; font: 500 10.5px/1.5 var(--f-sans); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }

/* connectors: phone */
.fc-exit, .fc-outcomes > li { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 14px 0 0 calc(var(--spine) + 22px); }
.fc-exit::before, .fc-outcomes > li::before { content: ''; position: absolute; left: var(--spine); top: 0; bottom: 0; border-left: 1.5px solid var(--fc-line); }
.fc-exit::after, .fc-outcomes > li::after { content: ''; position: absolute; left: var(--spine); top: 24px; width: 22px; border-top: 1.5px solid var(--fc-line); }
.fc-outcomes > li:last-child::before { bottom: auto; height: 24px; }
.fc-next, .fc-then { position: relative; height: 60px; display: flex; align-items: center; padding-left: var(--spine); }
.fc-next::before, .fc-then::before { content: ''; position: absolute; left: var(--spine); top: 0; bottom: 6px; border-left: 1.5px solid var(--fc-line); }
.fc-next::after, .fc-then::after { content: ''; position: absolute; left: calc(var(--spine) - 4.5px); bottom: 0; border: 5px solid transparent; border-bottom: 0; border-top: 7px solid var(--fc-line); }
.fc-next .fc-answer { align-self: center; transform: translateX(-50%); }
.flowchart .fc-then { margin: 0; font: 400 11.5px/1 var(--f-serif); letter-spacing: .14em; text-transform: uppercase; }
.flowchart .fc-then { padding-left: calc(var(--spine) + 18px); }

/* connectors: wide */
@container (min-width: 700px) {
  .fc-steps > li { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fc-q { grid-column: 1; }
  .fc-exit { grid-column: 2; grid-row: 1; flex-direction: row; align-items: stretch; gap: 0; padding: 0 0 0 var(--fc-gap); }
  .fc-exit > .fc-result { flex: 1; }
  .fc-exit > .fc-answer { position: absolute; left: calc(var(--fc-gap) / 2); top: 50%; transform: translate(-50%, -50%); }
  .fc-exit::before { left: 0; top: 50%; bottom: auto; width: var(--fc-gap); border-left: 0; border-top: 1.5px solid var(--fc-line); }
  .fc-exit::after { left: calc(var(--fc-gap) - 7px); top: calc(50% - 4.5px); width: 0; border: 5px solid transparent; border-right: 0; border-left: 7px solid var(--fc-line); }
  .fc-next { grid-column: 1; padding-left: 50%; }
  .fc-next::before { left: 50%; }
  .fc-next::after { left: calc(50% - 4.5px); }
  .flowchart .fc-then { padding-left: calc(25% + 18px); }
  .fc-then::before { left: 25%; }
  .fc-then::after { left: calc(25% - 4.5px); }

  /* the fork that ends a part: left box sits under the question, right box lines up with the side branches */
  .fc-fork > .fc-outcomes { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); position: relative; }
  .fc-outcomes::before { content: ''; position: absolute; left: 25%; right: calc(25% - var(--fc-gap) / 2); top: 18px; border-top: 1.5px solid var(--fc-line); }
  .fc-outcomes > li { padding: 62px 0 0; gap: 0; --x: 50%; }
  .fc-outcomes > li + li { padding-left: var(--fc-gap); --x: calc(50% + var(--fc-gap) / 2); }
  .fc-outcomes > li > .fc-result { flex: 1; }
  .fc-outcomes > li > .fc-answer { position: absolute; left: var(--x); top: 30px; transform: translateX(-50%); }
  .fc-outcomes > li::before, .fc-outcomes > li:last-child::before { left: var(--x); top: 18px; bottom: auto; height: 37px; }
  .fc-outcomes > li:first-child::before { top: 0; height: 55px; }
  .fc-outcomes > li::after { left: calc(var(--x) - 4.5px); top: 55px; width: 0; border: 5px solid transparent; border-bottom: 0; border-top: 7px solid var(--fc-line); }
}

.fc-paths { margin-top: 30px; border-top: 1px solid var(--rule-dark); border-bottom: 1px solid var(--rule-dark); }
.fc-paths summary { cursor: pointer; padding: 14px 0; font: 400 12px/1.5 var(--f-serif); letter-spacing: .14em; text-transform: uppercase; }
.flowchart .fc-paths ul { padding: 0 0 16px; }
.flowchart .fc-paths li { padding: 7px 0; font-size: 14.5px; }
.fc-paths b { font-weight: 500; }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 850px) {
  .intro, .split, .team, .about-grid { grid-template-columns: 1fr; }
  .intro p { margin-top: 0; }
  .split { gap: 38px; }
  .cards, .cards.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profiles { gap: 22px; }
  .profile-image { min-height: 240px; padding: 22px; }
  .profile-body { padding: 22px; }
  .strip { gap: 12px; padding: 20px 4%; }
  .intro p:not(.eyebrow), .section-head h2 + p, .eyebrow--lg { font-size: 17px; }
  .strip span { font-size: 10px; }
  .strip > * + * { padding-left: 12px; }
}
@media (max-width: 650px) {
  .strip { grid-template-columns: 1fr; gap: 0; padding: 14px 7%; }
  .strip > * + * { border-left: 0; border-top: 1px solid rgba(250,248,243,.24); padding-left: 0; }
  .cards, .cards.cols-2, .cards.cols-4, .profiles { grid-template-columns: 1fr; }
  .fields { grid-template-columns: 1fr; }
  .newsletter .row { flex-direction: column; align-items: stretch; }
  .photo-interlude { min-height: 300px; }
  .faq-list summary { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .fc-steps > li, .fc-result { break-inside: avoid; }
  .site-header, .menu-toggle, form, .newsletter { display: none !important; }
  body { padding-top: 0; }
}
