@font-face{font-family:Cormorant;src:url('/assets/cormorant-garamond.ttf') format('truetype');font-weight:300 700;font-display:swap}
@font-face{font-family:Lato;src:url('/assets/Lato-Light.ttf') format('truetype');font-weight:300;font-display:swap}
@font-face{font-family:Signature;src:url('/assets/la-belle-aurore.ttf') format('truetype');font-display:swap}
:root{--ink:#41484c;--quiet:#62686c;--edge:3.85vw;--serif:Cormorant,Georgia,serif;--sans:Lato,Arial,sans-serif}
*{box-sizing:border-box}html{min-height:100%;scroll-behavior:smooth}body{margin:0;color:var(--ink);font-family:var(--serif);font-weight:400;background:#e7e8e8}a{color:inherit;text-decoration:none}button{color:inherit;font:inherit;background:none;border:0;cursor:pointer}a,button{-webkit-tap-highlight-color:transparent}button:disabled{opacity:.28;cursor:default}:focus-visible{outline:1px solid #5e6870;outline-offset:7px}::selection{background:#c5cfd5}body.menu-open{overflow:hidden}.skip{position:fixed;top:-100px;left:20px;z-index:50;padding:12px;background:#f4f2ee}.skip:focus{top:15px}
.surface{position:fixed;inset:0;z-index:-1;background:#e7e8e8 url('/assets/gewaehlter-hintergrund.png') center/cover no-repeat;overflow:hidden;pointer-events:none}
.light-state{position:absolute;inset:-20%;opacity:.18;transform:translate(0,0);transition:transform 5s ease,opacity 5s ease}
.light-breath{position:absolute;inset:0;background:radial-gradient(ellipse at 50% 45%,rgba(255,248,232,.7),transparent 65%);animation:breathe 36s ease-in-out infinite alternate}
@keyframes breathe{from{opacity:.12;transform:translate(-1%,1%)}to{opacity:.32;transform:translate(2%,-1%)}}
body[data-page="textos"] .light-state{opacity:.1;transform:translate(8%,-3%)}body[data-page="encuentros"] .light-state{opacity:.25;transform:translate(-5%,3%)}body[data-page="sobre-josan"] .light-state{opacity:.16;transform:translate(4%,4%)}body[data-page="contacto"] .light-state{opacity:.22;transform:translate(7%,0)}
.header{position:absolute;z-index:10;top:0;left:0;width:100%;padding:clamp(26px,4.2vh,48px) var(--edge);display:flex;align-items:center;justify-content:space-between;gap:35px}.brand{font-family:var(--sans);font-weight:300;font-size:clamp(20px,1.45vw,27px);letter-spacing:.25em;white-space:nowrap}.brand em{font-weight:300}nav{display:flex;align-items:center;gap:clamp(22px,2.5vw,46px);font-size:clamp(16px,1.03vw,19px)}nav a{position:relative;padding:10px 0;white-space:nowrap}nav a::after{content:'';position:absolute;left:0;right:0;bottom:5px;height:1px;background:currentColor;opacity:0;transform:scaleX(.4);transition:opacity .3s,transform .3s}nav a:hover::after,nav a[aria-current="page"]::after{opacity:.4;transform:scaleX(1)}.languages{display:flex;gap:9px;align-items:center;font:12px var(--sans);letter-spacing:.06em;margin-left:12px}.languages a{color:#666f75}.languages a[aria-current="true"]{color:#303b42}.menu-toggle{display:none}
main{outline:none}.home{height:100svh;min-height:540px;position:relative}.hairline{position:absolute;top:15%;bottom:17%;left:38.45%;width:1px;background:linear-gradient(transparent,rgba(73,82,88,.45) 18%,rgba(73,82,88,.45) 40%,transparent 43%,transparent 57%,rgba(73,82,88,.45) 60%,rgba(73,82,88,.45) 82%,transparent)}
.essential{position:absolute;left:25.3%;top:43.1%;margin:0;font-size:clamp(34px,2.52vw,56px);font-weight:400;line-height:1.13;letter-spacing:.19em;white-space:nowrap}.essential span,.essential em{display:block}.essential em{margin-left:9.2vw;font-weight:300;color:#73777a;letter-spacing:.16em;line-height:1.1}.essential span:last-child{margin-left:15.4vw;letter-spacing:.13em}.signature{position:fixed;right:var(--edge);bottom:6.7vh;font:clamp(27px,2.2vw,40px) Signature,cursive;transform:rotate(-6deg);color:#62696d;z-index:2;transition:opacity .4s}.no-script{position:absolute;bottom:15px;left:4vw;font:14px var(--sans)}
@media(max-width:900px){.header{padding:28px 7vw}.brand{font-size:20px;letter-spacing:.2em}.menu-toggle{display:flex;flex-direction:column;justify-content:center;gap:7px;width:44px;height:44px;z-index:12;padding:8px}.menu-toggle span{height:1px;width:28px;background:#62696d;transition:transform .3s}.menu-open .menu-toggle span:first-child{transform:translateY(4px) rotate(45deg)}.menu-open .menu-toggle span:last-child{transform:translateY(-4px) rotate(-45deg)}nav{display:none;position:fixed;inset:0;background:rgba(236,237,236,.97);padding:120px 12vw 70px;flex-direction:column;align-items:flex-start;justify-content:center;gap:18px;font-size:27px}.menu-open nav{display:flex}.languages{margin:28px 0 0;font-size:14px}.home{min-height:540px}.hairline{left:53.5%;top:21%;bottom:20%}.essential{left:12%;top:43%;font-size:clamp(31px,5.9vw,45px);letter-spacing:.13em}.essential em{margin-left:20vw;line-height:1.3;letter-spacing:.12em}.essential span:last-child{margin-left:29vw;letter-spacing:.08em}.signature{right:8vw;bottom:6vh;font-size:32px}.surface{background-position:48% center}}
@media(max-width:370px){.brand{font-size:17px}.essential{font-size:28px;left:9%}.essential span:last-child{margin-left:27vw}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}
main{opacity:1;transition:opacity .35s ease}main.changing{opacity:0}.section-name{font-family:var(--sans);font-size:12px;text-transform:uppercase;letter-spacing:.25em;color:var(--quiet)}.text-space{position:relative;min-height:100svh;padding-top:43vh;padding-bottom:110px}.text-space>.section-name{position:absolute;top:46.5vh;left:10vw}.text-core{margin-left:32%;width:min(54%,760px)}.text-title{font-weight:400;font-size:clamp(32px,2.8vw,53px);line-height:1.2;margin:0;letter-spacing:.025em;text-wrap:balance}.text-title a{transition:color .35s}.text-title a:hover{color:#202d35}.text-pager{display:flex;align-items:center;gap:32px}.text-space>.text-pager{position:absolute;top:60vh;left:64%}.text-pager :is(a,button){padding:0;font-size:24px;min-width:44px;min-height:44px;display:grid;place-items:center;font-weight:300}.count{font:13px var(--sans);letter-spacing:.12em;white-space:nowrap}.count span{padding:0 13px;color:#798086}.reading .text-core{width:min(52%,760px)}.reading .text-title{margin-bottom:0}.back-to-titles{display:inline-block;font:13px var(--sans);margin-top:22px;color:var(--quiet);padding:8px 0}.reading-body{max-width:520px;padding:55px 0 12vh 3vw;font-size:23px;line-height:1.85;letter-spacing:.006em}.reading-body p{margin:0 0 14vh;text-wrap:pretty}.reading-body strong,.long-copy strong{font-weight:500}.reading-body .fragment-note{font:13px var(--sans);line-height:1.7;color:var(--quiet);margin:7vh 0}.reading-end{padding-top:8vh}.reading-end .text-pager{justify-content:space-between}.reading-transition article{animation:unfold 1.1s ease both}@keyframes unfold{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}.is-reading .signature,body[data-page="sobre-josan"] .signature,body[data-page="encuentros"] .signature{position:absolute;top:88vh;bottom:auto;opacity:.7}.quiet-page{position:relative;min-height:100svh;padding:29vh 8vw 14vh}.quiet-page>.section-name{position:absolute;left:10vw;top:32.5vh}.page-core{margin-left:26%;max-width:630px}.page-core h1{font-weight:400;font-size:clamp(38px,3.5vw,60px);line-height:1.2;letter-spacing:.02em;margin:0 0 50px}.intro,.long-copy,.expanded-copy,.meeting-details{font-size:22px;line-height:1.85}.intro p{margin-bottom:36px}.long-copy p{margin:0 0 10vh}.expanded-copy p{margin:30px 0 55px}details{margin-top:35px}summary{cursor:pointer;font:14px var(--sans);padding:14px 0;color:var(--quiet);list-style:none}summary::after{content:'+';margin-left:30px}details[open] summary::after{content:'\2212'}.meeting-details{margin-top:11vh;max-width:490px}.meeting-details h2{font:13px var(--sans);text-transform:uppercase;letter-spacing:.17em;margin-bottom:28px}.meeting-details p{margin:18px 0}.text-link{font:14px var(--sans);line-height:1.6;display:inline-block;padding:12px 0;text-decoration:underline;text-underline-offset:6px;text-decoration-thickness:1px;text-decoration-color:#969c9f}.contact-page{padding-top:35vh}.contact-page>.section-name{top:38.5vh}.contact-primary{font-size:clamp(20px,2.1vw,32px);margin-top:60px;overflow-wrap:anywhere}.contact-secondary{font-size:18px;line-height:1.7;color:var(--quiet);margin-top:65px}.contact-secondary p{margin:0 0 25px}.essential.german{font-size:clamp(30px,2.35vw,51px);letter-spacing:.12em}.essential.german em{margin-left:12vw}.essential.german span:last-child{margin-left:21vw}
@media(max-width:900px){.text-space{padding-top:39svh;padding-bottom:90px}.text-space>.section-name{top:24svh;left:9vw}.text-core,.reading .text-core{margin-left:12vw;width:79vw}.text-title{font-size:clamp(34px,8vw,48px);line-height:1.25;max-width:90%}.text-space>.text-pager{top:63svh;left:auto;right:11vw;gap:22px}.reading-body{padding:45px 0 40px 4vw;max-width:100%;font-size:21px;line-height:1.8}.reading-body p{margin-bottom:12vh}.reading-body br{display:none}.reading-body br::after{content:' '}.reading .text-title{max-width:100%}.back-to-titles{margin-top:24px}.is-reading .signature,body[data-page="sobre-josan"] .signature,body[data-page="encuentros"] .signature{display:none}.quiet-page{padding:25svh 9vw 12vh}.quiet-page>.section-name{position:static;margin-bottom:54px}.page-core{margin:0;max-width:100%}.page-core h1{font-size:40px;margin-bottom:38px}.intro,.long-copy,.expanded-copy,.meeting-details{font-size:21px}.contact-page{padding-top:25svh}.contact-primary{font-size:21px;margin-top:45px}.contact-secondary{margin-top:55px}.contact-page .page-core{padding-bottom:65px}.essential.german{left:9%;font-size:clamp(27px,6vw,43px);letter-spacing:.08em}.essential.german em{margin-left:24vw}.essential.german span:last-child{margin-left:44vw}.reading-body p br{display:initial}}
@media(max-height:530px) and (orientation:landscape){.header{padding-top:15px}.home{min-height:430px}.signature{position:absolute;bottom:22px}.text-space{padding-top:170px}.text-space>.section-name{top:120px}.text-space>.text-pager{top:280px}.quiet-page{padding-top:160px}}
/* Keep the fine line clear of the lettering at both compositions. */
.hairline{top:0;bottom:0;background:none}.hairline::before,.hairline::after{content:'';position:absolute;width:1px;left:0;background:linear-gradient(transparent,rgba(73,82,88,.4))}.hairline::before{top:15%;height:27%}.hairline::after{top:54%;bottom:17%;background:linear-gradient(rgba(73,82,88,.4),transparent)}
@media(max-width:900px){.hairline{top:0;bottom:0}.hairline::before{top:21%;height:21%}.hairline::after{top:56%;bottom:20%}.signature{font-size:28px}}
/* Confirmed composition: all coordinates refer to the complete viewport. */
html,body{width:100%;height:100%;overflow:hidden;overscroll-behavior:none}
main{height:100svh;overflow:hidden}
.header{position:fixed;padding-top:4.2svh;padding-bottom:0}
.home{height:100svh;min-height:0}
.surface{background-size:100% 100%;background-position:center}
.essential{font-size:2.52vw;top:43.1svh;left:25.3vw}
.signature,.is-reading .signature,body[data-page="sobre-josan"] .signature,body[data-page="encuentros"] .signature{display:block;position:fixed;top:auto;right:3.8vw;bottom:7svh;width:6vw;height:4.8svh;min-height:28px;transform:none;font-size:0;opacity:1;background-image:url('/assets/josan-transparent.svg');background-size:1672% 1960.42%;background-position:96.55% 93.5%;mix-blend-mode:multiply}
nav{gap:2.5vw;font-size:1.03vw}nav>a[aria-current="page"]::after{opacity:0}.languages{font-size:12px;margin-left:12px}
.text-space{height:100svh;min-height:0;padding:0;overflow:hidden}
.text-space>.section-name{left:10vw;top:46.5svh}
.text-core,.reading .text-core{position:absolute;left:32vw;top:43svh;margin:0;width:54vw;height:47svh;display:flex;flex-direction:column}
.text-title{flex:none;font-size:2.8vw;margin:0;line-height:1.2}
.back-to-titles{align-self:flex-start;flex:none;margin:18px 0 0;padding:5px 0;font-size:12px}
.reading-body{flex:1;min-height:0;max-width:560px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none;padding:28px 16px 65px 3vw;margin-top:24px;mask-image:linear-gradient(to bottom,transparent,#000 24px,#000 calc(100% - 46px),transparent);-webkit-mask-image:linear-gradient(to bottom,transparent,#000 24px,#000 calc(100% - 46px),transparent)}
.reading-body::-webkit-scrollbar,.page-core::-webkit-scrollbar{display:none}.reading-body p{margin-bottom:12svh}.reading-body:focus-visible{outline:none}.reading-body:focus-visible p:first-child{text-decoration:underline;text-decoration-color:#94999c;text-underline-offset:8px;text-decoration-thickness:.5px}.reading-end{padding:30px 0 10px}.reading-end .text-pager{gap:15px}
.text-space>.text-pager{top:59svh}
.quiet-page{height:100svh;min-height:0;overflow:hidden;padding-bottom:0}.page-core{max-height:61svh;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none;padding:0 18px 70px 0;mask-image:linear-gradient(#000 calc(100% - 45px),transparent)}
.contact-page .page-core{max-height:55svh}.quiet-page>.section-name{position:fixed}
@media(min-width:901px){.brand{font-size:1.45vw}.header nav{position:absolute;left:61.65vw;right:3.85vw;justify-content:space-between;gap:0}.header .languages{margin-left:1.5vw}.signature{width:6vw}}
@media(max-width:900px){.header{padding:28px 7vw}.brand{font-size:20px}.surface{background-size:auto 100%;background-position:45% center;filter:saturate(1.16) contrast(1.08)}.essential{font-size:clamp(28px,7.9vw,45px);left:12%;top:43svh}.essential em{margin-left:20vw}.essential span:last-child{margin-left:29vw}.essential.german{font-size:clamp(25px,6vw,43px)}nav{font-size:27px;gap:18px}.signature,.is-reading .signature,body[data-page="sobre-josan"] .signature,body[data-page="encuentros"] .signature{width:74px;height:35px;min-height:0;right:8vw;bottom:5svh}.text-space>.section-name{top:24svh;left:9vw}.text-core,.reading .text-core{left:12vw;top:38svh;width:79vw;height:48svh}.text-title{font-size:clamp(28px,7.7vw,43px);max-width:100%}.text-space>.text-pager{top:63svh;left:auto;right:11vw}.reading-body{max-width:100%;font-size:20px;line-height:1.75;padding:20px 6px 50px 4vw;margin-top:16px;mask-image:linear-gradient(transparent,#000 18px,#000 calc(100% - 30px),transparent);-webkit-mask-image:linear-gradient(transparent,#000 18px,#000 calc(100% - 30px),transparent)}.back-to-titles{margin-top:15px}.quiet-page{padding-top:24svh}.quiet-page>.section-name{position:static;margin-bottom:35px}.page-core{max-height:56svh;padding-bottom:50px}.contact-page .page-core{max-height:56svh;padding-bottom:50px}}
@media(max-width:370px){.brand{font-size:17px}.essential{left:9%;font-size:28px}.essential span:last-child{margin-left:27vw}}
@media(max-height:530px){.text-core,.reading .text-core{top:27svh;height:62svh}.text-space>.section-name{top:29svh}.text-space>.text-pager{top:62svh}.quiet-page{padding-top:24svh}.page-core{max-height:62svh}.header{padding-top:12px}.text-title{font-size:28px}.reading-body{margin-top:8px;padding-top:12px}.signature{bottom:5svh}}
.signature,.is-reading .signature,body[data-page="sobre-josan"] .signature,body[data-page="encuentros"] .signature{height:5.1svh;background-position:96.25% 93.5%;filter:grayscale(1) contrast(3) brightness(1.18);opacity:.65}
@media(max-width:900px){.signature,.is-reading .signature,body[data-page="sobre-josan"] .signature,body[data-page="encuentros"] .signature{height:35px}}
.surface{background-image:url('/assets/hintergrund-bestaetigt-glatt.png')}
.essential em{color:#999b9d}.hairline::before{height:28%}
.signature,.is-reading .signature,body[data-page="sobre-josan"] .signature,body[data-page="encuentros"] .signature{filter:grayscale(1) contrast(3) brightness(1.18);opacity:.65}
@media(max-width:900px){.hairline::before{height:21%}}

/* Isolate the original signature ink from its old background. */
.signature,.is-reading .signature,body[data-page="sobre-josan"] .signature,body[data-page="encuentros"] .signature{background-image:url("/assets/josan-transparent.svg");background-size:100% 100%;background-position:center;mix-blend-mode:normal;filter:none;opacity:.9}

/* Reading opens upward, leaving generous space below the scrolling text. */
.text-space{--reading-rise:clamp(72px,12svh,114px)}
.reading .text-core{top:calc(43svh - var(--reading-rise));height:calc(35svh + var(--reading-rise))}
.reading-transition .reading .text-core{animation:reading-rise 1.05s cubic-bezier(.22,.61,.36,1) both}
.reading-transition .reading-body,.reading-transition .back-to-titles{animation:reading-appear .85s ease .35s both}
@keyframes reading-rise{from{transform:translateY(var(--reading-rise))}to{transform:translateY(0)}}
@keyframes reading-appear{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:900px){.text-space{--reading-rise:clamp(62px,10svh,90px)}.reading .text-core{top:calc(38svh - var(--reading-rise));height:calc(40svh + var(--reading-rise))}}
@media(max-height:530px){.text-space{--reading-rise:35px}.reading .text-core{top:calc(27svh - var(--reading-rise));height:calc(53svh + var(--reading-rise))}}
@media(prefers-reduced-motion:reduce){.reading-transition .reading .text-core,.reading-transition .reading-body,.reading-transition .back-to-titles{animation:none}}

/* Raise the opened reading composition by a further three centimetres. */
.reading .text-core{margin-top:calc(-1 * min(3cm, 12svh))}
@media(max-height:530px){.reading .text-core{margin-top:0}}
@keyframes reading-rise{from{transform:translateY(calc(var(--reading-rise) + min(3cm,12svh)))}to{transform:translateY(0)}}
@media(max-width:900px) and (min-height:531px){.reading>.section-name{top:calc(38svh - var(--reading-rise) - min(3cm,12svh) - 48px)}}
@media(max-height:530px){@keyframes reading-rise{from{transform:translateY(var(--reading-rise))}to{transform:translateY(0)}}}

/* Homepage sentence and line follow the two-line reference. */
.home .hairline{left:20.6vw;top:23svh;bottom:25svh;background:linear-gradient(transparent,rgba(73,82,88,.5) 35%,rgba(73,82,88,.5) 65%,transparent)}
.home .hairline::before,.home .hairline::after{content:none}
.home .essential{left:23vw;top:44.7svh;font-size:3vw;line-height:1.15;letter-spacing:.19em}
.home .essential>span{margin-left:0}
.home .essential em{margin:4px 0 0 6.2vw;font-size:.86em;line-height:1.2;letter-spacing:.17em;color:#73777a;font-weight:300}
.home .essential.german{font-size:2.75vw;letter-spacing:.13em}
@media(max-width:900px){
 .home .hairline{left:9vw;top:28svh;bottom:27svh}
 .home .essential{left:14vw;top:44svh;font-size:clamp(27px,5.8vw,43px);letter-spacing:.12em}
 .home .essential em{margin-left:6vw;font-size:.78em;letter-spacing:.10em}
 .home .essential.german{left:14vw;font-size:clamp(25px,5.3vw,40px);letter-spacing:.08em}
}

/* All text pages share the same fixed heading and bounded reader. */
.page-reading .contact-primary{margin-top:0}
.page-reading .intro,.page-reading .long-copy,.page-reading .expanded-copy,.page-reading .meeting-details{font-size:inherit;line-height:inherit}
.section-name{font-size:13px}
.back-to-titles{font-size:13px}
.count,.meeting-details h2,.reading-body .fragment-note{font-size:14px}
summary,.text-link{font-size:15px}
.signature,.is-reading .signature,body[data-page="sobre-josan"] .signature,body[data-page="encuentros"] .signature{opacity:.65}

/* Quiet homepage crossfade: first change after three seconds; then eleven seconds still, four seconds transition. */
.home .essential>.start-phrase{position:absolute;top:0;left:0;margin:0;opacity:0;transition:opacity 4s ease-in-out;pointer-events:none}
.home .essential>.start-phrase:first-child{position:relative}
.home .essential>.start-phrase.visible{opacity:1}
.home .start-phrase>span{margin:0;letter-spacing:inherit}
.start-pause{position:absolute;bottom:7svh;left:var(--edge);font:12px var(--sans);letter-spacing:.08em;padding:10px 0;color:var(--quiet)}
@media(max-width:900px){.start-pause{left:8vw;bottom:5svh}.home .start-phrase>span{margin:0;letter-spacing:inherit}}

/* Reset legacy last-line offsets on every rotating phrase, in both languages. */
.home .essential>.start-phrase:last-child{margin-left:0;letter-spacing:inherit}
.home .essential>.start-phrase.long-phrase{font-size:.88em;letter-spacing:.08em}
.home .essential>.start-phrase.long-phrase em{letter-spacing:.06em}
@media(max-width:900px){.home .essential>.start-phrase.long-phrase{font-size:.85em;letter-spacing:.04em}.home .essential>.start-phrase.long-phrase em{white-space:normal;width:72vw;max-width:32em;letter-spacing:.04em}}

.home .essential>.start-phrase.long-phrase{width:68vw;white-space:normal}
.home .essential>.start-phrase.long-phrase em{max-width:calc(100% - 6.2vw)}
@media(max-width:900px){.home .essential>.start-phrase.long-phrase{width:78vw}.home .essential>.start-phrase.long-phrase em{max-width:72vw}}


/* Align the desktop section label with the first title line. */
@media(min-width:901px){body[data-page="sobre-josan"] .text-space>.section-name{top:calc(43svh + 1.68vw);transform:translateY(-50%)}}
@media(min-width:901px) and (max-height:530px){body[data-page="sobre-josan"] .text-space>.section-name{top:calc(27svh + 16.8px)}}

/* Keep the section label still while titles fade in and out. */
body[data-page="textos"] .text-core{transition:opacity .85s ease-in-out}
main.title-changing .text-core{opacity:0}
@media(prefers-reduced-motion:reduce){body[data-page="textos"] .text-core{transition:none}}

/* One calm pace for navigation and content changes. */
main{transition:opacity .85s ease-in-out}
nav{transition:opacity .85s ease-in-out}
nav.language-changing{opacity:0}
.text-core{transition:opacity .85s ease-in-out}
a,button,summary{transition:color .85s ease-in-out}
nav a::after{transition:opacity .85s ease-in-out,transform .85s ease-in-out}
@media(max-width:900px){
 nav{display:flex;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .85s ease-in-out,visibility 0s linear .85s}
 .menu-open nav{opacity:1;visibility:visible;pointer-events:auto;transition-delay:0s}
 .menu-toggle span{transition:transform .85s ease-in-out}
}

body[data-page="sobre-josan"] .reading-transition .text-core{animation-duration:1.5s}
body[data-page="sobre-josan"] .reading-transition .reading-body{animation-duration:1.1s;animation-delay:.45s}

/* Preserve the slight label offset seen in the 21:02 reference across desktop aspect ratios. */
@media(min-width:901px){body[data-page="textos"] .text-space>.section-name{top:calc(43svh + 3.1vw);transform:translateY(-50%)}}
@media(min-width:901px) and (max-height:530px){body[data-page="textos"] .text-space>.section-name{top:calc(27svh + 31px)}}

/* Earlier menu switch; keep the desktop composition intact. */
@media(min-width:901px) and (max-width:1100px){
 .menu-toggle{display:flex;position:absolute;right:var(--edge);top:calc(4.2svh - 10px);flex-direction:column;justify-content:center;gap:7px;width:44px;height:44px;z-index:12;padding:8px}
 .menu-toggle span{height:1px;width:28px;background:#62696d;transition:transform .85s ease-in-out}
 .menu-open .menu-toggle span:first-child{transform:translateY(4px) rotate(45deg)}
 .menu-open .menu-toggle span:last-child{transform:translateY(-4px) rotate(-45deg)}
 .header nav{display:flex;position:fixed;inset:0;background:rgba(236,237,236,.97);padding:90px 12vw 50px;flex-direction:column;align-items:flex-start;justify-content:center;gap:18px;font-size:27px;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .85s ease-in-out,visibility 0s linear .85s}
 .menu-open .header nav{opacity:1;visibility:visible;pointer-events:auto;transition-delay:0s}
 .header .languages{margin:28px 0 0;font-size:14px}
}
@media(min-width:901px) and (max-width:1100px) and (max-height:530px){
 .menu-toggle{top:2px}
 .header nav{padding:35px 12vw;gap:5px;font-size:23px}
 .header .languages{margin-top:10px}
}

/* Fixed reference size while the horizontal navigation is visible. */
@media(min-width:1101px){.header nav{font-size:18.45px}}

/* Quiet references and independent reading pages. */
.extra-links{display:flex;flex-direction:column;align-items:flex-start;gap:18px;margin-top:48px;font:14px/1.6 var(--sans);color:var(--quiet)}
.extra-links a{white-space:normal;text-decoration:underline;text-decoration-thickness:.5px;text-underline-offset:5px;text-decoration-color:#a3a8ab}
.text-space:not(.reading)>.extra-links{position:absolute;left:32vw;top:76svh;width:51vw;margin:0;gap:12px;font-size:13px}
.extra-view .header nav{position:static;inset:auto;display:flex;flex-direction:row;align-items:center;justify-content:flex-end;width:auto;padding:0;background:none;opacity:1;visibility:visible;pointer-events:auto;gap:30px;font-size:16px}
.extra-view .menu-toggle{display:none!important}
.extra-view .header .languages{margin:0;font-size:13px}
.extra-view .main-return{white-space:normal}
.extra-page.reading .text-core{left:25vw;top:20svh;width:60vw;height:60svh;margin-top:0}
.extra-page .text-title{font-size:clamp(32px,2.8vw,53px);max-width:850px;text-wrap:pretty}
.extra-reading{max-width:680px;padding-left:0;font-size:22px;line-height:1.8}
.extra-reading p{margin-bottom:38px}
.extra-reading h2{font:400 28px/1.3 var(--serif);margin:50px 0 25px}
.extra-reading .extra-kicker{font:13px/1.6 var(--sans);letter-spacing:.16em;color:var(--quiet)}
.extra-reading .extra-subtitle{font-style:italic;color:var(--quiet)}
.extra-reading .extra-copyright{font:12px/1.7 var(--sans);color:var(--quiet);margin-top:50px}
.extra-reading a{text-decoration:underline;text-decoration-thickness:.5px;text-underline-offset:5px}
@media(max-width:900px){
 .extra-view .header{align-items:flex-start;gap:20px}
 .extra-view .header nav{flex-direction:column;align-items:flex-end;gap:8px;font-size:13px;max-width:43vw}
 .extra-view .header .languages{font-size:12px}
 .extra-page.reading .text-core{left:12vw;top:23svh;width:79vw;height:59svh}
 .extra-page .text-title{font-size:clamp(28px,6.5vw,40px)}
 .extra-reading{font-size:20px;margin-top:12px}
 .text-space:not(.reading)>.extra-links{left:12vw;top:75svh;width:79vw;font-size:12px;gap:12px}
}
@media(max-height:530px){.extra-page.reading .text-core{top:24svh;height:62svh}.extra-page .text-title{font-size:28px}.text-space:not(.reading)>.extra-links{top:78svh;gap:5px}.extra-reading{font-size:19px}}

/* Fade header controls before changing between main and independent pages. */
.header .menu-toggle{transition:opacity .85s ease-in-out}
.header.controls-changing nav,.header.controls-changing .menu-toggle{opacity:0!important;pointer-events:none}
.text-space>.text-pager{transition:opacity .85s ease-in-out}
main.title-changing .text-space>.text-pager{opacity:1}
/* Keep paragraph margins inside the animated disclosure at both endpoints. */
.expanded-copy{display:flow-root}

/* Keep full-size navigation visible on medium desktop windows. */
@media(min-width:1101px) and (max-width:1500px){body:not(.extra-view) .header nav{left:auto;gap:24px;justify-content:flex-end}body:not(.extra-view) .header .languages{margin-left:8px}}

/* Phone study: preserve the surface, give the small composition more presence. */
@media(max-width:600px){
 body{--ink:#374149;--quiet:#555f66}
 .surface::after{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at 42% 46%,rgba(255,248,234,.22),transparent 60%),linear-gradient(115deg,rgba(94,117,139,.065),transparent 43%,rgba(96,117,137,.075));pointer-events:none}
 .home .essential{font-size:clamp(29px,6.4vw,41px)}
 .home .essential.german{font-size:clamp(28px,6.1vw,39px)}
 .home .essential em{color:#626b72}
 .home .hairline{background:linear-gradient(transparent,rgba(66,79,90,.58) 35%,rgba(66,79,90,.58) 65%,transparent)}
 .text-title{font-size:clamp(30px,8vw,44px)}
}

/* Navigation inhabits the existing surface and the homepage's fine line. */
@media(max-width:1100px){
 body:not(.extra-view) .header nav{inset:20svh 8vw 16svh 23vw;padding:0;background:transparent;justify-content:center;align-items:flex-start;gap:8px;font-size:30px;line-height:1.2}
 body:not(.extra-view) .header nav>a{padding:8px 0}
 body:not(.extra-view) .header .languages{margin:20px 0 0;font-size:14px}
 .home .essential,.home .start-pause{transition:opacity .85s ease-in-out}
 body.menu-open[data-page="inicio"] .home .essential,body.menu-open .start-pause{opacity:0;pointer-events:none}
 body.menu-open:not([data-page="inicio"]) main{opacity:0;pointer-events:none}
 body::after{content:'';position:fixed;z-index:5;left:20.6vw;top:23svh;bottom:25svh;width:1px;background:linear-gradient(transparent,rgba(73,82,88,.5) 35%,rgba(73,82,88,.5) 65%,transparent);opacity:0;pointer-events:none;transition:opacity .85s ease-in-out}
 body.menu-open:not([data-page="inicio"])::after{opacity:1}
}
@media(max-width:900px){
 body:not(.extra-view) .header nav{inset:23svh 8vw 20svh 14vw;font-size:29px;gap:8px}
 body::after{left:9vw;top:28svh;bottom:27svh}
}
@media(max-width:600px){body::after{background:linear-gradient(transparent,rgba(66,79,90,.58) 35%,rgba(66,79,90,.58) 65%,transparent)}}
@media(max-width:1100px) and (max-height:530px){
 body:not(.extra-view) .header nav{top:16svh;bottom:8svh;font-size:23px;gap:0}
 body:not(.extra-view) .header nav>a{padding:4px 0}
 body:not(.extra-view) .header .languages{margin-top:9px}
}


/* Stable type: available space changes, not the size of the text. */
body[data-page="textos"] .text-title{font-size:36px;line-height:1.2}
body[data-page="textos"] .reading-body{font-size:22px;line-height:1.8}
body[data-page="textos"] .text-core,
body[data-page="textos"] .text-space>.section-name,
body[data-page="textos"] .text-space>.text-pager{
 transition:opacity .85s ease-in-out,left .35s ease-out,top .35s ease-out,width .35s ease-out;
}
/* One compact group as the available width shrinks. */
@media(max-width:1100px){
 body[data-page="textos"]{--text-left:clamp(12vw,calc(62vw - 300px),32vw);--title-top:clamp(190px,36svh,400px);--reader-top:clamp(112px,18svh,180px)}
 body[data-page="textos"] .text-core{left:var(--text-left);top:var(--title-top);width:calc(90vw - var(--text-left));height:calc(84svh - var(--title-top));margin:0}
 body[data-page="textos"] .reading .text-core{top:var(--reader-top);height:calc(84svh - var(--reader-top));margin:0}
 body[data-page="textos"] .text-space>.section-name{left:var(--text-left);top:calc(var(--title-top) - 44px);transform:none}
 body[data-page="textos"] .reading>.section-name{top:calc(var(--reader-top) - 40px)}
 body[data-page="textos"] .text-space>.text-pager{left:var(--text-left);right:auto;top:calc(var(--title-top) + var(--text-title-height,44px) + 48px);gap:22px}
 body[data-page="textos"] .reading-body{padding-left:0;max-width:100%}
}
@media(max-width:1100px) and (max-height:530px){
 body[data-page="textos"]{--title-top:34svh;--reader-top:100px}
}
/* Resizing never animates a closed navigation across the page. */
.is-resizing .header nav,.is-resizing .header,.is-resizing .menu-toggle,
.is-resizing .menu-toggle span,.is-resizing::after{transition:none!important}
.text-pager .count{font-variant-numeric:tabular-nums}
@media(prefers-reduced-motion:reduce){
 body[data-page="textos"] .text-core,body[data-page="textos"] .text-space>.section-name,body[data-page="textos"] .text-space>.text-pager{transition:none}
}

/* Stable wordmark on every device; signature only becomes smaller on phones. */
.header .brand{font-size:26px;letter-spacing:.2em;flex-shrink:0}
.signature,.is-reading .signature,body[data-page="sobre-josan"] .signature,body[data-page="encuentros"] .signature{width:108px;height:51px;background-size:contain;background-repeat:no-repeat}
@media(max-width:600px){
 .header{gap:12px}
 .header .menu-toggle{flex-shrink:0}
 .signature,.is-reading .signature,body[data-page="sobre-josan"] .signature,body[data-page="encuentros"] .signature{width:74px;height:35px}
 .extra-view .header{flex-wrap:wrap}
 .extra-view .header nav{margin-left:auto}
}

/* Requested correction: only the upper wordmark gets smaller on phones. */
@media(max-width:600px){.header .brand{font-size:20px}}

/* Review 2026-10-02: contrast and full-size navigation. */
body{--ink:#343d42;--quiet:#505b62}
.home .essential em{color:#5b656c}
.languages a,.count span{color:var(--quiet)}
.menu-toggle span{background:var(--ink)}
@media(min-width:901px) and (max-width:1500px){
 body:not(.extra-view) .header .menu-toggle{display:none}
 body:not(.extra-view) .header nav{display:flex;position:static;inset:auto;width:auto;padding:0;background:none;flex-direction:row;align-items:center;justify-content:flex-end;gap:20px;font-size:18.45px;line-height:normal;opacity:1;visibility:visible;pointer-events:auto}
 body:not(.extra-view) .header nav>a{padding:10px 0}
 body:not(.extra-view) .header .languages{margin:0 0 0 8px;font-size:12px}
 body.menu-open main,body.menu-open .home .essential,body.menu-open .start-pause{opacity:1;pointer-events:auto}
 body.menu-open::after{opacity:0}
}
@media(max-width:600px){
 body{--ink:#28363f;--quiet:#3e4e58}
 .home .essential em{color:#3e4e58}
 .header .brand{font-weight:400}
 .header .brand em{font-weight:400}
 .section-name,.count,.back-to-titles,.start-pause,.languages{font-weight:400}
 .menu-toggle span{height:2px}
 .signature,.is-reading .signature,body[data-page="sobre-josan"] .signature,body[data-page="encuentros"] .signature{opacity:.85}
}

/* Bestätigter warmer Hintergrund auf allen deutschen Seiten. */
.surface{filter:sepia(.055) saturate(.91) contrast(1.07) brightness(.96)}
.surface::after{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 48% 43%,rgba(255,246,231,.25),rgba(255,232,207,.08) 32%,transparent 66%),linear-gradient(135deg,rgba(39,60,77,.18),transparent 47%,rgba(44,65,81,.12));pointer-events:none}

/* Bestätigt: warme Schrift und lesbarer Hintergrund auf allen Bildschirmgrößen. */
:root{--ink:#344955;--quiet:#60717a}
body{color:var(--ink)}
.languages a,.essential em{color:var(--quiet)!important}.languages a[aria-current="true"]{color:var(--ink)!important}
@media(max-width:900px){.surface{filter:sepia(.09) saturate(1) contrast(1.2) brightness(.88)}.surface::after{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 49% 42%,rgba(255,246,231,.5),rgba(255,230,201,.2) 32%,transparent 66%),linear-gradient(135deg,rgba(37,59,78,.4),transparent 46%,rgba(42,62,79,.28));pointer-events:none}}
