/* ==========================================================================
   Soul Search Counseling — Studio (owner workspace)
   Shared stylesheet for /studio/ pages.
   Brand tokens mirror the public site's palette & type.
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500;600;700&family=Mrs+Saint+Delafield&display=swap");

:root {
  --navy: #0d1b34;
  --navy-2: #10233f;
  --ink: #161a20;
  --ink-soft: #4a5160;
  --cream: #f4f1ea;
  --cream-2: #efe9dd;
  --paper: #eae4d9;
  --gold: #c9a558;
  --gold-2: #e2c27e;
  --coral: #e8442f;
  --coral-dark: #cf3421;
  --pink: #f6d3cb;
  --sand: #e6dfae;
  --sky: #cfe3ee;
  --violet: #5b3b96;
  --violet-2: #7a55c4;
  --star: #f2d27a;
  --line: rgba(13, 27, 52, 0.12);
  --shadow: 0 18px 50px -22px rgba(13, 27, 52, 0.4);
  --radius: 18px;
  --wrap: 1240px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-script: "Mrs Saint Delafield", "Cormorant Garamond", cursive;

  --rail: 236px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.005em;
  margin: 0;
  line-height: 1.1;
}

p { margin: 0; }

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Brand components (shared with public site) ---------- */

.btn {
  --btn-bg: var(--coral);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 0.78em 1.5em;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background .25s ease, transform .25s ease, box-shadow .25s ease, color .25s ease, border-color .25s ease;
  box-shadow: 0 10px 24px -14px rgba(232, 68, 47, .9);
}
.btn:hover { background: var(--coral-dark); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--navy {
  --btn-bg: var(--navy);
  box-shadow: 0 12px 26px -16px rgba(13, 27, 52, .9);
}
.btn--navy:hover { background: var(--navy-2); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--navy);
  border-color: var(--line);
  box-shadow: none;
}
.btn--ghost:hover { background: rgba(13, 27, 52, .06); border-color: rgba(13, 27, 52, .24); }

.btn--violet {
  --btn-bg: var(--violet);
  box-shadow: 0 12px 26px -16px rgba(91, 59, 150, .85);
}
.btn--violet:hover { background: var(--violet-2); }

.btn--sm { padding: 0.55em 1.1em; font-size: 0.74rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  color: var(--violet);
  font-weight: 500;
  font-size: .82rem;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, color .2s ease, gap .2s ease;
}
.link-arrow:hover { border-color: currentColor; gap: .65em; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: .35em;
  padding: .22em .7em;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: rgba(13, 27, 52, .07);
  color: var(--navy);
}
.tag--gold { background: rgba(201, 165, 88, .22); color: #8a6d24; }
.tag--violet { background: rgba(91, 59, 150, .13); color: var(--violet); }
.tag--coral { background: rgba(232, 68, 47, .12); color: var(--coral-dark); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ==========================================================================
   Shell
   ========================================================================== */

.studio {
  display: grid;
  grid-template-columns: var(--rail) minmax(0, 1fr);
  min-height: 100vh;
}

/* ---------- Sidebar ---------- */

.rail {
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.55rem 1rem 1.4rem;
  background: var(--navy);
  color: var(--cream);
  border-right: 1px solid var(--navy-2);
  z-index: 60;
}

.brand {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  padding: 0 .5rem .4rem;
}
.brand__mark {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  margin-top: .1rem;
}
.brand__text {
  font-family: var(--font-display);
  line-height: .92;
  color: var(--cream);
}
.brand__text small {
  display: block;
  font-family: var(--font-body);
  font-size: .52rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, .6);
  margin-bottom: .18rem;
}
.brand__star { width: 11px; height: 11px; fill: var(--gold); flex: 0 0 auto; }
.brand__text strong {
  font-weight: 500;
  font-size: 1.62rem;
  letter-spacing: -.01em;
  display: block;
}

.rail__nav {
  display: flex;
  flex-direction: column;
  gap: .12rem;
  overflow-y: auto;
  flex: 1 1 auto;
  min-height: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(244,241,234,.28) transparent;
  margin-right: -2px;
  padding-right: 2px;
}
.rail__nav::-webkit-scrollbar { width: 4px; }
.rail__nav::-webkit-scrollbar-thumb { background: rgba(244,241,234,.22); border-radius: 4px; }

.rail__link {
  display: flex;
  align-items: center;
  gap: .68rem;
  padding: .56rem .66rem;
  border-radius: 9px;
  font-size: .795rem;
  font-weight: 450;
  color: rgba(244, 241, 234, .82);
  border: 1px solid transparent;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
  position: relative;
}
.rail__link svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  opacity: .8;
}
.rail__link:hover { background: rgba(244, 241, 234, .1); color: var(--cream); }
.rail__link[aria-current="page"] {
  background: rgba(244, 241, 234, .12);
  color: var(--cream);
  border-color: rgba(201, 165, 88, .5);
  font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(201, 165, 88, .12);
}
.rail__link[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: -1rem;
  top: .45rem;
  bottom: .45rem;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--gold);
}
.rail__link[aria-current="page"] svg { opacity: 1; stroke: var(--gold-2); }

.rail__link--sub { padding-left: 1.9rem; font-size: .76rem; color: rgba(244, 241, 234, .7); }

/* “Binnenkort” items: present but muted and inert */
.rail__link--soon {
  cursor: default;
  color: rgba(244, 241, 234, .45);
}
.rail__link--soon:hover { background: rgba(244, 241, 234, .06); color: rgba(244, 241, 234, .55); }
.rail__link--soon svg { opacity: .5; }
.rail__soon {
  margin-left: auto;
  font-size: .52rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .16em .45em;
  border-radius: 4px;
  border: 1px solid rgba(244, 241, 234, .2);
  background: rgba(244, 241, 234, .07);
  color: rgba(244, 241, 234, .6);
  white-space: nowrap;
}

.rail__foot {
  border-top: 1px solid rgba(244, 241, 234, .14);
  padding: 1rem .5rem 0;
  display: flex;
  flex-direction: column;
  gap: .7rem;
  flex: 0 0 auto;
}
.rail__note {
  font-size: .72rem;
  line-height: 1.45;
  color: rgba(244, 241, 234, .62);
  max-width: 19ch;
}
.rail__me {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .74rem;
  color: var(--cream);
  font-weight: 500;
}
.rail__me img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(201, 165, 88, .7);
}

/* ---------- Mobile topbar / menu button ---------- */

/* Only used below 900px — above that the sidebar is always visible. */
.topbar__hamburger {
  display: none;
  align-items: center;
  gap: .5rem;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: .45rem .7rem;
  font-size: .76rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
}
.topbar__hamburger svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.7; fill: none; }

.scrim {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(13, 27, 52, .42);
  backdrop-filter: blur(2px);
  z-index: 55;
  opacity: 0;
  transition: opacity .3s ease;
}
.scrim.is-open { opacity: 1; }

/* ==========================================================================
   Main workspace
   ========================================================================== */

.work {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 372px;
  min-height: 100vh;
  background: var(--cream);
}

.work__main {
  padding: 1.9rem 2.1rem 2.6rem;
  min-width: 0;
  overflow-x: clip;
}

/* Single-column workspace (pages without the visual column) */
.work--solo { grid-template-columns: minmax(0, 1fr); }
.work--plain { grid-template-columns: minmax(0, 1fr); }
.work--plain .work__main { max-width: 1080px; }

/* ---------- Page head ---------- */

.pagehead { margin-bottom: 1.3rem; }
.pagehead h1 {
  font-size: clamp(1.9rem, 3.1vw, 2.55rem);
  font-weight: 500;
  letter-spacing: -.015em;
  line-height: 1.06;
}
.pagehead__tagline {
  font-size: .84rem;
  color: var(--ink-soft);
  margin-top: .28rem;
}
.pagehead__greet {
  margin-top: .85rem;
  font-size: .78rem;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: .4rem;
  flex-wrap: wrap;
}
.pagehead__greet strong { color: var(--navy); font-weight: 600; }

/* ---------- Stat strip ---------- */

.stats {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .95rem 1.05rem 1rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .2rem 1.1rem;
  position: relative;
  overflow: hidden;
}
.stat { position: relative; padding-right: .9rem; }
.stat + .stat::before {
  content: "";
  position: absolute;
  left: -.55rem;
  top: .15rem;
  bottom: .15rem;
  width: 1px;
  background: var(--line);
}
.stat__label {
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.stat__value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  line-height: 1.12;
  color: var(--navy);
  margin-top: .12rem;
  display: flex;
  align-items: baseline;
  gap: .3rem;
}
.stat__value em {
  font-style: normal;
  font-family: var(--font-body);
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
}
.stat__meta {
  font-size: .68rem;
  color: var(--ink-soft);
  margin-top: .1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.statbar {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
  margin-top: .9rem;
}
.meter {
  height: 4px;
  border-radius: 99px;
  background: rgba(13, 27, 52, .09);
  overflow: hidden;
}
.meter span {
  display: block;
  height: 100%;
  border-radius: 99px;
  width: 0;
  transition: width 1.2s cubic-bezier(.22, .8, .28, 1);
}
.meter--violet span { background: var(--violet); }
.meter--gold span { background: var(--gold); }
.meter--coral span { background: var(--coral); }
.meter--sky span { background: #7aa9c9; }

.statbar__note {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .68rem;
  color: var(--ink-soft);
  margin-top: .1rem;
}
.statbar__note svg { width: 12px; height: 12px; fill: var(--star); stroke: var(--gold); stroke-width: 1; }
.statbar__note b { color: var(--navy); font-weight: 600; }

/* ---------- Section headings ---------- */

.block { margin-top: 1.5rem; }
.block__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .6rem;
}
.block__head h2 {
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: -.01em;
}
.block__head .link-arrow { font-size: .74rem; }

/* ---------- Grid: table + stack ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(0, .86fr);
  gap: 1rem;
  align-items: start;
}

/* ---------- Content table ---------- */

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.panel--pad { padding: 1rem 1.05rem; }

.panel__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .8rem 1rem .55rem;
}
.panel__top h3 {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: .01em;
}
.iconbtn {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  color: var(--ink-soft);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.iconbtn svg { width: 13px; height: 13px; stroke: currentColor; stroke-width: 1.6; fill: none; }
.iconbtn:hover { background: var(--cream); color: var(--navy); border-color: rgba(13,27,52,.24); }

.table { width: 100%; border-collapse: collapse; }
.table thead th {
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-align: left;
  padding: .38rem .4rem;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.table thead th:first-child { padding-left: 1rem; width: 1%; }
.table thead th:last-child { text-align: right; padding-right: 1rem; }
.table tbody td {
  padding: .42rem .4rem;
  border-bottom: 1px solid rgba(13, 27, 52, .06);
  font-size: .755rem;
  color: var(--ink);
  vertical-align: middle;
}
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody td:first-child { padding-left: .55rem; width: 1%; }
.table tbody td:last-child { text-align: right; padding-right: 1rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; white-space: nowrap; }
.table__thumb {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid rgba(13, 27, 52, .1);
  background: var(--paper);
}
.table__title { font-weight: 500; }
.table__kind { color: var(--ink-soft); font-size: .7rem; }
.table tbody tr { transition: background .2s ease; }
.table tbody tr:hover { background: rgba(244, 241, 234, .8); }

.stars { display: inline-flex; gap: 1px; color: var(--gold); letter-spacing: -.05em; font-size: .68rem; }
.stars--muted { color: rgba(13,27,52,.18); }

.pill-thumb {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: var(--paper);
  font-size: .55rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--navy);
  border: 1px solid rgba(13, 27, 52, .1);
}

.panel__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
  padding: .6rem 1rem;
  border-top: 1px solid var(--line);
  font-size: .7rem;
  color: var(--ink-soft);
}

/* ---------- Stacked cards ---------- */

.stack { display: grid; gap: 1rem; }

.tile {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 1rem 1.1rem 1.1rem;
  position: relative;
  overflow: hidden;
}
.tile h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .5rem;
  line-height: 1.22;
}
.tile__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
  padding: .3rem 0;
  font-size: .78rem;
  color: var(--ink);
  border-bottom: 1px solid rgba(13, 27, 52, .07);
  transition: color .2s ease, padding-left .2s ease;
}
.tile__link:last-child { border-bottom: 0; }
.tile__link svg { width: 12px; height: 12px; stroke: currentColor; stroke-width: 1.7; fill: none; opacity: .55; }
.tile__link:hover { color: var(--violet); padding-left: .3rem; }
.tile__link:hover svg { opacity: 1; }

.tile--sky { background: var(--sky); border-color: rgba(13, 27, 52, .1); }
.tile--sky .tile__link { border-color: rgba(13, 27, 52, .1); }

.tile--sand {
  background: linear-gradient(180deg, #f7f3e2, #efe9cf);
  border-color: rgba(201, 165, 88, .38);
}
.tile--sand h3 { font-family: var(--font-script); font-size: 2rem; font-weight: 400; line-height: 1; }

.tile--pink {
  background: linear-gradient(180deg, #fbe4de, #f4cfc5);
  border-color: rgba(232, 68, 47, .18);
  display: flex;
  flex-direction: column;
  gap: .8rem;
}

.tile__rows { display: grid; gap: .18rem; font-size: .76rem; color: var(--ink); }
.tile__rows em { font-family: var(--font-display); font-style: italic; color: var(--ink-soft); }
.tile__corner {
  position: absolute;
  top: .7rem;
  right: .85rem;
  font-size: .64rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.tile__people {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-top: .75rem;
}
.tile__avatars { display: flex; }
.tile__avatars img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  object-fit: cover;
  border: 2px solid #fff;
  margin-left: -9px;
  box-shadow: 0 4px 12px -6px rgba(13, 27, 52, .5);
}
.tile__avatars img:first-child { margin-left: 0; }
.tile__people strong { display: block; font-size: .76rem; font-weight: 600; color: var(--navy); }
.tile__people span { font-size: .66rem; color: var(--ink-soft); display: inline-flex; align-items: center; gap: .2rem; }

.badge-row { display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; margin-top: .8rem; }
.badge-mini {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .2em .55em;
  border-radius: 5px;
  border: 1px solid rgba(13, 27, 52, .14);
  background: rgba(255, 255, 255, .5);
  color: var(--ink-soft);
}

/* ---------- Row of three tiles ---------- */

.trio {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, .82fr) minmax(0, 1.36fr);
  gap: 1rem;
  margin-top: 1rem;
  align-items: stretch;
}

.promo {
  border-radius: 16px;
  background: var(--navy);
  color: var(--cream);
  padding: 1rem 1.05rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 138px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--navy-2);
}
.promo::after {
  content: "";
  position: absolute;
  inset: -40% -20% auto auto;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 165, 88, .35), transparent 70%);
}
.promo__title {
  font-family: var(--font-display);
  font-size: 1.22rem;
  line-height: 1.02;
  letter-spacing: .01em;
  position: relative;
  z-index: 1;
}
.promo__title span { color: var(--gold-2); }
.promo__script {
  font-family: var(--font-script);
  font-size: 1.42rem;
  color: var(--gold-2);
  line-height: .8;
  position: relative;
  z-index: 1;
}

.requests {
  border-radius: 16px;
  background: #f8f5ec;
  border: 1px solid var(--line);
  padding: 1rem 1.05rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: .7rem;
  min-height: 138px;
}
.requests h3 { font-size: 1.02rem; font-weight: 600; line-height: 1.2; }
.requests p { font-size: .74rem; color: var(--ink-soft); }

.coming {
  border-radius: 16px;
  background: linear-gradient(120deg, #f9e2db 0%, #f6d3cb 55%, #f2c8bf 100%);
  border: 1px solid rgba(232, 68, 47, .16);
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: .8rem;
  min-height: 138px;
  position: relative;
  overflow: hidden;
}
.coming::before {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -50px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 68, 47, .16), transparent 70%);
}
.coming__row { display: flex; align-items: flex-start; justify-content: space-between; gap: .6rem; }
.coming h3 { font-size: 1.02rem; font-weight: 600; color: #7a2519; }
.coming__corner { font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(122, 37, 25, .6); }
.coming .btn { align-self: flex-start; position: relative; z-index: 1; }
.coming__copy { font-size: .78rem; color: #7a2519; max-width: 44ch; line-height: 1.45; }
.coming__btn { margin-top: .8rem; }

.signature {
  font-family: var(--font-script);
  font-size: 1.52rem;
  color: var(--navy);
  text-align: right;
  margin-top: .7rem;
  opacity: .85;
}

/* ==========================================================================
   Right visual column
   ========================================================================== */

.work__visual {
  position: relative;
  background: var(--paper);
  border-left: 1px solid var(--line);
  overflow: hidden;
  min-height: 100%;
}

.visual__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 28%;
  transform: scale(1.02);
  transition: transform .9s cubic-bezier(.22, .8, .28, 1);
}
.visual__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(13, 27, 52, .06) 0%, rgba(13, 27, 52, 0) 38%, rgba(13, 27, 52, .28) 100%);
}

.quotecard {
  position: absolute;
  left: 1.1rem;
  bottom: 1.1rem;
  right: 1.1rem;
  background: rgba(244, 241, 234, .94);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 16px;
  padding: 1rem 1.15rem 1.05rem;
  box-shadow: 0 24px 50px -28px rgba(13, 27, 52, .8);
}
.quotecard__eyebrow {
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .35rem;
}
.quotecard p {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-style: italic;
  line-height: 1.3;
  color: var(--navy);
}
.quotecard__by {
  margin-top: .55rem;
  font-family: var(--font-body);
  font-size: .68rem;
  font-style: normal;
  letter-spacing: .04em;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: .4rem;
}
.quotecard__by::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--gold);
}

.visual__scribble {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  font-family: var(--font-script);
  font-size: 1.6rem;
  color: rgba(244, 241, 234, .92);
  text-shadow: 0 2px 14px rgba(13, 27, 52, .45);
}

/* ---------- Topbar strip inside main ---------- */

.strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}
.strip__tools { display: flex; align-items: center; gap: .5rem; }

.searchbox {
  display: flex;
  align-items: center;
  gap: .45rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .4rem .8rem;
  min-width: 210px;
}
.searchbox svg { width: 14px; height: 14px; stroke: var(--ink-soft); stroke-width: 1.7; fill: none; flex: 0 0 auto; }
.searchbox input {
  border: 0;
  background: transparent;
  font: inherit;
  font-size: .78rem;
  color: var(--ink);
  width: 100%;
  outline: none;
}
.searchbox input::placeholder { color: rgba(74, 81, 96, .7); }
.searchbox:focus-within { border-color: rgba(91, 59, 150, .5); box-shadow: 0 0 0 3px rgba(91, 59, 150, .1); }

.avatar-btn {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .22rem .7rem .22rem .22rem;
  cursor: pointer;
  font-size: .74rem;
  font-weight: 500;
  color: var(--navy);
  transition: border-color .2s ease, background .2s ease;
}
.avatar-btn img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.avatar-btn:hover { border-color: rgba(13, 27, 52, .26); background: var(--cream); }

/* ==========================================================================
   Reveal motion
   ========================================================================== */

[data-reveal],
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s cubic-bezier(.22, .8, .28, 1), transform .7s cubic-bezier(.22, .8, .28, 1);
  will-change: opacity, transform;
}
[data-reveal].is-in,
.reveal.is-in {
  opacity: 1;
  transform: none;
  will-change: auto;
}

.hero-fade {
  animation: riseIn .8s cubic-bezier(.22, .8, .28, 1) both;
}
@keyframes riseIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal], .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1240px) {
  .work { grid-template-columns: minmax(0, 1fr) 300px; }
  .work--solo, .work--plain { grid-template-columns: minmax(0, 1fr); }
  .work__main { padding: 1.6rem 1.5rem 2.2rem; }
}

@media (max-width: 1080px) {
  .work { grid-template-columns: minmax(0, 1fr); }
  .work__visual { display: none; }
  .split { grid-template-columns: minmax(0, 1fr); }
  .trio { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trio > :last-child { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  :root { --rail: 262px; }
  .studio { grid-template-columns: minmax(0, 1fr); }
  .rail {
    position: fixed;
    inset: 0 auto 0 0;
    width: var(--rail);
    transform: translateX(-104%);
    transition: transform .34s cubic-bezier(.4, 0, .2, 1);
    box-shadow: 24px 0 60px -30px rgba(13, 27, 52, .8);
  }
  .rail.is-open { transform: none; }
  .scrim { display: block; pointer-events: none; }
  .scrim.is-open { pointer-events: auto; opacity: 1; }
  .topbar__hamburger { display: inline-flex; }
  .work__main { padding: 1.1rem 1.05rem 2rem; }
  .strip { flex-wrap: wrap; }
  .searchbox { min-width: 0; flex: 1 1 160px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
  .stat + .stat::before { display: none; }
  .stat { padding-right: 0; }
  .statbar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .pagehead h1 { font-size: 1.75rem; }
  .trio { grid-template-columns: minmax(0, 1fr); }
  .trio > :last-child { grid-column: auto; }
  .table thead th:nth-child(3),
  .table tbody td:nth-child(3) { display: none; }
  .stats { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .stat__value { font-size: 1.5rem; }
  .strip { gap: .5rem; }
  .strip__tools { flex-wrap: wrap; gap: .4rem; }
  .block__head { flex-wrap: wrap; }
  .panel__top { flex-wrap: wrap; }
  .searchbox { min-width: 0; width: 100%; }
  body { overflow-x: hidden; }
}

/* ==========================================================================
   Shared page chrome (header / nav / footer) — one design language
   ========================================================================== */

.pagehead__greet { color: var(--ink-soft); }

/* Soft inline notice — “dit is nog een voorstel” style hints */
.notice {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  background: linear-gradient(180deg, #fdf1ec, #fbe6de);
  border: 1px solid rgba(232, 68, 47, .22);
  border-radius: 12px;
  padding: .6rem .75rem;
  margin-bottom: .85rem;
  color: #7a2519;
  font-size: .74rem;
  line-height: 1.45;
}
.notice svg { width: 15px; height: 15px; stroke: var(--coral-dark); stroke-width: 1.7; fill: none; flex: 0 0 auto; margin-top: .1rem; }
.notice b { font-weight: 700; }
.notice a { color: inherit; border-bottom: 1px solid currentColor; }

/* Small status chip used inside panels and lists */
.chip {
  display: inline-flex;
  align-items: center;
  gap: .32rem;
  padding: .2em .62em;
  border-radius: 999px;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  border: 1px solid rgba(13, 27, 52, .14);
  background: rgba(13, 27, 52, .05);
  color: var(--navy);
  white-space: nowrap;
}
.chip i { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); display: block; }
.chip--live { background: rgba(201, 165, 88, .2); border-color: rgba(201, 165, 88, .5); color: #7f6220; }
.chip--live i { background: #6f9c4a; }
.chip--todo { color: var(--coral-dark); background: rgba(232, 68, 47, .12); border-color: rgba(232, 68, 47, .28); }
.chip--img { color: var(--violet); background: rgba(91, 59, 150, .1); border-color: rgba(91, 59, 150, .24); }
.chip--dirty { color: #8a6d24; background: rgba(201, 165, 88, .22); border-color: rgba(201, 165, 88, .4); }
.chip--done { color: #226b45; background: rgba(47, 143, 91, .12); border-color: rgba(47, 143, 91, .28); }

/* Script signature line closing a page */
.signature {
  font-family: var(--font-script);
  font-size: 1.52rem;
  color: var(--navy);
  text-align: right;
  margin-top: .7rem;
  opacity: .85;
}
/* studio-chrome:canonical */
/* ---------- Dashboard-scoped rules only ---------- */

  .dash-head { margin-bottom: 1.1rem; }
  .dash-head h1 { font-size: clamp(1.95rem, 3.1vw, 2.55rem); }
  .dash-head .pagehead__tagline { max-width: 62ch; }

  /* Welcome band */
  .welcome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    flex-wrap: wrap;
    padding: 1.05rem 1.15rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
  }
  .welcome__copy { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
  .welcome__hello {
    font-family: var(--font-display);
    font-size: 1.3rem;
    line-height: 1.15;
    color: var(--navy);
  }
  .welcome__hello em {
    font-style: italic;
    font-family: var(--font-script);
    font-size: 1.85rem;
    color: var(--coral);
    line-height: .9;
    margin-left: .1rem;
  }
  .welcome__meta {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
    font-size: .74rem;
    color: var(--ink-soft);
  }
  .welcome__domain {
    font-size: .74rem;
    font-weight: 500;
    color: var(--navy);
  }
  .chip {
    display: inline-flex;
    align-items: center;
    gap: .32rem;
    padding: .2em .62em;
    border-radius: 999px;
    font-size: .62rem;
    font-weight: 600;
    letter-spacing: .07em;
    text-transform: uppercase;
    border: 1px solid rgba(13, 27, 52, .14);
    background: rgba(13, 27, 52, .05);
    color: var(--navy);
    white-space: nowrap;
  }
  .chip i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--gold);
    display: block;
  }
  .chip--live { background: rgba(201, 165, 88, .2); border-color: rgba(201, 165, 88, .5); color: #7f6220; }
  .chip--live i { background: #6f9c4a; }
  .welcome__actions { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }

  /* Stat tiles with completeness ring */
  .kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .8rem;
    margin-top: .8rem;
  }
  .kpi {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: .85rem .95rem .9rem;
    display: flex;
    align-items: center;
    gap: .8rem;
    min-width: 0;
  }
  .kpi--ring { gap: .9rem; }
  .kpi__ring { flex: 0 0 auto; position: relative; width: 58px; height: 58px; }
  .kpi__ring svg { width: 58px; height: 58px; transform: rotate(-90deg); }
  .kpi__ring circle { fill: none; stroke-width: 5; }
  .kpi__ring .ring-bg { stroke: rgba(13, 27, 52, .1); }
  .kpi__ring .ring-fg {
    stroke: var(--navy);
    stroke-linecap: round;
    stroke-dasharray: 158;
    stroke-dashoffset: 158;
    transition: stroke-dashoffset 1.1s cubic-bezier(.22, .8, .28, 1);
  }
  .kpi__ring b {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-size: .92rem;
    font-weight: 600;
    color: var(--navy);
  }
  .kpi__body { min-width: 0; }
  .kpi__label {
    font-size: .63rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink-soft);
  }
  .kpi__value {
    font-family: var(--font-display);
    font-size: 1.72rem;
    line-height: 1.1;
    color: var(--navy);
    margin-top: .1rem;
  }
  .kpi__value small {
    font-family: var(--font-body);
    font-size: .62rem;
    font-weight: 600;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--gold);
    margin-left: .2rem;
  }
  .kpi__meta {
    font-size: .68rem;
    color: var(--ink-soft);
    margin-top: .1rem;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .kpi--alert .kpi__value { color: var(--coral-dark); }

  /* Attention list */
  .attn { list-style: none; margin: 0; padding: 0; }
  .attn__row {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .5rem .35rem;
    border-bottom: 1px solid rgba(13, 27, 52, .07);
    transition: background .2s ease;
  }
  .attn__row:last-child { border-bottom: 0; }
  .attn__row:hover { background: rgba(244, 241, 234, .75); }
  .attn__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex: 0 0 auto;
    background: var(--coral);
    box-shadow: 0 0 0 3px rgba(232, 68, 47, .13);
  }
  .attn__dot--ok { background: #7fa05a; box-shadow: 0 0 0 3px rgba(127, 160, 90, .15); }
  .attn__text { min-width: 0; flex: 1 1 auto; }
  .attn__label {
    display: block;
    font-size: .78rem;
    font-weight: 500;
    color: var(--navy);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .attn__section { display: block; font-size: .66rem; color: var(--ink-soft); }
  .attn__row--alert .attn__label { color: var(--coral-dark); }
  .attn__go {
    flex: 0 0 auto;
    font-size: .68rem;
    font-weight: 600;
    color: var(--violet);
    border-bottom: 1px solid transparent;
    white-space: nowrap;
  }
  .attn__go:hover { border-color: currentColor; }
  .attn__empty {
    padding: .8rem .35rem;
    font-size: .76rem;
    color: var(--ink-soft);
  }
  .attn__hint {
    padding: .6rem 1rem;
    border-top: 1px solid var(--line);
    font-size: .68rem;
    color: var(--ink-soft);
  }

  /* Section table links */
  .table__link { display: inline-flex; align-items: center; gap: .35rem; }
  .table__link:hover .table__title { color: var(--violet); }
  .sec-count {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-variant-numeric: tabular-nums;
  }

  /* Quick links */
  .quick {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
  .quick__item {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    padding: 1rem 1.1rem 1.05rem;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: #fff;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    position: relative;
  }
  .quick__item:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: rgba(13, 27, 52, .2); }
  .quick__item h3 { font-size: 1.08rem; font-weight: 600; }
  .quick__item p { font-size: .74rem; color: var(--ink-soft); }
  .quick__item svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 1.7;
    fill: none;
    margin-top: .2rem;
    color: var(--violet);
  }
  .quick__kicker {
    font-size: .6rem;
    font-weight: 600;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--gold);
  }
  .quick__soon { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .9rem; }
  .quick__soon .badge-mini { background: rgba(255, 255, 255, .55); }

  /* Loading / error state */
  .dash-state {
    font-size: .74rem;
    color: var(--ink-soft);
    padding: .55rem 1rem;
    border: 1px dashed var(--line);
    border-radius: 12px;
    margin-top: .8rem;
    background: rgba(255, 255, 255, .6);
  }
  .dash-state[data-tone="error"] { border-color: rgba(232, 68, 47, .4); color: var(--coral-dark); }
  .dash-state[hidden] { display: none; }

  .data-studio-region { margin-top: .8rem; }
  .data-studio-region:empty { display: none; }

  /* Brand assets */
  .brand__star { display: none; }

  @media (max-width: 1180px) {
    .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .quick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .quick > .quick__soon-card { grid-column: 1 / -1; }
  }
  @media (max-width: 900px) {
    .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .welcome { padding: .9rem 1rem; }
  }
  @media (max-width: 620px) {
    .kpis { grid-template-columns: minmax(0, 1fr); }
    .quick { grid-template-columns: minmax(0, 1fr); }
    .welcome__actions .btn { width: 100%; }
    .table thead th:nth-child(3),
    .table tbody td:nth-child(3) { display: none; }
  }

/*studio-kit*/
:root{--st-bg:#faf7f2;--st-surface:#fff;--st-text:#1c1917;--st-muted:#6b7280;--st-border:rgba(0,0,0,.12);--st-accent:#b45309;--st-radius:12px;--st-font:inherit;--st-mono:ui-monospace,SFMono-Regular,Menlo,monospace;}
[data-studio-app],[data-studio-gate]{font-family:var(--st-font);color:var(--st-text);}
/* Every primitive sets its OWN colour explicitly (not inherited), so a page's colour on the region
   container can never bleed in and make the module unreadable (#studio-kit contrast). */
[data-studio],[data-studio] *{color:var(--st-text);}
.st-state{padding:22px;border:1px dashed var(--st-border);border-radius:var(--st-radius);color:var(--st-muted);text-align:center;font-size:14px;}
.st-summary{display:flex;gap:14px;flex-wrap:wrap;}
.st-metric{flex:1;min-width:140px;background:var(--st-surface);border:1px solid var(--st-border);border-radius:var(--st-radius);padding:16px 18px;color:var(--st-text);}
.st-metric__n{font-size:26px;font-weight:700;letter-spacing:-.01em;color:var(--st-text);}
.st-metric__l{margin-top:2px;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--st-muted);}
.st-group{margin-top:16px;}
.st-group__h{display:flex;justify-content:space-between;font-weight:600;font-size:14px;padding:6px 0;border-bottom:1px solid var(--st-border);color:var(--st-text);}
.st-count{color:var(--st-muted);font-family:var(--st-mono);font-size:12px;}
.st-row{display:flex;align-items:center;gap:12px;padding:9px 0;border-bottom:1px solid var(--st-border);color:var(--st-text);}
.st-row__l{flex:0 0 38%;font-size:13px;color:var(--st-muted);}
.st-input{flex:1;font:inherit;font-size:14px;padding:8px 10px;border:1px solid var(--st-border);border-radius:9px;background:var(--st-surface);color:var(--st-text);}
.st-input[data-ph]{border-style:dashed;}
.st-btn{font:inherit;font-weight:600;font-size:14px;padding:10px 18px;border-radius:999px;border:1px solid var(--st-border);background:var(--st-surface);color:var(--st-text);cursor:pointer;}
.st-btn--primary{margin-top:16px;background:var(--st-accent);border-color:var(--st-accent);color:#fff;}
.st-btn:disabled{opacity:.6;cursor:default;}
.st-list{margin-top:6px;color:var(--st-text);}
.st-msg{padding:12px 0;border-bottom:1px solid var(--st-border);color:var(--st-text);}
.st-msg.is-new{border-left:3px solid var(--st-accent);padding-left:12px;}
.st-msg__h{display:flex;justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:4px;color:var(--st-text);}
.st-msg__h strong{color:var(--st-text);}
.st-when{font-size:12px;color:var(--st-muted);}
.st-kv{font-size:13px;margin:2px 0;color:var(--st-text);}
.st-kv span{color:var(--st-muted);}
