/* The Ledger House */
.uc--bookkeeping { --pw: min(calc((100vw - 236px) * 1.08), calc((100svh - 150px) * 1.9), 1760px); --po: .07; }

.uc--bookkeeping .uc-art { overflow: hidden; }
.uc--bookkeeping .uc-art img { animation: none; transform: none; object-fit: fill; color: transparent; }
.bk-plate { position: absolute; top: 0; right: calc(var(--pw) * var(--po) * -1); width: var(--pw); aspect-ratio: 1600 / 893;
  transform-origin: 73% 42%; animation: bk-push 16s var(--ease) both; }
.bk-plate picture { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.bk-plate img { display: block; width: 100%; height: 100%; }
.bk-ink { position: absolute; inset: 0; }
@keyframes bk-push { from { transform: scale(1); } to { transform: scale(1.035); } }

.bk-ink__l { clip-path: var(--from); }
.bk-ink__l--m1 { --to: polygon(61.92% 35.10%, 66.72% 33.73%, 66.72% 35.87%, 61.92% 37.24%); --from: polygon(61.92% 35.10%, 61.92% 35.10%, 61.92% 37.24%, 61.92% 37.24%); }
.bk-ink__l--m2 { --to: polygon(62.79% 37.59%, 66.28% 35.58%, 66.28% 37.53%, 62.79% 39.53%); --from: polygon(62.79% 37.59%, 62.79% 37.59%, 62.79% 39.53%, 62.79% 39.53%); }
.bk-ink__l--m3 { --to: polygon(63.15% 39.76%, 68.53% 37.33%, 68.53% 39.44%, 63.15% 41.86%); --from: polygon(63.15% 39.76%, 63.15% 39.76%, 63.15% 41.86%, 63.15% 41.86%); }
.bk-ink__l--m4 { --to: polygon(63.81% 42.74%, 68.68% 40.03%, 68.68% 41.83%, 63.81% 44.54%); --from: polygon(63.81% 42.74%, 63.81% 42.74%, 63.81% 44.54%, 63.81% 44.54%); }
.bk-ink__l--m5 { --to: polygon(64.03% 44.52%, 68.46% 42.20%, 68.46% 44.68%, 64.03% 47.00%); --from: polygon(64.03% 44.52%, 64.03% 44.52%, 64.03% 47.00%, 64.03% 47.00%); }
.bk-ink__l--f1 { --to: polygon(75.29% 30.56%, 85.17% 29.94%, 85.17% 32.60%, 75.29% 33.22%); --from: polygon(75.29% 30.56%, 75.29% 30.56%, 75.29% 33.22%, 75.29% 33.22%); }
.bk-ink__l--f2 { --to: polygon(76.02% 32.89%, 85.97% 32.17%, 85.97% 34.81%, 76.02% 35.52%); --from: polygon(76.02% 32.89%, 76.02% 32.89%, 76.02% 35.52%, 76.02% 35.52%); }
.bk-ink__l--f3 { --to: polygon(77.40% 37.31%, 87.50% 36.47%, 87.50% 39.02%, 77.40% 39.86%); --from: polygon(77.40% 37.31%, 77.40% 37.31%, 77.40% 39.86%, 77.40% 39.86%); }
.bk-ink__l--u  { --to: polygon(82.85% 38.44%, 88.44% 39.18%, 88.44% 41.01%, 82.85% 40.27%); --from: polygon(82.85% 38.44%, 82.85% 38.44%, 82.85% 40.27%, 82.85% 40.27%); }

.bk-plate.is-written .bk-ink__l { clip-path: none; }
.bk-plate.is-written .bk-ink__l ~ .bk-ink__l { display: none; }

.uc--bookkeeping .uc-lang:focus-visible { outline: 2px solid var(--ivory); outline-offset: 2px; box-shadow: 0 0 0 6px var(--ink); }

.uc--bookkeeping .uc-text { max-width: calc(var(--gut) * 2 + 760px); }
.uc--bookkeeping .uc-h1 { max-width: 7.4em; font-size: clamp(48px, min(6.1vw, 9.8vh), 100px); line-height: .94; letter-spacing: -.018em; }
.uc--bookkeeping .uc-count { max-width: 600px; }
@media (min-width: 900px) { .uc--bookkeeping .uc-count { max-width: min(600px, 54vw); } }
.uc--bookkeeping .uc-num { font-size: clamp(44px, min(5.4vw, 7.8vh), 84px); }
.uc--bookkeeping .uc-when { font-size: clamp(19px, 1.45vw, 21px); }

.uc--bookkeeping .uc-cells { position: relative; border-bottom: 0; padding-bottom: 22px; }
.uc--bookkeeping .uc-cells::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  border-top: 1px solid rgba(254, 252, 248, .42); border-bottom: 1px solid rgba(254, 252, 248, .42); transform-origin: 0 50%; }
.bk-js .uc--bookkeeping .uc-cells::after { transform: scaleX(0); }
.bk-js .uc--bookkeeping .uc-count.is-closed .uc-cells::after { transform: none; transition: transform .7s cubic-bezier(.65, 0, .35, 1); }

@media (min-width: 900px) and (max-aspect-ratio: 4/3) {
  .uc--bookkeeping .uc-art { left: 0; -webkit-mask-image: none; mask-image: none; }
}

@media (max-width: 899px) {
  .uc--bookkeeping .uc-art { position: relative; inset: auto; display: flex; align-items: center; aspect-ratio: auto; height: auto;
    max-height: min(58svh, 620px); margin-top: 6px; -webkit-mask-image: none; mask-image: none; }
  .bk-plate { position: relative; top: auto; right: auto; flex: none; width: 100%; aspect-ratio: 1080 / 897; transform-origin: 61% 49%; }
  .bk-ink__l--m1 { --to: polygon(43.19% 42.17%, 50.67% 40.61%, 50.67% 42.77%, 43.19% 44.33%); --from: polygon(43.19% 42.17%, 43.19% 42.17%, 43.19% 44.33%, 43.19% 44.33%); }
  .bk-ink__l--m2 { --to: polygon(44.08% 45.37%, 49.89% 42.46%, 49.89% 44.76%, 44.08% 47.66%); --from: polygon(44.08% 45.37%, 44.08% 45.37%, 44.08% 47.66%, 44.08% 47.66%); }
  .bk-ink__l--m3 { --to: polygon(44.42% 46.14%, 52.23% 43.68%, 52.23% 47.15%, 44.42% 49.61%); --from: polygon(44.42% 46.14%, 44.42% 46.14%, 44.42% 49.61%, 44.42% 49.61%); }
  .bk-ink__l--m4 { --to: polygon(45.65% 50.88%, 52.57% 47.68%, 52.57% 49.52%, 45.65% 52.72%); --from: polygon(45.65% 50.88%, 45.65% 50.88%, 45.65% 52.72%, 45.65% 52.72%); }
  .bk-ink__l--m5 { --to: polygon(46.43% 51.94%, 54.24% 49.83%, 54.24% 52.42%, 46.43% 54.52%); --from: polygon(46.43% 51.94%, 46.43% 51.94%, 46.43% 54.52%, 46.43% 54.52%); }
  .bk-ink__l--f1 { --to: polygon(63.50% 37.02%, 78.46% 36.27%, 78.46% 39.19%, 63.50% 39.93%); --from: polygon(63.50% 37.02%, 63.50% 37.02%, 63.50% 39.93%, 63.50% 39.93%); }
  .bk-ink__l--f2 { --to: polygon(64.73% 39.61%, 79.69% 38.74%, 79.69% 41.57%, 64.73% 42.44%); --from: polygon(64.73% 39.61%, 64.73% 39.61%, 64.73% 42.44%, 64.73% 42.44%); }
  .bk-ink__l--f3 { --to: polygon(66.63% 43.46%, 82.48% 42.71%, 82.48% 46.39%, 66.63% 47.14%); --from: polygon(66.63% 43.46%, 66.63% 43.46%, 66.63% 47.14%, 66.63% 47.14%); }
  .bk-ink__l--u  { --to: polygon(74.67% 45.71%, 83.59% 45.82%, 83.59% 48.82%, 74.67% 48.71%); --from: polygon(74.67% 45.71%, 74.67% 45.71%, 74.67% 48.71%, 74.67% 48.71%); }
  .uc--bookkeeping .uc-text { max-width: none; margin-top: -24px; }
  .uc--bookkeeping .uc-h1 { font-size: clamp(38px, 11.6vw, 56px); max-width: 9em; letter-spacing: -.015em; }
  .uc--bookkeeping .uc-num { font-size: clamp(34px, 10vw, 44px); }
  .uc--bookkeeping .uc-cells { padding-bottom: 18px; }
  .uc--bookkeeping .uc-when { font-size: 18px; }
}

@media (max-width: 370px) {
  .uc--bookkeeping .uc-eyebrow { letter-spacing: .12em; }
  .uc--bookkeeping .uc-eyebrow::before { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .bk-plate { animation: none; }
  .bk-ink__l { clip-path: none; }
  .bk-ink__l ~ .bk-ink__l { display: none; }
}
@media (scripting: none) {
  .bk-ink__l { clip-path: none; }
  .bk-ink__l ~ .bk-ink__l { display: none; }
}
