/*
  Begin Again Bookkeeping — site styles
  VOICE   calm, practical, reassuring; lots of air, one clear action per section
  IDEA    a tidy set of books: clean ledger cards, hairline rules, things falling into place
  PICTURE light UI-style "books" cards on Pale Mist panels, the brand's overlapping arcs + concentric rings
  COLOUR  mostly Warm White, Pale Mist fills, Soft Teal accents, Charcoal text; logo teal #235F59 for buttons/links
  TYPE    Lora Bold headlines + wordmark; Montserrat for nav, labels, body
*/

:root {
  --teal: #5F8F8A;        /* Soft Teal — large type + accents only */
  --teal-deep: #235F59;   /* logo teal — buttons, links, small teal text */
  --teal-ink: #1A4844;    /* hover / deepest teal */
  --mist: #DCE7E4;       /* Pale Mist */
  --mist-soft: #EEF4F2;
  --white: #FCFBF8;       /* Warm White */
  --paper: #FFFFFF;
  --ink: #3B4342;         /* Charcoal */
  --ink-soft: #565F5E;
  --line: #DCE7E4;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(59, 67, 66, .05), 0 10px 30px -12px rgba(59, 67, 66, .16);
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1160px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 16.5px/1.7 var(--sans);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--teal-deep); text-underline-offset: 3px; }
a:hover { color: var(--teal-ink); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 .5em;
  text-wrap: balance;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.35rem, 5.2vw, 3.6rem); line-height: 1.08; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.55rem); line-height: 1.15; }
h3 { font-size: 1.35rem; line-height: 1.3; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.18rem); color: var(--ink-soft); max-width: 36em; }

.eyebrow {
  display: inline-block;
  font: 600 .78rem/1.4 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 1.1rem;
}

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; color: #fff; }

.wrap { width: min(var(--wrap), 100% - 2 * max(5vw, 20px)); margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section-tight { padding-block: clamp(48px, 6vw, 80px); }
.band-mist { background: var(--mist-soft); }
.band-paper { background: var(--paper); }
.rule-top { border-top: 1px solid var(--line); }
.center { text-align: center; }
.center .lede { margin-inline: auto; }
.narrow { max-width: 720px; margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 50px; padding: 13px 26px;
  border-radius: 10px; border: 1.5px solid var(--teal-deep);
  background: var(--teal-deep); color: #fff;
  font: 600 .97rem/1.2 var(--sans); letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--teal-ink); border-color: var(--teal-ink); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--teal-deep); }
.btn-ghost:hover { background: var(--mist-soft); color: var(--teal-ink); border-color: var(--teal-ink); }
.btn-light { background: #fff; border-color: #fff; color: var(--teal-ink); }
.btn-light:hover { background: var(--mist); border-color: var(--mist); color: var(--teal-ink); }
.btn-sm { min-height: 44px; padding: 10px 20px; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }

.text-link {
  font-weight: 600; font-size: .97rem; text-decoration: none;
  display: inline-flex; align-items: center; gap: .45em; min-height: 44px;
}
.text-link::after { content: "→"; transition: transform .2s; }
.text-link:hover::after { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(252, 251, 248, .94);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; }

.wordmark { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); white-space: nowrap; }
.wordmark:hover { color: var(--ink); }
.wm-name { font: 700 1.62rem/1 var(--serif); letter-spacing: -.015em; }
.wm-rule { width: 1.5px; height: 30px; background: var(--teal); }
.wm-sub { font: 500 .72rem/1 var(--sans); letter-spacing: .34em; text-transform: uppercase; color: var(--teal-deep); margin-right: -.34em; }

.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a:not(.btn) {
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: .96rem;
  padding: 10px 14px; border-radius: 8px; position: relative;
}
.site-nav a:not(.btn):hover { background: var(--mist-soft); }
.site-nav a[aria-current="page"]:not(.btn) { color: var(--teal-deep); font-weight: 600; }
.site-nav a[aria-current="page"]:not(.btn)::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--teal); border-radius: 2px;
}
.site-nav .btn { margin-left: 10px; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--paper); cursor: pointer; padding: 0; align-items: center; justify-content: center;
}
.nav-toggle .burger, .nav-toggle .burger::before, .nav-toggle .burger::after {
  display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .25s, opacity .2s;
}
.nav-toggle .burger::before, .nav-toggle .burger::after { content: ""; position: absolute; left: 0; }
.nav-toggle .burger::before { top: -6px; }
.nav-toggle .burger::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .burger { background: transparent; }
.nav-toggle[aria-expanded="true"] .burger::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .burger::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: 10px max(5vw, 20px) 22px;
    box-shadow: 0 18px 30px -20px rgba(59, 67, 66, .35);
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 6px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .site-nav a[aria-current="page"]:not(.btn)::after { display: none; }
  .site-nav .btn { margin: 14px 0 0; }
}
@media (max-width: 420px) {
  .header-inner { min-height: 68px; }
  .wm-name { font-size: 1.32rem; }
  .wordmark { gap: 10px; }
  .wm-rule { height: 24px; }
  .wm-sub { font-size: .6rem; letter-spacing: .26em; margin-right: -.26em; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(48px, 7vw, 96px) clamp(64px, 8vw, 112px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 84px); align-items: center; }
.hero .lede { margin-top: 1.25rem; }
.hero-sub { font-size: clamp(1.12rem, 1.8vw, 1.3rem); color: var(--ink); font-weight: 500; max-width: 26em; margin-top: 1.25rem; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }

/* Picture panel */
.art {
  position: relative; background: var(--mist); border-radius: 28px;
  padding: clamp(22px, 4vw, 44px); min-height: 420px;
  display: grid; align-content: center;
  overflow: hidden;
}
.art::before {
  /* faint ledger lines */
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(to bottom, transparent 0 39px, rgba(95, 143, 138, .16) 39px 40px);
  mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 75%, transparent);
}
.card-ui {
  position: relative; background: var(--paper); border-radius: 16px;
  box-shadow: 0 1px 2px rgba(59,67,66,.06), 0 18px 40px -18px rgba(51,89,85,.38);
  padding: 22px 24px;
}
.card-ui .ui-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.ui-title { font: 600 .74rem/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.ui-pill { font: 600 .74rem/1 var(--sans); color: var(--teal-deep); background: var(--mist-soft); padding: 7px 11px; border-radius: 99px; white-space: nowrap; }

.ledger { width: min(100%, 390px); }
.ledger ul { list-style: none; margin: 0; padding: 0; }
.ledger li {
  display: grid; grid-template-columns: 1fr auto 22px; align-items: center; gap: 12px;
  padding: 10px 0; border-top: 1px solid #EEF2F1; font-size: .92rem;
}
.ledger li span:nth-child(2) { color: var(--ink-soft); font-size: .8rem; }
.tick {
  width: 22px; height: 22px; border-radius: 50%; background: var(--teal); position: relative;
}
.tick::after {
  content: ""; position: absolute; left: 7.5px; top: 4.5px; width: 5px; height: 9.5px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.progress { margin-top: 16px; }
.progress-track { height: 8px; border-radius: 99px; background: var(--mist-soft); overflow: hidden; }
.progress-fill { height: 100%; width: 100%; background: var(--teal); border-radius: 99px; transform-origin: left; }
.progress-label { display: flex; justify-content: space-between; font-size: .78rem; color: var(--ink-soft); margin-top: 8px; }

.overview {
  width: min(78%, 300px); margin: -14px 0 0 auto; padding: 18px 20px;
}
.bars { display: grid; grid-template-columns: repeat(6, 1fr); align-items: end; gap: 10px; height: 96px; border-bottom: 2px solid var(--mist); }
.bars i { display: block; border-radius: 6px 6px 0 0; background: var(--teal); transform-origin: bottom; }
.bars i:nth-child(odd) { background: #9CBDB8; }
.overview .legend { display: flex; gap: 16px; font-size: .74rem; color: var(--ink-soft); margin-top: 10px; }
.legend span::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 6px; background: var(--teal); }
.legend span:first-child::before { background: #9CBDB8; }

@media (prefers-reduced-motion: no-preference) {
  .ledger li .tick { animation: pop .45s cubic-bezier(.2,.9,.3,1.3) both; }
  .ledger li:nth-child(1) .tick { animation-delay: .35s; }
  .ledger li:nth-child(2) .tick { animation-delay: .55s; }
  .ledger li:nth-child(3) .tick { animation-delay: .75s; }
  .ledger li:nth-child(4) .tick { animation-delay: .95s; }
  .ledger li:nth-child(5) .tick { animation-delay: 1.15s; }
  .ledger li:nth-child(6) .tick { animation-delay: 1.35s; }
  .progress-fill { animation: grow 1.3s .3s cubic-bezier(.3,.7,.2,1) both; }
  .bars i { animation: rise .9s cubic-bezier(.3,.7,.2,1) both; }
  .bars i:nth-child(n) { animation-delay: calc(.9s + var(--d, 0s)); }
}
@keyframes pop { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes grow { from { transform: scaleX(.08); } to { transform: scaleX(1); } }
@keyframes rise { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* ---------- Service cards (home) ---------- */
.section-head { max-width: 640px; margin-bottom: clamp(32px, 5vw, 52px); }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(26px, 3.4vw, 40px); display: flex; flex-direction: column; gap: 4px;
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.card:hover { box-shadow: var(--shadow); border-color: #C9D9D5; }
.card .label { font: 600 .82rem/1.4 var(--sans); color: var(--teal-deep); letter-spacing: .02em; margin-bottom: .6rem; }
.card h3 { font-size: clamp(1.35rem, 2.2vw, 1.6rem); margin-bottom: .55rem; }
.card p { color: var(--ink-soft); }
.card .text-link { margin-top: auto; padding-top: 14px; }
.card-wide {
  grid-column: 1 / -1; background: var(--mist-soft); border-color: transparent;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px 40px;
}
.card-wide .text-link { margin-top: 0; padding-top: 0; }
@media (max-width: 760px) {
  .cards { grid-template-columns: minmax(0, 1fr); }
  .card-wide { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; counter-reset: s; }
.steps li { counter-increment: s; padding: 30px 28px 30px; background: var(--paper); border-radius: var(--radius-lg); border: 1px solid var(--line); position: relative; }
.steps li::before {
  content: counter(s); display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--mist); color: var(--teal-ink);
  font: 700 1.15rem/1 var(--serif); margin-bottom: 18px;
}
.steps h3 { font-size: 1.25rem; margin-bottom: .35rem; }
.steps p { color: var(--ink-soft); }
.steps.compact { grid-template-columns: minmax(0, 1fr); gap: 0; }
.steps.compact li { background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 18px 0 18px 62px; }
.steps.compact li::before { position: absolute; left: 0; top: 18px; width: 40px; height: 40px; font-size: 1rem; margin: 0; }
.steps.compact h3 { font-size: 1.08rem; }
@media (max-width: 820px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Split / about teaser ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.split.top { align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }

.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { position: relative; padding: 13px 0 13px 38px; border-top: 1px solid var(--line); }
.checklist li:first-child { border-top: 0; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 15px; width: 22px; height: 22px; border-radius: 50%; background: var(--mist);
}
.checklist li::after {
  content: ""; position: absolute; left: 8px; top: 19.5px; width: 5px; height: 9.5px;
  border: solid var(--teal-ink); border-width: 0 2px 2px 0; transform: rotate(45deg);
}

.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 3.6vw, 40px); }
.panel-mist { background: var(--mist-soft); border-color: transparent; }
.panel-title { font: 600 .8rem/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--teal-deep); margin: 0 0 .9rem; }

/* ---------- CTA band ---------- */
.cta {
  background: var(--teal-deep); color: #F3F7F6; text-align: center;
  padding-block: clamp(64px, 9vw, 112px);
  position: relative; overflow: hidden;
}
.cta::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(to bottom, transparent 0 47px, rgba(255,255,255,.06) 47px 48px);
}
.cta > * { position: relative; }
.cta h2 { color: #fff; }
.cta p { color: #E4EEEC; font-size: 1.1rem; max-width: 32em; margin-inline: auto; }
.cta .btn-row { justify-content: center; }

/* ---------- Services page ---------- */
.jump { padding: 10px 26px 14px; }
.jump a {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center;
  padding: 16px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink);
}
.jump a:first-of-type { border-top: 0; }
.jump strong { font: 700 1.08rem/1.3 var(--serif); }
.jump small { grid-column: 1; color: var(--ink-soft); font-size: .86rem; }
.jump a::after { content: "→"; grid-row: 1 / span 2; grid-column: 2; color: var(--teal-deep); transition: transform .2s; }
.jump a:hover::after { transform: translateX(4px); }
.jump a:hover strong { color: var(--teal-deep); }

.service { padding-block: clamp(64px, 8vw, 104px); border-top: 1px solid var(--line); }
.service:nth-of-type(even) { background: var(--paper); }
.service-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.service-num { font: 600 .8rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: 1.1rem; display: flex; gap: .7em; align-items: center; }
.service-num b { font: 700 1.05rem/1 var(--serif); letter-spacing: 0; color: var(--teal); }
.service p { color: var(--ink-soft); }
.service .note { color: var(--ink); font-weight: 500; }
.service .panel { position: sticky; top: 110px; }
.service:nth-of-type(even) .panel { background: var(--mist-soft); border-color: transparent; }
@media (max-width: 860px) {
  .service-grid { grid-template-columns: minmax(0, 1fr); }
  .service .panel { position: static; }
}

/* ---------- About ---------- */
.monogram > div { width: 100%; }
.monogram {
  background: var(--mist); border-radius: 28px; min-height: 380px;
  display: grid; place-items: center; text-align: center; padding: 40px; position: relative; overflow: hidden;
}
.monogram .tile {
  margin-inline: auto; width: min(250px, 70%); aspect-ratio: 1; background: var(--paper); border-radius: 26px;
  display: grid; place-items: center; box-shadow: 0 18px 40px -18px rgba(51,89,85,.38);
}
.monogram .ba { font: 700 clamp(4.4rem, 9vw, 6rem)/1 var(--serif); color: var(--teal-ink); letter-spacing: -.02em; }
.monogram .ba-rule { width: 54%; height: 2px; background: var(--teal); margin: 14px auto 0; border-radius: 2px; opacity: .6; }
.monogram .tagline { font: italic 400 1.15rem/1.4 var(--serif); color: var(--ink); margin-top: 26px; }

.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.values .panel h3 { font-size: 1.3rem; }
.values .panel p { color: var(--ink-soft); }
@media (max-width: 820px) { .values { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Form ---------- */
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); }
.field { margin-bottom: 22px; }
.field > label, .field legend { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 8px; color: var(--ink); padding: 0; }
.req { color: var(--teal-deep); }
.hint { font-size: .84rem; color: var(--ink-soft); font-weight: 400; display: block; margin-top: 2px; }
.field input[type="text"], .field input[type="email"], .field textarea {
  width: 100%; font: 400 16px/1.5 var(--sans); color: var(--ink);
  background: var(--white); border: 1.5px solid #CCDAD6; border-radius: 10px;
  padding: 13px 15px; min-height: 50px; transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal-deep); background: #fff; box-shadow: 0 0 0 4px rgba(95, 143, 138, .2); }
.field.invalid input, .field.invalid .options { border-color: #A2453A; }
.error-msg { display: none; color: #A2453A; font-size: .86rem; font-weight: 500; margin-top: 6px; }
.field.invalid .error-msg { display: block; }
fieldset.field { border: 0; margin: 0 0 22px; padding: 0; min-width: 0; }
.options { display: grid; gap: 8px; border: 1.5px solid transparent; border-radius: 12px; }
.option {
  display: flex; align-items: center; gap: 12px; min-height: 50px; padding: 11px 15px;
  border: 1.5px solid #D6E2DF; border-radius: 10px; cursor: pointer; background: var(--white);
  transition: border-color .2s, background .2s; font-size: .97rem; font-weight: 500;
}
.option:hover { border-color: var(--teal); }
.option input { appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; border: 1.5px solid #9DB5B0; border-radius: 6px; margin: 0; background: #fff; display: grid; place-items: center; cursor: pointer; }
.option input::after { content: ""; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); opacity: 0; }
.option input:checked { background: var(--teal-deep); border-color: var(--teal-deep); }
.option input:checked::after { opacity: 1; }
.option input:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.option:has(input:checked) { border-color: var(--teal-deep); background: var(--mist-soft); }
.option.not-sure { margin-top: 4px; }
.form-foot { color: var(--ink-soft); font-size: .9rem; margin-top: 16px; }
.form-card .btn { width: 100%; }
.privacy-note { font-size: .86rem; color: var(--ink-soft); background: var(--mist-soft); border-radius: 10px; padding: 12px 14px; margin-bottom: 22px; }
.form-status { display: none; }
.form-status.show { display: block; }
.success { text-align: center; padding: clamp(12px, 3vw, 28px) 0; }
.success .tick { width: 60px; height: 60px; margin: 0 auto 22px; }
.success .tick::after { left: 22px; top: 13px; width: 13px; height: 24px; border-width: 0 3px 3px 0; }
.success h2 { font-size: clamp(1.6rem, 3vw, 2rem); }
.preview-flag { font-size: .82rem; color: var(--ink-soft); border-top: 1px dashed var(--line); padding-top: 14px; margin-top: 22px; }
.fail { color: #8A3A31; background: #FBEFEC; border-radius: 10px; padding: 12px 14px; margin-top: 16px; font-size: .92rem; }
.hp { position: absolute; left: -9999px; }

/* ---------- Prose (privacy) ---------- */
.prose { max-width: 720px; }
.prose h2 { font-size: 1.5rem; margin-top: 2.2em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.meta { color: var(--ink-soft); font-size: .92rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--white); border-top: 1px solid var(--line); padding-block: 56px 36px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.footer-tagline { font: italic 400 1.08rem/1.5 var(--serif); color: var(--ink); margin-top: 16px; }
.footer-place { color: var(--ink-soft); font-size: .9rem; margin-top: 6px; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 6px; }
.footer-nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; padding: 10px 12px; border-radius: 8px; }
.footer-nav a:hover { background: var(--mist-soft); color: var(--teal-deep); }
.footer-base { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; color: var(--ink-soft); font-size: .86rem; }
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-nav { justify-content: flex-start; margin-left: -12px; }
}

/* Get Started: on phones show the form right after the intro, steps after the form */
@media (max-width: 860px) {
  .gs { display: flex; flex-direction: column; gap: 20px; }
  .gs-intro { display: contents; }
  .gs-intro h1, .gs-intro .lede { order: 1; margin-bottom: 0; }
  .gs .form-card { order: 2; }
  .gs-intro .steps { order: 3; margin-top: 0 !important; }
}

/* ---------- v2 additions (final copy) ---------- */
.hero .lede + .lede { margin-top: .9rem; }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-3 .card h3 { font-size: 1.35rem; }
.card-cta { background: var(--mist-soft); border-color: transparent; align-items: center; justify-content: center; text-align: center; }
.card-cta:hover { box-shadow: none; }
@media (max-width: 1000px) { .cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cards-3 { grid-template-columns: minmax(0, 1fr); } .card-cta { padding: 8px 0; background: none; } .card-cta .btn { width: 100%; } }

.steps.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .steps.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .steps.four { grid-template-columns: minmax(0, 1fr); } }

.list-title { font-weight: 600; color: var(--ink) !important; margin: 1.6rem 0 .4rem; }
.service .checklist li { color: var(--ink); }

.faq details { border-top: 1px solid #CCDAD6; }
.faq details:last-child { border-bottom: 1px solid #CCDAD6; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 20px 0; min-height: 44px; font: 700 1.12rem/1.35 var(--serif); color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--paper);
  display: grid; place-items: center; font: 500 1.25rem/1 var(--sans); color: var(--teal-deep); transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--teal-deep); }
.faq details p { margin: 0 0 22px; color: var(--ink-soft); max-width: 40em; }

.founder { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 84px); align-items: start; }
.founder-photo { margin: 0; position: sticky; top: 110px; }
.founder-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 24px; }
.photo-placeholder {
  aspect-ratio: 4 / 5; border-radius: 24px; background: var(--mist);
  border: 2px dashed #A9C3BE; display: grid; place-items: center;
  color: var(--teal-deep); font-weight: 600; font-size: .9rem; letter-spacing: .04em;
}
.founder-text p { color: var(--ink-soft); }
.founder-text .lede { color: var(--ink); }
.signoff { font: italic 400 1.2rem/1.5 var(--serif); color: var(--ink) !important; margin-top: 1.5rem; }
@media (max-width: 860px) {
  .founder { grid-template-columns: minmax(0, 1fr); }
  .founder-photo { position: static; max-width: 420px; }
}

.values.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.values.four .panel { display: flex; align-items: flex-end; min-height: 150px; }
.values.four h3 { margin: 0; font-size: 1.2rem; }
@media (max-width: 1000px) { .values.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .values.four { grid-template-columns: minmax(0, 1fr); } .values.four .panel { min-height: 0; } }

.badges { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; margin-top: 2rem; }
.badges img { height: 110px; width: auto; }

.field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 16px; }
@media (max-width: 520px) { .field-row { grid-template-columns: minmax(0, 1fr); } }
.hint-inline { font-weight: 400; color: var(--ink-soft); font-size: .86rem; }
.field input[type="tel"], .field select {
  width: 100%; font: 400 16px/1.5 var(--sans); color: var(--ink);
  background-color: var(--white); border: 1.5px solid #CCDAD6; border-radius: 10px;
  padding: 13px 15px; min-height: 50px; transition: border-color .2s, box-shadow .2s;
}
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23426F6B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.field select:focus, .field input[type="tel"]:focus { outline: none; border-color: var(--teal-deep); background-color: #fff; box-shadow: 0 0 0 4px rgba(95, 143, 138, .2); }
.form-foot.center { text-align: center; }


/* ---------- v3: updated brand guide (logo, buttons, arcs, icons, badges) ---------- */
.logo { display: inline-flex; align-items: center; line-height: 0; }
.logo img { height: 56px; width: auto; }
.logo-footer img { height: 50px; }
@media (max-width: 420px) { .logo img { height: 42px; } }

.btn {
  border-radius: 999px; text-transform: uppercase; letter-spacing: .11em;
  font-size: .84rem; padding: 14px 28px;
}
.btn:not(.btn-ghost):not(.btn-sm)::after { content: "→"; font-size: 1.05rem; letter-spacing: 0; transition: transform .2s; }
.btn:hover::after { transform: translateX(3px); }
.btn-sm { font-size: .76rem; padding: 10px 20px; }
.btn-ghost { border-color: var(--teal); color: var(--teal-deep); }

/* arcs: the guide's overlapping circles */
.art { background: var(--mist-soft); isolation: isolate; }
.art::before {
  content: ""; position: absolute; z-index: -1; inset: auto -22% -38% auto; width: 78%; aspect-ratio: 1; border-radius: 50%;
  background: rgba(95, 143, 138, .55); mask-image: none;
}
.art::after {
  content: ""; position: absolute; z-index: -1; inset: auto auto -30% -28%; width: 92%; aspect-ratio: 1; border-radius: 50%;
  background: rgba(220, 231, 228, .9); mix-blend-mode: multiply;
}

/* concentric rings: the guide's line pattern */
.cta::before {
  background: repeating-radial-gradient(circle at 100% 100%, transparent 0 46px, rgba(255,255,255,.10) 46px 48px);
  -webkit-mask-image: radial-gradient(circle at 100% 100%, #000 0, #000 30%, transparent 60%);
  mask-image: radial-gradient(circle at 100% 100%, #000 0, #000 30%, transparent 60%);
}
.cta::after {
  content: ""; position: absolute; inset: 0;
  background: repeating-radial-gradient(circle at 0 0, transparent 0 46px, rgba(255,255,255,.07) 46px 48px);
  -webkit-mask-image: radial-gradient(circle at 0 0, #000 0, #000 18%, transparent 42%);
  mask-image: radial-gradient(circle at 0 0, #000 0, #000 18%, transparent 42%);
  pointer-events: none;
}
.cta .wrap { position: relative; z-index: 1; }

/* icon circles */
.icon {
  width: 56px; height: 56px; border-radius: 50%; background: var(--mist);
  display: grid; place-items: center; margin-bottom: 18px; color: var(--teal-deep); flex: none;
}
.icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.service-num .icon { width: 44px; height: 44px; margin: 0 4px 0 0; }
.service-num .icon svg { width: 21px; height: 21px; }

/* monogram tile (About hero) */
.monogram { background: var(--mist-soft); isolation: isolate; }
.monogram::before {
  content: ""; position: absolute; z-index: -1; inset: auto -18% -40% auto; width: 70%; aspect-ratio: 1; border-radius: 50%; background: rgba(95,143,138,.5);
}
.monogram::after {
  content: ""; position: absolute; z-index: -1; inset: -30% auto auto -20%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: var(--mist);
}
.monogram .tile { width: min(230px, 64%); border-radius: 34px; }
.monogram .tile img { width: 66%; height: auto; }

/* badges */
.badges { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; }
.badges img { height: 128px; width: auto; }
.panel .badges { margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid #D3E0DD; }
.badges-lg { justify-content: center; margin-top: 2.4rem; padding: 28px clamp(20px, 3vw, 36px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.badges-lg img { height: 150px; }
@media (max-width: 520px) { .badges img { height: 104px; } .badges-lg img { height: 112px; } .badges { gap: 14px; } }

/* HubSpot embedded form container */
.hs-embed { min-height: 520px; }
.hs-embed iframe { width: 100% !important; }

/* Industries (About) */
.industries { margin-top: 2.4rem; }
.industries h3 { font-size: 1.25rem; margin-bottom: .9rem; }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tags li { background: var(--mist-soft); color: var(--teal-ink); border: 1px solid var(--line); border-radius: 99px; padding: 9px 16px; font-size: .92rem; font-weight: 500; }
.values.four .panel { flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 6px; }
.values.four .panel p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

.hs-preview-box { min-height: 460px; display: grid; place-content: center; gap: 6px; text-align: center; border: 2px dashed #A9C3BE; border-radius: 14px; background: var(--mist-soft); color: var(--teal-ink); padding: 24px; }
.hs-preview-box span { color: var(--ink-soft); font-size: .92rem; }
