/* reSolvent Advisory — site styles. Plain CSS, no build step. */
/* Self-hosted fonts (same families and weights as before; Latin subset; SIL Open Font License). */
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/fonts/jost-latin.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/ibm-plex-mono-500-latin.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/ibm-plex-mono-600-latin.woff2') format('woff2'); }
/* Metric-matched fallbacks keep line breaks stable while the web fonts load. */
@font-face { font-family: 'Jost Fallback'; src: local('Arial'), local('Liberation Sans'), local('Helvetica'); size-adjust: 84%; ascent-override: 127%; descent-override: 44.5%; line-gap-override: 0%; }
@font-face { font-family: 'Plex Mono Fallback'; src: local('Courier New'), local('Liberation Mono'), local('Courier'); size-adjust: 101.5%; ascent-override: 102.5%; descent-override: 27.5%; line-gap-override: 0%; }

:root {
  --slate: #2C3B41;
  --slate-deep: #222F34;
  --paper: #F4F6F5;
  --white: #FFFFFF;
  --green: #7FBF4A;
  --green-ink: #3E7422;
  --ink: #2C3B41;
  --ink-soft: #54666D;
  --line: #DDE4E2;
  --font-body: 'Jost', 'Jost Fallback', sans-serif;
  --font-detail: 'IBM Plex Mono', 'Plex Mono Fallback', monospace;
  --content-max: 1200px;
  --radius-card: 12px;
  --radius-button: 6px;

  --paper-soft: rgba(244, 246, 245, .84);
  --line-dark: rgba(244, 246, 245, .22);
  --gutter: 20px;
  --header-h: 68px;
  --section-pad: 48px;
  --hero-pad: 56px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
@media (min-width: 768px) { :root { --gutter: 24px; --section-pad: 64px; } }
@media (min-width: 1024px) { :root { --gutter: 32px; --header-h: 80px; --section-pad: 88px; --hero-pad: 88px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
@media (min-width: 1024px) { body { font-size: 18px; } }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
ul[class], ol[class] { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-body); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.25rem, 4.6vw, 3.5rem); font-weight: 700; line-height: 1.08; }
h2, .h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 600; line-height: 1.15; }
h3, .h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.25; }
h4 { font-size: 1.05rem; font-weight: 600; line-height: 1.3; }
p + p { margin-top: 1em; }
.lede { font-size: 1.1em; color: var(--ink-soft); max-width: 46rem; margin-top: 16px; }
.on-dark .lede { color: var(--paper-soft); }
.small { font-size: 15px; color: var(--ink-soft); }
.mono, .mono-price, .tier-num, .table-price { font-family: var(--font-detail); font-variant-numeric: tabular-nums; }
.mono-price { font-weight: 600; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.wrap { max-width: var(--content-max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: calc(860px + 2 * var(--gutter)); }

/* Anchored sections clear the sticky header. */
section, [id] { scroll-margin-top: 88px; }
@media (min-width: 1024px) { section, [id] { scroll-margin-top: 104px; } }
.anchor { display: block; height: 0; overflow: hidden; }

/* Focus: green-ink on light, green on dark. */
:focus-visible { outline: 3px solid var(--green-ink); outline-offset: 3px; }
.on-dark :focus-visible, .on-dark-panels :focus-visible { outline-color: var(--green); }
main:focus { outline: none; }
[tabindex="-1"]:focus:not(:focus-visible) { outline: none; }

.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 200;
  background: var(--slate); color: var(--white); padding: 12px 18px; border-radius: var(--radius-button);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; outline: 3px solid var(--green); outline-offset: 3px; }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 14px 20px; border-radius: var(--radius-button);
  font-family: var(--font-body); font-weight: 600; font-size: 17px; line-height: 1.2;
  text-decoration: none; text-align: center; border: 2px solid transparent; cursor: pointer;
  transition: background-color 120ms ease, color 120ms ease, border-color 120ms ease;
}
.btn-primary { background: var(--green); color: var(--slate); border-color: var(--green); }
.btn-primary:hover { background: #8FCB5C; border-color: #8FCB5C; }
.btn-secondary { background: transparent; color: var(--slate); border-color: var(--slate); }
.btn-secondary:hover { background: var(--slate); color: var(--paper); }
.btn-secondary-dark { background: transparent; color: var(--paper); border-color: var(--paper); }
.btn-secondary-dark:hover { background: var(--paper); color: var(--slate); }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.text-link {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--green-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px;
  transition: color 120ms ease;
}
.text-link::after { content: '→'; margin-left: 6px; display: inline-block; transition: transform 120ms ease; text-decoration: none; }
.text-link:hover::after { transform: translateX(3px); }
.on-dark .text-link { color: var(--green); }
.text-link:hover { color: var(--slate); }
.on-dark .text-link:hover { color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--paper); border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.js .header-inner { height: var(--header-h); }
.brand { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; flex-shrink: 0; }
.logo { --logo-ink: var(--slate); --logo-green: var(--green-ink); width: 149px; height: 40px; }
@media (min-width: 1024px) { .logo { width: 178px; height: 48px; } }
.logo-footer { --logo-ink: var(--paper); --logo-green: var(--green); }
.menu-toggle {
  display: none; min-height: 44px; min-width: 44px; padding: 8px 16px;
  background: var(--white); border: 1px solid var(--slate); border-radius: var(--radius-button);
  font-weight: 600; cursor: pointer;
}
.nav-list { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 12px;
  background: none; border: 0; border-radius: var(--radius-button);
  color: var(--ink); font-weight: 500; font-size: 17px; text-decoration: none; cursor: pointer;
}
.nav-link:hover, .nav-link[aria-current="page"], .nav-link.is-current { color: var(--green-ink); }
.nav-link[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.chev { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.dropdown-toggle[aria-expanded="true"] .chev { transform: translateY(2px) rotate(-135deg); }
.has-dropdown { position: relative; }
.dropdown a {
  display: flex; align-items: center; min-height: 44px; padding: 10px 16px;
  color: var(--ink); text-decoration: none; font-weight: 500;
}
.dropdown a:hover, .dropdown a[aria-current="page"] { background: var(--paper); color: var(--green-ink); }
.nav-cta { margin-left: 8px; }

/* Without JavaScript: a visible wrapped list (services shown inline). */
.no-js .dropdown-toggle, .no-js .menu-toggle { display: none; }
.no-js .header-inner { flex-wrap: wrap; padding-block: 8px; }
.no-js .nojs-label { font-weight: 600; cursor: default; }
.no-js .has-dropdown { display: flex; flex-wrap: wrap; align-items: center; }
.no-js .dropdown { display: flex; flex-wrap: wrap; }
.js .nojs-label { display: none; }

@media (min-width: 1024px) {
  .js .dropdown {
    display: none; position: absolute; top: calc(100% + 8px); left: 0; min-width: 290px; padding: 8px 0;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card);
    box-shadow: 0 14px 32px rgba(44, 59, 65, .12);
  }
  .js .dropdown.is-open { display: block; }
}
@media (max-width: 1023.98px) {
  .js .menu-toggle { display: inline-flex; align-items: center; }
  .js .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 24px rgba(44, 59, 65, .10);
    max-height: calc(100vh - var(--header-h) - 64px); overflow-y: auto; overscroll-behavior: contain;
  }
  .js .site-nav.is-open { display: block; }
  .js .nav-list { flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 20px; gap: 0; }
  .js .nav-link { width: 100%; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); border-radius: 0; }
  .js .dropdown { display: none; padding: 4px 0 8px 16px; border-bottom: 1px solid var(--line); }
  .js .dropdown.is-open { display: block; }
  .js .dropdown a { padding: 10px 0; }
  .js .nav-cta { margin: 16px 0 0; }
  .js .nav-cta .btn { width: 100%; }
  .no-js .nav-list { gap: 0 4px; }
}

/* ---------- Sections ---------- */
.section { padding: var(--section-pad) 0; }
.section-tight-top { padding-top: 0; }
.bg-white { background: var(--white); }
.bg-paper { background: var(--paper); }
.bg-slate { background: var(--slate); color: var(--paper); }
.bg-slate h2, .bg-slate h3 { color: var(--white); }
.section-head { max-width: 52rem; margin-bottom: 40px; }
.page-hero { padding: 56px 0 48px; }
@media (min-width: 1024px) { .page-hero { padding: 72px 0 56px; } }
.page-hero h1 { max-width: 22ch; }
.page-min { min-height: 50vh; }
.eyebrow {
  font-family: var(--font-detail); font-size: 15px; font-weight: 600; letter-spacing: .12em;
  color: var(--green); margin-bottom: 16px;
}
.note { font-size: 15px; color: var(--ink-soft); line-height: 1.55; }
.on-dark .note { color: var(--paper-soft); }

/* ---------- Hero ---------- */
.hero { padding: var(--hero-pad) 0; }
.hero h1 { color: var(--white); max-width: 18ch; }
.hero-grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 7fr 5fr; gap: 48px; align-items: center; } }
.hero-price { margin-top: 28px; font-size: 17px; color: var(--paper); }
.hero-price .mono-price { color: var(--green); }
.hero-support { margin-top: 8px; font-size: 17px; color: var(--paper-soft); }
.hero-focus { margin-top: 16px; font-size: 1.1em; font-weight: 500; color: var(--white); max-width: 46rem; }
.hero-panel { background: var(--paper); color: var(--ink); border-radius: var(--radius-card); padding: 24px; }
.hero-panel-title { font-family: var(--font-detail); font-size: 15px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--green-ink); }
.hero-rows { margin-top: 12px; }
.hero-rows li { display: flex; align-items: center; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font-weight: 500; }
.hero-rows li:first-child { border-top: 0; }
.hero-graphic { width: 90px; height: 32px; flex: 0 0 90px; }
.hero-graphic .draw { fill: none; stroke: var(--green-ink); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.hero-graphic .node, .hero-graphic .bar { fill: var(--green-ink); }
.hero-panel-caption { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-soft); }

/* ---------- Needs ---------- */
.needs-grid { display: grid; gap: 16px; margin-top: 32px; }
@media (min-width: 768px) { .needs-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }
.need-link {
  display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 24px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-card);
  text-decoration: none; transition: border-color 120ms ease;
}
.need-link:hover { border-color: var(--green-ink); }
.need-title { font-size: 1.2rem; font-weight: 600; color: var(--green-ink); text-decoration: underline; text-decoration-color: var(--green-ink); text-underline-offset: 4px; }
.need-title::after { content: ' →'; color: var(--green-ink); }
.need-desc { color: var(--ink-soft); }
.need-problem { font-size: 16px; font-style: italic; font-weight: 400; color: var(--ink-soft); line-height: 1.45; }
.need-problem::before { content: '“'; } .need-problem::after { content: '”'; }

/* ---------- Pricing cards ---------- */
.tier-grid { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: stretch; }
@media (min-width: 768px) { .tier-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .tier-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tier-card {
  display: flex; flex-direction: column; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius-card); padding: 24px;
  box-shadow: 0 2px 8px rgba(44, 59, 65, .04);
  transition: transform 180ms var(--ease), border-color 180ms var(--ease), box-shadow 180ms var(--ease);
}
.tier-num { font-size: 15px; font-weight: 600; color: var(--green-ink); letter-spacing: .08em; }
.tier-graphic { width: 100%; max-width: 180px; height: auto; aspect-ratio: 180 / 64; margin: 12px 0 16px; }
.tier-name { font-size: 23px; line-height: 1.2; font-weight: 600; }
.tier-outcome { margin-top: 8px; color: var(--ink-soft); }
.tier-label { margin-top: 20px; font-family: var(--font-detail); font-size: 15px; font-weight: 500; color: var(--ink-soft); letter-spacing: .02em; }
.tier-price { margin-top: 2px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.price-core { font-family: var(--font-detail); font-size: 42px; font-weight: 600; line-height: 1.1; font-variant-numeric: tabular-nums; color: var(--ink); }
.price-per { font-size: 15px; color: var(--ink-soft); }
.tier-incl { margin-top: 8px; }
.tier-incl li { position: relative; padding-left: 22px; margin-top: 6px; font-size: 16px; line-height: 1.45; }
.tier-incl li::before { content: ''; position: absolute; left: 2px; top: .45em; width: 10px; height: 6px; border-left: 2px solid var(--green-ink); border-bottom: 2px solid var(--green-ink); transform: rotate(-45deg); }
/* Price block and CTA sit at the bottom so CTAs align across a row. */
.tier-foot { margin-top: auto; padding-top: 20px; }
.tier-foot .tier-label:first-child, .tier-prices .tier-label { margin-top: 0; }
.tier-prices { display: grid; gap: 12px; }
.tier-prices dd { margin: 2px 0 0; }
.tier-price-full { padding: 10px 12px; background: var(--paper); border-radius: 8px; }
.price-full { font-family: var(--font-detail); font-size: 26px; font-weight: 600; line-height: 1.15; font-variant-numeric: tabular-nums; color: var(--ink); }
.tier-ctas { display: flex; flex-direction: column; align-items: stretch; gap: 4px; margin-top: 20px; }
.tier-ctas .btn { white-space: normal; text-align: center; }
.tier-card > .tier-incl { margin-bottom: 4px; }
.tier-card .anchor { position: relative; top: -16px; }

/* Card illustrations: fully drawn at rest; strokes replay once on activation. */
.tier-graphic .draw { fill: none; stroke: var(--green-ink); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.tier-graphic .node, .tier-graphic .bar { fill: var(--green-ink); }
.tier-graphic .d-tick { --draw-duration: 180ms; }
.tier-graphic .d-1 { --draw-delay: 100ms; }
.tier-graphic .d-2 { --draw-delay: 200ms; }
.tier-graphic .d-forecast { --draw-duration: 500ms; }
.tier-graphic .d-connect, .tier-graphic .d-option { --draw-duration: 400ms; }
.tier-graphic .d-cfotick { --draw-duration: 180ms; --draw-delay: 400ms; }
@keyframes draw-line { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes bar-in { from { opacity: 0; } to { opacity: 1; } }
@media (hover: hover) and (pointer: fine) {
  .tier-card:hover { transform: translateY(-6px); border-color: var(--green-ink); box-shadow: 0 14px 32px rgba(44, 59, 65, .12); }
  .tier-card:hover .draw { animation: draw-line var(--draw-duration, 500ms) ease-out var(--draw-delay, 0ms) both; }
  .tier-card:hover .bar { animation: bar-in 180ms ease-out 400ms both; }
}
.tier-card:focus-within { transform: translateY(-6px); border-color: var(--green-ink); box-shadow: 0 14px 32px rgba(44, 59, 65, .12); }
.tier-card:focus-within .draw { animation: draw-line var(--draw-duration, 500ms) ease-out var(--draw-delay, 0ms) both; }
.tier-card:focus-within .bar { animation: bar-in 180ms ease-out 400ms both; }

/* ---------- Pricing notes and add-on row ---------- */
.pricing-notes { margin-top: 32px; display: grid; gap: 12px; max-width: 60rem; }
.pricing-notes .note { font-size: 16px; color: var(--ink); }
.pricing-line { margin-top: 24px; font-size: 16px; color: var(--ink); }
.tailored-line { margin-top: 32px; padding: 20px 24px; border-left: 3px solid var(--green-ink); background: var(--white); border-radius: 0 var(--radius-card) var(--radius-card) 0; }
.tailored-line .text-link { margin-left: 4px; }

/* ---------- Panels ---------- */
.two-panels { display: grid; gap: 20px; }
@media (min-width: 768px) { .two-panels { grid-template-columns: 1fr 1fr; gap: 24px; } }
.three-panels { display: grid; gap: 20px; }
@media (min-width: 1024px) { .three-panels { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.panel { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--paper); }
.panel h3, .panel .h3 { margin-bottom: 8px; }
.on-dark-panels .panel { background: var(--slate-deep); border-color: var(--line-dark); color: var(--paper); }
.on-dark-panels .panel p { color: var(--paper-soft); }
.on-dark-panels .panel h3 { color: var(--white); }
.link-row { display: flex; flex-wrap: wrap; gap: 8px 32px; margin-top: 28px; }
.link-row-light { margin-top: 12px; }
.partner-specialist { margin-top: 24px; max-width: 46rem; color: var(--paper-soft); }
.closing { margin-top: 40px; font-size: 1.1em; max-width: 46rem; }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 20px; margin-top: 32px; counter-reset: none; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } .steps-four { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .steps-four { grid-template-columns: repeat(4, 1fr); } }
.method-lede { margin-top: 12px; max-width: 46rem; }
.steps li { padding: 24px; border-top: 3px solid var(--green-ink); background: var(--paper); border-radius: 0 0 var(--radius-card) var(--radius-card); }
.step-num { display: block; font-family: var(--font-detail); font-weight: 600; font-size: 15px; color: var(--green-ink); margin-bottom: 8px; }
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--ink-soft); }

/* ---------- Founder ---------- */
.founder-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 768px) { .founder-grid { grid-template-columns: 320px 1fr; gap: 48px; } }
@media (min-width: 1024px) { .founder-grid { grid-template-columns: 400px 1fr; gap: 64px; } }
.founder-photo { width: 100%; max-width: 400px; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius-card); background: var(--line); }
.cred-strip { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.cred-strip li { font-family: var(--font-detail); font-size: 15px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 99px; background: var(--paper); }

/* ---------- FAQ ---------- */
.faq-list { margin-top: 24px; border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 14px 0; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--font-detail); font-size: 22px; font-weight: 600; color: var(--green-ink); flex: 0 0 auto; }
.faq[open] summary::after { content: '−'; }
.faq-q { font-size: 1.1rem; font-weight: 600; }
.faq-a { padding: 0 0 18px; color: var(--ink-soft); max-width: 48rem; }

/* ---------- Final CTA ---------- */
.final-cta-grid { display: grid; gap: 32px; }
@media (min-width: 1024px) { .final-cta-grid { grid-template-columns: 7fr 5fr; gap: 48px; align-items: center; } }
.final-cta .btn { margin-top: 24px; }
.contact-list { display: grid; gap: 12px; }
.contact-list li { display: flex; flex-direction: column; padding: 14px 18px; border: 1px solid var(--line-dark); border-radius: var(--radius-card); }
.contact-list a { font-weight: 600; font-size: 1.05em; min-height: 32px; display: inline-flex; align-items: center; overflow-wrap: anywhere; }
.contact-label { font-family: var(--font-detail); font-size: 15px; color: var(--paper-soft); }
.contact-list.light li { border-color: var(--line); background: var(--white); }
.contact-list.light .contact-label { color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--slate-deep); color: var(--paper-soft); padding: 56px 0 32px; font-size: 15px; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.2fr; } }
.footer-brand p { margin-top: 12px; max-width: 26rem; }
.footer-heading { font-family: var(--font-detail); font-size: 15px; font-weight: 600; color: var(--green); letter-spacing: .06em; margin-bottom: 8px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 40px; color: var(--paper); text-decoration: none; overflow-wrap: anywhere; }
.footer-links a:hover { text-decoration: underline; }
.footer-legal { margin-top: 32px; font-size: 14px; }
.footer-legal p { padding-top: 20px; border-top: 1px solid var(--line-dark); }

/* ---------- Breadcrumb and service pages ---------- */
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; font-size: 15px; margin-bottom: 16px; }
.breadcrumb li + li::before { content: '/'; margin-right: 4px; color: var(--ink-soft); }
.breadcrumb a { color: var(--green-ink); }
.breadcrumb [aria-current] { color: var(--ink-soft); }
.service-layout { display: grid; gap: 40px; }
@media (min-width: 1024px) {
  .service-layout { grid-template-columns: minmax(0, 760px) 320px; justify-content: space-between; gap: 48px; align-items: start; }
  .service-aside { position: sticky; top: 104px; }
}
.service-main, .contact-main { min-width: 0; }
.service-main > section + section { margin-top: 48px; }
.service-main h2 { margin-bottom: 20px; }
.scope-items { display: grid; gap: 16px; }
.scope-item { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--paper); }
.scope-item h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin-bottom: 6px; }
.tag { font-family: var(--font-detail); font-size: 15px; font-weight: 500; color: var(--green-ink); }
.price-panel { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--paper); display: grid; gap: 12px; }
.price-panel p + p { margin-top: 0; }
.panel-lead { font-size: 1.1em; font-weight: 500; }
.panel-lead .mono-price { font-size: 1.15em; }
.panel-prices { display: grid; gap: 8px; }
.panel-prices dt { font-family: var(--font-detail); font-size: 15px; color: var(--ink-soft); }
.panel-prices dd { margin: 0; }
.check-list { margin: 16px 0; padding-left: 0; }
.check-list li { position: relative; padding-left: 24px; margin-top: 8px; }
.check-list li::before { content: ''; position: absolute; left: 2px; top: .5em; width: 10px; height: 6px; border-left: 2px solid var(--green-ink); border-bottom: 2px solid var(--green-ink); transform: rotate(-45deg); }
.fits p + .two-panels, .fits .two-panels { margin-top: 20px; }
.related-list { display: grid; gap: 0 24px; }
@media (min-width: 768px) { .related-list { grid-template-columns: 1fr 1fr; } }
.related-list a { display: inline-flex; min-height: 44px; align-items: center; color: var(--green-ink); font-weight: 600; }
.phase-list { display: grid; gap: 16px; }
@media (min-width: 768px) { .phase-list { grid-template-columns: 1fr 1fr; } }
.phase-list li { padding: 20px; border-top: 3px solid var(--green-ink); background: var(--paper); border-radius: 0 0 var(--radius-card) var(--radius-card); }
.experience-panel { padding: 24px; background: var(--slate); color: var(--paper); border-radius: var(--radius-card); margin-bottom: 20px; }
.experience-panel h3 { color: var(--white); margin-bottom: 8px; }
.experience-panel p, .experience-panel dd { color: var(--paper-soft); }
.case-list { display: grid; gap: 12px; margin-top: 12px; }
.case-list dt { font-family: var(--font-detail); font-size: 15px; font-weight: 600; color: var(--green); }
.case-list dd { margin: 2px 0 0; }
.founder-quote { margin: 20px 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--green-ink); font-size: 1.08em; }
.founder-quote footer { margin-top: 6px; font-size: 15px; color: var(--ink-soft); }
.strategic .lede { margin-top: 0; margin-bottom: 24px; }
.strategic-grid { display: grid; gap: 16px; }
@media (min-width: 768px) { .strategic-grid { grid-template-columns: 1fr 1fr; } }
.strategic-card { padding: 20px; border: 1px solid var(--line); border-top: 3px solid var(--green-ink); border-radius: 0 0 var(--radius-card) var(--radius-card); background: var(--paper); }
.strategic-card h3 { color: var(--green-ink); margin-bottom: 6px; }
.strategic-card .check-list { margin: 12px 0 0; }
.strategic .note { margin-top: 20px; }
.strategic .btn { margin-top: 16px; }
.nfp { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-card); }
.prose p { max-width: 46rem; }

/* ---------- Tables ---------- */
.table-scroll { overflow-x: auto; margin-top: 16px; }
.data-table { width: 100%; border-collapse: collapse; background: var(--white); font-size: 16px; }
.data-table th, .data-table td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.data-table thead th { background: var(--slate); color: var(--white); font-weight: 600; }
.data-table tbody th { font-weight: 600; }
.services-table tbody th { width: 32%; }
.comparison-table { table-layout: fixed; }
.comparison-table thead th:first-child { width: 34%; }
.comparison-table td.is-included { font-weight: 600; color: var(--green-ink); }
.comparison-table td.is-higher { color: var(--ink-soft); }
.comparison-table td { font-size: 15px; }
.comparison-table td.is-optional { color: var(--ink); }
.comparison-table td.is-scoped { color: var(--ink-soft); font-style: italic; }
.comparison-table .price-row th, .comparison-table .price-row td { background: var(--paper); }
.table-price { font-weight: 600; font-size: 1.1em; }
.price-row .table-price { display: block; }
.comparison-desktop { display: none; }
/* Mobile comparison: the same data, one list per package. */
.comparison-mobile { display: grid; gap: 16px; }
@media (min-width: 900px) { .comparison-desktop { display: block; } .comparison-mobile { display: none; } }
.cmp-tier { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--white); }
.cmp-tier h3 { font-size: 1.2rem; }
.cmp-prices { margin-top: 4px; font-size: 15px; color: var(--ink-soft); }
.cmp-list { margin-top: 12px; }
.cmp-list div { display: grid; gap: 2px; padding: 10px 0; border-top: 1px solid var(--line); }
.cmp-list dt { font-weight: 600; }
.cmp-list dd { margin: 0; font-size: 15px; }
.cmp-list .is-included dd { color: var(--green-ink); font-weight: 600; }
.cmp-list .is-higher dd, .cmp-list .is-scoped dd { color: var(--ink-soft); }
.cmp-notes { margin-top: 24px; display: grid; gap: 8px; max-width: 60rem; }
.cmp-notes p { margin: 0; font-size: 16px; color: var(--ink); }
#service-definitions { margin-top: 24px; }
.def-list div { padding: 12px 0; border-top: 1px solid var(--line); }
.def-list dt { font-weight: 600; }
.def-list dd { margin: 4px 0 0; color: var(--ink-soft); font-size: 16px; }
.outside h2 { margin-bottom: 12px; }
.outside-summary { max-width: 46rem; margin-bottom: 20px; font-size: 1.05em; }
.outside .custom-services { margin-top: 8px; }
.outside .scope-body .note { margin-top: 16px; }
.custom-services > p { margin-top: 8px; color: var(--ink-soft); }

/* Full-scope sections (details): below the table on desktop, the full alternative on mobile. */
.scope-detail { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card); }
.scope-detail summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 16px 48px 16px 20px; min-height: 56px; cursor: pointer; list-style: none; position: relative; }
.scope-detail summary::-webkit-details-marker { display: none; }
.scope-detail summary::after { content: '+'; position: absolute; right: 20px; top: 14px; font-family: var(--font-detail); font-size: 22px; font-weight: 600; color: var(--green-ink); }
.scope-detail[open] summary::after { content: '−'; }
.scope-title { font-weight: 600; font-size: 1.1rem; }
.scope-body { padding: 0 20px 20px; }

/* ---------- Form controls ---------- */
.field label { display: block; font-weight: 600; font-size: 17px; margin-bottom: 8px; }
select, input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; font-size: 17px;
  background: var(--white); border: 1px solid var(--ink-soft); border-radius: var(--radius-button); color: var(--ink);
}
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--slate) 50%), linear-gradient(135deg, var(--slate) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
textarea { min-height: 140px; resize: vertical; }
/* ---------- Contact ---------- */
.contact-layout { display: grid; gap: 40px; }
@media (min-width: 1024px) { .contact-layout { grid-template-columns: minmax(0, 760px) 320px; justify-content: space-between; gap: 48px; align-items: start; } .contact-aside { position: sticky; top: 104px; } }
.selection-summary { padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--paper); margin-bottom: 32px; }
.selection-summary h2 { font-size: 1.25rem; margin-bottom: 8px; }
.selection-summary ul { list-style: none; }
.selection-summary li { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; border-bottom: 1px dashed var(--line); font-size: 16px; }
.selection-summary .note { margin-top: 10px; }
.selection-summary li { flex-wrap: wrap; }
.selection-summary li .mono { white-space: nowrap; }
.enquiry-form { display: grid; gap: 22px; }
.field-error { margin-top: 6px; color: #A12622; font-weight: 500; font-size: 15px; }
[aria-invalid="true"] { border-color: #A12622 !important; border-width: 2px !important; }
.optional { font-weight: 400; font-size: 15px; color: var(--ink-soft); margin-left: 6px; }
.privacy-note { font-size: 15px; color: var(--ink-soft); }
.privacy-note a { color: var(--green-ink); font-weight: 600; }
.form-error { padding: 16px 20px; border: 2px solid #A12622; border-radius: var(--radius-card); background: #FBEFEE; color: #6E1714; font-weight: 500; }
.form-error a { color: #6E1714; font-weight: 700; }
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.enquiry-form button[disabled] { opacity: .7; cursor: progress; }

/* ---------- Reveal (decoration only, visible by default) ---------- */
.reveal-ready .reveal.reveal-pending { opacity: 0; transform: translateY(12px); }
.reveal-ready .reveal { transition: opacity 350ms ease, transform 350ms ease; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tier-card, .tier-graphic *, .reveal { animation: none !important; transition: none !important; }
  .tier-card:hover, .tier-card:focus-within { transform: none !important; }
  .tier-graphic .draw { stroke-dashoffset: 0 !important; }
  .tier-graphic .bar { opacity: 1 !important; }
  .reveal.reveal-pending { opacity: 1 !important; transform: none !important; }
  .btn, .text-link::after { transition: none !important; }
}

@media print {
  .site-header, .site-footer, .skip-link { display: none !important; }
}

/* Narrow screens: stack the two-column services table instead of squeezing it. */
@media (max-width: 599.98px) {
  .services-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .services-table tr, .services-table th, .services-table td { display: block; width: auto !important; }
  .services-table tbody th { padding-bottom: 4px; border-bottom: 0; }
  .services-table td { padding-top: 0; }
}
/* Keep the arrow attached to wrapped link text. */
.text-link { display: inline-block; padding: 10px 0; min-height: 44px; }
.text-link::after { display: inline; }
