/* ByteRoute bio looks, round 4: Clay Practice, Daybook, Stillroom, Open Studio, Spectrum Desk, Tangerine Edit.
   Loaded only for those six validated looks, and every rule is scoped to their preset marker.
   Native colours (--bio-text, --bio-bg, --bio-button, --bio-button-text) and the saved font still apply. */

/* ---------------------------------------------------------------- shared */
#profile:is([data-bio-preset="clay-practice"],[data-bio-preset="daybook"],[data-bio-preset="stillroom"],[data-bio-preset="open-studio"],[data-bio-preset="spectrum-desk"],[data-bio-preset="tangerine-edit"]) .r4-hd{position:relative;text-align:left;overflow-wrap:anywhere}
#profile:is([data-bio-preset="clay-practice"],[data-bio-preset="daybook"],[data-bio-preset="stillroom"],[data-bio-preset="open-studio"],[data-bio-preset="spectrum-desk"],[data-bio-preset="tangerine-edit"]) .r4-hd .bp-name{text-wrap:balance}
#profile:is([data-bio-preset="clay-practice"],[data-bio-preset="daybook"],[data-bio-preset="stillroom"],[data-bio-preset="open-studio"],[data-bio-preset="spectrum-desk"],[data-bio-preset="tangerine-edit"]) .r4-hd .bp-intro p{max-width:none}
#profile:is([data-bio-preset="clay-practice"],[data-bio-preset="daybook"],[data-bio-preset="stillroom"],[data-bio-preset="open-studio"],[data-bio-preset="spectrum-desk"],[data-bio-preset="tangerine-edit"]) #content{text-align:left}
#profile:is([data-bio-preset="clay-practice"],[data-bio-preset="daybook"],[data-bio-preset="stillroom"],[data-bio-preset="open-studio"],[data-bio-preset="spectrum-desk"],[data-bio-preset="tangerine-edit"]) #content > .item{margin-top:0;margin-bottom:0}
#profile:is([data-bio-preset="clay-practice"],[data-bio-preset="daybook"],[data-bio-preset="stillroom"],[data-bio-preset="open-studio"],[data-bio-preset="spectrum-desk"],[data-bio-preset="tangerine-edit"]) #content > .item + .item{margin-top:.75rem}
#profile:is([data-bio-preset="clay-practice"],[data-bio-preset="daybook"],[data-bio-preset="stillroom"],[data-bio-preset="open-studio"],[data-bio-preset="spectrum-desk"],[data-bio-preset="tangerine-edit"]) a.btn-custom:not(.bio-link-featured){display:flex;align-items:center;gap:12px;min-height:52px;padding:12px 18px;text-align:left;overflow-wrap:anywhere}
#profile:is([data-bio-preset="clay-practice"],[data-bio-preset="daybook"],[data-bio-preset="stillroom"],[data-bio-preset="open-studio"],[data-bio-preset="spectrum-desk"],[data-bio-preset="tangerine-edit"]) a.btn-custom:not(.bio-link-featured) .bio-link-icon{position:static;flex:none;margin:0;width:20px;height:auto;text-align:center}
#profile:is([data-bio-preset="clay-practice"],[data-bio-preset="daybook"],[data-bio-preset="stillroom"],[data-bio-preset="open-studio"],[data-bio-preset="spectrum-desk"],[data-bio-preset="tangerine-edit"]) a.btn-custom:not(.bio-link-featured) i.bio-link-icon{font-size:1.05rem!important}
#profile:is([data-bio-preset="clay-practice"],[data-bio-preset="daybook"],[data-bio-preset="stillroom"],[data-bio-preset="open-studio"],[data-bio-preset="spectrum-desk"],[data-bio-preset="tangerine-edit"]) a.btn-custom:not(.bio-link-featured) img.bio-link-icon{width:2.5rem;height:2.5rem;max-width:2.5rem}
#profile:is([data-bio-preset="clay-practice"],[data-bio-preset="daybook"],[data-bio-preset="stillroom"],[data-bio-preset="open-studio"],[data-bio-preset="spectrum-desk"],[data-bio-preset="tangerine-edit"]) a.btn-custom:not(.bio-link-featured) > .bio-link-label,#profile:is([data-bio-preset="clay-practice"],[data-bio-preset="daybook"],[data-bio-preset="stillroom"],[data-bio-preset="open-studio"],[data-bio-preset="spectrum-desk"],[data-bio-preset="tangerine-edit"]) a.btn-custom .r4-txt{flex:1 1 auto;min-width:0;max-width:none;display:block}
#profile:is([data-bio-preset="clay-practice"],[data-bio-preset="daybook"],[data-bio-preset="stillroom"],[data-bio-preset="open-studio"],[data-bio-preset="spectrum-desk"],[data-bio-preset="tangerine-edit"]) .r4-txt{display:flex;flex-direction:column;gap:2px}
#profile:is([data-bio-preset="clay-practice"],[data-bio-preset="daybook"],[data-bio-preset="stillroom"],[data-bio-preset="open-studio"],[data-bio-preset="spectrum-desk"],[data-bio-preset="tangerine-edit"]) .r4-txt .bio-link-label{display:block}
#profile:is([data-bio-preset="clay-practice"],[data-bio-preset="daybook"],[data-bio-preset="stillroom"],[data-bio-preset="open-studio"],[data-bio-preset="spectrum-desk"],[data-bio-preset="tangerine-edit"]) .r4-desc{display:block;font-weight:400;font-size:.875em;line-height:1.35;opacity:.82}
#profile:is([data-bio-preset="clay-practice"],[data-bio-preset="daybook"],[data-bio-preset="stillroom"],[data-bio-preset="open-studio"],[data-bio-preset="spectrum-desk"],[data-bio-preset="tangerine-edit"]) a.btn-custom:hover{opacity:1}
#profile:is([data-bio-preset="clay-practice"],[data-bio-preset="daybook"],[data-bio-preset="stillroom"],[data-bio-preset="open-studio"],[data-bio-preset="spectrum-desk"],[data-bio-preset="tangerine-edit"]) a:focus-visible,#profile:is([data-bio-preset="clay-practice"],[data-bio-preset="daybook"],[data-bio-preset="stillroom"],[data-bio-preset="open-studio"],[data-bio-preset="spectrum-desk"],[data-bio-preset="tangerine-edit"]) button:focus-visible{outline:3px solid var(--bio-text);outline-offset:3px}
#profile:is([data-bio-preset="clay-practice"],[data-bio-preset="daybook"],[data-bio-preset="stillroom"],[data-bio-preset="open-studio"],[data-bio-preset="spectrum-desk"],[data-bio-preset="tangerine-edit"]) a.btn-custom:focus-visible{outline:3px solid var(--bio-text);outline-offset:3px}
#profile:is([data-bio-preset="clay-practice"],[data-bio-preset="daybook"],[data-bio-preset="stillroom"],[data-bio-preset="open-studio"],[data-bio-preset="spectrum-desk"],[data-bio-preset="tangerine-edit"]) .r4-arrow,#profile:is([data-bio-preset="clay-practice"],[data-bio-preset="daybook"],[data-bio-preset="stillroom"],[data-bio-preset="open-studio"],[data-bio-preset="spectrum-desk"],[data-bio-preset="tangerine-edit"]) a.btn-custom.r4-main::after,#profile:is([data-bio-preset="clay-practice"],[data-bio-preset="daybook"],[data-bio-preset="stillroom"],[data-bio-preset="open-studio"],[data-bio-preset="spectrum-desk"],[data-bio-preset="tangerine-edit"]) a.btn-custom.r4-row::after{flex:none}
#profile:is([data-bio-preset="clay-practice"],[data-bio-preset="daybook"],[data-bio-preset="stillroom"],[data-bio-preset="open-studio"],[data-bio-preset="spectrum-desk"],[data-bio-preset="tangerine-edit"]) .r4-motion-toggle{position:absolute;z-index:5;display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:4px 10px;border-radius:999px;border:1px solid currentColor;background:var(--bio-bg);color:var(--bio-text);font:600 12px/1 system-ui,-apple-system,"Segoe UI",sans-serif;cursor:pointer}
#profile:is([data-bio-preset="clay-practice"],[data-bio-preset="daybook"],[data-bio-preset="stillroom"],[data-bio-preset="open-studio"],[data-bio-preset="spectrum-desk"],[data-bio-preset="tangerine-edit"]) .r4-motion-toggle[hidden]{display:none}
#profile:is([data-bio-preset="clay-practice"],[data-bio-preset="daybook"],[data-bio-preset="stillroom"],[data-bio-preset="open-studio"],[data-bio-preset="spectrum-desk"],[data-bio-preset="tangerine-edit"]) .r4-motion-toggle:focus-visible{outline:3px solid var(--bio-text);outline-offset:2px}
/* Decoration pauses for the visitor, a hidden tab or offscreen, and never runs under reduced motion. */
#profile:is([data-bio-preset="clay-practice"],[data-bio-preset="daybook"],[data-bio-preset="stillroom"],[data-bio-preset="open-studio"],[data-bio-preset="spectrum-desk"],[data-bio-preset="tangerine-edit"]) .r4-hd.r4-user-paused [data-r4-deco],#profile:is([data-bio-preset="clay-practice"],[data-bio-preset="daybook"],[data-bio-preset="stillroom"],[data-bio-preset="open-studio"],[data-bio-preset="spectrum-desk"],[data-bio-preset="tangerine-edit"]) .r4-hd.r4-user-paused [data-r4-deco] *,#profile:is([data-bio-preset="clay-practice"],[data-bio-preset="daybook"],[data-bio-preset="stillroom"],[data-bio-preset="open-studio"],[data-bio-preset="spectrum-desk"],[data-bio-preset="tangerine-edit"]) .r4-hd.r4-hidden-paused [data-r4-deco],#profile:is([data-bio-preset="clay-practice"],[data-bio-preset="daybook"],[data-bio-preset="stillroom"],[data-bio-preset="open-studio"],[data-bio-preset="spectrum-desk"],[data-bio-preset="tangerine-edit"]) .r4-hd.r4-hidden-paused [data-r4-deco] *,#profile:is([data-bio-preset="clay-practice"],[data-bio-preset="daybook"],[data-bio-preset="stillroom"],[data-bio-preset="open-studio"],[data-bio-preset="spectrum-desk"],[data-bio-preset="tangerine-edit"]) .r4-hd.r4-off-paused [data-r4-deco],#profile:is([data-bio-preset="clay-practice"],[data-bio-preset="daybook"],[data-bio-preset="stillroom"],[data-bio-preset="open-studio"],[data-bio-preset="spectrum-desk"],[data-bio-preset="tangerine-edit"]) .r4-hd.r4-off-paused [data-r4-deco] *{animation-play-state:paused!important}
#profile:is([data-bio-preset="clay-practice"],[data-bio-preset="daybook"],[data-bio-preset="stillroom"],[data-bio-preset="open-studio"],[data-bio-preset="spectrum-desk"],[data-bio-preset="tangerine-edit"]) .r4-hd.r4-rm [data-r4-deco],#profile:is([data-bio-preset="clay-practice"],[data-bio-preset="daybook"],[data-bio-preset="stillroom"],[data-bio-preset="open-studio"],[data-bio-preset="spectrum-desk"],[data-bio-preset="tangerine-edit"]) .r4-hd.r4-rm [data-r4-deco] *{animation:none!important}
@media (prefers-reduced-motion:reduce){#profile:is([data-bio-preset="clay-practice"],[data-bio-preset="daybook"],[data-bio-preset="stillroom"],[data-bio-preset="open-studio"],[data-bio-preset="spectrum-desk"],[data-bio-preset="tangerine-edit"]) [data-r4-deco],#profile:is([data-bio-preset="clay-practice"],[data-bio-preset="daybook"],[data-bio-preset="stillroom"],[data-bio-preset="open-studio"],[data-bio-preset="spectrum-desk"],[data-bio-preset="tangerine-edit"]) [data-r4-deco] *{animation:none!important}#profile:is([data-bio-preset="clay-practice"],[data-bio-preset="daybook"],[data-bio-preset="stillroom"],[data-bio-preset="open-studio"],[data-bio-preset="spectrum-desk"],[data-bio-preset="tangerine-edit"]) .r4-motion-toggle{display:none!important}}
/* Arrow used after some rows; drawn with a mask so it follows the text colour. */
#profile:is([data-bio-preset="clay-practice"],[data-bio-preset="daybook"],[data-bio-preset="stillroom"],[data-bio-preset="open-studio"],[data-bio-preset="spectrum-desk"],[data-bio-preset="tangerine-edit"]) a.btn-custom.r4-arrowed::after,#profile[data-bio-preset="clay-practice"] a.btn-custom.r4-main::after,#profile[data-bio-preset="stillroom"] a.btn-custom:not(.bio-link-featured)::after,#profile[data-bio-preset="open-studio"] a.btn-custom.r4-main::after,#profile[data-bio-preset="open-studio"] a.btn-custom.r4-row--thumb::after,#profile[data-bio-preset="spectrum-desk"] a.btn-custom:not(.bio-link-featured):not(.r4-main)::after{content:"";width:14px;height:14px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1 8h12M9 3l5 5-5 5' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1 8h12M9 3l5 5-5 5' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E") center/contain no-repeat;opacity:.8}

/* ---------------------------------------------------------------- Clay Practice */
@media (min-width:640px){body.br-bio-preset.r4-plainbg:has(#profile[data-bio-preset="clay-practice"]){background-image:linear-gradient(180deg,var(--r4-page) 0,var(--r4-page) 340px,transparent 340px)!important;background-repeat:no-repeat!important}}
#profile[data-bio-preset="clay-practice"] .r4-hd{isolation:isolate;padding-top:6px}
#profile[data-bio-preset="clay-practice"] .r4-hd.r4-has-motion:has(.r4-motion-toggle:not([hidden])){padding-top:46px}
#profile[data-bio-preset="clay-practice"] .r4-sun{position:absolute;z-index:-1;left:-30px;top:-10px;width:260px;height:260px;border-radius:50%;background:radial-gradient(circle at 50% 50%,rgba(255,214,160,.75),rgba(255,214,160,0) 68%);pointer-events:none}
#profile[data-bio-preset="clay-practice"] .r4-has-motion .r4-sun{animation:r4-sun 14s ease-in-out infinite alternate}
@keyframes r4-sun{from{transform:translate(0,0)}to{transform:translate(5px,4px)}}
#profile[data-bio-preset="clay-practice"] .r4-motion-toggle{right:0;top:4px}
#profile[data-bio-preset="clay-practice"] .r4-split{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 44%;gap:14px;align-items:end;padding-top:12px}
#profile[data-bio-preset="clay-practice"] .r4-split--plain{grid-template-columns:minmax(0,1fr) 36%}
#profile[data-bio-preset="clay-practice"] .bp-name{font-size:clamp(42px,12vw,56px);line-height:.95;font-weight:700;letter-spacing:-.01em}
#profile[data-bio-preset="clay-practice"] .bp-name.bp-name--long{font-size:clamp(28px,7.4vw,36px);line-height:1.05}
#profile[data-bio-preset="clay-practice"] .bp-intro p{margin:10px 0 0;font-size:19px;line-height:1.35;opacity:.86}
#profile[data-bio-preset="clay-practice"] #social{justify-content:flex-start;gap:6px;margin:12px 0 0}
#profile[data-bio-preset="clay-practice"] #social a{width:40px;height:40px;border-radius:50%;border:1px solid var(--r4-soft)}
#profile[data-bio-preset="clay-practice"] .r4-arch{align-self:stretch;min-height:230px;border-radius:120px 120px 6px 6px;overflow:hidden;background:var(--r4-arch)}
#profile[data-bio-preset="clay-practice"] .r4-split--plain .r4-arch{min-height:150px}
#profile[data-bio-preset="clay-practice"] .r4-arch-img{display:block;width:100%;height:100%;object-fit:cover}
#profile[data-bio-preset="clay-practice"] .r4-arch--mono{display:flex;align-items:center;justify-content:center;background:linear-gradient(160deg,var(--r4-accent-soft),var(--r4-accent))}
#profile[data-bio-preset="clay-practice"] .r4-arch--mono span{font-size:54px;font-weight:700;color:var(--r4-on-accent)}
#profile[data-bio-preset="clay-practice"] .r4-portrait{position:absolute;right:18%;bottom:-18px;width:88px;height:88px;border-radius:50%;overflow:hidden;border:4px solid var(--bio-bg);background:var(--bio-bg)}
#profile[data-bio-preset="clay-practice"] .r4-portrait-img{display:block;width:100%;height:100%;object-fit:cover}
#profile[data-bio-preset="clay-practice"] .r4-hd:has(.r4-portrait) + div{margin-top:2.6rem}
#profile[data-bio-preset="clay-practice"] #content > .item + .item{margin-top:.5rem}
#profile[data-bio-preset="clay-practice"] #content > .item > h1,#profile[data-bio-preset="clay-practice"] #content > .item > h2,#profile[data-bio-preset="clay-practice"] #content > .item > h3{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;font-size:.6875rem!important;font-weight:700;letter-spacing:.12em;text-transform:uppercase;opacity:.75;margin:1.1rem 0 0}
#profile[data-bio-preset="clay-practice"] a.btn-custom:not(.bio-link-featured){font-size:19px;font-weight:700;border-radius:6px;border:1px solid var(--r4-line)}
#profile[data-bio-preset="clay-practice"] a.btn-custom:not(.bio-link-featured) i.bio-link-icon{color:var(--r4-accent)!important}
#profile[data-bio-preset="clay-practice"] a.btn-custom.r4-main{min-height:56px;background:var(--bio-text)!important;border-color:var(--bio-text)!important;color:var(--bio-bg)!important}
#profile[data-bio-preset="clay-practice"] a.btn-custom.r4-main span,#profile[data-bio-preset="clay-practice"] a.btn-custom.r4-main i.bio-link-icon{color:var(--bio-bg)!important}
#profile[data-bio-preset="clay-practice"] .item:has(> a.btn-custom.r4-main) + .item{margin-top:1.1rem}
#profile[data-bio-preset="clay-practice"] a.btn-custom.r4-row--service{min-height:64px;padding:10px 14px 10px 10px;background:var(--r4-row)!important;border-color:var(--r4-row)}
#profile[data-bio-preset="clay-practice"] a.btn-custom.r4-row--service:hover{background:var(--r4-row-hover)!important}
#profile[data-bio-preset="clay-practice"] a.btn-custom.r4-row--service i.bio-link-icon{display:flex!important;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;border:1.5px solid var(--bio-button-text);font-size:16px!important;color:var(--bio-button-text)!important}
#profile[data-bio-preset="clay-practice"] a.btn-custom.r4-row--service .bio-link-label{font-size:21px;line-height:1.1}
#profile[data-bio-preset="clay-practice"] a.btn-custom.r4-row--service .r4-desc{font-size:16px}
#profile[data-bio-preset="clay-practice"] a.btn-custom.r4-row--service::after{content:"";flex:none;width:9px;height:14px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 16'%3E%3Cpath d='M2 2l6 6-6 6' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 16'%3E%3Cpath d='M2 2l6 6-6 6' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E") center/contain no-repeat}

/* ---------------------------------------------------------------- Daybook */
@media (min-width:640px){body.br-bio-preset.r4-plainbg:has(#profile[data-bio-preset="daybook"]){background-image:linear-gradient(var(--r4-page),var(--r4-page))!important}#profile[data-bio-preset="daybook"]{margin-top:32px;padding-top:30px;background:var(--bio-bg)}}
#profile[data-bio-preset="daybook"] .r4-hd{text-align:center;padding-top:10px}
#profile[data-bio-preset="daybook"] .bp-name{font-size:clamp(42px,13vw,58px);line-height:.95;font-weight:700;letter-spacing:-.035em;text-transform:lowercase}
#profile[data-bio-preset="daybook"] .bp-name.bp-name--long{font-size:clamp(26px,7.6vw,34px);line-height:1.05}
#profile[data-bio-preset="daybook"] #social{justify-content:center;gap:6px;margin:10px 0 0}
#profile[data-bio-preset="daybook"] #social a{width:40px;height:40px}
#profile[data-bio-preset="daybook"] .bp-intro p{margin:14px auto 0;max-width:32ch;font-size:15px;opacity:.85}
#profile[data-bio-preset="daybook"] #content > .item:has(> a.btn-custom.r4-band){margin-left:calc(var(--bp-gutter) * -1);margin-right:calc(var(--bp-gutter) * -1)}
#profile[data-bio-preset="daybook"] #content > .item:has(> a.btn-custom.r4-band) + .item:has(> a.btn-custom.r4-band){margin-top:6px}
#profile[data-bio-preset="daybook"] #content > .item:has(> a.btn-custom.r4-band) + .item:not(:has(> a.btn-custom.r4-band)){margin-top:1rem}
#profile[data-bio-preset="daybook"] a.btn-custom.r4-band{position:relative;justify-content:center;height:132px;min-height:0;padding:0 18px;overflow:hidden;border:0!important;border-radius:0!important;text-align:center;box-shadow:none}
#profile[data-bio-preset="daybook"] a.btn-custom.r4-band--banner{background:var(--r4-accent)!important}
#profile[data-bio-preset="daybook"] a.btn-custom.r4-band--feature{background:var(--r4-band2)!important}
#profile[data-bio-preset="daybook"] a.btn-custom.r4-band--plain{height:88px}
#profile[data-bio-preset="daybook"] a.btn-custom.r4-band--banner.r4-band--plain .bio-link-label{color:var(--r4-on-accent)!important;text-shadow:none}
#profile[data-bio-preset="daybook"] a.btn-custom.r4-band--feature.r4-band--plain .bio-link-label{color:var(--r4-on-band2)!important;text-shadow:none}
#profile[data-bio-preset="daybook"] a.btn-custom.r4-band .r4-band-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
/* A strong warm backing keeps white labels readable on any replacement photo, bright or dark. */
#profile[data-bio-preset="daybook"] a.btn-custom.r4-band:not(.r4-band--plain)::after{content:"";position:absolute;inset:0;background:rgba(28,22,18,.65);transition:background .15s}
#profile[data-bio-preset="daybook"] a.btn-custom.r4-band:not(.r4-band--plain):hover::after,#profile[data-bio-preset="daybook"] a.btn-custom.r4-band:not(.r4-band--plain):focus-visible::after{background:rgba(28,22,18,.75)}
#profile[data-bio-preset="daybook"] a.btn-custom.r4-band .bio-link-label{position:relative;z-index:1;flex:0 1 auto;color:#fff!important;font-size:22px;font-weight:700;letter-spacing:-.01em;text-transform:lowercase;text-shadow:0 1px 2px rgba(0,0,0,.35)}
#profile[data-bio-preset="daybook"] a.btn-custom.r4-band:focus-visible{outline:3px solid #fff;outline-offset:-6px}
#profile[data-bio-preset="daybook"] a.btn-custom:not(.bio-link-featured):not(.r4-band){justify-content:center;min-height:50px;border-radius:4px;border:1px solid var(--r4-line);font-size:15px;font-weight:700;text-transform:lowercase;border-color:var(--r4-line)}
#profile[data-bio-preset="daybook"] a.btn-custom:not(.bio-link-featured):not(.r4-band) .bio-link-icon{display:none}
#profile[data-bio-preset="daybook"] a.btn-custom:not(.bio-link-featured):not(.r4-band) > .bio-link-label{flex:0 1 auto;text-align:center}
#profile[data-bio-preset="daybook"] a.btn-custom:not(.bio-link-featured):not(.r4-band):hover{border-color:var(--bio-text)}
#profile[data-bio-preset="daybook"] #content > .item + .item{margin-top:.5rem}

/* ---------------------------------------------------------------- Stillroom */
@media (min-width:640px){body.br-bio-preset.r4-plainbg:has(#profile[data-bio-preset="stillroom"]){background-image:linear-gradient(90deg,var(--r4-page) 0,var(--r4-page) calc(50% - 256px),transparent calc(50% - 256px),transparent calc(50% + 256px),var(--r4-page) calc(50% + 256px))!important}}
#profile[data-bio-preset="stillroom"]{padding-top:0}
#profile[data-bio-preset="stillroom"] .r4-edge{position:relative}
#profile[data-bio-preset="stillroom"] .r4-edge--plain{padding-top:112px}
#profile[data-bio-preset="stillroom"] .r4-object{position:relative;width:66%;height:340px;margin:0 calc(var(--bp-gutter) * -1) 0 auto;background:var(--r4-object)}
#profile[data-bio-preset="stillroom"] .r4-object-img{display:block;width:100%;height:100%;object-fit:cover}
#profile[data-bio-preset="stillroom"] .r4-edge-text{position:relative;width:86%;min-height:96px;margin-top:-92px;padding:18px 18px 0 0;background:var(--bio-bg)}
#profile[data-bio-preset="stillroom"] .r4-edge--plain .r4-edge-text{width:100%;margin-top:0;padding:0}
#profile[data-bio-preset="stillroom"] .r4-line{position:absolute;left:0;top:46px;width:30%;height:auto;fill:none;stroke:var(--r4-accent);stroke-width:1.5;overflow:visible}
#profile[data-bio-preset="stillroom"] .r4-edge--plain .r4-line{top:34px;width:46%}
#profile[data-bio-preset="stillroom"] .r4-line path{stroke-dasharray:1;stroke-dashoffset:0}
#profile[data-bio-preset="stillroom"] .r4-has-motion .r4-line path{animation:r4-draw 1.2s cubic-bezier(.3,.6,.2,1) .15s both}
@keyframes r4-draw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
#profile[data-bio-preset="stillroom"] .bp-name{font-size:clamp(30px,8.6vw,40px);line-height:1.02;font-weight:700;letter-spacing:-.02em;hyphens:auto}
#profile[data-bio-preset="stillroom"] .bp-name.bp-name--long{font-size:clamp(21px,5.6vw,26px)}
#profile[data-bio-preset="stillroom"] .bp-intro p{margin:10px 0 0;font-size:15px;opacity:.85}
#profile[data-bio-preset="stillroom"] #content > .item + .item{margin-top:0}
#profile[data-bio-preset="stillroom"] a.btn-custom:not(.bio-link-featured){border-radius:0!important;font-size:16px}
#profile[data-bio-preset="stillroom"] a.btn-custom.r4-main{min-height:56px;font-weight:700}
#profile[data-bio-preset="stillroom"] .item:has(> a.btn-custom.r4-main){margin-bottom:18px}
#profile[data-bio-preset="stillroom"] a.btn-custom:not(.bio-link-featured):not(.r4-main){min-height:56px;padding:12px 2px;background:transparent!important;border:0!important;border-top:1px solid var(--r4-line)!important;border-bottom:1px solid var(--r4-line)!important;color:var(--bio-text)!important;font-weight:400}
#profile[data-bio-preset="stillroom"] .item:has(> a.btn-custom:not(.r4-main)) + .item:has(> a.btn-custom:not(.r4-main)){margin-top:-1px}
#profile[data-bio-preset="stillroom"] a.btn-custom:not(.bio-link-featured):not(.r4-main) span{color:var(--bio-text)!important}
#profile[data-bio-preset="stillroom"] a.btn-custom:not(.bio-link-featured):not(.r4-main) i.bio-link-icon{color:var(--r4-accent)!important}
#profile[data-bio-preset="stillroom"] a.btn-custom:not(.bio-link-featured):not(.r4-main):hover .bio-link-label{text-decoration:underline;text-underline-offset:4px}
#profile[data-bio-preset="stillroom"] #social{gap:6px}
#profile[data-bio-preset="stillroom"] #social a{width:44px;height:44px;border:1px solid var(--r4-line)}

/* ---------------------------------------------------------------- Open Studio */
@media (min-width:640px){body.br-bio-preset.r4-plainbg:has(#profile[data-bio-preset="open-studio"]){background-image:linear-gradient(var(--r4-page) 1px,transparent 1px)!important;background-size:100% 48px!important}}
#profile[data-bio-preset="open-studio"] .r4-channel{display:flex;align-items:center;gap:12px}
#profile[data-bio-preset="open-studio"] .r4-mark{flex:none;display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:var(--bio-text);color:var(--bio-bg);font-size:15px}
#profile[data-bio-preset="open-studio"] .bp-name{font-size:20px;line-height:1.15;font-weight:700;letter-spacing:0}
#profile[data-bio-preset="open-studio"] .bp-intro p{margin:14px 0 0;font-size:22px;line-height:1.3;font-weight:700;letter-spacing:-.01em;opacity:1}
#profile[data-bio-preset="open-studio"] .r4-hd #social{justify-content:flex-start}
#profile[data-bio-preset="open-studio"] .r4-studio{margin:18px calc(var(--bp-gutter) * -1) 0}
#profile[data-bio-preset="open-studio"] .r4-studio-img{display:block;width:100%;aspect-ratio:3/2;object-fit:cover}
#profile[data-bio-preset="open-studio"] .r4-studio figcaption{padding:6px var(--bp-gutter) 0;font-size:12px;opacity:.75}
#profile[data-bio-preset="open-studio"] #content{display:flex;flex-wrap:wrap;column-gap:10px}
#profile[data-bio-preset="open-studio"] #content > .item{flex:1 1 100%;min-width:0}
#profile[data-bio-preset="open-studio"] #content > .item + .item{margin-top:10px}
#profile[data-bio-preset="open-studio"] #content > .item.r4-tile{flex:1 1 calc(50% - 5px)}
#profile[data-bio-preset="open-studio"] a.btn-custom:not(.bio-link-featured){border-radius:10px;border:1px solid var(--r4-line);font-size:15px}
#profile[data-bio-preset="open-studio"] a.btn-custom:not(.bio-link-featured) i.bio-link-icon{color:var(--r4-accent)!important}
#profile[data-bio-preset="open-studio"] a.btn-custom:not(.bio-link-featured):not(.r4-main):hover{border-color:var(--r4-accent)}
#profile[data-bio-preset="open-studio"] a.btn-custom.r4-main{min-height:60px;color:var(--bio-bg)!important;background:var(--bio-text)!important;border-color:var(--bio-text)!important;font-size:17px}
#profile[data-bio-preset="open-studio"] a.btn-custom.r4-main span,#profile[data-bio-preset="open-studio"] a.btn-custom.r4-main i.bio-link-icon{color:var(--bio-bg)!important}
#profile[data-bio-preset="open-studio"] a.btn-custom.r4-row--thumb{padding:8px 14px 8px 8px}
#profile[data-bio-preset="open-studio"] .r4-thumb{flex:none;width:56px;height:56px;border-radius:8px;overflow:hidden;background:var(--r4-tile)}
#profile[data-bio-preset="open-studio"] .r4-thumb-img{display:block;width:100%;height:100%;object-fit:cover}
#profile[data-bio-preset="open-studio"] a.btn-custom.r4-row--thumb i.bio-link-icon{display:flex!important;align-items:center;justify-content:center;width:56px;height:56px;border-radius:8px;background:var(--r4-tile);font-size:20px!important}
#profile[data-bio-preset="open-studio"] a.btn-custom.r4-row--thumb img.bio-link-icon{width:56px;height:56px;max-width:56px;border-radius:8px}
#profile[data-bio-preset="open-studio"] .r4-tile a.btn-custom{flex-direction:column;align-items:flex-start;justify-content:center;gap:6px;min-height:76px}
#profile[data-bio-preset="open-studio"] .r4-tile a.btn-custom > .bio-link-label{flex:0 0 auto}
#profile[data-bio-preset="open-studio"] #social{justify-content:center;gap:6px}
#profile[data-bio-preset="open-studio"] #social a{width:44px;height:44px;border-radius:50%;background:var(--bio-button)}

/* ---------------------------------------------------------------- Spectrum Desk */
@media (min-width:640px){body.br-bio-preset.r4-plainbg:has(#profile[data-bio-preset="spectrum-desk"]){background-image:linear-gradient(var(--r4-page),var(--r4-page))!important}#profile[data-bio-preset="spectrum-desk"]{background:var(--bio-bg)}}
#profile[data-bio-preset="spectrum-desk"]{padding-top:0}
#profile[data-bio-preset="spectrum-desk"] .r4-desk{margin:0 calc(var(--bp-gutter) * -1)}
#profile[data-bio-preset="spectrum-desk"] .r4-desk-photo{height:250px;overflow:hidden;background:var(--r4-photo)}
#profile[data-bio-preset="spectrum-desk"] .r4-desk-img{display:block;width:100%;height:100%;object-fit:cover}
#profile[data-bio-preset="spectrum-desk"] .r4-panel{position:relative;margin:-64px var(--bp-gutter) 0;padding:20px 18px 18px;background:var(--r4-panel);box-shadow:0 1px 2px rgba(26,31,54,.08),0 10px 26px rgba(26,31,54,.08)}
#profile[data-bio-preset="spectrum-desk"] .r4-desk--plain .r4-panel{margin-top:24px}
#profile[data-bio-preset="spectrum-desk"] .r4-spectrum{position:absolute;left:0;right:0;top:0;height:4px;background:linear-gradient(90deg,#1D3FBF 0 25%,#12A39A 25% 50%,#E8B33B 50% 75%,#D9534F 75% 100%)}
#profile[data-bio-preset="spectrum-desk"] .bp-name,#profile[data-bio-preset="spectrum-desk"] .bp-name span{color:var(--r4-name)!important}
#profile[data-bio-preset="spectrum-desk"] .bp-name{font-size:clamp(30px,8.4vw,38px);line-height:1.05;font-weight:700;letter-spacing:-.025em}
#profile[data-bio-preset="spectrum-desk"] .bp-name.bp-name--long{font-size:clamp(22px,6vw,27px)}
#profile[data-bio-preset="spectrum-desk"] .bp-intro p{margin:8px 0 0;font-size:15px}
#profile[data-bio-preset="spectrum-desk"] #content > .item + .item{margin-top:8px}
#profile[data-bio-preset="spectrum-desk"] a.btn-custom:not(.bio-link-featured){border-radius:0!important;border:0;border-left:3px solid var(--r4-edge);font-size:15px}
#profile[data-bio-preset="spectrum-desk"] a.btn-custom:not(.bio-link-featured) i.bio-link-icon{color:var(--r4-edge)!important}
#profile[data-bio-preset="spectrum-desk"] a.btn-custom:not(.bio-link-featured):not(.r4-main):hover{background:var(--r4-hover)!important}
#profile[data-bio-preset="spectrum-desk"] a.btn-custom.r4-main{justify-content:space-between;min-height:56px;color:var(--r4-main-text)!important;background:var(--r4-main)!important;border-left-color:var(--r4-main);font-size:16px}
#profile[data-bio-preset="spectrum-desk"] a.btn-custom.r4-main:hover{background:var(--r4-main-hover)!important}
#profile[data-bio-preset="spectrum-desk"] a.btn-custom.r4-main span,#profile[data-bio-preset="spectrum-desk"] a.btn-custom.r4-main i.bio-link-icon{color:var(--r4-main-text)!important}
#profile[data-bio-preset="spectrum-desk"] a.btn-custom.r4-main i.bio-link-icon{order:2}
#profile[data-bio-preset="spectrum-desk"] .item:has(> a.btn-custom.r4-main){margin-bottom:8px}
#profile[data-bio-preset="spectrum-desk"] #social{gap:6px}

/* ---------------------------------------------------------------- Tangerine Edit */
@media (min-width:640px){body.br-bio-preset.r4-plainbg:has(#profile[data-bio-preset="tangerine-edit"]){background-image:linear-gradient(180deg,var(--r4-page) 0,transparent 460px)!important;background-repeat:no-repeat!important}}
#profile[data-bio-preset="tangerine-edit"]{padding-top:0}
#profile[data-bio-preset="tangerine-edit"] .r4-hd{text-align:center}
#profile[data-bio-preset="tangerine-edit"] .r4-mast{display:flex;align-items:flex-start;height:150px;margin:0 calc(var(--bp-gutter) * -1);padding-top:16px;overflow:hidden;background:var(--r4-accent)}
#profile[data-bio-preset="tangerine-edit"] .r4-mast span{margin-left:-40px;white-space:nowrap;font-size:34px;line-height:1;font-weight:700;letter-spacing:.02em;color:var(--r4-mast-text)}
#profile[data-bio-preset="tangerine-edit"] .r4-mast i{font-style:normal;padding:0 12px;color:var(--r4-mast-sep)}
#profile[data-bio-preset="tangerine-edit"] .r4-motion-toggle{right:0;top:60px;background:var(--bio-bg);color:var(--bio-text)}
#profile[data-bio-preset="tangerine-edit"] .r4-stage{position:relative;width:62%;max-width:270px;aspect-ratio:1/1;margin:-84px auto 0}
#profile[data-bio-preset="tangerine-edit"] .r4-stage--mono{width:40%;max-width:170px;margin-top:-70px}
#profile[data-bio-preset="tangerine-edit"] .r4-circle{position:absolute;inset:10px;border-radius:50%;overflow:hidden;border:5px solid var(--bio-bg);background:var(--r4-circle)}
#profile[data-bio-preset="tangerine-edit"] .r4-circle-img{display:block;width:100%;height:100%;object-fit:cover}
#profile[data-bio-preset="tangerine-edit"] .r4-circle--mono{display:flex;align-items:center;justify-content:center;background:var(--bio-text)}
#profile[data-bio-preset="tangerine-edit"] .r4-circle--mono span{color:var(--bio-bg);font-size:clamp(34px,10vw,56px);font-weight:700}
#profile[data-bio-preset="tangerine-edit"] .r4-ring{position:absolute;inset:0;width:100%;height:100%;fill:none;stroke:var(--bio-text);stroke-width:1.4;stroke-dasharray:1.2 2.2;opacity:.5}
#profile[data-bio-preset="tangerine-edit"] .r4-has-motion .r4-ring{animation:r4-turn 48s linear infinite}
@keyframes r4-turn{to{transform:rotate(360deg)}}
#profile[data-bio-preset="tangerine-edit"] .bp-name{margin-top:14px;font-size:clamp(36px,10.5vw,48px);line-height:1;font-weight:700}
#profile[data-bio-preset="tangerine-edit"] .bp-name.bp-name--long{font-size:clamp(25px,7vw,31px);line-height:1.1}
#profile[data-bio-preset="tangerine-edit"] .bp-intro p{margin:8px auto 0;max-width:34ch;font-size:16px;opacity:.88}
#profile[data-bio-preset="tangerine-edit"] #social{justify-content:center;gap:6px}
#profile[data-bio-preset="tangerine-edit"] #social a{width:44px;height:44px;border-radius:50%;background:var(--r4-social)}
#profile[data-bio-preset="tangerine-edit"] #content > .item + .item{margin-top:10px}
#profile[data-bio-preset="tangerine-edit"] a.btn-custom:not(.bio-link-featured){border-radius:4px;font-size:17px}
#profile[data-bio-preset="tangerine-edit"] a.btn-custom:not(.bio-link-featured) i.bio-link-icon{color:var(--r4-icon)!important}
#profile[data-bio-preset="tangerine-edit"] a.btn-custom:not(.bio-link-featured):not(.r4-main):hover{background:var(--r4-row-hover)!important}
#profile[data-bio-preset="tangerine-edit"] a.btn-custom.r4-main{min-height:58px;background:var(--r4-main)!important;border-color:var(--r4-main)!important;color:var(--r4-main-text)!important}
#profile[data-bio-preset="tangerine-edit"] a.btn-custom.r4-main span{color:var(--r4-main-text)!important}
#profile[data-bio-preset="tangerine-edit"] a.btn-custom.r4-main i.bio-link-icon{color:var(--r4-main-text)!important;opacity:.85}
#profile[data-bio-preset="tangerine-edit"] a.btn-custom.r4-main:hover{background:var(--r4-main-hover)!important}

/* ---------------------------------------------------------------- optional role line (absent when empty) */
#profile:is([data-bio-preset="clay-practice"],[data-bio-preset="daybook"],[data-bio-preset="stillroom"],[data-bio-preset="open-studio"],[data-bio-preset="spectrum-desk"],[data-bio-preset="tangerine-edit"]) .r4-role{margin:0;overflow-wrap:anywhere}
#profile[data-bio-preset="clay-practice"] .r4-role{font-size:14px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--r4-role)!important}
#profile[data-bio-preset="clay-practice"] .r4-role + .bp-name{margin-top:6px}
#profile[data-bio-preset="daybook"] .r4-role{margin-top:10px;font-size:12px;font-weight:700;letter-spacing:.2em;text-transform:uppercase;opacity:.82}
#profile[data-bio-preset="stillroom"] .r4-role{font-size:12px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--r4-role)!important}
#profile[data-bio-preset="stillroom"] .r4-role + .bp-name{margin-top:8px}
#profile[data-bio-preset="open-studio"] .r4-channel-text{min-width:0}
#profile[data-bio-preset="open-studio"] .r4-role{font-size:14px;line-height:1.3;opacity:.78}
#profile[data-bio-preset="spectrum-desk"] .r4-role{margin-top:6px;font-size:13px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;opacity:.8}
#profile[data-bio-preset="tangerine-edit"] .r4-role{margin-top:8px;font-size:15px;font-weight:700;color:var(--r4-role)!important}
