@charset "UTF-8";
@import url('assets/theme.css?v=20260926-1');
@import url('assets/journey.css?v=20260926-1');
:root{--plum:var(--action);--plum-dark:var(--action-hover);--lavender:var(--surface-alt);--lavender-deep:var(--line);--white:var(--surface);--error:var(--danger);--page:var(--max-width);font-family:var(--body);font-size:18px;font-synthesis:none;text-rendering:optimizeLegibility}

/* Base */
*{box-sizing:border-box}[hidden]{display:none!important}
html{scroll-behavior:smooth;scroll-padding-top:110px}
html.menu-open{overflow:hidden}
body{margin:0;background:var(--canvas);color:var(--ink);font:400 18px/1.65 var(--body);-webkit-font-smoothing:antialiased;overflow-x:clip}
body:has(dialog[open]),body.dialog-open{overflow:hidden}
main{min-height:50vh}
::selection{background:var(--rose);color:var(--ink)}
a,button,input,select,textarea,summary{touch-action:manipulation;-webkit-tap-highlight-color:transparent;scroll-margin:110px 0 24px}
button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer;background:none;border:0}button:disabled{cursor:default;opacity:.55}
a{color:inherit;text-underline-offset:5px;text-decoration-thickness:1px}a:hover{text-decoration-thickness:2px}
img{display:block;max-width:100%;height:auto;object-fit:cover}
svg{display:inline-block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
h1,h2,h3,h4,p,figure,blockquote{margin:0}
h1,h2,h3{font-family:var(--display);font-weight:400;line-height:1.04;letter-spacing:-.035em;overflow-wrap:break-word;hyphens:manual}
h1{font-size:clamp(46px,6.4vw,100px)}h2{font-size:clamp(40px,4.8vw,72px)}h3{font-size:clamp(26px,2.3vw,34px);line-height:1.15;letter-spacing:-.02em}
em{font-family:var(--display);font-style:italic;font-weight:400;color:inherit}
p+p{margin-top:1em}small,.small{font-size:15px;line-height:1.65;color:var(--muted)}strong,b{font-weight:650}ul,ol{padding-left:1.35em}li+li{margin-top:.6em}
:focus-visible{outline:3px solid var(--focus);outline-offset:4px;border-radius:6px}
.skip-link{position:fixed;top:-100px;left:20px;padding:12px 24px;background:var(--surface);border-radius:999px;z-index:100}.skip-link:focus{top:12px}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

/* Layout and type helpers */
.wrap,.section{width:min(var(--max-width),calc(100% - 2 * var(--gutter)));margin-inline:auto}
.section{padding-block:clamp(56px,8vw,112px)}
.eyebrow,.intro-label{display:flex;align-items:center;gap:14px;font:650 12px/1.6 var(--body);text-transform:uppercase;letter-spacing:.2em;color:var(--muted);margin-bottom:22px}
.eyebrow::before,.intro-label::before{content:"";width:28px;height:1px;background:currentColor;opacity:.6;flex-shrink:0}
.section-label{font:400 18px/1.6 var(--body);color:var(--muted)}
.section-heading{display:flex;align-items:end;justify-content:space-between;gap:40px;margin-bottom:48px}.section-heading h2,.section-heading h1{margin-top:0}.section-heading>p{font-size:18px;color:var(--muted);max-width:40ch;padding-bottom:8px}
.section-end{text-align:center;margin-top:40px}.muted{color:var(--muted)}.preserve-lines{white-space:pre-line}
.body-copy{font-size:18px;line-height:1.85}.body-copy h2{font-size:clamp(30px,2.6vw,40px);margin:48px 0 18px}.body-copy>h2:first-child{margin-top:0}.body-copy .button{margin-top:24px}
.lead{font-size:clamp(19px,1.5vw,22px);max-width:46ch;line-height:1.7;color:var(--muted);margin-top:26px}

/* Buttons and links */
.button-row{display:flex;align-items:center;gap:20px 28px;flex-wrap:wrap;margin-top:32px}
.button{position:relative;border:1px solid transparent;display:inline-flex;align-items:center;justify-content:center;gap:14px;padding:15px 18px 15px 26px;background:var(--action);color:var(--on-action);font-size:16px;font-weight:650;letter-spacing:.005em;line-height:1.4;min-height:56px;border-radius:999px;text-decoration:none;text-align:center;white-space:normal;transition:background var(--duration) var(--ease),color var(--duration) var(--ease),transform var(--duration) var(--ease),box-shadow var(--duration) var(--ease)}
.button>span[aria-hidden],.button>svg{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:color-mix(in srgb,var(--on-action) 16%,transparent);font-size:16px;font-weight:400;flex-shrink:0;transition:transform var(--duration) var(--ease-out)}
.button>svg{padding:6px}
.button:hover{background:var(--action-hover);text-decoration:none;box-shadow:0 14px 34px -18px color-mix(in srgb,var(--action) 80%,transparent)}
.button:hover>span[aria-hidden],.button:hover>svg{transform:translate(2px,-2px) rotate(8deg)}
.button:active{transform:translateY(1px)}
.button.secondary,.button.light{background:transparent;color:var(--ink);border-color:var(--line-strong)}
.button.secondary>span[aria-hidden],.button.secondary>svg,.button.light>span[aria-hidden]{background:var(--accent-soft);color:var(--accent)}
.button.secondary:hover,.button.light:hover{background:var(--surface);border-color:var(--accent)}
.underlined,.text-link{display:inline-flex;align-items:center;gap:14px;padding:10px 0;min-height:44px;border:0;background:none;font-size:16px;font-weight:600;color:var(--ink);text-decoration:none;background-image:linear-gradient(currentColor,currentColor);background-size:100% 1px;background-position:0 calc(100% - 8px);background-repeat:no-repeat;transition:background-size .4s var(--ease-out)}
.underlined:hover,.text-link:hover{background-size:40% 1px}
.text-link svg{width:18px}
.quiet-link{display:inline-block;font-size:16px;color:var(--muted);padding:14px 0;min-height:44px;text-decoration:none}.quiet-link:hover{text-decoration:underline}.quiet-link span{color:var(--ink);margin-left:5px}
.back-link{display:inline-flex;align-items:center;gap:10px;font-size:15px;font-weight:600;color:var(--muted);margin-bottom:40px;padding-block:10px;min-height:44px;text-decoration:none}.back-link::before{content:'←';transition:transform var(--duration) var(--ease)}.back-link:hover::before{transform:translateX(-4px)}

/* Header: floating glass pill, compact once the page scrolls. */
midwife-header{display:block;position:sticky;top:0;z-index:50;padding:14px var(--gutter) 0;pointer-events:none}
.site-header{pointer-events:auto;display:flex;align-items:center;justify-content:space-between;gap:24px;max-width:var(--max-width);margin-inline:auto;min-height:70px;padding:8px 8px 8px 28px;background:var(--glass);border:1px solid var(--glass-rim);border-radius:999px;backdrop-filter:blur(20px) saturate(1.3);-webkit-backdrop-filter:blur(20px) saturate(1.3);transition:box-shadow .4s var(--ease),background .4s var(--ease),min-height .4s var(--ease)}
midwife-header.is-scrolled .site-header{box-shadow:var(--glass-shadow);background:var(--glass-strong);min-height:62px}
.brand{display:flex;align-items:center;flex-shrink:0;text-decoration:none;position:relative;z-index:2}
.brand>span{font-family:var(--display);font-size:25px;letter-spacing:-.03em;line-height:1.05}
.brand small{display:block;font:600 10px/1.6 var(--body);letter-spacing:.16em;text-transform:uppercase;margin-top:3px;color:var(--muted)}
.site-header nav{display:flex;align-items:center;gap:30px}
.site-header nav a{position:relative;display:flex;align-items:center;padding:10px 0;min-height:44px;font-size:15px;font-weight:550;white-space:nowrap;text-decoration:none}
.site-header nav a::after{content:"";position:absolute;left:0;right:0;bottom:8px;height:1px;background:currentColor;transform:scaleX(0);transform-origin:right;transition:transform .35s var(--ease-out)}
.site-header nav a:hover::after{transform:scaleX(1);transform-origin:left}
.head-actions{display:flex;align-items:center;gap:6px;position:relative;z-index:2}
.theme-toggle{width:48px;height:48px;flex-shrink:0;border-radius:50%;font-size:22px;transition:background var(--duration) var(--ease)}.theme-toggle:hover{background:var(--surface-alt)}
.nav-contact{display:flex;gap:12px;align-items:center;min-height:52px;padding:10px 12px 10px 22px;border-radius:999px;background:var(--action);color:var(--on-action);font-size:15px;font-weight:650;text-decoration:none;transition:background var(--duration) var(--ease)}
.nav-contact>span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:color-mix(in srgb,var(--on-action) 16%,transparent)}
.nav-contact:hover{background:var(--action-hover)}
.menu-toggle{display:none;align-items:center;gap:10px;min-height:48px;padding:8px 18px 8px 14px;border:1px solid var(--line-strong);border-radius:999px;background:var(--surface);font-size:15px;font-weight:600}
.menu-lines{position:relative;width:18px;height:10px}.menu-lines::before,.menu-lines::after{content:"";position:absolute;left:0;right:0;height:1.5px;background:currentColor;border-radius:2px;transition:transform .35s var(--ease-out),top .35s var(--ease-out)}.menu-lines::before{top:0}.menu-lines::after{top:8px}
.menu-toggle[aria-expanded=true] .menu-lines::before{top:4px;transform:rotate(45deg)}.menu-toggle[aria-expanded=true] .menu-lines::after{top:4px;transform:rotate(-45deg)}
.site-header nav .mobile-contact{display:none}

/* Detail pages: services, topics, courses, articles */
.detail-page{padding-top:clamp(32px,5vw,64px)}
.detail-hero{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:clamp(40px,6vw,96px);align-items:center}
.detail-hero h1{font-size:clamp(40px,4.9vw,80px);hyphens:auto}
.detail-hero>img,.detail-media>img{width:100%;height:auto;aspect-ratio:4/5;max-height:620px;object-fit:cover;border-radius:999px 999px 28px 28px}
.detail-media{position:relative}
.detail-figure{position:absolute;left:-44px;bottom:-28px;width:132px;height:330px;padding:20px 8px 14px;background:var(--canvas);border:1px solid var(--line);border-radius:999px;box-shadow:var(--glass-shadow);--jf-stroke:2.4}
.detail-hero .lead{max-width:40ch}
.detail-columns{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,1fr);gap:clamp(40px,7vw,120px);margin-top:clamp(56px,7vw,104px);padding-top:clamp(40px,5vw,64px);border-top:1px solid var(--line)}
.detail-columns>.body-copy{max-width:68ch}
.reading-aside,.booking-panel{position:sticky;top:110px;align-self:start;border-radius:var(--radius-group);padding:34px;background:var(--surface);border:1px solid var(--line);font-size:18px}
.reading-aside h2,.booking-panel h2{font-size:30px;margin-bottom:18px}
.reading-aside h2:not(:first-child){margin-top:34px}
.reading-aside a{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px 0;border-top:1px solid var(--line);text-decoration:none;line-height:1.45;font-size:17px;transition:color var(--duration) var(--ease),padding var(--duration) var(--ease)}
.reading-aside a:hover{color:var(--accent);padding-left:6px}
.reading-aside a svg{width:17px}
.reading-aside ul{line-height:1.7;margin:0 0 28px;padding:0;list-style:none}
.reading-aside li{position:relative;padding-left:26px}.reading-aside li::before{content:"";position:absolute;left:0;top:.72em;width:12px;height:1px;background:var(--accent)}
.reading-note{position:relative;padding:28px 30px;margin:44px 0;border-radius:var(--radius-group);background:var(--accent-soft);color:var(--ink)}
.reading-note h2{font-size:26px;margin:0 0 12px}
.reading-note p{font-size:17px;color:var(--muted)}
.session-option{margin-top:22px;padding-top:22px;border-top:1px solid var(--line)}
.session-option h3{font-size:24px;margin-top:13px}
.session-option p{font-size:18px;margin:10px 0 16px}
.session-option .button{width:100%}
.article-heading{max-width:900px;margin:auto}
.article-heading h1{font-size:clamp(42px,5.4vw,84px)}
.article-image{width:100%;max-height:640px;object-fit:cover;border-radius:var(--radius-scene);margin-top:48px}
.article-body{max-width:720px;margin:56px auto 0}
.legal-page{max-width:980px}
.legal-page h1{margin-bottom:36px}
.legal-page article{font-size:1rem}
.legal-page article h2{font-size:clamp(28px,2.6vw,36px);margin-top:48px;margin-bottom:18px}
.legal-page article p+p{margin-top:1em}
.legal-page article .lead{font-size:1.15rem;margin-bottom:28px}
.legal-page code{font-size:16px}
.price-list{margin:35px 0;border-top:1px solid var(--line)}
.price-list a{display:flex;align-items:center;justify-content:space-between;gap:28px;text-decoration:none;padding:20px 0;border-bottom:1px solid var(--line);font-size:1rem}
.price-list a:hover{color:var(--accent)}
.price-list small{display:block;margin-top:3px}
.price-list strong{white-space:nowrap;font-family:var(--display);font-size:24px;font-weight:400}
.booking-steps{padding-left:25px}
.booking-steps li{padding-left:10px;margin-bottom:20px}

/* Knowledge library */
.topic-grid,.news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:56px 32px}
.topic-card a,.news-card a{display:block;text-decoration:none;height:100%}
.topic-card-image{aspect-ratio:4/3.4;border-radius:999px 999px 24px 24px;overflow:hidden;background:var(--surface-alt)}
.topic-card-image img{width:100%;height:100%;transition:transform 1s var(--ease-out)}
.topic-card a:hover img{transform:scale(1.05)}
.topic-card-copy{padding-top:24px}
.topic-category{font:650 12px/1.6 var(--body);letter-spacing:.18em;text-transform:uppercase;color:var(--muted);margin-bottom:12px}
.topic-card h3,.news-card h3{font-size:clamp(26px,2.2vw,32px)}
.topic-card p:not(.topic-category),.news-card p:not(.topic-category){color:var(--muted);margin-top:14px;font-size:17px}
.topic-card .text-link,.news-card .text-link{margin-top:18px}
.library-filters{display:grid;grid-template-columns:1fr 300px;gap:24px;margin:0 0 56px;padding:24px;border-radius:var(--radius-group);background:var(--surface);border:1px solid var(--line)}
.published{padding-top:0}
.news-card{border-top:1px solid var(--line);padding-top:26px}
.news-card img{border-radius:var(--radius-group);margin-bottom:22px;height:auto;width:100%}
.published>.text-link,.published [data-articles]>.text-link{margin-top:28px}

/* Course rows (appointments from the booking backend) */
.course-toolbar{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:28px}
.course-toolbar label{display:flex;align-items:center;gap:18px;font-weight:500;font-size:16px}
.course-toolbar select{width:240px;margin:0}
.course-toolbar>span{font-size:16px;color:var(--muted)}
.course-row{display:grid;grid-template-columns:130px minmax(0,1fr);gap:32px;align-items:start;border-top:1px solid var(--line);padding-block:28px}
.course-image img{width:130px;height:160px;border-radius:999px 999px 18px 18px}
.course-tag{font:650 12px/1.6 var(--body);letter-spacing:.16em;text-transform:uppercase;color:var(--muted);margin-bottom:8px}
.course-main{min-width:0}.course-main h3{font-size:34px;margin:8px 0 10px}.course-main h3 a{text-decoration:none}.course-main h3 a:hover{text-decoration:underline}
.course-main>p:not(.course-tag){color:var(--muted);max-width:64ch}
.course-facts{display:flex;gap:18px;flex-wrap:wrap;font-size:16px;color:var(--muted);margin-top:14px}.course-facts span+span{border-left:1px solid var(--line);padding-left:18px}
.course-action{margin-top:20px;max-width:360px}.course-action>p{margin:10px 0 14px}.course-action .button{width:100%;min-height:56px}
.availability{display:inline-flex;align-items:center;gap:8px;border-radius:999px;font-size:16px;padding:5px 14px;line-height:1.5;background:var(--sage);color:var(--sage-ink)}
.availability.waitlist{background:var(--rose);color:var(--rose-ink)}
.course-bottom{display:flex;justify-content:space-between;gap:40px;align-items:start;padding-top:24px;border-top:1px solid var(--line)}
.course-bottom p{font-size:17px;color:var(--muted);max-width:58ch}.course-bottom .text-link{flex-shrink:0;max-width:24ch}
.course-toolbar[hidden],.course-bottom[hidden]{display:none}
.empty-state{padding:32px 0;border-block:1px solid var(--line)}.empty-symbol{display:none}.empty-state p{max-width:65ch;color:var(--muted);margin-top:16px}.empty-state .button{margin-top:24px}
.loading{padding:32px 0;color:var(--muted)}
.status-box{padding:26px;background:var(--surface-alt);border-radius:var(--radius-group);margin-block:20px}.status-box .button{margin-top:16px}.status-box.error{background:var(--surface);border:1px solid var(--danger);color:var(--danger)}
.error-text{color:var(--danger)}.success-text{color:var(--success)}.form-status:empty{display:none}.form-status{font-size:16px;line-height:1.6;overflow-wrap:anywhere}
.availability,.course-action>p,.session-option>p{font-size:18px}
.course-price,.selected-session>strong{font-size:20px;font-weight:650;color:var(--ink)}
.course-toolbar>span,.booking-panel>.small{font-size:16px}

/* Footer: deep evening surface with the closing figure. */
.site-footer{--canvas:#221a24;--surface:#2b222d;--surface-alt:#372c39;--ink:#f6eef3;--muted:#cbbac7;--line:#453948;--line-strong:#5b4d5d;--control:#a697a7;--action:#f2d9f5;--on-action:#2b1d30;--action-hover:#fff0fb;--accent:#ecd3f2;--accent-soft:#3c2f3f;--focus:#c9dbbf;--figure-line:#ecd9f0;--figure-paper:#221a24;--figure-soft:#3d2f3e;--figure-glow:#d9906f;--figure-after:#a9c79c;
 background:var(--canvas);color:var(--ink);margin-top:clamp(40px,6vw,80px);padding-block:clamp(56px,8vw,104px) 36px;font-size:15px;border-radius:clamp(32px,6vw,72px) clamp(32px,6vw,72px) 0 0}
:root[data-theme=dark] .site-footer{--canvas:#120e12;--surface:#1c161c;--figure-paper:#120e12}
.footer-hero{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:clamp(28px,5vw,80px);padding-bottom:clamp(40px,6vw,72px);border-bottom:1px solid var(--line)}
.footer-figure{width:clamp(120px,14vw,190px);height:clamp(240px,28vw,380px)}
.footer-statement{font-family:var(--display);font-size:clamp(48px,7vw,112px);line-height:.98;letter-spacing:-.045em;margin-bottom:32px}
.footer-statement em{color:var(--accent)}
.site-footer .brand{color:var(--ink)}.site-footer .brand small{color:var(--muted)}
.footer-top{display:flex;align-items:start;justify-content:space-between;gap:40px;padding-block:40px 28px}
.footer-top nav{display:grid;grid-template-columns:repeat(3,auto);gap:4px 44px}
.footer-top nav a,.footer-bottom a{padding-block:10px;min-height:44px;display:inline-flex;align-items:center;text-decoration:none;font-size:16px}
.footer-top nav a:hover,.footer-bottom a:hover{text-decoration:underline}
.footer-bottom{border-top:1px solid var(--line);padding-top:22px;display:flex;justify-content:space-between;gap:30px;color:var(--muted)}
.footer-bottom nav{display:flex;gap:4px 26px;flex-wrap:wrap}.footer-bottom p{padding-top:10px;flex-shrink:0}
.appearance-settings{border-top:1px solid var(--line);padding-block:8px 16px}
.appearance-settings>summary{cursor:pointer;min-height:48px;padding-block:12px;font-size:16px;color:var(--ink)}
.appearance{display:flex;align-items:start;gap:28px;flex-wrap:wrap;padding-block:16px}
.appearance legend{font-size:14px;color:var(--muted);margin-bottom:8px}
.appearance .check-label{max-width:24ch;color:var(--ink)}.appearance>p{max-width:35ch;font-size:14px;color:var(--muted)}
.segmented{display:flex;border:1px solid var(--control);border-radius:999px;padding:4px;background:var(--surface-alt)}
.segmented label{position:relative;cursor:pointer}.segmented input{position:absolute;opacity:0;width:1px;height:1px;min-height:0}
.segmented span{display:block;padding:10px 22px;font-size:16px;border-radius:999px}
.segmented input:checked+span{background:var(--action);color:var(--on-action)}
.segmented input:focus-visible+span{outline:3px solid var(--focus);outline-offset:3px}

/* Forms, dialogs and account surfaces remain matte in both themes. */
input,select,textarea{width:100%;min-width:0;border:1px solid var(--control);border-radius:16px;background:var(--surface);padding:13px 16px;min-height:54px;line-height:1.5;transition:border-color var(--duration) var(--ease),box-shadow var(--duration) var(--ease)}
input:focus,select:focus,textarea:focus{border-color:var(--accent)}
textarea{resize:vertical;min-height:100px}
input[type=checkbox]{width:24px;height:24px;min-height:24px;margin:2px 0 0;flex:0 0 24px;accent-color:var(--action)}
label{display:block;font-size:16px;font-weight:600}label>input,label>select,label>textarea{margin-top:8px;font-weight:400}
form{display:grid;gap:22px}label .optional{font-weight:400;color:var(--muted)}fieldset{border:0;padding:0;margin:0}
.check-label{display:flex;align-items:flex-start;gap:12px;font-size:16px;font-weight:400;line-height:1.65}.check-label input{margin-top:2px}
.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}
.field-error{display:block;color:var(--danger);font-size:18px;font-weight:400;line-height:1.5;margin-top:18px}.field-error:empty{display:none}form>.field-error{margin-top:-8px}
[aria-invalid=true]{border-color:var(--danger)}
.form-action-seam{display:flex;flex-direction:column;gap:14px;padding:18px 8px 8px;background:var(--surface-alt);border:1px solid var(--line);border-radius:28px}.form-action-seam>span{font-size:16px;padding-inline:12px;color:var(--muted)}.form-action-seam>.button{width:100%}
dialog{border:0;border-radius:28px;padding:0;color:var(--ink);width:min(640px,calc(100% - 30px));max-height:calc(100dvh - 44px);background:var(--surface);box-shadow:0 30px 120px -20px #0005}
dialog[open]{display:flex;flex-direction:column;overflow:hidden;animation:dialog-in .4s var(--ease-out)}
@keyframes dialog-in{from{opacity:0;transform:translateY(16px) scale(.98)}}
dialog::backdrop{background:#1d1420b8;backdrop-filter:blur(4px)}
.dialog-header{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:72px;padding:12px 16px 12px 30px;border-bottom:1px solid var(--line);background:var(--surface);flex-shrink:0;font-size:16px;font-weight:600}
.dialog-close{width:48px;height:48px;flex-shrink:0;display:flex;align-items:center;justify-content:center;background:var(--surface-alt);border-radius:50%}
.dialog-content{padding:30px 38px 36px;overflow:auto;overscroll-behavior:contain;min-height:0}
.dialog-content>h2{font-size:38px;line-height:1.15;padding-right:14px}
.dialog-content>.intro-label{margin-bottom:13px}
.dialog-content>p:not(.intro-label){font-size:18px;color:var(--muted);margin-top:18px}
.dialog-content form{margin-top:25px}
.dialog-content .small,.dialog-content .form-status{font-size:18px;line-height:1.5}
.selected-session{padding:18px 20px;background:var(--accent-soft);border-radius:18px;font-size:16px}
.selected-session strong{display:block;font-size:1.12rem;margin-bottom:5px}.selected-session span{display:block}.selected-session p{margin-top:12px}
.booking-success{text-align:center;padding:17px 0}
.success-icon{display:flex;align-items:center;justify-content:center;background:var(--sage);color:var(--sage-ink);width:78px;height:78px;border-radius:50%;margin:0 auto 25px}.success-icon svg{width:33px;height:33px}
.booking-success h2{font-size:38px;line-height:1.15}.booking-success p{font-size:18px;color:var(--muted);margin-top:22px}.booking-success .button{margin-top:24px}
.page-heading{max-width:900px;margin-bottom:56px}
.page-heading h1{font-size:clamp(44px,5.8vw,92px)}
.page-heading>p:last-child{font-size:clamp(19px,1.5vw,22px);color:var(--muted);margin-top:24px;max-width:620px}
.member-page,.forum-page{padding-top:clamp(32px,5vw,64px)}
.account-grid,.forum-gate{display:grid;grid-template-columns:1.25fr 1fr;gap:70px;align-items:start}
.account-grid h2,.forum-gate h2,.profile-onboarding h2{font-size:34px;line-height:1.2;margin-bottom:20px}
.member-welcome{padding:40px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-group)}
.member-welcome>p{font-size:1rem;color:var(--muted)}.member-welcome .button{margin:27px 0 23px}.member-welcome .small{font-size:16px}
.account-side{padding:34px;background:var(--surface-alt);border-radius:var(--radius-group)}
.account-side h2{font-size:28px;margin:29px 0 17px}.account-side h2:first-child{margin-top:0}.account-side>p{font-size:18px;color:var(--muted)}
.account-link{display:flex;justify-content:space-between;gap:20px;align-items:center;text-decoration:none;padding:14px 0;border-bottom:1px solid var(--line);font-size:18px}
.account-bar{display:flex;align-items:center;justify-content:space-between;gap:30px;border-bottom:1px solid var(--line);padding-bottom:22px;margin-bottom:33px}
.profile-form>p{font-size:18px;color:var(--muted)}.profile-form h2{margin:0}
.forum-rules{font-size:16px;color:var(--muted)}.forum-rules summary{font-size:18px;font-weight:600;color:var(--ink);cursor:pointer;min-height:44px}.forum-rules p{margin-top:18px}.forum-rules ul{padding-left:21px}
.forum-gate{background:var(--surface);border:1px solid var(--line);padding:48px;border-radius:var(--radius-scene);gap:50px}
.forum-gate>div>p{font-size:1rem;color:var(--muted)}.forum-gate .button{margin-top:29px}.forum-gate .small{font-size:16px;margin-top:24px}
.profile-onboarding{max-width:640px;margin:auto;background:var(--surface);border:1px solid var(--line);padding:36px;border-radius:var(--radius-group)}
.cancellation-section{display:grid;grid-template-columns:1fr 1fr;gap:90px;border-top:1px solid var(--line);padding-top:65px}
.cancellation-section h2{font-size:38px;margin-bottom:24px}.cancellation-section>div>p:not(.intro-label){color:var(--muted)}.cancellation-section .small{margin-top:20px}
.forum-toolbar{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:16px}.forum-toolbar select{min-width:240px}
.forum-topics{border-top:1px solid var(--line);margin-top:28px}
.forum-topic{display:flex;justify-content:space-between;align-items:center;gap:30px;padding:28px 4px;border-bottom:1px solid var(--line)}
.forum-topic>a{display:block;text-decoration:none;flex:1}.forum-topic h2{font-size:30px;line-height:1.25;overflow-wrap:anywhere}
.forum-topic .topic-category{display:block}.forum-topic a>p{font-size:16px;margin-top:14px;color:var(--muted)}.forum-topic a>p>span{font-size:16px}
.reply-count{text-align:center;display:block;min-width:76px;background:var(--accent-soft);padding:10px;border-radius:18px;font-size:1.1rem;color:var(--accent)}.reply-count>span{display:block;font-size:16px}
.pagination{display:flex;align-items:center;justify-content:center;gap:25px;margin-top:33px}.pagination>span{font-size:16px}.pagination .button{font-size:16px;min-height:44px;padding:10px 20px}
.forum-footnote{margin-top:50px;padding:24px;background:var(--surface-alt);border-radius:var(--radius-group)}
.thread-title h2{font-size:clamp(34px,3.6vw,48px);line-height:1.15;margin-bottom:31px;overflow-wrap:anywhere}
.forum-post{border:1px solid var(--line);border-radius:var(--radius-group);padding:30px;margin-top:19px;overflow-wrap:anywhere}
.forum-post.original-post{background:var(--surface)}
.forum-post header{display:flex;align-items:center;gap:12px}
.author-avatar{width:44px;height:44px;background:var(--rose);color:var(--rose-ink);border-radius:50%;display:flex;justify-content:center;align-items:center;font-family:var(--display);font-size:24px}
.forum-post header strong{display:block;font-size:18px}.forum-post header span{display:block;font-size:16px;color:var(--muted);margin-top:3px}
.post-body{margin-top:22px;font-size:1rem;line-height:1.85}.post-body p+p{margin-top:1.1em}
.forum-post footer{display:flex;align-items:center;gap:20px;margin-top:22px}
.text-button{padding:5px 0;font-size:16px;color:var(--muted);text-decoration:underline;text-underline-offset:4px;min-height:44px}.text-button.danger{color:var(--error)}
.post-status{font-size:16px;color:var(--error)}
.replies-heading{font-size:30px;margin-top:40px;margin-bottom:23px}
.reply-form{background:var(--surface-alt);padding:32px;border-radius:var(--radius-group);margin-top:45px}.reply-form h2{font-size:30px}.reply-form .button{justify-self:start}
.compose-dialog h2{margin-bottom:25px}.compose-dialog form>p{font-size:18px;color:var(--muted)}

/* Reveal on scroll (only when motion is welcome). */
.has-motion [data-reveal]{opacity:0;transform:translateY(32px);transition:opacity 1s var(--ease-out),transform 1.1s var(--ease-out)}
.has-motion [data-reveal].is-visible{opacity:1;transform:none}

/* Responsive */
@media(max-width:1180px){.site-header nav{gap:20px}.site-header nav a{font-size:14px}.nav-contact{padding-left:18px}.topic-grid,.news-grid{gap:48px 24px}}
@media(max-width:1050px){
 .menu-toggle{display:inline-flex}.nav-contact{display:none}
 .site-header nav{position:fixed;inset:0;z-index:1;display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:0;padding:120px var(--gutter) 48px;background:var(--canvas);opacity:0;visibility:hidden;transition:opacity .4s var(--ease),visibility 0s linear .4s}
 .site-header.menu-open nav{opacity:1;visibility:visible;transition:opacity .4s var(--ease)}
 .site-header.menu-open{background:var(--surface);backdrop-filter:none;-webkit-backdrop-filter:none}
 .site-header nav a{white-space:normal;overflow-wrap:anywhere;hyphens:auto;font-family:var(--display);font-size:clamp(38px,9vw,56px);letter-spacing:-.03em;font-weight:400;min-height:64px;padding:6px 0;border-bottom:1px solid var(--line);opacity:0;transform:translateY(18px);transition:opacity .5s var(--ease-out),transform .6s var(--ease-out)}
 .site-header nav a::after{content:"↗";position:static;height:auto;background:none;transform:none;margin-left:auto;font-family:var(--body);font-size:22px;color:var(--muted)}
 .site-header.menu-open nav a{opacity:1;transform:none}
 .site-header.menu-open nav a:nth-child(2){transition-delay:.05s}.site-header.menu-open nav a:nth-child(3){transition-delay:.1s}.site-header.menu-open nav a:nth-child(4){transition-delay:.15s}.site-header.menu-open nav a:nth-child(5){transition-delay:.2s}.site-header.menu-open nav a:nth-child(6){transition-delay:.25s}
 .site-header nav .mobile-contact{display:flex}
 .section-heading{align-items:start;flex-direction:column;gap:20px}
 .topic-grid,.news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .account-grid,.forum-gate{gap:30px}
 .footer-top{flex-direction:column}.footer-top nav{grid-template-columns:repeat(2,auto)}
 .course-bottom{flex-direction:column;gap:16px}.course-bottom .text-link{max-width:none}
}
@media(max-width:860px){
 .detail-hero,.detail-columns,.account-grid,.forum-gate,.cancellation-section{grid-template-columns:1fr;gap:36px}
 .detail-media{max-width:460px;margin-left:44px}
 .detail-hero>img{max-width:460px}
 .reading-aside,.booking-panel{position:static}
 .library-filters{grid-template-columns:1fr}
 .footer-hero{grid-template-columns:1fr;justify-items:start;gap:24px}
 .footer-figure{width:96px;height:200px}
 .footer-bottom{flex-direction:column;gap:10px}
}
@media(max-width:620px){
 midwife-header{padding:10px 12px 0}
 .eyebrow,.intro-label{letter-spacing:.12em}
 .site-header{min-height:62px;padding:6px 6px 6px 20px;gap:8px}
 midwife-header.is-scrolled .site-header{min-height:58px}
 .brand>span{font-size:21px}.brand small{font-size:9px;letter-spacing:.12em}
 .head-actions{gap:2px}.theme-toggle{width:46px;height:46px}
 .menu-toggle{padding-inline:12px 16px}
 .section{padding-block:56px}
 .body-copy,.legal-page article{font-size:18px}
 .detail-media{margin-left:36px;margin-right:0}
 .detail-hero h1,.page-heading h1,.legal-page h1{font-size:clamp(32px,9.2vw,46px)}
 .detail-figure{left:-36px;bottom:-20px;width:104px;height:260px;padding:16px 6px 10px}
 .topic-grid,.news-grid{grid-template-columns:1fr;gap:44px}
 .reading-aside,.booking-panel{padding:26px}
 .article-image{height:auto;border-radius:28px}
 .course-toolbar{align-items:start;flex-direction:column;gap:14px}.course-toolbar label{display:block;width:100%}.course-toolbar select{width:100%;margin-top:8px}
 .course-row{grid-template-columns:80px minmax(0,1fr);gap:12px 18px}.course-image{grid-column:1;grid-row:1 / span 3}.course-image img{width:80px;height:120px}
 .course-main{display:contents}.course-main>*{grid-column:2}.course-main h3{font-size:29px;margin:0;hyphens:auto}.course-main .course-facts{margin-top:0;gap:8px}.course-facts span+span{padding-left:8px}.course-main .course-action{grid-column:1/-1;margin-top:8px;max-width:none}.course-tag{font-size:11px;margin:0}
 .dialog-content{padding:28px 22px}.dialog-content>h2{font-size:34px}.dialog-content>p:not(.intro-label){font-size:16px}
 dialog{width:calc(100% - 20px);max-height:calc(100dvh - 20px);border-radius:26px}
 .field-grid{grid-template-columns:1fr}.dialog-content label,.dialog-content .check-label{font-size:16px}
 .account-bar{flex-wrap:wrap;gap:18px}.forum-toolbar{flex-wrap:wrap;align-items:stretch;gap:18px}.forum-toolbar label{width:100%}.forum-toolbar select{min-width:0}
 .forum-topic{gap:18px;padding-block:24px}.forum-topic h2{font-size:26px}.forum-topic a>p{font-size:14px}.reply-count{min-width:60px;font-size:18px}.reply-count>span{font-size:12px}
 .pagination{gap:12px;flex-wrap:wrap}.pagination .button{font-size:14px;padding:10px 14px}
 .forum-post{padding:24px 18px}.forum-post header span{font-size:14px}.forum-post footer{flex-wrap:wrap}.post-body{font-size:18px}
 .reply-form,.profile-onboarding{padding:26px 20px}.forum-gate,.member-welcome,.account-side{padding:28px 22px}
 .footer-top nav{width:100%;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px}.footer-top nav a{overflow-wrap:anywhere;hyphens:auto}
 .appearance{flex-direction:column}
}
@media(max-width:360px){.brand>span{font-size:19px}.brand small{display:none}.menu-toggle{padding-inline:12px}.menu-text{display:none}.theme-toggle{width:44px}.course-row{grid-template-columns:1fr}.course-image,.course-main>*{grid-column:1;grid-row:auto}.course-image img{width:100%;height:150px;object-position:center 40%}.segmented span{padding-inline:16px}}

/* Accessibility preferences */
[data-reading=true] body{font-size:21px}
[data-reading=true] .body-copy,[data-reading=true] .article-body,[data-reading=true] .post-body,[data-reading=true] main p,[data-reading=true] main li{font-size:22px}
[data-clarity=true] .site-header,[data-clarity=true] midwife-header.is-scrolled .site-header{background:var(--surface);backdrop-filter:none;-webkit-backdrop-filter:none;border-color:var(--control)}
@supports not (backdrop-filter:blur(1px)){.site-header{background:var(--surface)}}
@media(prefers-reduced-transparency:reduce),(prefers-contrast:more),(forced-colors:active){.site-header{background:var(--surface);backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:none;border-color:var(--control)}dialog::backdrop{backdrop-filter:none}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}
hero-section,guided-overview,about-midwife,service-overview,course-schedule,course-detail,topic-library,topic-detail,service-detail,published-articles,article-detail,community-invite,account-page,forum-page,cancellation-form,cost-page,contact-panel,midwife-footer{display:block}

/* Transfer information stays readable in narrow booking dialogs. */
.booking-bank{margin:8px 0 20px;padding:16px;border:1px solid var(--line);border-radius:16px}
.booking-bank summary{cursor:pointer;font-weight:600;line-height:1.5;min-height:28px}
.booking-bank p{font-size:15px;line-height:1.6}
.bank-iban{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.legal-page a{overflow-wrap:anywhere}
