/* Wahl CPA, LLC: site styles. Brand: charcoal + cyan, from the logo. */
:root {
  --ink: #1f2629;
  --ink-2: #3a4448;
  --muted: #5b676c;
  --line: #e1e7ea;
  --bg: #ffffff;
  --bg-soft: #f3f6f7;
  --charcoal: #2b3235;
  --charcoal-deep: #1c2225;
  --cyan: #22b8e6;
  --cyan-2: #4fd3e3;
  --link: #08789f;
  --link-hover: #055a78;
  --focus: #ffb703;
  --radius: 12px;
  --wrap: 1120px;
  --font: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 2px; }
a:hover { color: var(--link-hover); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.2; color: var(--ink); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; top: 0; background: #000; color: #fff; padding: 10px 14px; z-index: 20; }
.skip:focus { left: 10px; top: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 10px; }
.brand img { width: 260px; }
.header-phone { color: var(--ink-2); text-decoration: none; font-weight: 600; white-space: nowrap; }
.header-phone:hover { color: var(--link); }
.site-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 28px; align-items: center; justify-content: center; margin: 0 auto; padding: 6px 20px 14px; max-width: var(--wrap); }
.site-nav a { color: var(--ink-2); text-decoration: none; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--cyan); }
.site-nav a.nav-cta { background: var(--charcoal); color: #fff; padding: 9px 16px; border-radius: 999px; border: 0; }
.site-nav a.nav-cta:hover { background: #000; color: #fff; }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-block; padding: 13px 24px; border-radius: 999px; font-weight: 700; text-decoration: none; letter-spacing: .02em; line-height: 1.3; }
.btn-primary { background: var(--cyan); color: #04222d; }
.btn-primary:hover { background: var(--cyan-2); color: #04222d; }
.btn-ghost { border: 2px solid rgba(255, 255, 255, .75); color: #fff; padding: 11px 22px; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-dark { background: var(--charcoal); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-outline { border: 2px solid var(--charcoal); color: var(--charcoal); padding: 11px 22px; }
.btn-outline:hover { background: var(--charcoal); color: #fff; }

/* Hero */
.hero { position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(90deg, rgba(14, 20, 26, .92) 0%, rgba(14, 20, 26, .74) 45%, rgba(14, 20, 26, .25) 100%), url("/img/hero-skyline.jpg") center 55% / cover no-repeat, var(--charcoal-deep); }
.hero h1, .hero p { text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
.hero-inner { position: relative; z-index: 1; padding: 92px 20px 100px; max-width: var(--wrap); margin: 0 auto; }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.4rem); margin: 0 0 18px; max-width: 16ch; letter-spacing: -.01em; }
.hero p { font-size: 1.15rem; color: #d3e1e6; max-width: 46ch; margin: 0 0 30px; }

/* Sections */
.section { padding: 76px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section h2 { font-size: clamp(1.65rem, 3vw, 2.3rem); margin: 0 0 10px; }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--link); margin: 0 0 8px; }
.lead { color: var(--muted); font-size: 1.08rem; margin: 0; }
.grid-2 { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: start; }
.grid-2 h3 { font-size: 1.2rem; margin: 0 0 6px; }
.grid-2 h3 + p { margin-top: 0; }
.grid-2 .block + .block { margin-top: 28px; }
.photo { border-radius: var(--radius); box-shadow: 0 14px 34px rgba(0, 0, 0, .14); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card h3 { margin: 0 0 8px; font-size: 1.12rem; }
.card p { margin: 0 0 12px; color: var(--ink-2); }
.card a.more { font-weight: 700; text-decoration: none; }
.card .tag { display: inline-block; width: 34px; height: 30px; background: linear-gradient(135deg, var(--cyan-2), var(--cyan)); clip-path: polygon(0 0, 100% 0, 50% 100%); margin-bottom: 12px; }
.partners { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: center; }
.partners a { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 20px; display: flex; align-items: center; justify-content: center; height: 100px; min-width: 150px; }
.partners a:hover { border-color: var(--cyan); }
.partners img { max-height: 68px; width: auto; }
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 28px; max-width: 760px; }
.contact-grid .card p { margin: 0; }
.note { background: #fff; border-left: 4px solid var(--cyan); padding: 14px 18px; border-radius: 0 var(--radius) var(--radius) 0; color: var(--ink-2); margin: 28px 0 0; }
.social { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; padding: 0; margin: 0; }
.social a { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 9px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; }
.social a:hover { border-color: var(--cyan); }
.social .ico { width: 30px; height: 30px; border-radius: 50%; background: var(--charcoal); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: .85rem; font-family: Georgia, "Times New Roman", serif; }

/* CTA band */
.cta-band { background: var(--charcoal); color: #fff; border-radius: var(--radius); padding: 34px 36px; display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.cta-band h2, .cta-band h3 { color: #fff; margin: 0 0 4px; }
.cta-band p { margin: 0; color: #cfdde2; }

/* Page header (inner pages) */
.page-head { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 52px 0 40px; }
.page-head h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin: 0 0 8px; }
.page-head p { margin: 0; color: var(--muted); max-width: 60ch; }

/* Services */
.svc-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 16px; }
.svc-list li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.svc-list strong { display: block; font-size: 1.05rem; margin-bottom: 4px; color: var(--ink); }
.svc-list span { color: var(--ink-2); }
.svc-group + .svc-group { margin-top: 56px; }
.svc-group h2 { margin: 0 0 6px; }
.svc-group > p { color: var(--muted); margin: 0 0 22px; max-width: 70ch; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin: 0; }
.quote p { margin: 0 0 14px; }
.quote footer { color: var(--muted); font-size: .93rem; }
.quote footer strong { color: var(--ink); }

/* FAQ */
.faq { max-width: 820px; }
details { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin: 0 0 12px; background: #fff; }
summary { cursor: pointer; font-weight: 700; font-size: 1.08rem; }
details p { margin: 12px 0 0; color: var(--ink-2); }

/* Tax news */
.post-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; max-width: 860px; }
.post-list li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; grid-template-columns: 280px 1fr; gap: 24px; align-items: start; }
.post-thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; }
.post-hero { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); margin: 10px 0 26px; }
.post-list h2 { font-size: 1.3rem; margin: 6px 0 8px; }
.post-list h2 a { color: var(--ink); text-decoration: none; }
.post-list h2 a:hover { color: var(--link); }
.post-list p { margin: 0 0 10px; color: var(--ink-2); }
.meta { font-size: .84rem; color: var(--muted); letter-spacing: .03em; }
.crumb { font-size: .9rem; margin: 0 0 10px; }
.article { max-width: 760px; }
.prose { font-size: 1.05rem; }
.prose h2, .prose h3, .prose h4 { margin: 1.6em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .3em 0; }
.prose img { margin: 18px 0; max-height: 120px; width: auto; }
.prose table { border-collapse: collapse; width: 100%; margin: 1em 0; font-size: .95rem; }
.prose td, .prose th { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.disclaimer { font-size: .88rem; color: var(--muted); border-top: 1px solid var(--line); margin-top: 36px; padding-top: 16px; }

/* Partner logo that is wide and short (Avalon Tax wordmark) */
.partners img.wide { width: 210px; height: auto; max-height: none; }
.prose img.inline-logo { width: 240px; height: auto; max-height: none; }

/* New client questionnaire */
[hidden] { display: none !important; }
.form-wrap { max-width: 840px; }
.form-wrap > .note { margin: 0 0 24px; }
.form-section { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 8px; margin: 0 0 20px; }
.form-section h2 { font-size: 1.25rem; margin: 0 0 18px; }
.field { margin: 0 0 20px; }
fieldset.field { border: 0; padding: 0; min-width: 0; }
.field > label, .field > legend { display: block; font-weight: 600; margin: 0 0 8px; padding: 0; color: var(--ink); }
.hint { color: var(--muted); font-size: .93rem; margin: -2px 0 8px; }
.req { color: #b42318; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; min-height: 48px; color: var(--ink);
  background: #fff; border: 1px solid #c5d0d4; border-radius: 10px; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(34, 184, 230, .35); outline-offset: 0; border-color: var(--cyan); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.choices.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choice { display: flex; align-items: center; gap: 12px; border: 1px solid #d5dde0; border-radius: 10px; padding: 12px 16px; min-height: 50px; background: #fff; cursor: pointer; font-weight: 400; line-height: 1.35; transition: border-color .15s, background-color .15s; }
.choice:hover { border-color: #9fdcef; background: #f8fdff; }
.choice input { margin: 0; width: 20px; height: 20px; flex: none; accent-color: var(--charcoal); }
.choice.consent { align-items: flex-start; }
.choice.consent input { margin-top: 2px; }
.choice:has(input:checked) { border-color: var(--cyan); background: #eefaff; }
.choice:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.choice.consent { margin: 4px 0 20px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.other-field { margin: 12px 0 0; padding-left: 14px; border-left: 3px solid var(--cyan); }
.counter { text-align: right; margin: 4px 0 0; font-size: .82rem; }
.field input[type="date"] { width: 100%; font: inherit; font-size: 16px; padding: 11px 14px; min-height: 48px; color: var(--ink); background: #fff; border: 1px solid #c5d0d4; border-radius: 10px; }
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: #d92d20; background: #fffbfa; }
.form-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 6px; }
.form-actions .hint { margin: 0; }
button.btn { border: 0; cursor: pointer; font: inherit; font-weight: 700; }
button.btn:disabled { opacity: .6; cursor: wait; }
.form-status { display: none; margin-top: 16px; padding: 14px 16px; border-radius: 10px; }
.form-status.ok { display: block; background: #ecfdf3; border: 1px solid #abefc6; color: #05603a; }
.form-status.err { display: block; background: #fef3f2; border: 1px solid #fecdca; color: #912018; }
.thanks { background: #ecfdf3; border: 1px solid #abefc6; border-radius: var(--radius); padding: 28px; }
.thanks h2 { margin: 0 0 8px; color: #05603a; }

/* Footer */
.site-footer { background: var(--charcoal-deep); color: #c5d2d7; padding: 48px 0 28px; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 28px; }
.footer-grid h2 { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 12px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin: 0 0 8px; }
.footer-brand { color: #fff; font-weight: 700; font-size: 1.15rem; margin: 0 0 6px; }
.footer-bottom { border-top: 1px solid #34413f; margin-top: 30px; padding-top: 18px; font-size: .85rem; color: #9eb0b6; }

/* Small screens */
@media (max-width: 860px) {
  body { font-size: 16px; }
  .grid-2, .cards, .contact-grid, .footer-grid, .quotes, .row-2, .choices, .choices.cols-3 { grid-template-columns: 1fr; }
  .form-section { padding: 22px 18px 4px; }
  .grid-2 { gap: 32px; }
  .header-row { justify-content: center; }
  .brand img { width: 210px; }
  .header-phone { display: none; }
  .site-nav ul { gap: 4px 18px; padding-bottom: 12px; }
  .site-nav a { font-size: .74rem; letter-spacing: .08em; }
  .hero { background: linear-gradient(180deg, rgba(14, 20, 26, .86), rgba(14, 20, 26, .72)), url("/img/hero-skyline.jpg") center / cover no-repeat, var(--charcoal-deep); }
  .post-list li { grid-template-columns: 1fr; gap: 14px; }
  .hero-inner { padding: 64px 20px 72px; }
  .section { padding: 56px 0; }
  .cta-band { padding: 26px 22px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print { .site-nav, .hero::after, .cta-band { display: none; } }
