/* Shared high-contrast presentation for the whole site. */
:root{color-scheme:dark;--bg:#171717;--ink:#f4f3ef;--muted:#cdcdca;--line:#777774}
body{background:var(--bg);color:var(--ink);font-size:18px;line-height:1.65}
header{gap:20px;flex-wrap:wrap}
nav{font-size:17px;gap:28px;line-height:1.6}
nav a,summary,.button{min-height:44px;display:inline-flex;align-items:center}
nav a:hover,footer a:hover{text-decoration:underline;text-underline-offset:5px}
p,.intro,.path p,.about p,.gallery-intro p{font-size:18px;line-height:1.85}
.intro{max-width:460px}
.eyebrow,.tiny,.number,.strip{font-size:14px;letter-spacing:1.4px;line-height:1.8;color:var(--muted)}
.strip{gap:24px;flex-wrap:wrap}
.hero h1 em{color:#c9c9c4}
.orb{background:radial-gradient(circle at 35% 30%,#999a95,#555650 48%,#272823 75%,#65665e);box-shadow:inset -25px -15px 60px #272924;opacity:.5}
.round{border-color:#b9b9b3;color:#f4f3ef}
.essay{border-color:var(--line)}
h3{font-size:34px;line-height:1.3}
summary{font-size:16px;letter-spacing:.6px;text-decoration:underline;text-underline-offset:5px}
details p{color:var(--muted);font-size:18px}
.about{background:#242424}
.about .large{font-size:clamp(29px,3vw,40px);line-height:1.45}
.path{background:#292929}.path.dark{background:#222;color:var(--ink)}
.button{font-size:17px;background:#efefea;color:#202020;line-height:1.5;min-height:52px}
footer{font-size:15px;line-height:1.8;gap:24px;flex-wrap:wrap}
.photo>span:not(.photo-media){font-size:18px;font-weight:500;padding-top:16px}
.photo-description,.photo-rights{font-size:16px;line-height:1.8;color:var(--muted)}
.photo-rights{max-width:650px}
.empty p{color:var(--muted)}
.empty a{font-size:17px!important;padding:8px 0}
.viewer-caption{font-size:17px;line-height:1.65;max-width:850px}
.viewer-top,.viewer-bottom{font-size:17px}
.viewer button{font-size:16px;min-height:48px;border-color:#aaa}
.viewer-bottom{align-items:center}
a:focus-visible,summary:focus-visible,button:focus-visible,.photo:focus-visible{outline:3px solid #f3f1dd;outline-offset:5px}
@media(max-width:700px){
 header{padding:20px 6%;gap:12px 20px}nav{gap:14px;font-size:16px;flex-wrap:wrap}
 .eyebrow,.tiny,.number,.strip{font-size:14px;letter-spacing:1px}
 .section-head{align-items:flex-start;flex-direction:column;gap:18px}
 .section-head .tiny{max-width:none;font-size:14px}
 .intro{max-width:calc(100% - 70px)}
 .hero h1{font-size:clamp(48px,11vw,66px)}
 .strip{gap:10px}.viewer-caption{font-size:16px}.viewer button{font-size:16px}
 .viewer-bottom{flex-wrap:wrap;justify-content:center}.viewer-caption{order:-1;width:100%}
 footer{font-size:15px}.gallery-intro p{font-size:18px}
}

.language-control{display:flex;align-items:center;gap:10px;font:16px/1.5 Arial,sans-serif;color:var(--ink)}
.language-control select{font:inherit;background:#292929;color:#f4f3ef;border:1px solid #aaa;border-radius:4px;padding:10px 12px;min-height:46px;max-width:160px;cursor:pointer}
.language-control select:focus-visible{outline:3px solid #f3f1dd;outline-offset:4px}
header nav{margin-left:auto}
html[lang="de"] .hero h1,html[lang="en"] .hero h1{font-size:clamp(56px,7.8vw,122px)}
@media(max-width:900px){header{gap:10px 20px}header .brand{order:1}.language-control{order:2;margin-left:auto}header nav{order:3;width:100%;margin:0;gap:20px}}
@media(max-width:700px){html[lang="de"] .hero h1,html[lang="en"] .hero h1{font-size:clamp(40px,10vw,62px)}.language-control{font-size:16px}.language-control select{max-width:145px}.hero h1{overflow-wrap:normal}}

.essay-page{padding:65px 6% 80px;max-width:1100px}
.essay-heading{max-width:850px;margin:0 auto 55px}
.essay-heading h1,.texts-heading h1{font:400 clamp(46px,6vw,80px)/1.12 Georgia,serif;letter-spacing:-2px;margin:28px 0}
.essay-heading .essay-lead{font-size:24px;line-height:1.65;color:var(--muted)}
.essay-meta{display:flex;gap:12px 30px;flex-wrap:wrap;font-size:16px;color:var(--muted);border-top:1px solid var(--line);padding-top:22px;margin-top:30px}
.essay-body{max-width:760px;margin:auto}.essay-body p{font-size:20px;line-height:1.95;margin:0 0 28px}.essay-body h2{font-size:36px;line-height:1.25;margin:56px 0 25px;letter-spacing:-.7px}.essay-return{max-width:760px;margin:45px auto 0}
.texts-heading{padding:65px 5% 40px}.texts-heading p{max-width:740px}
.featured-essay h2{max-width:850px;margin:18px 0 22px}.featured-essay p{max-width:800px}.featured-essay .button{margin-top:15px}
@media(max-width:700px){.essay-page{padding-top:40px}.essay-heading h1{font-size:48px}.essay-heading .essay-lead{font-size:21px}.essay-body p{font-size:19px;line-height:1.9}.essay-body h2{font-size:31px}.essay-meta{font-size:16px}.texts-heading{padding:40px 6%}.featured-essay h2{font-size:39px}}

.comments{max-width:760px;margin:50px auto 0;padding:32px 0;border-top:1px solid var(--line);text-align:left}
.comments-heading{font-size:34px!important;line-height:1.3;letter-spacing:-.6px}.comment-count{font:18px Arial,sans-serif;color:var(--muted)}
.comments input,.comments textarea{display:block;box-sizing:border-box;width:100%;margin:10px 0 18px;padding:12px;background:#242424;color:#f4f3ef;border:1px solid #999;border-radius:4px;font:18px/1.65 Arial,sans-serif}
.comments textarea{resize:vertical;min-height:130px}.comments label{display:block;font-size:17px}
.comment-note,.comment-auth p{font-size:16px;line-height:1.7;color:var(--muted)}.comments .comment-note{margin:15px 0}
.comment-actions{display:flex;gap:10px 18px;flex-wrap:wrap;margin:12px 0}.comment-action,.comment-submit,.comment-login{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:9px 14px;font:16px/1.5 Arial,sans-serif;border:1px solid #aaa;border-radius:4px;background:#292929;color:#f4f3ef;cursor:pointer;text-decoration:none}
.comment-submit{background:#efefea;color:#202020}.comments button:disabled{opacity:.6;cursor:wait}.comments :focus-visible{outline:3px solid #f3f1dd;outline-offset:3px}
.comment-auth{margin-top:18px}.comment-form{margin-top:28px}.comment-list{margin-top:25px}.comment-item{margin:20px 0 0 calc(var(--depth)*22px);padding:18px;border-left:2px solid #888;background:#222}
.comment-meta{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:17px;overflow-wrap:anywhere}.comment-meta time{font-size:15px;color:var(--muted)}
.comments .comment-body{font-size:18px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;margin:15px 0}.comment-error{font-size:17px;border-left:3px solid #eee;padding-left:14px}.comment-status{font-size:17px}
.comment-confirm{position:fixed;inset:0;margin:auto;width:min(520px,calc(100vw - 36px));height:auto;max-height:90dvh;padding:28px;border:1px solid #bbb;border-radius:8px;background:#202020;color:#f4f3ef}.comment-confirm::backdrop{background:#000b}.comment-confirm h3{font-size:28px;margin:0 0 20px}.comment-confirm p{font-size:18px}
.post-comments .comments{margin-top:14px;padding-top:20px}.post-comments .comments-heading{font-size:26px!important}.post-comments>summary{font-size:16px}
@media(max-width:700px){.comments-heading{font-size:30px!important}.comment-item{padding:14px;margin-left:calc(var(--depth)*10px)}.comments input,.comments textarea{font-size:18px}}

.comments>button,.comments>.comment-login{margin:10px 12px 10px 0}

html[lang="fr"] .hero h1,html[lang="it"] .hero h1{font-size:clamp(56px,7.8vw,122px)}
@media(max-width:700px){html[lang="fr"] .hero h1,html[lang="it"] .hero h1{font-size:clamp(40px,10vw,62px)}}

/* Continuous essay text: standing author preference for all languages. */
.essay-body{font-size:20px;line-height:1.5}
.essay-body p,.essay-body h2{display:inline;margin:0;padding:0;font-size:inherit;line-height:inherit;letter-spacing:normal}
.essay-body h2{font-family:inherit;font-weight:700}
.essay-body p::after,.essay-body h2::after{content:" "}
@media(max-width:700px){.essay-body{font-size:19px;line-height:1.5}}

.essay-read-controls {
  max-width: 760px;
  margin: 28px auto 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  color: var(--muted);
}

.essay-read-button {
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid currentColor;
  border-radius: 4px;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.essay-read-button:disabled { cursor: default; opacity: .65; }
.essay-read-button:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
