/* Classic Tax Service: one-page site.
   The business has no real logo or brand colors (its current Wix site still uses the template's purple and icon),
   so this palette is a design choice: navy, cream and a muted brass accent with serif headings. */
:root {
  --navy: #1d2b45;
  --navy-2: #26375a;
  --navy-ink: #131c2e;
  --brass: #b08a3e;
  --brass-text: #7d5f1f;
  --cream: #fbf7ef;
  --cream-2: #f2ecdf;
  --white: #ffffff;
  --line: #e0d8c6;
  --ink: #1a1f29;
  --muted: #4c5566;
  --on-navy: #e9edf5;
  --on-navy-muted: #b9c3d6;
  --radius: 10px;
  --header-h: 72px;
  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--cream); color: var(--ink); font: 17px/1.6 var(--sans); }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; color: var(--navy-ink); text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 1.3rem + 3.4vw, 3.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: var(--navy-2); text-underline-offset: 3px; }
a:hover { color: var(--navy-ink); }
:focus-visible { outline: 3px solid var(--navy-ink); outline-offset: 3px; border-radius: 4px; }
.section--navy :focus-visible, .visit :focus-visible, .site-footer :focus-visible { outline-color: #ffffff; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.nowrap { white-space: nowrap; }

.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--navy); color: #fff; padding: 12px 16px; border-radius: 6px; }
.skip:focus { top: 12px; color: #fff; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .3em; min-height: 48px; padding: 10px 22px; border-radius: 4px; font-weight: 600; text-decoration: none; border: 2px solid transparent; transition: background-color .15s, color .15s, border-color .15s; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-ink); color: #fff; }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--cream { background: var(--cream); color: var(--navy-ink); }
.btn--cream:hover { background: #fff; color: var(--navy-ink); }
.btn--ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--navy-ink); }
.btn--small { min-height: 44px; padding: 8px 16px; font-size: .95rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.link { font-weight: 700; }
.link--light { color: #fff; }
.link--light:hover { color: var(--on-navy-muted); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251,247,239,.97); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 12px 24px; flex-wrap: wrap; padding: 10px 0; }
.wordmark { display: inline-flex; align-items: baseline; gap: 8px; text-decoration: none; margin-right: auto; min-height: 44px; padding-top: 8px; }
.wordmark__name { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 1.6rem; color: var(--navy-ink); line-height: 1; }
.wordmark__rest { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--brass-text); }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; text-decoration: none; color: var(--ink); font-weight: 500; border-radius: 4px; }
.site-nav a:hover { background: var(--cream-2); color: var(--navy-ink); }
.header-call { display: inline-flex; }

@media (max-width: 719px) {
  :root { --header-h: 124px; }
  .site-nav { order: 3; width: 100%; border-top: 1px solid var(--line); padding-top: 4px; }
  .site-nav ul { justify-content: space-between; }
  .site-nav a { padding: 0 6px; font-size: .95rem; }
}
@media (max-width: 999px) { .header-call .nowrap { display: none; } }

/* Hero */
.hero { padding: clamp(44px, 7vw, 100px) 0 clamp(52px, 7vw, 96px); background:
  linear-gradient(90deg, rgba(176,138,62,.10) 1px, transparent 1px) 0 0 / 48px 48px,
  linear-gradient(180deg, var(--cream), var(--cream-2)); }
.hero__inner { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero__inner { grid-template-columns: 1.35fr 1fr; gap: 64px; } }
.eyebrow { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--brass-text); margin-bottom: .8em; }
.eyebrow--light { color: #e2c98e; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 46ch; }

.card-hours { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 26px; box-shadow: 0 22px 44px -30px rgba(19,28,46,.55); position: relative; }
.card-hours::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; border-radius: 12px 12px 0 0; background: linear-gradient(90deg, var(--navy), var(--brass)); }
.rating { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; text-decoration: none; color: var(--ink); padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.rating__score { grid-row: span 2; font-family: var(--serif); font-size: 3rem; font-weight: 700; line-height: 1; color: var(--navy-ink); }
.stars { color: var(--brass); letter-spacing: 2px; }
.rating__count { font-size: .95rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.card-hours__title { font-family: var(--sans); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-text); margin-bottom: 10px; }
.hours { margin: 0; display: grid; gap: 8px; }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 8px; border-bottom: 1px dotted var(--line); }
.hours div:last-child { border-bottom: 0; padding-bottom: 0; }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; text-align: right; white-space: nowrap; }
.card-hours__note { margin: 14px 0 0; font-size: .9rem; color: var(--muted); }

/* Sections */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--navy { background: var(--navy); color: var(--on-navy); }
.section--navy h2 { color: #fff; }
.section-head { max-width: 62ch; margin-bottom: 32px; }
.section-head p:not(.eyebrow) { color: var(--muted); }
.section--navy .section-head p:not(.eyebrow) { color: var(--on-navy-muted); }

.services { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 40px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); border-top: 2px solid var(--navy); }
.services li { padding: 20px 0; border-bottom: 1px solid var(--line); }
.services h3 { margin-bottom: .3em; }
.services p { margin: 0; color: var(--muted); }

.quotes { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.quote { margin: 0; background: var(--navy-2); border: 1px solid #3a4c74; border-top: 3px solid var(--brass); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.quote blockquote { margin: 0; font-family: var(--serif); font-size: 1.15rem; line-height: 1.45; color: #fff; }
.quote blockquote p { margin: 0; }
.quote figcaption { font-size: .9rem; color: var(--on-navy-muted); font-weight: 600; }
.more { margin-top: 24px; }

.split { display: grid; gap: 32px; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; } }
.split > div > p { color: var(--muted); }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checklist li { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 12px 16px 12px 48px; position: relative; }
.checklist li::before { content: ""; position: absolute; left: 18px; top: 50%; width: 14px; height: 8px; margin-top: -6px; border-left: 3px solid var(--navy); border-bottom: 3px solid var(--navy); transform: rotate(-45deg); }

.visit { background: var(--navy-ink); color: var(--on-navy); padding: clamp(48px, 7vw, 80px) 0; border-top: 4px solid var(--brass); }
.visit h2 { color: #fff; }
.visit address { font-style: normal; font-size: 1.15rem; margin-bottom: .75em; }
.visit__hours { margin: 0; color: var(--on-navy-muted); }
.visit__inner { display: grid; gap: 24px; align-items: center; }
@media (min-width: 860px) { .visit__inner { grid-template-columns: 1fr auto; } .visit .actions { justify-content: flex-end; } }

.site-footer { background: #0d1422; color: var(--on-navy-muted); padding: 32px 0; font-size: .95rem; }
.site-footer a, .site-footer strong { color: #fff; }
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: flex-end; }
.site-footer p { margin: 0; }
.small { font-size: .85rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
