/* MV Tax Solutions — static site stylesheet. No external resources. */

/* ---------- Palette: Mt Baker ridge blue (chosen by Mark 2026-11-19). Colours live only here. ---------- */
:root {
  --primary-rgb: 7,43,87;   /* = primary-dark, used for hero overlays */
  --primary: #0a4081;       /* deep Mt Baker ridge blue */
  --primary-dark: #072b57;
  --primary-soft: #e8eef7;
  --accent: #f0a830;        /* warm accent: buttons only */
  --accent-hover: #ffbd4f;
  --accent-ink: #1a1a1a;
}

:root {
  --ink: #1d242c;
  --muted: #4a5561;
  --bg: #ffffff;
  --surface: #f5f7fa;
  --line: #d9e0e8;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(10,30,60,.06), 0 8px 24px rgba(10,30,60,.08);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --step-0: clamp(1rem, .96rem + .2vw, 1.0625rem);
  --step-1: clamp(1.15rem, 1.08rem + .35vw, 1.3rem);
  --step-2: clamp(1.4rem, 1.2rem + 1vw, 1.9rem);
  --step-3: clamp(1.9rem, 1.4rem + 2.4vw, 3rem);
  --step-4: clamp(2.2rem, 1.5rem + 3.6vw, 3.8rem);
  --gutter: clamp(1rem, 4vw, 2rem);
  --header-h: 72px;
}

*, *::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; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--font); font-size: var(--step-0); line-height: 1.65; color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-underline-offset: .18em; }
a:hover { color: var(--primary-dark); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; margin: 0 0 .6em; color: var(--primary-dark); text-wrap: balance; }
h1 { font-size: var(--step-4); } h2 { font-size: var(--step-3); } h3 { font-size: var(--step-2); } h4 { font-size: var(--step-1); }
p { margin: 0 0 1.1em; text-wrap: pretty; }
ul, ol { padding-left: 1.25em; margin: 0 0 1.2em; }
li { margin-bottom: .4em; }
:focus-visible { outline: 3px solid #1a73e8; outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; color: #000; padding: .75rem 1rem; z-index: 100; }
.skip:focus { left: 0; }
.container { width: min(1160px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.narrow { width: min(780px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Top utility bar ---------- */
.topbar { background: var(--primary-dark); color: #fff; font-size: .9rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 1rem; align-items: center; min-height: 40px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; padding: .4rem 0; }
.topbar a:hover { text-decoration: underline; }
.topbar .hours { opacity: .85; }
.out-of-area { margin-top: 1.25rem; padding: .9rem 1.1rem; border-left: 4px solid var(--accent); background: #fff; }
@media (max-width: 640px) { .topbar .container { padding-top: .35rem; padding-bottom: .35rem; gap: .1rem 1rem; } .topbar { font-size: .82rem; } .topbar .hours { flex: 1 1 100%; line-height: 1.35; } .topbar a { display: inline-block; padding: .75rem .3rem; margin: -.4rem -.3rem; } }

/* ---------- Header / nav ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 1rem; }
.brand img { height: 44px; width: auto; }
.nav-list { display: flex; align-items: center; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.nav-list li { margin: 0; }
.nav-list a { display: block; white-space: nowrap; padding: .6rem .8rem; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; border-radius: 8px; }
.nav-list a:hover { background: var(--primary-soft); color: var(--primary-dark); }
.nav-list a[aria-current="page"] { color: var(--primary); box-shadow: inset 0 -3px 0 var(--primary); border-radius: 0; }
.nav-list .nav-portal a { border: 1.5px solid var(--primary); color: var(--primary); }
.nav-cta { margin-left: .5rem; }
.nav-toggle { display: none; background: none; border: 1.5px solid var(--line); border-radius: 10px; padding: .55rem .8rem; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; }
.nav-toggle .bars { display: inline-block; width: 18px; height: 2px; background: currentColor; position: relative; vertical-align: middle; margin-right: .5rem; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; }
.nav-toggle .bars::before { top: -6px; } .nav-toggle .bars::after { top: 6px; }
/* the off-canvas menu is parked off-screen; never let it widen the page */
html, body { overflow-x: clip; }
.nav-scrim { display: none; }
@media (max-width: 1199px) {
  .js .nav-toggle { display: inline-block; }
  .js .site-nav { position: fixed; inset: 0 0 0 auto; width: min(340px, 88vw); background: #fff; padding: 5rem 1.25rem 2rem; transform: translateX(105%); transition: transform .25s ease, visibility 0s linear .25s; z-index: 70; overflow-y: auto; box-shadow: -10px 0 30px rgba(0,0,0,.2); visibility: hidden; }
  .js .site-nav.open { transform: none; visibility: visible; transition: transform .25s ease, visibility 0s; }
  .js .nav-list { flex-direction: column; align-items: stretch; gap: .25rem; }
  .js .nav-list a { padding: .9rem 1rem; font-size: 1.05rem; }
  .js .nav-cta { margin: 1rem 0 0; }
  .js .nav-close { display: block; position: absolute; top: 1rem; right: 1rem; }
  .js .nav-scrim.open { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 60; }
  html:not(.js) .site-header .container { flex-wrap: wrap; padding-block: .5rem; }
  html:not(.js) .nav-list { flex-wrap: wrap; }
}
.nav-close { display: none; background: none; border: 1.5px solid var(--line); border-radius: 10px; padding: .5rem .8rem; font: inherit; font-weight: 600; cursor: pointer; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.4rem; border-radius: 999px; font: inherit; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; line-height: 1.2; min-height: 48px; transition: background .15s, transform .15s; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); color: var(--accent-ink); transform: translateY(-1px); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.85); }
.btn-outline:hover { background: rgba(255,255,255,.14); color: #fff; }
.btn-outline-dark { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline-dark:hover { background: var(--primary-soft); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.btn-sm { padding: .6rem 1.1rem; min-height: 44px; font-size: .95rem; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; color: #fff; background: var(--primary-dark); overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 65% 35%; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(var(--primary-rgb),.92) 0%, rgba(var(--primary-rgb),.78) 38%, rgba(var(--primary-rgb),.18) 75%, rgba(var(--primary-rgb),.05) 100%); }
.hero .container { padding-block: clamp(3.5rem, 9vw, 7rem); }
.hero h1 { color: #fff; max-width: 17ch; }
.hero .lede { font-size: var(--step-1); max-width: 54ch; color: #eef3fa; margin-bottom: 1.6rem; }
.hero .btn-row { margin-bottom: 1rem; }
.hero .phone-link { color: #fff; font-weight: 700; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: var(--accent); margin-bottom: .8rem; }
.page-hero .eyebrow { color: #ffd98c; }

/* ---------- Trust strip ---------- */
.trust { background: var(--primary-soft); border-bottom: 1px solid var(--line); }
.trust ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem 2rem; }
.trust li { margin: 0; padding: 1.25rem 0; display: flex; gap: .8rem; align-items: center; font-weight: 600; color: var(--primary-dark); }
.trust .ico { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-size: 1.2rem; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section.alt { background: var(--surface); }
.section-head { max-width: 62ch; margin-bottom: 2.2rem; }
.section-head p { color: var(--muted); font-size: var(--step-1); }
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); display: flex; flex-direction: column; container-type: inline-size; }
.card h3 { font-size: var(--step-2); }
.card h3 a { text-decoration: none; color: inherit; }
.card .more { margin-top: auto; font-weight: 700; padding-top: .5rem; }
.card ul { color: var(--muted); }
.pillar { border-top: 6px solid var(--primary); padding: 2rem; }
.pillar .tag { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); }
.pillar ul { columns: 2; column-gap: 1.5rem; }
@container (max-width: 380px) { .pillar ul { columns: 1; } }
.linkcard { text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
.linkcard:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(10,30,60,.08), 0 14px 30px rgba(10,30,60,.12); color: inherit; }
.linkcard h3 { font-size: var(--step-1); color: var(--primary-dark); }
.linkcard p { color: var(--muted); margin-bottom: 0; }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.steps li { counter-increment: s; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; position: relative; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; margin-bottom: .9rem; }
.steps h3 { font-size: var(--step-1); margin-bottom: .3em; }
.steps p { color: var(--muted); margin: 0; }

/* ---------- Credentials placeholders ---------- */
.creds { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.creds > .cred-slot { flex: 1 1 200px; max-width: 270px; }
.pay-accepts { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; margin: 1rem 0 0; font-size: .9rem; color: inherit; }
.pay-chips { display: inline-flex; flex-wrap: wrap; gap: .4rem; }
.pay-chip { display: inline-flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: .3rem .55rem; min-width: 54px; height: 34px; }
.pay-chip img { display: block; max-width: 60px; }
.pay-chip-text { font-size: .8rem; font-weight: 700; color: var(--primary-dark); letter-spacing: .02em; white-space: nowrap; }
.pay-chip img[alt="American Express"] { height: 26px !important; width: 26px !important; }
.site-footer .pay-chips { gap: .3rem; flex-wrap: wrap; }
.site-footer .pay-chip { min-width: 44px; height: 30px; padding: .2rem .4rem; }
.site-footer .pay-chip img { height: 16px !important; max-width: 46px; }
.site-footer .pay-chip img[alt="American Express"] { height: 22px !important; width: 22px !important; }
@media (max-width: 400px) { .site-footer .pay-chips { flex-wrap: wrap; } }
.member-badge { display: flex; align-items: center; gap: 1.1rem; margin: 1.4rem 0; padding: 1rem 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.member-badge img { width: 96px; height: 96px; flex: none; }
.member-badge p { margin: 0; color: var(--primary-dark); }
@media (max-width: 480px) { .member-badge { flex-direction: column; text-align: center; } }
.cred-slot.cred-has-logo { border: 1px solid var(--line); background: #fff; padding: 1.25rem 1.5rem; }
.cred-slot { border: 2px dashed var(--line); border-radius: var(--radius); min-height: 90px; display: grid; place-items: center; color: var(--muted); font-size: .9rem; text-align: center; padding: 1rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--primary); color: #fff; }
.cta-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: clamp(2.5rem, 6vw, 4rem); }
.cta-band h2 { color: #fff; margin-bottom: .3em; font-size: var(--step-3); }
.cta-band p { margin: 0; color: #e6eefa; font-size: var(--step-1); }
.cta-band .phone-link { color: #fff; font-weight: 700; }

/* ---------- Inner page header ---------- */
.page-hero { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: #fff; }
.page-hero .container { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.page-hero h1 { color: #fff; font-size: var(--step-4); max-width: 22ch; margin-bottom: .3em; }
.page-hero p { font-size: var(--step-1); max-width: 62ch; color: #e8eff9; margin: 0; }
.crumbs { font-size: .9rem; margin-bottom: 1rem; color: #cfdcef; }
.crumbs a { color: #fff; }

/* ---------- Prose / content ---------- */
.prose { max-width: 72ch; }
.prose h2 { font-size: var(--step-2); margin-top: 2em; }
.prose h3 { font-size: var(--step-1); margin-top: 1.6em; }
.with-aside { display: grid; gap: 2.5rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .with-aside { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; } .aside { position: sticky; top: calc(var(--header-h) + 20px); } }
.aside .card { gap: .5rem; }
.aside h3 { font-size: var(--step-1); }
.note { background: var(--primary-soft); border-left: 4px solid var(--primary); padding: 1rem 1.25rem; border-radius: 0 10px 10px 0; margin: 1.5rem 0; font-size: .97rem; }
.subnav { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 2rem; padding: 0; list-style: none; }
.subnav a { display: block; padding: .45rem .9rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: .92rem; font-weight: 600; background: #fff; }
.subnav a:hover { background: var(--primary-soft); }
.checklist { list-style: none; padding: 0; }
.checklist li { padding-left: 1.7rem; position: relative; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 700; }
.service-block { padding-block: 1.75rem; border-top: 1px solid var(--line); }
.service-block:first-of-type { border-top: 0; }
.service-block h2 { font-size: var(--step-2); margin-top: 0; }

/* ---------- FAQ ---------- */
details.faq { border: 1px solid var(--line); border-radius: 12px; background: #fff; margin-bottom: .75rem; }
details.faq summary { cursor: pointer; padding: 1rem 1.25rem; font-weight: 700; color: var(--primary-dark); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--primary); }
details.faq[open] summary::after { content: "–"; }
details.faq .answer { padding: 0 1.25rem 1rem; color: var(--muted); }

/* ---------- Form ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--shadow); }
.field { margin-bottom: 1.15rem; }
.field label { display: block; font-weight: 700; margin-bottom: .35rem; }
.field .req { color: #b3261e; }
.field input, .field select, .field textarea { width: 100%; font: inherit; padding: .75rem .9rem; border: 1.5px solid #8794a3; border-radius: 10px; background: #fff; color: var(--ink); min-height: 48px; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); outline: 3px solid rgba(26,115,232,.35); outline-offset: 1px; }
.field .hint { font-size: .9rem; color: var(--muted); margin-top: .3rem; }
.field .err { color: #b3261e; font-size: .92rem; margin-top: .3rem; display: none; font-weight: 600; }
.field.invalid .err { display: block; }
.field.invalid input, .field.invalid select { border-color: #b3261e; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.privacy-warn { background: #fff7e0; border: 1px solid #e6c46a; border-radius: 10px; padding: .85rem 1rem; font-size: .95rem; margin-bottom: 1.15rem; }
.preview-note { background: #fff3cd; border: 2px dashed #b58900; padding: .8rem 1rem; border-radius: 10px; margin-bottom: 1rem; font-weight: 600; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { margin-bottom: 1rem; }
.contact-list strong { display: block; color: var(--primary-dark); }

/* ---------- Footer ---------- */
.site-footer { background: var(--primary-dark); color: #dbe5f3; padding-top: clamp(2.5rem, 5vw, 4rem); font-size: .97rem; }
.site-footer a { color: #fff; }
.site-footer h2 { font-size: 1rem; color: #fff; font-family: var(--font); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); padding-bottom: 2.5rem; }
.footer-logo { height: 46px; width: auto; filter: brightness(0) invert(1); margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .45rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.18); padding-block: 1.25rem; font-size: .88rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; color: #b9c8dd; }
.disclaimer { font-size: .85rem; color: #b9c8dd; max-width: 70ch; }


@media print { .topbar, .site-header, .cta-band,  }

@media (max-width: 720px) {
  .hero::before { background: linear-gradient(180deg, rgba(var(--primary-rgb),.9) 0%, rgba(var(--primary-rgb),.82) 60%, rgba(var(--primary-rgb),.6) 100%); }
}
.narrow .prose { max-width: none; }
