/* Nelson Bookkeeping — warm, friendly original-brand redesign */
:root {
  --forest: #1f3016;
  --blush: #fde1e8;
  --brown: #361a0c;
  --brown-soft: #43311f;
  --sage: #e0ecce;
  --teal: #7ab8bf;
  --navy: #1e3a5f;
  --white: #ffffff;
  --paper: #fbfdf8;
  --line: rgba(31, 48, 22, .16);
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Nunito', Arial, sans-serif;
}

* { box-sizing: border-box; font-style: normal; }
*::before, *::after { font-style: normal; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--forest);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--forest);
  outline-offset: 4px;
}
.skip-link {
  position: absolute;
  top: -90px;
  left: 16px;
  z-index: 100;
  padding: 11px 19px;
  border-radius: 20px;
  background: var(--white);
  color: var(--forest);
}
.skip-link:focus { top: 12px; }
.wrap { width: min(100% - 88px, 1280px); margin-inline: auto; }
.section-dark, .section-cream { color: var(--forest); }
.section-pad { padding: 105px 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 24px;
  padding: 9px 17px;
  border-radius: 999px;
  background: var(--blush);
  color: var(--forest);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .015em;
  line-height: 1.25;
}
.eyebrow-light { color: var(--forest); }
.eyebrow-line {
  display: inline-block;
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}
.eyebrow-dot { margin-inline: 2px; color: var(--brown-soft); }
h1, h2, h3, p, blockquote { margin-top: 0; }
h1, h2, h3 { font-weight: 500; }
h1, h2 {
  font-family: var(--serif);
  letter-spacing: -.046em;
  line-height: 1.08;
}
h1 .heading-accent, h2 .heading-accent { color: var(--brown); font-weight: 500; font-style: normal; }
h2 { margin-bottom: 0; font-size: clamp(48px, 5vw, 76px); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 61px;
  padding: 12px 14px 12px 25px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(31, 48, 22, .12); }
.button span {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--forest);
  font-size: 19px;
  font-weight: 600;
  line-height: 1;
}
.button-primary { background: var(--forest); color: var(--white); }
.button-primary:hover { background: var(--brown-soft); }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 5px 0;
  border-bottom: 2px solid var(--teal);
  color: var(--forest);
  font-size: 13px;
  font-weight: 800;
  transition: gap .2s ease;
}
.text-link:hover { gap: 19px; }
.text-link-light { color: var(--forest); }

/* Header */
.site-header {
  position: relative;
  z-index: 20;
  height: 102px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { width: 190px; height: 82px; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: clamp(17px, 2.3vw, 32px); }
.main-nav > a:not(.nav-cta) {
  color: var(--brown-soft);
  font-size: 13px;
  font-weight: 800;
  transition: color .2s;
}
.main-nav > a:not(.nav-cta):hover { color: var(--forest); text-decoration: underline; text-decoration-color: var(--teal); text-underline-offset: 6px; }
.nav-cta {
  padding: 12px 19px;
  border-radius: 999px;
  background: var(--sage);
  color: var(--forest);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  transition: background .2s ease;
}
.nav-cta:hover { background: var(--teal); }
.nav-cta span { margin-left: 9px; font-size: 17px; }
.menu-toggle { display: none; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  background: var(--paper);
}
.hero::before {
  content: '';
  position: absolute;
  top: 28px;
  right: 2%;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: var(--blush);
}
.hero::after {
  content: '';
  position: absolute;
  right: 2.5%;
  bottom: 27px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--sage);
}
.hero-image {
  position: absolute;
  z-index: 1;
  top: 46px;
  right: 5.4%;
  bottom: 46px;
  width: 42%;
  overflow: hidden;
  border-radius: 48% 48% 34px 34px;
  background: var(--sage);
  box-shadow: 0 22px 55px rgba(31, 48, 22, .12);
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 720px;
  padding-top: 122px;
  padding-bottom: 36px;
}
.hero .eyebrow { margin-bottom: 27px; background: var(--sage); }
.hero h1 {
  max-width: 720px;
  margin: 0 0 26px;
  font-size: clamp(68px, 6.5vw, 102px);
}
.hero h1 .heading-accent { color: var(--forest); box-shadow: inset 0 -.17em 0 var(--blush); }
.hero-intro {
  max-width: 475px;
  margin-bottom: 32px;
  color: var(--brown-soft);
  font-size: 19px;
  line-height: 1.65;
}
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 27px; }
.hero-actions .text-link { color: var(--navy); border-bottom-color: var(--navy); }
.hero-bottom {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  width: 48%;
  margin-top: auto;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  color: var(--brown-soft);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .09em;
}

/* Services */
.services { background: var(--white); }
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 8%;
  margin-bottom: 45px;
}
.services-heading > div { flex: 0 0 52%; }
.section-lead {
  flex: 1;
  max-width: 500px;
  margin: 0 0 5px;
  color: var(--brown-soft);
  font-size: 16px;
  line-height: 1.85;
}
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 370px;
  padding: 28px;
  border: 1px solid rgba(31, 48, 22, .08);
  border-radius: 30px;
  background: var(--paper);
  box-shadow: 0 10px 28px rgba(31, 48, 22, .07);
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(31, 48, 22, .11); }
.service-card:nth-child(1), .service-card:nth-child(5) { background: var(--sage); }
.service-card:nth-child(3) { background: var(--blush); }
.service-card:nth-child(6) { background: #e9f4f2; }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; padding-bottom: 26px; }
.card-number {
  display: grid;
  place-items: center;
  min-width: 58px;
  height: 38px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--white);
  color: var(--forest);
  font-size: 12px;
  font-weight: 800;
}
.card-symbol {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--forest);
  border-radius: 50%;
  color: var(--forest);
  font-size: 17px;
}
.service-card h3 {
  margin: 0 0 14px;
  color: var(--forest);
  font-family: var(--serif);
  font-size: clamp(29px, 2.5vw, 37px);
  line-height: 1.18;
  letter-spacing: -.035em;
}
.service-card p { margin: 0; color: var(--brown-soft); font-size: 14px; line-height: 1.76; }
.service-card .text-link { margin-top: 18px; }

/* Proof */
.proof { background: var(--blush); }
.proof-layout { display: grid; grid-template-columns: 34% 1fr; gap: 9%; align-items: center; }
.proof .eyebrow { background: var(--white); }
.proof h2 { font-size: clamp(57px, 5.3vw, 83px); }
.proof-quote {
  position: relative;
  margin: 0;
  padding: 46px 43px 38px;
  border-radius: 35px;
  background: var(--white);
  box-shadow: 0 15px 35px rgba(67, 49, 31, .07);
}
.quote-mark {
  position: absolute;
  top: -40px;
  left: 37px;
  color: var(--teal);
  font-family: var(--serif);
  font-size: 100px;
  line-height: 1;
}
.proof-quote p {
  max-width: 730px;
  margin: 0 0 27px;
  color: var(--brown);
  font-family: var(--serif);
  font-size: clamp(28px, 2.7vw, 40px);
  letter-spacing: -.025em;
  line-height: 1.33;
}
.proof-quote strong { color: var(--forest); font-weight: 600; box-shadow: inset 0 -.16em 0 var(--sage); }
.proof-quote footer { color: var(--brown-soft); font-size: 12px; font-weight: 800; }

/* How it works */
.process { background: var(--white); }
.process-layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(60px, 8vw, 118px); align-items: center; }
.process-visual { position: relative; min-height: 620px; padding: 20px 18px 0 0; }
.process-visual::before {
  content: '';
  position: absolute;
  inset: 0 0 43px 38px;
  border-radius: 36px;
  background: var(--sage);
}
.process-visual img {
  position: relative;
  width: 100%;
  height: 560px;
  border-radius: 36px;
  object-fit: cover;
  box-shadow: 0 14px 28px rgba(31, 48, 22, .09);
}
.image-caption { display: flex; align-items: center; justify-content: space-between; margin: 18px 0 0; color: var(--brown-soft); font-size: 12px; font-weight: 800; }
.image-caption span { color: var(--forest); font-size: 18px; }
.process h2 { margin: 0 0 35px; font-size: clamp(48px, 4.8vw, 70px); }
.step-list { display: flex; flex-direction: column; gap: 11px; }
.step {
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 15px;
  padding: 19px 21px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
}
.step:nth-child(2) { background: #f5faf4; }
.step-number {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blush);
  color: var(--forest);
  font-size: 13px;
  font-weight: 800;
}
.step h3 { margin: 2px 0 5px; font-family: var(--serif); font-size: 23px; line-height: 1.2; }
.step p { margin: 0; color: var(--brown-soft); font-size: 13px; line-height: 1.7; }
.step p + p { margin-top: 8px; }

/* About */
.about { overflow: hidden; background: var(--sage); }
.about.section-pad { padding: 76px 0; }
.about-layout { display: grid; grid-template-columns: 40% 1fr; gap: 10%; align-items: center; }
.about .eyebrow { background: var(--white); }
.about h2 { font-size: clamp(63px, 6.4vw, 96px); }
.about h2 .heading-accent { color: var(--navy); }
.about-portrait {
  display: block;
  width: 160px;
  height: 160px;
  margin: 23px 0 0 30px;
  border-radius: 50%;
  border: 6px solid var(--blush);
  object-fit: cover;
  object-position: center;
}
.about-copy { padding: 32px 38px; border-radius: 34px; background: var(--white); box-shadow: 0 14px 35px rgba(31, 48, 22, .07); }
.about-copy p { max-width: 650px; margin: 0 0 15px; color: var(--brown-soft); font-size: 15px; line-height: 1.75; }
.about-copy .about-opening { margin-bottom: 18px; color: var(--forest); font-family: var(--serif); font-size: clamp(27px, 2.4vw, 35px); line-height: 1.28; }
.certifications {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin: 4px 0 17px;
  padding-top: 13px;
  border-top: 1px solid rgba(30, 58, 95, .22);
}
.certification {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 10px 5px;
  border-radius: 14px;
  background: var(--paper);
  text-align: center;
}
.certification img { width: 66px; height: 66px; object-fit: contain; }
.certification span { color: var(--navy); font-size: 11px; font-weight: 800; line-height: 1.3; }
.about-copy .text-link { margin-top: 6px; }

/* Service area */
.local { background: var(--white); }
.local-layout { display: grid; grid-template-columns: 1fr .9fr; gap: 9%; align-items: center; }
.local h2 { font-family: var(--serif); font-size: clamp(50px, 5.3vw, 78px); letter-spacing: normal; transform: none; }
.local-origin { display: inline-flex; align-items: center; margin: 32px 0 0; padding: 9px 19px; border-radius: 999px; background: var(--sage); color: var(--forest); font-size: 15px; font-weight: 800; }
.locations { padding: 36px; border-radius: 33px; background: #f4f9ee; }
.locations-label { margin: 0 0 18px; color: var(--brown-soft); font-size: 12px; font-weight: 800; }
.nationwide-note { margin: 0; color: var(--forest); font-family: var(--serif); font-size: clamp(27px, 3vw, 39px); line-height: 1.25; }

/* FAQ */
.faq { background: var(--paper); }
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 9%; align-items: start; }
.faq h2 { font-size: clamp(49px, 5vw, 76px); }
.faq-aside { margin-top: 25px; color: var(--brown-soft); font-size: 16px; }
.faq-list { display: flex; flex-direction: column; gap: 11px; }
.faq details { padding: 0 22px; border: 1px solid var(--line); border-radius: 21px; background: var(--white); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 17px;
  padding: 18px 0;
  color: var(--forest);
  cursor: pointer;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq-icon { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--sage); color: var(--forest); font-size: 21px; font-weight: 600; transition: transform .2s ease; }
.faq details[open] .faq-icon { transform: rotate(45deg); }
.faq details p { max-width: 660px; margin: 0 12px 20px 0; color: var(--brown-soft); font-size: 14px; line-height: 1.8; }
.faq details p a { color: var(--forest); font-weight: 800; text-decoration: underline; text-decoration-color: var(--teal); text-underline-offset: 3px; }

/* Contact and footer */
.contact-band { position: relative; overflow: hidden; padding: 85px 0; background: var(--teal); }
.contact-band::before { content: ''; position: absolute; top: -120px; right: 9%; width: 300px; height: 300px; border-radius: 50%; background: var(--blush); opacity: .55; }
.contact-band-inner { position: relative; display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.contact-band .eyebrow { background: var(--white); }
.contact-band h2 { font-size: clamp(49px, 5vw, 76px); }
.contact-band .button { margin-bottom: 5px; white-space: nowrap; }
.site-footer { padding: 69px 0 22px; border-top: 1px solid var(--line); background: var(--white); color: var(--forest); }
.footer-top { display: grid; grid-template-columns: 1.45fr 1fr .5fr; gap: 44px; padding-bottom: 75px; }
.footer-brand { margin-bottom: 11px; }
.footer-brand img { width: 190px; height: 82px; }
.footer-top p { margin: 0; color: var(--brown-soft); font-size: 14px; }
.footer-contact, .footer-nav { display: flex; flex-direction: column; align-items: start; gap: 12px; }
.footer-label { margin-bottom: 5px; color: var(--brown-soft); font-size: 11px; font-weight: 800; }
.footer-contact a { color: var(--forest); font-family: var(--serif); font-size: 23px; line-height: 1.25; word-break: break-word; }
.footer-nav a { color: var(--brown-soft); font-size: 14px; font-weight: 700; }
.footer-contact a:hover, .footer-nav a:hover, .footer-bottom a:hover { text-decoration: underline; text-decoration-color: var(--teal); text-underline-offset: 4px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--brown-soft); font-size: 11px; font-weight: 700; }

@media (max-width: 1120px) {
  .wrap { width: min(100% - 64px, 1280px); }
  .main-nav { gap: 17px; }
  .hero-image { right: 3%; width: 43%; }
  .hero h1 { max-width: 590px; font-size: clamp(62px, 6.5vw, 82px); }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card { min-height: 310px; }
  .process-layout { gap: 55px; }
  .contact-band-inner { align-items: start; flex-direction: column; }
}

@media (max-width: 760px) {
  .wrap { width: min(100% - 40px, 1280px); }
  .section-pad { padding: 72px 0; }
  .site-header { height: 76px; }
  .brand img { width: 155px; height: 67px; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 44px; height: 44px; padding: 11px; border: 0; border-radius: 50%; background: var(--sage); cursor: pointer; }
  .menu-toggle span { width: 100%; height: 2px; background: var(--forest); transition: transform .2s ease; }
  .menu-toggle[aria-expanded=true] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded=true] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .main-nav { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 17px 20px 24px; border-bottom: 1px solid var(--line); background: var(--white); box-shadow: 0 12px 24px rgba(31, 48, 22, .1); }
  .main-nav.is-open { display: flex; }
  .main-nav > a:not(.nav-cta) { padding: 13px 5px; border-bottom: 1px solid var(--line); font-size: 15px; }
  .nav-cta { align-self: stretch; margin-top: 18px; text-align: center; }
  .hero { display: flex; flex-direction: column; min-height: 0; }
  .hero::before { top: auto; right: -95px; bottom: 250px; }
  .hero::after { right: -40px; bottom: 12px; }
  .hero-content { order: 1; min-height: 0; padding-top: 66px; padding-bottom: 36px; }
  .hero-image { position: relative; order: 2; top: auto; right: auto; bottom: auto; width: calc(100% - 40px); height: 450px; margin: 0 auto 35px; }
  .hero h1 { max-width: 680px; font-size: clamp(57px, 10.5vw, 85px); }
  .hero-intro { max-width: 560px; }
  .hero-bottom { width: 100%; margin-top: 48px; padding-top: 18px; }
  .section-heading, .proof-layout, .process-layout, .about-layout, .local-layout, .faq-layout { display: block; }
  .section-heading { margin-bottom: 33px; }
  .section-lead { max-width: 650px; margin-top: 22px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card { min-height: 345px; padding: 23px; }
  .proof h2 { margin-bottom: 42px; }
  .process-visual { min-height: 0; margin-bottom: 58px; }
  .process-visual img { height: 420px; }
  .about.section-pad { padding: 60px 0; }
  .about-portrait { width: 122px; height: 122px; margin: 18px 0 0; }
  .about-copy { margin-top: 25px; }
  .local-origin { margin-bottom: 35px; }
  .faq h2 { margin-bottom: 15px; }
  .faq-aside { margin: 0 0 30px; }
  .contact-band { padding: 73px 0; }
  .contact-band .button { white-space: normal; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px 20px; padding-bottom: 60px; }
  .footer-top > div:first-child { grid-column: 1/-1; }
}

@media (max-width: 520px) {
  .wrap { width: min(100% - 36px, 1280px); }
  .section-pad { padding: 64px 0; }
  h2, .proof h2, .local h2, .faq h2 { font-size: clamp(44px, 11vw, 57px); }
  .hero-content { padding-top: 55px; }
  .hero h1 { font-size: clamp(48px, 12.2vw, 64px); }
  .hero h1 br { display: none; }
  .hero-intro { font-size: 17px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 22px; }
  .hero .button, .contact-band .button { max-width: 100%; font-size: 12px; }
  .hero-bottom span:last-child { display: none; }
  .hero-image { width: calc(100% - 36px); height: 355px; border-radius: 46% 46% 26px 26px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; gap: 52px; padding: 25px; }
  .service-card h3 { font-size: 32px; }
  .proof-quote { padding: 41px 25px 27px; }
  .proof-quote p { font-size: clamp(27px, 7vw, 34px); }
  .quote-mark { left: 21px; }
  .process-visual { padding: 13px 13px 0 0; }
  .process-visual::before { inset: 0 0 43px 26px; }
  .process-visual img { height: 300px; }
  .process h2 { font-size: clamp(44px, 11vw, 57px); }
  .step { grid-template-columns: 38px 1fr; gap: 12px; padding: 16px; }
  .step-number { width: 34px; height: 34px; }
  .about h2 { font-size: clamp(58px, 15vw, 74px); }
  .about-portrait { width: 104px; height: 104px; }
  .about-copy { padding: 25px 22px; }
  .about-copy .about-opening { font-size: 26px; }
  .certification { padding: 8px 3px; }
  .certification img { width: 60px; height: 60px; }
  .certification span { font-size: 10px; }
  .local h2 br { display: none; }
  .locations { padding: 23px; }
  .faq details { padding: 0 16px; }
  .faq summary { font-size: 16px; }
  .contact-band h2 br { display: none; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-top > div:first-child { grid-column: auto; }
  .footer-bottom { flex-wrap: wrap; }
  .footer-bottom span:nth-child(2) { display: none; }
}

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

@font-face {
  font-family: 'Fraunces Upright';
  src: url('/assets/fonts/fraunces-soft-upright-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --serif: 'Fraunces Upright', 'Fraunces', Georgia, serif;
}
h1, h2, h3 {
  font-feature-settings: "liga" 1, "kern" 1;
  font-synthesis: none;
}
