/* Balanced cultural bridge, centered compass and a quiet, breathing footer. */
.story-top{gap:42px}
.story-layout{position:relative;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:46px;align-items:center}
.story-left{grid-column:1;grid-row:1;display:flex;flex-direction:column;gap:28px;min-width:0}
.story-photo-full{grid-column:2;grid-row:1}
.bridge-diagram{grid-row:auto;grid-column:auto;width:100%;max-width:none;border:1px solid rgba(34,35,31,.25);background:rgba(232,218,172,.27);padding:26px 26px 28px}
.bridge-diagram>svg{max-height:340px;width:100%}
.bridge-labels{font-size:20px;gap:24px;margin-top:6px}
.bridge-labels small{font-size:15px}
.bridge-balance{font-size:30px;margin-top:20px}
.story-reading-card{padding:30px;box-shadow:7px 7px 0 rgba(57,115,196,.11)}
.story-reading-card>.eyebrow{font-size:14px;line-height:1.7;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.story-reading-card h3{font-size:clamp(42px,3.6vw,56px);line-height:1.06;margin:18px 0 24px}
.story-chapters{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:24px}
.story-chapters button{font-size:15px;padding:12px 10px;min-height:50px;text-align:center}
.story-panel{grid-template-columns:26px minmax(0,1fr);gap:13px;padding:20px 0}
.story-panel.is-current{padding:20px 12px;margin:0 -12px}
.story-step-index{font-size:24px}
.story-panel h4{font-size:18px;line-height:1.5}
.story-panel p{font-size:17px;line-height:1.8}
.story-reading-card .story-signature{font-size:15px;margin-top:22px}
.story-reading-card .story-invitation{font-size:14px;margin-top:20px}
/* Full, correctly framed photograph occupies the right column. */
.story-photo-full{position:relative;width:100%;max-width:620px;margin:0 auto;border:6px solid var(--beige);transform:none}
.story-photo-frame{position:relative;width:100%;aspect-ratio:3/4;overflow:hidden}
.story-photo-frame img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 45%}
.story-photo-full figcaption{font-size:16px;padding:16px 20px;line-height:1.6}
.story-lightning{position:absolute;left:50%;right:auto;top:46%;transform:translate(-50%,-50%);width:62px;z-index:2;pointer-events:none;grid-column:auto;grid-row:auto}
/* The compass grows and its story closes the distance toward the center. */
.compass-layout{grid-template-columns:minmax(0,1.06fr) minmax(0,.94fr);gap:5vw;align-items:center}
.compass{max-width:660px}
.compass-core{font-size:42px}
.compass-node{width:27%;height:31%}
.node-name{font-size:16px;max-width:150px;line-height:1.4}
.node-number{font-size:13px}
.node-icon{width:64%}
.value-reading-card{padding:38px;max-width:none}
.value-reading-card h3{font-size:clamp(48px,4.3vw,70px);line-height:1.06;min-height:140px;margin:24px 0}
.value-reading-card #value-description{font-size:20px;line-height:1.85;min-height:185px}
.value-reading-card .value-phrase{font-size:16px;line-height:1.7;margin-top:24px}
.value-caption{font-size:15px;margin:10px 108px 28px 0}
.value-emblem{width:92px;height:92px;right:28px;top:26px}
.value-emblem img{width:66px;height:66px}
.value-reading-route{margin-top:26px}
.value-reading-card::before{font-size:158px;top:104px;right:20px}
/* The contact row carries the documents, then the logo breathes on its own. */
.contact-bottom{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;font-size:15px}
.contact-legal-links{display:flex;align-items:center;gap:12px 26px;flex-wrap:wrap;font-size:15px;line-height:1.7}
.contact-legal-links a{text-decoration:underline;text-underline-offset:4px}
.contact-legal-links button{font-size:15px;padding:9px 15px;border:1px solid rgba(255,255,255,.45);min-height:44px;border-radius:99px}
.footer{padding-bottom:52px}
.footer-top{justify-content:center}
.footer-top nav{gap:30px;font-size:16px}
.footer-wordmark-mask{margin-top:44px}
.footer-copyright{text-align:center;font-size:16px;line-height:1.7;margin:20px 0 0;letter-spacing:.01em}
.footer-copyright{margin-bottom:0}
/* Progressive floating actions stay discreet and respond to hover. */
.floating-actions{position:fixed;right:24px;bottom:24px;z-index:24;display:flex;flex-direction:column;gap:12px;align-items:flex-end}
.floating-top,.floating-telegram{display:grid;place-items:center;width:54px;height:54px;border-radius:50%;background:rgba(251,246,233,.6);color:var(--ink);border:1px solid rgba(34,35,31,.28);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);transition:background .25s,color .25s,transform .25s,border-color .25s}
.floating-top svg{width:24px;height:24px}
.floating-telegram{background:rgba(57,115,196,.72);color:var(--white);border-color:rgba(255,255,255,.28)}
.floating-telegram svg{width:26px;height:26px;fill:currentColor;stroke:none}
.floating-top:hover,.floating-telegram:hover{transform:translateY(-2px)}
.floating-top:hover{background:var(--paper)}
.floating-telegram:hover{background:var(--blue)}
.floating-top.is-hidden{opacity:0;pointer-events:none;transform:translateY(8px)}
.floating-top{opacity:1;transform:none;transition:background .25s,color .25s,transform .25s,opacity .25s}
.settings-content{padding:46px 44px;line-height:1.8}
.settings-content .eyebrow{font-size:14px;margin-bottom:18px}
.settings-content h2{font-size:clamp(40px,4.2vw,60px);line-height:1.08;margin-bottom:20px}
.settings-content>p{font-size:16px;line-height:1.85;max-width:560px}
.footer-legal{display:none}
.settings-forget{border:1px solid var(--line);border-radius:99px;padding:11px 18px;min-height:48px;font-size:15px;margin-top:14px}
.settings-forget:hover{background:var(--beige)}
@media(max-width:1200px){
 .story-layout{gap:34px}.story-photo-full{max-width:540px}.story-reading-card{padding:26px}.story-reading-card h3{font-size:44px}.story-chapters button{font-size:14px;padding:11px 8px}
 .compass-layout{gap:4vw}.value-reading-card{padding:30px}.value-reading-card h3{font-size:52px}.value-emblem{width:80px;height:80px;right:24px}.value-emblem img{width:58px;height:58px}
}
@media(max-width:1000px){
 .story-layout{grid-template-columns:1fr;gap:38px}.story-left{grid-column:1;grid-row:1;gap:26px}.story-photo-full{grid-column:1;grid-row:2;max-width:640px;margin:0 auto}.story-reading-card h3{font-size:50px}
 .story-lightning{display:none}
 .compass-layout{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:30px}.compass{max-width:520px}.compass-core{font-size:34px}.value-reading-card{padding:26px}.value-reading-card h3{font-size:46px;min-height:150px}.value-reading-card #value-description{font-size:18px;min-height:250px}.value-caption{margin-right:66px}
 .contact-bottom{justify-content:flex-start}.contact-legal-links{gap:10px 22px}.footer-top nav{gap:24px;font-size:16px}
}
@media(max-width:700px){
 .story-layout{gap:32px}.story-left{grid-column:1;grid-row:1;gap:24px}.story-photo-full{grid-column:1;grid-row:2}.bridge-diagram{padding:20px 17px}.bridge-diagram>svg{max-height:none}.bridge-labels{font-size:17px;gap:16px}.bridge-labels small{font-size:14px}.bridge-balance{font-size:27px;margin-top:18px}
 .story-reading-card{padding:22px 20px;box-shadow:5px 5px 0 rgba(57,115,196,.13)}.story-reading-card>.eyebrow{white-space:normal;font-size:13px}.story-reading-card h3{font-size:40px;line-height:1.1;margin:20px 0 22px}.story-chapters{grid-template-columns:1fr;gap:7px}.story-chapters button{min-height:46px;font-size:14px}.story-panel{grid-template-columns:25px minmax(0,1fr);gap:11px;padding:19px 0}.story-panel.is-current{padding:19px 10px;margin:0 -10px}.story-panel h4{font-size:17px}.story-panel p{font-size:17px;line-height:1.85}.story-reading-card .story-signature{font-size:15px}.story-reading-card .story-invitation{font-size:14px}
 .story-photo-full{max-width:100%;border-width:5px}.story-photo-frame{aspect-ratio:3/4}.story-photo-full figcaption{font-size:15px;padding:13px 14px}.story-lightning{display:none}
 .compass-layout{grid-template-columns:1fr;gap:34px}.compass{max-width:470px;margin:0 auto}.compass-core{font-size:32px}.compass-node{height:33%}.node-name{font-size:14px;max-width:120px}.node-number{font-size:13px}.value-reading-card{padding:27px 22px}.value-reading-card h3{font-size:48px;min-height:118px;margin:26px 0 20px}.value-reading-card #value-description{font-size:18px;line-height:1.85;min-height:185px}.value-caption{font-size:14px;margin:9px 72px 18px 0}.value-emblem{width:72px;height:72px;right:22px;top:23px}.value-emblem img{width:52px;height:52px}.value-reading-card .value-phrase{font-size:15px}.value-reading-card::before{font-size:130px;top:138px}
 .contact-bottom{display:block}.contact-legal-links{display:flex;gap:10px 20px;font-size:14px;line-height:1.7}.contact-legal-links button{font-size:14px;padding:8px 13px;min-height:42px}
 .footer-top nav{gap:20px;font-size:15px;flex-wrap:wrap}.footer-wordmark-mask{margin-top:36px}.footer-copyright{font-size:15px;margin-top:18px}
 .floating-actions{right:16px;bottom:16px;gap:10px}.floating-top,.floating-telegram{width:50px;height:50px}.floating-top svg{width:22px;height:22px}.floating-telegram svg{width:24px;height:24px}
 .settings-content{padding:34px 24px}.settings-content h2{font-size:40px}.settings-content>p{font-size:16px}.settings-forget{font-size:14px}
}
@media(max-width:380px){.story-reading-card h3{font-size:36px}.bridge-labels{font-size:16px}.bridge-labels small{font-size:14px}.value-reading-card h3{font-size:42px}.value-emblem{width:64px;height:64px}.value-emblem img{width:48px;height:48px}.contact-legal-links{gap:8px 16px}.footer-top nav{gap:17px}.floating-actions{right:12px;bottom:12px}.floating-top,.floating-telegram{width:46px;height:46px}}
@media(prefers-reduced-motion:reduce){.floating-top,.floating-telegram{transition:none}.floating-top{opacity:1;transform:none}}
/* Scroll lock follows the real dialog state synchronously, so it can never stick. */
body:has(dialog[open]){overflow:hidden}
@media print{.floating-actions,.data-settings-dialog{display:none}.story-left{display:block}.footer-copyright{margin:12px 0 0}}
