/* Newsreader — OFL-1.1, self-hosted (downloaded through WebCo from Fontsource). */
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/newsreader/latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/newsreader/latin-ext-400-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/newsreader/latin-400-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/newsreader/latin-ext-400-italic.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/newsreader/latin-500-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/newsreader/latin-ext-500-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/newsreader/latin-500-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/newsreader/latin-ext-500-italic.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* IBM Plex Mono — OFL-1.1, self-hosted (downloaded through WebCo from Fontsource). */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/ibm-plex-mono/latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/ibm-plex-mono/latin-ext-400-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/ibm-plex-mono/latin-500-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/ibm-plex-mono/latin-ext-500-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* Danube View — knjigovodstveni servis. Black, white, greys + one restrained Danube blue for small details. */
:root {
  --ink: #111;
  --ink-2: #3a3a3a;
  --muted: #5c5c5c;
  --rule: #cfcfcf;
  --rule-soft: #e6e6e6;
  --paper: #fff;
  --blue: #1e4a8c;
  --blue-light: #a9c3ea;
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --wrap: 1180px;
  --gut: clamp(20px, 5vw, 56px);
  --line: 32px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--serif); font-size: clamp(18px, 1.15vw + 12px, 20px); line-height: 1.55;
  font-optical-sizing: auto; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.on-ink :focus-visible, .callbar :focus-visible { outline-color: #fff; }
h1, h2, h3 { font-weight: 400; line-height: 1.08; letter-spacing: -.015em; margin: 0; }
h1 { font-size: clamp(2.7rem, 6.4vw, 5.6rem); letter-spacing: -.025em; }
h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); }
h3 { font-size: 1.35rem; line-height: 1.25; font-weight: 500; letter-spacing: 0; }
p { margin: 0 0 1em; }
.num, .mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* Labels — like column headers in a journal */
.label {
  font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .14em;
  text-transform: uppercase; color: var(--blue); margin: 0 0 18px; display: block;
}
/* Double underline — the "total" rule of a ledger */
.total { display: inline-block; padding-bottom: 12px; border-bottom: 4px double var(--blue); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--rule); }
.head { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; position: relative; }
.brand { display: block; flex: 0 0 auto; }
.brand img { width: clamp(176px, 18vw, 224px); height: auto; }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); }
.nav ul { list-style: none; display: flex; gap: clamp(16px, 2.2vw, 30px); margin: 0; padding: 0; }
.nav a, .lang a, .lang span {
  font-family: var(--mono); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
}
.nav ul a { padding: 6px 0; border-bottom: 1px solid transparent; }
.nav ul a:hover { border-bottom-color: var(--blue); }
.nav ul a[aria-current="page"] { border-bottom: 3px double var(--blue); }
.lang { display: flex; gap: 6px; align-items: center; color: var(--muted); font-family: var(--mono); font-size: .76rem; }
.lang a { color: var(--muted); }
.lang a:hover { color: var(--ink); }
.lang span[aria-current] { color: var(--ink); font-weight: 500; }
.head-call {
  font-family: var(--mono); font-size: .8rem; text-decoration: none; border: 1px solid var(--ink);
  padding: 9px 14px; white-space: nowrap; font-variant-numeric: tabular-nums;
}
.head-call:hover { background: var(--ink); color: #fff; }
.menu-btn { display: none; }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.btn {
  display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 13px 22px;
  font-family: var(--mono); font-size: .86rem; letter-spacing: .02em; text-decoration: none;
  border: 1px solid var(--ink); background: var(--paper); color: var(--ink); transition: background .15s, color .15s;
  font-variant-numeric: tabular-nums;
}
.btn:hover { background: var(--ink); color: #fff; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #fff; color: var(--ink); }
.btn small { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; opacity: .75; }
.on-ink .btn { background: transparent; color: #fff; border-color: #fff; }
.on-ink .btn:hover { background: #fff; color: var(--ink); }

/* Sections */
.section { padding: clamp(72px, 10vw, 136px) 0; }
.section + .section { border-top: 1px solid var(--rule); }
.section-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 28px clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head p { color: var(--ink-2); margin: 0; max-width: 34em; }
.lead { font-size: clamp(1.15rem, 1.1vw + .8rem, 1.4rem); line-height: 1.5; color: var(--ink-2); max-width: 32em; }

/* Hero */
.hero { padding: clamp(56px, 8vw, 112px) 0 clamp(64px, 9vw, 120px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(48px, 6vw, 88px); align-items: center; }
.hero h1 { margin-bottom: 28px; }
.page-hero { padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--rule); }
.page-hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.8rem); margin-bottom: 24px; }
.page-hero .lead { margin: 0; }

/* T-account (Duguje / Potražuje) */
.taccount { font-size: 1rem; margin: 0; }
.taccount .t-title { text-align: center; font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 8px; color: var(--muted); }
.taccount .t-name { text-align: center; font-size: 1.45rem; margin: 0 0 14px; }
.t-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 2px solid var(--ink); position: relative; animation: draw-x .8s cubic-bezier(.2,.7,.2,1) both; }
.t-grid::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; border-left: 2px solid var(--ink); transform-origin: top; animation: draw-y .9s .25s cubic-bezier(.2,.7,.2,1) both; }
.t-col { padding: 14px 18px 8px; }
.t-col:first-child { padding-left: 0; }
.t-col:last-child { padding-right: 0; text-align: right; }
.t-col h3 { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; margin-bottom: 4px; }
.t-col .t-sub { font-size: .92rem; color: var(--muted); font-style: italic; margin: 0 0 10px; }
.t-col ul { list-style: none; margin: 0; padding: 0; }
.t-col li { border-bottom: 1px solid var(--rule-soft); line-height: 1.3; padding: 9px 0; font-size: .98rem; }
.t-saldo { display: flex; justify-content: space-between; align-items: baseline; margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--ink); }
.t-saldo span:first-child { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.t-saldo .amount { font-family: var(--mono); font-size: 1.5rem; font-variant-numeric: tabular-nums; border-bottom: 4px double var(--ink); line-height: 1.2; padding-bottom: 2px; }
.t-note { font-style: italic; color: var(--muted); font-size: .95rem; text-align: right; margin: 10px 0 0; }
@keyframes draw-x { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes draw-y { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* Ledger table (konto rows) */
.ledger { width: 100%; border-collapse: collapse; }
.ledger th { font-family: var(--mono); font-size: .7rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-align: left; padding: 0 16px 12px 0; border-bottom: 2px solid var(--ink); }
.ledger td { padding: 22px 16px 22px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.ledger td.k { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: .85rem; color: var(--muted); width: 84px; padding-top: 27px; }
.ledger td.n { width: 34%; font-size: 1.32rem; line-height: 1.25; }
.ledger td.d { color: var(--ink-2); }
.ledger tr.sum td { border-bottom: 4px double var(--ink); padding-top: 18px; padding-bottom: 18px; }

/* Journal steps */
.journal { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.journal li { display: grid; grid-template-columns: 96px minmax(0, 4fr) minmax(0, 7fr); gap: 0 clamp(16px, 3vw, 40px); padding: 30px 0; border-bottom: 1px solid var(--rule); }
.journal li:last-child { border-bottom: 4px double var(--ink); }
.journal .k { font-family: var(--mono); font-size: .85rem; color: var(--muted); padding-top: 6px; font-variant-numeric: tabular-nums; }
.journal h3 { font-size: 1.6rem; font-weight: 400; }
.journal p { margin: 0; color: var(--ink-2); }

/* Ruled paper — subtle ledger lines */
.ruled { background-image: repeating-linear-gradient(to bottom, transparent 0, transparent calc(var(--line) - 1px), var(--rule-soft) calc(var(--line) - 1px), var(--rule-soft) var(--line)); }

/* Figures */
.fig { margin: 0; }
.fig img { width: 100%; filter: grayscale(1) contrast(1.04); }
.fig figcaption { font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; color: var(--muted); margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--rule); }
.band-img { height: clamp(260px, 42vw, 540px); overflow: hidden; }
.band-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }

/* Two-column split */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.prose p { max-width: 34em; }
.prose h2 { margin-bottom: 28px; }
.sticky-col { position: sticky; top: 120px; }

/* Register card: label / value rows */
.register { margin: 0; border-top: 2px solid var(--ink); }
.register div { display: grid; grid-template-columns: minmax(120px, 2fr) minmax(0, 3fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.register dt { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: 5px; }
.register dd { margin: 0; }
.register .num { font-size: .95rem; }
.register div:last-child { border-bottom: 4px double var(--ink); }

/* Place */
.place { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 112px); align-items: center; }
.place .fig img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 32%; }
.address { font-family: var(--mono); font-size: 1rem; line-height: 1.7; font-style: normal; margin: 28px 0 8px; font-variant-numeric: tabular-nums; }

/* Ink band (the one inverted section per page) */
.on-ink { background: var(--ink); color: #fff; }
.on-ink .label { color: var(--blue-light); }
.closing { padding: clamp(72px, 10vw, 128px) 0; }
.closing h2 { font-size: clamp(2.2rem, 5vw, 4.2rem); max-width: 14em; }
.closing .big-phone { display: inline-block; font-family: var(--mono); font-size: clamp(1.7rem, 4.6vw, 3.6rem); letter-spacing: -.01em; text-decoration: none; margin-top: 36px; padding-bottom: 8px; border-bottom: 5px double #fff; font-variant-numeric: tabular-nums; }
.closing .big-phone:hover { border-bottom-style: solid; }
.closing p.sub { color: #cfcfcf; margin-top: 26px; max-width: 32em; }
.closing p.sub a { color: #fff; }

/* Notes and lists */
.note { border-left: 2px solid var(--ink); padding: 4px 0 4px 22px; color: var(--ink-2); max-width: 40em; margin-top: 40px; font-style: italic; }
.checklist { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.checklist li { padding: 14px 0 14px 40px; border-bottom: 1px solid var(--rule); position: relative; }
.checklist li::before { content: "✓"; position: absolute; left: 4px; top: 15px; font-family: var(--mono); font-size: .9rem; color: var(--blue); }
.modules { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0 32px; list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--ink); }
.modules li { font-family: var(--mono); font-size: .9rem; padding: 14px 0; border-bottom: 1px solid var(--rule); display: flex; gap: 14px; }
.modules li span { color: var(--muted); }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.values > div { border-top: 2px solid var(--ink); padding-top: 18px; }
.values h3 { font-size: 1.5rem; font-weight: 400; margin-bottom: 10px; }
.values p { color: var(--ink-2); margin: 0; }
/* Mission: three pillars ruled like ledger lines, closed with a double total rule */
.mission-split { column-gap: clamp(32px, 6vw, 96px); align-items: start; }
.pillars { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.pillars li { display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--rule); font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.15; letter-spacing: -.015em; }
.pillars li:last-child { border-bottom: 4px double var(--ink); }
.pillars .k { font-family: var(--mono); font-size: .85rem; letter-spacing: 0; color: var(--muted); font-variant-numeric: tabular-nums; }
.mission p { font-size: clamp(1.1rem, .8vw + .85rem, 1.28rem); line-height: 1.6; color: var(--ink-2); }
.mission p:last-child { margin-bottom: 0; }
.mission strong { font-weight: 500; color: var(--ink); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 7vw, 112px); }
.channel { display: block; text-decoration: none; padding: 28px 0; border-bottom: 1px solid var(--rule); }
.channel:first-child { border-top: 2px solid var(--ink); }
.channel .label { margin-bottom: 8px; }
.channel strong { display: block; font-family: var(--mono); font-weight: 400; font-size: clamp(1.25rem, 3.4vw, 2.4rem); letter-spacing: -.01em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; line-height: 1.2; }
.channel .hint { display: block; color: var(--muted); font-size: 1rem; margin-top: 6px; }
.channel:hover strong { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .18em; }
.hours { width: 100%; border-collapse: collapse; font-size: 1rem; margin-bottom: 14px; }
.hours th, .hours td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--rule); font-weight: 400; }
.hours td { font-family: var(--mono); font-variant-numeric: tabular-nums; text-align: right; font-size: .92rem; }
.small { font-size: .95rem; color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--rule); padding: 64px 0 40px; font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 3fr); gap: 40px; }
.site-footer .brand img { width: 240px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 3px 0; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.foot-tag { color: var(--ink-2); max-width: 22em; margin-top: 22px; }
.legal { margin-top: 48px; padding-top: 18px; border-top: 4px double var(--ink); font-family: var(--mono); font-size: .74rem; color: var(--muted); line-height: 1.7; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-variant-numeric: tabular-nums; }

/* Mobile call bar */
.callbar { display: none; }

@media (max-width: 960px) {
  .hero-grid, .split, .place, .contact-grid, .section-head { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
  .place .fig { max-width: 420px; }
  .sticky-col { position: static; }
}
@media (max-width: 860px) {
  .head { min-height: 68px; }
  .brand img { width: 168px; }
  .head-call { display: none; }
  .menu-btn {
    display: inline-flex; align-items: center; gap: 10px; background: none; border: 1px solid var(--ink); min-height: 44px; padding: 0 14px;
    font-family: var(--mono); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); cursor: pointer;
  }
  .menu-btn i { display: block; width: 16px; height: 7px; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; }
  .js .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--ink); padding: 8px var(--gut) 24px; flex-direction: column; align-items: stretch; gap: 16px; }
  .js .nav.open { display: flex; }
  html:not(.js) .menu-btn { display: none; }
  html:not(.js) .head { flex-wrap: wrap; padding: 12px 0; }
  .nav ul { flex-direction: column; gap: 0; }
  .js .nav ul a { display: block; padding: 16px 0; border-bottom: 1px solid var(--rule); font-size: .85rem; }
  .js .nav ul a[aria-current="page"] { border-bottom: 3px double var(--blue); }
  .lang { padding-top: 6px; }
  .lang a, .lang span { font-size: .85rem; padding: 8px 4px; }
  body { padding-bottom: 64px; }
  .callbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--ink); border-top: 1px solid #555; padding-bottom: env(safe-area-inset-bottom); }
  .callbar a { color: #fff; text-decoration: none; font-family: var(--mono); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; text-align: center; padding: 21px 8px; }
  .callbar a + a { border-left: 1px solid #555; }
  .ledger thead { display: none; }
  .ledger, .ledger tbody, .ledger tr, .ledger td { display: block; width: auto !important; }
  .ledger tr { display: grid; grid-template-columns: 52px 1fr; border-bottom: 1px solid var(--rule); padding: 20px 0; }
  .ledger tbody tr:first-child { border-top: 2px solid var(--ink); }
  .ledger td { border: 0; padding: 0; }
  .ledger td.k { padding-top: 5px; grid-row: span 2; }
  .ledger td.n { margin-bottom: 6px; }
  .ledger tr.sum { border-bottom: 4px double var(--ink); }
  .ledger tr.sum td { border: 0; padding: 0; }
  .journal li { grid-template-columns: 52px 1fr; }
  .pillars li { grid-template-columns: 52px minmax(0, 1fr); padding: 16px 0; }
  .journal li p { grid-column: 2; margin-top: 8px; }
  .register div { grid-template-columns: 1fr; gap: 2px; }
}
@media (max-width: 520px) {
  .t-col { padding: 12px 10px 6px; }
  .t-col li { font-size: .9rem; }
  .actions .btn { flex: 1 1 100%; justify-content: center; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print { .site-header, .callbar, .closing { display: none; } }
