/* Alpha CFO. Colours and type from the brand pack (Inter throughout, navy/gold on cream). */
:root {
  --navy: #16254a;
  --navy-2: #1f3060;
  --gold: #c29a3e;      /* rules, labels, gold buttons */
  --gold-accent: #a88028; /* large text only */
  --gold-link: #8a6a1f; /* small gold text, links */
  --cream: #fdfdfb;
  --text: #1c2433;
  --muted: #4b566a;
  --tint: #f8f2e2;
  --border: #dce0ea;
  --bronze: #a88028;
  --mark-no: #6b7488;
  --wrap: 1120px;
  --radius: 4px;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font: 400 16px/1.6 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { color: var(--navy); font-weight: 600; margin: 0; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.6rem, 6vw, 3.9rem); line-height: 1.08; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.35rem); line-height: 1.18; max-width: 28ch; }
h3 { font-size: 1.1rem; line-height: 1.35; }
p { margin: 0 0 1em; }
a { color: var(--gold-link); }
/* Navy ring on light sections; gold only on navy sections (rule below), so the ring keeps 3:1 contrast. */
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, .form-status:focus-visible {
  outline: 2px solid var(--navy); outline-offset: 2px;
}
.site-header :focus-visible, .statement :focus-visible, .band :focus-visible, .about :focus-visible, .site-footer :focus-visible { outline-color: var(--gold); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -48px; z-index: 100; background: var(--gold); color: var(--navy); padding: 8px 14px; font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }
.narrow { max-width: 860px; }

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 22px; border: 0; border-radius: var(--radius);
  font-family: inherit; font-weight: 600; font-size: 0.95rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .15s, transform .15s;
}
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #cfa94f; }
.btn[disabled] { opacity: .6; cursor: progress; }
.link-underline {
  color: var(--navy); font-weight: 600; text-decoration: none;
  border-bottom: 2px solid var(--gold); padding-bottom: 2px;
}
.link-underline:hover { color: var(--gold-link); }

.eyebrow {
  color: var(--gold-link); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 14px;
}
.eyebrow.small { font-size: 0.7rem; margin-bottom: 8px; }


/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 2px 16px rgba(10, 18, 40, .25); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 14px; color: #fff; text-decoration: none; }
.brand img { width: auto; height: 32px; }
.brand span { font-weight: 600; font-size: 0.95rem; letter-spacing: 0.3em; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) { color: #fff; text-decoration: none; font-size: 0.9rem; font-weight: 500; opacity: .92; }
.site-nav a:not(.btn):hover { color: var(--gold); opacity: 1; }
.site-nav .btn { min-height: 40px; padding: 0 18px; font-size: 0.88rem; margin-left: 4px; }
.menu-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; }
.bars, .bars::before, .bars::after { display: block; width: 22px; height: 2px; background: #fff; position: relative; transition: transform .2s, background-color .2s; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -7px; }
.bars::after { top: 7px; }
.menu-toggle[aria-expanded="true"] .bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .menu-toggle { display: grid; }
  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy); padding: 8px 16px 20px; border-top: 1px solid rgba(255,255,255,.08);
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 1rem; }
  .site-nav .btn { margin: 16px 0 0; min-height: 48px; }
}

/* Hero */
.hero { padding: 88px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero .accent { color: var(--gold-accent); }
.lede { color: var(--muted); font-size: 1.1rem; max-width: 34em; margin-bottom: 32px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; }

.photo-slot {
  position: relative; margin: 0; background: var(--navy); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
}
.photo-slot--hero { border-top: 4px solid var(--gold); aspect-ratio: 9 / 10; }
.photo-slot--lead { background: var(--navy-2); aspect-ratio: 4 / 5; }
.photo-slot .photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.photo-slot--lead .photo { object-position: 50% 20%; }
.photo-slot--hero .photo { object-position: 50% 0; }
.slot-mark { position: absolute; left: 50%; top: 46%; width: 34%; transform: translate(-50%, -50%); opacity: .9; }
.photo-slot--lead .slot-mark { opacity: .35; }

@media (max-width: 860px) {
  .hero { padding: 56px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .photo-slot--hero { aspect-ratio: 4 / 5; max-width: 480px; }
}

/* Stats */
.stats { border-top: 1px solid var(--border); padding: 48px 0 40px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.stat-num { color: var(--navy); font-size: clamp(2rem, 3.4vw, 2.4rem); font-weight: 600; line-height: 1.1; margin: 0 0 6px; letter-spacing: -0.02em; }
.stat-label { color: var(--navy); font-weight: 600; font-size: 0.9rem; margin: 0 0 8px; }
.stat-text { color: var(--muted); font-size: 0.88rem; margin: 0; }
@media (max-width: 860px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; } }

/* Statement band */
.statement { background: var(--navy); color: #e6e9f1; padding: 88px 0; }
.statement .rule { display: block; width: 44px; height: 3px; background: var(--gold); margin-bottom: 28px; }
.statement h2 { color: #fff; max-width: 24ch; margin-bottom: 24px; }
.statement p { font-size: 1.08rem; max-width: 40em; margin: 0; }

/* Sections */
.section { padding: 96px 0; }
.section.tint { background: var(--tint); }
.section h2 { margin-bottom: 48px; }
.section .intro { color: var(--muted); max-width: 36em; margin: -28px 0 36px; }
@media (max-width: 640px) { .section { padding: 64px 0; } .statement { padding: 64px 0; } .section h2 { margin-bottom: 36px; } }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.item h3 { margin-bottom: 10px; }
.item p { color: var(--muted); font-size: 0.95rem; margin: 0; }
.ruled { row-gap: 44px; }
.ruled .item { border-top: 2px solid var(--gold); padding-top: 22px; }
.short-ruled .item::before { content: ""; display: block; width: 30px; height: 2px; background: var(--gold); margin-bottom: 20px; }
.short-ruled { row-gap: 44px; }
.why-pair { margin-top: 44px; }

.card { background: var(--cream); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.cards .card h3 { margin-bottom: 10px; }
.cards .card p { color: var(--muted); font-size: 0.95rem; margin: 0; }
.top-navy { border-top: 3px solid var(--navy); }
.top-gold { border-top: 3px solid var(--gold); }
.top-bronze { border-top: 3px solid var(--bronze); }
.card h3 + p { margin-top: 8px; }
.option { color: var(--gold-link); font-weight: 600; font-size: 0.85rem; margin-bottom: 10px; }
.card .option + h3 { font-size: 1.25rem; margin-bottom: 10px; }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; }
.quotes:has(> :nth-child(4)) { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .quotes, .quotes:has(> :nth-child(4)) { grid-template-columns: 1fr; } }
.quote { margin: 0; background: var(--cream); border: 1px solid var(--border); border-top: 3px solid var(--gold); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.quote blockquote { margin: 0; color: var(--text); font-size: 0.95rem; line-height: 1.7; }
.quote blockquote p { margin: 0; }
.quote { --quote-lines: 4; }
.quote blockquote.clamped p {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: var(--quote-lines);
  line-clamp: var(--quote-lines); overflow: hidden;
}
.quote-more {
  margin-top: 12px; padding: 0 0 2px; background: none; border: 0; border-bottom: 2px solid var(--gold);
  font: inherit; font-size: 0.88rem; font-weight: 600; color: var(--navy); cursor: pointer;
}
.quote-more:hover { color: var(--gold-link); }
.quote-more[hidden] { display: none; }
.quote-body { display: flex; flex-direction: column; }
.quote-body .quote-more { align-self: flex-end; }
.quote figcaption { display: flex; align-items: center; gap: 14px; font-size: 0.85rem; color: var(--muted); line-height: 1.45; }
.quote figcaption strong { display: block; color: var(--navy); font-weight: 600; }
.initials {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: var(--navy); color: #fff;
  font-weight: 600; font-size: 0.85rem; box-shadow: 0 0 0 2px var(--gold);
}

/* Case studies */
.case h3 { font-size: 1.35rem; margin-bottom: 6px; }
.case-sub { color: var(--muted); font-size: 0.9rem; margin-bottom: 10px; }
.tag {
  display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--tint); color: var(--gold-link);
  font-size: 0.68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; line-height: 1.5;
}
.cases { gap: 32px; }
.footnote { color: var(--muted); font-size: 0.85rem; max-width: 60em; margin: 28px 0 0; }
.case h4 { color: var(--gold-link); font-size: 0.7rem; letter-spacing: .14em; text-transform: uppercase; margin: 22px 0 10px; }
.case p, .case li { font-size: 0.95rem; }
.case ol, .case ul, .segment ul { margin: 0; padding-left: 1.3em; }
.case li { margin-bottom: 8px; padding-left: 4px; }
.case li::marker { color: var(--navy); }

.band { background: var(--navy); padding: 40px 0; }
.band-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; }
.band h2 { color: #fff; font-size: 1.5rem; }

/* Who we serve */
.segment { display: flex; flex-direction: column; }
.segment .eyebrow { min-height: 2.6em; }
.segment h3 { font-size: 1.35rem; margin-bottom: 16px; }
@media (min-width: 901px) { .segment h3 { min-height: 2.7em; } }
.segment ul { flex-grow: 1; }
.start-point { color: var(--muted); font-size: 0.88rem; margin: 0 0 12px; }
.segment .link-underline { align-self: flex-start; }
.segment ul { color: var(--muted); font-size: 0.95rem; margin: 0 0 24px; }
.segment li { margin-bottom: 6px; }


/* Pricing: table from 761px, one card per tier below */
.price-table { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.price-table thead th, .price-table thead td { vertical-align: bottom; padding: 28px 20px 22px; text-align: center; }
.price-table thead .corner { width: 30%; text-align: left; color: var(--muted); font-size: 0.78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding-bottom: 52px; }
.price-table thead th.core { width: 26%; }
.tier-name { display: block; color: var(--navy); font-size: 1.6rem; font-weight: 600; line-height: 1.25; }
.tier-price { display: block; color: var(--muted); font-size: 1.25rem; font-weight: 500; margin: 4px 0 2px; }
.tier-cap { display: block; color: var(--muted); font-size: 0.85rem; font-weight: 400; }
.badge {
  display: block; width: fit-content; margin: 0 auto 8px; padding: 3px 10px; border-radius: 999px;
  background: var(--gold); color: var(--navy); font-size: 0.66rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; line-height: 1.5;
}
.price-table tbody th, .price-table tbody td { padding: 18px 20px; border-top: 1px solid var(--border); font-size: 0.98rem; line-height: 1.4; }
.price-table tbody th { text-align: left; color: var(--navy); font-weight: 600; }
.price-table tbody td { text-align: center; color: var(--text); }
.price-table tbody tr:last-child > * { border-bottom: 1px solid var(--border); }
.price-table .core { background: var(--tint); border-left: 2px solid var(--gold); border-right: 2px solid var(--gold); }
.price-table thead th.core { border-top: 2px solid var(--gold); border-radius: 6px 6px 0 0; padding-top: 36px; }
.price-table tbody tr:last-child td.core { border-bottom: 2px solid var(--gold); }
.mark { display: inline-block; vertical-align: middle; color: var(--gold-link); }
.mark--no { color: var(--mark-no); }
.price-cards { display: none; }
.pricing-cta { margin-top: 32px; }
@media (max-width: 960px) {
  .price-table thead .corner { width: 24%; }
  .tier-name { font-size: 1.3rem; }
}
@media (max-width: 760px) {
  .price-table-wrap { display: none; }
  .price-cards { display: grid; gap: 20px; }
  .price-card { background: var(--cream); border: 1px solid var(--border); border-top: 3px solid var(--navy); border-radius: 6px; padding: 24px 20px; }
  .price-card.core { background: var(--tint); border: 2px solid var(--gold); }
  .price-card h3 { font-size: 1.4rem; }
  .price-card .badge { margin: 0 0 8px; }
  .price-card .tier-price { font-size: 1.12rem; }
  .price-card dl { margin: 18px 0 0; }
  .price-card dl div { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--border); align-items: center; }
  .price-card dt { color: var(--navy); font-weight: 600; font-size: 0.9rem; }
  .price-card dd { margin: 0; font-size: 0.9rem; text-align: right; }
  .price-card .mark { width: 22px; height: 22px; }
}

/* About */
.about { background: var(--navy); color: #e6e9f1; padding: 96px 0; }
.about-grid { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 56px; align-items: center; }
.about .eyebrow { color: var(--gold); }
.about h2 { color: #fff; margin-bottom: 20px; }
.about .name { color: var(--gold); font-weight: 600; margin-bottom: 4px; }
.about .role { color: #fff; font-weight: 500; margin-bottom: 22px; }
.about p { max-width: 38em; }
.about .about-links { margin-top: 28px; }
.about .link-underline { color: #fff; }
.about .link-underline:hover { color: var(--gold); }
@media (max-width: 860px) {
  .about { padding: 64px 0; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .photo-slot--lead { max-width: 360px; }
}

/* FAQ (home and /faq). Each question is an H3 inside the summary; the answer is in the page source. */
.faq { border-bottom: 1px solid var(--border); max-width: 860px; }
.qa { border-top: 1px solid var(--border); }
.qa summary { cursor: pointer; list-style: none; display: flex; gap: 14px; align-items: baseline; padding: 20px 0; min-height: 44px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before { content: ""; flex: none; width: 8px; height: 8px; border-right: 2px solid var(--gold-link); border-bottom: 2px solid var(--gold-link); transform: translateY(-3px) rotate(-45deg); transition: transform .15s; }
.qa[open] summary::before { transform: translateY(-5px) rotate(45deg); }
.qa summary h3 { display: inline; font-size: 1.15rem; line-height: 1.4; }
.qa summary:hover h3 { color: var(--gold-link); }
.qa p { color: var(--muted); margin: -6px 0 22px 22px; max-width: 44em; }
@media (prefers-reduced-motion: reduce) { .qa summary::before { transition: none; } }
.faq-more { margin: 32px 0 0; }
.faq-page h1 { font-size: clamp(2.1rem, 4.6vw, 2.9rem); margin-bottom: 12px; max-width: 22ch; }
.updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 8px; }
.faq-group { margin-top: 56px; }
.faq-group h2 { color: var(--bronze); font-size: 1.35rem; margin: 0 0 12px; max-width: none; }

/* Consultation form */
.consult-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.consult-grid h2 { margin-bottom: 20px; font-size: clamp(1.9rem, 3.6vw, 2.5rem); }
.consult-grid .intro { margin: 0; color: var(--muted); max-width: 26em; }
.consult-form { background: var(--tint); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.full { grid-column: 1 / -1; }
.field label { color: var(--navy); font-weight: 600; font-size: 0.82rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  background: var(--cream); border: 1px solid #c9cfdc; border-radius: var(--radius);
  padding: 11px 12px; min-height: 46px;
}
.field select:invalid { color: var(--muted); }
.field select option { color: var(--text); }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); outline: 2px solid rgba(194, 154, 62, .55); outline-offset: 0; }
.field [aria-invalid="true"] { border-color: #b3261e; }
.field-error { margin: 0; color: #b3261e; font-size: 0.82rem; }
.field-error:empty { display: none; }
.check a { color: var(--navy); text-underline-offset: 3px; }
.check { display: flex; min-height: 44px; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 0.9rem; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy); flex: none; }
.check.invalid span { color: #b3261e; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
#captcha:empty { display: none; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form-status { margin: 0; font-size: 0.92rem; color: var(--muted); }
.form-status.error { color: #b3261e; }
.form-status.ok { color: var(--navy); font-weight: 500; }
.consult-form.sent .field, .consult-form.sent .check, .consult-form.sent #captcha, .consult-form.sent button { display: none; }
@media (max-width: 860px) { .consult-grid { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 520px) { .consult-form { grid-template-columns: 1fr; padding: 20px; } }

/* Footer */
.site-footer { background: var(--navy); color: #c9cfdd; padding: 48px 0 32px; font-size: 0.9rem; }
.footer-top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.tagline { margin: 14px 0 0; color: #fff; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: flex-start; }
.footer-nav a { color: #fff; text-decoration: none; padding: 6px 0; }
@media (max-width: 640px) { .footer-nav { gap: 4px 22px; } .footer-nav a { padding: 12px 0; } }
.footer-nav a:hover { color: var(--gold); }
.footer-legal { margin-top: 40px; font-size: 0.8rem; color: #aab3c6; }
.footer-legal p { margin: 0 0 4px; }
.footer-legal a { color: inherit; text-underline-offset: 3px; }
.footer-legal a:hover { color: var(--gold); }
.legal-body { min-height: 100vh; display: flex; flex-direction: column; }
.legal-page { flex: 1; }
.legal-page .wrap > * { max-width: 72ch; }
.legal-page h2 { font-size: 1.25rem; margin: 36px 0 12px; max-width: none; }
.legal-page ul { padding-left: 1.3em; margin: 0 0 1em; }
.legal-page li { margin-bottom: 6px; }
.legal-page .lede { margin-bottom: 28px; }
.legal-page h1 { font-size: clamp(2rem, 4vw, 2.6rem); margin-bottom: 24px; }
.site-footer .footer-legal:first-child { margin-top: 0; }

/* LinkedIn logo before the LinkedIn links */
.li-icon { width: 1em; height: 1em; vertical-align: -0.14em; margin-right: 0.4em; flex: none; }
.footer-legal .li-icon { width: 1.05em; height: 1.05em; }

/* Tap targets: at least 44px tall on touch screens */
.menu-toggle { min-width: 44px; min-height: 44px; display: none; place-items: center; }
@media (max-width: 960px) { .menu-toggle { display: grid; } }
.brand { min-height: 44px; }
@media (pointer: coarse), (max-width: 760px) {
  .link-underline, .quote-more { display: inline-flex; align-items: flex-end; min-height: 44px; }
  .footer-legal a { display: inline-flex; align-items: center; min-height: 44px; }
  .footer-legal p { margin: 0; }
}
@media (pointer: coarse) and (min-width: 961px) {
  .site-nav a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; }
  .site-nav .btn { min-height: 44px; }
}
