/* dehulplijnvoormensenzonderpsychischeziekte.nl — Spinalto ledger sheet (hlpz- namespace) */
:root {
  --hlpz-ink: #1c2416;
  --hlpz-moss: #3d4f2f;
  --hlpz-olive: #6b7d4a;
  --hlpz-rust: #b44a2e;
  --hlpz-rust-deep: #8c321c;
  --hlpz-bone: #f3ead6;
  --hlpz-paper: #faf6ea;
  --hlpz-card: #fffdf6;
  --hlpz-rule: #cbbfa3;
  --hlpz-mute: #5c5648;
  --hlpz-ok: #2f6b3a;
  --hlpz-head-h: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  overflow-x: hidden;
  width: 100%;
}

body {
  overflow-x: hidden;
  width: 100%;
  background: var(--hlpz-paper);
  color: var(--hlpz-ink);
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  line-height: 1.65;
  font-size: 17px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--hlpz-rust-deep);
}

.hlpz-mast {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--hlpz-ink);
  color: var(--hlpz-bone);
  min-height: var(--hlpz-head-h);
  border-bottom: 4px solid var(--hlpz-rust);
}

.hlpz-mast-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.hlpz-mark {
  flex-shrink: 0;
  text-decoration: none;
  color: var(--hlpz-bone);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 1.45rem;
  letter-spacing: 0.04em;
  font-weight: 700;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.hlpz-toggle {
  display: none;
}

.hlpz-burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--hlpz-olive);
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.hlpz-burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--hlpz-bone);
}

.hlpz-rail {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  white-space: nowrap;
  overflow-x: auto;
  flex: 1;
  -webkit-overflow-scrolling: touch;
}

.hlpz-rail a {
  color: var(--hlpz-bone);
  text-decoration: none;
  padding: 12px 10px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 0.92rem;
}

.hlpz-rail a:hover,
.hlpz-rail a:focus {
  color: #f0c9a0;
}

.hlpz-enter {
  flex-shrink: 0;
  background: var(--hlpz-rust);
  color: #fff;
  text-decoration: none;
  padding: 12px 18px;
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.hlpz-enter:hover {
  background: var(--hlpz-rust-deep);
  color: #fff;
}

.hlpz-sheet {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 18px 96px;
}

.hlpz-block {
  margin-bottom: 56px;
  padding-bottom: 28px;
  border-bottom: 1px dashed var(--hlpz-rule);
}

.hlpz-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hlpz-olive);
  margin-bottom: 8px;
}

.hlpz-h1 {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
}

.hlpz-h2 {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  line-height: 1.25;
  margin-bottom: 14px;
  color: var(--hlpz-moss);
}

.hlpz-h3 {
  font-size: 1.12rem;
  margin: 22px 0 10px;
  color: var(--hlpz-ink);
}

.hlpz-da {
  background: var(--hlpz-card);
  border-left: 6px solid var(--hlpz-rust);
  padding: 16px 18px;
  margin-bottom: 20px;
  box-shadow: 3px 3px 0 rgba(28, 36, 22, 0.06);
}

.hlpz-hero-frame {
  margin: 18px 0;
  background: #ddd6c4;
}

.hlpz-hero-frame img,
.hlpz-sideframe img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hlpz-split {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 22px;
  align-items: start;
}

.hlpz-specboard {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.hlpz-spec {
  background: var(--hlpz-ink);
  color: var(--hlpz-bone);
  padding: 14px;
  min-height: 88px;
}

.hlpz-spec b {
  display: block;
  font-size: 1.15rem;
  color: #f0c9a0;
}

.hlpz-spec span {
  font-size: 0.86rem;
  color: #c9c2b0;
}

.hlpz-copy p {
  margin-bottom: 12px;
}

.hlpz-scrollpane {
  overflow-x: auto;
  width: 100%;
  margin: 14px 0 20px;
  border: 1px solid var(--hlpz-rule);
  background: var(--hlpz-card);
}

.hlpz-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 0.95rem;
}

.hlpz-table th,
.hlpz-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--hlpz-rule);
  vertical-align: top;
}

.hlpz-table th {
  background: var(--hlpz-moss);
  color: #fff;
  font-weight: 600;
}

.hlpz-table tr:nth-child(even) td {
  background: #f7f1e2;
}

.hlpz-chip {
  display: inline-block;
  padding: 2px 8px;
  background: #e7eedc;
  color: var(--hlpz-ok);
  font-weight: 700;
  font-size: 0.85rem;
}

.hlpz-abacus {
  background: var(--hlpz-ink);
  color: var(--hlpz-bone);
  padding: 22px;
  margin-top: 18px;
}

.hlpz-abacus h3 {
  color: #f0c9a0;
  margin-top: 0;
}

.hlpz-abacus-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 16px 0;
}

.hlpz-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.hlpz-field input,
.hlpz-field select {
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--hlpz-olive);
  background: #2a3322;
  color: #fff;
  font-size: 1rem;
}

.hlpz-abacus-out {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  border-top: 1px solid var(--hlpz-olive);
  padding-top: 14px;
}

.hlpz-abacus-num {
  font-size: 1.8rem;
  font-family: "Iowan Old Style", Palatino, serif;
  color: #f0c9a0;
}

.hlpz-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 16px;
}

.hlpz-tile {
  background: var(--hlpz-card);
  border: 1px solid var(--hlpz-rule);
}

.hlpz-tile figure {
  position: relative;
}

.hlpz-tile img {
  width: 100%;
  aspect-ratio: 480 / 270;
  object-fit: cover;
}

.hlpz-tile figcaption {
  padding: 10px 12px 14px;
}

.hlpz-tile strong {
  display: block;
}

.hlpz-tile em {
  font-style: normal;
  font-size: 0.82rem;
  color: var(--hlpz-mute);
}

.hlpz-playthin {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(28, 36, 22, 0.45);
  opacity: 0;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
}

.hlpz-tile:hover .hlpz-playthin,
.hlpz-tile:focus-within .hlpz-playthin {
  opacity: 1;
}

.hlpz-steps {
  counter-reset: hlpz-n;
  list-style: none;
}

.hlpz-steps li {
  counter-increment: hlpz-n;
  position: relative;
  padding: 10px 0 10px 48px;
  min-height: 44px;
}

.hlpz-steps li::before {
  content: counter(hlpz-n);
  position: absolute;
  left: 0;
  top: 10px;
  width: 32px;
  height: 32px;
  background: var(--hlpz-rust);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.hlpz-ask {
  background: var(--hlpz-card);
  border: 1px solid var(--hlpz-rule);
  padding: 12px 16px;
  margin-bottom: 10px;
}

.hlpz-ask summary {
  cursor: pointer;
  font-weight: 700;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.hlpz-ask p {
  margin-top: 8px;
}

.hlpz-end {
  background: var(--hlpz-ink);
  color: var(--hlpz-bone);
  padding: 36px 18px 48px;
}

.hlpz-end-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
}

.hlpz-end a {
  color: #f0c9a0;
}

.hlpz-float {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 50;
  background: var(--hlpz-rust);
  color: #fff;
  text-decoration: none;
  padding: 14px 20px;
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(28, 36, 22, 0.28);
}

.hlpz-float:hover {
  background: var(--hlpz-rust-deep);
  color: #fff;
}

@media (max-width: 900px) {
  .hlpz-split,
  .hlpz-gallery,
  .hlpz-abacus-row,
  .hlpz-end-inner,
  .hlpz-specboard {
    grid-template-columns: 1fr;
  }

  .hlpz-gallery {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .hlpz-burger {
    display: flex;
  }

  .hlpz-rail {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--hlpz-head-h);
    background: #141a10;
    flex-direction: column;
    align-items: stretch;
    white-space: normal;
    padding: 8px 12px 16px;
  }

  .hlpz-toggle:checked ~ .hlpz-rail {
    display: flex;
  }

  .hlpz-mast-inner {
    flex-wrap: wrap;
  }
}

@media (max-width: 420px) {
  .hlpz-gallery {
    grid-template-columns: 1fr;
  }
}
