/* Canonical portfolio controls, shared with the approved home navigation.
   Loaded last on every public page. Existing ID entry points are included so
   legacy case selectors cannot replace this skin; no !important is needed.
   Embedded prototypes and browser-native video controls use their own document. */
body.site-shared-chrome{
 --site-button-background:linear-gradient(190deg,#282b2bd9,#222525d9 65%);
 --site-button-line:#ffffff0f;
 --site-button-text:#c6c6c6;
 --site-button-shadow:none;
 --site-button-wash:radial-gradient(ellipse closest-side,#fcb41012,#fcb41008 40%,#fcb41000 82%);
 --site-button-rim:radial-gradient(ellipse closest-side,#fcb410d9,#fcb4108c 28%,#fcb41026 60%,#fcb41000 90%);
 --site-button-focus:#fcb410;
 --site-button-selected-line:#ffffff66;
 --site-button-ease:cubic-bezier(.22,1,.36,1);
 --site-button-fade:450ms;
 --site-button-padding:calc(.65rem + 1px) calc(1.125rem + 1px);
 --site-button-optical-offset:.1em;
}
body.site-shared-chrome.case-orange{
 --site-button-focus:#ff9a3d;
 --site-button-selected-line:#ff9a3d;
}
body.site-shared-chrome :is(.portfolio-action,.portfolio-nav a,.video-start-icon,#hub-start){
 box-sizing:border-box;position:var(--site-button-position,relative);isolation:isolate;
 overflow:hidden;display:inline-flex;flex-direction:row;justify-content:center;align-items:center;
 gap:.625rem;min-width:0;min-height:2.75rem;max-width:100%;margin:0;
 padding:var(--site-button-padding);border:0;
 border-radius:var(--site-button-radius,2.5rem);background:var(--site-button-background);
 color:var(--site-button-text);box-shadow:var(--site-button-shadow);
 font:400 .875rem/1.5 PortfolioGilroy,Gilroy,Arial,sans-serif;
 letter-spacing:normal;text-transform:none;text-align:center;text-decoration:none;
 white-space:normal;user-select:none;-webkit-user-select:none;
 -webkit-tap-highlight-color:transparent;touch-action:manipulation;cursor:pointer;
 backdrop-filter:none;-webkit-backdrop-filter:none;
 transition:color 250ms var(--site-button-ease),transform 160ms var(--site-button-ease);
}
/* Gilroy's visible letterforms sit above the middle of its line box.
   Redistribute the same total padding to lower labels without moving the
   capsule, its glow or the hit area. Icon-only controls keep geometric centering. */
body.site-shared-chrome :is(.portfolio-action,.portfolio-nav a,#hub-start):not(:is(.theme-icon,.case-access-close,.case-access-row button,.video-start-icon)){
 padding-block:calc(.65rem + 1px + var(--site-button-optical-offset)) calc(.65rem + 1px - var(--site-button-optical-offset));
}
/* A single 1px mask defines the visible border. There is no physical border
   or inset shadow beneath it. The neutral material and moving orange light
   are painted inside that same mask, including at the rounded corners. */
body.site-shared-chrome :is(.portfolio-action,.portfolio-nav a,.video-start-icon,#hub-start)::before{
 content:none;display:none;
}
body.site-shared-chrome :is(.portfolio-action,.portfolio-nav a,.video-start-icon,#hub-start)::after{
 content:"";display:block;position:absolute;inset:0;box-sizing:border-box;
 padding:1px;border:0;border-radius:inherit;pointer-events:none;
 background:var(--site-button-line);opacity:1;transition:none;
 mask:linear-gradient(#fff 0 0) content-box exclude,linear-gradient(#fff 0 0);
 -webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
 -webkit-mask-composite:xor;mask-composite:exclude;
}
body.site-shared-chrome :is(.portfolio-action,.portfolio-nav a,.video-start-icon,#hub-start).has-button-light::after{
 content:none;display:none;
}
body.site-shared-chrome :is(.portfolio-action,.portfolio-nav a,#hub-start)[hidden]{display:none}
body.site-shared-chrome :is(.portfolio-action,.portfolio-nav a,#hub-start):focus-visible{
 --site-button-highlight:1;outline:2px solid var(--site-button-focus);outline-offset:4px;color:#fff;
}
body.site-shared-chrome :is(.portfolio-action,.portfolio-nav a,#hub-start):not(:disabled):active{transform:scale(.97)}
body.site-shared-chrome :is(.portfolio-action,.portfolio-nav a,#hub-start):is([aria-pressed=true],[aria-selected=true],[aria-current=page]){
 --site-button-background:#333737;--site-button-line:var(--site-button-selected-line);
 --site-button-text:#f4f4f4;--site-button-highlight:1;
}
body.site-shared-chrome :is(.portfolio-action,#hub-start):is(:disabled,[aria-disabled=true]){opacity:.55;cursor:wait}
/* Icon controls share the home material while retaining a generous hit area. */
body.site-shared-chrome :is(.theme-icon,.case-access-close,.case-access-row button,.video-start-icon){
 --site-button-padding:0;--site-button-radius:50%;
}
body.site-shared-chrome :is(.theme-icon,.case-access-close,.case-access-row button){width:2.75rem;height:2.75rem;flex-shrink:0}
body.site-shared-chrome :is(.lab-intro-close,.case-access-close){--site-button-position:absolute}
body.site-shared-chrome .lab-replay{flex-basis:auto}
body.site-shared-chrome .video-start:focus-visible{outline:2px solid var(--site-button-focus);outline-offset:-5px}
body.site-shared-chrome .video-start:focus-visible .video-start-icon{--site-button-highlight:1}
body.site-shared-chrome .video-start:active .video-start-icon{transform:scale(.97)}
/* The rim remains visible at rest; only its light spot fades. The wash is
   clipped separately behind the label and does not draw another outline. */
body.site-shared-chrome .site-button-light{
 display:block;position:absolute;inset:0;overflow:hidden;pointer-events:none;
 box-sizing:border-box;margin:0;padding:0;border:0;border-radius:inherit;
 background:none;box-shadow:none;opacity:0;
 transition:opacity var(--site-button-fade) ease;
}
body.site-shared-chrome .site-button-light-wash{z-index:-1}
body.site-shared-chrome .has-button-light>.site-button-light-wash{opacity:var(--site-button-highlight,0)}
body.site-shared-chrome .site-button-light-rim{
 z-index:1;padding:1px;background:var(--site-button-line);opacity:1;transition:none;
 mask:linear-gradient(#fff 0 0) content-box exclude,linear-gradient(#fff 0 0);
 -webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
 -webkit-mask-composite:xor;mask-composite:exclude;
}
body.site-shared-chrome .site-button-light>.site-button-light-spot{
 display:block;position:absolute;left:50%;top:50%;width:125%;height:260%;
 margin:0;padding:0;border:0;border-radius:0;pointer-events:none;box-shadow:none;
 background:var(--site-button-wash);transform:translate(-65%,-58%);
 transition:transform 180ms var(--site-button-ease);
}
body.site-shared-chrome .site-button-light-rim>.site-button-light-spot{
 background:var(--site-button-rim);opacity:0;
 transition:transform 180ms var(--site-button-ease),opacity var(--site-button-fade) ease;
}
body.site-shared-chrome .has-button-light>.site-button-light-rim>.site-button-light-spot{opacity:var(--site-button-highlight,0)}
@media(hover:hover) and (pointer:fine){
 body.site-shared-chrome :is(.portfolio-action,.portfolio-nav a,#hub-start):not(:disabled):hover{
  --site-button-highlight:1;color:#fff;text-decoration:none;
 }
 body.site-shared-chrome .video-start:hover .video-start-icon{--site-button-highlight:1;color:#fff}
}
@media(max-width:599px){
 body.site-shared-chrome{--site-button-padding:calc(.65rem + 1px) calc(.875rem + 1px)}
}
@media(prefers-reduced-motion:reduce){
 body.site-shared-chrome :is(.portfolio-action,.portfolio-nav a,.video-start-icon,#hub-start),
 body.site-shared-chrome :is(.portfolio-action,.portfolio-nav a,#hub-start):not(:disabled):active,
 body.site-shared-chrome .video-start:active .video-start-icon{transition:none;transform:none}
 body.site-shared-chrome .site-button-light-wash{transition:opacity 120ms ease}
 body.site-shared-chrome .site-button-light>.site-button-light-spot{transform:translate(-65%,-58%)!important;transition:none}
 body.site-shared-chrome .site-button-light-rim>.site-button-light-spot{transition:opacity 120ms ease}
}
