@font-face {
  font-family: Fraunces;
  src: url('assets/fraunces.woff2') format('woff2');
  font-style: normal;
  font-weight: 650 900;
  font-display: swap;
}

@font-face {
  font-family: Quicksand;
  src: url('assets/quicksand.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --forest: #143b2e;
  --forest-deep: #102e24;
  --cream: #f7f1e3;
  --paper: #fdfbf6;
  --butter: #ffd34e;
  --lilac: #b7a2f2;
  --pale-lilac: #ece5fa;
  --text: #2e493e;
  --line: #d8d8ca;
  --display: Fraunces, Georgia, serif;
  --body: Quicksand, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--forest); font: 600 1rem/1.65 var(--body); }
a { color: inherit; text-underline-offset: .22em; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, .service h3 { font-family: var(--display); }
h1, h2 { font-weight: 780; line-height: .98; letter-spacing: -.04em; word-spacing: .045em; }
h2 { font-size: clamp(2.45rem, 5vw, 4.55rem); }
p { color: var(--text); }
.wrap { width: min(100% - 7rem, 76rem); margin-inline: auto; }
.section { padding-block: clamp(4rem, 7.2vw, 7rem); }
.eyebrow { font-size: .875rem; line-height: 1.4; font-weight: 700; letter-spacing: .135em; text-transform: uppercase; }
:focus-visible { outline: 3px solid #6a5599; outline-offset: 4px; }
.skip-link { position: absolute; z-index: 3; inset: .5rem auto auto .5rem; clip-path: inset(50%); background: var(--butter); padding: .7rem 1rem; }
.skip-link:focus { clip-path: none; }

.site-header { background: var(--cream); }
.header-inner {
  min-height: 90px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(1.15rem, 3.4vw, 3.75rem);
  border-bottom: 1px solid var(--line);
}
.brand { justify-self: start; }
.brand img, .footer-brand img { height: auto; }
.main-nav { display: flex; gap: clamp(1.25rem, 2.8vw, 2.75rem); align-items: center; white-space: nowrap; }
.main-nav a, .site-footer a { text-decoration: none; font-weight: 700; }
.main-nav a:hover, .site-footer a:hover { text-decoration: underline; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: .7rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  transition: background-color .16s ease, color .16s ease;
}
.button-outline { justify-self: end; border-color: var(--forest); min-height: 44px; }
.button-outline:hover { background: var(--forest); color: var(--cream); }
.button-primary { color: var(--cream); background: var(--forest); }
.button-primary:hover { background: #285b49; }
.button-yellow { color: var(--forest); background: var(--butter); }
.button-yellow:hover { background: #ffe18a; }

@media (min-width: 721px) {
  .homepage {
    --homepage-header-height: 4.25rem;
    scroll-padding-top: calc(var(--homepage-header-height) + .5rem);
  }
  .homepage .site-header { position: sticky; top: 0; z-index: 2; }
  .homepage .header-inner { min-height: var(--homepage-header-height); }
}

.hero { background: var(--cream); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2.2rem, 8vw, 8rem);
  align-items: center;
  padding-block: clamp(3rem, 5.15vw, 5rem) clamp(3rem, 5vw, 4.8rem);
}
.hero-kicker { margin-bottom: 1.35rem; }
.hero h1 { font-size: clamp(4.15rem, 8.3vw, 8.25rem); font-weight: 830; line-height: .9; word-spacing: .055em; }
.hero-copy { margin-top: 1.6rem; max-width: 29rem; font-size: clamp(1rem, 1.5vw, 1.22rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem 1.25rem; margin-top: 1.7rem; }
.hero-booking { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.hero-booking:hover, .service-details a:hover { text-decoration-thickness: 2px; }
.hero-visual { position: relative; align-self: stretch; min-width: 0; }
.portrait { background: #e4dfcf; border-radius: 7px; overflow: hidden; aspect-ratio: 1.12; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
.brand-stamp {
  position: absolute;
  right: -1.05rem;
  bottom: 2.7rem;
  width: clamp(5.3rem, 9.1vw, 7.3rem);
  height: auto;
  background: var(--cream);
  border-radius: 50%;
  filter: drop-shadow(0 3px 5px #102e2420);
  transform: rotate(8deg);
  pointer-events: none;
}
figcaption { display: flex; align-items: baseline; gap: .55rem; margin-top: .75rem; font-size: .875rem; }
figcaption strong { font-weight: 700; }
figcaption span { color: var(--text); }

.section-intro { display: grid; grid-template-columns: 1.05fr 1fr; gap: 2rem; align-items: end; margin-bottom: 2.65rem; }
.section-intro p { max-width: 24rem; font-size: 1.1rem; padding-bottom: .22rem; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.service { padding: 1.8rem clamp(1.15rem, 2.6vw, 2.5rem) 2rem; }
.service:first-child { padding-left: 0; }
.service:last-child { padding-right: 0; }
.service + .service { border-left: 1px solid var(--line); }
.service > img { margin-bottom: 1rem; }
.service h3 { font-weight: 720; font-size: clamp(1.45rem, 2.3vw, 2.18rem); letter-spacing: -.035em; line-height: 1.1; margin-bottom: .65rem; }
.service p { max-width: 23rem; }
.service .service-details { margin-top: .8rem; border: 0; }
.service-details summary { text-decoration: underline; text-underline-offset: .22em; }
.service .service-details p { padding: 0; }
.service-details ul { margin: .25rem 0 .75rem; padding-left: 1.2rem; color: var(--text); }
.service-details a { font-weight: 700; }
.service-link { display: inline-flex; align-items: center; min-height: 48px; margin-top: .8rem; font-weight: 700; }
.service-link:hover { text-decoration-thickness: 2px; }
.service-example { margin-top: 1.5rem; padding: clamp(1rem, 3.2vw, 2.5rem); border-radius: 7px; background: var(--forest); color: var(--cream); }
.service-example h3 { font: 780 clamp(1.85rem, 3.6vw, 3.3rem)/1.08 var(--display); letter-spacing: -.035em; }
.service-example-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.75rem, 2vw, 1.5rem); margin-top: 1.25rem; }
.service-example-panel { border: 1px solid #8ba398; border-block-start-width: 4px; border-radius: 6px; padding: clamp(.85rem, 2.2vw, 1.5rem); }
.service-example-panel h4 { margin: 0; font-size: clamp(1.05rem, 2vw, 1.25rem); line-height: 1.25; }
.service-example-panel ul { margin: .65rem 0 0; padding-inline-start: 1.15rem; }
.service-example-panel li + li { margin-top: .25rem; }
.service-example-outcome { background: var(--cream); color: var(--forest); border-color: var(--cream); border-block-start-color: var(--butter); }
.services-next { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem 1.1rem; margin-top: 1.3rem; }

.mtd { background: var(--pale-lilac); }
.mtd-grid, .about-grid { display: grid; grid-template-columns: .94fr 1fr; column-gap: clamp(2.5rem, 8vw, 8rem); align-items: center; }
.mtd .eyebrow { margin-bottom: .9rem; }
.mtd h2 + p, .about h2 + p, .contact h2 + p { margin-top: 1.1rem; }
.mtd-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.2rem; margin-top: 1.45rem; }
.mtd-dates {
  background: var(--paper);
  border: 1px solid #d9d0eb;
  border-radius: 7px;
  padding: clamp(1.1rem, 2.8vw, 2.3rem);
}
table { width: 100%; border-collapse: collapse; text-align: left; }
caption { text-align: left; font: 720 clamp(1.35rem, 2.15vw, 2rem)/1.15 var(--display); letter-spacing: -.028em; padding-bottom: 1.2rem; }
thead th { font-size: .875rem; }
th, td { border-bottom: 1px solid var(--line); padding: .64rem .55rem .64rem 0; font-weight: 700; }
td { white-space: nowrap; padding-right: 0; }
tbody small { display: block; color: var(--text); font-size: .875rem; font-weight: 600; }
.mtd-dates p { font-size: .875rem; margin-top: .8rem; }

.about { padding-block: clamp(3.5rem, 5.8vw, 5.5rem); }
.about-grid { align-items: start; grid-template-columns: 1.08fr 1fr; column-gap: clamp(1.8rem, 3.5vw, 3.6rem); }
.about-meg { display: grid; grid-template-columns: minmax(0, 1fr) clamp(4rem, 8vw, 7rem); align-items: center; gap: clamp(.65rem, 2vw, 1.5rem); }
.about-bio > p { max-width: 30rem; }
.about-mascot {
  display: block;
  background: radial-gradient(circle closest-side, #fff0ba 96%, transparent 98%);
}
.about-mascot img { width: 100%; height: auto; }
.questions h3 { font-size: 1rem; margin-bottom: .65rem; }
.faq-link { display: block; width: fit-content; margin-top: .35rem; font-weight: 700; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; min-height: 48px; padding: .72rem 0; font-weight: 700; }
details p { padding: 0 0 1rem 1rem; }

.instagram { border-top: 1px solid var(--line); background: var(--cream); padding-block: clamp(3.5rem, 5.8vw, 5.5rem); }
.instagram-header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .75rem 2rem; margin-bottom: 1.8rem; }
.instagram-header h2 { font-size: clamp(2.2rem, 4.2vw, 3.75rem); }
.instagram-grid, .resource-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.15rem, 2.5vw, 2.25rem); }
.instagram-card a { text-decoration: none; }
.instagram-card a:hover h3 { text-decoration: underline; }
.instagram-card img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 43%; border-radius: 6px; background: var(--pale-lilac); }
.instagram-card:nth-child(2) img { object-fit: contain; background: var(--forest); }
.instagram-card:nth-child(3) img { object-position: center top; }
.instagram-card h3 { margin-top: .8rem; font-family: var(--display); font-size: clamp(1.2rem, 2vw, 1.7rem); line-height: 1.2; }
.instagram-card p { margin-top: .3rem; }

.contact { background: var(--forest); color: var(--cream); }
.contact p { color: var(--cream); }
.contact-inner > div > p { max-width: 35rem; }
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.contact-socials { display: flex; flex-wrap: wrap; gap: .2rem 1.25rem; margin-top: .7rem; }
.contact-socials a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.contact :focus-visible, .site-footer :focus-visible { outline-color: var(--butter); }
.site-footer { padding-block: 1.4rem; background: var(--forest-deep); color: var(--cream); font-size: .875rem; }
.site-footer p { color: var(--cream); }
.footer-inner, .site-footer nav { display: flex; gap: 1rem 1.5rem; align-items: center; }
.footer-inner { justify-content: space-between; }

@media (max-width: 970px) {
  .wrap { width: calc(100% - 4rem); }
  .hero-grid { gap: 3.15rem; }
  .hero h1 { font-size: clamp(3.65rem, 8.6vw, 5.7rem); }
  .portrait { aspect-ratio: .94; }
  .footer-inner { flex-wrap: wrap; }
}

@media (max-width: 720px) {
  .wrap { width: calc(100% - 2.5rem); }
  .header-inner { grid-template-columns: 1fr 1fr; gap: .5rem 1rem; padding-block: .8rem .5rem; }
  .brand img { width: 145px; }
  .main-nav { grid-row: 2; grid-column: 1 / -1; gap: 0 clamp(.7rem, 3.5vw, 2rem); font-size: .875rem; flex-wrap: wrap; }
  .main-nav a { padding-block: .42rem; }
  .hero-grid, .section-intro, .mtd-grid, .about-grid, .service-example-grid { grid-template-columns: 1fr; }
  .hero-grid { row-gap: 2.35rem; }
  .hero h1 { font-size: clamp(3.1rem, 14.9vw, 5.7rem); }
  .hero-kicker { margin-bottom: 1rem; }
  .hero-copy { margin-top: 1.15rem; }
  .hero-actions { margin-top: 1.25rem; }
  .portrait { aspect-ratio: 1.14; }
  .brand-stamp { right: -.55rem; }
  .section-intro { gap: .9rem; margin-bottom: 1.7rem; }
  .wide-only { display: none; }
  .service-grid { grid-template-columns: 1fr; }
  .service { padding: 1.2rem 0 1.4rem; }
  .service + .service { border-left: 0; border-top: 1px solid var(--line); }
  .service > img { margin-bottom: .65rem; }
  .mtd-grid, .about-grid { row-gap: 2rem; }
  .instagram-grid, .resource-grid { grid-template-columns: 1fr; gap: 1.65rem; }
  .contact-inner { align-items: flex-start; flex-direction: column; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}

/* Blog and quiz */
.resource-page [aria-current="page"] { text-decoration: underline; }
.reading-wrap { max-width: 51rem; }
.resource-heading { margin: 1.2rem 0 2rem; }
.resource-page h1 { font-size: clamp(2.75rem, 6.5vw, 5.3rem); }
.resource-heading > p:last-child { margin-top: 1rem; max-width: 36rem; font-size: 1.15rem; }
.back-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.resource-card { display: flex; flex-direction: column; gap: .8rem; padding: clamp(1.15rem, 2.5vw, 2rem); border: 1px solid var(--line); border-radius: 7px; background: var(--cream); }
.resource-card:nth-child(2) { background: var(--pale-lilac); }
.resource-card h2 { font-size: clamp(1.65rem, 2.7vw, 2.45rem); line-height: 1.07; }
.resource-card h2 a { text-decoration-thickness: 1px; }
.resource-card h2 a:hover { text-decoration-thickness: 2px; }
.article-body { max-width: 43rem; }
.article-body h2, .quiz-faq h2 { margin: 2rem 0 .8rem; font-size: clamp(1.6rem, 3.7vw, 2.5rem); line-height: 1.12; }
.article-body p + p { margin-top: 1rem; }
.article-body li + li { margin-top: .4rem; }
.article-body .button { margin-top: 1.65rem; }
.resource-link, .quiz-support .quiz-help a { display: inline-block; font-weight: 700; }

.quiz-page { background: var(--pale-lilac); }
.quiz-card { margin-top: .7rem; padding: clamp(1.15rem, 5vw, 3.1rem); border: 1px solid #d9d0eb; border-radius: 8px; background: var(--paper); }
.quiz-card .eyebrow { margin-bottom: .65rem; }
.quiz-card h1 + p, .quiz-card h2 + p { margin-top: 1rem; }
.quiz-card h2 { font-size: clamp(2rem, 5vw, 3.3rem); line-height: 1.05; }
.quiz-card .quiz-small, .quiz-disclaimer { font-size: .92rem; margin-top: .9rem; }
.quiz-card #quiz-start { margin-top: 1.45rem; }
.quiz-card fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.quiz-card legend { padding: 0; width: 100%; }
.quiz-card button { cursor: pointer; font-family: inherit; font-size: 1rem; }
.quiz-card [hidden] { display: none; }
.quiz-help { margin-top: .65rem; }
.quiz-options { display: grid; gap: .5rem; margin-top: 1rem; }
.quiz-option { display: flex; gap: .7rem; padding: .65rem .85rem; border: 1px solid var(--line); border-radius: 5px; cursor: pointer; align-items: start; }
.quiz-option:has(input:checked) { border-color: var(--forest); background: #eaf0e9; }
.quiz-option input { flex: none; margin: .35rem 0 0; width: 1rem; height: 1rem; accent-color: var(--forest); }
.quiz-nav { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1rem; margin-top: 1.3rem; }
.quiz-nav .button-outline { min-height: 50px; background: transparent; }
.quiz-nav .button-outline:hover { background: var(--forest); color: var(--cream); }
.quiz-error { margin-top: .8rem; color: #972731; font-weight: 700; }
.quiz-result ul, .quiz-result ol { padding-left: 1.35rem; }
.quiz-result li + li { margin-top: .5rem; }
.quiz-result h3 { margin: 1.2rem 0 .35rem; }
.quiz-result a:not(.button) { font-weight: 700; }
.quiz-result .result-note { margin-top: .75rem; background: var(--cream); padding: .75rem 1rem; border-radius: 5px; }
.quiz-support { margin-top: 1rem; padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: 5px; background: var(--cream); }
.quiz-support h3 { margin-top: 0; }
.quiz-support .button { margin-top: .9rem; }
.quiz-faq { margin-top: 2rem; }

/* Bookkeeping service */
.bookkeeping-hero { background: var(--cream); padding-block: 1.25rem clamp(3rem, 6vw, 5.5rem); }
.bookkeeping-hero-grid, .bookkeeping-mtd {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: center;
  gap: 1.5rem clamp(2rem, 7vw, 6.5rem);
}
.bookkeeping-hero-grid { margin-top: 1.75rem; }
.bookkeeping-hero .eyebrow { margin-bottom: .75rem; }
.bookkeeping-hero h1 + p { margin-top: 1.2rem; max-width: 33rem; font-size: 1.15rem; }
.bookkeeping-hero .button { margin-top: 1.3rem; }
.bookkeeping-at-a-glance { padding: clamp(1.1rem, 3vw, 2.4rem); border: 1px solid var(--line); border-radius: 7px; background: var(--paper); }
.bookkeeping-at-a-glance img { margin-bottom: .8rem; }
.bookkeeping-at-a-glance h2, .bookkeeping-audiences h3, .bookkeeping-mtd h3 {
  font: 720 clamp(1.3rem, 2.6vw, 2rem)/1.13 var(--display);
  letter-spacing: -.025em;
}
.bookkeeping-at-a-glance ul { margin-bottom: 0; }
.bookkeeping-support h2 { font-size: clamp(2rem, 4.5vw, 3.75rem); }
.bookkeeping-audiences { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem clamp(1.5rem, 6vw, 5rem); margin-block: 1.5rem clamp(2.8rem, 6vw, 4.6rem); padding-block: 1.25rem; border-block: 1px solid var(--line); }
.bookkeeping-audiences p { margin-top: .6rem; }
.bookkeeping-at-a-glance ul, .bookkeeping-start { padding-left: 1.35rem; color: var(--text); }
.bookkeeping-start { max-width: 42rem; margin-bottom: 0; }
.bookkeeping-at-a-glance li + li, .bookkeeping-start li + li { margin-top: .65rem; }
.bookkeeping-mtd h2 + p { max-width: 37rem; }
.bookkeeping-mtd .mtd-dates p { margin: .7rem 0 1rem; font-size: 1rem; }

@media (max-width: 720px) {
  .bookkeeping-hero-grid, .bookkeeping-mtd, .bookkeeping-audiences { grid-template-columns: 1fr; }
}
