/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/manrope-1.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/manrope-2.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/manrope-3.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/manrope-4.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/manrope-5.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/manrope-6.woff2) format('woff2');
  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;
}

/* Shared warm palette: bronze details echo the cross; darker accents keep text readable. */
:root{--site-header-height:4rem;--paper:#fff;--soft:#f8f5ef;--ink:#292622;--muted:#6c645a;--line:#e9e2d8;--accent:#76552f;--accent-strong:#5d4022;--bronze:#9a743c;--text:#514a42;--reading-ink:#3e3933;--surface:#fcfbf8;--surface-raised:#f4efe7;--surface-hover:#eee5d8;--line-strong:#d5c6b1;--line-hover:#ac9270;--sans:Manrope,'Segoe UI',Arial,sans-serif;--serif:Georgia,'Times New Roman',serif;--reader:var(--sans);--reader-size:22px;--width:1160px;color-scheme:light}*{box-sizing:border-box}html{scroll-padding-top:35px}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.7 var(--sans);-webkit-font-smoothing:antialiased}h1,h2,h3,p,figure,dl{margin:0}h1,h2,h3{line-height:1.16;letter-spacing:-.045em;font-weight:600;text-wrap:balance}h1{font-size:clamp(38px,4.5vw,64px)}h2{font-size:30px}h3{font-size:22px}a{color:inherit;text-decoration:none}a:hover{color:var(--accent)}img{display:block;max-width:100%;height:auto}button,input,select{font:inherit;color:inherit}button,summary{cursor:pointer}button,a{touch-action:manipulation}button:disabled{opacity:.35;cursor:default}a:focus-visible,button:focus-visible,summary:focus-visible,[tabindex]:focus-visible,input:focus-visible{outline:3px solid var(--accent);outline-offset:5px}[hidden]{display:none!important}::selection{background:var(--ink);color:var(--paper)}.frame,.shell{width:min(var(--width),calc(100% - 80px));margin-inline:auto}.reading-frame{width:min(740px,calc(100% - 48px));margin-inline:auto}.skip-link{position:fixed;left:20px;top:-100px;z-index:100;background:var(--ink);color:#fff;padding:12px 20px}.skip-link:focus{top:10px}.wordmark{display:inline-flex;align-items:center;gap:11px;font-size:23px;font-weight:650;line-height:1.3;letter-spacing:-.045em}.wordmark img{width:20px;height:26px;object-fit:contain}.site-top{height:var(--site-header-height);display:flex;justify-content:space-between;align-items:center;gap:30px}.site-top nav{display:flex;gap:32px;font-size:14px}.site-top nav a{position:relative;padding-block:12px}
.site-top nav a::after{content:"";position:absolute;inset-inline:0;bottom:6px;height:2px;border-radius:2px;background:var(--bronze);pointer-events:none;transform:scaleX(0);transform-origin:center;transition:transform .22s ease}
.site-top nav a:focus-visible::after{transform:scaleX(1)}
@media(hover:hover) and (pointer:fine){.site-top nav a:hover::after{transform:scaleX(1)}}
@media(prefers-reduced-motion:reduce){.site-top nav a::after{transition:none}}
/* Compact footer shares the page surface; translucent contact cards carry the accents. */
.site-bottom{padding:0;background:transparent;color:var(--muted);font-size:13px}
.site-bottom-inner{display:flex;justify-content:space-between;align-items:center;gap:20px;padding-block:20px;border-top:1px solid var(--line)}
.site-bottom-contacts{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.site-bottom-contacts :is(a,button){display:inline-flex;align-items:center;gap:10px;min-height:44px;max-width:100%;padding:10px 14px;border:1px solid #76552f1f;border-radius:12px;background:#76552f0a;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);color:var(--text);font-size:14px;line-height:1.5;transition:background .18s,border-color .18s}
.site-bottom-contacts svg{flex:none;color:#4b3b2b}
.site-bottom-contacts :is(a,button):hover{color:var(--accent-strong);background:#76552f12;border-color:#76552f3d}
.site-bottom-contacts :is(a,button):hover span{text-decoration:underline;text-underline-offset:4px;text-decoration-color:currentColor}
.site-bottom-contacts :is(a,button):focus-visible{outline-color:var(--accent)}
.primary{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:14px 25px;background:var(--accent);color:#fff;border-radius:9px;font-size:15px;font-weight:600;line-height:1.5;gap:22px}.primary:hover{color:#fff;filter:brightness(.93)}.quiet-link{display:inline-block;color:var(--ink);font-size:14px;padding:10px 0;text-decoration:underline;text-underline-offset:5px;text-decoration-color:var(--line)}.quiet-link:hover{text-decoration-color:var(--accent)}.back{padding-block:20px 32px;font-size:13px;color:var(--muted)}.person-title h1{margin:12px 0 15px}.person-years{font-size:12px;color:var(--muted)}.person-title>p{font-size:21px;color:var(--muted)}.person-intro{font-size:19px;line-height:1.85;color:var(--muted)}.person-picture img{object-fit:contain;width:100%;height:auto}.person-picture figcaption{font-size:11px;line-height:1.7;color:var(--muted);margin-top:13px}.person-materials>h2{font-size:25px;margin-bottom:15px}.material-list>a{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:22px 0;border-bottom:1px solid var(--line)}.material-list h3{font-size:21px;letter-spacing:-.025em;line-height:1.4}.material-list p{font-size:14px;color:var(--muted);line-height:1.7;margin-top:8px}.material-list>a>span{font-size:22px;font-weight:400;flex-shrink:0}.material-list>a:hover h3{text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:1px}
/* Quiet reading primitives; each variant composes them differently. */
.read-back{font-size:13px;color:var(--muted);margin-bottom:30px}.article-heading{margin-bottom:35px}.article-heading h1{margin:14px 0 20px}.article-heading>.eyebrow{font-size:12px;color:var(--muted)}.article-heading>p:not(.eyebrow){font-size:18px;color:var(--muted);line-height:1.8}.read-controls{display:flex;align-items:start;justify-content:space-between;gap:25px;padding:14px 0;border-top:1px solid var(--line)}.reader-controls{display:flex;gap:3px;align-items:center;flex-shrink:0}.reader-controls button{background:transparent;border:0;border-radius:5px;padding:9px 10px;min-width:38px;min-height:40px;font-size:13px}.reader-controls button:hover{background:var(--soft)}.reader-controls .print-button{font-size:12px;margin-left:6px}.reader-contents,.other-sections{font-size:13px;line-height:1.75;color:var(--muted)}.reader-contents summary,.other-sections summary{min-height:42px;padding:10px 0;font-size:13px;font-weight:500;color:var(--ink)}.reader-contents ol{margin:10px 0 20px;padding-left:20px}.reader-contents li{padding-left:4px;margin:0 0 12px}.reader-contents a.active{color:var(--accent);text-decoration:underline;text-underline-offset:3px}.reader-contents summary span{display:none}.other-sections{border-top:1px solid var(--line)}.other-sections nav a{display:block;padding:6px 0}.other-sections a[aria-current]{font-weight:600;color:var(--ink)}.reading-progress{height:2px;background:var(--line);margin-bottom:32px}.reading-progress span{height:2px;display:block;background:var(--accent);width:0}.reading-text,.prose{font:var(--reader-size)/1.9 var(--reader);overflow-wrap:anywhere}.reading-text p,.prose p{margin:0 0 1.25em}.reading-text h2,.prose h2{font:600 1.35em/1.4 var(--sans);margin:2.3em 0 .9em;scroll-margin-top:35px;letter-spacing:-.025em}.reading-text h3,.prose h3{font:600 1.1em/1.5 var(--sans);margin:1.8em 0 .7em}.reading-text h2:first-child{margin-top:0}.source-note{font:12px/1.9 var(--sans)!important;color:var(--muted);margin-bottom:22px!important;padding-left:15px;border-left:1px solid var(--line)}.article-source{border-top:1px solid var(--line);margin-top:50px;padding:25px 0;font-size:13px;color:var(--muted);line-height:1.9}.article-source p{margin:10px 0}.article-source a{text-decoration:underline;text-underline-offset:4px}.eyebrow{font-size:12px;font-weight:500;letter-spacing:0}.next-reading{display:grid;grid-template-columns:1fr 30px;gap:10px 20px;padding:25px 0;margin-bottom:25px;border-top:1px solid var(--line)}.next-reading .eyebrow{grid-column:1/-1;color:var(--muted)}.next-reading strong{font-size:22px;font-weight:600;line-height:1.4;letter-spacing:-.025em}
/* Archive pages retain every caption and link to its source. */
.breadcrumbs{display:flex;flex-wrap:wrap;gap:15px;font-size:12px;color:var(--muted);padding-block:20px 35px}.gallery-page .article-heading,.about-page .article-heading{max-width:var(--width);padding-bottom:20px}.gallery-page .article-heading h1,.about-page .article-heading h1{font-size:46px}.gallery-page .article-heading>p{max-width:780px}.gallery-wrap{padding-bottom:65px}.gallery-group{margin-bottom:50px}.gallery-group>h2{font-size:25px;font-weight:500;margin-bottom:25px}.gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:35px}.gallery-open{display:block;position:relative;background:var(--soft);border-radius:8px;padding:20px}.gallery-open img{width:100%;height:330px;object-fit:contain}.zoom-icon{position:absolute;bottom:14px;right:14px;display:grid;place-items:center;width:30px;height:30px;background:#fff;border-radius:50%;font-size:19px}.gallery-item figcaption{font-size:12px;color:var(--muted);line-height:1.8;margin-top:14px}.image-source{display:block;text-decoration:underline;text-underline-offset:3px;margin-top:6px}.gallery-note{font-size:13px;color:var(--muted)}.about-page .prose{max-width:760px;margin:0 auto 65px}.about-page .prose a{text-decoration:underline;text-underline-offset:4px}.about-page .source-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px}.about-page .source-card{padding-block:20px}.about-page .about-body{padding-bottom:65px}
@media(max-width:1000px){.frame,.shell{width:calc(100% - 56px)}.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.frame,.shell{width:calc(100% - 36px)}.reading-frame{width:calc(100% - 36px)}.site-top{gap:18px}.wordmark{font-size:21px;gap:8px}.wordmark img{width:16px;height:23px}.site-top nav{gap:17px;font-size:11px}.site-bottom{font-size:12px}.site-bottom-inner{align-items:flex-start;flex-direction:column;gap:14px;padding-block:18px}.site-bottom-contacts{align-items:flex-start;gap:10px;width:100%}h1{font-size:38px}.person-title h1{font-size:37px}.person-title>p{font-size:19px}.person-intro{font-size:17px;line-height:1.85}.person-materials>h2{font-size:23px}.material-list h3{font-size:20px}.material-list p{font-size:13px}.material-list>a{gap:15px;padding-block:20px}.read-back{margin-bottom:25px}.article-heading h1{font-size:38px}.article-heading>p:not(.eyebrow){font-size:17px}.article-heading>.eyebrow{font-size:11px}.read-controls{gap:10px}.reader-controls{gap:0}.reader-controls button{min-width:33px;padding:9px 8px}.reader-controls .print-button{margin-left:0}.reader-contents,.other-sections{font-size:13px}.reading-text,.prose{line-height:1.85}.reading-text h2{font-size:1.2em}.source-note{font-size:11px!important}.gallery-page .article-heading h1,.about-page .article-heading h1{font-size:37px}.gallery-grid{grid-template-columns:1fr}.gallery-open img{height:auto;max-height:500px}.gallery-group>h2{font-size:24px}.about-page .prose{max-width:calc(100% - 36px)}.about-page .source-grid{grid-template-columns:1fr}.back{padding-top:10px;padding-bottom:25px}}
@media print{.site-bottom{background:#fff;color:var(--ink)}.site-bottom-contacts :is(a,button),.site-bottom-contacts svg{color:var(--ink)}.site-top,.site-bottom,.reading-text{font:12pt/1.6 Georgia!important}body{background:#fff!important;color:#000!important}.read-names,.read-collection{display:block!important;width:100%!important}.read-names>aside{position:static!important;max-height:none!important}.read-focus{border:0!important;box-shadow:none!important;padding:0!important}.article-heading h1{font-size:28pt!important}}

/* Keep the person being read visible under the mobile wordmark. */
.wordmark-profile{display:none}
@media(max-width:700px){
  .wordmark-profile{display:block;margin-top:3px;position:relative;top:-1px;color:var(--accent);font-size:11px;font-weight:500;line-height:1.35;letter-spacing:0;white-space:nowrap}
}

.space-hero{text-align:center;padding:65px 0 70px}.space-hero h1{font-size:clamp(48px,5.6vw,77px);font-weight:650;line-height:1.1;letter-spacing:-.055em}.space-hero>p{font-size:19px;max-width:610px;margin:24px auto 32px;color:var(--muted)}.space-people{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:45px;padding-block:15px 65px;max-width:1050px}.space-person{text-align:center;padding:15px 15px 25px;border-radius:12px}.space-person:hover{background:var(--soft)}.space-person>.catalog-portrait{width:180px;height:180px;overflow:hidden;border-radius:50%;margin:0 auto 24px}.catalog-portrait>img{width:100%;height:100%;object-fit:cover;transform:scale(var(--portrait-zoom,1));transform-origin:var(--portrait-origin,50% 50%)}.space-person h2{font-size:23px;line-height:1.3;letter-spacing:-.035em}.space-person p{font-size:13px;color:var(--muted);margin-top:8px}.space-person>span{display:block;font-size:12px;margin-top:21px;color:var(--accent)}.space-person b{font-weight:400;margin-left:10px}.profile-space{max-width:780px;text-align:center;padding-top:10px;padding-bottom:65px}.profile-space>.person-picture{margin:0 auto 30px;max-width:320px}.profile-space>.person-picture img{width:150px;height:150px;object-fit:cover;border-radius:50%;margin:auto}.profile-space>.person-picture figcaption{font-size:10px;margin:13px auto 0;max-width:300px}.profile-space h1{font-size:50px}.profile-space>.person-intro{max-width:650px;margin:28px auto 50px}.profile-space .person-materials{text-align:left}.profile-space .material-list>a{padding:23px 20px;border-radius:7px;border-bottom:0;background:var(--soft);margin-top:9px}.profile-space .material-list p{font-size:13px}.read-space{padding:25px 0 70px}.read-space .article-heading{text-align:center;margin-bottom:42px}.read-space .article-heading h1{font-size:55px}.read-space .article-heading>p{max-width:650px;margin-inline:auto}.read-space .read-back{text-align:center}.read-space .reader-contents{flex:1}.read-space .read-controls{position:relative}.read-space .reading-text{padding-top:5px}
@media(max-width:900px){.space-hero{padding:45px 0 50px}.space-people{gap:20px}.space-person h2{font-size:21px}}
@media(max-width:700px){.space-hero{padding:40px 0 44px}.space-hero h1{font-size:43px}.space-hero>p{font-size:16px;margin:22px auto 27px;max-width:310px}.space-people{display:block;padding-top:0;padding-bottom:40px}.space-person{display:grid;grid-template-columns:104px minmax(0,1fr);gap:5px 16px;text-align:left;padding:22px 5px}.space-person>.catalog-portrait{grid-column:1;grid-row:1/4;width:104px;height:104px;margin:0;align-self:center}.space-person h2{font-size:22px}.space-person p{margin:0;font-size:12px}.space-person>span{margin:8px 0 0;font-size:11px}.profile-space h1{font-size:37px}.profile-space>.person-picture img{width:120px;height:120px}.profile-space>.person-intro{margin-block:24px 40px}.profile-space .material-list>a{padding:20px 16px}.read-space{padding-top:15px}.read-space .article-heading h1{font-size:40px}.read-space .article-heading{margin-bottom:30px}}

/* Approved introductory copy replaces the short slogan and action button. */
.back-link{display:inline-flex;align-items:center;gap:7px;max-width:100%;min-height:44px;padding:10px 0;border-radius:3px;color:var(--muted);font-size:14px;font-weight:500;line-height:1.5}
.back-link svg{width:16px;height:16px;stroke-width:1.6;flex-shrink:0}
.back-link:hover{color:var(--accent)}
.back-link:hover span{text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px}
.back-link:focus-visible{outline-width:2px;outline-offset:4px}
@media(max-width:700px){.site-top{gap:12px}.site-top nav{font-size:13px;gap:16px;white-space:nowrap}}
@media(max-width:360px){.site-top{gap:6px}.site-top .wordmark{font-size:19px;gap:6px}.site-top nav{font-size:12px;gap:10px}}
@media(max-width:299px){:root{--site-header-height:6rem}.site-top{flex-direction:column;justify-content:center;gap:0}}
.space-hero{padding:38px 0 54px}
.space-hero h1{max-width:1040px;margin-inline:auto;font-size:clamp(38px,4.7vw,64px);letter-spacing:-.045em;text-wrap:balance}
.home-introduction{max-width:820px;margin:24px auto 0;font-size:17px;line-height:1.8;text-align:center;text-wrap:pretty;color:var(--reading-ink)}
.home-intro-rest{margin-top:12px}
.home-intro-rest p+p{margin-top:12px}
.home-introduction strong{font-weight:700;color:var(--ink)}
.home-intro-toggle{display:inline-flex;align-items:center;gap:11px;min-height:44px;margin-top:3px;padding:8px 0;border:0;border-radius:3px;background:none;color:var(--accent);font:inherit;font-size:14px;font-weight:600;line-height:1.5;cursor:pointer}
.home-intro-toggle:hover span{text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px}
.home-intro-toggle:focus-visible{outline-width:2px;outline-offset:4px}
.home-intro-toggle[aria-expanded="true"] .disclosure-chevron{transform:rotate(225deg);margin-top:4px}
.space-people{padding-top:12px}
.editor-note,.download-box{font-size:16px;line-height:1.8;padding:20px;margin-bottom:26px;background:var(--soft);border-radius:7px}
.download-box a{display:inline-block;text-decoration:underline;text-underline-offset:4px;margin:12px 16px 0 0}
.download-box h2{font-size:23px;margin-bottom:10px}
.about-grid>aside{max-width:760px;margin:0 auto 40px}
.about-grid>aside .caption{font-size:12px;color:var(--muted);margin-top:10px}
@media(max-width:700px){.space-hero{padding:22px 0 32px}.space-hero h1{font-size:36px;line-height:1.15;letter-spacing:-.04em}.home-introduction{margin-top:20px;font-size:16px;line-height:1.7}}

/* An editorial grid gives the archive story and FAQ a shared visual rhythm. */
.home-information{padding-block:10px 84px}
.home-about,.home-faq{display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.5fr);gap:clamp(32px,4vw,64px);padding:48px}
.home-about{background:var(--soft);border:1px solid var(--line);border-radius:24px}
.home-section-heading{min-width:0}
.home-section-heading h2{font-size:clamp(28px,2.6vw,34px);font-weight:650;line-height:1.25;letter-spacing:-.04em;text-wrap:balance;margin:0}
.home-section-label{display:flex;align-items:center;gap:12px;margin:0 0 24px;color:var(--accent);font-size:13px;font-weight:650;letter-spacing:.04em}
.home-section-label:before{content:"";width:28px;height:2px;background:var(--bronze);flex-shrink:0}
.home-about-body,.home-faq-body{min-width:0}
.home-copy,.faq-answer{font-size:16px;line-height:1.85;color:var(--text);overflow-wrap:break-word}
.home-copy p+p,.faq-answer p+p{margin-top:18px}
.home-copy h3{font-size:22px;font-weight:650;line-height:1.4;letter-spacing:-.025em;color:var(--ink);margin:32px 0 12px;text-wrap:balance}
.home-copy a,.faq-answer a{color:#245cac;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.home-copy a:hover,.faq-answer a:hover{color:#163e79;text-decoration-thickness:2px}
.home-collection-invite{margin-top:28px;padding-top:24px;border-top:1px solid var(--line-strong)}
.home-copy .home-collection-invite h3{margin:0 0 10px;font-size:21px;line-height:1.4}
.home-collection-invite p{font-size:15px;line-height:1.75}
.home-collection-invite .site-bottom-contacts{margin-top:18px}
.home-collection-invite .site-bottom-contacts a{color:var(--text);text-decoration:none}
.home-collection-invite .site-bottom-contacts a:hover{color:var(--accent-strong)}
.home-more-button{display:flex;align-items:center;justify-content:center;gap:14px;min-height:48px;max-width:100%;padding:11px 20px;margin:26px 0 0;border:1px solid var(--line-strong);border-radius:999px;background:transparent;color:var(--accent);font:inherit;font-size:14px;font-weight:650;line-height:1.5;cursor:pointer;transition:background .18s,border-color .18s}
.home-more-button:hover{background:var(--surface-hover);border-color:var(--line-hover)}
.disclosure-chevron{width:7px;height:7px;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:rotate(45deg);margin-top:-4px;flex-shrink:0}
.home-more-button[aria-expanded="true"] .disclosure-chevron{transform:rotate(225deg);margin-top:4px}
.home-faq{margin-top:28px;padding-block:48px 0}
.home-faq .home-section-heading:before{content:"";display:block;width:28px;height:2px;margin:5px 0 24px;background:var(--bronze)}
.home-section-hint{margin-top:20px;font-size:14px;line-height:1.75;color:var(--muted)}
.faq-list{border:1px solid var(--line);border-radius:18px;background:#fff;overflow:hidden}
.faq-item{scroll-margin-top:24px;border-radius:0;transition:background .18s}
.faq-list>.faq-item+.faq-item,.faq-list>div>.faq-item{border-top:1px solid var(--line)}
.faq-item[open]{background:var(--soft)}
.faq-item>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:84px;padding:23px 24px;cursor:pointer;font-size:16px;font-weight:650;line-height:1.5;letter-spacing:-.015em}
.faq-item>summary>h3{display:flex;align-items:center;justify-content:space-between;gap:inherit;flex:1;min-width:0;margin:0;font:inherit;letter-spacing:inherit;text-wrap:initial}
.faq-item>summary::-webkit-details-marker{display:none}
.faq-item>summary:hover{color:var(--accent)}
.faq-item>summary:focus-visible{outline-offset:-5px;border-radius:12px}
.faq-chevron{position:relative;width:30px;height:30px;border-radius:50%;background:var(--surface-raised);color:var(--accent);flex-shrink:0;transition:background .18s}
.faq-chevron:before,.faq-chevron:after{content:"";position:absolute;inset:50% auto auto 50%;width:10px;height:1.5px;border-radius:1px;background:currentColor;transform:translate(-50%,-50%)}
.faq-chevron:after{transform:translate(-50%,-50%) rotate(90deg)}
.faq-item[open] .faq-chevron{background:var(--surface-hover)}
.faq-item[open] .faq-chevron:after{display:none}
.faq-answer{padding:0 24px 25px;font-size:16px;line-height:1.85}
.home-faq-body>.home-more-button{margin-top:20px}
@media(max-width:1000px){.home-about,.home-faq{padding-inline:32px;gap:32px;grid-template-columns:minmax(0,.8fr) minmax(0,1.3fr)}.home-section-heading h2{font-size:28px}}
@media(max-width:800px){.home-about,.home-faq{grid-template-columns:1fr;gap:28px}.home-section-heading h2{max-width:540px;font-size:30px;text-wrap:initial}.home-about{padding-block:32px}.home-section-label{margin-bottom:18px}.home-faq .home-section-heading:before{margin-bottom:20px}.home-section-hint{margin-top:14px}.home-section-hint br{display:none}}
@media(max-width:500px){.home-information{padding-block:8px 48px}.home-about{padding:26px 22px;border-radius:18px}.home-faq{padding:36px 0 0;margin-top:14px;gap:24px}.home-section-heading h2{font-size:27px;line-height:1.3}.home-copy,.faq-answer{font-size:16px;line-height:1.8}.home-copy h3{font-size:21px}.home-section-label{font-size:12px}.faq-item>summary{padding:20px 18px;min-height:80px;gap:14px;font-size:16px}.faq-answer{padding:0 18px 22px}.faq-chevron{width:28px;height:28px}.home-more-button{padding-inline:18px}.home-faq-body>.home-more-button{margin-inline:auto}}
@media(prefers-reduced-motion:reduce){.home-more-button,.faq-item,.faq-chevron{transition:none}}
@media print{#vstup-povnistiu[hidden],#pro-proiekt-dokladnishe[hidden],#bilshe-zapytan[hidden]{display:block!important}.home-intro-toggle,.home-more-button,.home-section-hint{display:none!important}.home-introduction{background:none;border:0;padding:0}.home-about,.home-faq{display:block;padding:20px 0;background:none;border:0}.home-section-heading{margin-bottom:20px}.faq-item{break-inside:avoid}}

/* A wider white reading column across all elders' long-form materials. */
.read-space.reading-frame{width:min(880px,calc(100% - 64px))}
.read-space .reading-text{line-height:1.85;color:var(--reading-ink)}
.read-space .reading-text h2{font-weight:700;line-height:1.35;margin-top:2em}
.read-space .article-heading h1{font-size:clamp(36px,4.2vw,52px);font-weight:700}
@media(max-width:700px){.read-space.reading-frame{width:calc(100% - 36px)}.read-space .reading-text{line-height:1.8}}

/* Catalog names and verified dates / places of burial. */
.space-people{max-width:1120px;column-gap:32px}
.space-person h2{font-size:25px;font-weight:700;line-height:1.3;text-wrap:balance}
.space-person h2{transition:color .16s ease}
.space-person:hover h2,.space-person:focus-visible h2{color:#9a511f}
@media(prefers-reduced-motion:reduce){.space-person h2{transition:none}}
.space-person .catalog-name{font-size:14px;font-weight:650;line-height:1.5;color:var(--text);margin-top:9px}
.space-person .catalog-meta{font-size:13px;font-weight:400;line-height:1.6;color:var(--muted);margin-top:7px;text-wrap:balance}
.space-person>span{margin-top:18px}
@media(min-width:701px) and (max-width:1199px){.space-people{column-gap:20px}.space-person h2{font-size:23px;min-height:2.6em}}
@media(max-width:700px){.space-person h2{font-size:23px}.space-person .catalog-name{font-size:13px;margin-top:1px}.space-person .catalog-meta{font-size:12px;margin-top:3px;text-wrap:initial}.space-person>.catalog-portrait{grid-row:1/5}.space-person>span{margin-top:8px}}

/* Shared clipboard confirmation and manual-copy fallback. */
.story-copy-control{position:relative;display:inline-flex;max-width:100%}
.story-copy-status{position:absolute;z-index:3;bottom:calc(100% + 10px);left:0;display:flex;align-items:center;gap:7px;width:max-content;max-width:min(280px,calc(100vw - 64px));padding:9px 12px;border:1px solid #bed9c4;border-radius:9px;background:#edf7ef;color:#2c623b;box-shadow:0 4px 14px #254a2e12;font-size:13px;font-weight:550;line-height:1.5;pointer-events:none;animation:copy-feedback-in .16s ease-out}
.story-copy-status::after{content:"";position:absolute;left:25px;bottom:-5px;width:8px;height:8px;background:inherit;border-right:inherit;border-bottom:inherit;transform:rotate(45deg)}
.story-copy-status[data-state="success"]{font-size:14px}
@media(max-width:760px){.story-copy-status[data-state="success"]{font-size:15px}}
.story-copy-status[data-state="success"]::before{content:"✓";font-size:15px;font-weight:700}
.story-copy-status[data-state="manual"]{background:var(--soft);border-color:var(--line-strong);color:var(--accent-strong)}
.story-copy-status:empty{display:none}
@keyframes copy-feedback-in{from{opacity:0;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}
.story-copy-fallback{display:block;flex-basis:100%;font-size:13px;line-height:1.5;color:var(--muted)}
.story-copy-fallback[hidden]{display:none}
.story-copy-fallback input{display:block;width:100%;margin-top:8px;font:inherit;border:1px solid var(--line-strong);border-radius:6px;padding:12px;color:var(--ink);background:#fff}
@media(prefers-reduced-motion:reduce){.story-copy-status{animation:none}}

.mk-reader {max-width:76ch;margin:2em auto;color:inherit;line-height:1.65}
.mk-reader h3,.mk-reader h4{line-height:1.3;margin:1.5em 0 .65em}
.mk-reader .mk-intro,.mk-reader .mk-ref,.mk-reader .mk-edition,.mk-reader .mk-figure figcaption{font-size:.88em;color:#605647}
.mk-chapter{border-bottom:1px solid #dfd9cf;scroll-margin-top:9rem}
.mk-chapter>summary{padding:.95em .12em;cursor:pointer;font-size:1.05em;font-weight:650;line-height:1.36;text-align:left;color:#32291f}
.mk-chapter>summary:hover,.mk-chapter>summary:focus-visible{color:#81511e}
.mk-reader .mk-text{margin:0 0 1.35em;overflow-wrap:anywhere}
.mk-reader .mk-text p{font-size:inherit;line-height:1.72;margin:.85em 0}
.mk-reader .mk-text .mk-verse{white-space:pre-line}
.mk-reader .mk-text .mk-ref{font-size:.83em;margin:.3em 0 1.25em}
.mk-ref a{text-decoration:underline;text-underline-offset:.14em}
.mk-reader .mk-text .mk-edition{font-size:.85em;border-inline-start:2px solid #c6b18d;padding-inline-start:.8em;margin:1em 0}
.mk-reader .mk-figure{margin:1.6em auto;width:min(100%,31rem);text-align:left}
.mk-reader .mk-figure img{height:auto;max-width:100%;width:100%;display:block;border-radius:.45em}
.mk-reader .mk-figure figcaption{margin:.5em 0}
@media print{.mk-chapter>summary{font-weight:bold}.mk-figure{break-inside:avoid}}

.mk-photos {margin:1.7em 0 2em}
.mk-photo-grid {display:grid;grid-template-columns:repeat(var(--frames,1),minmax(0,1fr));gap:clamp(.7rem,2vw,1.3rem);align-items:start}
.mk-photo-grid figure {margin:0;min-width:0;scroll-margin-top:12rem}
.mk-photo-grid a {display:block;padding:0;background:transparent;border-radius:.55rem;overflow:hidden;cursor:zoom-in}
.mk-photo-grid img {display:block;width:100%;height:auto;max-height:none;object-fit:contain}
.mk-photo-grid figure:only-child.portrait {width:min(100%,26rem);justify-self:center}
.mk-photo-grid .portrait img {width:auto;max-width:100%;max-height:33rem;margin-inline:auto}
.mk-photo-grid[data-photo-layout="landscape"]>figure {width:100%;min-width:0}
.mk-photo-grid[data-photo-layout="landscape"]>figure>a {width:100%;max-width:none;aspect-ratio:var(--photo-row-ratio,3/2)}
.mk-photo-grid[data-photo-layout="landscape"]>figure>a>img {width:100%;height:100%;max-width:none;max-height:none;margin:0;object-fit:cover;object-position:var(--photo-position,50% 25%)}
.mk-photo-grid figcaption {margin:.45rem 0 0;color:#514739;font:400 .89rem/1.48 system-ui,sans-serif}
.mk-photo-grid figure:target {outline:2px solid #b49460;outline-offset:4px;border-radius:.35rem}
.mk-scan {margin:.65rem 0 0;color:#645849;font-size:.86rem}
.mk-scan summary {cursor:pointer}
.mk-scan a,.mk-archive a {text-decoration:underline;text-underline-offset:.18em}
.mk-archive {margin:2.4rem 0;line-height:1.55}
.mk-archive h3 {scroll-margin-top:12rem}
.mk-archive ul {padding-inline-start:1.3em;list-style:disc}
.mk-archive li {margin:.42em 0}
@media(max-width:36rem){.mk-photo-grid{grid-template-columns:minmax(0,1fr);row-gap:1.2rem}.mk-photo-grid .portrait img{max-height:27rem}}

.reading-card-title { font-weight: 700; }

/* Two shelves in the same reader: correspondence and spiritual guidance. */
.profile-panel:is(#lysty, #nastanovy) > :is(h2, .book-cards, .guidance-sections) {
  width: min(100%, 960px);
  max-width: 960px;
  margin-inline: auto;
}
.book-cards .book-intro { max-width: 62ch; margin: 0; color: var(--text); line-height: 1.65; }
.book-cards .testimony-list-heading { margin: 0 0 1.3rem; }
.book-cards .testimony-grid { align-items: stretch; gap: 14px; }
.book-cards .testimony-card { border-radius: 12px; box-shadow: none; }
.book-cards .testimony-open { padding: 1.2rem 1.35rem; gap: 1rem; border-radius: inherit; }
.book-cards .testimony-open:focus-visible { outline-offset: -3px; }
.book-cards .testimony-card :is(.testimony-title, .reading-card-title) { margin: 0; line-height: 1.36; font-size: 1.22rem; }
.book-cards .book-action { color: var(--accent-strong); font-size: .86rem; font-weight: 600; }
.book-action > span { margin-inline-start: .25rem; }
.book-letter .testimony-card { background: #fcfaf6; border-color: #e3dbce; }
.book-letter .testimony-open:hover { background: #f6f1e8; }
.book-letter .testimony-row-copy .testimony-title { display: flex; align-items: center; gap: .65rem; }
.book-letter .testimony-row-copy .testimony-title::before {
  content: ''; flex: 0 0 1.12rem; height: 1rem; background: center / contain no-repeat
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 20' fill='none' stroke='%23907956' stroke-width='1.5'%3E%3Crect x='1.5' y='2' width='21' height='16' rx='2'/%3E%3Cpath d='m2.5 3.5 9.5 7 9.5-7'/%3E%3C/svg%3E");
}
.book-letter .letter-excerpt { margin: .65rem 0 0; color: #594f44; font-size: .96rem; line-height: 1.58; }
.letter-photo-intro { margin: 0 0 32px; }
.letter-photo-intro .mk-photos { margin: 0; }
.letter-photo-intro .mk-photo-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; margin: 0; }
.letter-photo-intro .mk-photo-grid figure { margin: 0; min-width: 0; }
.letter-photo-intro .mk-photo-grid figcaption { font-size: 14px; line-height: 1.65; margin-top: 10px; text-align: center; }
@media(max-width:650px){
 .letter-photo-intro { margin-bottom: 26px; }
 .letter-photo-intro .mk-photo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
 .letter-photo-intro .mk-photo-grid figcaption { font-size: 13px; line-height: 1.6; }
}
.book-guidance .testimony-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.book-guidance .testimony-card { border-top: 2px solid #b6a081; }
.book-guidance .testimony-open { min-height: 8.2rem; }
.story-reader-prose .mk-verse { white-space: pre-line; }
.story-reader-prose :is(.mk-ref, .mk-edition) { color: #675d52; font-size: .85em; }
@media (max-width: 900px) {
  .book-guidance .testimony-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .book-cards .testimony-grid { grid-template-columns: 1fr; gap: .75rem; }
  .book-cards .testimony-open { min-height: 0; padding: 1rem 1.1rem; gap: .75rem; }
  .book-cards .testimony-list-heading { gap: .45rem; }
}

.profile-panel#spohady > :is(h2, .book-cards, .memory-encounters) {
  width: min(100%, 960px);
  max-width: 960px;
  margin-inline: auto;
}
#spohady .book-cards + .book-cards, .memory-encounters { margin-top: clamp(2.25rem, 5vw, 3.75rem); }
#spohady .testimony-list-heading h3, .memory-encounters h3 { margin: 0 0 .5rem; }
#spohady .book-cards .testimony-row-copy .reading-card-title {
  margin: 0; color: var(--text); font-size: 1.17rem; line-height: 1.4;
}
.book-personal-memory .testimony-card { background: #f8f5ef; border-top: 2px solid #ac926b; }
.book-personal-memory .testimony-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.book-recollection .testimony-card { background: #fffdfa; }
.memory-encounters > p { margin: 0 0 1.3rem; line-height: 1.6; }
.memory-encounter-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
/* Light paper cards with a rounded upper-left corner and a toothed lower edge. */
.memory-encounter {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  gap: 12px;
  padding: 22px 28px;
  border: 0;
  border-radius: 50px 0 0 0;
  background: #f6f3eb;
  color: #2d2b26;
  text-decoration: none;
  overflow-wrap: break-word;
  transition: background-color .18s ease;
}
.memory-encounter::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 6px;
  background:
    linear-gradient(135deg, transparent 50%, var(--paper, #fff) 50%) 0 0 / 10px 10px repeat-x,
    linear-gradient(225deg, transparent 50%, var(--paper, #fff) 50%) 0 0 / 10px 10px repeat-x;
  pointer-events: none;
}
.memory-encounter:hover, .memory-encounter:focus-visible {
  background: #efeadf;
  text-decoration: none;
}
.memory-encounter:focus-visible { outline: 2px solid #8b6d43; outline-offset: 3px; }
.memory-encounter-quote {
  display: block;
  height: 32px;
  color: #bba981;
  font: 80px/.7 var(--serif);
}
.memory-encounter .memory-encounter-title {
  margin: 0;
  color: var(--text);
  font: 700 1.17rem/1.4 var(--sans);
  letter-spacing: normal;
  text-wrap: pretty;
}
.memory-encounter:hover .memory-encounter-title, .memory-encounter:focus-visible .memory-encounter-title {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.memory-encounter p { margin: 8px 0 0; color: #70685b; font-size: 14px; line-height: 1.8; }
.memory-encounter .memory-encounter-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 4px;
  color: #7b6849;
  font-size: 14px;
  font-weight: 600;
}
.memory-encounter-action > span { font-size: 22px; line-height: 1; }
@media (max-width: 650px) {
  .memory-encounter-grid, .book-personal-memory .testimony-grid { grid-template-columns: 1fr; }
  .memory-encounter-grid { gap: 16px; }
  .memory-encounter { padding: 20px 24px; gap: 10px; border-top-left-radius: 42px; }
  .memory-encounter-quote { height: 30px; font-size: 68px; }
}

/* Compact story cards outside, complete story inside the reader. */
/* Lay out distant library cards when they approach the viewport. Their text
   and links remain searchable and available to assistive technology. */
.profile-detail-page .testimony-card{content-visibility:auto;contain-intrinsic-size:auto 260px}
.profile-detail-page .testimony-card:focus-within{content-visibility:visible}
@media print{.profile-detail-page .testimony-card{content-visibility:visible}}
.profile-panel#svidchennia-dopomohy{--testimony-width:960px}
.profile-panel#svidchennia-dopomohy>h2{width:min(100%,var(--testimony-width));max-width:none;margin:0 auto 14px}
.testimonies-minimal{width:min(100%,var(--testimony-width,960px));max-width:none;margin-inline:auto}
.testimony-brief{max-width:760px;color:var(--text);font-size:17px;line-height:1.75;margin:0 0 26px}
.testimony-brief>p{margin:0}
.testimonies-minimal .testimony-list-heading{margin:0 0 20px;display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:10px 24px;scroll-margin-top:var(--profile-anchor-offset,160px)}
.testimonies-minimal .testimony-list-heading h3{font-size:22px;margin:0}
.testimonies-minimal .testimony-section-heading{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:8px 24px;margin:0 0 14px}
.profile-panel .testimony-section-heading h2{max-width:none;margin:0}
.testimonies-minimal .testimony-filters{flex-wrap:wrap;overflow:visible;gap:12px;margin:0 0 28px;padding:0}
.testimonies-minimal .testimony-filters button{font-size:13px;font-weight:500;min-height:40px;padding:8px 12px;border-color:transparent;background:var(--soft)}
.testimonies-minimal .testimony-filters button[aria-pressed="true"]{background:var(--accent-strong);color:#fff}
.testimonies-minimal .testimony-result{margin:0;font-size:13px;line-height:1.5;color:var(--muted);white-space:nowrap}
.testimony-section-heading .testimony-result{margin-left:auto}
.testimonies-minimal .testimony-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;border:0}
.testimonies-minimal .testimony-card{display:block;min-height:0;padding:0;border:1px solid var(--line);border-radius:18px;box-shadow:0 4px 18px #49382008;transition:border-color .18s,box-shadow .18s;background:#fff;scroll-margin-top:160px}
.testimonies-minimal .testimony-card:hover{transform:none;border-color:var(--line-strong);box-shadow:0 8px 26px #49382012}
.testimony-open{display:flex;flex-direction:column;align-items:stretch;justify-content:space-between;height:100%;gap:21px;padding:24px;color:var(--ink);border-radius:17px;text-decoration:none}
.testimony-open:hover{background:#fffdf9}
.testimony-open:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.testimony-row-copy{min-width:0}
.testimonies-minimal .testimony-category{display:block;width:fit-content;min-height:0;padding:4px 10px;margin:0 0 16px;border-radius:7px;background:var(--soft);color:var(--accent);font-size:12px;line-height:1.5;letter-spacing:0;font-weight:500}
.testimonies-minimal .testimony-card .testimony-title{font-size:21px;font-weight:650;line-height:1.4;margin:0 0 10px;letter-spacing:-.02em;text-wrap:pretty}
.testimonies-minimal .testimony-author{font-size:14px;line-height:1.55;color:var(--muted);margin:0}
.testimony-read-label{display:flex;align-items:center;justify-content:space-between;gap:10px;flex:none;border-top:1px solid var(--line);padding-top:14px;color:var(--accent-strong);font-size:14px;font-weight:550}
.testimony-read-label>span{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--soft);font-size:18px}
.testimonies-minimal .testimony-more{width:fit-content;min-width:230px;min-height:44px;margin:24px auto 0;font-size:14px;font-weight:550;border-radius:10px}
.testimony-invitation{display:grid;grid-template-columns:minmax(0,1fr) 246px;column-gap:32px;row-gap:10px;max-width:800px;margin:56px auto 0;padding:4px 0 4px 27px;border:0;border-left:3px solid #b69a6d;border-radius:0;background:transparent}
.testimony-invitation h3:not(.invite-title){grid-column:1;font-size:23px!important;font-weight:650;line-height:1.3;margin:0!important;color:var(--ink)}
.testimony-invitation>p{grid-column:1;margin:0!important;max-width:460px;font-size:16px!important;line-height:1.65;color:var(--text)}
.testimony-invitation-actions{grid-column:2;grid-row:1 / 3;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:8px;margin:0}
.testimony-invitation .testimony-contact{display:inline-flex;align-items:center;justify-content:flex-start;gap:11px;min-height:44px;padding:7px 10px;border:0;border-radius:7px;background:transparent;color:#624a2c;font:inherit;font-size:15px;line-height:1.35;font-weight:550;text-align:left;text-decoration:none;cursor:pointer;transition:background .15s,color .15s}
.testimony-contact svg{flex:none;width:19px;height:19px}
.testimony-contact small{display:block;margin-top:3px;font-size:12px;font-weight:400;color:var(--muted)}
.testimony-invitation a.testimony-contact{text-decoration:underline;text-underline-offset:4px;text-decoration-color:#c5b398;text-decoration-thickness:1px}
.testimony-invitation .testimony-contact:hover{background:#f5f0e8;color:#4c331c;text-decoration-color:currentColor}
.testimony-invitation .testimony-contact:focus-visible{outline:2px solid var(--accent-strong);outline-offset:3px}
.testimony-invitation .story-copy-fallback{grid-column:1 / -1;margin-top:14px}
@media(max-width:760px){.testimony-invitation{grid-template-columns:minmax(0,1fr);max-width:620px;margin-top:44px;padding-left:23px}.testimony-invitation-actions{grid-column:1;grid-row:auto;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:8px 18px;margin:6px 0 0 -10px}}
@media(max-width:540px){.testimony-invitation{margin-top:36px;padding-left:19px}.testimony-invitation h3:not(.invite-title){font-size:21px!important}.testimony-invitation-actions{flex-direction:column;align-items:flex-start;gap:6px}.testimony-invitation .story-copy-control{max-width:100%}.testimony-invitation .testimony-contact{max-width:100%;font-size:14px}}
html.testimony-reading,html.testimony-reading body{overflow:hidden}
html:has(.testimonies-minimal){scrollbar-gutter:stable}
.story-dialog{width:min(800px,calc(100% - 40px));max-width:none;max-height:calc(100vh - 40px);max-height:calc(100dvh - 40px);margin:auto;padding:0;border:1px solid #e9e2d8;border-radius:20px;background:#fff;color:var(--ink);box-shadow:0 24px 100px #211b1940;overflow-y:auto;overscroll-behavior:contain}
.story-dialog{scrollbar-width:thin;scrollbar-color:#b9afa0 transparent}
.story-dialog::-webkit-scrollbar{width:8px}
.story-dialog::-webkit-scrollbar-track{background:transparent;margin-block:14px}
.story-dialog::-webkit-scrollbar-thumb{min-height:40px;border:2px solid transparent;border-radius:999px;background:#b9afa0;background-clip:padding-box}
.story-dialog::-webkit-scrollbar-thumb:hover{background-color:#968772}
.story-dialog::backdrop{background:#28241e66;backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)}
.story-dialog-bar{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 18px 10px 34px;background:#fff;border-bottom:1px solid var(--line);font-size:13px;line-height:1.45;color:var(--muted)}
.story-close{display:grid;place-items:center;width:44px;height:44px;flex:none;border:0;border-radius:50%;background:var(--soft);color:var(--ink);cursor:pointer}
.story-close:hover{background:var(--surface-hover)}
.story-close svg{width:22px;height:22px}
.story-reader{padding:38px 48px 30px}
.story-reader-heading{margin-bottom:30px}
.story-reader-category{font-size:13px;line-height:1.6;color:var(--accent);margin:0 0 13px}
.story-reader-heading h1,.testimonies .story-reader-heading h2{max-width:none;margin:0 0 16px;font-size:clamp(27px,3vw,36px);line-height:1.22;font-weight:650;letter-spacing:-.035em;color:var(--ink);text-wrap:balance}
.story-reader-heading h2:focus{outline:none}
.story-reader-author{font-size:15px;line-height:1.65;color:var(--muted);margin:0}
.story-reader-prose{font-size:19px;line-height:1.85;color:var(--reading-ink);overflow-wrap:anywhere}
.story-reader-prose p{margin:0}
.story-reader-prose p+p{margin-top:20px}
.story-reader-footer{display:flex;align-items:center;flex-wrap:wrap;gap:16px 24px;border-top:1px solid var(--line);padding-top:26px;margin-top:36px}
.story-copy{font-family:inherit;font-size:14px;font-weight:550;line-height:1.5;min-height:44px;padding:10px 16px;border:1px solid var(--line-strong);border-radius:9px;background:var(--soft);color:var(--accent-strong);cursor:pointer}
.story-copy:hover{background:var(--surface-hover)}
.story-page-link{display:inline-flex;align-items:center;gap:12px;max-width:100%;min-height:44px;font-size:14px;line-height:1.7;color:var(--accent-strong);text-decoration:none}
.story-page-label{min-width:0;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}
.story-page-icon{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border:1px solid var(--line-strong);border-radius:50%;background:var(--surface);color:var(--accent)}
.story-page-icon svg{display:block;width:16px;height:16px}
.story-page-link:hover .story-page-icon{border-color:var(--line-hover);background:var(--soft)}
.story-page{--width:800px;padding:20px 0 70px}
.story-back{display:inline-block;padding:12px 0;margin-bottom:18px;color:var(--muted);font-size:14px;line-height:1.6}
.story-back:hover{color:var(--accent);text-decoration:underline;text-underline-offset:4px}
.story-standalone{padding:30px 48px;border:1px solid var(--line);border-radius:20px;background:#fff}
.story-source{margin-top:32px;font-size:13px;line-height:1.8;color:var(--muted)}
/* Selected layout: three quiet cards, clear titles and softly highlighted topics. */
.testimonies-minimal.testimonies-tiles .testimony-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.testimonies-minimal.testimonies-tiles .testimony-card{border:1px solid #e9e4dc;border-top:2px solid #d7c6ad;border-radius:10px;background:#faf8f4;box-shadow:none;overflow:hidden}
.testimonies-minimal.testimonies-tiles .testimony-card:hover{border-color:#d7c6ad;box-shadow:none}
.testimonies-minimal.testimonies-tiles .testimony-open{padding:20px;min-height:218px;gap:20px;border-radius:9px}
.testimonies-minimal.testimonies-tiles .testimony-open:hover{background:#f4eee4}
.testimonies-minimal.testimonies-tiles .testimony-category{padding:5px 10px;margin:0 0 16px;border-radius:8px;background:#eee8de;color:var(--accent-strong);font-size:12px;line-height:1.5;font-weight:500}
.testimonies-minimal.testimonies-tiles .testimony-card .testimony-title{font-size:21px;font-weight:700;line-height:1.4;margin:0 0 12px}
.testimonies-minimal.testimonies-tiles .testimony-open:hover .testimony-title{color:#80552b}
.testimonies-minimal.testimonies-tiles .testimony-author{font-size:13px;line-height:1.6}
.testimonies-minimal.testimonies-tiles .testimony-read-label{padding:0;border:0;font-size:13px;font-weight:500;color:#756650}
.testimonies-minimal.testimonies-tiles .testimony-read-label>span{width:28px;height:28px;border-radius:50%;background:#fff;border:1px solid #e4dbce;font-size:17px}
@media(max-width:900px){.testimonies-minimal.testimonies-tiles .testimony-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){
 .testimony-brief{font-size:16px;margin-bottom:22px}
 .testimonies-minimal .testimony-list-heading h3{font-size:21px}
 .testimonies-minimal .testimony-grid{grid-template-columns:1fr;gap:12px}
 .testimony-open{padding:21px;gap:18px}
 .testimonies-minimal .testimony-card .testimony-title{font-size:19px}
 .testimony-read-label{font-size:14px}
 .testimonies-minimal .testimony-filters button{font-size:12px;padding:8px 10px}
 .testimonies-minimal.testimonies-tiles .testimony-grid{grid-template-columns:1fr;gap:12px}
 .testimonies-minimal.testimonies-tiles .testimony-open{padding:20px;min-height:0;gap:18px}
 .testimonies-minimal.testimonies-tiles .testimony-card .testimony-title{font-size:20px}
 .story-dialog{width:calc(100% - 16px);max-height:calc(100vh - 16px);max-height:calc(100dvh - 16px);border-radius:15px}
 .story-dialog-bar{padding:8px 12px 8px 20px;font-size:12px}
 .story-reader{padding:28px 22px 24px}
 .story-reader-heading h1,.testimonies .story-reader-heading h2{font-size:28px;line-height:1.25}
 .story-reader-prose{font-size:18px;line-height:1.8}
 .story-reader-footer{align-items:flex-start;flex-direction:column;gap:18px;margin-top:28px}
 .story-page{padding-top:10px}
 .story-standalone{padding:28px 20px;border-radius:14px}
}
@media(prefers-reduced-motion:reduce){.testimonies-minimal .testimony-card{transition:none}}
@media print{.story-dialog-bar,.story-reader-footer,.story-back{display:none!important}.story-standalone{border:0;padding:0}.story-dialog[open]{position:absolute;width:100%;max-height:none;overflow:visible;border:0;box-shadow:none}.story-dialog[open]::backdrop{background:#fff}}

/*! PhotoSwipe main CSS by Dmytro Semenov | photoswipe.com */

.pswp {
  --pswp-bg: #000;
  --pswp-placeholder-bg: #222;
  

  --pswp-root-z-index: 100000;
  
  --pswp-preloader-color: rgba(79, 79, 79, 0.4);
  --pswp-preloader-color-secondary: rgba(255, 255, 255, 0.9);
  
  /* defined via js:
  --pswp-transition-duration: 333ms; */
  
  --pswp-icon-color: #fff;
  --pswp-icon-color-secondary: #4f4f4f;
  --pswp-icon-stroke-color: #4f4f4f;
  --pswp-icon-stroke-width: 2px;

  --pswp-error-text-color: var(--pswp-icon-color);
}


/*
	Styles for basic PhotoSwipe (pswp) functionality (sliding area, open/close transitions)
*/

.pswp {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: var(--pswp-root-z-index);
	display: none;
	touch-action: none;
	outline: 0;
	opacity: 0.003;
	contain: layout style size;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* Prevents focus outline on the root element,
  (it may be focused initially) */
.pswp:focus {
  outline: 0;
}

.pswp * {
  box-sizing: border-box;
}

.pswp img {
  max-width: none;
}

.pswp--open {
	display: block;
}

.pswp,
.pswp__bg {
	transform: translateZ(0);
	will-change: opacity;
}

.pswp__bg {
  opacity: 0.005;
	background: var(--pswp-bg);
}

.pswp,
.pswp__scroll-wrap {
	overflow: hidden;
}

.pswp__scroll-wrap,
.pswp__bg,
.pswp__container,
.pswp__item,
.pswp__content,
.pswp__img,
.pswp__zoom-wrap {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.pswp__img,
.pswp__zoom-wrap {
	width: auto;
	height: auto;
}

.pswp--click-to-zoom.pswp--zoom-allowed .pswp__img {
	cursor: -webkit-zoom-in;
	cursor: -moz-zoom-in;
	cursor: zoom-in;
}

.pswp--click-to-zoom.pswp--zoomed-in .pswp__img {
	cursor: move;
	cursor: -webkit-grab;
	cursor: -moz-grab;
	cursor: grab;
}

.pswp--click-to-zoom.pswp--zoomed-in .pswp__img:active {
  cursor: -webkit-grabbing;
  cursor: -moz-grabbing;
  cursor: grabbing;
}

/* :active to override grabbing cursor */
.pswp--no-mouse-drag.pswp--zoomed-in .pswp__img,
.pswp--no-mouse-drag.pswp--zoomed-in .pswp__img:active,
.pswp__img {
	cursor: -webkit-zoom-out;
	cursor: -moz-zoom-out;
	cursor: zoom-out;
}


/* Prevent selection and tap highlights */
.pswp__container,
.pswp__img,
.pswp__button,
.pswp__counter {
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.pswp__item {
	/* z-index for fade transition */
	z-index: 1;
	overflow: hidden;
}

.pswp__hidden {
	display: none !important;
}

/* Allow to click through pswp__content element, but not its children */
.pswp__content {
  pointer-events: none;
}
.pswp__content > * {
  pointer-events: auto;
}


/*

  PhotoSwipe UI

*/

/*
	Error message appears when image is not loaded
	(JS option errorMsg controls markup)
*/
.pswp__error-msg-container {
  display: grid;
}
.pswp__error-msg {
	margin: auto;
	font-size: 1em;
	line-height: 1;
	color: var(--pswp-error-text-color);
}

/*
class pswp__hide-on-close is applied to elements that
should hide (for example fade out) when PhotoSwipe is closed
and show (for example fade in) when PhotoSwipe is opened
 */
.pswp .pswp__hide-on-close {
	opacity: 0.005;
	will-change: opacity;
	transition: opacity var(--pswp-transition-duration) cubic-bezier(0.4, 0, 0.22, 1);
	z-index: 10; /* always overlap slide content */
	pointer-events: none; /* hidden elements should not be clickable */
}

/* class pswp--ui-visible is added when opening or closing transition starts */
.pswp--ui-visible .pswp__hide-on-close {
	opacity: 1;
	pointer-events: auto;
}

/* <button> styles, including css reset */
.pswp__button {
	position: relative;
	display: block;
	width: 50px;
	height: 60px;
	padding: 0;
	margin: 0;
	overflow: hidden;
	cursor: pointer;
	background: none;
	border: 0;
	box-shadow: none;
	opacity: 0.85;
	-webkit-appearance: none;
	-webkit-touch-callout: none;
}

.pswp__button:hover,
.pswp__button:active,
.pswp__button:focus {
  transition: none;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
  opacity: 1;
}

.pswp__button:disabled {
  opacity: 0.3;
  cursor: auto;
}

.pswp__icn {
  fill: var(--pswp-icon-color);
  color: var(--pswp-icon-color-secondary);
}

.pswp__icn {
  position: absolute;
  top: 14px;
  left: 9px;
  width: 32px;
  height: 32px;
  overflow: hidden;
  pointer-events: none;
}

.pswp__icn-shadow {
  stroke: var(--pswp-icon-stroke-color);
  stroke-width: var(--pswp-icon-stroke-width);
  fill: none;
}

.pswp__icn:focus {
	outline: 0;
}

/*
	div element that matches size of large image,
	large image loads on top of it,
	used when msrc is not provided
*/
div.pswp__img--placeholder,
.pswp__img--with-bg {
	background: var(--pswp-placeholder-bg);
}

.pswp__top-bar {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 60px;
	display: flex;
  flex-direction: row;
  justify-content: flex-end;
	z-index: 10;

	/* allow events to pass through top bar itself */
	pointer-events: none !important;
}
.pswp__top-bar > * {
  pointer-events: auto;
  /* this makes transition significantly more smooth,
     even though inner elements are not animated */
  will-change: opacity;
}


/*

  Close button

*/
.pswp__button--close {
  margin-right: 6px;
}


/*

  Arrow buttons

*/
.pswp__button--arrow {
  position: absolute;
  top: 0;
  width: 75px;
  height: 100px;
  top: 50%;
  margin-top: -50px;
}

.pswp__button--arrow:disabled {
  display: none;
  cursor: default;
}

.pswp__button--arrow .pswp__icn {
  top: 50%;
  margin-top: -30px;
  width: 60px;
  height: 60px;
  background: none;
  border-radius: 0;
}

.pswp--one-slide .pswp__button--arrow {
  display: none;
}

/* hide arrows on touch screens */
.pswp--touch .pswp__button--arrow {
  visibility: hidden;
}

/* show arrows only after mouse was used */
.pswp--has_mouse .pswp__button--arrow {
  visibility: visible;
}

.pswp__button--arrow--prev {
  right: auto;
  left: 0px;
}

.pswp__button--arrow--next {
  right: 0px;
}
.pswp__button--arrow--next .pswp__icn {
  left: auto;
  right: 14px;
  /* flip horizontally */
  transform: scale(-1, 1);
}

/*

  Zoom button

*/
.pswp__button--zoom {
  display: none;
}

.pswp--zoom-allowed .pswp__button--zoom {
  display: block;
}

/* "+" => "-" */
.pswp--zoomed-in .pswp__zoom-icn-bar-v {
  display: none;
}


/*

  Loading indicator

*/
.pswp__preloader {
  position: relative;
  overflow: hidden;
  width: 50px;
  height: 60px;
  margin-right: auto;
}

.pswp__preloader .pswp__icn {
  opacity: 0;
  transition: opacity 0.2s linear;
  animation: pswp-clockwise 600ms linear infinite;
}

.pswp__preloader--active .pswp__icn {
  opacity: 0.85;
}

@keyframes pswp-clockwise {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


/*

  "1 of 10" counter

*/
.pswp__counter {
  height: 30px;
  margin-top: 15px;
  margin-inline-start: 20px;
  font-size: 14px;
  line-height: 30px;
  color: var(--pswp-icon-color);
  text-shadow: 1px 1px 3px var(--pswp-icon-color-secondary);
  opacity: 0.85;
}

.pswp--one-slide .pswp__counter {
  display: none;
}


/* Full-window viewing with a separate caption and thumbnail strip. */
.gallery-is-open{overflow:hidden}
.gallery-group[data-media-kind="photos"] .gallery-open{padding:0;aspect-ratio:3/2}
.gallery-group[data-media-kind="photos"] .gallery-open img{width:100%;height:100%;max-height:none;object-fit:cover}
.archive-gallery-host{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:0;border:0;overflow:hidden;background:#201e1b;color:#fff}
.archive-gallery-host::backdrop{background:#201e1b}
.gallery-open{cursor:zoom-in}
.archive-viewer{--pswp-bg:#201e1b;--pswp-icon-color:#fff;--pswp-icon-color-secondary:#201e1b;--pswp-icon-stroke-color:#201e1b;--pswp-icon-stroke-width:1px;color:#fff;font-family:var(--sans);font-size:15px}
.archive-viewer .pswp__top-bar{padding:4px 12px;align-items:center;height:54px}
.archive-viewer .pswp__counter{height:auto;margin:0 0 0 8px;color:#e8e0d5;font-size:15px;font-weight:500;line-height:44px;text-shadow:none;opacity:1}
.archive-viewer .pswp__button{width:46px;height:46px;border-radius:50%;margin:0 3px;color:#fff;opacity:1;transition:background .15s}
.archive-viewer .pswp__button:hover{background:#ffffff16;color:#fff}
.archive-viewer .pswp__button:disabled{opacity:.3}
.archive-viewer .pswp__button:focus-visible,.archive-viewer-thumbnail:focus-visible{outline:2px solid #e9cfa6;outline-offset:3px}
.archive-viewer .pswp__button .pswp__icn{position:absolute;left:7px;top:7px;width:32px;height:32px}
.archive-viewer .pswp__button--arrow{position:absolute;top:calc(50% - 65px);width:50px;height:50px;margin:0;border:1px solid #ffffff24;background:#ffffff0c}
.archive-viewer .pswp__button--arrow .pswp__icn{left:9px;top:9px;margin-top:0;right:auto}
.archive-viewer .pswp__button--original .pswp__icn{color:#fff}
.archive-viewer.pswp--touch .pswp__button--arrow{visibility:visible}
.archive-viewer .pswp__button--arrow--prev{left:22px}
.archive-viewer .pswp__button--arrow--next{right:22px}
.archive-viewer .pswp__img{border-radius:3px}
.archive-viewer .pswp__archive-footer{position:absolute;z-index:5;inset:auto 0 0;display:flex;flex-direction:column;align-items:center;gap:4px;padding:3px 16px max(6px,env(safe-area-inset-bottom));background:linear-gradient(#201e1b00,#201e1bee 24%);pointer-events:none}
.archive-viewer-caption{max-width:100%;max-height:58px;overflow:auto;overflow-wrap:anywhere;margin:0;text-align:center;font-size:15px;line-height:1.45;color:#f3eee7;pointer-events:auto;overscroll-behavior:contain;transform:translate(var(--caption-offset-x,0px),var(--caption-offset,0px))}
.archive-viewer-thumbnails{position:relative;display:flex;align-items:center;gap:8px;max-width:100%;padding:3px;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#776b5c transparent;pointer-events:auto;overscroll-behavior:contain}
.archive-viewer-thumbnail{flex:0 0 54px;width:54px;height:44px;padding:3px;border:1px solid #ffffff30;border-radius:8px;background:#ffffff0a;opacity:.55;cursor:pointer;transition:opacity .15s,border-color .15s}
.archive-viewer-thumbnail img{display:block;width:100%;height:100%;object-fit:contain;border-radius:4px}
.archive-viewer-thumbnail:hover{opacity:1}
.archive-viewer-thumbnail[aria-current="true"]{opacity:1;border-color:#d9bb91;background:#d9bb9118}
@media(max-width:700px){.archive-viewer .pswp__top-bar{padding-inline:8px}.archive-viewer .pswp__button--arrow{display:block;top:auto;bottom:calc(54px + max(6px,env(safe-area-inset-bottom)));width:42px;height:42px;z-index:7;background:#28241f}.archive-viewer .pswp__button--arrow .pswp__icn{left:5px;top:5px}.archive-viewer .pswp__button--arrow--prev{left:12px}.archive-viewer .pswp__button--arrow--next{right:12px}.archive-viewer .pswp__archive-footer{padding-inline:12px}.archive-viewer-caption{max-width:calc(100% - 100px);font-size:13px;max-height:64px;min-height:44px;display:flex;align-items:center;justify-content:center}.archive-viewer-thumbnails{max-width:calc(100% - 24px)}}
@media(max-height:500px){.archive-viewer-thumbnails{display:none}.archive-viewer .pswp__archive-footer{padding-bottom:max(4px,env(safe-area-inset-bottom))}.archive-viewer-caption{min-height:0;max-height:54px;font-size:13px}.archive-viewer .pswp__button--arrow{top:calc(50% - 25px);bottom:auto}}
@media(prefers-reduced-motion:reduce){.archive-viewer .pswp__button,.archive-viewer-thumbnail{transition:none}}
@media print{.archive-viewer{display:none!important}}
.archive-viewer--single .archive-viewer-caption{max-width:100%}

/* Photo descriptions follow the visible photograph, including narrow portraits. */
:root figure:has(img):not(:has(blockquote)) > figcaption,
.profile-captioned-photo > .profile-portrait-caption{
 width:var(--photo-caption-width,100%);max-width:100%;min-width:0;
 margin-inline:auto;text-align:center;overflow-wrap:anywhere;align-items:center;
}
:root figure:has(img):not(:has(blockquote)) > figcaption a{margin-inline:auto}
.profile-captioned-photo{min-width:0;width:100%}
.profile-captioned-photo > .profile-portrait-caption{margin-top:13px}
@media(max-width:700px){.profile-captioned-photo{width:min(390px,100%)}}

.material-breadcrumbs{margin-bottom:8px;color:var(--muted);font-size:14px;line-height:1.8;text-align:left}
.material-breadcrumbs ol{list-style:none;margin:0;padding:0}
.material-breadcrumbs li{display:inline;overflow-wrap:anywhere}
.material-breadcrumbs a{display:inline-block;padding-block:8px;text-decoration:underline;text-underline-offset:4px;text-decoration-color:var(--line-strong)}
.material-breadcrumbs a:hover{color:var(--accent);text-decoration-color:currentColor}
.material-breadcrumbs [aria-current="page"]{color:var(--text)}
.material-breadcrumbs .breadcrumb-separator{margin-inline:10px;color:var(--bronze)}
.material-breadcrumbs.shell,.story-page.frame,.read-space.reading-frame{padding-top:10px}
.preview-header .material-breadcrumbs+h1{margin-top:0}
@media(max-width:700px){.material-breadcrumbs{margin-bottom:6px;font-size:13px}.material-breadcrumbs .breadcrumb-separator{margin-inline:7px}.material-breadcrumbs.shell,.story-page.frame,.read-space.reading-frame{padding-top:6px}}
@media print{.material-breadcrumbs{display:none}}

:is(.profile-detail-page,.profile-subpage) .site-top{position:sticky;top:0;z-index:35;background:#fffefaed;backdrop-filter:blur(18px);border-bottom:1px solid transparent;transition:border-color .2s,box-shadow .2s}
:is(.profile-detail-page,.profile-subpage).profile-scrolled .site-top{border-color:var(--line);box-shadow:0 8px 24px #4938200c}

/* Align the full-width header contents with the profile breadcrumbs. */
:is(.profile-detail-page,.profile-subpage) .site-top.frame{
  --width:1080px;
  width:100%;
  max-width:none;
  margin-inline:0;
  padding-inline:max(40px,calc((100% - var(--width))/2));
}
@media(max-width:1000px){
  :is(.profile-detail-page,.profile-subpage) .site-top.frame{padding-inline:28px}
}
@media(max-width:700px){
  :is(.profile-detail-page,.profile-subpage) .site-top.frame{padding-inline:18px}
}

/* The homepage portrait identifies the current profile while reading. */
.header-profile-return{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;align-items:center;gap:11px;min-height:46px;padding:4px 10px;border:0;border-radius:999px;background:transparent;color:var(--ink);font:650 15px/1.35 var(--sans);white-space:nowrap;visibility:hidden;opacity:0;pointer-events:none;transition:opacity .2s,background .2s}
.header-profile-return>.catalog-portrait{flex:none;width:38px;height:38px;margin:0;overflow:hidden;border-radius:50%}
.profile-scrolled .header-profile-return{visibility:visible;opacity:1;pointer-events:auto}
.header-profile-return:hover{background:var(--soft);color:var(--accent-strong)}
@media(min-width:701px) and (max-width:1000px){
  .header-profile-return{gap:8px;padding-inline:6px;font-size:13px}
  .header-profile-return>.catalog-portrait{width:32px;height:32px}
}
@media(max-width:700px){.header-profile-return{display:none}}
@media(prefers-reduced-motion:reduce){.header-profile-return{transition:none}}
@media print{.header-profile-return{display:none}.profile-subpage .site-top{position:static}}
@media(prefers-reduced-motion:reduce){:is(.profile-detail-page,.profile-subpage) .site-top{transition:none}}

@media screen{
  html:has(.profile-subpage){scroll-padding-top:calc(var(--site-header-height) + 12px)}
  .profile-subpage .reading-rail{top:calc(var(--site-header-height) + 20px)}
}
.profile-subpage .mobile-credit{display:none}
@media screen and (max-width:700px){
  .profile-subpage .desktop-credit{display:none}
  .profile-subpage .mobile-credit{display:inline-flex;align-items:center;min-height:44px;color:inherit}
}

@keyframes button-shine {
  0% { background-position: 100% 0; }
  32%, 100% { background-position: 0% 0; }
}

@media screen and (prefers-reduced-motion: no-preference) {
  .profile-biography-prose .biography-more:is([data-biography-more], [data-biography-next]):enabled {
    position: relative;

    &::after {
      content: "";
      position: absolute;
      inset: 0;
      box-sizing: border-box;
      border-radius: inherit;
      pointer-events: none;
      background: linear-gradient(108deg, transparent 44%, rgb(208 168 98 / 23%) 48%,
        rgb(255 248 223 / 80%) 50%, rgb(255 255 255 / 78%) 51%, transparent 56%)
        100% 0 / 255% 100% no-repeat content-box;
      animation: button-shine 4.4s ease infinite;
    }

    @media (hover: hover) and (pointer: fine) {
      transition: translate .18s ease-out, box-shadow .18s ease-out,
        background-color .18s, border-color .18s, color .18s;

      &:hover {
        translate: 0 -3px;
        box-shadow: 0 5px 8px #65492432, 0 0 12px 3px rgb(186 138 70 / 14.5%);
      }
      /* Keep the original lower edge clickable as the button rises. */
      &:hover::after {
        bottom: -3px;
        padding-bottom: 3px;
        pointer-events: auto;
      }
    }
  }
}

/* Keep the back-to-top control clear of the footer. */
:where(.profile-to-top) { translate: 0 var(--button-footer-offset, 0px); }
