/* visionaryemblemconsulting.com, site B (from Mock B, 2026-10-08).
   Colour tokens below are contrast-gated with ~/.claude/tools/contrast_check.py (0 errors).
   Extend from these tokens; never paste a new hex without re-running the gate. */
:root {
  --bg: #ffffff;
  --panel: #f5f1ea;
  --text-primary: #14201b;
  --text-secondary: #4f5b55;
  --text-accent: #1f4d3b;
  --text-inverse: #ffffff;
  --text-inverse-muted: #c9d3cd;
  --accent: #1f4d3b;
  --band: #14201b;
  --line: #ddd6cb;
  --radius: 14px;
  --wrap: 1120px;
}
* { box-sizing: border-box; }
html { overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--text-primary);
       font: 400 17px/1.6 Inter, system-ui, sans-serif; }
h1, h2, h3 { font-family: Manrope, Inter, sans-serif; line-height: 1.15; margin: 0; }
h1 { font-weight: 800; font-size: clamp(34px, 5vw, 56px); letter-spacing: -0.02em; }
h2 { font-weight: 800; font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -0.015em; }
h3 { font-weight: 700; font-size: 20px; }
p { margin: 0; }
a { color: var(--text-accent); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 32px; } }

/* nav */
header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.96);
         border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { font: 800 19px/1 Manrope, sans-serif; color: var(--text-primary); text-decoration: none; white-space: nowrap; }
.brand small { display: block; font: 500 11px/1.4 Inter, sans-serif; letter-spacing: .08em;
               color: var(--text-secondary); text-transform: uppercase; margin-top: 4px; }
.links { display: none; gap: 26px; }
.links a { color: var(--text-primary); text-decoration: none; font-weight: 500; white-space: nowrap; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.tel { font-weight: 600; color: var(--text-primary); text-decoration: none; white-space: nowrap; display: none; }
@media (min-width: 960px) { .links { display: flex; } .tel { display: inline; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px;
       padding: 0 22px; border-radius: 999px; font: 600 16px/1 Inter, sans-serif; text-decoration: none;
       border: 2px solid var(--accent); cursor: pointer; white-space: nowrap; }
.btn-primary { background: var(--accent); color: var(--text-inverse); }
.btn-ghost { background: transparent; color: var(--text-accent); }

/* hero */
.hero { padding: 56px 0 64px; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.15fr .85fr; } }
.eyebrow { font: 600 13px/1.4 Inter, sans-serif; letter-spacing: .06em; text-transform: uppercase;
           color: var(--text-accent); margin-bottom: 18px; }
.lede { font-size: 19px; color: var(--text-secondary); margin: 22px 0 30px; max-width: 34em; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.small-note { margin-top: 14px; font-size: 14px; color: var(--text-secondary); }

/* trust strip */
.trust { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust ul { list-style: none; margin: 0; padding: 22px 0; display: grid; gap: 14px 28px;
            grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.trust li { font-weight: 600; font-size: 15px; display: flex; gap: 10px; align-items: center; }
.tick { width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #fff;
        display: inline-grid; place-items: center; font-size: 13px; flex: none; }

section.block { padding: 72px 0; }
.section-head { max-width: 40em; margin-bottom: 36px; }
.section-head p { color: var(--text-secondary); margin-top: 12px; }

/* services */
.cards { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: #fff;
        display: flex; flex-direction: column; gap: 12px; }
.card p { color: var(--text-secondary); font-size: 16px; }
.card ul { margin: 0; padding-left: 18px; color: var(--text-primary); font-size: 15px; }
.card .more { margin-top: auto; font-weight: 600; text-decoration: none; }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px;
         grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); counter-reset: s; }
.steps li { background: var(--panel); border-radius: var(--radius); padding: 24px; counter-increment: s; }
.steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 34px; height: 34px;
                    border-radius: 50%; background: var(--accent); color: #fff; font: 700 16px/1 Manrope, sans-serif;
                    margin-bottom: 14px; }
.steps p { color: var(--text-secondary); font-size: 15px; margin-top: 8px; }

/* about */
.about-grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .about-grid { grid-template-columns: .8fr 1.2fr; } }
.quotes { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-top: 36px; }
.point { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
         display: grid; gap: 10px; align-content: start; }
.point h3 { font: 700 19px/1.3 Manrope, sans-serif; margin: 4px 0 0; }
.point p { color: var(--text-secondary); font-size: 16px; margin: 0; }
.point-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--panel); color: var(--text-accent);
              display: grid; place-items: center; }

/* faq */
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { cursor: pointer; font: 700 18px/1.4 Manrope, sans-serif; list-style: none; display: flex;
          justify-content: space-between; gap: 16px; }
summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--text-accent); }
details[open] summary::after { content: "–"; }
details p { color: var(--text-secondary); margin-top: 10px; max-width: 46em; }

/* contact band */
.band { background: var(--band); color: var(--text-inverse); }
.band h2 { color: var(--text-inverse); }
.band .muted { color: var(--text-inverse-muted); }
.band a { color: var(--text-inverse); }
.contact-grid { display: grid; gap: 36px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; font-size: 18px; }
.form { background: #fff; color: var(--text-primary); border-radius: var(--radius); padding: 26px; display: grid; gap: 14px; }
.form label { font-weight: 600; font-size: 15px; display: grid; gap: 6px; }
.form input, .form select, .form textarea { font: inherit; padding: 12px 14px; border: 1px solid #8a8f8b;
       border-radius: 10px; min-height: 48px; width: 100%; }
.form .btn-primary { width: 100%; }

footer { padding: 28px 0 40px; font-size: 14px; color: var(--text-secondary); }
.foot { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }

/* ---------- hero file card ---------- */
.file-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
             box-shadow: 0 18px 40px -24px rgba(20,32,27,.35); }
.file-label { font: 700 18px/1.3 Manrope, sans-serif; display: flex; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.file-label span { font: 500 12px/1.6 Inter, sans-serif; color: var(--text-secondary); text-transform: uppercase; letter-spacing: .06em; }
.file-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.file-list li { display: flex; gap: 12px; align-items: center; font-weight: 500; padding: 10px 12px;
                background: var(--panel); border-radius: 10px; }
.file-foot { margin-top: 16px; font-size: 15px; color: var(--text-secondary); }
.founders-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.big-line { font: 700 24px/1.3 Manrope, sans-serif; }
.mini-list { margin: 18px 0 0; padding-left: 20px; color: var(--text-secondary); display: grid; gap: 6px; }
.video { margin: 22px 0 0; }
.video video { width: 100%; height: auto; display: block; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); }
.video figcaption { margin-top: 10px; font-size: 15px; color: var(--text-secondary); }

/* ---------- MOTION: the recommended set ----------
   Only opacity + transform (no layout shift), short, once.
   Content is visible without JavaScript: the hidden start state applies only after JS adds .js.
   prefers-reduced-motion turns it all off. */
.btn { transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px -8px rgba(20,32,27,.5); }
.btn:active { transform: translateY(0); box-shadow: none; }
.card { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
/* only cards that lead somewhere lift on hover: a lift says "click me" */
.card:has(a.more):hover { transform: translateY(-2px); border-color: #c8bfb1; box-shadow: 0 14px 30px -22px rgba(20,32,27,.45); }

.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.js .stagger > li { opacity: 0; transform: translateY(14px); transition: opacity .45s ease, transform .45s ease; }
.js .stagger.in > li { opacity: 1; transform: none; }
.js .stagger.in > li:nth-child(2) { transition-delay: .15s; }
.js .stagger.in > li:nth-child(3) { transition-delay: .30s; }
.js .stagger.in > li:nth-child(4) { transition-delay: .45s; }

/* hero: the file "fills in" once, item by item, on load */
.js .file-list li { opacity: 0; transform: translateX(-8px); animation: tickIn .4s ease forwards; }
.js .file-list li:nth-child(1) { animation-delay: .3s; }
.js .file-list li:nth-child(2) { animation-delay: .55s; }
.js .file-list li:nth-child(3) { animation-delay: .8s; }
.js .file-list li:nth-child(4) { animation-delay: 1.05s; }
.js .file-list li:nth-child(5) { animation-delay: 1.3s; }
@keyframes tickIn { to { opacity: 1; transform: none; } }

details p { animation: fadeIn .25s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .stagger > li, .js .file-list li { opacity: 1 !important; transform: none !important; }
}

/* ---------- service pages ---------- */
.crumbs { font-size: 14px; color: var(--text-secondary); padding-top: 22px; }
.crumbs a { color: var(--text-secondary); }
.crumbs a:hover { color: var(--text-accent); }
.glance { margin: 0; display: grid; gap: 14px; }
.glance div { display: grid; gap: 2px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.glance div:last-child { border-bottom: 0; padding-bottom: 0; }
.glance dt { font-size: 13px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--text-secondary); }
.glance dd { margin: 0; font-weight: 600; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .tick { margin-top: 2px; }
.req { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; display: grid; gap: 10px; align-content: start; }
.req h3 { font: 700 19px/1.3 Manrope, sans-serif; margin: 0; }
.req p { color: var(--text-secondary); font-size: 16px; margin: 0; }
.req .law { font-size: 13px; font-weight: 600; letter-spacing: .03em; color: var(--text-accent); }
.split { display: grid; gap: 24px; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; } }
.panel { background: var(--panel); border-radius: var(--radius); padding: 26px; }
.panel h3 { font: 700 19px/1.3 Manrope, sans-serif; margin: 0 0 14px; }
.panel ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
@media (min-width: 860px) { .cards.two { grid-template-columns: 1fr 1fr; } }   /* 4 cards as 2x2, never 3 + 1 */
/* yearly compliance calendar: four dated steps, stacked on phones */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 860px) { .timeline { grid-template-columns: repeat(4, 1fr); } }
.timeline li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.timeline .when { font: 800 22px/1.2 Manrope, sans-serif; color: var(--text-accent); }
.timeline h3 { font: 700 17px/1.3 Manrope, sans-serif; margin: 6px 0; }
.timeline p { color: var(--text-secondary); font-size: 15px; margin: 0; }
.source { margin-top: 16px; font-size: 13px; color: var(--text-secondary); }
.req .more { font-weight: 600; text-decoration: none; margin-top: 4px; }   /* link inside a law card */

/* ---------- production additions (2026-10-08) ---------- */
/* Skip link: the first tab stop, visible only when focused. */
.skip { position: absolute; left: 16px; top: -100px; z-index: 20; background: var(--accent); color: var(--text-inverse);
        padding: 12px 18px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* Footer links: on phones the top nav is hidden, so this is how the other pages are reached. */
.foot { align-items: center; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot-links a { color: var(--text-secondary); }

/* Enquiry form. The honeypot is moved off-screen rather than display:none: a bot that honours CSS
   would skip a hidden field. aria-hidden + tabindex -1 keep people from ever reaching it. */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
html:not(.js) .form { display: none; }
.noscript { margin-top: 24px; color: var(--text-inverse-muted); }
.band .form a { color: var(--text-accent); }
.form h3 { margin-bottom: 2px; }
.form .field { display: grid; gap: 6px; }
.form .field label { font-weight: 600; font-size: 15px; }
.form .hint { font-size: 14px; color: var(--text-secondary); }
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.form .btn[disabled] { cursor: progress; opacity: .75; transform: none; box-shadow: none; }
/* The words carry the result; the border only frames it (never colour alone). */
.form-status { border-left: 4px solid var(--accent); background: var(--panel); border-radius: 8px;
               padding: 12px 14px; font-size: 15px; }
.form-status.is-error { border-left-color: var(--text-primary); }
.form-status:empty { display: none; }
.form-fine { font-size: 13px; color: var(--text-secondary); }

/* Legal pages (privacy, terms). */
.legal { max-width: 760px; padding-bottom: 72px; }
/* Only links may break anywhere (the 43-character email address); words in the table must not. */
.legal a { overflow-wrap: anywhere; }
.legal th:first-child, .legal td:first-child { width: 30%; }
.legal h1 { font-size: clamp(30px, 4vw, 44px); margin-top: 28px; }
.legal-date { margin-top: 10px; color: var(--text-secondary); font-size: 15px; }
.legal h2 { font-size: 21px; letter-spacing: 0; margin: 36px 0 10px; }
.legal p { margin: 0 0 12px; }
.legal p, .legal li { color: var(--text-secondary); }
.legal strong { color: var(--text-primary); }
.legal ul { padding-left: 20px; margin: 10px 0 12px; display: grid; gap: 6px; }
.legal table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { background: var(--panel); color: var(--text-primary); font-weight: 600; }
.legal .note { background: var(--panel); border-left: 4px solid var(--accent); border-radius: 8px;
               padding: 16px 18px; margin: 24px 0; font-size: 15px; color: var(--text-secondary); }

/* An h2 that sits in a panel where an h3 would look right (keeps heading order valid). */
.panel .h3 { font: 700 19px/1.3 Manrope, sans-serif; letter-spacing: 0; margin: 0 0 14px; }

/* Focus ring on the dark band: --accent on --band is 1.74:1 (fails WCAG 2.4.11 / 1.4.11, needs 3:1), so the ring
   turns --text-inverse there (16.77:1). Inside the white form card it goes back to --accent (9.62:1). */
.band a:focus-visible, .band button:focus-visible { outline-color: var(--text-inverse); }
.band .form a:focus-visible, .band .form button:focus-visible { outline-color: var(--accent); }

/* Inputs sit inside their <label> and `font: inherit` picked up the label's 600 weight. */
.form input, .form select, .form textarea { font-weight: 400; }
/* In-page links (#banking, #need...) land below the 68px sticky header, not under it. */
html { scroll-padding-top: 84px; }

/* ---------- phone / tablet menu (2026-10-08) ----------
   Below 960px the Main links are hidden, so a Menu button opens a panel with every page and the phone number.
   Below 560px "Book a call" leaves the header (brand + Book + Menu would overflow a 320px screen) and leads
   the panel instead. Without JavaScript the button is hidden and the footer links do the job. */
.menu-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px;
            border: 2px solid var(--accent); border-radius: 999px; background: var(--bg); color: var(--text-accent);
            font: 600 15px/1 Inter, sans-serif; cursor: pointer; }
.menu-btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 18px; height: 2px; border-radius: 2px;
            background: currentColor; transition: transform .2s ease, background-color .2s ease; }
.menu-icon { position: relative; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -6px; }
.menu-icon::after { top: 6px; }
.menu-btn[aria-expanded="true"] .menu-icon { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-icon::before { top: 0; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-icon::after { top: 0; transform: rotate(-45deg); }
html:not(.js) .menu-btn { display: none; }
@media (max-width: 559px) { .nav-cta .book { display: none; } }

/* The panel scrolls inside itself: the header is sticky, so a panel taller than a landscape phone screen
   would otherwise be cut off with no way to reach its last links. */
.mobile-nav { border-top: 1px solid var(--line); background: var(--bg);
              max-height: calc(100vh - 68px); max-height: calc(100dvh - 68px); overflow-y: auto; }
.mobile-nav .wrap { padding-top: 16px; padding-bottom: 16px; }
.mobile-nav .btn { width: 100%; }
.mobile-nav ul { list-style: none; margin: 8px 0 0; padding: 0; }
.mobile-nav li a { display: flex; align-items: center; min-height: 48px; color: var(--text-primary);
                   text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-nav li:last-child a { border-bottom: 0; color: var(--text-accent); }
@media (min-width: 960px) { .menu-btn, .mobile-nav { display: none !important; } }

/* Client quotes: rendered only when src/data/testimonials.json holds consented entries (see build.py). */
.testimonials { margin-top: 40px; }
.testimonials h3 { margin-bottom: 18px; }
.quote-card { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
              background: var(--panel); display: grid; gap: 14px; align-content: start; }
.quote-card blockquote { margin: 0; font-size: 17px; }
.quote-card blockquote p::before { content: "\201C"; }
.quote-card blockquote p::after { content: "\201D"; }
.quote-card figcaption { font-size: 14px; font-weight: 600; color: var(--text-secondary); }
