/* Collection presentation. Document styles continue to come from the real renderer. */
.template-collection .section-heading{align-items:flex-end}.template-collection .section-heading h2{font-size:clamp(38px,4.7vw,65px);line-height:1.04;max-width:750px}.collection-intro{max-width:350px}.collection-intro>p{font-size:15px;line-height:1.8;color:var(--rp-copy)}#collection-summary{display:block;font-size:12px;color:var(--rp-muted);margin-top:18px}.collection-toolbar{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;padding-top:30px;border-top:1px solid var(--rp-border)}.collection-filters{display:flex;gap:8px;flex-wrap:wrap;max-width:1000px}.collection-filters button{display:inline-flex;align-items:center;gap:9px;min-height:44px;padding:10px 13px;border:1px solid #c5cebb;border-radius:3px;background:#faf8f2;color:var(--rp-ink);font:400 12px/1.3 var(--brand-text);text-align:left}.collection-filters button small{color:#79876c;font-size:10px}.collection-filters button:hover{background:#e8eddf}.collection-filters button[aria-pressed=true]{background:var(--rp-action);border-color:var(--rp-action);color:var(--rp-inverse)}.collection-filters button[aria-pressed=true] small{color:#dbe4d2}.collection-view{display:flex;flex-shrink:0;gap:3px;background:#e8eddf;padding:4px;border-radius:3px}.collection-view button{min-height:38px;min-width:65px;padding:8px 12px;background:none;font-size:11px;color:var(--rp-muted);border-radius:2px}.collection-view button[aria-pressed=true]{background:#faf8f2;color:var(--rp-ink);box-shadow:0 1px 5px #30452c12}.collection-status{display:flex;justify-content:space-between;align-items:center;padding:18px 0 7px;gap:18px}.collection-status>span{font-size:11px;color:var(--rp-muted)}.collection-status .gallery-navigation{gap:12px}.collection-status .gallery-navigation .swipe-label{font-size:9px}.collection-status .gallery-navigation>button{min-height:44px;min-width:44px}.conversion-home .template-collection .layout-card{width:300px;color:var(--rp-ink);padding-top:8px}.conversion-home .template-collection .layout-art{height:auto;aspect-ratio:7/10;padding:20px 18px 32px;border:1px solid #c5ccba;background:#e8eddf;border-radius:3px;outline-offset:3px}.conversion-home .template-collection .layout-card:nth-child(4n+2) .layout-art{background:#eee4d7;border-color:#d5c7b3}.conversion-home .template-collection .layout-card:nth-child(4n+3) .layout-art{background:#e9e4ed;border-color:#c9bfd2}.conversion-home .template-collection .layout-card:nth-child(4n) .layout-art{background:#e1e6eb;border-color:#bec8d3}.conversion-home .template-collection .layout-card[data-selected=true] .layout-art{outline:2px solid var(--rp-action)}.collection-card-preview{display:block;width:100%;padding:0;border:0;background:none;text-align:left;cursor:zoom-in}.collection-paper-slot{position:relative;width:100%;height:100%;min-height:20px;pointer-events:none}.template-collection .layout-art .miniature{position:absolute;top:0;left:0;width:794px;transform-origin:top left;pointer-events:none}.template-collection .layout-art .cv-page{box-shadow:0 8px 28px #283b2520;margin:0}.collection-paper-placeholder{background:#fff;aspect-ratio:794/1123;box-shadow:0 8px 28px #283b2510;border:1px solid #dce0d5}.conversion-home .template-collection .layout-category{left:18px;right:18px;bottom:10px;font-size:8px;letter-spacing:.7px;z-index:2;color:#526049}.collection-preview-hint{position:absolute;top:50%;left:50%;transform:translate(-50%,-45%);display:flex;align-items:center;gap:14px;padding:12px 18px;min-height:44px;white-space:nowrap;background:#faf8f2f5;border:1px solid #bec8b1;border-radius:3px;box-shadow:0 5px 24px #20321e1a;color:var(--rp-ink);font-size:12px;opacity:0;transition:opacity .15s,transform .15s;z-index:3}.collection-card-preview:hover .collection-preview-hint,.collection-card-preview:focus-visible .collection-preview-hint{opacity:1;transform:translate(-50%,-50%)}.collection-preview-hint svg{width:18px;height:18px}.template-collection .layout-title{align-items:center;gap:15px;padding-top:19px}.template-collection .layout-title h3{font-size:23px;line-height:1.2}.template-collection .layout-title p{font-size:12px;line-height:1.5;margin-top:7px}.collection-pick{width:44px;height:44px;display:grid;place-items:center;flex-shrink:0;background:transparent;border:1px solid #c1cbb5;border-radius:50%;color:#8c9980}.collection-pick svg{width:18px;height:18px}.layout-card[data-selected=true] .collection-pick{background:var(--rp-action);border-color:var(--rp-action);color:var(--rp-inverse)}.collection-card-note{margin-top:12px;max-width:280px;color:var(--rp-muted);font-size:12px;line-height:1.7;min-height:42px}.collection-sample-note{font-size:11px;color:var(--rp-muted);margin:22px 0 0;max-width:650px;line-height:1.7}.collection-footer{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--rp-border);padding:5px 0 27px;gap:25px}.collection-footer>div>span{font-size:9px;letter-spacing:1px;color:var(--rp-muted)}.collection-footer p{font-size:14px;color:var(--rp-copy);margin-top:8px}.collection-footer>a{font-size:13px;color:var(--rp-action);text-decoration:underline;text-underline-offset:5px;min-height:44px;display:flex;align-items:center}.template-collection.collection-grid .layout-viewport{overflow:visible;cursor:auto;scroll-snap-type:none}.conversion-home .template-collection.collection-grid .layout-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px 24px;width:100%;max-width:1280px;margin:auto}.conversion-home .template-collection.collection-grid .layout-card{width:auto}.collection-grid .gallery-navigation{visibility:hidden}.collection-grid .gallery-position{display:none}.collection-dialog{border:0;border-radius:4px;width:min(1190px,calc(100vw - 48px));max-height:calc(100dvh - 40px);padding:0;background:var(--rp-paper);color:var(--rp-ink);box-shadow:0 30px 110px #17231355}.collection-dialog::backdrop{background:#17231399;backdrop-filter:blur(5px)}.collection-dialog>header{display:flex;align-items:center;justify-content:space-between;padding:22px 30px;border-bottom:1px solid var(--rp-border);position:sticky;top:0;background:var(--rp-paper);z-index:5}.collection-dialog>header>div>span{font-size:9px;letter-spacing:1.5px;color:var(--rp-muted)}.collection-dialog>header h2{font:500 28px/1.15 var(--brand-text);margin:7px 0 0;color:var(--rp-ink)}.collection-dialog>header>button{width:44px;height:44px;display:grid;place-items:center;background:none;border:1px solid var(--rp-border);border-radius:50%;color:var(--rp-ink)}.collection-dialog-body{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:35px;padding:30px;background:#e8eddf}.collection-dialog-body>aside{position:sticky;top:135px;align-self:start;padding:6px 0}.collection-detail-label{font-size:11px;letter-spacing:.4px;color:var(--rp-muted)}#collection-detail-copy{font:400 29px/1.2 var(--brand-text);letter-spacing:-.6px;color:var(--rp-ink);margin-top:17px}#collection-full-paper{min-width:0;position:relative;overflow:hidden;max-width:794px;width:100%;background:#fff;box-shadow:0 8px 25px #2b3e2420}#collection-full-paper .miniature{width:794px;transform-origin:top left;position:absolute;left:0;top:0}#collection-full-paper .cv-page{margin:0;box-shadow:none}.collection-dialog fieldset{padding:0;border:0;margin:30px 0}.collection-dialog legend{font-size:12px;margin-bottom:13px}.collection-dialog #collection-palettes{display:grid;grid-template-columns:1fr 1fr;gap:8px}.collection-dialog #collection-palettes button{min-height:44px;padding:10px;display:flex;align-items:center;gap:8px;background:#faf8f2;border:1px solid #c1cdb4;border-radius:3px;color:var(--rp-ink);font-size:11px;text-align:left}.collection-dialog #collection-palettes button>span{width:14px;height:14px;flex-shrink:0;background:var(--collection-swatch);border-radius:50%}.collection-dialog #collection-palettes button[aria-pressed=true]{border-color:var(--rp-action);box-shadow:inset 0 0 0 1px var(--rp-action)}#collection-preview-notice{font-size:11px;line-height:1.8;color:var(--rp-muted);margin:20px 0}#collection-use{width:100%;font-size:13px;background:var(--rp-action);color:var(--rp-inverse);border-radius:3px;min-height:50px}#collection-keep-browsing{background:none;padding:12px 0;min-height:44px;color:var(--rp-copy);font-size:12px;text-decoration:underline;text-underline-offset:4px;margin-top:8px}.collection-dialog :focus-visible,.template-collection :focus-visible{outline:2px solid var(--rp-focus);outline-offset:4px}
@media(max-width:1100px){.collection-toolbar{flex-direction:column;gap:15px}.collection-view{align-self:flex-end}.template-collection .section-heading{align-items:flex-start}.collection-intro{max-width:330px}.conversion-home .template-collection.collection-grid .layout-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}.collection-dialog-body{grid-template-columns:minmax(0,1fr) 250px;gap:25px;padding:25px}}
@media(max-width:700px){.template-collection .section-heading{display:block}.collection-intro{max-width:500px;margin-top:24px}.collection-intro>p{font-size:14px}.collection-toolbar{padding-top:22px}.collection-filters{flex-wrap:nowrap;overflow:auto;max-width:100%;width:100%;padding-bottom:4px;scrollbar-width:none}.collection-filters button{white-space:nowrap;flex-shrink:0}.collection-status .swipe-label{display:none}.conversion-home .template-collection .layout-card{width:270px}.conversion-home .template-collection.collection-grid .layout-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 15px}.template-collection .layout-title h3{font-size:21px}.collection-card-note{font-size:12px;min-height:0}.template-collection .selection-bar{flex-wrap:wrap}.template-collection .selection-bar>div:first-child{min-width:0;flex:1}.template-collection .selection-bar .button{font-size:13px;min-height:48px}.template-collection .selection-bar .gallery-position{display:none}.collection-footer{display:block}.collection-footer>a{margin-top:18px}.collection-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 20px);margin:10px auto}.collection-dialog>header{padding:16px 20px}.collection-dialog-body{display:flex;flex-direction:column;gap:25px;padding:20px}.collection-dialog-body>aside{position:static}.collection-dialog-body>aside #collection-detail-copy{font-size:25px}.collection-dialog fieldset{margin:20px 0}.collection-dialog #collection-palettes{grid-template-columns:repeat(4,minmax(0,1fr))}.collection-dialog #collection-palettes button{flex-direction:column;justify-content:center;font-size:10px}.collection-dialog #collection-use{min-height:52px}.collection-dialog-body>aside{order:-1}.collection-dialog #collection-preview-notice{margin:14px 0}.collection-dialog #collection-keep-browsing{display:none}.collection-dialog>header h2{font-size:25px}}
@media(max-width:420px){.template-collection .section-heading h2{font-size:38px}.conversion-home .template-collection.collection-grid .layout-gallery{grid-template-columns:1fr;max-width:340px}.collection-view button{min-height:44px}.collection-card-note{min-height:0}.collection-grid .layout-card{margin-bottom:8px}.collection-dialog #collection-detail-copy{font-size:23px}.collection-status .gallery-navigation>button{width:44px;height:44px}.conversion-home .hero-layout-switch>button{min-height:44px;font-size:11px}.collection-dialog-body{padding:16px}.collection-dialog>header{padding:14px 16px}}
@media(prefers-reduced-motion:reduce){.collection-preview-hint,.template-collection .layout-art,.template-collection .miniature{transition:none!important}}
.collection-document{min-width:0}.collection-zoom{display:flex;align-items:center;gap:4px;margin-bottom:14px}.collection-zoom button{min-height:44px;min-width:62px;padding:10px 14px;border:1px solid #becab1;background:#faf8f2;color:var(--rp-ink);font-size:11px;border-radius:3px}.collection-zoom button[aria-pressed=true]{background:var(--rp-action);color:var(--rp-inverse);border-color:var(--rp-action)}.collection-zoom>span{margin-left:auto;color:var(--rp-muted);font-size:10px;letter-spacing:1px}#collection-paper-scroll{overflow:auto;max-height:75dvh;overscroll-behavior:contain;touch-action:pan-x pan-y;padding:0 0 5px}.collection-dialog-body>aside{min-width:0}
.conversion-home .hero-layout-switch>button{min-width:0;flex:1;padding-inline:6px;line-height:1.3}
/* Phone reader: the page owns the canvas; palette and action stay in reach. */
.hero-preview-open{display:flex;align-items:center;justify-content:center;min-height:44px;width:100%;margin:0 0 8px;background:transparent;border:1px solid var(--rp-border);border-radius:3px;color:var(--rp-ink);font-size:13px}
#collection-paper-scroll{scrollbar-gutter:stable;scroll-padding:12px}
#collection-full-paper{margin-inline:auto;flex-shrink:0}
@media(max-width:700px),(max-height:500px) and (max-width:1023px){
 .collection-dialog[open]{display:flex;flex-direction:column;position:fixed;inset:0;margin:0;width:100%;max-width:none;height:100dvh;max-height:100dvh;border-radius:0;overflow:hidden}
 .collection-dialog>header{position:static;flex-shrink:0;padding:12px 16px;padding-top:max(12px,env(safe-area-inset-top));min-height:72px}
 .collection-dialog>header h2{font-size:24px;margin-top:4px}.collection-dialog>header>div>span{font-size:9px}
 .collection-dialog-body{display:flex;flex-direction:column;flex:1;min-height:0;gap:0;padding:0;overflow:hidden}
 .collection-dialog-body .collection-document{flex:1;min-height:0;display:flex;flex-direction:column;padding:8px 12px 0}
 .collection-zoom{margin:0 0 8px;flex-shrink:0}.collection-zoom button{min-height:44px}.collection-zoom>span{font-size:11px}
 #collection-paper-scroll{flex:1;min-height:0;max-height:none;padding:0 0 8px;overflow:auto;scrollbar-gutter:auto}
 #collection-full-paper{max-width:none}
 .collection-dialog-body>aside{order:0;flex-shrink:0;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;padding:10px 16px max(12px,env(safe-area-inset-bottom));background:var(--rp-paper);border-top:1px solid var(--rp-border)}
 .collection-dialog-body>aside #collection-detail-copy{font-size:12px;line-height:1.45;letter-spacing:0;margin:0;grid-column:1/-1}
 .collection-detail-label{display:none}
 .collection-dialog fieldset{margin:0;grid-column:1/-1}.collection-dialog legend{font-size:11px;margin:0 0 6px}
 .collection-dialog #collection-palettes{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
 .collection-dialog #collection-palettes button{flex-direction:row;gap:6px;padding:6px;min-height:44px;font-size:11px;justify-content:center}
 .collection-dialog #collection-palettes button>span{width:12px;height:12px}
 .collection-dialog #collection-preview-notice{font-size:10px;line-height:1.5;margin:0;align-self:center}
 .collection-dialog #collection-use{font-size:13px;padding:10px 14px;min-height:48px;width:auto;gap:10px;white-space:nowrap}
 .collection-dialog #collection-keep-browsing{display:none}
 .conversion-home .template-collection .layout-art{padding-top:16px}
 .conversion-home .template-collection .layout-card{width:min(300px,calc(100vw - 64px))}
 .collection-filters{scroll-padding-inline:4px}.collection-filters button{font-size:13px}.collection-filters button small{font-size:11px}
 .collection-view button{min-height:44px;font-size:12px}
}
@media(max-width:360px),(max-height:500px) and (max-width:700px){.collection-dialog-body>aside #collection-detail-copy{display:none}.collection-dialog legend{display:none}.collection-dialog>header{min-height:60px}.collection-dialog #collection-preview-notice{font-size:9px}.collection-dialog #collection-use{font-size:12px}}
/* A separate reading view keeps every word comfortable on a narrow screen. */
#collection-full-paper.is-reading{max-width:760px;overflow:visible;background:var(--rp-inverse)}
.collection-reading{padding:28px;color:#202020;font:400 16px/1.7 var(--brand-text);overflow-wrap:anywhere}
.collection-reading .cv-header{padding:0 0 22px;margin:0 0 24px;border-bottom:2px solid var(--reader-accent)}
.collection-reading .cv-name{font:600 30px/1.2 var(--brand-text);letter-spacing:-.5px;color:var(--reader-accent)}
.collection-reading .cv-role{font:500 17px/1.5 var(--brand-text);color:#202020;margin-top:8px}
.collection-reading .cv-contact{font-size:14px;line-height:1.7;color:#4b5563;margin-top:14px;display:flex;flex-wrap:wrap;gap:4px 14px}
.collection-reading .cv-contact span+span::before{content:none}
.collection-reading .cv-section{margin:24px 0 0}
.collection-reading .cv-section h4{font:600 17px/1.5 var(--brand-text);letter-spacing:0;text-transform:none;color:var(--reader-accent);border:0;border-bottom:1px solid #d8ded5;padding:0 0 8px;margin:0 0 14px}
.collection-reading .cv-section p,.collection-reading .cv-section ul{font-size:16px;line-height:1.7;color:#202020}
.collection-reading .cv-entry{margin-bottom:24px}.collection-reading .cv-entry:last-child{margin-bottom:0}
.collection-reading .cv-entry strong{font-size:16px;line-height:1.5;color:#202020}
.collection-reading .cv-entry-top{flex-wrap:wrap;gap:4px 12px;align-items:baseline}.collection-reading .cv-entry-top small{white-space:normal;text-align:left}
.collection-reading .cv-entry small,.collection-reading .cv-entry-sub,.collection-reading .cv-entry>span,.collection-reading .cv-language small{font-size:14px;color:#4b5563;line-height:1.6}
.collection-reading .cv-entry-sub{flex-wrap:wrap;margin:6px 0 10px;gap:4px 12px}
.collection-reading .cv-language{font-size:16px;line-height:1.6;flex-wrap:wrap;color:#202020;gap:4px 12px}
.collection-reading .cv-section ul{padding-left:20px;margin:10px 0 0}.collection-reading .cv-section li{margin:7px 0}
.hero-preview-open{font-size:14px;background:var(--rp-soft);border-color:var(--rp-action);font-weight:500}
@media(max-width:700px){.collection-reading{padding:20px 18px}.collection-reading .cv-entry-top{display:block}.collection-reading .cv-entry-top small{margin-top:5px}.collection-zoom{gap:5px}.collection-zoom button{font-size:12px;padding:8px 11px;min-width:0}.collection-zoom>span{font-size:10px}.hero-preview-open{font-size:15px}}
/* A straight, stable page is easier to inspect than rotated small type. */
.conversion-home .live-stage,.conversion-home .stage-paper{transform:none}
@media(max-width:700px),(max-height:500px) and (max-width:1023px){
 .collection-dialog>header,.collection-dialog-body>aside{padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right))}
 .collection-dialog-body .collection-document{padding-left:max(12px,env(safe-area-inset-left));padding-right:max(12px,env(safe-area-inset-right))}
}
@media(max-width:700px){
 .conversion-home .template-collection .collection-card-preview .collection-preview-hint{opacity:1;top:auto;bottom:0;left:0;right:0;transform:none;justify-content:center;min-height:34px;padding:6px 10px;background:transparent;border:0;box-shadow:none;font-size:12px}
 .conversion-home .template-collection .layout-category{display:none}
}

/* A quiet directional gesture; the accessible link still names its destination. */
.conversion-home .hero .scroll-invitation{display:inline-grid;place-items:center;width:48px;height:68px;margin-top:22px;gap:0;color:var(--landing-green,#31452d);border-radius:999px;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.scroll-cue-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.scroll-cue-shell{display:grid;place-items:center;width:34px;height:56px;border:1px solid #31452d55;border-radius:999px;background:#faf8f23d;overflow:hidden;transition:background .2s,border-color .2s}
.scroll-cue-shell>svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;animation:explore-down 2.6s cubic-bezier(.4,0,.2,1) infinite}
.scroll-invitation:hover .scroll-cue-shell,.scroll-invitation:focus-visible .scroll-cue-shell{background:#faf8f2a6;border-color:#31452d}
.scroll-invitation:focus-visible{outline:2px solid #31452d;outline-offset:3px}
@keyframes explore-down{0%,15%{transform:translateY(-7px);opacity:0}35%,55%{opacity:1}75%,100%{transform:translateY(9px);opacity:0}}
.reduce-motion .scroll-cue-shell>svg{animation:none;transform:none;opacity:1}
@media(prefers-reduced-motion:reduce){.scroll-cue-shell>svg{animation:none;transform:none;opacity:1}.scroll-cue-shell{transition:none}}
