/* Grant St. Martin, CPA — site styles (v4, 2026-11-02)
   Toned-down version of the trading-card theme: navy, gold and cream from the business card,
   a single card-style frame on the photo, and otherwise a clean professional layout.
   Used by index.html, contact/index.html and thanks.html. */
:root {
  --navy: #0e3a5c;
  --navy-deep: #0a2a44;
  --gold: #c8922a;
  --gold-deep: #8a6418;
  --red: #9e3b32;
  --cream: #f7f1e3;
  --paper: #fbf8f1;
  --ink: #132430;
  --slate: #4a5a67;
  --border: #e2dccd;
  --rule: rgba(14, 58, 92, .16);
  --font-head: 'Roboto Slab', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--navy); }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.18; margin: 0 0 .5em; color: var(--navy-deep); }
h1 { font-size: clamp(2rem, 4.2vw, 2.8rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 10; }

.eyebrow { font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); margin: 0 0 .8em; }
.eyebrow span { color: var(--gold); padding: 0 .4em; }
.eyebrow i { font-style: normal; white-space: nowrap; display: inline-block; }

/* Header */
.site-header { background: var(--navy); border-bottom: 3px solid var(--gold); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 16px; }
.brand { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: #fff; text-decoration: none; white-space: nowrap; }
.brand span { color: var(--gold); }
.nav { display: flex; gap: 26px; align-items: center; font-size: .95rem; }
.nav a { text-decoration: none; color: #c9d6e2; }
.nav a:hover { color: #fff; }
.nav .nav-cta { color: #e0b55e; font-weight: 600; }
@media (max-width: 640px) { .nav { gap: 18px; } .nav a:not(.nav-cta):not(.nav-portal) { display: none; } .brand { font-size: 1.05rem; } }
@media (max-width: 380px) { .brand span { display: none; } }

/* Buttons */
.btn { display: inline-block; padding: 13px 24px; border-radius: 4px; font-family: inherit; font-weight: 600; font-size: .98rem; text-decoration: none; cursor: pointer; border: 1.5px solid var(--navy); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-deep); }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: rgba(14, 58, 92, .06); }

/* Hero */
.hero { padding: 80px 0 76px; }
.hero-inner { display: grid; grid-template-columns: 1.35fr 1fr; gap: 64px; align-items: center; }
.hero-inner > div { min-width: 0; }
.hero-lead { font-size: 1.12rem; color: var(--slate); max-width: 35em; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* Photo in a card-style frame: the one nod to the trading card */
.card-frame {
  position: relative; margin: 0; background: var(--cream); padding: 14px; border-radius: 6px;
  border: 1px solid var(--gold); outline: 1px solid var(--gold); outline-offset: -7px;
  box-shadow: 0 14px 30px rgba(10, 42, 68, .12);
}
.card-frame::before, .card-frame::after { content: ""; position: absolute; width: 14px; height: 14px; border-color: var(--navy); border-style: solid; }
.card-frame::before { top: -1px; left: -1px; border-width: 3px 0 0 3px; border-top-left-radius: 6px; }
.card-frame::after { bottom: -1px; right: -1px; border-width: 0 3px 3px 0; border-bottom-right-radius: 6px; }
.card-frame img { width: 100%; height: auto; }
.card-caption { text-align: center; padding: 12px 4px 2px; }
.card-caption strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; color: var(--navy-deep); }
.card-caption span { font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--slate); }
.hero-photo { max-width: 340px; justify-self: end; width: 100%; margin: 0; }
.hero-photo img { width: 100%; height: auto; border: 1px solid rgba(14, 58, 92, .18); border-radius: 4px; box-shadow: 0 10px 28px rgba(10, 42, 68, .10); }

/* Sections */
section { scroll-margin-top: 20px; }
.services { background: #fff; padding: 76px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 40em; margin-bottom: 28px; }
.section-head .lead { color: var(--slate); }

/* Services table */
.statbox { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--border); border-top: 3px solid var(--navy); font-size: .97rem; }
.statbox thead th { background: var(--paper); color: var(--navy); text-align: left; padding: 10px 16px; font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid var(--border); }
.statbox td { padding: 18px 16px; border-top: 1px solid var(--border); vertical-align: top; }
.statbox td:first-child { width: 34%; border-right: 1px solid var(--border); }
.statbox td:first-child strong { display: block; font-family: var(--font-head); font-weight: 600; color: var(--navy-deep); font-size: 1.06rem; line-height: 1.3; }
.statbox td:first-child span { display: block; color: var(--slate); font-size: .92rem; margin-top: 4px; }
.statbox ul { margin: 0; padding: 0; list-style: none; }
.statbox li { padding: 3px 0 3px 16px; position: relative; }
@media (min-width: 1000px) { .statbox ul { columns: 2; column-gap: 32px; } .statbox li { break-inside: avoid; } }
.statbox li::before { content: ""; position: absolute; left: 0; top: .78em; width: 6px; height: 6px; background: var(--gold); }
.service-note { margin: 18px 0 0; color: var(--slate); font-size: .95rem; }

.about { padding: 76px 0; }
.about-inner { max-width: 44em; }

/* Contact */
.contact { background: var(--navy-deep); color: #e6edf3; padding: 76px 0; border-top: 3px solid var(--gold); }
.contact .eyebrow { color: var(--gold); }
.contact h2 { color: #fff; }
.contact a { color: #fff; }
.contact-inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; }
.contact-intro p { color: #c5d3df; }
.contact-list { list-style: none; padding: 0; margin: 26px 0 0; }
.contact-list li { padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.contact-list span { display: block; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.contact-form { background: #fff; color: var(--ink); border-radius: 6px; padding: 30px; display: grid; gap: 16px; border-top: 3px solid var(--gold); }
.contact-form label { display: grid; gap: 6px; font-size: .9rem; font-weight: 600; color: var(--navy-deep); }
.contact-form input, .contact-form select, .contact-form textarea { font: inherit; font-weight: 400; font-size: 1rem; padding: 11px 12px; border: 1px solid #cfd8df; border-radius: 4px; width: 100%; background: #fff; color: var(--ink); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.form-note { font-size: .82rem; color: var(--slate); margin: 0; }
.form-status { font-size: .92rem; margin: 0; min-height: 1.2em; color: var(--navy); }
.hidden { position: absolute; left: -5000px; }

/* Footer */
.site-footer { padding: 34px 0 40px; font-size: .84rem; color: var(--slate); }
.site-footer p { max-width: 62em; }
.footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; color: var(--navy-deep); font-weight: 600; margin-bottom: 10px; }
.footer-top a { color: var(--navy-deep); }

@media (max-width: 880px) {
  .hero { padding: 48px 0 56px; }
  .hero-inner, .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-photo { justify-self: start; max-width: 280px; }
  .services, .about, .contact { padding: 60px 0; }
  .statbox thead { display: none; }
  .statbox, .statbox tbody, .statbox tr, .statbox td { display: block; width: 100% !important; }
  .statbox td:first-child { border-right: 0; padding-bottom: 6px; }
  .statbox td + td { border-top: 0; padding-top: 4px; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .contact-form { padding: 22px; }
}

/* ---------- /contact digital business card + thanks page ---------- */
.vc-page { background: var(--paper); padding: 32px 16px 48px; display: flex; justify-content: center; }
.vc { width: 100%; max-width: 420px; }
.vc .card-frame { padding: 26px 22px 24px; text-align: center; }
.vc .card-frame .vc-photo { width: 148px; height: 148px; border-radius: 50%; margin: 4px auto 16px; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--gold); object-fit: cover; }
.vc-head { font-size: 1.75rem; margin-bottom: .15em; }
.vc-firm { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--slate); margin-bottom: 4px; }
.vc-tag { font-size: .95rem; color: var(--gold-deep); font-weight: 600; margin-bottom: 20px; }
.vc .btn { display: block; width: 100%; margin-top: 10px; padding: 15px; text-align: center; }
.vc .btn-ghost { background: #fff; }
.vc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.vc-details { list-style: none; padding: 0; margin: 22px 0 0; text-align: left; font-size: .95rem; }
.vc-details li { padding: 9px 2px; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; gap: 12px; }
.vc-details span { color: var(--slate); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; padding-top: 3px; }
.vc-details a { text-decoration: none; }
.vc-foot { text-align: center; font-size: .85rem; margin-top: 18px; }
.vc-foot a { color: var(--slate); }
.vc-thanks p { color: var(--slate); }
.vc-copy { color: var(--slate); font-size: .97rem; }
.vc-details address { font-style: normal; text-align: right; }

/* FAQ (homepage) */
.faq { padding: 76px 0; background: #fff; border-top: 1px solid var(--border); }
.faq-inner { max-width: 48em; }
.faq-list { margin-top: 18px; border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { cursor: pointer; list-style: none; position: relative; padding: 18px 40px 18px 0; font-family: var(--font-head); font-weight: 600; font-size: 1.06rem; color: var(--navy-deep); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-family: var(--font-body); font-weight: 400; font-size: 1.5rem; color: var(--gold-deep); }
.faq details[open] summary::after { content: "\2212"; }
.faq summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.faq details p { margin: 0 0 18px; color: var(--slate); max-width: 42em; }
@media (max-width: 880px) { .faq { padding: 60px 0; } }

/* Services as cards */
.svc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-card { background: #fff; border: 1px solid var(--border); border-top: 3px solid var(--navy); border-radius: 4px; padding: 24px 22px 20px; }
.svc-card h3 { font-size: 1.12rem; margin: 0 0 .4em; color: var(--navy-deep); }
.svc-desc { color: var(--slate); font-size: .94rem; margin: 0 0 14px; }
.svc-card ul { margin: 0; padding: 0; list-style: none; font-size: .95rem; }
.svc-card li { padding: 7px 0 7px 16px; border-top: 1px solid var(--border); position: relative; }
.svc-card li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 6px; height: 6px; background: var(--gold); }
@media (max-width: 960px) { .svc-cards { grid-template-columns: 1fr; max-width: 640px; } }

/* How to get started (contact section) */
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0 0 44px; padding: 0 0 36px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.steps li { counter-increment: step; position: relative; padding-left: 44px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); font-weight: 600; font-size: .9rem; display: flex; align-items: center; justify-content: center; }
.steps strong { display: block; color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; margin-bottom: 2px; }
.steps span { color: #c5d3df; font-size: .94rem; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 18px; } }
