body,body[data-persona]{padding:8px;background:var(--surface,#fff)}
body .canvas,body[data-persona] .canvas{padding:14px;min-height:calc(100svh - 16px);border-radius:18px;background:transparent;position:relative;isolation:isolate}
.canvas:before{content:'';position:absolute;inset:0;z-index:-1;border-radius:inherit;background:radial-gradient(ellipse at 15% 20%,#a9a3ff 0,transparent 52%),radial-gradient(ellipse at 85% 80%,#7970e7 0,transparent 55%),#6c6cdb;animation:ambient-shift 12s ease-in-out infinite alternate;pointer-events:none}
body[data-persona=designer] .canvas:before{background:radial-gradient(ellipse at 15% 70%,#dfff85,transparent 55%),radial-gradient(ellipse at 80% 15%,#72a7ff,transparent 50%),#244ce1}
body[data-persona=developer] .canvas:before{background:radial-gradient(ellipse at 20% 40%,#225367,transparent 60%),radial-gradient(ellipse at 90% 70%,#153ba1,transparent 50%),#080f19}
body .landing,body[data-persona] .landing{max-width:none;min-height:calc(100svh - 44px);box-shadow:none;border-radius:18px}
body:has(.landing[data-section]:not([data-section=landing])){padding:0}body:has(.landing[data-section]:not([data-section=landing])) .canvas{padding:0;min-height:100svh}body:has(.landing[data-section]:not([data-section=landing])) .canvas:before{display:none;animation:none}body:has(.landing[data-section]:not([data-section=landing])) .landing{border:0;border-radius:0;min-height:100svh}
.hero{margin-top:28px}.view-stage:has(.hero:not([hidden])){padding-bottom:35px}.header-active-pill.unselected{opacity:0!important}.portfolio-header .studio-mark:not(.is-current) .signature-logo{filter:none}body[data-persona=developer] .portfolio-header .studio-mark:not(.is-current) .signature-logo{filter:brightness(0) invert(1)}
.profile-trigger-copy{flex-direction:column-reverse!important}.profile-trigger .current-role{font-size:14px;font-weight:600;color:var(--ink)}.profile-trigger .switch-label{font-size:11px;font-weight:400;color:#827a8e}.profile-trigger{border-radius:16px}.profile-options{width:320px;transform-origin:top right;animation:perspective-open .36s cubic-bezier(.22,1,.36,1)}.profile-option{min-height:75px}.profile-option:hover{transform:translateX(2px)}
.appearance-control{position:absolute;right:265px;top:35px;z-index:15}.accent-trigger{width:38px;height:38px;border:1px solid #9186ad44;border-radius:50%;background:var(--surface,#fff);display:grid;place-items:center;cursor:pointer}.accent-trigger>span{width:21px;height:21px;border-radius:50%;background:var(--accent,#6263e7)}.accent-hint{position:absolute;right:5px;top:40px;width:142px;text-align:left;pointer-events:none;color:var(--ink);font:italic 13px Georgia,serif}.accent-hint svg{display:block;width:65px;height:48px;transform:rotate(-55deg);margin-left:77px}.accent-hint span{display:block;transform:rotate(-5deg)}.appearance-control.used .accent-hint,body:has(.landing[data-section]:not([data-section=landing])) .accent-hint{display:none}.accent-panel{position:absolute;right:0;top:52px;width:285px;padding:24px;background:#242329;color:#f5f3fa;border:1px solid #ffffff22;border-radius:20px;box-shadow:0 20px 50px #0003}.accent-panel[hidden]{display:none}.accent-panel h2{font-size:21px;margin:0 0 9px;letter-spacing:-.035em}.accent-panel p{font-size:13px;line-height:1.5;color:#aaa5b5;margin:0 0 22px}.accent-swatches{display:flex;justify-content:space-between;gap:10px}.accent-swatches button{width:32px;height:32px;border:2px solid transparent;border-radius:50%;background:var(--swatch);cursor:pointer}.accent-swatches button[aria-pressed=true]{outline:2px solid white;outline-offset:3px}.custom-accent{display:flex;align-items:center;justify-content:space-between;margin:25px 0;font-size:13px;color:#d9d4e1}.custom-accent input{width:42px;height:32px;padding:0;border:0;background:none;cursor:pointer}.accent-reset{width:100%;padding:12px;border:0;border-radius:10px;background:#444149;color:white;font-size:13px}.accent-trigger:focus-visible,.accent-panel button:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
body.accent-custom{--accent:var(--chosen-accent)!important}.accent-custom .header-active-pill,.accent-custom .header-active-pill.at-logo,.accent-custom .hello,.accent-custom .contact-symbol,.accent-custom .persona-action{background:var(--chosen-accent)!important;color:var(--accent-ink)!important}.accent-custom .portfolio-header .menu-item.active{color:var(--accent-ink)!important}.accent-custom .hero .title,.accent-custom .persona-heading h2 em,.accent-custom .content-view h2 em,.accent-custom .persona-label{color:var(--chosen-accent)!important}.accent-custom .studio-mark.is-current .signature-logo{filter:var(--signature-filter)!important}
@keyframes perspective-open{from{opacity:0;transform:translateY(-9px) scale(.95)}to{opacity:1;transform:none}}@keyframes ambient-shift{from{filter:hue-rotate(-8deg)}to{filter:hue-rotate(12deg)}}
@media(max-width:1250px){.portfolio-header{min-height:110px;transition:padding-bottom .4s}.portfolio-header.menu-open{padding-bottom:88px}.navigation-reveal,.portfolio-header:before{top:94px;left:20px;right:20px;height:54px}.portfolio-header .menu{height:54px}.portfolio-header .menu-item{font-size:14px;padding:0 12px}.appearance-control{right:240px;top:35px}.profile-trigger-copy{display:flex!important}.profile-trigger .profile-badge{display:none}}
@media(max-width:700px){body,body[data-persona]{padding:4px}body .canvas,body[data-persona] .canvas{padding:7px}.portfolio-header{min-height:150px;padding-bottom:60px}.portfolio-header.menu-open{padding-bottom:120px}.appearance-control{left:24px;right:auto;top:90px}.accent-hint{left:43px;top:0;width:140px}.accent-hint svg{display:none}.accent-hint span{padding-top:10px}.accent-panel{left:0;right:auto;width:min(285px,calc(100vw - 70px))}.navigation-reveal,.portfolio-header:before{top:145px}.profile-trigger{padding:8px}.profile-trigger .current-role{font-size:11px;max-width:112px}.profile-trigger .switch-label{font-size:10px}.profile-trigger .profile-chevron{display:none}.profile-options{max-width:calc(100vw - 45px)}.portfolio-header .menu-item{padding:0 6px;font-size:12px}.hero{margin-top:15px}.design-board-card>img{height:180px}}
.design-board-card>img{width:100%;height:160px;object-fit:cover;border-radius:14px;margin-bottom:20px}
@media(prefers-reduced-motion:reduce){.canvas:before{animation:none}.profile-options{animation:none}.profile-option{transition:none}}

/* 2026 interaction pass: profile is the only auxiliary header control. */
.header-active-pill{transition:transform .6s cubic-bezier(.22,1,.36,1),width .6s cubic-bezier(.22,1,.36,1),height .6s cubic-bezier(.22,1,.36,1),opacity .24s ease,background .2s ease}
.header-active-pill.settled{opacity:0!important;transform-origin:center;filter:blur(2px)}
.portfolio-header .menu-item.active{color:var(--ink)}
body[data-persona=developer] .portfolio-header .menu-item.active{color:#dfe9f6}
.profile-switcher{perspective:900px}
.profile-trigger{position:relative;overflow:hidden;border-color:#dedbe8;background:color-mix(in srgb,var(--surface,#fff) 88%,transparent);backdrop-filter:blur(16px);box-shadow:0 8px 28px #34295d0d;transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease}
.profile-trigger:hover{transform:translateY(-2px);box-shadow:0 12px 30px #34295d16}
.profile-trigger:before{content:'';position:absolute;inset:0;background:linear-gradient(120deg,transparent 15%,#ffffff70 45%,transparent 70%);transform:translateX(-130%);transition:transform .65s ease;pointer-events:none}.profile-trigger:hover:before{transform:translateX(130%)}
.profile-options{border:1px solid #ffffff24;background:linear-gradient(160deg,#222126,#151419);box-shadow:0 24px 70px #15111f45;backdrop-filter:blur(24px);overflow:hidden}
.profile-option{position:relative;overflow:hidden}.profile-option:before{content:'';position:absolute;inset:7px;border-radius:12px;background:linear-gradient(100deg,#ffffff0c,transparent);opacity:0;transform:scale(.96);transition:.25s ease}.profile-option:hover:before,.profile-option[aria-checked=true]:before{opacity:1;transform:scale(1)}.profile-option>*{position:relative;z-index:1}
.profile-badge[data-profile=default]{background:linear-gradient(135deg,#6263e7,#9b7bea)}.profile-badge[data-profile=developer]{background:linear-gradient(135deg,#087dff,#63dded)}.profile-badge[data-profile=designer]{background:linear-gradient(135deg,#244ce1,#9a6cff)}
@media(max-width:700px){
 body,body[data-persona]{overflow-x:hidden}
 body .canvas,body[data-persona] .canvas{width:100%;max-width:100%}
 .portfolio-header{min-height:132px;padding:18px 14px 54px;gap:8px}
 .portfolio-header .studio-mark{width:104px;flex-basis:104px}
 .portfolio-header .profile-switcher{margin-left:auto;max-width:calc(100vw - 145px)}
 .profile-trigger{max-width:100%;padding:7px 9px}.profile-trigger-copy{min-width:0}.profile-trigger .current-role{max-width:105px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-trigger .switch-label{display:none}.profile-trigger .profile-chevron{display:block!important;flex:0 0 auto}
 .profile-options{position:fixed;left:12px;right:12px;top:76px;width:auto!important;max-width:none!important}
 .navigation-toggle{top:76px;width:48px;height:48px}
 .navigation-reveal,.portfolio-header:before{top:132px;left:10px;right:10px;height:auto;min-height:54px;border-radius:20px}
 .portfolio-header.menu-open{padding-bottom:132px}
 .portfolio-header .menu{height:auto;min-height:54px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:6px}
 .portfolio-header .menu-item{width:100%;height:38px;padding:0 8px;font-size:12px;white-space:nowrap}
 .content-view,.hero{width:min(92%,680px)}
 .persona-page{width:92%!important;max-width:100%!important}
 .developer-page .persona-contact-layout,.designer-page .persona-contact-layout,.community-board,.community-values,.contribution-grid{grid-template-columns:1fr!important}
 .developer-page .content-card{grid-template-columns:1fr!important}
 .projects-embedded iframe{min-height:72svh}
}
@media(max-width:420px){.portfolio-header .studio-mark{width:92px;flex-basis:92px}.portfolio-header .profile-switcher{max-width:calc(100vw - 124px)}.profile-trigger .current-role{max-width:92px}.content-view h2{font-size:clamp(34px,11vw,42px)}.hero h1,.hero .title{font-size:clamp(46px,16vw,65px)!important}}

/* Pass 6 — dropdown and each profile choice align to the trigger's footprint. */
.profile-switcher{--profile-control-width:222px}
.profile-trigger{width:var(--profile-control-width);max-width:100%}
.profile-options{width:var(--profile-control-width)!important;padding:6px}
.profile-option{width:100%;min-height:58px;padding:8px 7px;gap:8px}
.profile-option .profile-badge{width:34px;height:34px}
.profile-option .option-copy strong{font-size:12px}.profile-option .option-copy small{font-size:10px;line-height:1.25}
@media(max-width:700px){.profile-switcher{--profile-control-width:min(210px,48vw)}.profile-options{left:auto!important;right:0!important;top:calc(100% + 10px)!important;width:var(--profile-control-width)!important}.profile-option{min-height:56px}}

/* Pass 9 — deliberate responsive reflow for phones/tablets. Desktop geometry is untouched. */
@media (max-width:700px){
  body,body[data-persona]{padding:0!important;overflow-x:hidden}
  body .canvas,body[data-persona] .canvas{padding:6px!important;min-height:100svh}
  .landing{border-radius:18px!important;min-height:calc(100svh - 12px)!important}
  .portfolio-header{min-height:178px!important;padding:18px 14px 62px!important;align-items:flex-start!important;gap:12px!important}
  .portfolio-header.menu-open{padding-bottom:132px!important}
  .portfolio-header .studio-mark{width:104px!important;height:52px!important;flex:0 0 104px!important;justify-content:flex-start!important}
  .portfolio-header .profile-switcher{--profile-control-width:min(220px,calc(100vw - 154px));max-width:none!important;margin-left:auto!important}
  .profile-trigger{min-height:52px!important;width:var(--profile-control-width)!important;padding:7px 10px!important;border-radius:16px!important}
  .profile-trigger .profile-badge{display:grid!important;width:34px!important;height:34px!important}
  .profile-trigger-copy{display:flex!important;min-width:0!important}
  .profile-trigger .current-role{font-size:12px!important;line-height:1.1!important;max-width:none!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
  .profile-trigger .switch-label{display:block!important;font-size:9px!important;line-height:1.1!important}
  .profile-trigger .profile-chevron{display:block!important}
  .profile-options{position:absolute!important;left:auto!important;right:0!important;top:calc(100% + 8px)!important;width:var(--profile-control-width)!important;max-width:none!important}
  .navigation-toggle{top:82px!important;width:46px!important;height:46px!important}
  .navigation-reveal,.portfolio-header:before{top:138px!important;left:14px!important;right:14px!important;min-height:48px!important;border-radius:18px!important}
  .portfolio-header .menu{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:2px!important;min-height:48px!important;padding:5px!important}
  .portfolio-header .menu-item{height:38px!important;padding:0 3px!important;font-size:10px!important;letter-spacing:-.02em!important}
  .profile-coach{width:200px;z-index:7}
  .view-stage{min-width:0!important}
  .hero,body[data-persona] .hero{display:grid!important;grid-template-columns:1fr!important;width:min(88%,360px)!important;gap:14px!important;margin:20px auto 52px!important;text-align:center!important}
  .headline-left,body[data-persona] .headline-left{order:1!important;width:100%!important;padding:0!important;text-align:center!important}
  .portrait,body[data-persona] .portrait{order:2!important;width:min(78vw,280px)!important;height:clamp(280px,86vw,380px)!important;margin:4px auto 22px!important}
  .headline-right,body[data-persona] .headline-right{order:3!important;width:100%!important;padding:0!important;text-align:center!important}
  .name{font-size:clamp(19px,5.8vw,24px)!important;white-space:normal!important}
  .hero h1,.hero .title,body[data-persona] .hero h1,body[data-persona] .hero .title{font-size:clamp(48px,15vw,68px)!important;line-height:.96!important;overflow-wrap:anywhere}
  .description{max-width:290px!important;margin:10px auto 0!important;font-size:14px!important;line-height:1.45!important;white-space:normal!important}
  .hello{width:62px!important;height:62px!important;left:-14px!important;bottom:-18px!important;font-size:23px!important}
  .content-view,.persona-page{width:min(90%,560px)!important;margin-left:auto!important;margin-right:auto!important}
}
@media (max-width:430px){
  .portfolio-header{padding-left:10px!important;padding-right:10px!important}
  .portfolio-header .studio-mark{width:88px!important;flex-basis:88px!important}
  .portfolio-header .profile-switcher{--profile-control-width:min(210px,calc(100vw - 122px))}
  .profile-trigger .current-role{font-size:11px!important}
  .profile-trigger .switch-label{font-size:8px!important}
  .portfolio-header .menu-item{font-size:9px!important;padding:0 2px!important}
  .hero,body[data-persona] .hero{width:90%!important}
  .portrait,body[data-persona] .portrait{width:min(76vw,260px)!important;height:clamp(270px,92vw,350px)!important}
}

/* Compact header: a fixed central toggle reveals navigation into the right lane. */
@media (max-width:850px){
  .portfolio-header{display:grid!important;grid-template-columns:minmax(0,1fr) 48px minmax(0,1fr);align-items:start!important;gap:10px!important;min-height:178px!important;padding:18px 14px 62px!important;transition:min-height .4s ease}
  .portfolio-header.menu-open{min-height:264px!important;padding:18px 14px 62px!important}
  .portfolio-header .studio-mark{grid-column:1;min-width:0;max-width:100%;height:48px!important}
  .portfolio-header .profile-switcher{grid-column:3;justify-self:end;min-width:0;max-width:100%!important;margin:0!important;--profile-control-width:48px;transition:opacity .18s ease,visibility .18s ease}
  .portfolio-header .profile-trigger{display:grid;place-items:center;width:48px!important;height:48px!important;min-height:48px!important;padding:5px!important;border-radius:50%!important;gap:0;flex-shrink:0}
  .portfolio-header .profile-trigger .profile-badge{display:grid!important;width:36px!important;height:36px!important;flex-shrink:0}
  .portfolio-header .profile-trigger-copy,.portfolio-header .profile-trigger .profile-chevron{display:none!important}
  .portfolio-header .profile-options{width:min(260px,calc(100vw - 48px))!important;max-width:none!important;right:0!important}
  .portfolio-header.menu-open .profile-switcher{opacity:0;visibility:hidden;pointer-events:none}
  .portfolio-header.menu-open .profile-coach{opacity:0;visibility:hidden}
  .portfolio-header .navigation-toggle{left:50%;top:18px!important;width:48px!important;height:48px!important;transform:translateX(-50%)}
  .portfolio-header .navigation-reveal,.portfolio-header:before{left:calc(50% + 28px)!important;right:14px!important;top:18px!important;height:222px!important;min-height:0!important;border-radius:8px!important;clip-path:inset(0 100% 0 0 round 8px)}
  .portfolio-header.menu-open:before,.navigation-island.is-open .navigation-reveal{clip-path:inset(0 0 0 0 round 8px)}
  .portfolio-header .menu{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:repeat(5,40px);height:222px!important;min-height:0!important;gap:2px!important;padding:7px!important;align-items:center}
  .portfolio-header .menu-item{min-width:0;width:100%;height:40px!important;padding:0 4px!important;font-size:12px!important;letter-spacing:0!important;white-space:normal;line-height:1.2;text-align:center}
}
