/* Heart Mountain Tax & Accounting — mockup. Layout and palette follow companyvitals.com;
   the logo and the slab headings carry the Heart Mountain lockup (Roboto Slab). */
:root {
  --ink: #1a1a1a;
  --text: #333333;
  --mute: #6b6b6b;
  --line: #e6e4df;
  --wash: #f7f8fa;
  --white: #ffffff;
  --gold: #c9a84c;
  --gold-deep: #a8892f;
  --charcoal: #2b2b2b;
  --radius: 8px;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--white); color: var(--text);
  font: 400 17px/1.6 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: 24px; }
h1, h2, h3 { color: var(--ink); line-height: 1.12; margin: 0; text-wrap: balance; }
h1 { font: 700 clamp(38px, 5.6vw, 62px)/1.06 "Roboto Slab", Georgia, serif; letter-spacing: -.01em; }
h2 { font: 700 clamp(28px, 3.4vw, 40px)/1.15 "Roboto Slab", Georgia, serif; }
h3 { font: 700 19px/1.3 Inter, sans-serif; }
.eyebrow { font: 600 12.5px/1 Inter, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); margin: 0 0 14px; }
.lede { font-size: 19px; color: var(--mute); max-width: 680px; }

/* preview ribbon */
.preview { background: #fff4d6; color: #6b5313; font: 500 13px/1.4 Inter, sans-serif; text-align: center; padding: 7px 16px; }

/* top bar + header */
.topbar { background: var(--ink); color: #d8d8d8; font-size: 13.5px; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-block: 8px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
header.site { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 14px; }
.brand img { height: 46px; width: auto; }
nav.main { display: flex; align-items: center; gap: 28px; font: 500 15px/1 Inter, sans-serif; }
nav.main a { text-decoration: none; color: var(--text); }
nav.main a:hover, nav.main a[aria-current="page"] { color: var(--gold-deep); }
/* Charcoal text on gold: white on this gold is 2.3:1 and fails WCAG AA; charcoal is 7.6:1. */
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--gold); color: var(--ink); text-decoration: none; cursor: pointer; font: 600 15px/1 Inter, sans-serif; padding: 14px 22px; border-radius: var(--radius); border: 0; }
.btn:hover { background: var(--gold-deep); }
.btn.ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55); }
.btn.ghost:hover { background: rgba(255,255,255,.08); }
.btn.small { padding: 11px 16px; font-size: 14px; }
/* The client portal stays in the top navigation at every width. */
@media (max-width: 860px) { nav.main a:not(.btn):not(.keep) { display: none; } nav.main { gap: 16px; } .brand img { height: 38px; } }
nav.main a { white-space: nowrap; }
/* On phones the call link in the top bar stands in for Contact Us, leaving room for the client portal. */
@media (max-width: 520px) { nav.main .btn.small { display: none; } nav.main a.keep { font-weight: 600; color: var(--ink); } }
@media (max-width: 520px) { nav.main .wide { display: none; } } /* "Upload documents" shortens to "Upload" */
@media (max-width: 380px) { .brand img { height: 30px; } }

/* hero */
.hero { position: relative; background: var(--ink); color: #e9e9e9; overflow: hidden; }
.hero .wrap { position: relative; z-index: 2; padding-block: 96px 120px; }
.hero h1 { color: #fff; max-width: 820px; }
.hero .lede { color: #cfcfcf; margin: 22px 0 32px; }
.hero .ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .ridge { position: absolute; inset: auto 0 0 0; z-index: 1; width: 100%; height: auto; }
.badge { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(201,168,76,.55); color: #e8d29a; border-radius: 6px; padding: 7px 12px; font: 600 13px/1 Inter, sans-serif; margin-bottom: 24px; }

/* strip of facts */
.facts { background: var(--wash); border-bottom: 1px solid var(--line); }
.facts .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-block: 30px; }
.facts div { font-size: 14.5px; color: var(--mute); }
.facts b { display: block; font: 700 17px/1.3 Inter, sans-serif; color: var(--ink); margin-bottom: 4px; }
@media (max-width: 860px) { .facts .wrap { grid-template-columns: 1fr 1fr; } }

/* sections */
section.band { padding-block: 88px; }
section.band.wash { background: var(--wash); }
section.band.dark { background: var(--ink); color: #d9d9d9; }
section.band.dark h2 { color: #fff; }
.head { max-width: 760px; margin-bottom: 44px; }
.head .lede { margin-top: 14px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 28px; }
.card .ico { width: 42px; height: 42px; border-radius: 9px; background: #f6efd9; display: grid; place-items: center; margin-bottom: 18px; }
.card .ico svg { width: 22px; height: 22px; stroke: var(--gold-deep); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card p { margin: 10px 0 0; color: var(--mute); font-size: 15.5px; }
.card ul { margin: 14px 0 0; padding: 0; list-style: none; font-size: 14.5px; }
.card li { padding: 6px 0 6px 22px; position: relative; border-top: 1px solid #f0eee9; }
.card li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 8px; height: 8px; border-radius: 2px; background: var(--gold); }

.commit { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
@media (max-width: 960px) { .commit { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .commit { grid-template-columns: 1fr; } }
.commit h3 { color: #fff; font-size: 18px; }
.commit p { margin: 8px 0 0; font-size: 15px; color: #bdbdbd; }
.commit .n { font: 700 13px/1 Inter, sans-serif; color: var(--gold); letter-spacing: .1em; margin-bottom: 12px; display: block; }

/* towns */
.towns { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .towns { grid-template-columns: 1fr; } }
.townlist { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.townlist span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font: 500 14.5px/1 Inter, sans-serif; color: var(--ink); }
.office { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 30px; }
.office .office-photo { width: calc(100% + 60px); max-width: none; height: auto; aspect-ratio: 4 / 3; object-fit: cover; margin: -30px -30px 24px; border-radius: 11px 11px 0 0; }
.office h3 { font: 700 22px/1.2 "Roboto Slab", Georgia, serif; }
.office dl { margin: 18px 0 0; display: grid; grid-template-columns: 96px 1fr; gap: 10px 14px; font-size: 15.5px; }
.office dt { color: var(--mute); font-weight: 500; }
.office dd { margin: 0; color: var(--ink); }
.office .btn { margin-top: 24px; }

/* team */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 1100px) { .team { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .team { grid-template-columns: 1fr; } }
.person { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.person .photo { aspect-ratio: 4 / 4.4; background: #ece9e2; overflow: hidden; }
.person .photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.person .photo.initials { display: grid; place-items: center; background: linear-gradient(160deg, #2b2b2b, #3a3631); }
.person .photo.initials span { font: 700 64px/1 "Roboto Slab", Georgia, serif; color: var(--gold); letter-spacing: .04em; }
.person .body { padding: 24px 26px 28px; }
.person .role { font: 600 12.5px/1 Inter, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 10px; }
.person h3 { font: 700 24px/1.2 "Roboto Slab", Georgia, serif; }
.person p { margin: 12px 0 0; font-size: 15.5px; color: var(--mute); }
.todo { color: #9a7b1f; background: #fff7df; padding: 0 4px; border-radius: 3px; }

/* page head */
.pagehead { background: var(--ink); color: #cfcfcf; }
.pagehead .wrap { padding-block: 72px 64px; }
.pagehead h1 { color: #fff; }
.pagehead .lede { color: #cfcfcf; margin-top: 16px; }

/* cta band + footer */
.cta { background: var(--wash); border-top: 1px solid var(--line); }
.cta .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 56px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(24px, 2.8vw, 32px); }
footer.site { background: var(--ink); color: #a9a9a9; font-size: 14.5px; }
footer.site .wrap { padding-block: 52px 36px; }
footer.site .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
@media (max-width: 760px) { footer.site .cols { grid-template-columns: 1fr; } }
footer.site img { height: 44px; width: auto; margin-bottom: 16px; }
footer.site h4 { color: #fff; font: 600 13px/1 Inter, sans-serif; letter-spacing: .12em; text-transform: uppercase; margin: 6px 0 14px; }
footer.site a { color: #e6e6e6; text-decoration: none; }
footer.site ul { list-style: none; margin: 0; padding: 0; line-height: 2; }
footer.site .legal { border-top: 1px solid #333; margin-top: 36px; padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #8a8a8a; }

/* five across on the team page */
.wrap.wide { max-width: 1320px; }
.team.five { grid-template-columns: repeat(5, 1fr); gap: 18px; }
.team.five .person .body { padding: 18px 18px 22px; }
.team.five .person h3 { font-size: 20px; }
.team.five .person .role { font-size: 11.5px; letter-spacing: .1em; line-height: 1.35; }
.team.five .person p { font-size: 14.5px; line-height: 1.55; }
.team.five .person .photo { aspect-ratio: 1 / 1.05; }
@media (max-width: 1180px) { .team.five { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px)  { .team.five { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px)  { .team.five { grid-template-columns: 1fr; } }

/* privacy notice */
.prose { max-width: 760px; }
.prose h2 { font-size: 22px; margin: 34px 0 10px; }
.prose p, .prose li { font-size: 16.5px; line-height: 1.65; color: var(--ink); }
.prose ul { padding-left: 20px; margin: 0 0 14px; display: grid; gap: 8px; }
.prose .contact { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 30px; }
.site .legal a { color: inherit; }
