/* ==========================================================================
   Mulberry Grove Bookkeeping — design system
   Palette: deep pine, warm ivory, soft gold, charcoal-green ink
   Type: Fraunces (display) · Instrument Sans (body) · Spline Sans Mono (data)
   ========================================================================== */

:root {
  /* color */
  --pine:        #0F2E23;
  --pine-deep:   #0A211A;
  --pine-soft:   #16402F;
  --ink:         #1B2620;
  --ivory:       #FBF8F1;
  --ivory-2:     #F3EDE0;
  --gold:        #C8A559;
  --gold-bright: #DCBE7E;
  --gold-deep:   #A98740;
  --sage:        #8FB8A1;
  --line:        rgba(15, 46, 35, .12);
  --line-light:  rgba(251, 248, 241, .14);

  /* type */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Instrument Sans", -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Spline Sans Mono", "SF Mono", monospace;

  /* spacing scale */
  --s-1: .5rem;  --s-2: 1rem;   --s-3: 1.5rem; --s-4: 2rem;
  --s-5: 3rem;   --s-6: 4.5rem; --s-7: 7rem;

  --radius: 18px;
  --radius-lg: 26px;
  --shadow-soft: 0 2px 6px rgba(15,46,35,.05), 0 18px 50px -18px rgba(15,46,35,.22);
  --shadow-card: 0 1px 2px rgba(15,46,35,.05), 0 10px 30px -14px rgba(15,46,35,.18);
  --ease: cubic-bezier(.22,.8,.3,1);
}

/* ---------- reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: inline-block; vertical-align: middle; }
a { color: inherit; }
ul, ol { list-style: none; }
.mono { font-family: var(--font-mono); font-weight: 500; letter-spacing: -.01em; }

.container { width: min(1140px, 92%); margin-inline: auto; }
.container--narrow { width: min(780px, 92%); }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--pine); color: var(--ivory); padding: .6rem 1.2rem; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; border-radius: 4px; }

::selection { background: var(--gold); color: var(--pine-deep); }

/* ---------- typography ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.08; letter-spacing: -.015em; }
em { font-style: italic; font-weight: 500; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-mono); font-size: .78rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--pine-soft); margin-bottom: var(--s-3);
}
.eyebrow__leaf {
  width: 9px; height: 9px; background: var(--gold);
  border-radius: 50% 0 50% 50%; transform: rotate(-45deg); flex: none;
}
.eyebrow--gold { color: var(--gold-bright); }

.section { padding-block: var(--s-7); }
.section__title { font-size: clamp(2.1rem, 4.6vw, 3.4rem); margin-bottom: var(--s-3); }
.section__title em { color: var(--gold-deep); }
.section__sub { max-width: 34rem; color: rgba(27,38,32,.72); margin-bottom: var(--s-5); }
.section__sub--dark { color: rgba(251,248,241,.7); }

.dark { background: linear-gradient(180deg, var(--pine) 0%, var(--pine-deep) 100%); color: var(--ivory); }
.dark .section__title em { color: var(--gold-bright); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 600; font-size: .98rem;
  padding: .85rem 1.6rem; border-radius: 999px; text-decoration: none;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease), color .35s var(--ease);
  will-change: transform;
}
.btn--gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: var(--pine-deep);
  box-shadow: 0 6px 20px -8px rgba(168,135,64,.55), inset 0 1px 0 rgba(255,255,255,.4);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -8px rgba(168,135,64,.6), inset 0 1px 0 rgba(255,255,255,.4); }
.btn--ghost { color: var(--pine); background: transparent; border: 1px solid var(--line); }
.btn--ghost:hover { background: rgba(15,46,35,.05); transform: translateY(-2px); }
.btn--ghost-light { color: var(--ivory); border-color: var(--line-light); }
.btn--ghost-light:hover { background: rgba(251,248,241,.08); }
.btn--ivory { background: var(--ivory); color: var(--pine); }
.btn--ivory:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(0,0,0,.4); }
.btn--lg { padding: 1.05rem 2.1rem; font-size: 1.05rem; }
.btn__arrow { transition: transform .3s var(--ease); }
.btn--ghost:hover .btn__arrow { transform: translateX(4px); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), backdrop-filter .4s;
}
.nav.is-scrolled {
  background: rgba(251,248,241,.82);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line);
}
.nav__inner {
  width: min(1180px, 94%); margin-inline: auto;
  display: flex; align-items: center; gap: var(--s-4);
  padding-block: 1rem;
}
.nav__brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; }
.nav__leaf { width: 22px; height: 22px; fill: var(--gold-deep); }
.nav__wordmark { font-family: var(--font-display); font-size: 1.18rem; font-weight: 600; letter-spacing: -.01em; }
.nav__links { display: flex; gap: 1.8rem; margin-left: auto; }
.nav__links a {
  text-decoration: none; font-weight: 500; font-size: .95rem; color: rgba(27,38,32,.78);
  position: relative; padding-block: .25rem;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--gold); transition: width .3s var(--ease);
}
.nav__links a:hover::after { width: 100%; }
.btn--nav { padding: .6rem 1.25rem; font-size: .9rem; }
.nav__toggle { display: none; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding-block: clamp(8rem, 16vh, 11rem) var(--s-7);
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(200,165,89,.14), transparent 60%),
    radial-gradient(900px 600px at -10% 110%, rgba(143,184,161,.18), transparent 55%),
    var(--ivory);
}
.hero__glow {
  position: absolute; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(200,165,89,.16), transparent 65%);
  pointer-events: none; transform: translate(-50%, -50%);
  transition: opacity .6s; opacity: 0; z-index: 0;
}
.hero__glow.is-on { opacity: 1; }
.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--s-6); align-items: center;
}
.hero__title { font-size: clamp(2.6rem, 6vw, 4.4rem); margin-bottom: var(--s-3); }
.hero__title em { color: var(--gold-deep); }
.hero__sub { font-size: 1.18rem; color: rgba(27,38,32,.74); max-width: 31rem; margin-bottom: var(--s-4); }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-3); }
.hero__note { font-size: .85rem; color: rgba(27,38,32,.55); font-family: var(--font-mono); }

/* floating particles */
.hero__particles { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.particle {
  position: absolute; width: 8px; height: 8px;
  background: var(--gold); opacity: .22;
  border-radius: 50% 0 50% 50%;
  animation: drift linear infinite;
}
@keyframes drift {
  from { transform: translateY(20vh) rotate(-45deg); }
  to   { transform: translateY(-110vh) rotate(315deg); }
}

/* signature ledger */
.hero__visual { position: relative; }
.ledger {
  position: relative; z-index: 2;
  background: rgba(255,255,255,.62);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid rgba(255,255,255,.8);
  border-radius: var(--radius-lg);
  padding: var(--s-4);
  box-shadow: var(--shadow-soft);
  transform: rotate(.8deg);
  transition: transform .6s var(--ease);
}
.hero__visual:hover .ledger { transform: rotate(0deg) translateY(-4px); }
.ledger__head { display: flex; align-items: center; gap: .6rem; margin-bottom: var(--s-3); }
.ledger__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 4px rgba(143,184,161,.25); }
.ledger__label { font-family: var(--font-mono); font-size: .78rem; color: rgba(27,38,32,.6); }
.ledger__pill {
  margin-left: auto; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--pine); background: rgba(143,184,161,.28); border-radius: 999px; padding: .25rem .7rem;
}
.ledger__big { display: flex; flex-direction: column; gap: .15rem; margin-bottom: var(--s-2); }
.ledger__big-label { font-size: .82rem; color: rgba(27,38,32,.55); }
.ledger__big-num { font-size: 2.3rem; color: var(--pine); line-height: 1.1; }
.ledger__delta { font-family: var(--font-mono); font-size: .78rem; color: #3E7A5E; }
.ledger__chart { width: 100%; height: 110px; margin-block: .4rem var(--s-3); }
.ledger__line {
  stroke: var(--gold-deep); stroke-width: 2.5; stroke-linecap: round;
  stroke-dasharray: 600; stroke-dashoffset: 600;
}
.in-view .ledger__line { animation: draw 1.8s .3s var(--ease) forwards; }
.ledger__area { opacity: 0; transition: opacity 1s .9s; }
.in-view .ledger__area { opacity: 1; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.ledger__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-2); border-top: 1px solid var(--line); padding-top: var(--s-2); }
.ledger__cell { display: flex; flex-direction: column; gap: .1rem; font-size: 1rem; color: var(--pine); }
.ledger__cell-label { font-size: .72rem; color: rgba(27,38,32,.5); text-transform: uppercase; letter-spacing: .08em; }
.ledger__zero { color: #3E7A5E; }

.ledger__card {
  position: absolute; z-index: 3;
  background: rgba(255,255,255,.85); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.9); border-radius: 14px;
  box-shadow: var(--shadow-card);
  font-size: .85rem; padding: .65rem 1rem;
  animation: floaty 6s ease-in-out infinite;
}
.ledger__card--a { top: -1.4rem; right: -.6rem; display: flex; gap: .5rem; align-items: center; font-weight: 600; color: var(--pine); }
.ledger__card-check { color: #3E7A5E; font-weight: 700; }
.ledger__card--b { bottom: -1.2rem; left: -1rem; color: #3E7A5E; animation-delay: -3s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- proof strip ---------- */
.proof { padding-block: var(--s-6); border-block: 1px solid var(--line); background: var(--ivory); }
.proof__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); }
.proof__item { display: flex; flex-direction: column; gap: .4rem; }
.proof__num { font-size: 2.4rem; color: var(--pine); line-height: 1; }
.proof__label { font-size: .9rem; color: rgba(27,38,32,.62); max-width: 15rem; }
.proof__badges { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-5); }
.badge {
  font-family: var(--font-mono); font-size: .76rem; letter-spacing: .05em;
  border: 1px solid var(--line); border-radius: 999px; padding: .45rem 1rem;
  color: rgba(27,38,32,.7); background: rgba(255,255,255,.5);
}

/* ---------- services ---------- */
.services { background: var(--ivory-2); }
.services__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3);
  margin-top: var(--s-2);
}
.card {
  position: relative; overflow: hidden;
  background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--s-4);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}
.card::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold-bright), var(--gold-deep));
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); border-color: transparent; }
.card:hover::after { transform: scaleX(1); }
.card__icon {
  width: 46px; height: 46px; display: grid; place-items: center;
  color: var(--pine); background: rgba(143,184,161,.22); border-radius: 12px;
  margin-bottom: var(--s-3); transition: background .4s, color .4s;
}
.card__icon svg { width: 24px; height: 24px; }
.card:hover .card__icon { background: var(--pine); color: var(--gold-bright); }
.card h3 { font-size: 1.35rem; margin-bottom: .6rem; }
.card p { font-size: .96rem; color: rgba(27,38,32,.68); margin-bottom: var(--s-3); }
.card__link { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); }
.card--cta { background: var(--pine); color: var(--ivory); border-color: var(--pine); display: flex; flex-direction: column; }
.card--cta h3 { color: var(--ivory); }
.card--cta p { color: rgba(251,248,241,.72); flex: 1; }
.card--cta::after { display: none; }

/* ---------- benefits ---------- */
.benefits__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--s-3); margin-top: var(--s-5); }
.benefit {
  grid-column: span 2;
  border: 1px solid var(--line-light); border-radius: var(--radius);
  padding: var(--s-4);
  background: linear-gradient(160deg, rgba(251,248,241,.05), rgba(251,248,241,.01));
  transition: border-color .4s, transform .45s var(--ease), background .4s;
}
.benefit:hover { border-color: rgba(220,190,126,.45); transform: translateY(-4px); background: linear-gradient(160deg, rgba(220,190,126,.08), rgba(251,248,241,.02)); }
.benefit--wide { grid-column: span 4; }
.benefit h3 { color: var(--gold-bright); font-size: 1.3rem; margin-bottom: .55rem; }
.benefit p { color: rgba(251,248,241,.72); font-size: .97rem; }
.benefit:nth-child(4) { grid-column: span 2; }

/* ---------- dashboard ---------- */
.dashboard-section { padding-top: 0; }
.dash {
  background: rgba(251,248,241,.04);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.55);
  backdrop-filter: blur(8px);
}
.dash__bar {
  display: flex; align-items: center; gap: var(--s-2);
  padding: .8rem 1.3rem; border-bottom: 1px solid var(--line-light);
  background: rgba(10,33,26,.6);
}
.dash__dots { display: flex; gap: 6px; }
.dash__dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(251,248,241,.18); }
.dash__title { font-size: .78rem; color: rgba(251,248,241,.55); }
.dash__kpis {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line-light); border-bottom: 1px solid var(--line-light);
}
.kpi { background: var(--pine-deep); padding: var(--s-3) var(--s-3); display: flex; flex-direction: column; gap: .3rem; }
.kpi__label { font-size: .76rem; letter-spacing: .07em; text-transform: uppercase; color: rgba(251,248,241,.5); }
.kpi__num { font-size: 1.7rem; color: var(--ivory); line-height: 1.1; }
.kpi__delta { font-family: var(--font-mono); font-size: .76rem; color: rgba(251,248,241,.55); }
.kpi__delta--up { color: var(--sage); }
.dash__charts { display: grid; grid-template-columns: 1.5fr 1fr; gap: 1px; background: var(--line-light); }
.panel { background: var(--pine-deep); padding: var(--s-4); }
.panel__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-2); margin-bottom: var(--s-3); }
.panel__head h3 { font-size: 1.15rem; color: var(--ivory); font-family: var(--font-body); font-weight: 600; }
.panel__tag { font-size: .72rem; color: rgba(251,248,241,.45); }
.dash__chart { width: 100%; height: 200px; }
.dash__gridlines line { stroke: rgba(251,248,241,.07); stroke-width: 1; }
.dash__rev { stroke: var(--gold-bright); stroke-width: 2.5; stroke-linecap: round; }
.dash__exp { stroke: var(--sage); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1 0; }
.draw-line { stroke-dasharray: 900; stroke-dashoffset: 900; }
.in-view .draw-line { animation: draw 2s var(--ease) forwards; }
.in-view .dash__exp { animation-delay: .35s; }
.dash__area { opacity: 0; transition: opacity 1.2s 1s; }
.in-view .dash__area { opacity: 1; }
.panel__legend { display: flex; gap: var(--s-3); margin-top: var(--s-2); font-size: .82rem; color: rgba(251,248,241,.6); }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: .45rem; }
.dot--gold { background: var(--gold-bright); }
.dot--sage { background: var(--sage); }

.bars { display: flex; flex-direction: column; gap: .95rem; }
.bars li { display: grid; grid-template-columns: 7.2rem 1fr 2.6rem; align-items: center; gap: .8rem; font-size: .86rem; color: rgba(251,248,241,.75); }
.bars__track { height: 8px; border-radius: 999px; background: rgba(251,248,241,.08); overflow: hidden; }
.bars__fill {
  display: block; height: 100%; width: var(--w); border-radius: 999px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright));
  transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease);
}
.in-view .bars__fill { transform: scaleX(1); }
.bars__val { text-align: right; color: rgba(251,248,241,.55); font-size: .78rem; }
.panel__note {
  margin-top: var(--s-3); padding: var(--s-2) var(--s-3);
  border-left: 2px solid var(--gold); border-radius: 0 10px 10px 0;
  background: rgba(220,190,126,.07);
  font-size: .88rem; color: rgba(251,248,241,.78); font-style: italic;
}
.panel__note-by { display: block; margin-top: .35rem; font-style: normal; font-family: var(--font-mono); font-size: .7rem; color: rgba(251,248,241,.45); }

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); margin-top: var(--s-5); counter-reset: step; }
.step { position: relative; padding-top: var(--s-3); }
.step__num {
  display: inline-grid; place-items: center;
  width: 54px; height: 54px; border-radius: 50%;
  border: 1px solid var(--gold-deep); color: var(--gold-deep);
  font-size: 1rem; margin-bottom: var(--s-3); background: var(--ivory);
  position: relative; z-index: 1;
}
.step__line {
  position: absolute; top: calc(var(--s-3) + 27px); left: 70px; right: -2rem; height: 1px;
  background: linear-gradient(90deg, var(--gold-deep), transparent);
  transform: scaleX(0); transform-origin: left; transition: transform 1.4s .3s var(--ease);
}
.in-view .step__line, .step.in-view .step__line { transform: scaleX(1); }
.step h3 { font-size: 1.5rem; margin-bottom: .6rem; }
.step p { color: rgba(27,38,32,.68); font-size: .98rem; max-width: 21rem; }

/* ---------- about ---------- */
.about { background: var(--ivory-2); }
.about__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: var(--s-6); align-items: center; }
.about__frame {
  position: relative; aspect-ratio: 4/5; border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--pine), var(--pine-deep));
  display: grid; place-items: center; overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.about__monogram {
  font-family: var(--font-display); font-size: clamp(4rem, 8vw, 6rem);
  color: var(--gold-bright); letter-spacing: .02em;
}
.about__branch {
  position: absolute; right: -10px; bottom: -10px; width: 55%;
  color: rgba(220,190,126,.22);
}
.about__caption { margin-top: var(--s-2); font-size: .8rem; color: rgba(27,38,32,.55); text-align: center; }
.about__copy p { color: rgba(27,38,32,.74); margin-bottom: var(--s-2); max-width: 33rem; }
.about__points { margin-top: var(--s-3); display: flex; flex-direction: column; gap: .7rem; }
.about__points li { position: relative; padding-left: 1.5rem; font-size: .95rem; color: rgba(27,38,32,.78); }
.about__points li::before {
  content: ""; position: absolute; left: 0; top: .5em;
  width: 8px; height: 8px; background: var(--gold);
  border-radius: 50% 0 50% 50%; transform: rotate(-45deg);
}

/* ---------- testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); margin-top: var(--s-5); }
.glass {
  background: rgba(251,248,241,.06);
  border: 1px solid rgba(251,248,241,.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(251,248,241,.12), 0 24px 50px -28px rgba(0,0,0,.5);
}
.quote { padding: var(--s-4); display: flex; flex-direction: column; gap: var(--s-3); transition: transform .45s var(--ease), border-color .4s; }
.quote:hover { transform: translateY(-5px); border-color: rgba(220,190,126,.4); }
.quote blockquote { font-family: var(--font-display); font-size: 1.12rem; line-height: 1.5; color: rgba(251,248,241,.92); flex: 1; }
.quote blockquote::before { content: "“"; display: block; font-size: 2.4rem; line-height: .6; color: var(--gold-bright); margin-bottom: .6rem; }
.quote figcaption { display: flex; flex-direction: column; gap: .1rem; border-top: 1px solid var(--line-light); padding-top: var(--s-2); }
.quote__name { font-weight: 600; }
.quote__role { font-family: var(--font-mono); font-size: .74rem; color: rgba(251,248,241,.5); }

/* ---------- FAQ accordion ---------- */
.accordion { margin-top: var(--s-4); border-top: 1px solid var(--line); }
.acc { border-bottom: 1px solid var(--line); }
.acc__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--s-3);
  background: none; border: none; cursor: pointer; text-align: left;
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; color: var(--ink);
  padding: 1.35rem 0; transition: color .3s;
}
.acc__btn:hover { color: var(--gold-deep); }
.acc__icon { position: relative; width: 16px; height: 16px; flex: none; }
.acc__icon::before, .acc__icon::after {
  content: ""; position: absolute; background: var(--gold-deep); transition: transform .4s var(--ease);
}
.acc__icon::before { left: 0; right: 0; top: 7px; height: 2px; }
.acc__icon::after { top: 0; bottom: 0; left: 7px; width: 2px; }
.acc__btn[aria-expanded="true"] .acc__icon::after { transform: scaleY(0); }
.acc__panel {
  max-height: 0; overflow: hidden;
  transition: max-height .5s var(--ease), padding .4s var(--ease);
}
.acc__panel p { padding-bottom: 1.4rem; color: rgba(27,38,32,.7); max-width: 40rem; }

/* ---------- final CTA ---------- */
.cta-final {
  position: relative; overflow: hidden;
  background: linear-gradient(170deg, var(--pine-soft) 0%, var(--pine-deep) 80%);
  color: var(--ivory);
  padding-block: var(--s-7);
  text-align: center;
}
.cta-final__glow {
  position: absolute; inset: auto 0 -40% 0; height: 80%;
  background: radial-gradient(ellipse at center, rgba(200,165,89,.18), transparent 65%);
  pointer-events: none;
}
.cta-final__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.cta-final__title { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: var(--s-3); }
.cta-final__title em { color: var(--gold-bright); }
.cta-final__sub { color: rgba(251,248,241,.72); max-width: 32rem; margin-bottom: var(--s-4); }
.cta-final__actions { display: flex; flex-wrap: wrap; gap: var(--s-2); justify-content: center; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: rgba(251,248,241,.7); padding-block: var(--s-6); }
.footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: var(--s-5); align-items: start; }
.footer__brand .nav__wordmark { color: var(--ivory); margin-left: .5rem; }
.footer__tag { margin-top: var(--s-2); font-size: .9rem; }
.footer__nav { display: flex; flex-direction: column; gap: .6rem; }
.footer__nav a { text-decoration: none; font-size: .92rem; transition: color .3s; }
.footer__nav a:hover { color: var(--gold-bright); }
.footer__meta { font-size: .82rem; display: flex; flex-direction: column; gap: .4rem; }

/* ---------- reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }
.reveal[data-delay="5"] { transition-delay: .5s; }
.reveal.in-view { opacity: 1; transform: none; }

/* ==========================================================================
   responsive
   ========================================================================== */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: var(--s-5); }
  .hero__visual { max-width: 520px; }
  .proof__grid { grid-template-columns: repeat(2, 1fr); }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .benefits__grid { grid-template-columns: repeat(2, 1fr); }
  .benefit, .benefit--wide, .benefit:nth-child(4) { grid-column: span 1; }
  .dash__kpis { grid-template-columns: repeat(2, 1fr); }
  .dash__charts { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: var(--s-5); }
  .step__line { display: none; }
  .about__grid { grid-template-columns: 1fr; gap: var(--s-5); }
  .about__portrait { max-width: 380px; }
  .quotes { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: var(--s-4); }
}

@media (max-width: 720px) {
  .section { padding-block: var(--s-6); }
  .nav__links {
    position: fixed; inset: 0; z-index: 90;
    background: var(--ivory);
    flex-direction: column; justify-content: center; align-items: center; gap: var(--s-4);
    font-size: 1.4rem;
    transform: translateX(100%); transition: transform .45s var(--ease);
    margin-left: 0;
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__links a { color: var(--pine); }
  .btn--nav { display: none; }
  .nav__toggle {
    display: flex; flex-direction: column; gap: 6px; justify-content: center;
    margin-left: auto; z-index: 95;
    background: none; border: none; cursor: pointer; padding: .6rem;
  }
  .nav__toggle span {
    display: block; width: 26px; height: 2px; background: var(--pine);
    transition: transform .4s var(--ease), opacity .3s;
  }
  .nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

  .hero { padding-top: 7rem; }
  .hero__cta .btn { width: 100%; justify-content: center; }
  .ledger { transform: none; padding: var(--s-3); }
  .ledger__card--a { top: -1rem; right: 0; }
  .ledger__card--b { bottom: -1rem; left: 0; }
  .proof__grid { grid-template-columns: 1fr; gap: var(--s-3); }
  .services__grid { grid-template-columns: 1fr; }
  .dash__kpis { grid-template-columns: 1fr 1fr; }
  .bars li { grid-template-columns: 5.6rem 1fr 2.4rem; }
  .cta-final__actions .btn { width: 100%; justify-content: center; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .ledger__line, .draw-line { stroke-dashoffset: 0 !important; }
  .ledger__area, .dash__area { opacity: 1; }
  .bars__fill { transform: scaleX(1); }
  .particle { display: none; }
}


/* ---------- brand logo integration ---------- */
img.nav__leaf {
  width: 27px; height: 25px; object-fit: contain;
}
.nav__leaf--footer { filter: invert(0.92) sepia(0.18) saturate(2) hue-rotate(10deg); } /* ivory-gold tint on dark footer */

.about__frame { position: relative; }
.about__engraving {
  position: absolute; inset: 8% 6% auto 6%;
  width: 88%; height: auto;
  opacity: .5; filter: drop-shadow(0 6px 24px rgba(0,0,0,.25));
}
.about__monogram {
  position: absolute; bottom: 7%; left: 50%; transform: translateX(-50%);
  font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: .25em; padding-left: .25em;
}
