/* Fractional CFO Services San Francisco: draft stylesheet, redesign Dec 2026.
   Palette: deep navy, ledger green for calls, pale sky bands. Type: Newsreader headings, Manrope text.
   Ideas taken from the top SF and LA fractional CFO sites (navy + one green action colour,
   serif headings, tick lists, proof strip) plus our trust rules (named person early). */
:root {
  --fc-navy: #0e2240;
  --fc-navy-2: #1b3459;
  --fc-deep: #0a1a31;
  --fc-green: #17704a;
  --fc-green-2: #0f5a3a;
  --fc-mint: #e6f2ec;
  --fc-sky: #edf3f9;
  --fc-rule: #d5dee8;
  --fc-mute: #4a5a70;
  --fc-pale: #c9d5e4;
  --fc-round: 10px;
  --fc-head: "Newsreader", Georgia, "Times New Roman", serif;
  --fc-text: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fc-tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-4.9' fill='none' stroke='white' stroke-width='2'/%3E%3C/svg%3E");
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.fc-page { margin: 0; font: 17px/1.65 var(--fc-text); color: var(--fc-navy); background: #fff; padding-bottom: 58px; overflow-x: clip; }
.fc-page img { max-width: 100%; height: auto; display: block; }
.fc-page a { color: var(--fc-green); }
.fc-page a:hover { color: var(--fc-green-2); }
.fc-page h1, .fc-page h2, .fc-page h3 { font-family: var(--fc-head); font-weight: 600; line-height: 1.15; color: var(--fc-navy); letter-spacing: -.01em; }
.fc-page h1 { font-size: clamp(2.1rem, 5.4vw, 3.3rem); line-height: 1.06; letter-spacing: -.02em; margin: .3em 0 .35em; }
.fc-page h2 { font-size: clamp(1.65rem, 3.6vw, 2.3rem); margin: 2.4em 0 .5em; }
.fc-page h3 { font-size: 1.25rem; margin: 1.6em 0 .35em; }
.fc-page p, .fc-page li { max-width: 70ch; }
.fc-col { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 max(16px, 4vw); }
.fc-jump { position: absolute; left: -999px; }
.fc-jump:focus { left: 8px; top: 8px; background: #fff; padding: 8px; z-index: 60; }

/* full-width colour bands inside the page column, without sideways scroll */
.fc-hero, .fc-band, .fc-proof, .fc-opener--band { box-shadow: 0 0 0 100vmax var(--band); clip-path: inset(0 -100vmax); background: var(--band); }

/* top bar and menu */
.fc-top { background: var(--fc-navy); position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(255,255,255,.12); }
.fc-top__row { display: flex; align-items: center; gap: 14px; min-height: 64px; position: relative; }
.fc-page .fc-mark { color: #fff; text-decoration: none; font: 600 1.15rem/1.1 var(--fc-head); margin-right: auto; }
.fc-mark small { display: block; font: 600 .72rem/1.3 var(--fc-text); color: #b9c7da; letter-spacing: .02em; margin-top: 2px; }
.fc-page .fc-mark:hover { color: #fff; }
.fc-menu__switch { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fc-menu__label { cursor: pointer; color: #fff; padding: 8px 12px; border: 1px solid rgba(255,255,255,.4); border-radius: 6px; font-size: .9rem; font-weight: 600; }
.fc-menu__switch:focus-visible + .fc-menu__label { outline: 2px solid #7fc4a2; }
.fc-menu__items { list-style: none; margin: 0; padding: 0; display: none; }
.fc-menu__switch:checked ~ .fc-menu__items { display: block; position: absolute; left: calc(-1 * max(16px, 4vw)); right: calc(-1 * max(16px, 4vw)); top: 64px; background: var(--fc-navy); padding: 6px max(16px, 4vw) 18px; border-bottom: 1px solid rgba(255,255,255,.12); }
.fc-page .fc-menu a { color: #dfe7f2; text-decoration: none; display: block; padding: 9px 10px; font-weight: 600; font-size: .95rem; }
.fc-page .fc-menu a:hover { color: #fff; }
.fc-menu__services { list-style: none; margin: 0; padding-left: 14px; }
.fc-menu__services a { font-weight: 400 !important; }
.fc-top__phone { display: none; }

/* buttons */
.fc-page .fc-action { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 20px; border-radius: 6px; text-decoration: none; font: 700 1rem/1.2 var(--fc-text); border: 0; cursor: pointer; }
.fc-page .fc-action--phone { background: var(--fc-green); color: #fff; }
.fc-page .fc-action--phone:hover { background: var(--fc-green-2); color: #fff; }
.fc-page .fc-action--quiet { border: 1.5px solid var(--fc-navy); color: var(--fc-navy); }
.fc-page .fc-action--quiet:hover { background: var(--fc-navy); color: #fff; }
.fc-page .fc-action--light { border: 1.5px solid rgba(255,255,255,.75); color: #fff; }
.fc-page .fc-action--light:hover { background: #fff; color: var(--fc-navy); }

/* page opener (inner pages: pale sky band) */
.fc-opener { padding: 18px 0 10px; }
.fc-opener--band { --band: var(--fc-sky); padding: 26px 0 26px; margin-bottom: 8px; }
.fc-standfirst { font-size: 1.12rem; color: var(--fc-mute); }
.fc-assurance { font-weight: 600; color: var(--fc-navy); padding-left: 30px; position: relative; }
.fc-assurance::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background: var(--fc-green) var(--fc-tick) center/20px no-repeat; }
.fc-opener__actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0; }
.fc-trail { font-size: .88rem; color: var(--fc-mute); margin: 0 0 4px; }
.fc-page .fc-trail a { color: var(--fc-mute); }

/* home hero (navy) */
.fc-hero { --band: var(--fc-navy); color: #fff; display: grid; gap: 28px; padding: 30px 0 38px; }
.fc-page .fc-hero h1 { color: #fff; margin-top: 0; }
.fc-hero .fc-standfirst { color: #d6e0ec; font-size: 1.12rem; max-width: 34em; }
.fc-trust { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 6px; font-size: .95rem; color: #d6e0ec; }
.fc-trust li { display: flex; gap: 10px; align-items: flex-start; }
.fc-trust li::before { content: ""; flex: none; width: 17px; height: 17px; margin-top: 4px; border-radius: 50%; background: var(--fc-green) var(--fc-tick) center/17px no-repeat; }
.fc-opener__quiz { margin: 14px 0 0; font-size: .95rem; }
.fc-page .fc-hero .fc-opener__quiz a { color: #b9e3cc; }
.fc-sheet { margin: 0; background: #fff; color: var(--fc-navy); border-radius: var(--fc-round); padding: 18px 18px 12px; align-self: center; }
.fc-sheet__title { font: 700 .95rem var(--fc-text); margin: 0; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.fc-sheet__title span { font-weight: 600; color: var(--fc-mute); font-size: .82rem; }
.fc-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 12px 0 8px; }
.fc-kpis div { border-top: 2px solid var(--fc-rule); padding-top: 6px; line-height: 1.3; }
.fc-kpis b { display: block; font: 600 clamp(1.35rem, 3vw, 1.75rem)/1.1 var(--fc-head); font-variant-numeric: tabular-nums; }
.fc-kpis small { font-size: .8rem; color: var(--fc-mute); }
.fc-kpis .fc-kpis__hot { border-color: var(--fc-green); }
.fc-sheet svg { width: 100%; height: auto; display: block; }
.fc-sheet figcaption { font-size: .82rem; color: var(--fc-mute); margin-top: 6px; line-height: 1.45; }

/* proof strip */
.fc-proof { --band: var(--fc-sky); list-style: none; margin: 0; padding: 20px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(14em, 1fr)); gap: 14px 28px; }
.fc-proof li { font-size: .9rem; color: var(--fc-mute); line-height: 1.45; max-width: none; }
.fc-proof b { display: block; color: var(--fc-navy); font: 600 1.2rem/1.2 var(--fc-head); }

/* person card and photo spots */
.fc-person { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: start; border: 1px solid var(--fc-rule); border-radius: var(--fc-round); padding: 20px; background: #fff; max-width: 760px; }
.fc-page .fc-person h3 { margin: 0; font-size: 1.4rem; }
.fc-person__role { color: var(--fc-mute); font-size: .95rem; margin: 2px 0 10px; }
.fc-person p { margin: 0 0 8px; font-size: .97rem; }
.fc-person__addr { border-top: 1px solid var(--fc-rule); padding-top: 10px; margin-top: 10px !important; }
.fc-slot { margin: 0; border-radius: 8px; background: var(--fc-sky); border: 1.5px dashed #8fa6c1; display: grid; place-items: center; text-align: center; font: 600 .78rem/1.35 var(--fc-text); color: var(--fc-mute); padding: 8px; }
.fc-slot--face { width: 104px; aspect-ratio: 5 / 6; }
.fc-slot--wide { width: 100%; aspect-ratio: 16 / 9; margin: 1.4em 0; font-size: .9rem; }
.fc-person img { width: 104px; aspect-ratio: 5 / 6; object-fit: cover; border-radius: 8px; }
.fc-person > div:only-child { grid-column: 1 / -1; }
.fc-split { display: grid; gap: 28px; }
.fc-split > div > h2:first-child { margin-top: 1.6em; }

/* figures and tables */
.fc-figure { margin: 1.6em 0; border: 1px solid var(--fc-rule); border-radius: var(--fc-round); padding: 12px; background: #fff; }
.fc-figure figcaption { font-size: .9rem; color: var(--fc-mute); padding: 8px 4px 0; }
.fc-tablebox { overflow-x: auto; margin: 1.2em 0; border: 1px solid var(--fc-rule); border-radius: var(--fc-round); }
.fc-tablebox table { border-collapse: collapse; width: 100%; font-size: .94rem; min-width: 560px; }
.fc-tablebox caption { text-align: left; font: 600 1.1rem var(--fc-head); padding: 12px 14px; }
.fc-tablebox th, .fc-tablebox td { text-align: left; vertical-align: top; padding: 12px 14px; border-top: 1px solid var(--fc-rule); }
.fc-tablebox th { background: var(--fc-sky); font-weight: 700; }
.fc-tablebox tr.fc-us td { background: var(--fc-mint); }
.fc-tablebox tr.fc-us td:first-child { font-weight: 700; }
.fc-reviewed { font-size: .9rem; color: var(--fc-mute); font-style: italic; }

/* services as ledger rows */
.fc-tiles { list-style: none; margin: 1.2em 0; padding: 0; border-top: 2px solid var(--fc-navy); }
.fc-tiles > li { position: relative; border-bottom: 1px solid var(--fc-rule); padding: 16px 70px 16px 0; max-width: none; }
.fc-tiles > li::after { content: "View"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); color: var(--fc-green); font-weight: 700; font-size: .95rem; }
.fc-page .fc-tiles h3 { margin: 0 0 2px; font-size: 1.3rem; }
.fc-page .fc-tiles h3 a { color: var(--fc-navy); text-decoration: none; }
.fc-tiles h3 a::after { content: ""; position: absolute; inset: 0; }
.fc-tiles > li:hover h3 a { color: var(--fc-green); }
.fc-tiles p { margin: 0; color: var(--fc-mute); font-size: .97rem; }

/* ticks, notes, sources, FAQ */
.fc-ticks { list-style: none; padding: 0; margin: 1em 0; }
.fc-ticks li { position: relative; padding: 12px 0 12px 34px; border-top: 1px solid var(--fc-rule); margin: 0; }
.fc-ticks li:last-child { border-bottom: 1px solid var(--fc-rule); }
.fc-ticks li::before { content: ""; position: absolute; left: 0; top: 15px; width: 20px; height: 20px; border-radius: 50%; background: var(--fc-green) var(--fc-tick) center/20px no-repeat; }
.fc-aside { background: var(--fc-sky); border-left: 3px solid var(--fc-navy); border-radius: 6px; padding: 12px 16px; font-size: .95rem; }
.fc-refs { font-size: .9rem; }
.fc-qa { border-top: 1px solid var(--fc-rule); }
.fc-qa__pair { border-bottom: 1px solid var(--fc-rule); padding: 4px 0 8px; }
.fc-page .fc-qa__pair h3 { font-size: 1.2rem; margin: .8em 0 .3em; }
.fc-qa__pair p { color: var(--fc-mute); margin-top: 0; }

/* navy band (home: how the first call works) */
.fc-band { --band: var(--fc-navy); color: #fff; padding: 8px 0 40px; margin: 2.6em 0; }
.fc-page .fc-band h2 { color: #fff; margin-top: 1.2em; }
.fc-band p { color: var(--fc-pale); }
.fc-page .fc-band a { color: #b9e3cc; }
.fc-route { list-style: none; margin: 24px 0 10px; padding: 0; counter-reset: fc-step; }
.fc-route li { position: relative; padding: 0 0 22px 52px; counter-increment: fc-step; color: var(--fc-pale); font-size: .97rem; max-width: none; }
.fc-route li::before { content: counter(fc-step); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--fc-navy); display: grid; place-items: center; font: 700 1rem var(--fc-text); }
.fc-route li::after { content: ""; position: absolute; left: 17px; top: 40px; bottom: 4px; width: 2px; background: rgba(255,255,255,.25); }
.fc-route li:last-child::after { display: none; }
.fc-route strong { display: block; color: #fff; font: 600 1.2rem/1.3 var(--fc-head); margin-bottom: 2px; }

/* fit quiz */
.fc-fit { background: var(--fc-sky); border-radius: var(--fc-round); padding: 4px 20px 20px; margin: 2em 0; }
.fc-page .fc-fit h2 { margin-top: .8em; }
.fc-fit__step { border: 0; padding: 0; margin: 0 0 16px; }
.fc-fit__step legend { font: 600 1.2rem var(--fc-head); margin-bottom: 8px; }
.fc-fit__choice { display: block; background: #fff; border: 1px solid #a9b8ca; border-radius: 8px; padding: 12px 14px; margin: 6px 0; cursor: pointer; }
.fc-fit__choice:hover, .fc-fit__choice:focus-within { border-color: var(--fc-green); }
.fc-fit__choice:has(input:checked) { border-color: var(--fc-green); background: var(--fc-mint); }
.fc-fit__field { display: grid; gap: 4px; font-weight: 600; margin-bottom: 10px; max-width: 420px; }
.fc-fit__field input { font: inherit; padding: 11px; border: 1px solid #a9b8ca; border-radius: 6px; }
.fc-fit--live .fc-fit__choice input { position: absolute; opacity: 0; }
.fc-fit--live .fc-fit__step[hidden] { display: none; }
.fc-fit__back { background: none; border: 0; color: var(--fc-green); text-decoration: underline; cursor: pointer; font: inherit; padding: 4px 0; }
.fc-fit__result { background: #fff; border-left: 4px solid var(--fc-green); padding: 12px 14px; border-radius: 6px; }

/* contact form */
.fc-enquiry { display: grid; gap: 12px; max-width: 560px; }
.fc-enquiry label { font-weight: 600; display: grid; gap: 4px; }
.fc-enquiry input, .fc-enquiry select, .fc-enquiry textarea { font: inherit; padding: 11px; border: 1px solid #a9b8ca; border-radius: 6px; width: 100%; background: #fff; }
.fc-enquiry input:focus, .fc-enquiry select:focus, .fc-enquiry textarea:focus { outline: 2px solid var(--fc-green); border-color: var(--fc-green); }
.fc-trap { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }

/* closing call block, footer, phone bar */
.fc-closer { background: var(--fc-navy); color: #fff; border-radius: var(--fc-round); padding: 26px 24px 14px; margin: 3em 0 2.5em; }
.fc-page .fc-closer h2 { color: #fff; margin-top: 0; }
.fc-closer p { color: #d6e0ec; }
.fc-closer__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.fc-base { background: var(--fc-deep); color: #b9c7da; font-size: .9rem; padding: 28px 0 30px; }
.fc-base p { max-width: 62em; }
.fc-page .fc-base a { color: #dfe7f2; }
.fc-base__links a { margin-right: 16px; display: inline-block; }
.fc-dial { position: fixed; bottom: 0; left: 0; right: 0; background: var(--fc-green); text-align: center; z-index: 30; padding-bottom: env(safe-area-inset-bottom, 0px); }
.fc-page .fc-dial a { display: block; color: #fff; font-weight: 700; text-decoration: none; padding: 16px; }

@media (min-width: 760px) {
  body.fc-page { padding-bottom: 0; }
  .fc-dial { display: none; }
  .fc-top__phone { display: inline-flex; }
  .fc-page .fc-top__phone { min-height: 42px; padding: 9px 14px; font-size: .95rem; }
  .fc-menu__label { display: none; }
  .fc-menu__items, .fc-menu__switch:checked ~ .fc-menu__items { display: flex; gap: 6px; position: static; padding: 0; background: none; border: 0; }
  .fc-menu__items > li { position: relative; }
  .fc-menu__services { display: none; position: absolute; top: 100%; left: 0; background: var(--fc-navy); min-width: 300px; padding: 8px 0; border-radius: 0 0 8px 8px; }
  .fc-menu__group:hover .fc-menu__services, .fc-menu__group:focus-within .fc-menu__services { display: block; }
  .fc-hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; padding: 56px 0 64px; }
  .fc-opener--band { padding: 40px 0 36px; }
  .fc-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
  .fc-route { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .fc-route li { padding: 52px 0 0; }
  .fc-route li::after { left: 44px; right: -16px; top: 17px; bottom: auto; width: auto; height: 2px; }
  .fc-closer { padding: 34px 36px 20px; }
}
@media (max-width: 420px) {
  .fc-person { grid-template-columns: 1fr; }
}

/* photos (generated illustrations from the Fractional CFO Drive folder) */
.fc-photo { margin: 1.6em 0; }
.fc-photo img { width: 100%; height: auto; border-radius: var(--fc-round); }
.fc-photo figcaption { font-size: .9rem; color: var(--fc-mute); padding: 8px 2px 0; }
.fc-photo--wide { margin-top: 1.2em; }
.fc-band .fc-photo figcaption { color: var(--fc-mute); }
