/* Self-hosted fonts: Sentient (Fontshare, free licence) and Jost (OFL). No third-party requests. */
@font-face { font-family: "Sentient"; src: url(fonts/sentient-300.woff2) format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Sentient"; src: url(fonts/sentient-300-italic.woff2) format("woff2"); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: "Sentient"; src: url(fonts/sentient-400.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url(fonts/jost-latin.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Praktijk de Virieu
   Warm, calm, reassuring. One container, one spacing scale, measured contrast (see DESIGN.md). */
:root {
  --white: #fffdfb;
  --blush-50: #faf0eb;
  --blush-100: #f2ddd3;
  --logo: #deb5a6;
  --rose: #94604f;
  --cream: #f7f3ef;
  --grey-50: #f4f1ef;
  --grey: #69615d;
  --ink: #2b2422;
  --line: rgb(43 36 34 / 0.12);
  --serif: "Sentient", Georgia, serif;
  --sans: "Jost", "Avenir Next", system-ui, sans-serif;
  --container: 1160px;
  --pad: clamp(20px, 4vw, 40px);
  --sec: clamp(64px, 8vw, 104px);
  --r: 12px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; scroll-behavior: smooth; scroll-padding-top: 72px; }
body { background: var(--white); color: var(--ink); font-family: var(--sans); font-weight: 400; font-size: 17px; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
::selection { background: var(--logo); color: var(--ink); }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--white); padding: 8px 14px; border-radius: 6px; z-index: 30; }
.skip:focus { left: 8px; }

/* Layout primitives */
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); }
.sec { padding: var(--sec) 0; }
.sec--blush { background: var(--cream); }     /* cream separation */
.sec--warm { background: var(--cream); }
.sec--grey { background: var(--cream); }
.sec-head { max-width: 780px; margin-bottom: clamp(32px, 4vw, 48px); }
.sec-head p { margin-top: 14px; color: var(--grey); font-size: 18px; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.two--top { align-items: start; }

/* Type */
.serif, h1, h2, h3 { font-family: var(--serif); font-weight: 300; letter-spacing: -0.015em; }
h1 { font-size: clamp(40px, 5vw, 64px); line-height: 1.05; }
h2 { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.12; }
h3 { font-size: clamp(21px, 1.8vw, 24px); line-height: 1.25; font-weight: 400; }
h1 em { font-style: italic; color: var(--rose); }
.nowrap { white-space: nowrap; }
.lead { font-size: clamp(18px, 1.5vw, 20px); color: var(--grey); line-height: 1.6; }
.soft { color: var(--grey); }
.quote { font-family: var(--serif); font-weight: 300; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.35; }
.prose { max-width: 62ch; }
.prose p + p, .prose p + ul, .prose ul + p, .prose ul + details { margin-top: 1em; }
.prose ul, .checks { list-style: none; }
.prose li, .checks li { position: relative; padding: 4px 0 4px 26px; }
.prose li::before, .checks li::before { content: ""; position: absolute; left: 3px; top: 14px; width: 9px; height: 9px; border-radius: 50%; background: var(--logo); }
.cols { columns: 2; column-gap: 40px; }
.cols li { break-inside: avoid; }

/* Buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 28px; border-radius: 6px; border: 0; cursor: pointer; font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; background: var(--ink); color: var(--white); transition: background-color 220ms ease, color 220ms ease, transform 160ms var(--ease); }
.btn:active { transform: scale(0.98); }
.btn[disabled] { opacity: 0.6; cursor: wait; }
@media (hover: hover) and (pointer: fine) { .btn:hover { background: var(--rose); color: var(--white); } }
.link { color: var(--rose); font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 2px; transition: color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .link:hover { color: var(--ink); } }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }

/* Nav */
.nav { background: var(--white); position: relative; z-index: 20; }
.nav .container { height: 88px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 40px; width: auto; object-fit: contain; }
.brand span { font-size: 12px; letter-spacing: 0.3em; line-height: 1.5; }
.links { display: flex; align-items: center; gap: 32px; font-size: 15px; }
.links a:not(.btn) { padding: 6px 0; border-bottom: 2px solid transparent; transition: border-color 200ms ease; }
.links a[aria-current="page"] { border-color: var(--logo); }
@media (hover: hover) and (pointer: fine) { .links a:not(.btn):hover { border-color: var(--logo); } }
.nav .btn { height: 44px; padding: 0 22px; }
.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--ink); transition: transform 240ms var(--ease); }
.menu-toggle span:nth-child(1) { top: 17px; } .menu-toggle span:nth-child(2) { top: 26px; }
.nav.open .menu-toggle span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.nav.open .menu-toggle span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

/* Home hero */
.hero { background: var(--white); padding: clamp(40px, 6vw, 80px) 0; }
.hero .two { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
.hero h1 { font-size: clamp(44px, 5.4vw, 72px); }
.hero .lead { margin-top: 20px; max-width: 30em; }
.hero .actions { margin-top: 32px; }
.reassure { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; color: var(--grey); }
.reassure span { display: inline-flex; align-items: center; gap: 8px; }
.reassure span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--logo); }
.portrait { aspect-ratio: 4 / 5; max-height: 560px; width: 100%; max-width: 460px; border-radius: var(--r); overflow: hidden; justify-self: end; }
.portrait img { object-position: 50% 30%; }

/* Page hero */
.phero { background: var(--cream); padding: clamp(40px, 5vw, 72px) 0; }
.phero .two { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.phero .lead { margin-top: 16px; max-width: 32em; }
.phero .media { aspect-ratio: 4 / 3; max-height: 360px; width: 100%; border-radius: var(--r); overflow: hidden; }
.phero--text .two { grid-template-columns: minmax(0, 1fr); }
.crumb { font-size: 14px; color: var(--grey); margin-bottom: 14px; }
.crumb a { color: var(--rose); }

/* Jump nav */
.jump { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.jump .container { display: flex; gap: 8px 28px; overflow-x: auto; height: 56px; align-items: center; font-size: 15px; scrollbar-width: none; }
.jump a { white-space: nowrap; color: var(--grey); }
@media (hover: hover) and (pointer: fine) { .jump a:hover { color: var(--rose); } }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.card { background: var(--white); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 2px rgb(43 36 34 / 0.04), 0 10px 26px -14px rgb(148 96 79 / 0.22); transition: transform 300ms var(--ease), box-shadow 300ms var(--ease); }
.card .img { aspect-ratio: 3 / 2; overflow: hidden; }
.card h3 { font-size: 21px; }
.card .body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card p { color: var(--grey); font-size: 16px; line-height: 1.55; }
.card .more { margin-top: auto; padding-top: 10px; color: var(--rose); font-weight: 500; font-size: 15px; }
@media (hover: hover) and (pointer: fine) { .card:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgb(43 36 34 / 0.04), 0 18px 34px -16px rgb(148 96 79 / 0.32); } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: s; list-style: none; }
.steps li { counter-increment: s; background: var(--cream); border-radius: var(--r); padding: 28px 26px; }
.sec--blush .steps li { background: var(--white); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--logo); color: var(--ink); font-family: var(--serif); font-size: 18px; margin-bottom: 16px; }
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--grey); font-size: 16px; }
.steps--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.steps--5 li { padding: 24px 20px; }

/* Recognition: heading, an aligned two-column grid, then the welcome line */
.recog { display: block; text-align: center; }
.recog .checks { display: grid; grid-template-columns: repeat(2, auto); gap: 14px 72px; width: fit-content; max-width: 100%; margin: 36px auto 0; columns: auto; text-align: left; }
.recog .checks li { padding: 0 0 0 26px; break-inside: auto; }
.recog .checks li::before { top: 10px; }
.recog .lead { margin: 40px auto 0; max-width: 46ch; color: var(--ink); }
.recog .lead + p { margin-top: 14px; }
@media (max-width: 900px) { .recog .checks { grid-template-columns: minmax(0, 1fr); max-width: 30em; } }

/* About */
.about .photo { aspect-ratio: 4 / 5; max-height: 520px; width: 100%; max-width: 440px; border-radius: var(--r); overflow: hidden; }
.about .quote { margin: 20px 0 22px; padding-left: 20px; border-left: 3px solid var(--logo); }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.badges span { background: var(--cream); border-radius: 999px; padding: 6px 14px; font-size: 13px; letter-spacing: 0.06em; color: var(--grey); }

/* Band */
.band { background: var(--cream); border-radius: var(--r); padding: clamp(28px, 4vw, 44px); display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.band .actions { justify-content: flex-end; }
.sec--blush .band { background: var(--white); }

/* Facts */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.facts div { background: var(--cream); border-radius: var(--r); padding: 18px 20px; }
.sec--blush .facts div { background: var(--white); }
.facts dt { font-size: 14px; color: var(--grey); }
.facts dd { margin-top: 2px; font-weight: 500; }

/* Content blocks on subpages */
.block .two { align-items: start; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
.block h2 { position: sticky; top: 80px; }

/* Read more */
details.read { margin-top: 12px; }
details.read summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; color: var(--rose); font-weight: 500; padding: 8px 0; }
details.read summary::-webkit-details-marker { display: none; }
details.read summary::after { content: "+"; font-size: 20px; line-height: 1; transition: transform 240ms var(--ease); }
details.read[open] summary::after { transform: rotate(45deg); }
details.read > div { padding-top: 8px; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact .info { display: grid; gap: 18px; margin-top: 28px; }
.contact .info dt { font-size: 14px; color: var(--grey); }
.contact .info dd { font-weight: 500; }
.contact .note { background: var(--white); border-radius: var(--r); padding: 18px 20px; font-size: 15px; color: var(--grey); margin-top: 28px; }
.form { background: var(--white); border-radius: var(--r); padding: clamp(24px, 3.5vw, 40px); display: grid; gap: 18px; box-shadow: 0 10px 30px -18px rgb(148 96 79 / 0.35); }
.form .row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.form label { display: grid; gap: 6px; font-size: 15px; font-weight: 500; }
.form .opt { font-weight: 400; color: var(--grey); }
.form input, .form textarea, .form select { font: inherit; font-weight: 400; font-size: 16px; color: var(--ink); background: var(--white); border: 1px solid rgb(43 36 34 / 0.26); border-radius: 8px; padding: 13px 14px; width: 100%; transition: border-color 200ms ease, box-shadow 200ms ease; }
.form textarea { min-height: 130px; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--rose); box-shadow: 0 0 0 3px rgb(222 181 166 / 0.5); }
.form .hint { font-size: 14px; font-weight: 400; color: var(--grey); }
.form .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; color: var(--grey); }
.form .consent input { width: 18px; height: 18px; margin-top: 3px; padding: 0; accent-color: var(--rose); flex: none; }
.form-status { font-size: 15px; }
.form-status.ok { color: #3f6b4e; } .form-status.err { color: #9b3b2e; }

/* Footer: brand centred on top, three centred columns, one line of registrations */
.footer { background: var(--ink); color: rgb(255 253 251 / 0.86); padding: 72px 0 36px; font-size: 15px; text-align: center; }
.footer .f-brand { display: grid; justify-items: center; gap: 16px; padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid rgb(255 253 251 / 0.12); }
.footer .brand-f { display: inline-flex; gap: 12px; align-items: center; color: var(--white); font-size: 12px; letter-spacing: 0.3em; line-height: 1.5; text-align: left; }
.footer .brand-f img { height: 40px; width: auto; }
.footer .f-brand p { line-height: 1.7; }
.footer .f-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 220px)); justify-content: center; gap: 32px 64px; }
.footer h4 { font-family: var(--sans); font-weight: 500; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--logo); margin-bottom: 14px; }
.footer .f-cols a, .footer .f-cols p { display: block; line-height: 1.6; padding: 3px 0; }
@media (hover: hover) and (pointer: fine) { .footer a:hover { color: var(--logo); } }
.footer .base { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgb(255 253 251 / 0.12); display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 24px; font-size: 13px; color: rgb(255 253 251 / 0.6); }
@media (max-width: 760px) { .footer .f-cols { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

/* Motion */
.rise { animation: rise 700ms var(--ease) both; }
.rise:nth-child(2) { animation-delay: 80ms; } .rise:nth-child(3) { animation-delay: 160ms; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) { .rise { animation: none; } html { scroll-behavior: auto; } }

/* Responsive */
@media (max-width: 1040px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .links { display: none; }
  .menu-toggle { display: block; }
  .nav.open .links { display: grid; position: absolute; top: 88px; left: 0; right: 0; background: var(--white); padding: 8px var(--pad) 24px; gap: 2px; box-shadow: 0 12px 24px -16px rgb(43 36 34 / 0.3); font-size: 18px; }
  .nav.open .links a:not(.btn) { padding: 10px 0; border: 0; }
  .nav.open .links .btn { justify-self: start; margin-top: 10px; }
  .two, .hero .two, .phero .two, .block .two, .contact, .band { grid-template-columns: minmax(0, 1fr); }
  .block h2 { position: static; }
  .portrait, .about .photo { max-width: none; justify-self: stretch; max-height: 420px; }
  .portrait { order: -1; aspect-ratio: 4 / 3; }
  .phero .media { order: -1; max-height: 280px; }
  .band .actions { justify-content: flex-start; }
  .steps { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .cards, .steps--5 { grid-template-columns: minmax(0, 1fr); }
  .cols { columns: 1; }
  .facts, .form .row { grid-template-columns: minmax(0, 1fr); }
  h1, h2 { hyphens: auto; -webkit-hyphens: auto; }
}

/* Aliases used in page content */
.h3 { font-family: var(--serif); font-size: clamp(21px, 1.8vw, 24px); line-height: 1.25; font-weight: 400; }
.steps .h3 { margin-bottom: 6px; }
a.more:not(.card .more), .tlink { color: var(--rose); font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 2px; }

/* Referrers: two equal panels and a vertical timeline */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.panel { background: var(--cream); border-radius: var(--r); padding: clamp(24px, 3vw, 36px); }
.panel h3 { margin-bottom: 12px; }
.panel > p { color: var(--ink); }
.timeline { list-style: none; counter-reset: t; display: grid; gap: 12px; }
.timeline li { counter-increment: t; background: var(--white); border-radius: var(--r); padding: 20px 24px; display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 16px; }
.timeline li::before { content: counter(t); grid-row: span 2; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--logo); font-family: var(--serif); font-size: 18px; }
.timeline h3 { font-size: 20px; }
.timeline p { color: var(--grey); font-size: 16px; margin-top: 2px; }
@media (max-width: 900px) { .duo { grid-template-columns: minmax(0, 1fr); } }

/* Two surfaces only: on white sections, inner surfaces are cream; on cream sections, white */
.sec:not(.sec--blush):not(.sec--warm):not(.sec--grey) .form { background: var(--cream); box-shadow: none; }
.sec:not(.sec--blush):not(.sec--warm):not(.sec--grey) .contact .note { background: var(--cream); }
.sec--blush .badges span { background: var(--white); }

/* Logo watermark: sparse, faint, partly off the edge */
.mark-wm { position: relative; overflow: hidden; isolation: isolate; }
.mark-wm::before { content: ""; position: absolute; z-index: -1; pointer-events: none; width: clamp(260px, 30vw, 420px); aspect-ratio: 528 / 834; background: url(logo-mark.png) center / contain no-repeat; opacity: 0.09; }
.sec.mark-wm::before { right: -4%; top: -10%; }
@media (max-width: 900px) { .mark-wm::before { opacity: 0.06; width: 220px; } }

/* Hero watermark that continues into the next section.
   One mark anchored on the section boundary: the part above is faint pink in the hero,
   the part below is drawn in the hero's white, as if the hero spills into the cream. */
.hero > .container, .wm-continue > .container { position: relative; z-index: 1; }
.wm-continue { position: relative; }
.wm-continue::before, .wm-continue::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  left: -5%; top: 0; width: clamp(240px, 28vw, 400px); aspect-ratio: 528 / 834;
  transform: translateY(-62%);
  -webkit-mask: url(logo-mark.png) center / contain no-repeat; mask: url(logo-mark.png) center / contain no-repeat;
}
.wm-continue::before { background: var(--logo); opacity: 0.12; clip-path: inset(0 0 38% 0); }
.wm-continue::after { background: var(--white); clip-path: inset(62% 0 0 0); }
@media (max-width: 900px) { .wm-continue::before, .wm-continue::after { width: 200px; left: -12%; } }
.sec-head h2 { text-wrap: balance; }
.panel h4 { font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rose); margin: 24px 0 8px; }
.panel .prose li { font-size: 16px; padding-top: 3px; padding-bottom: 3px; }
.panel .prose p.soft { font-size: 15px; margin-top: 14px; }
/* Panels align row by row: title, intro, subheading, list */
.duo { grid-template-rows: repeat(4, auto); }
.duo .panel { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
.duo .panel h4 { align-self: end; }
@media (max-width: 900px) { .duo { grid-template-rows: none; } .duo .panel { grid-row: auto; grid-template-rows: none; } }

/* Therapie dropdown */
.has-sub { position: relative; display: flex; align-items: center; }
.sub-trigger::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.sub { position: absolute; top: 100%; left: -18px; min-width: 230px; padding: 10px; background: var(--white); border-radius: var(--r); box-shadow: 0 14px 36px -16px rgb(43 36 34 / 0.3); display: grid; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 180ms ease, transform 180ms var(--ease), visibility 0s 180ms; z-index: 30; }
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.sub a { padding: 10px 12px !important; border: 0 !important; border-radius: 8px; }
@media (hover: hover) and (pointer: fine) { .sub a:hover { background: var(--cream); } }
.sub a[aria-current="page"] { color: var(--rose); }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; transition: opacity 180ms ease, transform 180ms var(--ease); }
@media (max-width: 900px) {
  .has-sub { display: grid; }
  .sub-trigger::after { display: none; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 4px 16px; min-width: 0; background: none; }
  .sub::before { display: none; }
  .sub a { padding: 8px 0 !important; font-size: 16px; color: var(--grey); }
}
