/* aov-zzp.com - theme v1 "Kasboek" (29-11-2026)
   An account book: warm paper, faint ruled lines, a double rule (teal over coral) under the header, figures in
   Gabarito with tabular numbers. Teal is the ink, coral marks totals and the short answer. Be Vietnam Pro for text.
   Bump ?v= in _partials/head-assets.html and the templates after a change. */

@font-face { font-family: "Gabarito"; src: url("/assets/fonts/gabarito-latin-wght-normal.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Be Vietnam Pro"; src: url("/assets/fonts/be-vietnam-pro-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Be Vietnam Pro"; src: url("/assets/fonts/be-vietnam-pro-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --paper: #fbf8f1; --paper-2: #f3eee2; --card: #fffdf8; --rule: #e4dccb; --rule-2: #d6ccb6;
  --ink: #1f2a28; --teal: #0b4f4a; --teal-2: #0f6b64; --teal-l: #d9ece9; --muted: #5b6662;
  --coral: #e8613c; --coral-d: #b8411f; --coral-l: #fde6dd;
  --head: "Gabarito", "Segoe UI", system-ui, sans-serif;
  --body: "Be Vietnam Pro", "Segoe UI", system-ui, sans-serif;
  --wrap: 70rem; --r: 4px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.03rem/1.7 var(--body); }
img, svg { max-width: 100%; }
a { color: var(--teal-2); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--coral-d); }
h1, h2, h3 { font-family: var(--head); color: var(--teal); line-height: 1.15; margin: 1.5em 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 800; margin-top: .2em; }
h2 { font-size: clamp(1.3rem, 2.4vw, 1.65rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 700; }
p, ul, ol, dl { margin: 0 0 1em; }
.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 9; background: var(--coral); color: #fff; padding: .5rem 1rem; }
.ic { width: 1.05em; height: 1.05em; fill: currentColor; vertical-align: -.15em; }
.kicker { margin: 0 0 .4rem; font: 700 .78rem/1.2 var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--coral-d); }
.kicker a { color: inherit; text-decoration: none; }
.lead { font-size: 1.14rem; color: #3a4542; max-width: 44rem; }
.muted { color: var(--muted); font-size: .92rem; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }
.btn { display: inline-block; background: var(--teal); color: #fff; padding: .65rem 1.2rem; font: 700 .98rem var(--head); text-decoration: none; border-radius: var(--r); border: 2px solid var(--teal); cursor: pointer; }
.btn:hover { background: var(--coral); border-color: var(--coral); color: #fff; }
.btn--ghost { background: transparent; color: var(--teal); }
.btn--small { padding: .35rem .8rem; font-size: .88rem; }

/* header: paper bar with a double ledger rule */
.site-header { background: var(--card); border-bottom: 3px solid var(--teal); box-shadow: 0 3px 0 var(--paper), 0 5px 0 var(--coral); position: relative; margin-bottom: 5px; }
.site-header__inner { width: min(100% - 2rem, var(--wrap)); margin: 0 auto; display: flex; align-items: center; gap: 1rem; min-height: 4.4rem; }
.brand { margin-right: auto; display: inline-flex; }
.brand__logo { height: 2.1rem; width: auto; display: block; }
.site-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 0; }
.site-nav__link { display: block; padding: .5rem .9rem; color: var(--teal); text-decoration: none; font: 600 .97rem var(--head); border-left: 1px solid var(--rule); }
.site-nav__item:first-child .site-nav__link { border-left: 0; }
.site-nav__link:hover { color: var(--coral-d); }
.is-current .site-nav__link { color: var(--coral-d); box-shadow: inset 0 -3px 0 var(--coral); }
.menu-toggle { display: none; align-items: center; gap: .4rem; background: none; border: 2px solid var(--teal); padding: .35rem .8rem; font: 700 .9rem var(--head); color: var(--teal); cursor: pointer; border-radius: var(--r); }
.menu-toggle svg { width: 1.3rem; height: 1.3rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.menu-toggle__close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__close { display: inline; }
@media (max-width: 52rem) {
  .js .menu-toggle { display: inline-flex; }
  .js .site-nav { display: none; position: absolute; left: 0; right: 0; top: calc(100% + 5px); background: var(--card); border-bottom: 3px solid var(--teal); padding: .5rem 1rem 1rem; z-index: 5; }
  .js .site-nav.is-open { display: block; }
  .site-nav__list { flex-direction: column; }
  .site-nav__link { border-left: 0; border-bottom: 1px solid var(--rule); padding: .7rem .2rem; }
  .site-header__inner { flex-wrap: wrap; }
  html:not(.js) .site-nav { width: 100%; }
  html:not(.js) .site-nav__list { flex-direction: row; flex-wrap: wrap; }
}

/* ruled paper */
.ruled, .band, .sheet, .tool-block, .hero__card { background-image: repeating-linear-gradient(to bottom, transparent 0, transparent calc(1.75rem - 1px), var(--rule) calc(1.75rem - 1px), var(--rule) 1.75rem); }

/* home */
.hero { padding: 2.5rem 0 2rem; border-bottom: 1px solid var(--rule); }
.hero__grid { display: grid; gap: 2rem; grid-template-columns: 1.25fr .9fr; align-items: center; }
.hero__card { margin: 0; background-color: var(--card); border: 1px solid var(--rule-2); border-left: 4px double var(--coral); padding: 1.2rem 1.4rem; box-shadow: 6px 6px 0 var(--paper-2); }
.hero__card-head { font: 700 .8rem var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 .3rem; }
.hero__card figcaption { font-size: .85rem; color: var(--muted); margin-top: .5rem; }
.book { margin: 0; }
.book div { display: flex; justify-content: space-between; gap: 1rem; line-height: 1.75rem; }
.book dt { color: #3a4542; }
.book dd { margin: 0; font: 600 1rem var(--head); font-variant-numeric: tabular-nums; color: var(--teal); }
.book__total { border-top: 2px solid var(--teal); border-bottom: 4px double var(--teal); margin-top: .3rem; }
.book__total dt { font-weight: 600; color: var(--teal); }
.book__total dd { color: var(--coral-d); font-size: 1.25rem; }
.home-body { padding: 2rem 0 1rem; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1rem; margin: 0 0 2.5rem; }
.tile { display: flex; flex-direction: column; gap: .2rem; padding: 1.1rem 1.2rem; background: var(--card); border: 1px solid var(--rule-2); border-top: 4px solid var(--teal); text-decoration: none; color: var(--ink); }
.tile:hover { border-top-color: var(--coral); }
.tile__k { font: 700 .72rem var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--coral-d); }
.tile strong { font: 700 1.2rem var(--head); color: var(--teal); }
.tile span:last-child { font-size: .93rem; color: var(--muted); }
.ledger { list-style: none; padding: 0; margin: 0 0 2rem; border-top: 2px solid var(--teal); counter-reset: led; }
.ledger li { counter-increment: led; border-bottom: 1px solid var(--rule); }
.ledger a { display: grid; grid-template-columns: 2.5rem 1fr; gap: .2rem 1rem; padding: .8rem .2rem; text-decoration: none; color: var(--muted); }
.ledger a::before { content: counter(led, decimal-leading-zero); font: 700 1.1rem var(--head); color: var(--coral); grid-row: span 2; }
.ledger strong { font: 700 1.12rem var(--head); color: var(--teal); }
.ledger a:hover strong { color: var(--coral-d); }

/* layout */
main { min-height: 50vh; }
.page-title { margin-top: .6rem; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 19rem; gap: 2.5rem; align-items: start; margin: 1rem 0 2rem; }
.aside { display: grid; gap: 1rem; position: sticky; top: 1rem; }
@media (max-width: 60rem) { .layout, .hero__grid { grid-template-columns: 1fr; } .aside { position: static; } }
.crumbs ol { list-style: none; padding: 0; margin: .9rem 0 .3rem; display: flex; flex-wrap: wrap; gap: .2rem .5rem; font-size: .86rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: .5rem; color: var(--rule-2); }
.crumbs a { color: var(--muted); }
.band { background-color: var(--paper-2); border-bottom: 1px solid var(--rule-2); padding: .2rem 0 1.4rem; }
.band h1 { margin-bottom: .3rem; }

/* cards in the aside */
.sum, .card { background: var(--card); border: 1px solid var(--rule-2); padding: 1rem 1.1rem; }
.sum { border-top: 4px solid var(--coral); }
.sum__head, .card__head { margin: 0 0 .5rem; font: 700 .95rem var(--head); color: var(--teal); display: flex; gap: .4rem; align-items: center; }
.sum__rows { margin: 0; }
.sum__rows div { display: flex; justify-content: space-between; gap: .6rem; border-bottom: 1px dashed var(--rule-2); padding: .3rem 0; font-size: .92rem; }
.sum__rows dd { margin: 0; font: 700 .95rem var(--head); color: var(--teal); white-space: nowrap; font-variant-numeric: tabular-nums; }
.sum__src { font-size: .78rem; color: var(--muted); margin: .5rem 0; }
.sum__more { font: 700 .92rem var(--head); }
.side-list { margin: 0; padding-left: 1.1rem; font-size: .95rem; }
.side-list li { margin: .3rem 0; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.chips a { display: inline-block; padding: .25rem .7rem; border: 1px solid var(--teal); color: var(--teal); text-decoration: none; font: 600 .88rem var(--head); border-radius: var(--r); }
.chips a:hover { background: var(--teal); color: #fff; }

/* hub ledger of questions */
.qledger { list-style: none; padding: 0; margin: 0 0 2rem; counter-reset: q; border-top: 2px solid var(--teal); }
.qledger li { counter-increment: q; border-bottom: 1px solid var(--rule); }
.qledger a { display: grid; grid-template-columns: 2.4rem 1fr; gap: .1rem .9rem; padding: .9rem .2rem; text-decoration: none; }
.qledger a::before { content: counter(q, decimal-leading-zero); grid-row: span 2; font: 800 1.15rem var(--head); color: var(--coral); }
.qledger__q { font: 700 1.1rem/1.3 var(--head); color: var(--teal); }
.qledger__x { color: var(--muted); font-size: .94rem; }
.qledger a:hover .qledger__q { color: var(--coral-d); }

/* listing sheets */
.sheets { display: grid; grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); gap: 1.4rem; margin: 1.5rem 0 2rem; }
.sheet { background-color: var(--card); border: 1px solid var(--rule-2); border-top: 5px solid var(--teal); padding: .4rem 1.3rem 1rem; }
.sheet__title { margin: .6rem 0 .2rem; font-size: 1.35rem; }
.sheet__title a { color: var(--teal); text-decoration: none; }
.sheet__intro { color: var(--muted); font-size: .94rem; }
.sheet__list { margin: 0; padding-left: 1.4rem; }
.sheet__list li { line-height: 1.75rem; }
.sheet__list li::marker { color: var(--coral); font: 700 .9rem var(--head); }

/* answer */
.answer h1 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); }
.prose { max-width: 44rem; }
.prose--wide { max-width: none; }
.prose li { margin: .25rem 0; }
.prose strong { color: var(--teal); }
.prose--answer > p:first-child { font-size: 1.14rem; background: var(--card); border: 1px solid var(--rule-2); border-left: 5px solid var(--coral); padding: 1rem 1.2rem; position: relative; margin-top: 1.4rem; }
.prose--answer > p:first-child::before { content: "Kort antwoord"; position: absolute; top: -.75rem; left: .9rem; background: var(--coral); color: #fff; font: 700 .72rem/1 var(--head); letter-spacing: .1em; text-transform: uppercase; padding: .3rem .55rem; }
.prose ol { padding-left: 1.4rem; }
.prose ol > li::marker { font: 700 1em var(--head); color: var(--coral-d); }

/* calculator */
.tool-block { background-color: var(--card); border: 1px solid var(--rule-2); border-top: 4px solid var(--teal); padding: 1.2rem 1.3rem 1rem; margin: 1.8rem 0; }
.calc__title { margin: 0 0 .2rem; font: 800 1.3rem var(--head); color: var(--teal); }
.calc__intro { margin: 0 0 1rem; color: var(--muted); font-size: .94rem; }
.calc__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: .8rem 1.2rem; }
.calc label { display: block; font: 600 .9rem var(--head); color: var(--teal); margin-bottom: .2rem; }
.calc input, .calc select { width: 100%; font: 600 1.05rem var(--head); padding: .5rem .6rem; border: 1px solid var(--rule-2); border-bottom: 2px solid var(--teal); background: #fff; color: var(--ink); border-radius: 0; font-variant-numeric: tabular-nums; }
.calc input:focus, .calc select:focus { border-bottom-color: var(--coral); outline: none; box-shadow: 0 2px 0 var(--coral); }
.calc__hint { font-size: .8rem; color: var(--muted); margin-top: .15rem; display: block; }
.calc__out { margin: 1.2rem 0 .4rem; background: #fff; border: 1px solid var(--rule-2); padding: .8rem 1rem; }
.calc__row { display: flex; justify-content: space-between; gap: 1rem; padding: .3rem 0; border-bottom: 1px dashed var(--rule-2); font-variant-numeric: tabular-nums; }
.calc__row span:last-child { font: 600 1rem var(--head); color: var(--teal); white-space: nowrap; }
.calc__row--total { border-top: 2px solid var(--teal); border-bottom: 4px double var(--teal); margin-top: .3rem; }
.calc__row--total span { font: 800 1.15rem var(--head) !important; color: var(--coral-d) !important; }
.calc__verdict { margin: .7rem 0 0; font-weight: 600; }
.calc__bar { height: .7rem; background: var(--paper-2); border: 1px solid var(--rule-2); margin: .4rem 0; }
.calc__bar span { display: block; height: 100%; background: var(--teal); transition: width .2s; }
.calc__bar.is-ok span { background: var(--coral); }
.calc__note { font-size: .82rem; color: var(--muted); margin: .6rem 0 0; }

/* books, share, disclosure, footer */
.bcm-books { border-top: 2px solid var(--teal); padding-top: .5rem; }
.bcm-books__title { font-size: 1.25rem; }
.share { margin: 2rem 0; padding: 1.1rem 1.2rem; background: var(--card); border: 1px solid var(--rule-2); }
.share__title { margin: 0 0 .3rem; font-size: 1.15rem; }
.disclosure-slot { font-size: .85rem; color: var(--muted); border-top: 1px solid var(--rule); padding-top: .8rem; margin: 2rem 0 1rem; }
.site-footer { background: var(--teal); color: #d3e6e3; margin-top: 3rem; padding: 2.4rem 0 1rem; }
.site-footer__inner { width: min(100% - 2rem, var(--wrap)); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
.site-footer a { color: #fff; }
.site-footer__logo { height: 2rem; width: auto; margin-bottom: .6rem; }
.site-footer__head { font: 700 .82rem var(--head); letter-spacing: .1em; text-transform: uppercase; color: #ffb59d; margin: 0 0 .4rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: .25rem 0; }
.site-footer__small { width: min(100% - 2rem, var(--wrap)); margin: 1.6rem auto 0; font-size: .8rem; color: #a5c9c4; border-top: 1px solid var(--teal-2); padding-top: .8rem; }
@media (max-width: 46rem) { .site-footer__inner { grid-template-columns: 1fr; } }
