/* v2 advies world, "Briefpapier bij lamplicht": the letterhead stays the trade object, and it carries the tariff
   calculator; an accountant's desk in the evening is the light of the site (one warm lamp, deep shadow); Bodoni Moda at
   poster size against Albert Sans; laid cream paper, warm black ground, burgundy for the action, brass only for time
   (the deadline, the needle of the year). Versioned name: see ex2-base.css. */
:root {
  --sheet: #f4ede1; --sheet-2: #ebe2d2; --sheet-ink: #241b1d; --ink-2: #564a4c; --brass: #d6a24a; --brass-d: #9a6b1f;
  --hair: rgba(36, 27, 29, .14); --hair-d: rgba(239, 231, 218, .16); --on-ground: #efe7da; --on-ground-2: rgba(239, 231, 218, .74);
  --field: #fffdf8; --focus: var(--accent);
}
body { background: var(--paper); }
::selection { background: var(--brand); color: #fff; }
.x :where(h1, h2, h3):not(:where(.x-dyl *)), .x-brand-band { font-family: var(--display); font-weight: 400; font-optical-sizing: auto; letter-spacing: -.01em; }
.x h1 { font-size: clamp(2.9rem, 1.3rem + 5.6vw, 6.75rem); line-height: .96; letter-spacing: -.022em; max-width: 14ch; }
.x h2:not(:where(.x-dyl *)) { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.75rem); line-height: 1; letter-spacing: -.018em; }
.x h3 { font-size: 1.5rem; line-height: 1.1; }
.x-lead { color: inherit; }
.x-small { opacity: .78; }
a:hover { text-decoration-thickness: 1.5px; }

/* header: the name as on the letterhead */
.x-brand { flex-direction: column; justify-content: center; gap: 2px; }
.x-brand-band { font-size: 1.375rem; line-height: 1; letter-spacing: -.005em; }
.x-brand-sub { font-size: .625rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; opacity: .72; }
.x-top-light { background: var(--paper); border-bottom: 1px solid var(--hair); }
.x-top-over { background: linear-gradient(rgba(14, 10, 11, .7), rgba(14, 10, 11, 0)); }
.x-top-over .x-menu summary, .x-top-dark .x-menu summary { background: rgba(14, 10, 11, .35); }
.x-top-dark { background: var(--ground); }

/* ---------- shared bits ---------- */
.ticks { display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; line-height: 1.4; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .38em; width: 13px; height: 7px; border-left: 1.75px solid var(--accent); border-bottom: 1.75px solid var(--accent); transform: rotate(-45deg); }
.ticks-s li { font-size: .9375rem; }
.kv { display: grid; border-top: 1px solid var(--hair); }
.kv > div { display: grid; grid-template-columns: minmax(8rem, 11rem) 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--hair); }
.kv dt { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .7; padding-top: 3px; }
.kv dd { font-weight: 500; }
.x-crumb { margin-bottom: clamp(18px, 2.6vw, 32px); }
.x-more { font-size: .9375rem; }

/* the sheet: laid cream paper lit from the upper left, as if under the lamp */
.a-sheet {
  position: relative; color: var(--sheet-ink); padding: clamp(20px, 2.4vw, 34px);
  background: radial-gradient(130% 90% at 0% 0%, #fffaf0 0%, rgba(255, 250, 240, 0) 62%), linear-gradient(var(--sheet), var(--sheet-2));
  box-shadow: 0 42px 70px -34px rgba(8, 5, 6, .72), 0 10px 22px -12px rgba(8, 5, 6, .5), inset 0 0 0 1px rgba(255, 255, 255, .5);
  --btn: var(--brand); --on-btn: #fff;
}
.a-sheet::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; mix-blend-mode: multiply;
  background: repeating-linear-gradient(0deg, rgba(120, 96, 70, .035) 0 1px, transparent 1px 4px); }
.a-sheet-h { margin: 18px 0 16px; }
.x .a-sheet-h { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.125rem); }
.a-sheet-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--hair); font-size: .75rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }

/* the letterhead */
.lh { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding-bottom: 14px; border-bottom: 1.5px solid var(--brand); }
.lh-seal { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--brand); box-shadow: inset 0 0 0 3px var(--sheet), inset 0 0 0 4px var(--brand);
  font-family: var(--display); font-style: italic; font-size: 1.0625rem; letter-spacing: .02em; color: var(--brand); }
.lh-name { display: grid; gap: 3px; }
.lh-n { font-family: var(--display); font-size: 1.5rem; line-height: 1; letter-spacing: -.01em; }
.lh-t { font-size: .625rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-2); }
.lh-people { display: none; text-align: right; font-family: var(--display); font-style: italic; font-size: .875rem; line-height: 1.35; color: var(--ink-2); }
@media (min-width: 600px) { .lh-people { display: block; } }

/* ---------- the calculator ---------- */
.calc { display: grid; gap: 16px; }
.calc-l { display: block; font-size: .6875rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.calc-f legend { margin-bottom: 8px; padding: 0; }
.calc-seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid color-mix(in srgb, var(--sheet-ink) 30%, transparent); }
.calc-o { position: relative; display: grid; gap: 1px; align-content: center; min-height: 52px; padding: 8px 12px; cursor: pointer; transition: background-color .25s, color .25s; }
.calc-o + .calc-o { border-left: 1px solid color-mix(in srgb, var(--sheet-ink) 22%, transparent); }
.calc-o input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.calc-o-t { font-weight: 700; font-size: .9375rem; }
.calc-o-h { font-size: .75rem; color: var(--ink-2); }
.calc-o:hover { background: rgba(123, 45, 63, .06); }
.calc-o:has(input:checked) { background: var(--brand); color: #fff; }
.calc-o:has(input:checked) .calc-o-h { color: rgba(255, 255, 255, .8); }
.calc-o:has(input:focus-visible) { outline: 2px solid var(--sheet-ink); outline-offset: 2px; z-index: 1; }
.calc-r { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 4px 12px; }
.calc-l { white-space: nowrap; }
.calc-v { font-family: var(--display); font-size: clamp(1.0625rem, .95rem + .4vw, 1.25rem); font-variant-numeric: lining-nums tabular-nums; text-align: right; }
.calc-range { grid-column: 1 / -1; -webkit-appearance: none; appearance: none; width: 100%; height: 30px; margin: 0; background: transparent; cursor: pointer; --v: 25%; }
.calc-range::-webkit-slider-runnable-track { height: 3px; background: linear-gradient(90deg, var(--brand) var(--v), color-mix(in srgb, var(--sheet-ink) 22%, transparent) var(--v)); }
.calc-range::-moz-range-track { height: 3px; background: color-mix(in srgb, var(--sheet-ink) 22%, transparent); }
.calc-range::-moz-range-progress { height: 3px; background: var(--brand); }
.calc-range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -10.5px; border-radius: 50%; background: var(--sheet); border: 2px solid var(--brand); box-shadow: 0 3px 8px -2px rgba(0, 0, 0, .35); transition: transform .2s var(--ease); }
.calc-range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--sheet); border: 2px solid var(--brand); }
.calc-range:active::-webkit-slider-thumb { transform: scale(1.12); }
.calc-range:focus-visible { outline: none; }
.calc-range:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--sheet-ink); outline-offset: 3px; }
.calc-ticks { grid-column: 1 / -1; display: flex; justify-content: space-between; margin: -10px 11px 0; pointer-events: none; }
.calc-ticks span { width: 1px; height: 6px; background: color-mix(in srgb, var(--sheet-ink) 30%, transparent); }
.calc-total { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 0 16px; padding: 14px 0 4px; border-top: 1px solid var(--sheet-ink); box-shadow: 0 -3px 0 -1.5px var(--sheet), 0 -4px 0 -1.5px var(--sheet-ink); margin-top: 4px; }
.calc-tl { font-size: .875rem; font-weight: 600; }
.calc-tl .vb { color: var(--ink-2); }
.calc-amt { grid-row: span 2; font-family: var(--display); font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem); line-height: .9; letter-spacing: -.02em; font-variant-numeric: lining-nums tabular-nums; color: var(--brand); }
.calc-amt.is-set { animation: calc-tick .5s var(--ease); }
@keyframes calc-tick { from { opacity: .35; transform: translateY(6px); filter: blur(2px); } }
.calc-sub { font-size: .8125rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.calc-act .x-btn { width: 100%; }
.x .calc-incl-h { font-family: var(--display); font-size: 1.375rem; line-height: 1.15; letter-spacing: -.005em; }
.calc-incl ul { display: grid; gap: 8px; margin-top: 12px; }
.calc-incl li { position: relative; padding-left: 26px; font-size: .9375rem; line-height: 1.35; }
.calc-incl li::before { content: ""; position: absolute; left: 2px; top: .34em; width: 12px; height: 6px; border-left: 1.75px solid var(--brand); border-bottom: 1.75px solid var(--brand); transform: rotate(-45deg); }

/* ---------- the deadline bar ---------- */
.dl { display: grid; gap: 6px; }
.dl-big { font-family: var(--display); font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem); line-height: 1; letter-spacing: -.015em; }
.dl-num { font-variant-numeric: lining-nums tabular-nums; color: var(--brass); font-size: 1.5em; line-height: .8; }
.dl-t { font-size: 1rem; line-height: 1.4; max-width: 36ch; }
.dl-track { position: relative; height: 2px; margin: 10px 0 4px; background: color-mix(in srgb, currentColor 22%, transparent); }
.dl-fill { position: absolute; left: 0; top: 0; bottom: 0; width: var(--pct); background: var(--brass); transform-origin: left; }
.dl-fill::after { content: ""; position: absolute; right: -5px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--brass); box-shadow: 0 0 0 4px rgba(214, 162, 74, .22); }
.dl-after { font-size: .8125rem; opacity: .74; }
.dl-page { padding: 22px 24px; background: var(--ground); color: var(--on-ground); }

.dls { display: grid; border-top: 1px solid var(--hair); }
.dls-i { display: grid; grid-template-columns: 9.5rem 1fr auto; grid-template-areas: "d t n" "d w n"; gap: 2px 18px; padding: 14px 0; border-bottom: 1px solid var(--hair); align-items: baseline; }
.dls-d { grid-area: d; font-family: var(--display); font-size: 1.1875rem; line-height: 1.15; }
.dls-d::first-letter { text-transform: uppercase; }
.dls-t { grid-area: t; font-weight: 600; line-height: 1.3; }
.dls-t::first-letter { text-transform: uppercase; }
.dls-w { grid-area: w; font-size: .875rem; color: var(--ink-2); }
.dls-n { grid-area: n; font-size: .875rem; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dls-i.is-next .dls-n { color: var(--brand); }
.dls-i.is-next .dls-d { color: var(--brand); }
@media (max-width: 599px) { .dls-i { grid-template-columns: 1fr auto; grid-template-areas: "d n" "t t" "w w"; } }

/* ---------- home: the first screen ---------- */
.a-hero { position: relative; background: var(--ground); color: var(--on-ground); overflow: clip; isolation: isolate; }
.a-hero-ph { position: absolute; inset: 0 0 auto; height: 430px; z-index: -1; overflow: hidden; }
.a-hero-ph::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20, 15, 17, .55) 0%, rgba(20, 15, 17, .05) 30%, rgba(20, 15, 17, .55) 66%, var(--ground) 100%); }
.a-hero-img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 46%; }
.a-hero-grid { display: grid; gap: 22px; padding-top: 150px; padding-bottom: 36px; }
.a-hero-txt { display: grid; gap: 18px; }
.a-hero .h1-a, .a-hero .h1-b { display: block; }
.a-hero .h1-b { font-style: italic; color: #f3dfc0; }
.x .a-hero h1 { font-size: clamp(3rem, 1rem + 7.6vw, 8.25rem); line-height: .9; max-width: none; text-shadow: 0 2px 30px rgba(10, 6, 7, .45); }
.a-hero-sub { max-width: 34ch; font-size: 1.0625rem; line-height: 1.5; color: var(--on-ground-2); }
.dl-hero { order: 3; }
.a-hero-sheet .calc { gap: 12px; }
@media (max-width: 599px) {
  /* fix round 1: the lamp and the desk stay in sight, right of and under the promise; the sheet lies on the desk */
  .a-hero-ph { height: 368px; }
  .a-hero-ph::after { background: linear-gradient(180deg, rgba(20, 15, 17, .6) 0%, rgba(20, 15, 17, .16) 30%, rgba(20, 15, 17, .06) 70%, rgba(20, 15, 17, .5) 92%, var(--ground) 100%),
                                  linear-gradient(90deg, rgba(20, 15, 17, .55) 0%, rgba(20, 15, 17, 0) 60%); }
  .a-hero-img { object-position: 4% 50%; transform-origin: 82% 45%; }
  .a-hero-sub { display: none; }
  .a-hero-txt { display: contents; }
  .a-hero-grid { padding-top: 92px; gap: 18px; }
  .a-hero-sheet { order: 2; margin-top: 124px; padding: 16px 16px 14px; }
  .a-hero-sheet .lh { padding-bottom: 10px; gap: 10px; }
  .a-hero-sheet .lh-seal { width: 36px; height: 36px; font-size: .875rem; }
  .a-hero-sheet .lh-n { font-size: 1.25rem; }
  .a-hero-sheet .a-sheet-h { margin: 8px 0 10px; font-size: 1.375rem; line-height: 1.15; }
  .a-hero-sheet .lh { margin-bottom: 4px; }
  .a-hero-sheet .calc-o { min-height: 44px; padding: 6px 8px; }
  .a-hero-sheet .calc-o-h { display: none; }
  .a-hero-sheet .calc-amt { font-size: 2.5rem; }
  .a-hero-sheet .a-sheet-foot { display: none; }
  .a-hero .dl { order: 3; }
}
@media (min-width: 900px) {
  .a-hero { height: 100svh; min-height: 760px; max-height: 1040px; }
  .a-hero-ph { inset: 0; height: auto; }
  .a-hero-ph::after { background:
      linear-gradient(90deg, rgba(20, 15, 17, .9) 0%, rgba(20, 15, 17, .68) 30%, rgba(20, 15, 17, .12) 52%, rgba(20, 15, 17, .05) 62%, rgba(20, 15, 17, .4) 100%),
      linear-gradient(180deg, rgba(20, 15, 17, .5) 0%, rgba(20, 15, 17, 0) 22%, rgba(20, 15, 17, 0) 64%, rgba(20, 15, 17, .82) 100%); }
  .a-hero-img { object-position: 50% 52%; }
  .a-hero-grid { height: 100%; grid-template-columns: minmax(0, 1fr) clamp(420px, 33vw, 500px); gap: 40px; align-items: center; padding-top: calc(var(--top-h) + 16px); padding-bottom: 28px; }
  .a-hero-txt { align-self: stretch; grid-template-rows: 1fr auto auto; align-content: end; gap: 22px; padding-bottom: clamp(16px, 4vh, 48px); }
  .a-hero-txt h1 { align-self: center; }
  .a-hero-sheet { transform: rotate(-1.1deg); margin-right: clamp(0px, 1.4vw, 24px); }
  .dl-hero { max-width: 560px; padding-top: 18px; border-top: 1px solid var(--hair-d); }
}
@media (prefers-reduced-motion: no-preference) {
  .a-hero-img { animation: a-push 16s var(--ease) both, a-lamp 2.4s .2s var(--ease) both; }
  .a-hero-sheet { animation: a-sheet-in 1.3s .45s var(--ease) both; }
  .a-hero .h1-a { animation: a-rise 1.1s .1s var(--ease) both; }
  .a-hero .h1-b { animation: a-rise 1.1s .28s var(--ease) both; }
  .a-hero .dl-fill { animation: a-fill 1.6s 1.1s var(--ease) both; }
}
@keyframes a-push { from { transform: scale(1.09); } to { transform: scale(1); } }
@keyframes a-lamp { from { filter: brightness(.42) saturate(.8); } to { filter: none; } }
@keyframes a-sheet-in { from { opacity: 0; transform: translateY(46px) rotate(-3.4deg); } }
@media (max-width: 899px) { @keyframes a-sheet-in { from { opacity: 0; transform: translateY(30px); } } }
@keyframes a-rise { from { opacity: 0; transform: translateY(.18em); clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 -20% 0); } }
@keyframes a-fill { from { transform: scaleX(0); } }

/* ---------- home: what we do, each service carried by its own object on the desk ---------- */
.a-desk { padding: clamp(72px, 9vw, 140px) 0 clamp(64px, 8vw, 120px); }
.a-svc-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(28px, 4vw, 56px); }
.dk { display: grid; gap: 56px; }
.dk-i a { display: grid; gap: 10px; text-decoration: none; color: inherit; }
.dk-ph { position: relative; display: block; margin-bottom: 12px; }
.dk-ph picture { display: block; overflow: hidden; background: var(--sheet-2); }
.dk-ph img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s var(--ease); }
.dk-i a:hover .dk-ph img { transform: scale(1.035); filter: brightness(1.06); }
.dk-name { font-family: var(--display); font-size: clamp(2.25rem, 1.5rem + 2.4vw, 3.75rem); line-height: .98; letter-spacing: -.022em; transition: color .35s; }
.dk-i:nth-child(even) .dk-name { font-style: italic; }
.dk-i a:hover .dk-name { color: var(--accent); }
.dk-text { max-width: 38ch; font-size: 1.0625rem; line-height: 1.5; color: var(--ink-2); }
.dk-who { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-style: italic; font-size: 1.0625rem; color: var(--accent); }
.dk-go { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--hair); color: var(--sheet-ink); transition: background-color .3s, color .3s, transform .5s var(--ease); }
.dk-i a:hover .dk-go { background: var(--brand); border-color: var(--brand); color: #fff; transform: rotate(-45deg); }
.dk-boekhouding .dk-ph img { object-position: 50% 62%; }
.dk-jaarrekening .dk-ph img { object-position: 52% 60%; }
.dk-belastingaangiften .dk-ph img { object-position: 30% 78%; }
.dk-advies-bij-groei .dk-ph img { object-position: 46% 70%; }
/* the month slip on the kitchen table: the boekhouding service's own paper */
.dk-slip { position: absolute; right: 10px; bottom: -30px; width: min(52%, 15rem); display: grid; gap: 2px; padding: 14px 16px 12px; background: var(--sheet); color: var(--sheet-ink);
  transform: rotate(-2.2deg); box-shadow: 0 2px 4px rgba(20, 15, 17, .18), 0 26px 40px -18px rgba(20, 15, 17, .6); transition: transform .9s var(--ease); }
.dk-i a:hover .dk-slip { transform: rotate(-1deg) translateY(-6px); }
.dk-slip-h { padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1.5px solid var(--brand); font-family: var(--display); font-size: 1.0625rem; line-height: 1.1; }
.dk-slip-h .vb { font-size: .5625rem; }
.dk-slip-r { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; font-size: .8125rem; border-bottom: 1px solid var(--hair); }
.dk-slip-r span:last-child { font-family: var(--display); font-size: .9375rem; font-variant-numeric: lining-nums tabular-nums; }
.dk-slip-r.is-sum { border-bottom: 0; color: var(--brand); }
.dk-slip-r.is-sum span:last-child { font-size: 1.125rem; }
.dk-boekhouding .dk-ph { margin-bottom: 40px; }
@media (max-width: 899px) { .dk-slip { padding: 10px 12px 8px; } .dk-slip-h { font-size: .9375rem; } .dk-slip-r { font-size: .75rem; padding: 2px 0; } .dk-slip-r span:last-child { font-size: .875rem; } .dk-slip-r.is-sum span:last-child { font-size: 1rem; } }
@media (min-width: 900px) {
  .dk { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 48px); align-items: start; }
  .dk-i:nth-child(1) { grid-column: 1 / span 7; }
  .dk-i:nth-child(1) .dk-ph img { aspect-ratio: 3 / 2; }
  .dk-i:nth-child(2) { grid-column: 9 / span 4; margin-top: clamp(80px, 9vw, 150px); }
  .dk-i:nth-child(2) .dk-ph img { aspect-ratio: 4 / 5; }
  .dk-i:nth-child(3) { grid-column: 2 / span 5; margin-top: clamp(24px, 3vw, 48px); }
  .dk-i:nth-child(3) .dk-ph img { aspect-ratio: 1 / 1; }
  .dk-i:nth-child(4) { grid-column: 8 / span 5; margin-top: clamp(64px, 7vw, 120px); }
  .dk-i:nth-child(4) .dk-ph img { aspect-ratio: 3 / 2; }
  .dk-slip { right: -28px; bottom: -40px; width: 17rem; padding: 18px 20px 14px; }
  .dk-slip-h { font-size: 1.25rem; }
  .dk-slip-r { font-size: .875rem; padding: 4px 0; }
  .dk-boekhouding .dk-ph { margin-bottom: 52px; }
}
.a-sign { margin-top: clamp(56px, 7vw, 110px); padding-top: 22px; border-top: 1px solid var(--hair); display: grid; gap: 14px; }
.a-sign-l { font-size: .9375rem; font-weight: 600; }
.a-sign-people { display: grid; gap: 14px; }
.a-sign-n { display: block; font-family: var(--display); font-style: italic; font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem); line-height: 1; }
.a-sign-a { display: block; margin-top: 4px; font-size: .875rem; color: var(--ink-2); }
@media (min-width: 900px) {
  .a-sign { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: end; gap: 48px; }
  .a-sign-people { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

/* ---------- home: the year ribbon ---------- */
.a-year { background: var(--ground); color: var(--on-ground); padding: clamp(80px, 9vw, 140px) 0; }
.a-year-head { display: grid; gap: 18px; max-width: 980px; }
.x .a-year h2 { max-width: 15ch; }
.a-year-head p { max-width: 44ch; color: var(--on-ground-2); font-size: 1.0625rem; }
.a-year-more { margin-top: 28px; --accent: var(--brass); }
.a-year .x-link { color: var(--on-ground); }
.rb { position: relative; margin-top: 48px; }
.rb-months, .rb-line, .rb-now { display: none; }
.rb-items { display: grid; border-top: 1px solid var(--hair-d); }
.rb-i { display: grid; grid-template-columns: 20px 1fr; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--hair-d); }
.rb-dot { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--on-ground); }
.rb-l { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; }
.rb-t { font-family: var(--display); font-size: 1.375rem; line-height: 1.15; }
.rb-d { font-size: .875rem; color: var(--on-ground-2); font-variant-numeric: tabular-nums; }
.rb-i.is-past { opacity: .4; }
.rb-i.is-past .rb-dot { background: var(--on-ground); }
.rb-i.is-next .rb-dot { background: var(--brass); border-color: var(--brass); box-shadow: 0 0 0 6px rgba(214, 162, 74, .2); }
.rb-i.is-next .rb-t, .rb-i.is-next .rb-d { color: var(--brass); }
@media (min-width: 900px) {
  .rb { height: 300px; margin-top: 64px; --line: 146px; }
  .rb-months { display: grid; grid-template-columns: repeat(12, 1fr); position: absolute; left: 0; right: 0; top: calc(var(--line) + 12px); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-ground-2); }
  .rb-months li { padding-left: 8px; border-left: 1px solid var(--hair-d); height: 24px; }
  .rb-line { display: block; position: absolute; left: 0; right: 0; top: var(--line); height: 1px; background: rgba(239, 231, 218, .4); }
  .rb-gone { position: absolute; left: 0; top: -1px; height: 3px; width: var(--now); background: linear-gradient(90deg, rgba(214, 162, 74, .1), var(--brass)); }
  .rb-now { display: block; position: absolute; top: 18px; bottom: 0; left: var(--now); width: 1px; background: var(--brass); }
  .rb-now span { position: absolute; top: -18px; left: 8px; font-size: .6875rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--brass); white-space: nowrap; }
  .rb-items { display: block; border: 0; position: absolute; inset: 0; }
  .rb-i { position: absolute; left: var(--at); top: 0; bottom: 0; width: 0; padding: 0; border: 0; display: block; }
  .rb-dot { position: absolute; left: -7px; top: calc(var(--line) - 7px); width: 14px; height: 14px; background: var(--ground); }
  .rb-l { position: absolute; display: grid; gap: 4px; width: max-content; max-width: 16rem; justify-content: start; }
  .rb-l::before { content: ""; position: absolute; left: 0; width: 1px; background: rgba(239, 231, 218, .35); }
  .rb-btw .rb-l { bottom: calc(300px - var(--line) + 22px); left: 0; padding-left: 12px; }
  .rb-btw .rb-l::before { top: 0; bottom: -22px; }
  .rb-ib .rb-l, .rb-vpb .rb-l { top: calc(var(--line) + 54px); left: 0; padding-left: 12px; }
  .rb-ib .rb-l { left: auto; right: 0; padding: 0 12px 0 0; text-align: right; justify-items: end; }
  .rb-ib .rb-l::before, .rb-vpb .rb-l::before { top: -46px; bottom: 0; }
  .rb-ib .rb-l::before { left: auto; right: 0; }
  .rb-t { font-size: 1.25rem; }
  .rb-i.is-next .rb-dot { transform: scale(1.15); }
}
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .js .rb .rb-gone { transition: width 1.8s var(--ease); }
  .js .rb:not(.is-in) .rb-gone { width: 0; }
  .js .rb .rb-i { transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .js .rb:not(.is-in) .rb-i { opacity: 0; transform: translateY(10px); }
}

/* ---------- home: to read ---------- */
.a-read { padding: clamp(64px, 8vw, 120px) 0; background: var(--sheet); }
.a-arts { display: grid; gap: 0; border-top: 1px solid var(--sheet-ink); }
.a-arts a { display: grid; gap: 12px; padding: 26px 0 30px; border-bottom: 1px solid var(--hair); text-decoration: none; }
.a-arts-t { font-family: var(--display); font-size: clamp(1.625rem, 1.3rem + 1vw, 2.25rem); line-height: 1.08; letter-spacing: -.012em; transition: color .3s; }
.a-arts-l { color: var(--ink-2); line-height: 1.5; max-width: 46ch; }
.a-arts-m { font-size: .8125rem; font-weight: 600; letter-spacing: .02em; }
.a-arts a:hover .a-arts-t { color: var(--accent); }
@media (min-width: 900px) {
  .a-arts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(28px, 3vw, 48px); border-top: 0; }
  .a-arts a { border-top: 1px solid var(--sheet-ink); border-bottom: 0; padding-top: 22px; align-content: start; }
}

/* ---------- home: switching ---------- */
.a-start { padding: clamp(64px, 8vw, 120px) 0; }
.a-start-grid { display: grid; gap: 32px; align-items: start; }
.a-start-grid > div { display: grid; gap: 18px; }
.x .a-start h2 { max-width: 13ch; }
.a-start-list { display: grid; border-top: 1px solid var(--hair); }
.a-start-list li { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--hair); font-family: var(--display); font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); line-height: 1.2; }
/* phase C: the numbers are the list's own markers (a pinned stylesheet writes no text: no counter()) */
.a-start-list { padding-left: 1.6em; border-top: 0; list-style: decimal outside; }
.a-start-list li { display: list-item; }
.a-start-list li:first-child { border-top: 1px solid var(--hair); }
.a-start-list li::marker { font-family: var(--display); font-style: italic; color: var(--accent); }
@media (min-width: 900px) { .a-start-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); } }

/* ---------- home: the close, at the meeting table ---------- */
.a-close { position: relative; isolation: isolate; color: var(--on-ground); background: var(--ground); padding: clamp(96px, 12vw, 180px) 0 clamp(64px, 8vw, 110px); overflow: clip; }
.a-close-ph { position: absolute; inset: 0; z-index: -1; }
.a-close-ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.a-close-ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 15, 17, .5), rgba(20, 15, 17, .2) 40%, rgba(20, 15, 17, .92) 100%); }
.a-close-in { display: grid; gap: 22px; }
.x .a-close h2 { font-size: clamp(2.75rem, 1.2rem + 5.4vw, 6.5rem); max-width: 12ch; line-height: .95; }
.a-close-lead { max-width: 40ch; font-size: 1.125rem; color: var(--on-ground-2); }
.a-slots { display: grid; gap: 10px; margin-top: 18px; }
.a-slots a { position: relative; display: grid; gap: 4px; padding: 18px 64px 18px 20px; background: rgba(244, 237, 225, .96); color: var(--sheet-ink); text-decoration: none; transition: transform .45s var(--ease), box-shadow .45s var(--ease); box-shadow: 0 24px 40px -26px rgba(0, 0, 0, .8); }
.a-slots a:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -26px rgba(0, 0, 0, .9); }
.a-slots-k { font-size: .6875rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--brand); }
.a-slots-d { font-family: var(--display); font-size: 1.375rem; line-height: 1.15; }
.a-slots-d span::first-letter { text-transform: uppercase; }
.a-slots-go { position: absolute; right: 20px; top: 50%; translate: 0 -50%; color: var(--brand); }
.a-close-place { font-size: .875rem; color: var(--on-ground-2); }
@media (min-width: 900px) { .a-slots { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }

/* ---------- diensten ---------- */
.ds-head { padding: clamp(56px, 7vw, 110px) 0 clamp(32px, 4vw, 56px); }
.ds-head-grid { display: grid; gap: 24px; align-items: end; }
@media (min-width: 900px) { .ds-head-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; } }
.ds-rows { border-top: 1px solid var(--sheet-ink); }
.ds-row { display: grid; gap: 14px; padding: 30px 0 34px; border-bottom: 1px solid var(--hair); }
.x .ds-row h2 { font-size: clamp(2.25rem, 1.4rem + 3vw, 4.5rem); }
.ds-row h2 a { text-decoration: none; }
.ds-row h2 a:hover { color: var(--accent); }
.ds-txt { display: grid; gap: 16px; max-width: 46ch; color: var(--ink-2); }
.ds-side { display: grid; gap: 8px; align-content: start; }
.ds-who { font-family: var(--display); font-style: italic; font-size: 1.125rem; color: var(--accent); }
@media (min-width: 900px) { .ds-row { grid-template-columns: minmax(0, 5fr) minmax(0, 5fr) minmax(0, 3fr); grid-template-areas: "name name side" ". txt side"; gap: 18px 40px; align-items: start; }
  .ds-row h2 { grid-area: name; } .ds-txt { grid-area: txt; } .ds-side { grid-area: side; align-self: end; } }
.ds-for { padding: clamp(64px, 8vw, 120px) 0; }
.ds-tiles { display: grid; gap: 28px; margin-top: 36px; }
.ds-tile figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.ds-tile > div { display: grid; gap: 8px; padding-top: 16px; }
.ds-tile p { color: var(--ink-2); max-width: 40ch; }
@media (min-width: 900px) { .ds-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; } .ds-tile:nth-child(2) { margin-top: 64px; } }
.a-band { background: var(--deep); color: #fff; padding: clamp(56px, 7vw, 96px) 0; --btn: #fff; --on-btn: var(--deep); --focus: #fff; }
.x-band-grid { display: grid; gap: 18px; align-items: center; }
.x-band-grid p { font-size: 1.125rem; color: rgba(255, 255, 255, .84); max-width: 36ch; }
@media (min-width: 900px) { .x-band-grid { grid-template-columns: 1fr 1fr auto; gap: 48px; } }

/* ---------- a service page ---------- */
.sv-hero { position: relative; }
.sv-txt { display: grid; gap: 20px; align-content: start; }
.sv-txt .x-lead { max-width: 40ch; }
.x .sv-hero h1 { font-size: clamp(2.5rem, 1rem + 4.4vw, 5rem); max-width: none; }
/* boekhouding: the report on the kitchen table */
.sv-report { background: var(--ground); color: var(--on-ground); isolation: isolate; overflow: clip; padding: 48px 0 64px; }
.sv-report-ph { position: absolute; inset: 0; z-index: -1; }
.sv-report-ph img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 70%; opacity: .62; }
.sv-report-ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 15, 17, .94) 0%, rgba(20, 15, 17, .6) 50%, rgba(20, 15, 17, .2) 100%); }
.sv-report .x-btn { --btn: var(--sheet); --on-btn: var(--sheet-ink); justify-self: start; }
.sv-split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .sv-report { padding: 56px 0 96px; min-height: calc(100svh - var(--top-h)); display: grid; align-items: center; } .sv-split { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 5vw, 88px); } .rp { transform: rotate(1deg); } }
.x .rp-h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin: 18px 0 8px; font-family: var(--display); font-size: 1.625rem; line-height: 1.1; }
.rp-h small { font-family: var(--text); font-size: .75rem; color: var(--ink-2); }
.rp-rows { display: grid; }
.rp-r { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 10px 0; border-bottom: 1px solid var(--hair); }
.rp-r dt { font-weight: 500; }
.rp-r dd:not(.rp-note) { font-family: var(--display); font-size: 1.25rem; font-variant-numeric: lining-nums tabular-nums; text-align: right; }
.rp-note { grid-column: 1 / -1; font-family: var(--display); font-style: italic; font-size: .9375rem; color: var(--brand); line-height: 1.35; }
.rp-sum { border-top: 1.5px solid var(--sheet-ink); }
.rp-sum dd:not(.rp-note) { font-size: 1.75rem; }
.rp-chart { margin-top: 18px; }
.rp-chart ol { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; align-items: end; height: 92px; }
.rp-chart li { position: relative; height: var(--h); background: color-mix(in srgb, var(--brand) 30%, var(--sheet)); }
.rp-chart li:last-child { background: var(--brand); }
.rp-chart span { position: absolute; top: 100%; left: 0; right: 0; padding-top: 4px; text-align: center; font-size: .6875rem; color: var(--ink-2); }
.rp-chart { padding-bottom: 18px; }
.sv-flow { padding: clamp(64px, 8vw, 120px) 0; }
.sv-flow .x-lead { margin-top: 18px; max-width: 44ch; color: var(--ink-2); }
.flow { display: grid; gap: 0; margin-top: 40px; border-top: 1px solid var(--sheet-ink); }
.flow li { display: grid; gap: 6px; padding: 22px 0; border-bottom: 1px solid var(--hair); }
.flow-t { font-family: var(--display); font-size: 1.75rem; line-height: 1; }
.flow-d { color: var(--ink-2); max-width: 34ch; }
@media (min-width: 900px) { .flow { grid-template-columns: repeat(4, 1fr); gap: 0 32px; border-top: 0; } .flow li { border-top: 1px solid var(--sheet-ink); border-bottom: 0; } }
.sv-body { padding: clamp(56px, 7vw, 100px) 0; background: var(--sheet); }
.sv-inc { display: grid; gap: 24px; }
.sv-inc .ticks { font-size: 1.0625rem; }
@media (min-width: 900px) { .sv-inc { grid-template-columns: minmax(0, 4fr) minmax(0, 4fr) minmax(0, 5fr); gap: 48px; align-items: start; } }
/* jaarrekening: the report on the desk as a band, then the balance with notes in the margin */
.sv-balance { color: var(--on-ground); background: var(--ground); isolation: isolate; overflow: clip; min-height: min(78svh, 760px); display: grid; align-items: end; }
.sv-band-ph { position: absolute; inset: 0; z-index: -1; }
.sv-band-ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.sv-band-ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 15, 17, .2) 0%, rgba(20, 15, 17, .15) 40%, rgba(20, 15, 17, .9) 100%); }
.sv-band-txt { display: grid; gap: 18px; padding-top: 120px; padding-bottom: clamp(40px, 6vw, 80px); }
.sv-band-txt .x-lead { max-width: 44ch; color: var(--on-ground); }
.sv-bal, .sv-tab { padding: clamp(64px, 8vw, 120px) 0; }
.sv-bal-head { display: grid; gap: 16px; margin-bottom: 40px; max-width: 900px; }
.sv-bal-head p { color: var(--ink-2); max-width: 46ch; font-size: 1.0625rem; }
.bal { max-width: 1120px; }
.bal-h { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding-bottom: 14px; border-bottom: 1.5px solid var(--brand); font-family: var(--display); font-size: 1.625rem; }
.bal-h small { font-family: var(--text); font-size: .75rem; color: var(--ink-2); }
.bal-cols { display: grid; gap: 28px; margin-top: 20px; }
.bal-ch { font-size: .6875rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); padding-bottom: 8px; border-bottom: 1px solid var(--sheet-ink); }
.bal-r { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 11px 0; border-bottom: 1px solid var(--hair); }
.bal-r dd:not(.bal-note) { font-family: var(--display); font-size: 1.25rem; font-variant-numeric: lining-nums tabular-nums; }
.bal-note { grid-column: 1 / -1; font-family: var(--display); font-style: italic; color: var(--brand); font-size: .9375rem; line-height: 1.35; }
.bal-tot { border-bottom: 0; border-top: 1.5px solid var(--sheet-ink); box-shadow: 0 4px 0 -2.5px var(--sheet-ink); }
.bal-tot dt { font-weight: 700; }
@media (min-width: 1000px) {
  .bal { padding-left: clamp(200px, 19vw, 280px); }
  .bal-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
  .bal-r.has-note { position: relative; }
  .bal-col:first-child .bal-note { position: absolute; right: calc(100% + 28px); top: 12px; width: clamp(150px, 15vw, 220px); text-align: right; }
  .bal-col:first-child .bal-note::after { content: ""; position: absolute; left: calc(100% + 6px); top: .7em; width: 16px; height: 1px; background: var(--brand); }
}
.sv-steps { padding: clamp(56px, 7vw, 100px) 0; background: var(--ground); color: var(--on-ground); }
.sv-steps-grid { display: grid; gap: 32px; }
.months { display: grid; border-top: 1px solid var(--hair-d); }
.months li { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--hair-d); }
.months-m { font-family: var(--display); font-size: 1.75rem; line-height: 1; color: var(--brass); }
.months-d { color: var(--on-ground-2); max-width: 30ch; }
@media (min-width: 900px) { .sv-steps-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } .months { grid-template-columns: repeat(4, 1fr); gap: 0 24px; border-top: 0; } .months li { border-top: 1px solid var(--hair-d); border-bottom: 0; } }
/* belastingaangiften: the calendar is the page */
.sv-cal { padding: clamp(48px, 6vw, 96px) 0; }
.sv-cal-grid { display: grid; gap: 40px; }
.sv-cal-h { margin-bottom: 18px; }
.x .sv-cal-h { font-size: clamp(1.625rem, 1.3rem + 1vw, 2.25rem); }
.sv-cal-list .x-small { margin-top: 16px; max-width: 52ch; }
@media (min-width: 900px) { .sv-cal-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 88px); } .sv-cal-list { padding-top: 56px; } }
.x .sv-cal h1 { font-size: clamp(2.4rem, 1rem + 3.6vw, 4.25rem); }
.sv-body-dark { background: var(--sheet); }
.sv-cal-body { display: grid; gap: 48px; }
.sv-env { display: grid; gap: 14px; padding: 28px; background: var(--ground); color: var(--on-ground); align-content: start; }
.x .sv-env h2 { font-size: 1.875rem; }
.sv-env .x-link { color: var(--on-ground); }
@media (min-width: 1100px) { .sv-cal-body { grid-template-columns: 1fr 22rem; } .sv-cal-body .sv-inc { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .sv-cal-body .sv-inc h2 { grid-column: 1 / -1; } }
/* advies bij groei: the photo, then the comparison */
.sv-cmp { padding: clamp(40px, 5vw, 80px) 0; }
.sv-cmp-grid { display: grid; gap: 32px; align-items: center; }
.sv-cmp-ph img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 900px) { .sv-cmp-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 5vw, 88px); } .sv-cmp-ph { margin-right: calc(var(--gutter) * -1); } .sv-cmp-ph img { aspect-ratio: 5 / 4; } }
.sv-tab { background: var(--sheet); }
.cmp { display: grid; border-top: 1.5px solid var(--sheet-ink); }
.cmp-r { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 16px 0; border-bottom: 1px solid var(--hair); }
.cmp-head { display: none; }
.cmp-l { font-family: var(--display); font-size: 1.375rem; line-height: 1.15; }
/* phase C: no attr() labels; on a phone the two columns stay side by side under their own header row */
.cmp-r { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px 18px; }
.cmp-l { grid-column: 1 / -1; }
.cmp-r [role="cell"] { min-width: 0; overflow-wrap: anywhere; hyphens: auto; }
.cmp-head { display: grid; position: sticky; top: 0; z-index: 1; padding: 10px 0; background: var(--sheet); font-size: .6875rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.cmp-head span:first-child { display: none; }
@media (min-width: 760px) {
  .cmp-r { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1.3fr); gap: 24px; align-items: baseline; }
  .cmp-l { grid-column: auto; }
  .cmp-head { position: static; padding: 16px 0; font-size: .75rem; }
  .cmp-head span:first-child { display: block; }
}
.sv-q { margin-top: 56px; display: grid; gap: 18px; max-width: 760px; }
.sv-q-list { display: grid; gap: 0; padding-left: 2.5rem; list-style: decimal outside; }
.sv-q-list li { display: list-item; padding: 14px 0; border-bottom: 1px solid var(--hair); font-family: var(--display); font-size: 1.3125rem; line-height: 1.25; }
.sv-q-list li:first-child { border-top: 1px solid var(--hair); }
.sv-q-list li::marker { font-style: italic; color: var(--accent); }
/* the close of a service page: its own promise on the paper, the person who does it, and the other three services with their objects */
.sv-close { background: var(--sheet); color: var(--sheet-ink); padding: clamp(72px, 9vw, 140px) 0; border-top: 1px solid var(--hair); }
.sv-close-grid { display: grid; gap: 48px; }
.sv-close-main { display: grid; gap: 22px; align-content: start; }
.x .sv-close h2 { font-size: clamp(2.5rem, 1.2rem + 4.2vw, 5.25rem); line-height: .98; max-width: 14ch; }
.sv-close-who { font-size: 1rem; color: var(--ink-2); }
.sv-close-n { font-family: var(--display); font-style: italic; font-size: 1.625rem; color: var(--sheet-ink); }
.sv-close .x-btn { justify-self: start; }
.x .sv-close-more h3 { font-size: 1.25rem; color: var(--ink-2); }
.sv-close-more ul { margin-top: 14px; border-top: 1px solid var(--hair); }
.sv-close-more a { display: grid; grid-template-columns: 96px minmax(0, 1fr); grid-template-areas: "ph t" "ph d"; align-content: center; gap: 4px 18px; padding: 16px 0; border-bottom: 1px solid var(--hair); text-decoration: none; color: inherit; }
.sv-close-ph { grid-area: ph; align-self: center; overflow: hidden; }
.sv-close-ph img { display: block; width: 96px; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .9s var(--ease); }
.sv-close-t { grid-area: t; align-self: end; font-family: var(--display); font-size: 1.625rem; line-height: 1.05; transition: color .3s; }
.sv-close-d { grid-area: d; font-size: .875rem; line-height: 1.4; color: var(--ink-2); max-width: 44ch; }
.sv-close-more a:hover .sv-close-t { color: var(--accent); }
.sv-close-more a:hover .sv-close-ph img { transform: scale(1.06); }
@media (min-width: 900px) { .sv-close-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(48px, 7vw, 120px); align-items: center; } }
.sv-next { border-top: 1px solid var(--hair); }
.sv-next a { display: grid; gap: 8px; padding: clamp(40px, 6vw, 80px) 0; text-decoration: none; }
.sv-next-t { font-family: var(--display); font-size: clamp(2.25rem, 1.2rem + 3.8vw, 5rem); line-height: 1; letter-spacing: -.02em; transition: color .3s, transform .6s var(--ease); }
.sv-next-l { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: .9375rem; }
.sv-next a:hover .sv-next-t { color: var(--accent); transform: translateX(10px); }

/* ---------- tarieven ---------- */
.tf { padding: clamp(48px, 6vw, 96px) 0; background: linear-gradient(180deg, var(--paper) 0 62%, var(--sheet) 62%); }
.tf-grid { display: grid; gap: 40px; align-items: start; }
.tf-txt { display: grid; gap: 22px; }
.tf-how { display: grid; gap: 12px; max-width: 46ch; color: var(--ink-2); margin-top: 18px; }
.x .tf-how h2 { font-size: 1.625rem; color: var(--ink); }
@media (max-width: 899px) { .tf-txt { display: contents; } .tf-sheet { order: 2; } .tf-how { order: 3; margin-top: 0; } }
@media (min-width: 900px) { .tf-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); } .tf-sheet { transform: rotate(-.6deg); } }
.tf-sheet .calc-full .calc-total { margin-top: 8px; }
.tf-more { padding: clamp(56px, 7vw, 100px) 0; background: var(--sheet); }
.tf-more-grid { display: grid; gap: 48px; }
@media (min-width: 900px) { .tf-more-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; } }
.tf-extras { display: grid; margin-top: 24px; border-top: 1px solid var(--sheet-ink); }
.tf-extras div { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--hair); }
.tf-extras dt { font-family: var(--display); font-size: 1.375rem; }
.tf-amt { font-family: var(--display); font-size: 1.25rem; color: var(--brand); font-variant-numeric: lining-nums; }
.tf-faq { display: grid; gap: 0; align-content: start; }
.tf-faq h2 { margin-bottom: 24px; }
.faq { border-top: 1px solid var(--hair); }
.faq:last-of-type { border-bottom: 1px solid var(--hair); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-weight: 600; font-size: 1.0625rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; margin-top: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .3s var(--ease); }
.faq[open] summary::after { transform: rotate(-135deg); }
.faq p { padding: 0 0 20px; color: var(--ink-2); max-width: 52ch; }
.tf-faq .x-small { margin-top: 20px; }

/* ---------- kennis ---------- */
.kn-head { padding: clamp(56px, 7vw, 110px) 0 clamp(40px, 5vw, 72px); }
.kn-head-grid { display: grid; gap: 32px; align-items: end; }
.kn-head .x-lead { margin-top: 20px; color: var(--ink-2); }
@media (min-width: 900px) { .kn-head-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 64px; } }
.kn-list { padding-bottom: clamp(64px, 8vw, 120px); }
.kn-arts { display: grid; border-top: 1px solid var(--sheet-ink); }
.kn-art a { display: grid; gap: 14px; padding: 32px 0; border-bottom: 1px solid var(--hair); text-decoration: none; }
.kn-ph img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 1.2s var(--ease); }
.kn-ph { overflow: hidden; }
.kn-art a:hover .kn-ph img { transform: scale(1.03); }
.kn-t { font-family: var(--display); font-size: clamp(2rem, 1.3rem + 2.4vw, 3.5rem); line-height: 1.02; letter-spacing: -.018em; transition: color .3s; }
.kn-art a:hover .kn-t { color: var(--accent); }
.kn-l { color: var(--ink-2); max-width: 54ch; font-size: 1.0625rem; }
.kn-m { font-size: .8125rem; font-weight: 600; }
@media (min-width: 900px) {
  .kn-art a { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); grid-template-areas: "t ph" "l ph" "m ph"; gap: 14px 56px; align-items: start; }
  .kn-art:not(.has-img) a { grid-template-areas: "t t" "l l" "m m"; }
  .kn-t { grid-area: t; max-width: 20ch; } .kn-l { grid-area: l; } .kn-m { grid-area: m; } .kn-ph { grid-area: ph; }
}

/* ---------- an article (reading) ---------- */
.ar-head { padding: clamp(48px, 6vw, 96px) 0 clamp(28px, 4vw, 56px); }
.x .ar-head h1 { font-size: clamp(2.6rem, 1.2rem + 4.6vw, 5.75rem); max-width: 18ch; }
.ar-meta { margin-top: 22px; font-size: .875rem; font-weight: 600; }
.ar-ph img { width: 100%; height: clamp(260px, 46vw, 620px); object-fit: cover; }
.ar-grid { display: grid; gap: 40px; padding-top: clamp(40px, 5vw, 80px); padding-bottom: clamp(56px, 7vw, 110px); }
.ar-short { display: grid; gap: 16px; align-content: start; align-self: start; padding: 24px; background: var(--sheet); }
.x .ar-short h2 { font-size: 1.375rem; }
.ar-body { max-width: 66ch; font-size: 1.125rem; line-height: 1.7; }
.ar-body > * + * { margin-top: 1.1em; }
.x .ar-body h2 { font-size: clamp(1.625rem, 1.3rem + 1vw, 2.25rem); margin-top: 1.9em; line-height: 1.1; }
.ar-lead { font-family: var(--display); font-size: clamp(1.375rem, 1.15rem + .8vw, 1.75rem); line-height: 1.4; }
.ar-svc { padding-top: 1.1em; border-top: 1px solid var(--hair); }
.ar-live { padding: 22px 24px; background: var(--sheet); font-size: 1rem; line-height: 1.5; }
.ar-live-h { font-weight: 700; margin-bottom: 10px; }
@media (min-width: 1000px) { .ar-grid { grid-template-columns: 17rem minmax(0, 66ch); gap: clamp(48px, 6vw, 112px); } .ar-short { position: sticky; top: 24px; } }

/* ---------- starten ---------- */
.st-head { padding: clamp(48px, 6vw, 96px) 0 clamp(32px, 4vw, 56px); }
.st-head-grid { display: grid; gap: 24px; align-items: end; }
.st-head .x-lead { color: var(--ink-2); max-width: 42ch; }
@media (min-width: 900px) { .st-head-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; } }
.st { padding-bottom: clamp(64px, 8vw, 120px); }
.st-grid { display: grid; gap: 48px; align-items: start; }
@media (min-width: 900px) { .st-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 5vw, 88px); } }
.st-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 20px; }
.x .st-top h2 { font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem); }
.st-prog { font-family: var(--display); font-size: 1.25rem; font-variant-numeric: lining-nums tabular-nums; }
.st-bar { display: block; height: 3px; margin: 16px 0 8px; background: color-mix(in srgb, var(--sheet-ink) 16%, transparent); }
.st-bar span { display: block; height: 100%; width: 0; background: var(--brand); transition: width .6s var(--ease); }
.st-list { display: grid; }
.st-i { position: relative; display: grid; grid-template-columns: 30px 1fr; gap: 2px 14px; padding: 16px 0; border-bottom: 1px solid var(--hair); cursor: pointer; }
.st-i input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.st-box { grid-row: span 2; width: 26px; height: 26px; display: grid; place-items: center; border: 1.5px solid var(--sheet-ink); color: transparent; transition: background-color .25s, color .25s; }
.st-what { font-family: var(--display); font-size: 1.3125rem; line-height: 1.2; transition: color .3s; }
.st-why { font-size: .9375rem; color: var(--ink-2); line-height: 1.4; }
.st-i:has(input:checked) .st-box { background: var(--brand); border-color: var(--brand); color: #fff; }
.st-i:has(input:checked) .st-what { color: var(--ink-2); text-decoration: line-through; text-decoration-thickness: 1px; text-decoration-color: var(--brand); }
.st-i:has(input:focus-visible) .st-box { outline: 2px solid var(--sheet-ink); outline-offset: 3px; }
.st-done { margin-top: 18px; font-family: var(--display); font-style: italic; font-size: 1.25rem; color: var(--brand); }
.st-act { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 14px; }
.st-ours { display: grid; gap: 20px; }
.x .st-ours h2 { font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem); }
.st-ol { display: grid; border-top: 1px solid var(--sheet-ink); }
.st-ol li { display: grid; gap: 4px; padding: 14px 0 14px 30px; border-bottom: 1px solid var(--hair); position: relative; }
.st-ol li::before { content: ""; position: absolute; left: 4px; top: 22px; width: 12px; height: 6px; border-left: 1.75px solid var(--accent); border-bottom: 1.75px solid var(--accent); transform: rotate(-45deg); }
.st-w { font-weight: 600; }
@media print {
  .x-top, .x-dyl, .x-foot, .x-dock, .st-head, .st-ours, .st-act, .x-skip { display: none !important; }
  .st-sheet { box-shadow: none; background: #fff; }
}

/* ---------- over ---------- */
.ov-hero { position: relative; isolation: isolate; overflow: clip; color: #fff; background: var(--ground); min-height: min(92svh, 900px); display: grid; align-items: end; }
.ov-ph { position: absolute; inset: 0; z-index: -1; }
.ov-ph img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
.ov-ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 10, 11, .55) 0%, rgba(14, 10, 11, .1) 30%, rgba(14, 10, 11, .55) 58%, rgba(14, 10, 11, .94) 100%), linear-gradient(90deg, rgba(14, 10, 11, .55), rgba(14, 10, 11, 0) 60%); }
.ov-hero-txt { display: grid; gap: 18px; padding-top: 140px; padding-bottom: clamp(40px, 6vw, 88px); }
.x .ov-hero h1 { font-size: clamp(3rem, 1rem + 7.4vw, 8rem); line-height: .92; }
.ov-hero .x-lead { max-width: 44ch; color: rgba(255, 255, 255, .88); }
@media (prefers-reduced-motion: no-preference) { .ov-ph img { animation: a-push 16s var(--ease) both; } }
.ov-people { padding: clamp(64px, 8vw, 120px) 0; }
.ov-people-grid { display: grid; gap: 32px; }
.ov-cards { display: grid; gap: 24px; }
.ov-card { display: grid; gap: 10px; align-content: start; }
.ov-card .lh-seal { margin-bottom: 8px; }
.ov-n { font-family: var(--display); font-size: clamp(1.875rem, 1.5rem + 1.2vw, 2.625rem); line-height: 1; }
.ov-a { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.ov-card p:last-child { color: var(--ink-2); max-width: 40ch; }
@media (min-width: 900px) { .ov-people-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; } .ov-cards { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; } .ov-card:nth-child(2) { transform: translateY(48px) rotate(.8deg); } .ov-card:first-child { transform: rotate(-.6deg); } }
.ov-art { position: relative; isolation: isolate; background: var(--ground); padding: clamp(64px, 8vw, 120px) 0; overflow: clip; }
.ov-art-bg { position: absolute; inset: 0 0 0 auto; width: 100%; z-index: -1; }
.ov-art-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; opacity: .55; }
.ov-art-grid { display: grid; }
.ov-sheet { max-width: 760px; }
.ov-arts { display: grid; gap: 22px; margin-top: 24px; }
.ov-arts h3 { font-size: 1.375rem; }
.ov-art-n { font-style: italic; color: var(--brand); }
.ov-arts p { margin-top: 6px; color: var(--ink-2); max-width: 52ch; }
.ov-sig { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--hair); font-size: .875rem; color: var(--ink-2); }
.ov-sig-n { font-family: var(--display); font-style: italic; font-size: 1.125rem; color: var(--sheet-ink); }
@media (min-width: 900px) { .ov-art-bg { width: 55%; } .ov-art-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ground), rgba(20, 15, 17, 0) 40%); } }
.ov-facts { padding: clamp(56px, 7vw, 100px) 0; }
.ov-kv { display: grid; border-top: 1px solid var(--sheet-ink); }
.ov-kv div { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--hair); }
.ov-kv dt { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.ov-kv dd { font-family: var(--display); font-size: 1.5rem; line-height: 1.2; }
@media (min-width: 900px) { .ov-kv { grid-template-columns: repeat(3, 1fr); gap: 0 40px; border-top: 0; } .ov-kv div { border-top: 1px solid var(--sheet-ink); } }
.ov-act { margin-top: 36px; }

/* ---------- contact: choosing the appointment ---------- */
.ct-head { padding: clamp(48px, 6vw, 96px) 0 clamp(28px, 4vw, 48px); }
.ct-head-grid { display: grid; gap: 22px; align-items: end; }
.ct-head .x-lead { color: var(--ink-2); max-width: 42ch; }
@media (min-width: 900px) { .ct-head-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; } }
.ct { padding-bottom: clamp(64px, 8vw, 120px); }
.ct-grid { display: grid; gap: 48px; align-items: start; }
@media (min-width: 1100px) { .ct-grid { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 56px; } .ct-side { position: sticky; top: 24px; } }
.ap { display: grid; gap: 40px; }
.ap-f { display: grid; gap: 16px; }
.ap-f legend { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; padding: 0; font-family: var(--display); font-size: clamp(1.625rem, 1.3rem + 1.1vw, 2.25rem); line-height: 1.1; }
.ap-n { font-style: italic; color: var(--accent); }
.ap-kinds { display: grid; gap: 10px; }
@media (min-width: 700px) { .ap-kinds { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ap-kind { min-height: 116px; }
.ap-len { margin-top: 8px; font-size: .8125rem; font-weight: 600; color: var(--accent); }
.ap-days { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.ap-day { display: grid; gap: 6px; align-content: start; padding: 12px; background: var(--field); border: 1px solid var(--hair); }
.ap-dl { font-weight: 700; font-size: .875rem; }
.ap-dl::first-letter { text-transform: uppercase; }
.ap-times { display: grid; gap: 6px; }
.ap-closed { display: none; font-size: .75rem; color: var(--ink-2); line-height: 1.35; }
.js .ap:not(.is-avond) .ap-avond { display: none; }
.js .ap.is-avond .ap-dag { display: none; }
.js .ap.is-avond .no-evening .sf-slot { display: none; }
.js .ap.is-avond .no-evening .ap-closed { display: block; }
.js .ap.is-avond .no-evening { background: transparent; }
.ap-who { align-self: end; padding-bottom: 14px; font-size: .9375rem; }
.ap-who strong { font-family: var(--display); font-style: italic; font-weight: 400; font-size: 1.25rem; color: var(--accent); }
.ap-go .x-btn { min-width: 260px; }
.ap-result { display: grid; gap: 20px; outline: none; }
.x .ap-result h2 { font-size: clamp(2rem, 1.5rem + 2vw, 3.25rem); }
.js .ap.is-done > :not(.ap-result) { display: none; }
.ap-card { display: grid; grid-template-columns: auto 1fr; background: #fff; color: #1f1a1c; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .45), 0 0 0 1px rgba(0, 0, 0, .08); }
.ap-card-d { display: grid; align-content: center; justify-items: center; gap: 2px; min-width: 128px; padding: 24px 18px; background: var(--brand); color: #fff; text-align: center; }
.ap-card-d span:first-child, .ap-card-d span:last-child { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.ap-card-n { font-family: var(--display); font-size: 3.5rem; line-height: 1; font-variant-numeric: lining-nums; }
.ap-card-b { display: grid; padding: 10px 22px; }
.ap-card-b div { display: grid; grid-template-columns: 8.5em 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid #efece6; }
.ap-card-b div:last-child { border-bottom: 0; }
.ap-card-b dt { color: #6b6264; font-size: .9375rem; }
.ap-card-b dd { font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 560px) { .ap-card { grid-template-columns: minmax(0, 1fr); } .ap-card-d { grid-auto-flow: column; justify-content: start; gap: 10px; padding: 14px 18px; align-items: baseline; } .ap-card-n { font-size: 2rem; } .ap-card-b div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }
.ct-side { display: grid; gap: 24px; }
.ct-ph img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ct-tarief { display: grid; gap: 6px; padding: 22px 24px; background: var(--sheet); }
.x .ct-th { font-size: 1.375rem; line-height: 1.15; }
.ct-amt { font-family: var(--display); font-size: 2.75rem; line-height: 1; color: var(--brand); font-variant-numeric: lining-nums tabular-nums; }
.ct-amt small { font-family: var(--text); font-size: .875rem; color: var(--ink-2); }
.ct-what { font-size: .9375rem; color: var(--ink-2); }
.ct-info { display: grid; gap: 12px; }
.x .ct-info h2 { font-size: 1.625rem; }
.ct-info > p { color: var(--ink-2); font-size: .9375rem; }

/* the dock and the label on this world's dark grounds */
.x-dock-act { --btn: var(--brand); }

/* ---------- phase C: a real company's demo (mode "echt", dylm/demo/v2_advies.py) ----------
   His own facts in the world's look; general information carries a small label, a missing fact a visible placeholder.
   Nothing here writes text (the stylesheet is pinned for real demos: no generated content, no strings). */
.x-alg { display: inline-block; margin-left: .6em; padding: 3px 7px 2px; border: 1px solid currentColor; font-family: var(--text); font-style: normal; font-size: .625rem; font-weight: 700; line-height: 1.2; letter-spacing: .16em; text-transform: uppercase; vertical-align: middle; opacity: .74; white-space: nowrap; }
.e-gen { margin: 0; }
.e-gen .x-alg, .ar-meta .x-alg { margin-left: 0; }
.e-vb { position: absolute; left: auto; right: 14px; bottom: 14px; z-index: 1; margin: 0; background: rgba(20, 15, 17, .74); color: var(--on-ground); }
.e-ph-fig { position: relative; }
.x-ph { display: grid; place-items: center; min-height: 104px; padding: 18px 22px; border: 1.5px dashed color-mix(in srgb, var(--brand) 55%, transparent); background: color-mix(in srgb, var(--brand) 5%, transparent); color: var(--brand); font-family: var(--display); font-style: italic; font-size: clamp(1.375rem, 1.2rem + .6vw, 1.75rem); line-height: 1.2; text-align: center; text-wrap: balance; }
.e-ph-wide { min-height: clamp(180px, 22vw, 300px); margin-top: 32px; }
.e-ph-more { min-height: 168px; margin-top: 24px; }

/* the calculator's place on the letterhead: its questions drawn as ruled lines, the placeholder where the amount goes */
.e-calc-rows { display: grid; gap: 14px; }
.e-calc-r { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: end; gap: 14px; }
.e-calc-line { height: 1px; margin-bottom: 4px; border-bottom: 1.5px dotted color-mix(in srgb, var(--sheet-ink) 38%, transparent); }
.calc-total.e-calc-total { grid-template-columns: minmax(0, 1fr); gap: 10px; padding-top: 16px; }
.e-calc-total .calc-sub { max-width: 40ch; }
.e-date:has([data-today]:empty) { display: none; }
.dl-lead, .dl-title, .dl-when, .dl-then { font-variant-numeric: lining-nums tabular-nums; }

/* the year ribbon without inline styles: every deadline sits on its month's last day, the needle on today's month */
.rb-i.rb-m1 { --at: 8.22%; } .rb-i.rb-m4 { --at: 32.6%; } .rb-i.rb-m4.rb-voor { --at: 32.88%; } .rb-i.rb-m5.rb-voor { --at: 41.37%; }
.rb-i.rb-m7 { --at: 57.81%; } .rb-i.rb-m10 { --at: 83.01%; }
.rb.at-m1 { --now: 4.25%; } .rb.at-m2 { --now: 12.3%; } .rb.at-m3 { --now: 20.4%; } .rb.at-m4 { --now: 28.8%; }
.rb.at-m5 { --now: 37.1%; } .rb.at-m6 { --now: 45.5%; } .rb.at-m7 { --now: 53.8%; } .rb.at-m8 { --now: 62.3%; }
.rb.at-m9 { --now: 70.7%; } .rb.at-m10 { --now: 79%; } .rb.at-m11 { --now: 87.4%; } .rb.at-m12 { --now: 95.8%; }
.a-year-head .x-alg { color: var(--brass); }

/* home */
.e-dk-i { display: grid; gap: 10px; }
.dk-name .x-alg { font-size: .6875rem; }
.e-more { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: clamp(48px, 6vw, 88px); padding-top: 22px; border-top: 1px solid var(--hair); font-family: var(--display); font-size: clamp(1.5rem, 1.2rem + 1vw, 2.25rem); line-height: 1.1; }
.e-more a { text-decoration: none; }
.e-more a:hover { color: var(--accent); }
@media (min-width: 900px) { .a-arts.e-arts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.e-close-act { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 10px; }
.e-tel { color: inherit; font-family: var(--display); font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem); line-height: 1; font-variant-numeric: lining-nums; text-decoration: none; border-bottom: 1px solid color-mix(in srgb, currentColor 40%, transparent); padding-bottom: 4px; }
.e-tel:hover { border-bottom-color: currentColor; }
.e-tel-ink { color: var(--sheet-ink); }
.e-tel-big { font-size: clamp(2.25rem, 1.5rem + 2.6vw, 3.75rem); color: var(--brand); }

/* a service page: the general block */
.e-terms-grid { display: grid; gap: 36px; align-items: start; }
.e-terms-l { display: grid; margin-top: 18px; }
.e-terms-l div { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--hair); }
.e-terms-l div:last-child { border-bottom: 0; }
.e-terms-l dt { font-family: var(--display); font-size: 1.375rem; line-height: 1.15; }
.e-terms-l dd { color: var(--ink-2); max-width: 46ch; }
@media (min-width: 900px) {
  .e-terms-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); }
  .e-terms { transform: rotate(.6deg); }
  .e-terms-l div { grid-template-columns: minmax(10rem, 14rem) minmax(0, 1fr); gap: 24px; align-items: baseline; }
}
.e-cal .x-lead { color: var(--ink-2); }
.e-cal .dl-page { margin-top: 12px; }
.e-close-row { display: grid; gap: 4px; padding: 16px 0 16px 114px; border-bottom: 1px solid var(--hair); }
.e-close-row > span { grid-area: auto; }

/* over */
.e-pitch { margin-top: 14px; color: var(--ink-2); max-width: 52ch; }
.e-photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 32px; }
.e-photo-grid li:first-child, .e-photo-grid li:nth-child(4):last-child { grid-column: span 2; }
.e-photo-grid img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 900px) {
  .e-photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .e-photo-grid li:first-child { grid-column: span 2; grid-row: span 2; }
  .e-photo-grid li:first-child img { height: 100%; }
  .e-photo-grid li:nth-child(4):last-child { grid-column: 1 / -1; }
  .e-photo-grid li:nth-child(4):last-child img { aspect-ratio: 3 / 1; }
  .e-photo-grid li:nth-child(4):nth-last-child(2) { grid-column: span 2; }
  .e-photo-grid li:nth-child(4):nth-last-child(2) img { aspect-ratio: 8 / 3; }
}
.e-m { display: block; }

/* contact */
.e-ct-main { display: grid; gap: 32px; }
.e-ct-tel { display: grid; gap: 12px; }
.e-ct-tel .lh { margin-bottom: 10px; }
.e-ct-city { font-size: .875rem; color: var(--ink-2); }
.e-agenda { display: grid; gap: 18px; padding: clamp(20px, 2.4vw, 32px); background: var(--sheet); }
.x .e-agenda-h { font-size: clamp(1.625rem, 1.3rem + 1.1vw, 2.25rem); }
.e-agenda-ghost { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; opacity: .6; }
.e-agenda-day { display: grid; gap: 6px; padding: 10px; background: var(--field); border: 1px solid var(--hair); }
.e-agenda-line { display: block; width: 62%; height: 8px; background: color-mix(in srgb, var(--sheet-ink) 16%, transparent); }
@media (max-width: 599px) { .e-agenda-day:nth-child(n+5) { display: none; } }
.e-agenda-slot { display: block; height: 24px; border: 1px dashed color-mix(in srgb, var(--sheet-ink) 22%, transparent); }
.e-tel { white-space: nowrap; }
@media (min-width: 900px) { .e-ct-tel { transform: rotate(-.6deg); } }
/* hooks a real page names (the gate allows only classes this stylesheet or the shared one defines) */
.ar, .ds-list, .x-band, .e-ph, .e-ph-more, .e-calc, .e-dk, .e-more-i, .e-ov-art, .e-photos, .e-tiles { min-width: 0; }
/* fix round 1: every illustration carries its own label; the calculator moves, its result is the placeholder */
.kn-ph, .ar-ph, .sv-close-ph, .dk-ph { position: relative; }
.sv-close-ph .e-vb { right: 3px; bottom: 3px; padding: 1px 4px; font-size: .5rem; letter-spacing: .08em; }
.e-calc .calc-range { --v: 50%; }
.e-calc-opts[hidden], .e-pick-f, .e-pick-o, .e-pick-b { min-width: 0; }
.e-calc-sum { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.e-pick { font-family: var(--display); font-size: 1.0625rem; line-height: 1.25; }
.x-ph.is-set { animation: calc-tick .5s var(--ease); }
@media (min-width: 900px) {
  .e-dk .dk-i:nth-child(5) { grid-column: 1 / span 7; margin-top: clamp(48px, 6vw, 96px); }
  .e-dk .dk-i:nth-child(5) .dk-ph img { aspect-ratio: 3 / 2; }
  .e-dk .dk-i:nth-child(6) { grid-column: 9 / span 4; margin-top: clamp(80px, 9vw, 150px); }
  .e-dk .dk-i:nth-child(6) .dk-ph img { aspect-ratio: 4 / 5; }
}
.a-hero-sheet .e-calc-total .calc-sub { display: none; }
.a-hero-sheet .x-ph { min-height: 76px; padding: 12px 18px; }
.a-hero-sheet .e-calc-total { padding-top: 12px; gap: 8px; }
@media (max-width: 599px) { .a-hero-sheet .e-calc-sum { display: none; } }
