*,
*::before,
*::after { box-sizing: border-box; }

:root {
  --ink: #13263a;
  --ink-2: #1d3650;
  --ink-soft: #3d5266;
  --paper: #f6f2ea;
  --paper-2: #efe9dd;
  --rule: #e2d9c8;
  --rule-strong: #cfc3ad;
  --brass: #a8732f;
  --brass-light: #d9a95e;
  --green: #2e7259;
  --muted: #6b7682;
  --white: #fffdf9;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --radius: 18px;
}

html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -.025em; font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.2rem; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
.mono { font-family: var(--mono); font-weight: 500; letter-spacing: .02em; }
.muted { color: var(--muted); }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 253, 249, .88);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s;
}
.header.scrolled { border-color: var(--rule); background: rgba(255, 253, 249, .96); }
.header-inner { height: 78px; display: flex; align-items: center; gap: 28px; }

.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; color: var(--ink); margin-right: auto; }
.seal {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
  font-family: var(--mono); font-weight: 700; font-size: .95rem; letter-spacing: .04em;
  color: var(--ink); background: var(--white);
  border: 1.5px solid var(--ink);
  box-shadow: inset 0 0 0 4px var(--white), inset 0 0 0 5px var(--brass);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 1.04rem; font-weight: 800; letter-spacing: -.01em; }
.brand-text small { font-size: .8rem; color: var(--muted); font-weight: 500; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink-soft);
  padding: 8px 12px; transition: color .2s;
}
.nav a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 1.5px;
  background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }

.nav-phone {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  font-family: var(--mono); font-weight: 700; font-size: .92rem; color: var(--white);
  background: var(--ink); padding: 11px 18px; border-radius: 999px; transition: background .2s;
}
.nav-phone svg { width: 16px; height: 16px; fill: var(--brass-light); }
.nav-phone:hover { background: var(--ink-2); }
.nav-phone-mobile { display: none; }

.burger {
  display: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--ink);
  background: transparent; cursor: pointer; padding: 0; position: relative;
}
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, top .25s; }
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 25px; }
.burger.open span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.burger.open span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .2s, background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-ink { background: var(--ink); color: var(--white); box-shadow: 0 10px 24px rgba(19, 38, 58, .22); }
.btn-ink:hover { background: var(--ink-2); }
.btn-ink span { transition: transform .2s; }
.btn-ink:hover span { transform: translateX(4px); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--white); }
.btn-brass { background: var(--brass-light); color: var(--ink); }
.btn-brass:hover { background: #e6b973; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background-color: var(--paper);
  background-image:
    linear-gradient(to right, transparent 0, transparent calc(50% + 560px), rgba(168, 115, 47, .25) calc(50% + 560px), rgba(168, 115, 47, .25) calc(50% + 561px), transparent calc(50% + 561px)),
    repeating-linear-gradient(to bottom, transparent 0, transparent 37px, rgba(19, 38, 58, .06) 37px, rgba(19, 38, 58, .06) 38px);
  padding: 92px 0 112px;
  border-bottom: 1px solid var(--rule);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .95fr; gap: 64px; align-items: center; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: .8rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase;
  color: var(--brass); margin-bottom: 26px;
}
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(46, 114, 89, .15); }
.hero h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); margin-bottom: 26px; }
.hero h1 em { font-style: normal; color: var(--brass); display: block; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 540px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }

.langs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.langs li {
  font-family: var(--mono); font-size: .8rem; font-weight: 700; color: var(--ink);
  border: 1px solid var(--rule-strong); border-radius: 6px; padding: 3px 9px; background: var(--white);
}
.langs li.langs-note { border: 0; background: none; padding: 0 0 0 6px; font-weight: 400; color: var(--muted); }

/* Ledger card */
.ledger {
  position: relative; background: var(--white); border-radius: 6px;
  padding: 28px 30px 30px;
  box-shadow: 0 1px 0 var(--rule), 0 30px 60px -20px rgba(19, 38, 58, .28), 0 10px 20px -10px rgba(19, 38, 58, .12);
  transform: rotate(1.2deg);
}
.ledger::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: -8px; height: 12px; z-index: -1;
  background: var(--paper-2); border-radius: 0 0 6px 6px; box-shadow: 0 6px 16px rgba(19, 38, 58, .1);
}
.ledger-head {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: .82rem; padding-bottom: 14px; border-bottom: 2px solid var(--ink);
}
.ledger-head .mono:first-child { font-weight: 700; letter-spacing: .08em; }
.ledger-cols {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; color: var(--brass);
  padding: 12px 0 6px; border-bottom: 1px solid var(--rule);
}
.ledger-rows { list-style: none; margin: 0; padding: 0; }
.ledger-rows li {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  padding: 11px 0; border-bottom: 1px solid var(--rule); font-size: .97rem; line-height: 1.4;
}
.ledger-rows li span:first-child { color: var(--muted); }
.ledger-cols, .ledger-rows li { gap: 0; }
.ledger-cols span:last-child { padding-left: 18px; }
.ledger-rows li span:first-child { padding-right: 14px; }
.ledger-rows li span:last-child {
  font-weight: 700; position: relative; padding-left: 40px;
  border-left: 1px solid rgba(168, 115, 47, .35); margin: -11px 0; padding-top: 11px; padding-bottom: 11px;
}
.ledger-rows li span:last-child::before {
  content: ""; position: absolute; left: 18px; top: 14px; width: 14px; height: 14px; border-radius: 50%;
  background: rgba(46, 114, 89, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%232e7259' d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6L21 7.5l-1.4-1.4z'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.ledger-total {
  display: flex; flex-direction: column; gap: 4px;
  margin-top: 2px; padding-top: 16px; border-top: 3px double var(--ink);
}
.ledger-total .mono { font-size: .74rem; letter-spacing: .12em; color: var(--brass); }
.ledger-total strong { font-size: 1.15rem; line-height: 1.35; max-width: 62%; }
.stamp {
  position: absolute; right: 20px; bottom: 30px;
  border: 2.5px solid var(--green); color: var(--green); border-radius: 8px;
  padding: 5px 9px; transform: rotate(-12deg);
  font-family: var(--mono); font-weight: 700; font-size: .78rem; letter-spacing: .12em;
  opacity: .88; mix-blend-mode: multiply;
}
.stamp span { display: block; border: 1px solid var(--green); border-radius: 4px; padding: 2px 8px; }

/* ---------- Sections ---------- */
.section { padding: 112px 0; }
.section-paper { background: var(--paper); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.section-ink { background: var(--ink); color: #c9d3dc; }
.label {
  display: flex; align-items: center; gap: 12px;
  font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink);
  margin-bottom: 18px;
}
.label .mono { color: var(--brass); font-weight: 700; }
.label::after { content: ""; flex: 0 0 48px; height: 1px; background: var(--rule-strong); }
.label-light { color: #fff; }
.label-light .mono { color: var(--brass-light); }
.label-light::after { background: rgba(255, 255, 255, .25); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head h2 { margin-bottom: 12px; }
.sub { color: var(--muted); font-size: 1.1rem; margin: 0; }

/* About */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.about-side { position: sticky; top: 120px; }
.quote {
  margin: 0 0 36px; padding: 0 0 0 28px; border-left: 3px solid var(--brass);
  font-size: clamp(1.35rem, 2.4vw, 1.8rem); line-height: 1.4; font-weight: 700; letter-spacing: -.02em; color: var(--ink);
}
.about-text { columns: 2; column-gap: 40px; color: var(--ink-soft); }
.about-text p { break-inside: avoid; }

/* Books (services) */
.books { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.book {
  background: var(--white); border-radius: 6px; padding: 34px 34px 22px;
  border: 1px solid var(--rule);
  box-shadow: 0 20px 40px -24px rgba(19, 38, 58, .25);
  position: relative; scroll-margin-top: 100px;
}
.book::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 76px; width: 1px; background: rgba(168, 115, 47, .3);
}
.book-head { display: flex; flex-direction: column; gap: 6px; padding-bottom: 18px; border-bottom: 2px solid var(--ink); position: relative; background: var(--white); }
.book-tag { font-size: .76rem; color: var(--brass); text-transform: uppercase; letter-spacing: .12em; }
.book-head h3 { font-size: 1.6rem; }
.entries { list-style: none; margin: 0; padding: 0; }
.entries li {
  display: grid; grid-template-columns: 54px 1fr; gap: 0 22px; align-items: baseline;
  padding: 14px 0; border-bottom: 1px solid var(--rule); line-height: 1.5; color: var(--ink);
  transition: background .2s;
}
.entries li:last-child { border-bottom: 0; }
.entries li .mono { font-size: .8rem; color: var(--brass); font-weight: 700; }
.entries li:hover { background: linear-gradient(to right, rgba(217, 169, 94, .12), transparent 80%); }

/* Modes */
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--rule); }
.mode { padding: 40px 34px 38px; border-right: 1px solid var(--rule); transition: background .25s; }
.mode:last-child { border-right: 0; }
.mode:hover { background: var(--paper); }
.mode svg { width: 46px; height: 46px; margin-bottom: 22px; fill: none; stroke: var(--brass); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mode h3 { margin-bottom: 8px; font-size: 1.3rem; }
.mode p { margin: 0; color: var(--ink-soft); }
.langs-line {
  margin: 34px 0 0; display: flex; gap: 14px; align-items: baseline; color: var(--ink-soft);
  font-size: 1.02rem;
}
.langs-line .mono {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; display: inline-grid; place-items: center;
  background: var(--ink); color: var(--white); font-size: .8rem; transform: translateY(5px);
}

/* Price */
.price { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.price h2 { color: #fff; margin-bottom: 18px; }
.price p { font-size: 1.1rem; max-width: 500px; margin: 0; }
.calc {
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius);
  padding: 14px 32px 28px;
}
.calc-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0; border-bottom: 1px dashed rgba(255, 255, 255, .18);
  font-size: 1.15rem; color: #e6ecf1; font-weight: 600;
}
.calc-row .mono { color: var(--brass-light); font-size: 1.4rem; font-weight: 700; }
.calc-sum {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding-top: 22px; margin-top: 4px; border-top: 3px double rgba(255, 255, 255, .45);
}
.calc-sum span { font-size: 1.5rem; font-weight: 800; color: #fff; letter-spacing: -.02em; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: stretch; }
.invoice {
  position: relative; background: var(--white); border-radius: 6px; padding: 34px 36px 36px;
  border: 1px solid var(--rule); box-shadow: 0 24px 48px -26px rgba(19, 38, 58, .3);
}
.invoice::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 6px; border-radius: 6px 6px 0 0;
  background: repeating-linear-gradient(90deg, var(--ink) 0 14px, var(--brass) 14px 28px);
}
.invoice-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.invoice-top .mono { font-size: .78rem; letter-spacing: .14em; color: var(--brass); font-weight: 700; }
.seal-sm { width: 40px; height: 40px; font-size: .82rem; }
.invoice-name { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; margin: 0; line-height: 1.2; }
.invoice-role { color: var(--muted); margin: 4px 0 22px; }
.invoice-list { margin: 0 0 28px; border-top: 2px solid var(--ink); }
.invoice-list div { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.invoice-list dt { font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.invoice-list dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; line-height: 1.5; }
.invoice-list dd.mono { font-weight: 700; }
.invoice-list a { text-decoration: none; border-bottom: 1px solid var(--brass-light); transition: color .2s; }
.invoice-list a:hover { color: var(--brass); }
.invoice-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.map { position: relative; border-radius: 6px; overflow: hidden; min-height: 420px; border: 1px solid var(--rule); background: var(--paper-2); }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; filter: grayscale(.55) sepia(.12) contrast(1.02); }
.map-link {
  position: absolute; left: 16px; bottom: 16px; background: var(--ink); color: #fff; font-weight: 700; font-size: .9rem;
  padding: 10px 16px; border-radius: 999px; text-decoration: none; box-shadow: 0 8px 20px rgba(0, 0, 0, .2);
}
.map-link:hover { background: var(--ink-2); }

/* Footer */
.footer { background: #0d1b29; color: #93a3b2; padding: 72px 0 0; font-size: .96rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 48px; padding-bottom: 52px; }
.brand-light { color: #fff; margin-bottom: 18px; }
.brand-light .seal { background: transparent; color: #fff; border-color: #fff; box-shadow: inset 0 0 0 4px #0d1b29, inset 0 0 0 5px var(--brass-light); }
.brand-light .brand-text small { color: #93a3b2; }
.footer-addr { margin: 0; line-height: 1.8; }
.footer-title { color: var(--brass-light); font-size: .76rem !important; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 14px; }
.footer a { color: #d3dce4; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding-top: 22px; padding-bottom: 26px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .88rem; color: #6f8293;
}
.footer-bottom .footer-top { color: var(--brass-light); font-weight: 700; }

/* To top */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 50; width: 50px; height: 50px; border-radius: 50%;
  background: var(--ink); display: grid; place-items: center; box-shadow: 0 10px 26px rgba(13, 27, 41, .35);
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .25s, transform .25s, visibility .25s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 22px; height: 22px; fill: var(--brass-light); }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.js .ledger.reveal { transform: translateY(22px) rotate(1.2deg); }
.js .ledger.reveal.in { transform: rotate(1.2deg); }
.js .ledger .stamp { opacity: 0; transform: rotate(-12deg) scale(1.6); transition: opacity .35s ease .7s, transform .35s cubic-bezier(.3, 1.6, .5, 1) .7s; }
.js .ledger.in .stamp { opacity: .88; transform: rotate(-12deg) scale(1); }
.js .modes .mode:nth-child(2) { transition-delay: .1s; }
.js .modes .mode:nth-child(3) { transition-delay: .2s; }
.js .books .book:nth-child(2) { transition-delay: .1s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .ledger .stamp { transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav a { padding: 8px 9px; font-size: .92rem; }
  .nav-phone-desktop { display: none; }
}

@media (max-width: 960px) {
  .hero-grid, .about, .books, .price, .contact { grid-template-columns: 1fr; }
  .hero-grid { gap: 56px; }
  .ledger { max-width: 560px; }
  .about { gap: 28px; }
  .about-side { position: static; }
  .price { gap: 40px; }
  .modes { grid-template-columns: 1fr; }
  .mode { border-right: 0; border-bottom: 1px solid var(--rule); padding: 30px 6px; display: grid; grid-template-columns: 56px 1fr; gap: 0 20px; }
  .mode:last-child { border-bottom: 0; }
  .mode svg { grid-row: span 2; margin: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .burger { display: block; }
  .nav {
    position: fixed; top: 78px; left: 0; right: 0; height: calc(100vh - 78px); height: calc(100dvh - 78px); overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); padding: 12px 28px 40px;
    border-top: 1px solid var(--rule);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav a { font-size: 1.35rem; font-weight: 800; color: var(--ink); padding: 16px 0; border-bottom: 1px solid var(--rule); }
  .nav a::after { display: none; }
  .nav .nav-phone-mobile {
    display: flex; justify-content: center; margin-top: 24px; border: 0; color: var(--white);
    font-size: 1.05rem; padding: 16px 20px;
  }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .header-inner { height: 70px; gap: 12px; }
  .nav { top: 70px; height: calc(100vh - 70px); height: calc(100dvh - 70px); padding: 8px 20px 32px; }
  .seal { width: 42px; height: 42px; font-size: .86rem; }
  .brand { gap: 11px; }
  .brand-text strong { font-size: .98rem; }
  .brand-text small { font-size: .74rem; }
  .burger { width: 44px; height: 44px; }
  .burger span { left: 12px; right: 12px; }
  .burger span:nth-child(1) { top: 17px; }
  .burger span:nth-child(2) { top: 24px; }
  .burger.open span:nth-child(1), .burger.open span:nth-child(2) { top: 20.5px; }

  .hero { padding: 52px 0 76px; background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 37px, rgba(19, 38, 58, .06) 37px, rgba(19, 38, 58, .06) 38px); }
  .kicker { font-size: .7rem; letter-spacing: .02em; margin-bottom: 20px; align-items: flex-start; }
  .kicker .dot { margin-top: 5px; flex-shrink: 0; }
  .hero h1 { font-size: 2.3rem; }
  .lead { font-size: 1.05rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .ledger { padding: 22px 18px 24px; transform: rotate(.6deg); }
  .js .ledger.reveal { transform: translateY(22px) rotate(.6deg); }
  .js .ledger.reveal.in { transform: rotate(.6deg); }
  .ledger-rows li { font-size: .9rem; }
  .ledger-cols span:last-child { padding-left: 12px; }
  .ledger-rows li span:first-child { padding-right: 10px; }
  .ledger-rows li span:last-child { padding-left: 32px; }
  .ledger-rows li span:last-child::before { left: 12px; }
  .ledger-total strong { font-size: 1.02rem; max-width: 100%; padding-right: 0; }
  .stamp { position: static; display: inline-block; margin-top: 16px; font-size: .8rem; }

  .section { padding: 76px 0; }
  .section-head { margin-bottom: 40px; }
  .quote { padding-left: 18px; margin-bottom: 26px; }
  .about-text { columns: 1; }
  .book { padding: 26px 20px 12px; }
  .book::before { display: none; }
  .book-head h3 { font-size: 1.35rem; }
  .entries li { grid-template-columns: 44px 1fr; gap: 0 12px; font-size: .97rem; }
  .entries li .mono { font-size: .74rem; }
  .mode { grid-template-columns: 44px 1fr; gap: 0 16px; padding: 26px 0; }
  .mode svg { width: 38px; height: 38px; }
  .mode h3 { font-size: 1.15rem; }
  .calc { padding: 8px 20px 22px; }
  .calc-row { font-size: 1.02rem; }
  .calc-sum span { font-size: 1.3rem; }
  .calc-sum .btn { flex: 1 1 100%; }
  .invoice { padding: 28px 20px 26px; }
  .invoice-name { font-size: 1.35rem; }
  .invoice-list div { grid-template-columns: 76px 1fr; gap: 10px; }
  .invoice-actions .btn { flex: 1 1 100%; }
  .map, .map iframe { min-height: 320px; }
  .footer { padding-top: 56px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .to-top { right: 16px; bottom: 16px; width: 46px; height: 46px; }
}
