/* ============================================================================
   Profil Institusi — interactive institutional sketchbook (DOM + CSS 3D).
   Ported engine: perspective book, 18-strip page curl, spring page-turn,
   drag-to-turn, three-layer ground shadow, gutter shade, pointer tilt, zoom,
   draggable loupe, intro riffle. NOT Three.js.
   Everything is namespaced .psb-* and scoped to body.profile-sketchbook-page.
   Generic reference selectors (.hero/.about/.rule/…) are deliberately absent.
   ========================================================================== */

body.profile-sketchbook-page .profile-sketchbook {
  --psb-serif: "Roboto Slab", "Newsreader", Georgia, "Times New Roman", serif;
  --psb-sans: "Poppins", "Roboto", Arial, sans-serif;
  --psb-ink: #241f1a;
  --psb-ink-soft: #5b5044;
  --psb-navy: #0a2036;
  --psb-teal: #0a6f92;
  --psb-teal-deep: #04425a;
  --psb-line: #d8c9a5;

  /* engine state — written by profile-sketchbook.js */
  --psb-zoom: 1;
  --psb-rx: 0deg;
  --psb-ry: 0deg;
  --psb-turn: 0;
  --psb-shade: 0;
  --psb-mblur: none;

  position: relative;
  padding: clamp(1rem, 2.5vw, 1.8rem) 0 clamp(1.75rem, 4vw, 3rem);
  background:
    radial-gradient(140% 90% at 50% 0%, #f6efdf 0%, rgba(246, 239, 223, 0) 55%),
    radial-gradient(120% 120% at 50% 120%, #e7dcc2 0%, rgba(231, 220, 194, 0) 60%),
    linear-gradient(180deg, #eef4f5 0%, #f3ece0 45%, #efe6d4 100%);
  overflow: hidden; /* clips book bleed only; the page itself keeps scrolling */
}

body.profile-sketchbook-page .profile-sketchbook a:focus-visible,
body.profile-sketchbook-page .profile-sketchbook button:focus-visible {
  outline: 3px solid var(--psb-teal);
  outline-offset: 3px;
  border-radius: 4px;
}

body.profile-sketchbook-page .psb-eyebrow {
  margin: 0 0 clamp(0.6rem, 2vw, 1.1rem);
  text-align: center;
  font-family: var(--psb-sans);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--psb-ink-soft);
}

body.profile-sketchbook-page .psb-masthead {
  margin: 0 auto clamp(0.9rem, 2.5vw, 1.5rem);
  max-width: 1080px;
  padding: clamp(1.1rem, 3vw, 2rem) clamp(1.25rem, 5vw, 4rem) 0;
  text-align: center;
}
body.profile-sketchbook-page .psb-kicker {
  margin: 0;
  font-family: var(--psb-sans);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--psb-teal-deep);
}
body.profile-sketchbook-page .psb-h1 {
  margin: 0.45rem 0 0;
  font-family: var(--psb-serif);
  font-size: clamp(1.7rem, 4.4vw, 2.7rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--psb-navy);
}

/* ---- stage / 3D scene --------------------------------------------------- */
body.profile-sketchbook-page .psb-wrap {
  position: relative;
  margin-inline: auto;
  /* Height-aware fallback; profile-sketchbook.js refines this from the live
     viewport so the book stays large while caption + actions + tools stay in
     view at ~1440x900 (index may sit just below the fold). */
  width: min(1180px, 78vw, calc((100vh - 15rem) * (1760 / 1240)));
  min-width: min(95vw, 340px);
  touch-action: pan-y;
}
body.profile-sketchbook-page .psb-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1760 / 1240;
  perspective: 1750px;
  perspective-origin: 50% 46%;
}
body.profile-sketchbook-page .psb-scale {
  position: absolute;
  inset: 0;
  transform: scale(var(--psb-zoom));
  transform-origin: 50% 52%;
  transform-style: preserve-3d;
}
body.profile-sketchbook-page .psb-tilt {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(var(--psb-rx)) rotateY(var(--psb-ry));
  will-change: transform;
}
body.profile-sketchbook-page .psb-book {
  position: absolute;
  inset: 6% 4%;
  transform-style: preserve-3d;
}

/* ---- three-layer ground shadow -------------------------------------- */
body.profile-sketchbook-page .psb-cast {
  position: absolute;
  left: 50%;
  bottom: -7%;
  translate: -50% 0;
  border-radius: 50%;
  pointer-events: none;
}
body.profile-sketchbook-page .psb-cast--ambient {
  width: 116%;
  height: 26%;
  background: radial-gradient(closest-side, rgba(30, 22, 8, 0.34), rgba(30, 22, 8, 0) 72%);
  filter: blur(14px);
  opacity: calc(0.85 - var(--psb-shade) * 0.18);
}
body.profile-sketchbook-page .psb-cast--contact {
  width: 88%;
  height: 15%;
  bottom: -3.5%;
  background: radial-gradient(closest-side, rgba(20, 14, 4, 0.5), rgba(20, 14, 4, 0) 70%);
  filter: blur(6px);
  opacity: calc(0.9 - var(--psb-shade) * 0.4);
  scale: calc(1 - var(--psb-shade) * 0.08) 1;
}
body.profile-sketchbook-page .psb-cast--hair {
  width: 70%;
  height: 5%;
  bottom: -1%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0) 75%);
  filter: blur(2px);
  opacity: calc(0.7 + var(--psb-shade) * 0.15);
}

/* ---- static halves ------------------------------------------------- */
body.profile-sketchbook-page .psb-half {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  overflow: hidden;
  background: #f4ecd8;
  box-shadow: inset 0 0 0 1px rgba(120, 100, 60, 0.18);
  backface-visibility: hidden;
}
body.profile-sketchbook-page .psb-half--left { left: 0; border-radius: 5px 2px 2px 5px; }
body.profile-sketchbook-page .psb-half--right { left: 50%; border-radius: 2px 8px 8px 2px; }
body.profile-sketchbook-page .psb-full {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-size: 200% 100%;
}
body.profile-sketchbook-page .psb-half--left .psb-full { background-position: 0% 50%; }
body.profile-sketchbook-page .psb-half--right .psb-full { background-position: 100% 50%; }

/* directional shadow the lifting leaf casts into the gutter */
body.profile-sketchbook-page .psb-gutter-shade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 34%;
  pointer-events: none;
  opacity: calc(var(--psb-turn) * 0.9);
}
body.profile-sketchbook-page .psb-half--left .psb-gutter-shade {
  right: 0;
  background: linear-gradient(90deg, rgba(20, 14, 4, 0) 0%, rgba(20, 14, 4, 0.32) 100%);
}
body.profile-sketchbook-page .psb-half--right .psb-gutter-shade {
  left: 0;
  background: linear-gradient(270deg, rgba(20, 14, 4, 0) 0%, rgba(20, 14, 4, 0.22) 100%);
}

/* spine */
body.profile-sketchbook-page .psb-book::after {
  content: "";
  position: absolute;
  top: -1%;
  bottom: -1%;
  left: 50%;
  width: 4.4%;
  translate: -50% 0;
  background: linear-gradient(90deg, rgba(20, 14, 4, 0) 0%, rgba(20, 14, 4, 0.13) 46%, rgba(20, 14, 4, 0.13) 54%, rgba(20, 14, 4, 0) 100%);
  filter: blur(1px);
  pointer-events: none;
}

/* ---- turning leaf: 18 curl strips --------------------------------- */
body.profile-sketchbook-page .psb-curl {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 50%;
  transform-style: preserve-3d;
  transform-origin: left center;
  pointer-events: none;
  filter: var(--psb-mblur);
  opacity: 0;
}
body.profile-sketchbook-page .psb-curl.is-turning { opacity: 1; }
body.profile-sketchbook-page .psb-strip {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: calc(100% / 18 + 0.6px); /* hairline overlap kills seams */
  transform-origin: left center;
  transform-style: preserve-3d;
  transform: translate3d(var(--sx, 0px), 0, var(--sz, 0px)) rotateY(var(--srot, 0deg));
}
body.profile-sketchbook-page .psb-face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  backface-visibility: hidden;
  background-repeat: no-repeat;
  background-size: 3600% 100%; /* full 2-page spread mapped across one 1/18 strip */
}
body.profile-sketchbook-page .psb-face--back { transform: rotateY(180deg); }
body.profile-sketchbook-page .psb-curl--prev {
  left: 0;
  transform-origin: right center;
}
/* per-strip lighting: 1 = face-on to light, 0 = edge-on */
body.profile-sketchbook-page .psb-face::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, calc(var(--a1, 0) * 0.5)), rgba(255, 255, 255, 0) 40%),
    rgba(15, 10, 3, calc((1 - var(--lit, 1)) * 0.55));
}
body.profile-sketchbook-page .psb-face--back::after {
  background:
    linear-gradient(270deg, rgba(255, 255, 255, calc(var(--a2, 0) * 0.45)), rgba(255, 255, 255, 0) 42%),
    rgba(15, 10, 3, calc((1 - var(--lit, 1)) * 0.6));
}

/* ---- invisible drag zones --------------------------------------- */
body.profile-sketchbook-page .psb-zone {
  position: absolute;
  top: 4%;
  bottom: 4%;
  width: 46%;
  z-index: 4;
  cursor: grab;
  touch-action: pan-y;
}
body.profile-sketchbook-page .psb-zone:active { cursor: grabbing; }
body.profile-sketchbook-page .psb-zone--left { left: 3%; }
body.profile-sketchbook-page .psb-zone--right { right: 3%; }
body.profile-sketchbook-page .profile-sketchbook:not(.is-enhanced) .psb-zone { display: none; }

/* ---- arrows (restrained line chevrons) ------------------------- */
body.profile-sketchbook-page .psb-arrow {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  z-index: 6;
  display: grid;
  place-items: center;
  width: 44px;
  height: 64px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--psb-navy);
  cursor: pointer;
}
body.profile-sketchbook-page .psb-arrow svg { width: 22px; height: 22px; }
body.profile-sketchbook-page .psb-arrow::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  opacity: 0;
  transition: opacity 0.18s ease;
}
body.profile-sketchbook-page .psb-arrow:hover::before { opacity: 1; }
body.profile-sketchbook-page .psb-arrow:disabled { opacity: 0.28; cursor: default; }
body.profile-sketchbook-page .psb-arrow--prev { left: -14px; }
body.profile-sketchbook-page .psb-arrow--next { right: -14px; }
body.profile-sketchbook-page .profile-sketchbook:not(.is-enhanced) .psb-arrow { display: none; }

/* ---- hint ---------------------------------------------------- */
body.profile-sketchbook-page .psb-hint {
  position: absolute;
  left: 50%;
  bottom: -2.6rem;
  translate: -50% 0;
  margin: 0;
  font-family: var(--psb-sans);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: var(--psb-ink-soft);
  text-align: center;
  transition: opacity 0.4s ease;
}
body.profile-sketchbook-page .psb-hint.is-hidden { opacity: 0; }
body.profile-sketchbook-page .profile-sketchbook:not(.is-enhanced) .psb-hint { display: none; }

/* ---- caption ---------------------------------------------------- */
body.profile-sketchbook-page .psb-caption {
  margin: clamp(1.2rem, 3vw, 1.9rem) 0 0;
  text-align: center;
  font-family: var(--psb-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--psb-ink-soft);
  transition: opacity 0.28s ease;
}
body.profile-sketchbook-page .psb-caption.is-fading { opacity: 0; }

/* ---- tools (zoom + loupe toggle) — one compact warm-paper cluster --- */
body.profile-sketchbook-page .psb-tools {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  width: fit-content;
  margin: 0.8rem auto 0;
  padding: 0.2rem;
  border: 1px solid var(--psb-line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.5);
  font-family: var(--psb-sans);
}
body.profile-sketchbook-page .psb-tools button {
  min-width: 44px;
  min-height: 40px;
  padding: 0 0.8rem;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--psb-navy);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
}
body.profile-sketchbook-page .psb-tools button:hover { background: rgba(10, 111, 146, 0.1); }
body.profile-sketchbook-page .psb-tools button[aria-pressed="true"] {
  background: rgba(10, 111, 146, 0.14);
  color: var(--psb-teal-deep);
  box-shadow: inset 0 0 0 1px var(--psb-teal);
}
body.profile-sketchbook-page .psb-zoom-value {
  min-width: 3.4rem;
  text-align: center;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--psb-ink-soft);
}
body.profile-sketchbook-page .profile-sketchbook:not(.is-enhanced) .psb-tools { display: none; }

/* ---- page index ---------------------------------------------- */
body.profile-sketchbook-page .psb-index {
  margin: clamp(1.5rem, 4vw, 2.5rem) auto 0;
  width: min(560px, 92vw);
}
body.profile-sketchbook-page .psb-index ol {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--psb-line);
}
body.profile-sketchbook-page .psb-index a {
  display: flex;
  gap: 1rem;
  align-items: baseline;
  width: 100%;
  min-height: 44px;
  padding: 0.7rem 0.4rem;
  border: 0;
  border-bottom: 1px solid var(--psb-line);
  background: none;
  font-family: var(--psb-serif);
  font-size: 1rem;
  color: var(--psb-navy);
  text-align: left;
  text-decoration: none;
  box-sizing: border-box;
  cursor: pointer;
}
body.profile-sketchbook-page .psb-index a span {
  font-family: var(--psb-sans);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--psb-teal-deep);
}
body.profile-sketchbook-page .psb-index a:hover { color: var(--psb-teal); }
body.profile-sketchbook-page .psb-index a[aria-current="true"] {
  color: var(--psb-teal-deep);
  font-weight: 600;
}
body.profile-sketchbook-page .psb-index a[aria-current="true"] span {
  color: var(--psb-teal);
}
body.profile-sketchbook-page .psb-index a[aria-current="true"] span::before {
  content: "▸ ";
}

/* ---- contextual action rail — quiet editorial links, below the caption --- */
body.profile-sketchbook-page .psb-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.1rem 1.4rem;
  margin: 0.7rem auto 0;
  width: min(760px, 92vw);
  transition: opacity 0.24s ease;
}
body.profile-sketchbook-page .psb-actions[hidden] { display: none; }
body.profile-sketchbook-page .profile-sketchbook.is-turning .psb-actions {
  opacity: 0;
  pointer-events: none;
}
body.profile-sketchbook-page .psb-action {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 44px;
  padding: 0.35rem 0.15rem;
  border: 0;
  background: none;
  font-family: var(--psb-sans);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--psb-teal-deep);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
}
body.profile-sketchbook-page .psb-action::after {
  content: "↗";
  font-size: 0.82em;
  color: var(--psb-teal);
}
body.profile-sketchbook-page button.psb-action::after { content: "→"; }
body.profile-sketchbook-page .psb-action:hover {
  color: var(--psb-navy);
  border-bottom-color: var(--psb-teal);
}
body.profile-sketchbook-page .profile-sketchbook:not(.is-enhanced) .psb-actions {
  margin-top: 0.5rem;
}

/* ---- loupe / magnifying glass (fine pointer only) ------------ */
body.profile-sketchbook-page .psb-loupe {
  --psb-loupe-d: 160px;
  --psb-ring: 10px;
  position: absolute;
  left: 0;
  top: 0;
  width: var(--psb-loupe-d);
  height: var(--psb-loupe-d);
  z-index: 8;
  translate: var(--lx, 40px) var(--ly, 40px);
  cursor: grab;
  pointer-events: auto;
}
body.profile-sketchbook-page .psb-loupe:active { cursor: grabbing; }
body.profile-sketchbook-page .psb-loupe[hidden] { display: none; }
body.profile-sketchbook-page .psb-loupe__zoomwrap {
  position: absolute;
  inset: var(--psb-ring);
  border-radius: 50%;
  overflow: hidden;
  background: #f4ecd8;
  box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.35);
}
body.profile-sketchbook-page .psb-loupe__zoominner {
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: 0 0;
  will-change: transform;
}
body.profile-sketchbook-page .psb-loupe__zoominner .psb-half {
  box-shadow: none;
  border-radius: 0;
}
body.profile-sketchbook-page .psb-loupe__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, #fdf6e6, #caa85f 42%, #7a5a24 66%, #4a3512 82%, #2c1e0a 100%);
  -webkit-mask:
    radial-gradient(circle, transparent calc(50% - var(--psb-ring)), #000 calc(50% - var(--psb-ring) + 1px));
  mask:
    radial-gradient(circle, transparent calc(50% - var(--psb-ring)), #000 calc(50% - var(--psb-ring) + 1px));
  box-shadow: 0 14px 30px -14px rgba(7, 22, 47, 0.55);
}
body.profile-sketchbook-page .psb-loupe__lens {
  position: absolute;
  inset: var(--psb-ring);
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0) 34%),
    radial-gradient(circle at 70% 78%, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 40%);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.28), inset 0 0 22px rgba(10, 40, 70, 0.26);
  pointer-events: none;
}
body.profile-sketchbook-page .psb-loupe__handle {
  position: absolute;
  right: -14px;
  bottom: -14px;
  width: 54px;
  height: 20px;
  border-radius: 11px;
  background: linear-gradient(180deg, #d8b874, #6f5020 62%, #3c2b0e);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 6px 12px -7px rgba(7, 22, 47, 0.5);
  transform: rotate(45deg);
  transform-origin: left center;
}

/* ============================================================================
   Semantic fallback / appendix — full readable profile. Visually quiet, never
   competes with the book; becomes the whole experience with no JS / no engine.
   ========================================================================== */
body.profile-sketchbook-page .pb-appendix {
  padding-block: clamp(2.5rem, 7vw, 4.5rem);
  border-top: 1px solid var(--psb-line);
  background: #fbf9f3;
}
body.profile-sketchbook-page .pb-appendix__inner {
  box-sizing: border-box;
  margin-inline: auto;
  max-width: 1080px;
  padding-inline: clamp(1.25rem, 5vw, 4rem);
}
body.profile-sketchbook-page .pb-appendix__label {
  margin: 0;
  font-family: var(--psb-sans);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--psb-teal-deep);
}
body.profile-sketchbook-page .pb-appendix__title {
  margin: 0.5rem 0 0;
  font-family: var(--psb-serif);
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
  color: var(--psb-navy);
}
body.profile-sketchbook-page .pb-appendix__text {
  margin: 0.6rem 0 0;
  max-width: 44rem;
  font-family: var(--psb-sans);
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--psb-ink-soft);
}
body.profile-sketchbook-page .pb-appendix__prose {
  margin: 0.8rem 0 0;
  max-width: 46rem;
  font-family: var(--psb-sans);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--psb-ink);
}
body.profile-sketchbook-page .pb-appendix__prose + .pb-appendix__text { margin-top: 0.8rem; }
body.profile-sketchbook-page .pb-appendix__section { margin-top: clamp(2rem, 5vw, 3rem); }
body.profile-sketchbook-page .pb-appendix__section h3 {
  margin: 0 0 0.8rem;
  font-family: var(--psb-serif);
  font-size: 1.3rem;
  color: var(--psb-navy);
}
body.profile-sketchbook-page .pb-facts {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  margin: 0;
}
body.profile-sketchbook-page .pb-facts > div {
  padding: 1rem 1.1rem;
  background: #fffdf7;
  border: 1px solid var(--psb-line);
  border-radius: 3px 10px 10px 3px;
}
body.profile-sketchbook-page .pb-facts dt {
  font-family: var(--psb-sans);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--psb-ink-soft);
}
body.profile-sketchbook-page .pb-facts dd {
  margin: 0.3rem 0 0;
  font-family: var(--psb-serif);
  font-size: 1.05rem;
  color: var(--psb-navy);
  overflow-wrap: anywhere;
}
body.profile-sketchbook-page .pb-fallback-programs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}
body.profile-sketchbook-page .pb-fallback-programs a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  min-height: 44px;
  align-items: center;
  padding: 0.7rem 1rem;
  background: #fffdf7;
  border: 1px solid var(--psb-line);
  border-radius: 3px 10px 10px 3px;
  font-family: var(--psb-sans);
  font-weight: 700;
  color: var(--psb-navy);
  text-decoration: none;
}
body.profile-sketchbook-page .pb-fallback-programs a:hover { border-color: var(--psb-teal); color: var(--psb-teal-deep); }
body.profile-sketchbook-page .pb-appendix .site-documents {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  margin-top: 1rem;
}

/* ---- responsive --------------------------------------------------- */
@media (max-width: 900px) {
  body.profile-sketchbook-page .psb-wrap { width: min(680px, 96vw); }
}
@media (max-width: 640px) {
  body.profile-sketchbook-page .psb-wrap { width: 100%; }
  body.profile-sketchbook-page .psb-stage { perspective: 1200px; }
  body.profile-sketchbook-page .psb-arrow--prev { left: -2px; background: rgba(255,255,255,.5); border-radius: 50%; }
  body.profile-sketchbook-page .psb-arrow--next { right: -2px; background: rgba(255,255,255,.5); border-radius: 50%; }
  body.profile-sketchbook-page .psb-loupe { display: none !important; }
  body.profile-sketchbook-page .psb-hint { position: static; translate: none; margin-top: 1rem; }
  body.profile-sketchbook-page .psb-actions { width: 100%; flex-direction: column; align-items: stretch; }
  body.profile-sketchbook-page .psb-action { justify-content: space-between; }
}
@media (pointer: coarse) {
  body.profile-sketchbook-page .psb-loupe { display: none !important; }
}

/* ---- reduced motion ------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  body.profile-sketchbook-page .profile-sketchbook * { transition: none !important; }
  body.profile-sketchbook-page .psb-tilt { transform: none !important; }
  body.profile-sketchbook-page .psb-curl { filter: none !important; }
}

/* ---- single-section page (/profil/{section}) ----------------------------- */
body.profile-sketchbook-page .psb-section-page .pb-appendix { border-top: 0; }
body.profile-sketchbook-page .psb-section-page .pb-appendix__title { margin-top: 0.35rem; }
body.profile-sketchbook-page .psb-section-page .pb-appendix__section { margin-top: 1.5rem; }
body.profile-sketchbook-page .psb-pager {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.75rem;
  align-items: center;
  margin-top: clamp(2rem, 5vw, 3rem);
  padding-top: 1.25rem;
  border-top: 1px solid var(--psb-line);
  font-family: var(--psb-sans);
}
body.profile-sketchbook-page .psb-pager a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--psb-teal-deep);
  font-weight: 700;
  text-decoration: none;
}
body.profile-sketchbook-page .psb-pager a:hover { color: var(--psb-teal); }
body.profile-sketchbook-page .psb-pager__next { justify-self: end; text-align: right; }
body.profile-sketchbook-page .psb-pager__book { justify-self: center; font-size: 0.85rem; }
@media (max-width: 560px) {
  body.profile-sketchbook-page .psb-pager { grid-template-columns: 1fr 1fr; }
  body.profile-sketchbook-page .psb-pager__book { grid-column: 1 / -1; grid-row: 1; justify-self: start; }
}
