/* CP Kompas — huisstijl Netwerk Cerebrale Parese */

@font-face { font-family: "Oswald"; font-weight: 400; font-display: swap; src: url("../fonts/oswald-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Oswald"; font-weight: 500; font-display: swap; src: url("../fonts/oswald-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Oswald"; font-weight: 600; font-display: swap; src: url("../fonts/oswald-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 400; font-display: swap; src: url("../fonts/open-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 400; font-style: italic; font-display: swap; src: url("../fonts/open-sans-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 600; font-display: swap; src: url("../fonts/open-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 700; font-display: swap; src: url("../fonts/open-sans-latin-700-normal.woff2") format("woff2"); }

:root {
  --teal-dark: #1b4e51;
  --teal: #407575;
  --teal-mid: #557475;
  --teal-soft: #8c9f9e;
  --mint: #d9f2c4;
  --sand: #ebe0ce;
  --sand-light: #f6efe4;
  --grey: #eceff0;
  --ink: #23383a;
  --muted: #5d6f70;
  --sun: #fcc464;
  --coral: #f18555;
  --white: #fff;
  --radius: 14px;
  --maxw: 1140px;
  --shadow: 0 10px 30px rgba(27, 78, 81, .10);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px; line-height: 1.7; color: var(--ink); background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal-dark); }
strong { color: var(--teal-dark); font-weight: 700; }
h1, h2, h3, h4 { font-family: "Oswald", "Arial Narrow", sans-serif; font-weight: 500; color: var(--teal); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 600; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.45rem; }
h4 { font-size: 1.15rem; font-family: "Open Sans", sans-serif; font-weight: 700; color: var(--teal-dark); }
p { margin: 0 0 1.1em; }
ul { padding-left: 1.2em; margin: 0 0 1.2em; }
li { margin: .25em 0; }
li::marker { color: var(--teal-soft); }

.skip { position: absolute; left: -9999px; top: 0; background: var(--teal-dark); color: #fff; padding: .6em 1em; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }
.narrow { max-width: 780px; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--teal-dark); color: #fff; font-size: .85rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 44px; }
.topbar a { color: #fff; }
.topbar .partners { opacity: .9; }
.topbar .social { display: flex; gap: .9rem; align-items: center; }
.topbar .social svg { width: 16px; height: 16px; fill: #fff; }

.site-header { background: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 14px rgba(0,0,0,.05); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 92px; }
.brand { display: flex; align-items: center; gap: 1rem; text-decoration: none; }
.brand img { height: 62px; width: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .2rem; align-items: center; }
.nav a { display: block; font-family: "Oswald", sans-serif; font-size: 1.02rem; text-transform: uppercase; letter-spacing: .02em; color: var(--ink); text-decoration: none; padding: .5em .7em; position: relative; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--teal); }
.nav a[aria-current="page"]::before { content: ""; position: absolute; left: 50%; top: -.25em; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); transform: translateX(-50%); }
.btn { display: inline-flex; align-items: center; gap: .5em; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .05em; font-weight: 500; font-size: .95rem; text-decoration: none; padding: .85em 1.5em; border-radius: 999px; background: var(--teal-mid); color: #fff; border: 0; cursor: pointer; transition: background .2s, transform .2s; }
.btn:hover { background: var(--teal-dark); color: #fff; transform: translateY(-1px); }
.btn.sand { background: var(--sand); color: var(--teal-dark); border-radius: 4px; }
.btn.sand:hover { background: #e2d3bb; color: var(--teal-dark); }
.btn.ghost { background: transparent; color: var(--teal); box-shadow: inset 0 0 0 2px var(--teal); }
.btn.ghost:hover { background: var(--teal); color: #fff; }
.nav .btn { color: #fff; padding: .7em 1.3em; font-size: .85rem; margin-left: .6rem; }
.nav .btn:hover { color: #fff; }
.menu-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; color: var(--teal-dark); }
.menu-toggle svg { width: 30px; height: 30px; }

@media (max-width: 1020px) {
  .menu-toggle { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; box-shadow: 0 12px 20px rgba(0,0,0,.08); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; padding: .5rem 1.25rem 1.25rem; }
  .nav a { padding: .75em .25em; border-bottom: 1px solid var(--grey); }
  .nav a[aria-current="page"]::before { left: -.6em; top: 50%; transform: translateY(-50%); }
  .nav .btn { margin: 1rem 0 0; justify-content: center; }
  .topbar .partners { display: none; }
  .brand img { height: 50px; }
  .site-header .wrap { min-height: 76px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--teal-dark); color: #fff; }
.hero .bg { position: absolute; inset: 0; background-size: cover; background-position: center 30%; }
.hero .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(27,78,81,.92) 0%, rgba(27,78,81,.72) 45%, rgba(27,78,81,.05) 85%); }
.hero .wrap { position: relative; padding: clamp(4rem, 10vw, 8rem) 0; }
.hero h1 { color: var(--mint); max-width: 13ch; }
.hero h1 span { color: #fff; }
.hero p.lead { font-size: 1.2rem; max-width: 34rem; color: #fff; }
.hero .actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero .plane { position: absolute; right: 8%; top: 14%; width: 90px; opacity: .95; }

.page-hero { background: var(--grey); position: relative; overflow: hidden; }
.page-hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.page-hero .eyebrow { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .12em; color: var(--teal-soft); font-size: 1rem; margin-bottom: .4rem; }
.page-hero .lead { font-size: 1.15rem; color: var(--muted); }
.page-hero figure { margin: 0; }
.page-hero figure img { border-radius: 46% 54% 50% 50% / 55% 45% 55% 45%; aspect-ratio: 1; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
@media (max-width: 820px) { .page-hero .wrap { grid-template-columns: 1fr; } .page-hero figure { max-width: 320px; } }

.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 1rem; }
.breadcrumb a { color: var(--muted); }

/* ---------- Sections ---------- */
section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
section.tint { background: var(--grey); }
section.sand { background: var(--sand-light); }
section.teal { background: var(--teal); color: #fff; }
section.teal h2, section.teal h3, section.teal strong { color: #fff; }
.section-title { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section-title p { color: var(--muted); }

.chapter { scroll-margin-top: 110px; }
.chapter + .chapter { margin-top: 3.5rem; }
.chapter-head { display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem; }
.chapter-head h2 { margin: 0; }
.num { flex: none; display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--sand); color: var(--teal); font-family: "Oswald", sans-serif; font-weight: 600; font-size: 1.2rem; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.split { display: grid; grid-template-columns: 1.4fr .6fr; gap: 2.5rem; align-items: start; }
.split.rev { grid-template-columns: .6fr 1.4fr; }
@media (max-width: 820px) { .two-col, .split, .split.rev { grid-template-columns: 1fr; } }

/* ---------- Boxes ---------- */
.box { border-radius: var(--radius); padding: 1.6rem 1.8rem; margin: 1.5rem 0; }
.box > :last-child { margin-bottom: 0; }
.box.teal { background: var(--teal); color: #fff; }
.box.teal strong, .box.teal h3, .box.teal h4 { color: #fff; }
.box.teal li::marker { color: var(--mint); }
.box.teal a { color: #fff; }
.box.grey { background: var(--grey); }
.box.sand { background: var(--sand-light); }
.box.line { border: 2px solid var(--grey); }
.box-title { font-weight: 700; color: var(--teal); margin: 0 0 .7rem; display: flex; gap: .5em; align-items: baseline; }
.box-title::before { content: "↘"; font-weight: 700; }
.box.teal .box-title { color: #fff; }

.bubble { position: relative; background: var(--teal); color: #fff; border-radius: 26px; padding: 1.5rem 1.7rem; font-weight: 600; margin: 1.5rem 0 2.2rem; }
.bubble::after { content: ""; position: absolute; left: 2.2rem; bottom: -18px; border: 18px solid transparent; border-top-color: var(--teal); border-bottom: 0; border-left-width: 6px; }
.bubble.sand { background: var(--sand); color: var(--teal-dark); }
.bubble.sand::after { border-top-color: var(--sand); }
.bubble.sun { background: var(--sun); color: var(--teal-dark); }
.bubble.sun::after { border-top-color: var(--sun); }
.bubble p:last-child { margin: 0; }

.quote { font-family: "Oswald", sans-serif; font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 400; color: var(--teal); line-height: 1.3; border-left: 5px solid var(--sun); padding: .2rem 0 .2rem 1.3rem; margin: 2rem 0; }

.tips { background: var(--teal); color: #fff; border-radius: var(--radius); padding: 2rem; position: relative; }
.tips .badge { position: absolute; top: -1.3rem; right: 1.5rem; background: var(--sun); color: var(--teal-dark); font-family: "Oswald", sans-serif; font-weight: 600; font-size: 1.6rem; padding: .2rem 1rem; border-radius: 12px; transform: rotate(4deg); }
.tips h3 { color: #fff; }
.tips ul { columns: 2; column-gap: 2rem; }
.tips li { break-inside: avoid; }
.tips li::marker { color: var(--sun); }
@media (max-width: 640px) { .tips ul { columns: 1; } }

.rounded-img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
figure { margin: 0; }
figcaption { font-size: .85rem; color: var(--muted); margin-top: .5rem; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.4rem; }
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s; }
a.card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(27,78,81,.16); color: var(--ink); }
.card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.card .body { padding: 1.3rem 1.4rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.card .tag { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .1em; font-size: .82rem; color: var(--teal-soft); }
.card h3 { margin: .2rem 0 .5rem; }
.card p { font-size: .95rem; color: var(--muted); margin: 0 0 1rem; }
.card .more { margin-top: auto; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .05em; color: var(--teal); font-size: .9rem; }
.card.plain { padding: 1.5rem; }

.parts { counter-reset: part; display: grid; gap: 1rem; }
.part { display: grid; grid-template-columns: auto 1fr auto; gap: 1.2rem; align-items: center; background: #fff; border-radius: var(--radius); padding: 1.2rem 1.5rem; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .2s; }
a.part:hover { transform: translateX(4px); color: var(--ink); }
.part .n { font-family: "Oswald", sans-serif; font-size: 2.4rem; color: var(--sand); -webkit-text-stroke: 0; line-height: 1; background: var(--teal); color: #fff; width: 3.6rem; height: 3.6rem; display: grid; place-items: center; border-radius: 50%; }
.part h3 { margin: 0 0 .15rem; font-size: 1.35rem; }
.part p { margin: 0; color: var(--muted); font-size: .95rem; }
.part .arrow { color: var(--teal); font-size: 1.5rem; }

/* ---------- Emotion map ---------- */
.emomap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 2rem 0; }
.emo { background: #fff; border-radius: 22px; padding: 1.2rem; text-align: center; box-shadow: var(--shadow); }
.emo h4 { font-family: "Oswald", sans-serif; font-weight: 500; text-transform: uppercase; color: #fff; background: var(--teal-soft); border-radius: 999px; padding: .55rem 1rem; margin: 0 0 .8rem; font-size: 1rem; letter-spacing: .03em; }
.emo ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; }
.emo li { background: var(--grey); border-radius: 999px; padding: .2rem .8rem; font-size: .88rem; margin: 0; }
.emo.center { background: var(--teal-dark); display: grid; place-items: center; color: #fff; }
.emo.center img { width: 70%; max-width: 170px; filter: brightness(0) invert(1); margin: 0 auto .6rem; }
.emo.center span { font-family: "Oswald", sans-serif; letter-spacing: .25em; text-transform: uppercase; font-size: .95rem; }
.emo.hope h4 { background: var(--teal); }
@media (max-width: 760px) { .emomap { grid-template-columns: 1fr 1fr; } .emo.center { grid-column: 1 / -1; order: -1; } }

/* ---------- Notes (lokaal bewaard) ---------- */
.note { margin: 1.2rem 0 1.6rem; }
.note label { display: block; font-weight: 700; color: var(--teal); margin-bottom: .4rem; }
.note label::before { content: "↘ "; }
.note textarea { width: 100%; min-height: 6.5em; resize: vertical; font: inherit; font-size: .97rem; line-height: 1.9; color: var(--ink); padding: .5rem .9rem; border: 0; border-radius: 10px; background-color: #fff; background-image: repeating-linear-gradient(transparent 0 calc(1.9em - 1px), #cfd8d8 calc(1.9em - 1px) 1.9em); background-attachment: local; background-position: 0 .5rem; box-shadow: inset 0 0 0 1px #dfe5e5; }
.box.teal .note label, .box.teal .note label::before { color: #fff; }
.note textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--teal); }
.notes-hint { font-size: .85rem; color: var(--muted); display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.notes-hint button { font: inherit; font-size: .85rem; background: none; border: 0; color: var(--teal); text-decoration: underline; cursor: pointer; padding: 0; }

/* ---------- Checklists ---------- */
.checklist { list-style: none; padding: 0; }
.checklist li { margin: 0; }
.checklist label { display: flex; gap: .75rem; align-items: flex-start; padding: .45rem 0; cursor: pointer; }
.checklist input { appearance: none; flex: none; width: 1.25rem; height: 1.25rem; margin-top: .3rem; border: 2px solid var(--teal-soft); border-radius: 5px; background: #fff; display: grid; place-items: center; cursor: pointer; }
.checklist input::after { content: ""; width: .35rem; height: .65rem; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translate(-1px, -1px); opacity: 0; }
.checklist input:checked { background: var(--teal); border-color: var(--teal); }
.checklist input:checked::after { opacity: 1; }
.checklist input:checked + span { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--teal-soft); }
.checklist .sub { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; padding-left: 2rem; margin: -.2rem 0 .4rem; font-size: .95rem; }
.checklist .sub label { padding: .1rem 0; }

.qblock { background: #fff; border-radius: var(--radius); padding: 1.4rem 1.6rem; box-shadow: var(--shadow); margin-bottom: 1.2rem; break-inside: avoid; }
.qblock h3 { display: flex; align-items: center; gap: .7rem; font-size: 1.3rem; }
.qblock ul { margin-bottom: 0; }

.toolbar { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.5rem 0 2rem; }

/* ---------- Table of tools ---------- */
.toc { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--teal); }
.toc li { margin: 0; border-bottom: 1px solid #d6dede; }
.toc a { display: grid; grid-template-columns: 2.6rem 1fr 1fr auto; gap: 1rem; align-items: center; padding: .9rem .3rem; text-decoration: none; color: var(--ink); }
.toc a:hover { background: var(--grey); }
.toc .i { font-family: "Oswald", sans-serif; color: var(--teal); font-size: 1.3rem; }
.toc .t { font-family: "Oswald", sans-serif; color: var(--teal); font-size: 1.2rem; }
.toc .d { color: var(--muted); font-size: .95rem; }
@media (max-width: 640px) { .toc a { grid-template-columns: 2.2rem 1fr auto; } .toc .d { grid-column: 2; grid-row: 2; } }

/* ---------- Contact table ---------- */
.centers { display: grid; gap: 1.2rem; }
.center-card { background: #fff; border-radius: var(--radius); padding: 1.3rem 1.5rem; box-shadow: var(--shadow); }
.center-card h3 { font-size: 1.2rem; display: flex; gap: .6rem; align-items: center; }
.center-card table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.center-card td { padding: .45rem .3rem; border-top: 1px solid var(--grey); vertical-align: top; }
.center-card td:nth-child(2) { white-space: nowrap; }
@media (max-width: 640px) { .center-card tr { display: grid; } .center-card td { border: 0; padding: .1rem 0; } .center-card tr { border-top: 1px solid var(--grey); padding: .5rem 0; } }

/* ---------- Gallery / voorbeelden ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem; }
.gallery a { display: block; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.gallery img { transition: transform .3s; }
.gallery a:hover img { transform: scale(1.03); }
.zoom { cursor: zoom-in; }
.lightbox { position: fixed; inset: 0; background: rgba(15, 40, 42, .92); display: none; place-items: center; z-index: 200; padding: 2rem; }
.lightbox.open { display: grid; }
.lightbox img { max-height: 92vh; max-width: 96vw; width: auto; border-radius: 6px; }
.lightbox button { position: absolute; top: 1rem; right: 1rem; background: #fff; border: 0; width: 44px; height: 44px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; color: var(--teal-dark); }

.gmfcs { display: grid; grid-template-columns: repeat(5, 1fr); gap: .8rem; margin: 1.5rem 0; }
.gmfcs figure { background: #fff; border-radius: 12px; padding: .8rem; text-align: center; box-shadow: var(--shadow); }
.gmfcs figcaption { font-family: "Oswald", sans-serif; color: var(--teal); font-size: 1rem; }
@media (max-width: 760px) { .gmfcs { grid-template-columns: repeat(2, 1fr); } }

.glossary { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; }
.glossary dl, .glossary div { margin: 0; }
.term { background: #fff; border-radius: 12px; padding: 1.1rem 1.3rem; box-shadow: var(--shadow); }
.term dt { font-family: "Oswald", sans-serif; color: var(--teal); font-size: 1.2rem; }
.term dd { margin: .2rem 0 0; font-size: .95rem; }

.books h3 { margin-top: 2rem; }
.book { padding: 1rem 0; border-bottom: 1px solid var(--grey); }
.book h4 { margin: 0 0 .2rem; }
.book p { margin: 0; color: var(--muted); font-size: .96rem; }

.play { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.2rem; }
.play .goal { font-size: .9rem; background: var(--sand-light); border-radius: 8px; padding: .6rem .8rem; margin-top: auto; }
.play .card { padding: 1.5rem; }
.play .card ul { font-size: .95rem; }

.feelings { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; }
.feelings label { display: inline-flex; gap: .5rem; align-items: center; background: #fff; border: 2px solid var(--grey); border-radius: 999px; padding: .4rem 1rem; cursor: pointer; }
.feelings input { accent-color: var(--teal); width: 1.1rem; height: 1.1rem; }
.feelings label:has(input:checked) { border-color: var(--teal); background: var(--grey); }

.kids { font-size: 1.08rem; }
.kids h2 { color: var(--coral); }

.deco-star { width: 64px; height: 64px; }

/* ---------- Footer ---------- */
.partners-band { background: #fff; padding: 2.5rem 0; border-top: 1px solid var(--grey); }
.partners-band .wrap { display: flex; flex-wrap: wrap; gap: 2.5rem 4rem; align-items: center; justify-content: center; }
.partners-band img { height: 70px; width: auto; }
.partners-band .label { width: 100%; text-align: center; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .12em; color: var(--teal-soft); margin-bottom: -1rem; }
.site-footer { background: var(--teal-dark); color: #d9e6e6; font-size: .93rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding: 3.5rem 0 2.5rem; }
.site-footer h3 { color: #fff; font-size: 1.2rem; }
.site-footer a { color: #fff; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer .bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 1.2rem 0; font-size: .8rem; text-align: center; color: #a9c0c0; }
@media (max-width: 820px) { .site-footer .wrap { grid-template-columns: 1fr; } }

.to-top { position: fixed; right: 1.2rem; bottom: 1.2rem; width: 46px; height: 46px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; text-decoration: none; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .3s; font-size: 1.3rem; }
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { color: #fff; background: var(--teal-dark); }

.pager { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 2rem 0 0; margin-top: 3rem; border-top: 1px solid var(--grey); }
.pager a { text-decoration: none; display: flex; flex-direction: column; }
.pager small { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.pager span { font-family: "Oswald", sans-serif; font-size: 1.3rem; }
.pager .next { text-align: right; margin-left: auto; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ---------- Print ---------- */
@media print {
  body { font-size: 11pt; }
  .topbar, .site-header, .site-footer, .partners-band, .toolbar, .to-top, .pager, .notes-hint, .page-hero figure, .no-print { display: none !important; }
  section { padding: 1rem 0; }
  .page-hero { background: none; }
  .page-hero .wrap { display: block; padding: 0; }
  .qblock, .card, .center-card, .term { box-shadow: none; border: 1px solid #ccc; }
  .box.teal, .tips, .bubble { background: #fff !important; color: #000 !important; border: 2px solid var(--teal); }
  .box.teal strong, .box.teal .box-title, .tips h3 { color: var(--teal) !important; }
  a { color: inherit; text-decoration: none; }
  .note textarea { box-shadow: none; border-bottom: 1px solid #999; }
}
@media (max-width: 760px) { .hero .plane { display: none; } }
