/* Final marketing type scale. Height changes layout, never the heading hierarchy. */
body.amaltas-theme{
 --type-hero:clamp(44px,4vw,60px);
 --type-title:clamp(38px,3.1vw,48px);
 --type-subtitle:28px;
 --type-copy:20px;
 --type-detail:16px;
 --type-label:12px;
 -webkit-text-size-adjust:100%;text-size-adjust:100%;
}
body.amaltas-theme #hero-title{
 font-family:AmaltasNewsreader,Georgia,serif;font-size:var(--type-hero);
 font-weight:400;font-optical-sizing:auto;line-height:1.06;letter-spacing:-.025em;
 max-width:620px;
}
body.amaltas-theme main>[data-scene] .slide-title{
 font-family:AmaltasNewsreader,Georgia,serif;font-size:var(--type-title);
 font-weight:400;font-optical-sizing:auto;line-height:1.1;letter-spacing:-.025em;
}
body.amaltas-theme main>[data-scene] :is(.hero-copy .lede,.section-heading>p,.dictionary-meaning,.technical-close>p:not(.eyebrow),.fde-note>p:not(.eyebrow)){
 font-family:Plex,Arial,sans-serif;font-size:var(--type-copy);font-weight:400;line-height:1.55;
}
body.amaltas-theme main>[data-scene] :is(.process-flow p,.support-grid>p,.activity-copy>p,.faq-items details>p){font-size:var(--type-detail);line-height:1.6}
body.amaltas-theme main>[data-scene] :is(.process-flow h3,.support-grid strong,.activity-copy h3){font-family:AmaltasNewsreader,Georgia,serif;font-size:var(--type-subtitle);line-height:1.15;font-weight:400}
body.amaltas-theme main>[data-scene] .eyebrow{font:500 var(--type-label)/1.5 Plex,Arial,sans-serif;letter-spacing:.09em;margin-bottom:14px}
body.amaltas-theme main>[data-scene] .dictionary-definition{font-family:AmaltasNewsreader,Georgia,serif;font-size:var(--type-subtitle);line-height:1.2}
body.amaltas-theme main>[data-scene] .dictionary-origin{font-size:14px}
body.amaltas-theme main>[data-scene] .botanical-note{font-size:12px;line-height:1.4}
body.amaltas-theme main>[data-scene] :is(.process-note,.shot-caption,.story-footnote,.motion-caption,.motion-caption>span:last-child,.memory-fiction){font-size:12px;line-height:1.5}
body.amaltas-theme :is(.nav-cta,.hero-actions .button,.hero-actions .text-link,.workflow-tabs>button,.activity-socials,.activity-copy>a,.fde-action){font-size:14px}
body.amaltas-theme :is(.activity-meta,.demo-toolbar,.demo-toolbar button,.shot-top){font-size:12px}
body.amaltas-theme .faq-items summary{font-size:20px;line-height:1.4}
/* Let a shorter/scaled laptop scroll instead of shrinking the text to fit it. */
body.amaltas-theme main>[data-scene]:not(.memory-story){height:auto;min-height:100svh;overflow:visible}
body.amaltas-theme main>.workflow{padding-bottom:60px}
body.amaltas-theme main>.method-slide .process-flow{align-items:stretch}
body.amaltas-theme main>.technical-hero{row-gap:20px}
body.amaltas-theme .technical-hero .hero-copy .lede{max-width:580px;margin-top:22px}
body.amaltas-theme .technical-hero .hero-actions{margin-top:24px}
body.amaltas-theme .section-heading>p{max-width:440px}
body.amaltas-theme .implementation-slide>.footer{position:static;margin-top:40px;grid-column:1/-1}
body.amaltas-theme .footer>div{flex-wrap:wrap}
body.amaltas-theme .footer{font-size:12px}
/* Product illustrations retain a denser, readable scale of their own. */
body.amaltas-theme .automation-stage{height:420px}
body.amaltas-theme .agent-row{min-height:85px;padding:13px 11px;margin-bottom:15px}
body.amaltas-theme .agent-row strong{font-size:14px;line-height:1.35}
body.amaltas-theme .agent-row small{font-size:11px;line-height:1.45}
body.amaltas-theme :is(.stage-caption,.document-meta,.review-ready-label,.review-diff small){font-size:10px;line-height:1.5}
body.amaltas-theme :is(.document-stamp,.signal-scope,.signal-received,.review-sources,.review-owner,.review-arrival,.theatre-label,.sequence-beats button){font-size:11px;line-height:1.45}
body.amaltas-theme :is(.signal-document h3,.review-ready h3){font-size:26px;line-height:1.12}
body.amaltas-theme :is(.signal-document p,.review-ready>p){font-size:14px;line-height:1.5}
body.amaltas-theme .review-diff b{font-size:16px}
body.amaltas-theme .moving-review{min-height:310px}
body.amaltas-theme .theatre-footer{padding-block:13px 15px}
body.amaltas-theme .memory-story .section-heading{gap:35px}
body.amaltas-theme .memory-stage{max-height:520px}
body.amaltas-theme .world-event h3{font-size:30px;line-height:1.13}
body.amaltas-theme :is(.world-event>p,.event-evidence p){font-size:14px;line-height:1.5}
body.amaltas-theme :is(.event-source,.event-kind,.memory-world-top time,.story-kicker,.memory-chapters button,.event-to-memory,.memory-story-footer .text-link,.scroll-invitation){font-size:11px;line-height:1.5}
body.amaltas-theme .notebook-thesis h3{font-size:26px;line-height:1.13}
body.amaltas-theme :is(.notebook-top strong,.memory-assumption,.memory-assumption b,.reaction-byline,.firm-reaction p){font-size:12px;line-height:1.45}
body.amaltas-theme :is(.memory-assumption .unavailable,.memory-assumption s,.reaction-heading .story-kicker,.reaction-heading>span:last-child,.reaction-byline time,.notebook-top small,.notebook-footer){font-size:10px;line-height:1.4}
body.amaltas-theme .notebook-body{gap:15px}
body.amaltas-theme .notebook-top{padding:12px 16px}
body.amaltas-theme .firm-reaction{padding:9px 0}
body.amaltas-theme .memory-story-footer{flex-wrap:wrap;row-gap:8px}
@media(min-width:701px) and (max-height:800px){
 body.amaltas-theme .memory-sticky{padding-block:90px 28px}
 body.amaltas-theme .memory-story .section-heading{margin-bottom:12px}
 body.amaltas-theme .memory-story .section-heading>p{display:none}
 body.amaltas-theme .memory-chapters{margin-bottom:13px}
 body.amaltas-theme .memory-stage{max-height:none;min-height:0}
 body.amaltas-theme .memory-story-footer{margin-top:12px}
 body.amaltas-theme .notebook-body{padding:12px 14px;grid-template-columns:1fr 1.15fr;gap:14px}
 body.amaltas-theme .firm-reactions{padding-left:12px}
 body.amaltas-theme .firm-reaction:not([data-current=true]) p{display:none}
 body.amaltas-theme .world-event{padding-top:14px}
 body.amaltas-theme .world-event h3{margin-block:12px}
 body.amaltas-theme .event-evidence{margin-top:12px;padding:9px 12px}
 body.amaltas-theme .world-watermark{font-size:110px}
}
@media(max-width:1000px) and (min-width:701px){
 body.amaltas-theme .agent-row{padding:11px 8px;gap:7px}
 body.amaltas-theme .agent-row strong{font-size:12px}
 body.amaltas-theme .agent-row small{font-size:10px}
 body.amaltas-theme :is(.signal-document p,.review-ready>p){font-size:12px}
 body.amaltas-theme :is(.stage-caption,.review-ready-label,.document-meta,.review-diff small){font-size:9px}
 body.amaltas-theme .review-diff b{font-size:14px}
 body.amaltas-theme .review-ready h3{font-size:24px}
}
@media(max-width:700px){
 body.amaltas-theme{--type-hero:clamp(34px,9vw,40px);--type-title:clamp(30px,8.2vw,36px);--type-subtitle:26px;--type-copy:18px;--type-detail:16px;--type-label:11px}
 body.amaltas-theme #hero-title{max-width:100%;line-height:1.08}
 body.amaltas-theme main>[data-scene] .slide-title{line-height:1.1}
 body.amaltas-theme main>[data-scene]:not(.memory-story){padding-top:90px;padding-bottom:65px}
 body.amaltas-theme .technical-hero .hero-copy .lede{margin-top:18px;line-height:1.55}
 body.amaltas-theme .technical-hero .engine-plate>img{height:clamp(180px,27svh,250px)}
 body.amaltas-theme .technical-hero .hero-actions{margin-top:22px;gap:16px}
 body.amaltas-theme .section-heading{margin-bottom:22px}
 body.amaltas-theme .section-heading>p{margin-top:14px;max-width:none}
 body.amaltas-theme .workflow .section-heading>p.tour-intro-mobile{display:block}
 body.amaltas-theme .workflow .section-heading>p.tour-intro-full{display:none}
 body.amaltas-theme .workflow .section-heading .eyebrow::after{content:''}
 body.amaltas-theme .shot-top{display:flex}
 body.amaltas-theme .shot-top>span:last-child{display:block;font-size:11px}
 body.amaltas-theme .shot-label{font-size:12px}
 body.amaltas-theme .demo-toolbar>span{display:none}
 body.amaltas-theme .support-slide .support-grid{gap:12px}
 body.amaltas-theme .support-slide .support-grid>p{padding:16px 8px 16px 0}
 body.amaltas-theme .implementation-slide>.footer{margin-top:30px;padding-bottom:0}
 body.amaltas-theme .faq-items summary{font-size:18px}
 body.amaltas-theme .activity-art strong{font-size:26px}
 body.amaltas-theme .activity-meta{font-size:11px}
 body.amaltas-theme .automation-stage{height:900px}
 body.amaltas-theme .incoming-signal{top:20px}
 body.amaltas-theme .signal-document{padding:13px;gap:6px 10px}
 body.amaltas-theme .signal-document h3{font-size:25px}
 body.amaltas-theme .signal-document p{font-size:12px;line-height:1.4}
 body.amaltas-theme .document-meta{font-size:10px}
 body.amaltas-theme .document-stamp{font-size:10px}
 body.amaltas-theme .agent-orchestra{top:270px}
 body.amaltas-theme .agent-row{min-height:156px;padding:10px 7px;margin:0}
 body.amaltas-theme .agent-row strong{font-size:12px}
 body.amaltas-theme .agent-row small{font-size:10px}
 body.amaltas-theme .review-destination{top:500px}
 body.amaltas-theme .moving-review{min-height:320px}
 body.amaltas-theme .review-ready{padding:16px}
 body.amaltas-theme .review-ready h3{font-size:26px}
 body.amaltas-theme .review-ready>p{font-size:14px}
 body.amaltas-theme .stage-caption{font-size:10px}
 body.amaltas-theme .sequence-beats button{font-size:0}
 body.amaltas-theme .sequence-beats button[aria-pressed=true]{font-size:11px}
 body.amaltas-theme .motion-caption{flex-direction:column;gap:5px}
 body.amaltas-theme .motion-caption>span:last-child{max-width:none;text-align:left}
 body.amaltas-theme .memory-sticky{padding:85px 0 50px}
 body.amaltas-theme .memory-story .section-heading{margin-bottom:12px}
 body.amaltas-theme .memory-story .section-heading>p{display:none}
 body.amaltas-theme .memory-chapters{gap:5px;margin-bottom:12px}
 body.amaltas-theme .memory-chapters button{font-size:10px}
 body.amaltas-theme .memory-stage{max-height:none;min-height:0;gap:10px}
 body.amaltas-theme .world-event h3{font-size:26px;margin-top:6px}
 body.amaltas-theme .event-evidence p{font-size:12px}
 body.amaltas-theme .event-source{font-size:10px}
 body.amaltas-theme .event-to-memory{font-size:10px}
 body.amaltas-theme .world-event>p{display:none}
 body.amaltas-theme .notebook-thesis h3{font-size:22px}
 body.amaltas-theme .notebook-top{padding:10px 12px}
 body.amaltas-theme :is(.memory-world-top time,.memory-world-top .story-kicker,.event-kind,.reaction-heading .story-kicker,.reaction-heading>span:last-child,.reaction-byline time,.notebook-top small,.notebook-footer,.memory-assumption .unavailable,.memory-assumption s){font-size:9px}
 body.amaltas-theme .notebook-body{grid-template-columns:1fr 1.1fr;gap:10px;padding:10px 12px}
 body.amaltas-theme .firm-reactions{padding-left:8px}
 body.amaltas-theme .firm-reaction{padding:7px 0;gap:6px}
 body.amaltas-theme .firm-reaction p{font-size:11px;line-height:1.45}
 body.amaltas-theme .reaction-byline{font-size:11px;gap:5px;flex-wrap:wrap}
 body.amaltas-theme .firm-reaction:not([data-current=true]) p{display:none}
 body.amaltas-theme .memory-story-footer{margin-top:10px;gap:8px}
 body.amaltas-theme :is(.memory-story-footer .text-link,.scroll-invitation,.memory-fiction){font-size:10px}
 body.amaltas-theme .scroll-invitation{flex-basis:100%}
}
@media(max-width:360px){
 body.amaltas-theme .support-slide .support-grid{grid-template-columns:1fr}
 body.amaltas-theme .notebook-thesis h3{font-size:21px}
 body.amaltas-theme .notebook-body{grid-template-columns:1fr 1.15fr;padding:9px;gap:6px}
 body.amaltas-theme .firm-reactions{padding-left:6px}
 body.amaltas-theme .firm-reaction:not([data-current=true]){display:none}
 body.amaltas-theme .notebook-thesis>.memory-assumption~.memory-assumption{display:none}
 body.amaltas-theme .notebook-footer>span:last-child{display:none}
}
/* Short desktop windows keep the artwork at a useful scale too. */
@media(min-width:701px){
 body.amaltas-theme .technical-hero .engine-plate>img{height:clamp(260px,48svh,480px);min-height:260px;object-fit:contain}
}
body.amaltas-theme .scene-position{left:auto;right:18px}
body.amaltas-theme main>[data-scene]:not(.memory-story){padding-bottom:86px}
/* Pinned content must yield space to its scrollable notebook on short windows. */
body.amaltas-theme .memory-stage>*{min-height:0}
body.amaltas-theme .firm-notebook{height:100%;min-height:0}
@media(min-width:701px) and (max-height:700px){
 body.amaltas-theme .world-event>p{display:none}
 body.amaltas-theme .firm-reaction:not([data-current=true]){display:none}
}
@media(max-width:360px){
 body.amaltas-theme .world-event h3{font-size:22px}
}
/* Keep the last firm view visible while new evidence is being considered.
   Bound the stage on tall phones; its footer follows the notebook naturally. */
@media(max-width:700px){
 body.amaltas-theme .memory-stage{max-height:560px}
 body.amaltas-theme .memory-stage .world-event{display:block;padding-top:8px}
 body.amaltas-theme .memory-stage .world-event h3{font-size:22px;line-height:1.15;margin:0}
 body.amaltas-theme .memory-stage :is(.event-mark,.event-kind,.event-evidence,.event-source,.world-watermark){display:none}
 body.amaltas-theme .event-to-memory{padding-top:6px;line-height:1.4}
 body.amaltas-theme .event-to-memory>span:first-child{display:none}
 body.amaltas-theme .scroll-invitation>span{display:none}
 body.amaltas-theme .scroll-invitation::after{content:'Scroll to follow the story'}
}
@media(max-width:700px) and (min-height:950px){
 body.amaltas-theme .memory-stage .event-evidence{display:flex;margin-top:10px}
 body.amaltas-theme .memory-stage .event-source{display:block}
}
@media(max-width:360px){
 body.amaltas-theme .notebook-thesis h3{font-size:18px;line-height:1.2}
}
body.amaltas-theme .automation-stage::after{content:none}
body.amaltas-theme .capability-strip strong{font-size:16px}
body.amaltas-theme .capability-strip p>span{font-size:14px;line-height:1.5}
/* Preview text keeps its native size. Longer output scrolls inside the frame. */
@media(min-width:701px){
 body.amaltas-theme .demo-frame{overflow:auto;scrollbar-width:thin}
 body.amaltas-theme .demo-frame .os-ui{width:100%!important;min-width:900px!important;transform:none!important;zoom:1!important}
}

@media(max-width:360px) and (max-height:800px){
 body.amaltas-theme .event-to-memory{display:none}
}

/* Mobile follows the document, including scenes taller than the viewport.
   Mandatory snapping otherwise fights touch momentum and the pinned memory story. */
@media(max-width:700px), (hover:none) and (pointer:coarse){
 html.amaltas-slides{scroll-snap-type:none;scroll-behavior:auto;overscroll-behavior-y:auto}
 body.amaltas-theme main>[data-scene]{scroll-snap-align:none;scroll-snap-stop:normal}
 body.amaltas-theme .scene-position{display:none}
}
/* Preferences live in the footer; the consent prompt remains available. */
body.amaltas-theme .site-analytics-toggle{display:none!important}
body.amaltas-theme .footer-analytics{appearance:none;border:0;background:none;padding:0;color:inherit;font:inherit;cursor:pointer}
body.amaltas-theme .footer-analytics:hover{text-decoration:underline;text-underline-offset:3px}
body.amaltas-theme .footer-analytics:focus-visible{outline:2px solid #355d3f;outline-offset:4px}
