/* The opening spread keeps the model, its paper source and one next action together. */
#profil .portfolio-intro {align-items:start}
#profil .portfolio-intro h1{display:flex;align-items:baseline;gap:.18em;font-size:clamp(3rem,5vw,5.3rem)}
#profil .portfolio-intro h1 span{font-weight:400;color:var(--portfolio-muted)}
#profil .portfolio-intro h1 button{appearance:none;font:inherit;letter-spacing:inherit;color:var(--ink);background:none;border:0;border-bottom:3px solid transparent;padding:0 0 .06em;border-radius:0;cursor:pointer;min-height:44px}
#profil .portfolio-intro h1 button[aria-pressed=true]{color:var(--folio-accent);border-color:currentColor}
#h-section-thumb{object-fit:cover;width:39px;height:28px;border-radius:3px;opacity:.75;filter:grayscale(1);border:1px solid transparent}
#h-section-thumb.discovered{filter:none;opacity:1;border-color:#f8cd79;transform:scale(1.03)}
#hero-model{align-self:start;scroll-margin-top:86px}
#hero-model [hidden],#profil .h-evidence [hidden]{display:none!important}
.h-main-action,.h-basic,.h-point,.h-doc-tools,.h-evidence,.h-profile{font-family:Outfit,system-ui,sans-serif}
.h-main-action,.h-basic,.h-point{padding:6px 14px;display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0}
.h-main-action{background:#13252d;min-height:52px}
.h-main-action button{color:#15313a;background:#f0ca86;border:1px solid #f1cc89;border-radius:6px;min-height:44px;padding:6px 13px;font:650 15px/1.15 Outfit,sans-serif;cursor:pointer}
.h-main-action a,.h-images a,.h41-detail a{color:inherit;text-decoration:underline;text-underline-offset:.2em;line-height:1.5}
.h-main-action a{font:500 14px/1.35 Outfit,sans-serif;color:#fae2af;padding:4px}
.h-basic,.h-point,.h-doc-tools{background:#20343c;color:#e3edec}
.h-point{border-top:1px solid #43565e;min-height:51px;gap:4px 12px}
.h-point button,.h-basic button,.h-shelf button,.h-tool-sets button,.h-work-steps button,.h-role-choices button,.h41-detail button{appearance:none;min-height:44px;color:inherit;background:transparent;border:1px solid #637980;border-radius:5px;padding:5px 10px;cursor:pointer;font:500 14px/1.25 Outfit,system-ui,sans-serif}
.h-point button{border:0;padding-inline:0;text-align:left;color:#f7d18b;text-decoration:underline;text-underline-offset:3px;font-weight:600}
.h-point span{font-size:14px;line-height:1.45;flex:1 1 160px}
.h-basic {padding-block:3px;justify-content:space-between;background:#1b2d35}
.h-basic button{border:0;padding-inline:0;color:#d1e0e1;text-decoration:underline;text-underline-offset:3px}
.h-basic button:disabled{opacity:.5;text-decoration:none;cursor:default}
.h41-detail summary,.h-evidence summary{cursor:pointer;min-height:44px;padding:10px 0;font:600 16px/1.45 Outfit,system-ui,sans-serif}
.h-doc-tools,.h-profile,.h-share{border-top:1px solid #50636a;padding:0 14px}
.h-profile{margin:.45rem 0 0;padding:0;color:var(--ink);border-color:var(--folio-edge)}
.h-share,.h-doc-tools{color:#ecf5ef}
.h41-detail p,.h-evidence p{margin:.45em 0 .8em;line-height:1.55}
.h-shelf,.h-work-steps,.h-role-choices,.h-dest,.h-images>div{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.h-shelf{margin:6px 0}
.h-images.h-shelf{margin:0;padding:5px 14px 9px;color:#f7eacb}
.h-shelf button[aria-pressed=true],.h-tool-sets button[aria-pressed=true]{background:#42626a;border-color:#c5d7d4}
.h-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:0 0 8px}
.h-tiles button{display:flex!important;align-items:center;justify-content:flex-start;min-width:0;min-height:64px;text-align:left;gap:7px;border:1px solid #71848b;border-radius:7px;color:#eff5ed;background:#273c44;padding:4px 7px;font:600 16px/1.1 Outfit,sans-serif;cursor:pointer}
.h-tiles canvas{width:35%;max-width:82px;height:auto;flex:none;aspect-ratio:132/64;background:#20333d url('assets/hero-ramp-model.webp') center/cover;border-radius:3px}
.h-tiles small{display:block;font-weight:400;font-size:12px;line-height:1.15;margin-top:3px}
.h-tool-sets{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,12.5rem),1fr));gap:8px;margin-block:8px 14px}
.h-tool-sets fieldset{padding:2px 6px 7px;margin:0;min-width:0;border:1px solid #51666e;border-radius:6px;color:#f1ede3}
.h-tool-sets legend{font:600 14px/1.35 Outfit,sans-serif;padding-inline:3px;color:#d5e5e3}
.h-tool-sets button{margin:2px;font-size:14px}
.h-hatch{display:inline-block;width:14px;height:12px;background:repeating-linear-gradient(-45deg,#e3bd79 0 2px,#775d34 2px 4px);vertical-align:middle}
.h-silhouettes button{display:inline-flex;align-items:center;gap:3px}
.h-silhouettes img{height:28px;width:44px;object-fit:contain}
.h-leader,#h-document,#h-document>svg,#h-document>img{position:absolute;inset:0;width:100%;height:100%}
.h-leader{z-index:1;pointer-events:none;stroke:#f4ce82;stroke-width:1;opacity:.82}
#hero-model:not([data-h-mode=model]) :is(.orbit-marker,.orbit-slice,.orbit-heading,.hero-person-label,#hero-model-canvas){visibility:hidden}
#h-document{z-index:3;background:#f3efe5;pointer-events:none}
#h-document>img{object-fit:cover}
#h-lens-ring{position:absolute;z-index:2;aspect-ratio:1;transform:translate(-50%,-50%);border:2px solid #f6ca7d;border-radius:50%;box-shadow:0 0 0 1px #213039;touch-action:none;cursor:move}
#hero-model[data-pivot] .orbit-marker i{outline:2px dotted #ffd491;outline-offset:6px}
#hero-model.h-emphasis .h-leader{opacity:1;stroke-width:3}
#hero-model.h-emphasis #hero-reveal i{outline:3px solid white;outline-offset:4px}
.h-qr{background:#fff;width:fit-content;padding:3px;line-height:0;margin:10px 0}
.h-qr canvas{max-width:210px;height:auto;image-rendering:pixelated}
#profil>.h-evidence{display:block;max-width:1320px;position:relative;isolation:isolate;border-top:1px solid var(--folio-edge);margin:12px auto 20px;padding:clamp(15px,2.4vw,33px) 0;scroll-margin-top:90px;color:var(--ink)}
.h-evidence-head{display:flex;align-items:baseline;gap:12px 26px;flex-wrap:wrap}
.h-evidence-head h2{font:500 clamp(1.6rem,3vw,2.8rem)/1.15 Outfit,sans-serif;letter-spacing:-.025em;margin:0}
.h-evidence-head p{color:var(--portfolio-muted)}
.h-evidence-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:16px 24px}
.h-role-card,.h-context{min-width:0}
.h-role-card{padding:14px;border:1px solid var(--folio-edge);border-radius:10px;background:var(--folio-paper);align-self:start}
.h-role-choices button,.h-evidence button{border-color:var(--folio-edge);color:var(--ink)}
.h-role-choices button[aria-pressed=true],.h-work-steps button[aria-pressed=true]{color:var(--folio-button-text);background:var(--folio-accent);border-color:var(--folio-accent)}
.h-skill-body{display:flex;align-items:center;gap:12px;margin-block:14px}
.h-skill-body img{object-fit:cover;width:32%;max-width:142px;border-radius:5px}
.h-skill-body p{margin-bottom:0}
.h-dest a,.h-evidence a{color:var(--folio-accent);text-underline-offset:3px;font-weight:550}
.h-dest{align-items:start;gap:8px 16px}
.h-context>details{border-top:1px solid var(--folio-edge);padding-inline:2px}
.h-context dl{display:grid;grid-template-columns:auto 1fr;margin:0;gap:4px 10px}
.h-context dt{font-weight:650}.h-context dd{margin:0}
#h-work-frame,.h-tour-frame{display:grid;grid-template-columns:29% 1fr;gap:10px;align-items:center;min-height:116px;margin:8px 0}
#h-work-frame img,.h-tour-frame img{width:100%;height:84px;object-fit:cover;border:1px solid var(--folio-edge);border-radius:5px}
#h-work-frame blockquote{margin:0;font-size:12px;line-height:1.35;padding:8px;border-inline-start:3px solid var(--folio-accent)}
.h-tour-frame small{color:var(--portfolio-muted)}
#h-pick{display:flex;align-items:center;gap:8px}#h-pick img{width:70px;height:48px;object-fit:cover}
#h-properties{margin-block:8px}
.h-work-steps button{display:grid;text-align:start;gap:3px}
.h-work-steps img,.h-work-steps button>span{display:block;width:64px;height:34px;object-fit:cover;border-radius:3px}
.h-work-steps button>span{background:#f1eadb;color:#2b474b;font:10px/1.5 monospace;padding:2px 4px}
#hero-model .orbit-marker .orbit-tag{opacity:0}
#hero-model .orbit-marker:is(:hover,:focus-visible) .orbit-tag{opacity:1}
@media(min-width:1025px){
 #profil .portfolio-intro{align-items:start}
 #profil .portfolio-intro-copy{align-self:start;padding-block-start:clamp(.5rem,2vw,2rem)}
 #hero-model{max-width:540px;justify-self:end}
}
#profil :is(.h-main-action,.h-point,.h-basic,.h41-detail,.h-evidence,.h-tiles,.h-tool-sets,h1) :focus-visible{outline:3px solid #c78334;outline-offset:2px}
@media(max-width:1024px){
 #profil .portfolio-intro{grid-template-columns:minmax(0,.85fr) minmax(0,1fr);gap:20px}
}
@media(max-width:720px){
 body[data-presentation] #profil.studio-hero{padding:4.25rem 12px 1rem!important}
 #profil .portfolio-intro{display:grid;grid-template-columns:1fr;gap:8px;padding:.45rem 0 .9rem!important}
 #profil .portfolio-intro-copy{display:contents}
 #profil .portfolio-person{order:0;margin:0;gap:8px}
 #profil .portfolio-person img{width:36px;height:36px}
 #profil .portfolio-person p{font-size:.95rem}
 #profil .portfolio-person span{font-size:.81rem}
 #profil .portfolio-intro h1{order:1;font-size:clamp(1.95rem,7.5vw,2.9rem)}
 #profil .portfolio-lead{order:2;font-size:.93rem;line-height:1.35;margin:0}
 #hero-model{order:3;width:100%;max-width:560px;justify-self:center}
 #profil .portfolio-actions{order:4}
 #profil .h-profile{order:5}
 #profil .portfolio-shortcuts{order:6}
 #profil>.h-evidence{margin-top:0;padding-top:14px}
 .h-evidence-grid{grid-template-columns:1fr;gap:12px}
 .h-evidence-head{display:block}.h-role-card{padding:10px}
 .h-main-action{padding:4px 8px;gap:4px;flex-wrap:nowrap}.h-main-action a{font-size:13px}
 .h-main-action button{padding-inline:8px;font-size:14px}
 .h-qr{display:none}.h-point,.h-basic{padding-inline:8px}
 #h-legend button[data-h-sign]:not([data-h-sign=next]):not([aria-pressed=true]){display:none}
 .h-work-steps button:not([aria-pressed=true]){display:none}
 .h-shelf button,.h-role-choices button{font-size:14px}
 .h-tour-frame{min-height:155px}
}
@media(max-width:360px){
 #profil .portfolio-lead{display:none}
 .h-main-action:has(#h-next:not([hidden])) button{max-width:57%}
}
