:root {
  color-scheme: light;
  font-family: "Geist", "Segoe UI", sans-serif;
  --canvas: #f5f4eb;
  --ink: #182c24;
  --soft: #4d6052;
  --accent: #dce79a;
  --line: #cdd1c3;
  --display: "Instrument Serif", Georgia, serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--canvas); }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; color: inherit; }
button { cursor: pointer; }
button:focus-visible, select:focus-visible, summary:focus-visible, a:focus-visible { outline: 3px solid #4c8da2; outline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { line-height: 1.64; text-wrap: pretty; }
.review { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 9px 20px; min-height: 47px; padding: 7px 12px; background: #202522; color: #f5f4eb; font-size: 12px; }
.review > span { font-weight: 650; }
.switcher { display: flex; flex-wrap: wrap; gap: 5px; }
.switcher button { border: 1px solid #67716b; border-radius: 30px; background: transparent; color: inherit; padding: 5px 12px; }
.switcher button[aria-pressed=true] { background: #f5f4eb; color: #202522; border-color: #f5f4eb; }
.wrap { width: min(1296px, calc(100% - clamp(44px, 10vw, 144px))); margin-inline: auto; }
.site { background: var(--canvas); color: var(--ink); }
.site-nav { display: flex; min-height: 93px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font: 29px/.85 var(--display); white-space: nowrap; }
.brand small { display: block; font: 650 9px/1.1 "Geist", "Segoe UI", sans-serif; letter-spacing: .19em; text-transform: uppercase; margin-top: 8px; }
.mark { display: grid; place-items: center; font: italic 27px/1 Georgia, serif; width: 42px; height: 42px; color: #edf0da; background: #263f31; border: 1px solid currentColor; outline: 1px solid #263f31; outline-offset: 2px; border-radius: 50%; }
.site-nav nav { display: flex; align-items: center; gap: clamp(14px, 3vw, 44px); font-size: 14px; font-weight: 600; }
.portal-link { border: 1px solid var(--line); background: transparent; border-radius: 50px; padding: 10px 16px; white-space: nowrap; }
.portal-link span { margin-left: 4px; }
.hero { min-height: min(670px, 83vh); padding-block: 65px 72px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(30px, 6vw, 100px); }
.eyebrow { font-size: 11px; font-weight: 720; letter-spacing: .15em; line-height: 1.4; text-transform: uppercase; }
.hero h1 { margin-block: 22px 26px; font: 400 clamp(62px, 7.65vw, 120px)/.91 var(--display); letter-spacing: -.065em; text-wrap: initial; }
.hero h1 em { display: block; font-weight: inherit; color: #4b684e; }
.hero-deck { font-size: clamp(17px, 1.5vw, 22px); max-width: 32ch; color: var(--soft); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 17px 24px; margin-top: 34px; }
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 14px; border: 1px solid transparent; border-radius: 5px; padding: 12px 17px; font-size: 14px; font-weight: 700; line-height: 1.25; }
.primary { color: #f5f7ea; background: #243e30; }
.primary:hover { background: #335741; }
.text-link { font-size: 14px; font-weight: 700; padding-block: 9px; border-bottom: 1px solid var(--line); }
.hero-visual { position: relative; isolation: isolate; height: clamp(360px, 38vw, 508px); padding: 0 18px 14px 0; }
.photo-back { position: absolute; inset: 24px 0 0 26px; background: #dce29a; z-index: -1; border-radius: 6px; transform: translateY(calc(var(--hero-progress, 0) * 19px)); }
.photo-window { height: 100%; overflow: hidden; border-radius: 6px; background: #7d836d; }
.hero img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 54%; transform: translateY(calc(var(--hero-progress, 0) * 26px)) scale(1.12); }
.hero figcaption { position: absolute; bottom: 31px; left: -22px; background: #f7f6ed; color: #243b2c; box-shadow: 0 12px 28px #1b261e26; padding: 13px 18px; font-size: 12px; font-weight: 650; border-radius: 3px; display: flex; gap: 9px; align-items: center; transform: translateY(calc(var(--hero-progress, 0) * -22px)); }
.hero figcaption i { width: 8px; height: 8px; border-radius: 50%; background: #63805a; }
.services { border-top: 1px solid var(--line); display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; padding-block: clamp(60px, 7vw, 105px); }
.section-lead h2, .consult h2 { font: 400 clamp(43px, 5.4vw, 79px)/.98 var(--display); letter-spacing: -.055em; margin: 0 0 14px; }
.section-lead p, .consult p { max-width: 35ch; color: var(--soft); }
.service-list details { border-bottom: 1px solid var(--line); }
.service-list details:first-child { border-top: 1px solid var(--line); }
.service-list summary { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 18px 0; font-size: clamp(17px, 2vw, 23px); font-weight: 600; list-style: none; cursor: pointer; }
.service-list summary::-webkit-details-marker { display: none; }
.service-list summary::after { content: "+"; font-weight: 400; }
.service-list details[open] summary::after { content: "−"; }
.service-list p { margin: 0 18px 18px 0; color: var(--soft); max-width: 50ch; }
.experience { color: #f3f5e9; background: #1d3428; overflow: clip; }
.experience-grid { min-height: 615px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: center; padding-block: 90px; }
.experience .eyebrow { margin-bottom: 20px; color: #dbe592; }
.experience .section-lead p:not(.eyebrow) { color: #c7d4c7; max-width: 30ch; margin-bottom: 24px; }
.outline { background: transparent; color: inherit; border-color: currentColor; }
.outline:hover { background: #ffffff18; }
.folio-stack { --gather: 1; display: grid; align-items: center; isolation: isolate; padding: 38px 29px 12px 0; }
.sheet { grid-area: 1 / 1; border-radius: 10px; border: 1px solid #dce2d3; box-shadow: 0 7px 28px #10251c28; }
.sheet-back, .sheet-middle { min-height: 100%; transform-origin: 50% 52%; color: #1f3a2c; font-size: 12px; font-weight: 650; }
.sheet-back { background: #b9caaf; transform: translate(calc(21px + 26px * (1 - var(--gather))), calc(-26px - 22px * (1 - var(--gather)))) rotate(calc(1deg + 6deg * (1 - var(--gather)))); padding: 8px 15px; }
.sheet-middle { background: #e1e7c1; transform: translate(calc(9px + 12px * (1 - var(--gather))), calc(-13px - 7px * (1 - var(--gather)))) rotate(calc(-1deg - 5deg * (1 - var(--gather)))); padding: 7px 15px; }
.sheet-front { background: #f8f8f0; color: #1f3a2c; padding: clamp(18px, 3vw, 38px); position: relative; }
.sheet-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; color: #52685a; }
.sheet-meta small { background: #e6eadc; padding: 3px 7px; border-radius: 20px; white-space: nowrap; }
.sheet h3 { margin: 19px 0 13px; font: 400 clamp(29px, 4vw, 46px)/1 var(--display); letter-spacing: -.04em; }
.sample-choices { display: flex; flex-wrap: wrap; gap: 6px; }
.sample-choices button { border: 1px solid #d7ded0; padding: 6px 9px; border-radius: 20px; background: transparent; font-size: 12px; }
.sample-choices button[aria-pressed=true] { background: #243e30; border-color: #243e30; color: white; }
.sheet dl { margin: 17px 0 0; }
.sheet dl div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid #dde1d7; padding: 11px 0; font-size: 14px; }
.sheet dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.consult { min-height: 285px; padding-block: 64px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.consult > div { transform: translateY(calc((1 - var(--arrival, 1)) * 13px)); }
.consult h2 { font-size: clamp(40px, 4.2vw, 64px); }
.site-footer { border-top: 1px solid var(--line); padding-block: 24px; display: flex; justify-content: space-between; gap: 12px; color: var(--soft); font-size: 13px; }

.ledger { --canvas: #141e2c; --ink: #f4eee4; --soft: #c1cbd6; --line: #425061; --display: "Geist", "Segoe UI", sans-serif; }
.ledger .site-nav { min-height: 86px; }
.ledger .mark { border-radius: 2px; border-color: #d6ad87; outline-color: #d6ad87; color: #f4dbc0; background: #192636; }
.ledger .brand { font-family: Georgia, serif; }
.ledger .hero { grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 5vw, 80px); }
.ledger .hero h1 { font-size: clamp(53px, 6.5vw, 94px); line-height: .95; font-weight: 650; letter-spacing: -.078em; }
.ledger .hero h1 em { color: #e9bb91; font-style: normal; }
.ledger .eyebrow { color: #e9bb91; }
.ledger .hero-visual { height: clamp(360px, 39vw, 530px); padding: 0 0 15px 17px; }
.ledger .photo-back { inset: 22px 22px 0 0; background: #967458; border-radius: 1px; }
.ledger .photo-window { border-radius: 1px; background: #526776; }
.ledger .hero img { object-position: center 51%; }
.ledger .hero figcaption { background: #213146; color: #f4eee4; border: 1px solid #657285; left: auto; right: 13px; bottom: 27px; }
.ledger .hero figcaption i { background: #e9bb91; }
.ledger .primary { color: #1b2533; background: #e9bb91; }
.ledger .primary:hover { background: #f5caa6; }
.ledger .experience { background: #213146; }
.ledger .experience .section-lead p:not(.eyebrow) { color: #d1d9e0; }
.ledger .sheet-back { background: #aebdcb; }
.ledger .sheet-middle { background: #d8cabb; }
.ledger .sheet-front { background: #fcf9f1; color: #1d2d40; }
.ledger .sheet h3 { font-size: clamp(27px, 3.2vw, 41px); }
@media (min-width: 741px) {
  .ledger .hero-visual { grid-column: 1; grid-row: 1; }
  .ledger .hero-copy { grid-column: 2; grid-row: 1; }
}

.portal { display: grid; grid-template-columns: 230px minmax(0, 1fr); min-height: calc(100svh - 47px); background: #eef1eb; }
.sidebar { display: flex; flex-direction: column; gap: 30px; background: #1c3328; color: #f6f7eb; padding: 28px 16px 22px; }
.sidebar .brand { margin-left: 7px; }
.sidebar .mark { color: #e5edb6; border-color: #e5edb6; outline-color: #68795f; }
.workspace { display: flex; align-items: center; gap: 10px; border-top: 1px solid #587062; border-bottom: 1px solid #587062; padding: 16px 3px; }
.initials { display: grid; place-items: center; width: 37px; height: 37px; border-radius: 8px; background: #dce79a; color: #22392d; font-size: 13px; font-weight: 800; flex: 0 0 auto; }
.workspace strong { display: block; font-size: 14px; }
.workspace small { display: block; font-size: 12px; color: #c1d0c5; margin-top: 3px; }
.sidebar nav { display: grid; gap: 5px; }
.sidebar button { border: 1px solid transparent; background: transparent; color: #e3eee2; text-align: left; padding: 11px 12px; border-radius: 6px; font-size: 14px; }
.sidebar button span { display: inline-block; width: 21px; }
.sidebar button[aria-current=page] { background: #375347; border-color: #587263; color: #fff; font-weight: 700; }
.sidebar button:hover { background: #304a3e; }
.sidebar .back-link { margin-top: auto; color: #c1d0c5; }
.portal-main { padding: 0 clamp(20px, 3.3vw, 54px) 65px; }
.portal-top { min-height: 65px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #cdd6cd; font-size: 13px; color: #4a6154; }
.demo-label { padding: 5px 10px; border: 1px solid #c2d0c3; border-radius: 20px; font-weight: 650; }
.panel { max-width: 1320px; margin: 0 auto; }
.panel-title { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin: 35px 0 23px; }
.panel-title h1 { font: 400 clamp(39px, 5vw, 65px)/.99 var(--display); letter-spacing: -.055em; margin-bottom: 8px; }
.panel-title p, .muted { color: #52675a; font-size: 14px; }
.period { display: grid; gap: 6px; font-size: 12px; font-weight: 650; white-space: nowrap; }
.period select { background: #fbfcf7; border: 1px solid #bdcbbd; padding: 10px 29px 10px 11px; border-radius: 6px; font-size: 14px; }
.report-tabs { display: flex; flex-wrap: wrap; gap: 7px; border-bottom: 1px solid #ccd6cc; margin-bottom: 18px; }
.report-tabs button { background: transparent; border: 0; border-bottom: 2px solid transparent; padding: 11px 14px; font-size: 14px; font-weight: 630; color: #4e6356; }
.report-tabs button[aria-pressed=true] { border-bottom-color: #263f31; color: #263f31; background: #e2e9dd; border-radius: 5px 5px 0 0; }
.report-grid { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(230px, 1fr); gap: 16px; align-items: start; }
.report-paper { background: #fcfdf9; border: 1px solid #d5ded3; border-radius: 10px; padding: clamp(18px, 2.7vw, 36px); box-shadow: 0 10px 24px #243e3009; }
.report-top { display: flex; justify-content: space-between; align-items: start; gap: 12px; margin-bottom: 20px; }
.report-top h2, .upload h2, .document-list h2 { font: 400 clamp(28px, 3.1vw, 43px)/1 var(--display); letter-spacing: -.045em; margin-block: 8px; }
.report-top .eyebrow { color: #4c6655; }
.download { color: #274334; border-color: #c8d4c7; background: #f4f7f0; font-size: 12px; min-height: 38px; white-space: nowrap; padding: 8px 10px; }
.download:hover { background: #e7eee3; }
.statement-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.statement-table th, .statement-table td { padding: 10px 9px; text-align: left; border-bottom: 1px solid #e2e9df; }
.statement-table thead th { color: #4e6556; font-size: 12px; }
.statement-table th:last-child, .statement-table td:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.statement-table tbody tr.total { background: #eaf0e4; font-weight: 700; }
.statement-table tbody th { font-weight: inherit; }
.report-insight { background: #203b2e; color: #f6f7ec; border-radius: 10px; overflow: hidden; }
.insight-top { display: grid; gap: 5px; padding: 22px 20px; border-bottom: 1px solid #547061; }
.insight-top span { font-weight: 630; font-size: 14px; }
.insight-top strong { font: 400 clamp(27px, 3.25vw, 51px)/1.05 var(--display); letter-spacing: -.055em; }
.insight-top small { color: #d1ded3; }
.bars { padding: 11px 20px 25px; }
.bar-row { margin-top: 15px; }
.bar-row div { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: #ecf0e7; }
.bar-row i { display: block; height: 7px; margin-top: 7px; border-radius: 5px; background: #dce79a; width: var(--bar-width); }
.bar-row:nth-child(even) i { background: #a9c5ac; }
.upload { text-align: center; padding-block: 42px; border: 1px dashed #a2b7a2; }
.upload-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; font-size: 26px; background: #e6efdf; }
.upload p { color: #52695b; font-size: 14px; margin: 5px 0 14px; }
.upload #upload-status { margin: 11px 0 0; font-size: 12px; }
.document-list { margin-top: 17px; }
.document-list h2 { margin-top: 0; }
.document-list ul { list-style: none; padding: 0; margin-bottom: 0; }
.document-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid #dce5d9; font-size: 14px; }
.status { display: inline-block; padding: 4px 8px; border-radius: 20px; font-weight: 650; font-size: 12px; margin-left: 4px; }
.settled { color: #2a513c; background: #e1eddf; }
.due { color: #654b1f; background: #f1e9d5; }
.invoice-band { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: clamp(22px, 4vw, 52px); background: #203b2e; color: #f6f7ec; border-radius: 10px; }
.invoice-band div { display: grid; gap: 8px; }
.invoice-band strong { font: 400 clamp(39px, 7vw, 70px)/1 var(--display); letter-spacing: -.045em; }
.invoice-band small { color: #d4e1d6; }
dialog { width: min(90%, 455px); border: 1px solid #bccdbf; border-radius: 12px; background: #f7f8f0; color: #20382b; padding: 27px; }
dialog::backdrop { background: #12241bc0; }
dialog p { margin-block: 10px 20px; }
dialog h2 { font: 400 35px/1 var(--display); }

@media (max-width: 1000px) {
  .report-grid { grid-template-columns: minmax(0, 1fr); }
  .bars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .experience-grid { gap: 35px; }
}
@media (max-width: 740px) {
  .site-nav { min-height: 73px; }
  .site-nav nav a:not(.portal-link) { display: none; }
  .hero, .ledger .hero { grid-template-columns: 1fr; padding-block: 38px 52px; gap: 28px; }
  .hero h1, .ledger .hero h1 { font-size: clamp(55px, 12vw, 82px); margin-block: 16px 19px; }
  .hero-actions { margin-top: 22px; }
  .hero-visual, .ledger .hero-visual { height: clamp(265px, 75vw, 425px); }
  .hero img { object-position: center 52%; }
  .hero figcaption { left: 8px; bottom: 27px; }
  .services, .experience-grid { grid-template-columns: 1fr; gap: 28px; }
  .experience-grid { min-height: auto; padding-block: 54px 48px; }
  .consult { align-items: start; flex-direction: column; }
  .portal { grid-template-columns: minmax(0, 1fr); }
  .sidebar { gap: 12px; padding: 15px 15px 9px; }
  .sidebar .brand { display: none; }
  .workspace { padding: 0 0 8px; border: 0; }
  .sidebar nav { grid-template-columns: repeat(3, 1fr); }
  .sidebar .back-link { display: none; }
  .sidebar button { padding: 9px 5px; text-align: center; min-height: 42px; }
  .sidebar button span { width: auto; }
  .portal-top { min-height: 50px; }
  .panel-title { align-items: start; flex-direction: column; margin-top: 26px; }
  .report-tabs { gap: 0; }
  .report-tabs button { flex: 1; min-width: 0; padding: 10px 5px; font-size: 12px; }
  .bars { grid-template-columns: 1fr; gap: 2px; }
}
@media (max-width: 400px) {
  .review { gap: 5px; }
  .review > span { display: none; }
  .wrap { width: calc(100% - 38px); }
  .report-top, .invoice-band { align-items: start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .hero img, .hero figcaption, .photo-back { transform: none; }
}
