/* =====================================================================
   MEVAH 1.7.0 — Editorial design layer
   Loaded after styles.css. Self-hosted fonts only (no external requests).
   Fonts: Fraunces (display serif) + Hanken Grotesk (text sans), both SIL OFL 1.1,
   licence files in assets/fonts/.
   Wizard (cv-*) markup, grid and progress logic are intentionally untouched.
   ===================================================================== */

@font-face {
  font-family: "Fraunces";
  src: url("assets/fonts/fraunces-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("assets/fonts/fraunces-var-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("assets/fonts/hanken-grotesk-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --font: "Hanken Grotesk", "Segoe UI", "Helvetica Neue", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --paper: #f8f5ef;
  --sand: #f0eadf;
  --sand-deep: #e6ddcd;
  --mist: #edf3ef;
  --warm: var(--sand);
  --rule: rgba(31, 58, 61, 0.16);
  --rule-strong: rgba(31, 58, 61, 0.32);
  --frame-bg: var(--paper);
  --radius: 6px;
  --radius-sm: 4px;
  --shadow: 0 1px 0 rgba(31, 58, 61, 0.06);
  --shadow-soft: 0 1px 0 rgba(31, 58, 61, 0.06), 0 18px 40px -24px rgba(7, 48, 50, 0.35);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

body {
  font-size: 1.075rem;
  line-height: 1.62;
  background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='220'%20height='220'%3E%3Cfilter%20id='n'%3E%3CfeTurbulence%20type='fractalNoise'%20baseFrequency='.9'%20numOctaves='2'%20stitchTiles='stitch'/%3E%3CfeColorMatrix%20values='0%200%200%200%200.12%200%200%200%200%200.22%200%200%200%200%200.22%200%200%200%200.045%200'/%3E%3C/filter%3E%3Crect%20width='100%25'%20height='100%25'%20filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px 220px;
  font-feature-settings: "ss01" 0;
}
::selection { background: var(--teal-200); color: var(--teal-950); }
a { text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
strong { font-weight: 700; }

h1, h2, h3 { text-wrap: balance; }
h1, h2 { -webkit-hyphens: manual; hyphens: manual; }
.finance-card h3, .cards-3 > .card h3 { -webkit-hyphens: auto; hyphens: auto; }
p { text-wrap: pretty; }

/* ---------- Header ---------- */
.site-header {
  background: rgba(248, 245, 239, 0.94);
  border-bottom: 1px solid var(--rule);
}
.nav a { font-weight: 560; color: var(--ink); letter-spacing: 0.005em; }
.nav a.is-current,
.nav a:hover {
  color: var(--teal-800);
  background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20200%2016'%20preserveAspectRatio='none'%3E%3Cpath%20d='M3%2011C40%206%2080%205%20118%207c28%201.4%2052%202.6%2079-2'%20fill='none'%20stroke='%231aa3a0'%20stroke-width='3.4'%20stroke-linecap='round'/%3E%3C/svg%3E") no-repeat left 100% / 100% 7px;
}
@media (max-width: 900px) {
  .nav a.is-current,
  .nav a:hover { background-size: 4.5rem 7px; background-position: 0.25rem calc(100% - 0.35rem); }
}
.menu-toggle { border-radius: 4px; border-color: var(--rule-strong); background: transparent; }

/* ---------- Buttons: squarer, printed feel ---------- */
.btn { border-radius: 6px; font-weight: 650; letter-spacing: 0.005em; }
.btn-lg { padding: 0.95rem 1.5rem; }
.btn-primary:hover, .btn-cta:hover { transform: translateY(-1px); }
.btn { transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s var(--ease); }
.form-card .wpcf7-submit { border-radius: 6px; }

/* ---------- Kickers: numbered, with a hand-drawn stroke ---------- */
main { counter-reset: sec; }
.section-kicker {
  counter-increment: sec;
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--teal-700);
  margin: 0 0 1rem;
}
.section-kicker::before {
  content: counter(sec, decimal-leading-zero);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0;
  color: var(--coral-text);
  padding-right: 3.1rem;
  margin-right: 0.65rem;
  background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2040%208'%20preserveAspectRatio='none'%3E%3Cpath%20d='M2%205.4C10%202.8%2022%202.4%2038%203.6'%20fill='none'%20stroke='%230a6a6c'%20stroke-width='2'%20stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right center / 2.5rem 8px;
}
.bg-teal .section-kicker { color: var(--teal-200); }
.bg-teal .section-kicker::before { color: var(--mint); background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2040%208'%20preserveAspectRatio='none'%3E%3Cpath%20d='M2%205.4C10%202.8%2022%202.4%2038%203.6'%20fill='none'%20stroke='%235cc9a7'%20stroke-width='2.4'%20stroke-linecap='round'/%3E%3C/svg%3E"); }

/* ---------- Headings ---------- */
.hero h1,
.landing-hero h1,
.page-hero h1 {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.022em;
  line-height: 1.04;
  font-size: clamp(2.35rem, 5.1vw, 4.15rem);
  text-shadow: none;
  overflow-wrap: break-word;
}
.landing-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.55rem); }
.page-hero h1 { font-size: clamp(2.2rem, 4.2vw, 3.3rem); }
.has-hero-photo h1 { text-shadow: none; }
.hand {
  padding-bottom: 0.06em;
  background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20200%2016'%20preserveAspectRatio='none'%3E%3Cpath%20d='M3%2011.5C38%205.2%2074%204.2%20112%206.4c28%201.6%2056%203.4%2085-2.2'%20fill='none'%20stroke='%235cc9a7'%20stroke-width='4.5'%20stroke-linecap='round'/%3E%3C/svg%3E") no-repeat 0 96% / 100% 0.3em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.section-head h2,
.group-head h2,
.panel h2,
.contact-intro h2,
.lp-close h2 {
  font-family: var(--serif);
  font-weight: 540;
  letter-spacing: -0.02em;
  line-height: 1.08;
  font-size: clamp(1.95rem, 3.5vw, 2.95rem);
}
.group-head h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.section-head p, .group-head p { font-size: 1.08rem; }

/* Split section heads: kicker + title left, intro right, bottom-aligned */
@media (min-width: 901px) {
  .section-head:has(> p:not(.section-kicker)) {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    column-gap: 4.5rem;
    align-items: end;
    margin-bottom: 3.25rem;
  }
  .section-head > .section-kicker { grid-column: 1; grid-row: 1; justify-self: start; }
  .section-head > h2 { grid-column: 1; grid-row: 2; margin-bottom: 0; }
  .section-head > p:not(.section-kicker) { grid-column: 2; grid-row: 2; padding-bottom: 0.35rem; border-left: 1px solid var(--rule-strong); padding-left: 1.4rem; }
  .bg-teal .section-head > p:not(.section-kicker) { border-left-color: rgba(255,255,255,.3); }
}
.group-head { max-width: 50rem; margin-bottom: 2.5rem; }

/* ---------- Section backgrounds & rhythm ---------- */
section { padding: 6.25rem 0; }
.bg-warm { background-color: var(--sand); --frame-bg: var(--sand); }
.bg-mist { background-color: var(--mist); --frame-bg: var(--mist); }
.bg-teal {
  background: var(--teal-900) url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20600%20420'%3E%3Cg%20fill='none'%20stroke='%23ffffff'%20stroke-opacity='.08'%20stroke-width='1.4'%3E%3Cpath%20d='M420%2038c92%208%20162%2072%20150%20162s-92%20152-192%20142-170-82-150-172S328%2030%20420%2038z'/%3E%3Cpath%20d='M424%2080c66%207%20116%2054%20108%20120s-66%20110-138%20102-122-60-108-124S358%2073%20424%2080z'/%3E%3Cpath%20d='M430%20122c41%205%2071%2033%2066%2073s-41%2066-85%2062-74-37-66-76%2044-63%2085-59z'/%3E%3Cpath%20d='M434%20160c20%203%2035%2017%2032%2036s-20%2032-41%2030-36-18-32-37%2021-31%2041-29z'/%3E%3C/g%3E%3C/svg%3E") no-repeat right -160px top -120px / 760px auto;
  padding: 7rem 0;
}
#faq { padding: 5.5rem 0 6rem; }

/* ---------- Photo heroes: directional overlay, less "gradient wallpaper" ---------- */
.has-hero-photo .hero-bg::after {
  background:
    linear-gradient(90deg, rgba(7, 48, 50, 0.93) 0%, rgba(8, 60, 62, 0.86) 38%, rgba(10, 106, 108, 0.52) 72%, rgba(10, 106, 108, 0.34) 100%);
}
.hero.has-hero-photo { padding: 5.5rem 0 6rem; }
.landing-hero.has-hero-photo { padding: 4.25rem 0 4.5rem; }
.eyebrow {
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
}
.eyebrow-dot,
.has-hero-photo .eyebrow-dot {
  width: 2.2rem;
  height: 8px;
  border-radius: 0;
  background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2040%208'%20preserveAspectRatio='none'%3E%3Cpath%20d='M2%205.4C10%202.8%2022%202.4%2038%203.6'%20fill='none'%20stroke='%235cc9a7'%20stroke-width='2.4'%20stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  box-shadow: none;
}
.lead { font-size: 1.15rem; line-height: 1.6; }
.has-hero-photo .lead { text-shadow: none; }

/* Trust line: hand-drawn ticks instead of pill chips */
.trust { gap: 0.55rem 1.6rem; }
.trust li,
.has-hero-photo .trust li {
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0 0 0 1.45rem;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  font-size: 0.9rem;
  font-weight: 600;
  position: relative;
}
.trust li svg { display: none; }
.trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.12em;
  width: 1.05rem;
  height: 1.05rem;
  background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2020%2020'%3E%3Cpath%20d='M3.2%2010.9c1.7%201.1%203.1%202.6%204.3%204.7C9.9%2010.5%2013%206.5%2017%203.6'%20fill='none'%20stroke='%235cc9a7'%20stroke-width='2.4'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.trust li { color: var(--ink-soft); }
.has-hero-photo .trust li { color: #fff; }

/* Front hero: "index card" with numbered entries and a printed offset block */
.hero-card,
.has-hero-photo .hero-card {
  background: var(--paper);
  border: 0;
  border-radius: 3px;
  padding: 2rem 2rem 1.6rem;
  box-shadow: 14px 14px 0 0 rgba(92, 201, 167, 0.55);
  color: var(--ink);
}
.hero-card h2 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 480;
  font-size: 1.45rem;
  color: var(--teal-900);
  margin: 0 0 1.1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--rule-strong);
}
.care-list { counter-reset: care; gap: 0; }
.care-list li {
  counter-increment: care;
  grid-template-columns: 2.4rem 1fr;
  gap: 0.6rem;
  padding: 0.7rem 0;
  border-bottom: 1px dashed var(--rule);
}
.care-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.care-list .icon-bubble { display: none; }
.care-list li::before {
  content: counter(care, decimal-leading-zero);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--coral-text);
  line-height: 1.35;
}

/* ---------- Editorial cards: ruled columns + bento feature ---------- */
.card {
  border-radius: 4px;
  box-shadow: none;
  border: 1px solid var(--rule);
  background: rgba(255, 255, 255, 0.55);
}
.cards-3 { counter-reset: card; column-gap: 2.75rem; row-gap: 0.5rem; }
.cards-3 > .card {
  counter-increment: card;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--rule-strong);
  border-radius: 0;
  padding: 1.35rem 0 2rem;
  height: auto;
}
.cards-3 > .card::before {
  content: counter(card, decimal-leading-zero);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--coral-text);
  margin-bottom: 0.85rem;
  line-height: 1;
}
.card h3,
.cards-3 > .card h3 {
  font-family: var(--serif);
  font-weight: 560;
  font-size: 1.36rem;
  letter-spacing: -0.012em;
  line-height: 1.2;
  min-height: 0;
  margin-bottom: 0.6rem;
}
.card p { font-size: 1rem; line-height: 1.6; }
.card ul li::before { border-radius: 0; width: 10px; height: 2px; margin-top: 0.75em; background: var(--teal-500); }

/* Feature tile: first card becomes a deep-teal block (bento) */
.cards-3 > .card:first-child:nth-last-child(3),
.cards-3 > .card:first-child:nth-last-child(4),
.cards-3 > .card:first-child:nth-last-child(5),
.cards-3 > .card:first-child:nth-last-child(6),
.cards-3 > .card:first-child:nth-last-child(9),
.cards-3 > .card:first-child:nth-last-child(14) {
  position: relative;
  background: var(--teal-900);
  color: #fff;
  border-top: 0;
  border-radius: 4px;
  padding: 2.25rem 2.25rem 2.1rem;
  margin-bottom: 1.5rem;
  overflow: hidden;
}
.cards-3 > .card:first-child:is(:nth-last-child(3), :nth-last-child(4), :nth-last-child(5), :nth-last-child(6), :nth-last-child(9), :nth-last-child(14))::before {
  font-size: 4.6rem;
  font-weight: 400;
  color: var(--mint);
  margin: 0 0 auto;
  padding-bottom: 1.5rem;
}
.cards-3 > .card:first-child:is(:nth-last-child(3), :nth-last-child(4), :nth-last-child(5), :nth-last-child(6), :nth-last-child(9), :nth-last-child(14))::after {
  content: "";
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  width: 9.5rem;
  height: 6.25rem;
  background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20200%20130'%3E%3Cpath%20d='M46%2024C86%206%20164%2010%20188%2044c20%2029-20%2068-88%2072C40%20119%208%2096%2012%2066%2015%2042%2046%2022%2096%2017'%20fill='none'%20stroke='%235cc9a7'%20stroke-opacity='.75'%20stroke-width='2.4'%20stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain;
  pointer-events: none;
}
.cards-3 > .card:first-child:is(:nth-last-child(3), :nth-last-child(4), :nth-last-child(5), :nth-last-child(6), :nth-last-child(9), :nth-last-child(14)) h3 {
  color: #fff;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  max-width: 18ch;
}
.cards-3 > .card:first-child:is(:nth-last-child(3), :nth-last-child(4), :nth-last-child(5), :nth-last-child(6), :nth-last-child(9), :nth-last-child(14)) p,
.cards-3 > .card:first-child:is(:nth-last-child(3), :nth-last-child(4), :nth-last-child(5), :nth-last-child(6), :nth-last-child(9), :nth-last-child(14)) ul {
  color: rgba(255, 255, 255, 0.86);
  max-width: 46ch;
}
.cards-3 > .card:first-child:is(:nth-last-child(3), :nth-last-child(4), :nth-last-child(5), :nth-last-child(6), :nth-last-child(9), :nth-last-child(14)) ul li::before { background: var(--mint); }
.cards-3 > .card:first-child:is(:nth-last-child(3), :nth-last-child(4), :nth-last-child(5), :nth-last-child(6), :nth-last-child(9), :nth-last-child(14)) a { color: #fff; }

@media (min-width: 901px) {
  /* 3, 6, 9 cards: feature spans 2 columns x 2 rows */
  .cards-3 > .card:first-child:is(:nth-last-child(3), :nth-last-child(6), :nth-last-child(9)) { grid-column: span 2; grid-row: span 2; }
  /* 5, 14 cards: feature spans 2 columns */
  .cards-3 > .card:first-child:is(:nth-last-child(5), :nth-last-child(14)) { grid-column: span 2; }
  .cards-3 > .card:first-child:is(:nth-last-child(5), :nth-last-child(14))::before { font-size: 3.4rem; padding-bottom: 1rem; }
  /* 4 cards: tall feature + one wide card */
  .cards-3 > .card:first-child:nth-last-child(4) { grid-row: span 2; }
  .cards-3 > .card:first-child:nth-last-child(4) ~ .card:nth-child(4) { grid-column: span 2; }
  .cards-3 > .card:first-child:is(:nth-last-child(3), :nth-last-child(4), :nth-last-child(5), :nth-last-child(6), :nth-last-child(9), :nth-last-child(14)) { margin-bottom: 2rem; }
}
/* Two-up variant stays a plain ruled pair */
.cards-3.cards-3-two > .card:first-child { background: transparent; color: inherit; }

/* ---------- Timeline steps ---------- */
.steps { gap: 0 2.25rem; }
.step,
.steps-on-paper .step {
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}
.steps::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 2.05rem;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20120%2014'%20preserveAspectRatio='none'%3E%3Cpath%20d='M0%207c15-5.5%2030-5.5%2045%200s30%205.5%2045%200%2022-4.5%2030-2.2'%20fill='none'%20stroke='%23ffffff'%20stroke-opacity='.38'%20stroke-width='1.6'%20stroke-dasharray='2%206'%20stroke-linecap='round'/%3E%3C/svg%3E") repeat-x left center / 120px 14px;
  pointer-events: none;
}
.steps-on-paper::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20120%2014'%20preserveAspectRatio='none'%3E%3Cpath%20d='M0%207c15-5.5%2030-5.5%2045%200s30%205.5%2045%200%2022-4.5%2030-2.2'%20fill='none'%20stroke='%230a6a6c'%20stroke-opacity='.45'%20stroke-width='1.6'%20stroke-dasharray='2%206'%20stroke-linecap='round'/%3E%3C/svg%3E"); }

.step-num {
  position: relative;
  z-index: 1;
  width: auto;
  height: auto;
  border-radius: 0;
  background: var(--teal-900);
  padding: 0 0.7rem 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 4.25rem;
  line-height: 1;
  color: var(--mint);
  margin-bottom: 1.35rem;
}
.steps-on-paper .step-num { background: var(--paper); color: var(--teal-700); }
.step h3 {
  font-family: var(--serif);
  font-weight: 540;
  font-size: 1.38rem;
  line-height: 1.2;
  margin-bottom: 0.55rem;
}
.step p { font-size: 0.99rem; line-height: 1.6; color: rgba(255, 255, 255, 0.84); }
.steps-on-paper .step p { color: var(--ink-soft); }

/* ---------- Front: offset pillars with framed photos ---------- */
.pillars-offset {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 4.5rem;
  align-items: start;
}
.pillars-offset .pillar {
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  overflow: visible;
}
.pillars-offset .pillar:has(.pillar-media) > :not(.pillar-media),
.pillars-offset .pillar:has(.pillar-media) .btn { margin-left: 0; margin-right: 0; }
.pillars-offset .pillar:nth-child(2) { margin-top: 8rem; }
.pillars-offset .pillar-media { border: 0; background: none; margin: 0 0 2.1rem; }
.pillars-offset .pillar-media img {
  border-radius: 3px;
  aspect-ratio: 4 / 3;
  box-shadow: 16px 16px 0 -1px var(--frame-bg), 16px 16px 0 0 var(--teal-300);
}
.pillars-offset .pillar:nth-child(2) .pillar-media img {
  aspect-ratio: 4 / 4.4;
  box-shadow: -16px 16px 0 0 var(--sand-deep);
}
.pillar h3,
.pillars-offset .pillar h3 {
  font-family: var(--serif);
  font-weight: 540;
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.7rem;
}
.pillar ul { gap: 0.55rem; margin-bottom: 1.75rem; }
.pillar ul,
.panel ul { border-top: 1px solid var(--rule); padding-top: 1rem; }
.pillar li svg,
.panel li svg { display: none; }
.pillar li::before,
.panel li::before,
.job-card li::before {
  content: "";
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.22em;
  border-radius: 0;
  box-shadow: none;
  background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2020%2020'%3E%3Cpath%20d='M3.2%2010.9c1.7%201.1%203.1%202.6%204.3%204.7C9.9%2010.5%2013%206.5%2017%203.6'%20fill='none'%20stroke='%230f8b8d'%20stroke-width='2.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.pillar-extra a { text-decoration: underline; text-decoration-color: var(--teal-300); }

/* ---------- Photo captions ---------- */
.photo-cap {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--muted);
}
.photo-cap span {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-700);
  white-space: nowrap;
}
.photo-cap span::after { content: " —"; color: var(--rule-strong); letter-spacing: 0; }
.pillars-offset .photo-cap { margin-top: 1.6rem; }

/* Landing photo: image + side caption column */
.landing-photo,
.band-photo,
.about-photo,
.group-photo,
.group-photos figure {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: none;
  overflow: visible;
}
.landing-photo img,
.band-photo img,
.about-photo img,
.group-photo img,
.group-photos img { border-radius: 3px; }
@media (min-width: 901px) {
  .landing-photo,
  .band-photo {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 12rem;
    gap: 2rem;
    align-items: end;
  }
  .landing-photo .photo-cap,
  .band-photo .photo-cap {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    margin: 0 0 0.25rem;
    padding-top: 0.9rem;
    border-top: 1px solid var(--rule-strong);
    font-family: var(--serif);
    font-style: italic;
    font-size: 1rem;
    color: var(--ink-soft);
  }
  .landing-photo .photo-cap span,
  .band-photo .photo-cap span { font-family: var(--font); font-style: normal; }
  .landing-photo .photo-cap span::after,
  .band-photo .photo-cap span::after { content: ""; }
}
.landing-photo img { box-shadow: 18px 18px 0 -1px var(--frame-bg), 18px 18px 0 0 var(--teal-300); }
.band-photo img { box-shadow: -18px 18px 0 0 var(--sand-deep); }
.band-photo-after { margin-top: 4rem; }

/* Staggered photo pairs */
.group-photos { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 1.75rem; align-items: start; }
.group-photos figure:nth-child(2) { margin-top: 3.5rem; }
.group-photos figure:nth-child(1) img { box-shadow: 14px 14px 0 0 var(--sand-deep); }
.group-photos figure:nth-child(2) img { aspect-ratio: 4 / 4.6; }
.bg-warm .group-photos figure:nth-child(1) img { box-shadow: 14px 14px 0 0 var(--teal-100); }
.group-photo img { box-shadow: 14px 14px 0 -1px var(--frame-bg), 14px 14px 0 0 var(--teal-300); }

/* ---------- Audiences: ruled two-column instead of two boxes ---------- */
.split-ruled { gap: 0; }
.split-ruled .panel {
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0 3.25rem 0 0;
}
.split-ruled .panel + .panel {
  border-left: 1px solid var(--rule-strong);
  padding: 0 0 0 3.25rem;
  margin-top: 3.5rem;
}
.panel h2 { font-size: clamp(1.5rem, 2.2vw, 1.85rem); }
.panel p.intro { font-family: var(--serif); font-style: italic; font-size: 1.12rem; color: var(--ink-soft); }

/* ---------- Statement band ---------- */
.statement {
  padding: 6rem 0 6.25rem;
  background: var(--paper);
  border-top: 1px solid var(--rule);
}
.statement-inner {
  position: relative;
  padding-left: clamp(0rem, 14vw, 13rem);
}
.statement-mark {
  position: absolute;
  left: clamp(0rem, 14vw, 13rem);
  top: -0.6rem;
  width: 3.6rem;
  height: auto;
  color: var(--coral);
  transform: translateX(-130%);
}
.statement-text {
  margin: 0;
  max-width: 24ch;
  font-family: var(--serif);
  font-weight: 420;
  font-style: italic;
  font-size: clamp(1.75rem, 3.6vw, 3.05rem);
  line-height: 1.14;
  letter-spacing: -0.018em;
  color: var(--teal-950);
}
.statement-sub {
  margin: 1.6rem 0 0;
  display: inline-block;
  padding-top: 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral-text);
  background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2080%208'%20preserveAspectRatio='none'%3E%3Cpath%20d='M2%205.5C20%202.5%2044%202%2078%203.8'%20fill='none'%20stroke='%23e8615a'%20stroke-width='2.6'%20stroke-linecap='round'/%3E%3C/svg%3E") no-repeat left top / 5rem 8px;
}
.statement-compact { padding: 4.5rem 0 4.75rem; }
.statement-compact .statement-text { font-size: clamp(1.6rem, 3vw, 2.5rem); max-width: 28ch; }

/* ---------- About: photo with overlapping copy ---------- */
@media (min-width: 901px) {
  .about-photo { width: 64%; margin: 0 0 -8rem auto; position: relative; z-index: 0; }
  .about-photo img { height: 470px; box-shadow: 18px -18px 0 0 var(--teal-100); }
  .about-photo .photo-cap { justify-content: flex-end; }
  .about-grid { position: relative; z-index: 1; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 4rem; }
  .about-copy { background: var(--paper); padding: 2.5rem 2.5rem 1.75rem; border-top: 3px solid var(--teal-700); }
  .about-grid > div:last-child { padding-top: 10.5rem; }
}
#ueber-uns h2 { font-family: var(--serif); font-weight: 540; font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 1rem; color: var(--teal-950); }
.note {
  background: none;
  border-radius: 0;
  padding: 0 0 0 2.4rem;
  color: var(--coral-text);
  background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2040%208'%20preserveAspectRatio='none'%3E%3Cpath%20d='M2%205.4C10%202.8%2022%202.4%2038%203.6'%20fill='none'%20stroke='%23e8615a'%20stroke-width='2.2'%20stroke-linecap='round'/%3E%3C/svg%3E") no-repeat left center / 1.9rem 8px;
}
.team { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--rule-strong); }
.person {
  display: grid;
  grid-template-columns: 3.1rem 10.5rem minmax(0, 1fr);
  align-items: center;
  text-align: left;
  gap: 1.1rem;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
  padding: 1.05rem 0;
}
.person > h3 { margin: 0; font-family: var(--serif); font-weight: 560; font-size: 1.12rem; }
.avatar,
.avatar-initials {
  flex: 0 0 auto;
  width: 3.1rem;
  height: 3.1rem;
  margin: 0;
  border-radius: 50%;
  background: var(--sand);
  border: 1px solid var(--rule-strong);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--teal-800);
  letter-spacing: 0.02em;
}

/* ---------- FAQ: sticky title column + ruled list ---------- */
@media (min-width: 901px) {
  .wrap:has(> .faq-list) {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    gap: 4.5rem;
    align-items: start;
  }
  .wrap:has(> .faq-list) > .section-head {
    display: block;
    position: sticky;
    top: calc(var(--header-h) + 2rem);
    margin: 0;
  }
  .wrap:has(> .faq-list) > .section-head > p:not(.section-kicker) { border: 0; padding: 0; margin-top: 1rem; }
}
.faq-list { gap: 0; max-width: none; border-bottom: 1px solid var(--rule-strong); }
.faq-item {
  background: none;
  border: 0;
  border-top: 1px solid var(--rule-strong);
  border-radius: 0;
}
.faq-item button {
  padding: 1.3rem 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1.3;
}
.faq-item button svg {
  width: 30px;
  height: 30px;
  padding: 6px;
  border: 1px solid var(--rule-strong);
  border-radius: 50%;
}
.faq-item.is-open button svg { background: var(--teal-700); color: #fff; border-color: var(--teal-700); }
.faq-panel { padding: 0 3rem 1.5rem 0; font-size: 1.02rem; }

/* ---------- Finance / compliance / legal / jobs ---------- */
.finance-card,
.compliance,
.legal-card,
.job-card {
  border-radius: 4px;
  box-shadow: none;
  border-color: var(--rule);
  background: rgba(255, 255, 255, 0.6);
}
.finance-card { border-left: 3px solid var(--teal-600); padding: 1.75rem 1.9rem 1.6rem; }
.finance-card.planned { border-left-color: var(--coral); }
@media (min-width: 901px) {
  .finance-card:not(.example-card) { display: flow-root; }
  .finance-card:not(.example-card) > .badge-current,
  .finance-card:not(.example-card) > .badge-planned,
  .finance-card:not(.example-card) > h3 { float: left; clear: left; width: 17rem; margin-right: 2.5rem; }
  .finance-card:not(.example-card) > p { margin-left: 19.5rem; }
  .finance-card:not(.example-card) > h3 { margin-top: 0.15rem; }
}
.finance-card h3 { font-family: var(--serif); font-weight: 560; font-size: 1.35rem; }
.finance-card.planned { background: rgba(255, 250, 249, 0.75); }
.badge-current,
.badge-planned,
.example-flag,
.job-card .note {
  border-radius: 2px;
  background: none;
  padding: 0;
  letter-spacing: 0.12em;
}
.badge-current { color: var(--teal-700); }
.badge-planned { color: var(--coral-darker); padding: 0.15rem 0.45rem; border: 1px dashed var(--coral); }
.job-card { border-top: 3px solid var(--teal-700); }
.job-card h2 { font-weight: 560; font-size: 1.6rem; }

/* ---------- Forms (container only; wizard internals untouched) ---------- */
.form-card { border-radius: 6px; border-color: var(--rule); box-shadow: var(--shadow-soft); }
.has-hero-photo .form-card { border: 0; box-shadow: 14px 14px 0 0 rgba(92, 201, 167, 0.5); }

/* ---------- Contact ---------- */
.contact-meta { gap: 0; border-top: 1px solid var(--rule-strong); }
.contact-meta li { grid-template-columns: 1fr; padding: 0.95rem 0; border-bottom: 1px solid var(--rule); }
.contact-meta .icon-bubble { display: none; }
.contact-meta span { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-700); margin-bottom: 0.15rem; }
.contact-meta strong { font-family: var(--serif); font-weight: 500; font-size: 1.12rem; line-height: 1.4; }

/* ---------- Footer ---------- */
.site-footer { background: var(--sand); border-top: 0; position: relative; }
.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%201200%2018'%20preserveAspectRatio='none'%3E%3Cpath%20d='M0%2010C150%203%20300%2015%20450%209S750%201%20900%208s240%206%20300%201'%20fill='none'%20stroke='%230f8b8d'%20stroke-opacity='.4'%20stroke-width='1.6'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}
.site-footer h2 { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-700); }
.placeholder-flag { border-radius: 2px; border-style: dashed; background: transparent; }

/* ---------- Focus (keep strong & visible) ---------- */
:focus-visible { outline: 3px solid var(--teal-600); outline-offset: 3px; }
.has-hero-photo :focus-visible,
.bg-teal :focus-visible { outline-color: var(--mint); }
.has-hero-photo .form-card :focus-visible,
.has-hero-photo .hero-card :focus-visible { outline-color: var(--teal-600); }

/* ---------- Tablet / mobile ---------- */
@media (max-width: 900px) {
  section { padding: 4.5rem 0; }
  .bg-teal { padding: 4.75rem 0; background-size: 520px auto; background-position: right -220px top -140px; }
  .cards-3 > .card { grid-column: auto !important; grid-row: auto !important; }
  .steps { grid-template-columns: 1fr; gap: 0; padding-left: 0; }
  .steps::before {
    left: 1.15rem;
    right: auto;
    top: 0.5rem;
    bottom: 0.5rem;
    width: 2px;
    height: auto;
    background: repeating-linear-gradient(180deg, rgba(255,255,255,.4) 0 2px, transparent 2px 9px);
  }
  .steps-on-paper::before { background: repeating-linear-gradient(180deg, var(--rule-strong) 0 2px, transparent 2px 9px); }
  .step { padding: 0 0 2.25rem 3.75rem !important; }
  .step:last-child { padding-bottom: 0 !important; }
  .step-num {
    position: absolute;
    left: 0;
    top: -0.2rem;
    font-size: 2.5rem;
    padding: 0.1rem 0;
    width: 2.4rem;
    text-align: center;
    justify-content: center;
    margin: 0;
  }
  .pillars-offset { grid-template-columns: minmax(0, 1fr); gap: 3.5rem; }
  .pillars-offset .pillar:nth-child(2) { margin-top: 0; }
  .pillars-offset .pillar-media img,
  .pillars-offset .pillar:nth-child(2) .pillar-media img { aspect-ratio: 4 / 3; }
  .split-ruled .panel { padding: 0; }
  .split-ruled .panel + .panel { border-left: 0; border-top: 1px solid var(--rule-strong); padding: 2.25rem 0 0; margin-top: 2.5rem; }
  .group-photos figure:nth-child(2) { margin-top: 2rem; }
  .statement { padding: 4rem 0; }
  .statement-inner { padding-left: 0; padding-top: 3.2rem; }
  .statement-mark { left: 0; top: 0; transform: none; width: 2.8rem; }
  .about-photo { margin-bottom: 2rem; }
  .about-photo img { box-shadow: 10px 10px 0 0 var(--teal-100); }
  .faq-panel { padding-right: 0; }
  .wrap:has(> .faq-list) > .section-head { margin-bottom: 2rem; }
}
@media (max-width: 600px) {
  section { padding: 3.75rem 0; }
  .hero.has-hero-photo { padding: 3.25rem 0 3.5rem; }
  .landing-hero.has-hero-photo { padding: 2.75rem 0 2.5rem; }
  .hero h1, .landing-hero h1, .page-hero h1 { font-size: 2.2rem; line-height: 1.07; }
  .section-head h2, .group-head h2, .panel h2, .contact-intro h2, .lp-close h2, #ueber-uns h2 { font-size: 1.8rem; }
  .hero-card, .has-hero-photo .hero-card { padding: 1.5rem 1.25rem 1.25rem; box-shadow: 8px 8px 0 0 rgba(92, 201, 167, 0.55); }
  .has-hero-photo .form-card { box-shadow: 8px 8px 0 0 rgba(92, 201, 167, 0.5); }
  .cards-3 > .card:first-child:is(:nth-last-child(3), :nth-last-child(4), :nth-last-child(5), :nth-last-child(6), :nth-last-child(9), :nth-last-child(14)) { padding: 1.75rem 1.4rem 1.6rem; }
  .cards-3 > .card:first-child:is(:nth-last-child(3), :nth-last-child(4), :nth-last-child(5), :nth-last-child(6), :nth-last-child(9), :nth-last-child(14))::before { font-size: 3.2rem; padding-bottom: 1rem; }
  .cards-3 > .card:first-child:is(:nth-last-child(3), :nth-last-child(4), :nth-last-child(5), :nth-last-child(6), :nth-last-child(9), :nth-last-child(14))::after { width: 7rem; height: 4.6rem; top: 0.6rem; left: 0.5rem; }
  .pillars-offset .pillar-media img,
  .landing-photo img,
  .group-photo img { box-shadow: 9px 9px 0 -1px var(--frame-bg), 9px 9px 0 0 var(--teal-300); }
  .pillars-offset .pillar:nth-child(2) .pillar-media img,
  .band-photo img { box-shadow: -9px 9px 0 0 var(--sand-deep); }
  .group-photos { grid-template-columns: 1fr; }
  .group-photos figure:nth-child(2) { margin-top: 1rem; }
  .group-photos figure img { box-shadow: none !important; }
  .person { grid-template-columns: 3.1rem minmax(0, 1fr); row-gap: 0.1rem; }
  .person > .avatar { grid-row: span 2; }
  .person > p { grid-column: 2; }
  .faq-item button { font-size: 1.08rem; }
  .statement-text { font-size: 1.65rem; }
  .eyebrow { letter-spacing: 0.1em; }
}

/* Fix (pre-existing since 1.3.0): phone links styled as buttons kept coral text on coral background */
a.btn-cta[href^="tel:"],
a.btn-primary[href^="tel:"],
a.btn-cta[href^="tel:"]:hover,
a.btn-primary[href^="tel:"]:hover { color: #fff; }

/* Desktop timeline: wave segments between numerals (placed last to win the cascade) */
@media (min-width: 901px) {
  .steps::before { content: none; }
  .step::before {
    content: "";
    position: absolute;
    left: 3.4rem;
    right: -2.25rem;
    top: 2.05rem;
    height: 14px;
    background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20120%2014'%20preserveAspectRatio='none'%3E%3Cpath%20d='M0%207c15-5.5%2030-5.5%2045%200s30%205.5%2045%200%2022-4.5%2030-2.2'%20fill='none'%20stroke='%23ffffff'%20stroke-opacity='.38'%20stroke-width='1.6'%20stroke-dasharray='2%206'%20stroke-linecap='round'/%3E%3C/svg%3E") repeat-x left center / 120px 14px;
    pointer-events: none;
  }
  .step:last-child::before { right: 0; }
  .steps-on-paper .step::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20120%2014'%20preserveAspectRatio='none'%3E%3Cpath%20d='M0%207c15-5.5%2030-5.5%2045%200s30%205.5%2045%200%2022-4.5%2030-2.2'%20fill='none'%20stroke='%230a6a6c'%20stroke-opacity='.45'%20stroke-width='1.6'%20stroke-dasharray='2%206'%20stroke-linecap='round'/%3E%3C/svg%3E"); }
  .step-num, .steps-on-paper .step-num { background: none; }
}
