/* Reserve the certificate's reading space throughout the journey: no jump between stages. */
.journey-gallery .journey-canvas{height:560px;aspect-ratio:auto}
.journey-scene{display:flex;align-items:center;justify-content:center}
.journey-scene[hidden]{display:none}
.journey-drawing{height:auto;max-height:350px}
.faithful-certificate{width:100%;max-width:440px;padding:19px 19px 14px;box-sizing:border-box;background:var(--ivory);color:var(--wine);border:1px solid #d1bdac;border-radius:3px;box-shadow:6px 6px 0 #bfac9b20;position:relative}
.cert-heading{display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;border-bottom:1px solid #bfac9b88;padding-bottom:13px;margin-bottom:13px}
.cert-heading>span{font:8px/1.4 'Public Sans',sans-serif;letter-spacing:.6px}
.cert-heading h4{font:20px/1.1 Newsreader,serif;margin:0;letter-spacing:0}
.cert-body{font:11.5px/1.55 Newsreader,serif;display:flex;flex-direction:column;gap:10px}
.cert-body p{margin:0}
.cert-body b{display:block;font:500 8px/1.4 'Public Sans',sans-serif;letter-spacing:.4px;margin-bottom:4px}
.cert-date{display:flex;align-items:baseline;gap:5px;font-size:10px;line-height:1.4}
.cert-date>b{display:inline;margin:0;font-size:8px;line-height:1.4}
.cert-excerpt{padding:4px 5px;margin:0 -5px;border-radius:2px}
.cert-prose{display:block;text-align:justify;hyphens:auto}
.cert-officer{display:flex;align-items:baseline;gap:10px;padding-top:1px}
.cert-officer b{margin:0}.cert-officer .signature-rule{width:86px}
.cert-area{animation:cert-read-area 12s ease both}.cert-owner{animation:cert-read-owner 12s ease both}.cert-history{animation:cert-read-history 12s ease both}
.cert-registration{margin-top:13px;padding:10px 11px;background:#b4686126;border-left:2px solid #a65d57;animation:cert-entry-arrive 12s ease both;position:relative}
.cert-registration>span:first-child{font:500 8px/1.4 'Public Sans',sans-serif;letter-spacing:.4px}
.cert-registration p{font:12px/1.5 Newsreader,serif;margin:4px 0 0}
.cert-final-line{display:block;height:1px;background:#a65d57;margin-top:7px;transform-origin:left;animation:cert-entry-line 12s ease both}
@keyframes cert-read-area{0%,8%,45%,100%{background:transparent}16%,32%{background:#b4686126}}
@keyframes cert-read-owner{0%,30%,63%,100%{background:transparent}40%,52%{background:#b4686126}}
@keyframes cert-read-history{0%,50%,78%,100%{background:transparent}60%,68%{background:#b4686126}}
@keyframes cert-entry-arrive{0%,69%{opacity:0;transform:translateY(8px)}80%,100%{opacity:1;transform:translateY(0)}}
@keyframes cert-entry-line{0%,78%{transform:scaleX(0)}90%,100%{transform:scaleX(1)}}
.journey-stage:not(.journey-running) .faithful-certificate *{animation-play-state:paused}
.journey-stage[data-paused="true"] .faithful-certificate *{animation:none!important}
.journey-stage[data-paused="true"] .cert-registration{opacity:1;transform:none}
@media(max-width:1100px){.journey-gallery .journey-canvas{height:650px}.faithful-certificate{padding:16px 15px 13px}}
@media(max-width:800px){.journey-gallery .journey-canvas{height:560px}.faithful-certificate{max-width:440px}}
@media(max-width:520px){.journey-gallery .journey-canvas{height:650px}.faithful-certificate{padding:15px 12px 12px}.cert-heading h4{font-size:19px}.cert-heading>span{font-size:7px}.cert-body{font-size:11.5px;gap:10px}.cert-body b{font-size:8px}.cert-registration{padding:9px}.cert-registration p{font-size:12px}}
@media(prefers-reduced-motion:reduce){.faithful-certificate *{animation:none!important}.cert-registration{opacity:1;transform:none}}

@media(max-width:360px){.journey-gallery .journey-canvas{height:760px}.cert-body{font-size:11px}.cert-heading h4{font-size:17px}}
