/* 16 Ledger: one calm reading column. Tokens only from ../shared/brand.css */
html { scroll-behavior: auto; }
.col { width: min(100% - 2 * var(--gutter), 680px); margin-inline: auto; }
.sec { --pad: clamp(88px, 13vh, 150px); padding: var(--pad) 0; position: relative; }
.sec .col { position: relative; }
.sec:not(.hero) .col::before { content: ""; position: absolute; left: 0; right: 0; top: calc(-1 * var(--pad)); height: 1px; background: var(--line); transform-origin: left; }
.js .sec:not(.hero) .col::before { transform: scaleX(0); transition: transform 1.6s var(--ease-out); }
.js .sec.in .col::before { transform: none; }
h1.serif em, h2.serif em { color: var(--green); }
h2.serif { font-size: clamp(2.3rem, 5vw, 3.3rem); line-height: 1; margin: 0 0 18px; }
.col p { margin: 0; font-size: 1.1875rem; line-height: 1.6; max-width: 34em; }

/* figures: like a plate in a printed report */
.fig { margin: 44px 0 0; padding-top: 28px; }
.fig svg { width: 100%; height: auto; overflow: visible; }
.fig figcaption { margin-top: 18px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; font-size: .95rem; color: var(--mute); }
.fig figcaption .mono { color: var(--brass); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.replay { margin-left: auto; font: 500 .75rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--green); background: none; border: 0; border-bottom: 1px solid var(--green); padding: 6px 0 2px; cursor: pointer; }
.replay:hover { color: var(--ink); border-color: var(--ink); }
.replay:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }

/* svg vocabulary */
.t { font-family: var(--mono); font-size: 13px; letter-spacing: .1em; fill: var(--mute); }
.t.brass { fill: var(--brass); }
.t.big { font-size: 17px; letter-spacing: .02em; fill: var(--ink); }
.axis, .link, .flow, .out, .pole, .ticks path, .rules path, .base, .dline { fill: none; stroke: var(--ink); stroke-width: 1; }
.ticks path { opacity: .5; } .rules path { opacity: .18; } .flow { opacity: .35; } .out { opacity: .6; }
.ledger rect:first-child, .page { fill: var(--paper); stroke: var(--ink); stroke-width: 1; }
.ledger .bars rect, .tx { fill: var(--ink); opacity: .22; }
.tick { fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dot { fill: var(--green); }
.head { fill: var(--green); } .cb { fill: var(--ink); opacity: .75; } .base { opacity: .4; }
.dline, .gap path { stroke: var(--brass); }
.gap path { fill: none; stroke-width: 1; }
.flagshape { fill: var(--ink); }
.trail { stroke: var(--brass); stroke-width: 2; }
.mark { fill: var(--brass); stroke: var(--paper); stroke-width: 3; }
.b1 { fill: var(--ink); opacity: .82; } .b2 { fill: var(--green); }
.ghost { fill: none; stroke: var(--brass); stroke-width: 1.2; stroke-dasharray: 5 4; }
.diff path { fill: none; stroke: var(--brass); stroke-width: 1.2; }
.node circle { fill: var(--paper); stroke: var(--ink); stroke-width: 1.2; }
.node.pn circle { fill: var(--green); stroke: var(--green); }
.ring { fill: none; stroke: var(--brass); stroke-width: 1.5; }
.link { opacity: .55; }
.lab .t { fill: var(--ink); }

/* services as a compact list */
.svc { list-style: none; margin: 30px 0 0; padding: 0; border-top: 1px solid var(--line); }
.svc li { transition: padding-left .6s var(--ease-out);} .svc li:hover { padding-left: 10px; }
.svc li { font-family: var(--serif); font-size: clamp(1.6rem, 3.4vw, 2.1rem); padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; }
.svc li::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brass); opacity: .8; }

/* contact + footer */
.contact .mh-btn { margin-top: 30px; }
.details { margin: 52px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.details > div { display: grid; grid-template-columns: 110px 1fr; align-items: baseline; padding: 15px 0; border-bottom: 1px solid var(--line); }
.details dt { margin: 0; } .details dd { margin: 0; font-size: 1.1rem; }
.details a { text-decoration: none; background: linear-gradient(var(--brass), var(--brass)) 0 100% / 100% 1px no-repeat; transition: background-size .6s var(--ease-out); }
.details a:hover { background-size: 0 1px; background-position: 100% 100%; }
.contact .mh-btn::after, .hero .mh-btn::after { content: "\2192"; transition: transform .5s var(--ease-out); }
.mh-btn:hover::after { transform: translateX(5px); }
.foot { padding: 34px 0 96px; }
.foot p { margin: 0; font-size: .95rem; color: var(--mute); }

/* quiet reveals: hidden state only when JS ran */
.js .rv { opacity: 0; transform: translateY(10px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; } .js .sec:not(.hero) .col::before { transform: none; } }

@media (max-width: 600px) {
  .t { font-size: 17px; } .t.big { font-size: 22px; }
  .sec { padding: 76px 0; }
  .details > div { grid-template-columns: 1fr; gap: 2px; }
  .fig figcaption { font-size: .9rem; }
}

/* HERO: headline and a self-writing ledger interlock on one row grid */
.hero { --pad: 0px; padding: 0; min-height: 100svh; display: block; }
.hwrap { --fs: clamp(3.2rem, 14vw, 14rem); --k: 4; --row: calc(var(--fs) / var(--k));
  --cols: 9ch 1fr 13ch 15ch 3.4ch;
  position: relative; width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; min-height: 100svh;
  padding: 92px 0 72px; display: flex; flex-direction: column; }
.hstrip { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 14px; }
.hstrip .label { color: var(--green); }
.next { font: 400 .78rem var(--mono); letter-spacing: .08em; color: var(--mute); }
.next b { color: var(--brass); font-weight: 500; }
.hl-ledger { position: relative; flex: 1 1 0; min-height: 0; overflow: hidden; border-top: 1px solid var(--line); }
.hwrap h1.serif { font-size: var(--fs); line-height: calc(var(--row) * var(--k)); margin: 0; letter-spacing: -.02em; white-space: nowrap;
  text-shadow: 0 0 .09em var(--paper), 0 0 .04em var(--paper); position: relative; z-index: 2; pointer-events: none; }
.hwrap h1 .hl { display: block; }
.hwrap.hjs h1.serif { position: absolute; left: 0; right: 0; }
.lr { position: relative; display: grid; grid-template-columns: var(--cols); align-items: center; height: var(--row);
  font: 400 13px var(--mono); color: var(--mute); }
.lr > span { padding: 0 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-feature-settings: "tnum" 1; }
.lr > span:first-child { padding-left: 0; }
.lr .a { text-align: right; color: var(--ink); opacity: .75; }
.lr .c { display: flex; align-items: center; justify-content: center; padding: 0; }
.lr .c svg { width: 13px; height: 13px; fill: none; stroke: var(--green); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lr.hd { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); }
.lr .hair { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line); transform-origin: left; padding: 0; }
.vg { position: absolute; inset: 0; display: grid; grid-template-columns: var(--cols); pointer-events: none; }
.vg i { border-left: 1px solid var(--line); transform-origin: top; }
.vg i:first-child { border-left: 0; }
.hfoot { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; padding-top: 26px; position: relative; z-index: 3; }
.hfoot .lede { margin: 0; font-size: 1.25rem; max-width: 19em; color: var(--ink-2); }
.hright { display: flex; align-items: flex-end; gap: 40px; }
.htotal { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.htotal .amt { font: 500 1.9rem var(--mono); letter-spacing: -.01em; line-height: 1.1; }
.htotal .dbl { display: block; width: 100%; height: 5px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); transform-origin: right; }
@media (max-width: 700px) {
  .hwrap { --fs: 16.6vw; --k: 2; --cols: 7.5ch 1fr 12ch 2.4ch; padding-top: 80px; }
  .lr { font-size: 10.5px; } .lr.hd { font-size: 9.5px; } .lr > span { padding: 0 6px; }
  .lr .r { display: none; }
  .hfoot { flex-direction: column; align-items: stretch; gap: 18px; }
  .hfoot .lede { font-size: 1.1rem; }
  .hright { justify-content: space-between; gap: 16px; align-items: flex-end; }
  .htotal .amt { font-size: 1.3rem; } .htotal .label { font-size: .6rem; letter-spacing: .1em; white-space: nowrap; }
  .hright .mh-btn { padding: 12px 16px; font-size: .85rem; white-space: nowrap; } .hright { gap: 12px; }
  .hstrip .label { font-size: .65rem; }
  .next { font-size: .66rem; }
}

.hwrap h1 .hl { will-change: transform, opacity; } .hl-ledger .lr .a, .hl-ledger .hair, .vg i { will-change: transform, opacity; }

/* ===== Redesign pass: forest bands, cream paper, brass accent ===== */
:root { --paper: #F4ECDB; --ivory: #E9DFC8; --ink: #14201B; --ink-2: #22302A; --mute: #6B6B5E; --line: rgba(20,32,27,.14);
  --forest: #14352C; --green: #14352C; --green-2: #1F5244; --brass: #C29B5A; --brass-l: #DDBE84; --brass-t: #85632B; }
.band { --paper: #14352C; --ink: #F4ECDB; --ink-2: #E4DCC8; --mute: #A3B2A9; --line: rgba(244,236,219,.16); --green: #DDBE84; --brass-t: #D2AE6C;
  background: #14352C; color: #F4ECDB; }
.mh-nav { mix-blend-mode: normal; color: #14201B; transition: color .5s var(--ease-out); }
.mh-nav.on-band { color: #F4ECDB; }
.sec:not(.hero) .col::before, .js .sec:not(.hero) .col::before { display: none; }
.mh-btn { transition: transform .5s var(--ease-out), background .3s; }
.hero .mh-btn, .contact .mh-btn { background: var(--brass); color: #14201B; }
.hero .mh-btn:hover, .contact .mh-btn:hover { background: #F4ECDB; }
h2.serif { font-size: clamp(2.6rem, 6vw, 4.4rem); }
.t.brass { fill: var(--brass-t); }
.col p.num { display: flex; align-items: center; gap: 14px; margin: 0 0 26px; font: 500 .8rem var(--mono); letter-spacing: .14em; color: var(--brass-t); }
.num b { font-weight: 500; } .num i { display: block; height: 1px; width: 72px; background: var(--brass); transform-origin: left; }
.js .num i { transform: scaleX(0); transition: transform 1.4s var(--ease-out) .25s; } .js .sec.in .num i { transform: none; }
.fig { width: min(100vw - 2 * var(--gutter), 1040px); position: relative; left: 50%; transform: translateX(-50%); margin-top: 56px; padding-top: 32px; }
.fig::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--brass); opacity: .7; }
.fig svg { background-image: repeating-linear-gradient(to bottom, transparent 0 31px, color-mix(in srgb, var(--line) 55%, transparent) 31px 32px); }
.fig figcaption .mono { color: var(--brass-t); }
.ledger rect:first-child, .page { fill: var(--paper); }
.band .node.pn circle { fill: var(--brass); stroke: var(--brass); }
.band .node circle { fill: #14352C; }
.band .b1 { opacity: .9; }
.svc li::after { background: var(--brass); }
.foot { padding-top: 40px; } .contact { padding-bottom: 50px; }
.contact .details a { background-image: linear-gradient(var(--brass), var(--brass)); }

/* hero on forest */
.hero { background: #14352C; --line: rgba(194,155,90,.26); }
.hwrap { --fs: clamp(3.4rem, 16.2vw, 17rem); --cols: 9ch 1fr 13ch 15ch 3.4ch; }
.hwrap h1.serif { color: #F4ECDB; letter-spacing: -.025em; }
.hwrap h1.serif em { color: var(--brass-l); }
.hl-ledger { border-top-color: rgba(194,155,90,.5); }
.lr { color: rgba(163,178,169,.9); }
.lr.hd { color: var(--brass); }
.lr .a { color: #F4ECDB; }
.lr .c svg { stroke: var(--brass); }
.lr .hair { background: rgba(194,155,90,.3); }
.rows { position: relative; overflow: hidden; } .rows-in { will-change: transform; }
.dim { position: absolute; left: 0; right: 0; background: #14352C; opacity: .62; z-index: 1; pointer-events: none; }
.htotal .amt { color: var(--brass-l); font-size: 2.3rem; } .htotal .label { color: var(--brass); }
.htotal .dbl { border-color: var(--brass); }
.hstrip .label { color: var(--brass-l); } .next { color: #A3B2A9; } .next b { color: var(--brass-l); }
.hfoot .lede { color: #E4DCC8; }
@media (max-width: 700px) {
  .hwrap { --fs: 16.6vw; --cols: 7.5ch 1fr 12ch 2.4ch; }
  .t { font-size: 19px; } .t.big { font-size: 24px; }
  .htotal .amt { font-size: 1.35rem; }
  .fig { margin-top: 40px; }
}

.hwrap { padding-bottom: 96px; }
