/* Solar CMA, inner pages + contact + footer: premium layer (loaded last)
   Palette only. Long soft easing on transform/opacity. Degrades without JS and with reduced motion. */

:root{
  --arrow-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 12h17M14 5.5 20.5 12 14 18.5'/%3E%3C/svg%3E");
}

/* ============ Grain on dark / blue / apricot surfaces ============ */
.topics,.collab{position:relative;isolation:isolate}
.topics::before,.collab::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background-size:180px 180px;background-image:var(--grain-dark);opacity:.1}
/* contact + footer are .dark: grain comes from premium.css */

/* ============ Contact ============ */
.contact{overflow:clip}
.contact::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:radial-gradient(52% 64% at 90% 6%,rgba(83,103,255,.34),transparent 72%),radial-gradient(38% 46% at 2% 100%,rgba(189,239,217,.11),transparent 72%);
  transform-origin:80% 10%;animation:pg-glow 18s ease-in-out infinite alternate}
@keyframes pg-glow{from{transform:scale(1);opacity:.85}to{transform:scale(1.08);opacity:1}}
.contact-copy>p{border-left-color:rgba(255,255,255,.4)}

.brief-card{position:relative;isolation:isolate;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 0 0 1px rgba(255,255,255,.55),0 2px 3px rgba(0,0,0,.12),0 22px 40px -22px rgba(0,0,0,.55),0 70px 90px -60px rgba(83,103,255,.55);
  transition:transform .8s var(--ease-premium),box-shadow .9s var(--ease-premium)}
.brief-card::before{content:"";position:absolute;inset:-1.5px;z-index:-1;border-radius:inherit;padding:1.5px;pointer-events:none;
  background:linear-gradient(135deg,var(--blue),var(--mint) 55%,var(--apricot));
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;
  mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0);
  opacity:0;transition:opacity .9s var(--ease-premium)}
.brief-card:hover,.brief-card:focus-within{transform:translateY(-4px);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 0 0 1px rgba(255,255,255,.55),0 2px 3px rgba(0,0,0,.12),0 34px 54px -24px rgba(0,0,0,.6),0 90px 110px -60px rgba(83,103,255,.7)}
.brief-card:hover::before,.brief-card:focus-within::before{opacity:1}
.brief-meta{display:flex;justify-content:space-between;gap:16px;margin-bottom:26px;padding-bottom:14px;border-bottom:1px solid var(--border);color:var(--muted);font-size:.64rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
.brief-meta span:first-child:before{content:"";display:inline-block;width:6px;height:6px;margin-right:9px;border-radius:50%;background:var(--blue);vertical-align:.08em}

.brief-list{counter-reset:brief}
.brief-list li{position:relative;padding-right:34px;counter-increment:brief;border-top-color:var(--border);
  transition:opacity .6s var(--ease-premium),transform .8s var(--ease-premium)}
.brief-list li:before{content:"";position:absolute;top:-1px;right:0;left:0;height:1px;background:var(--blue);transform:scaleX(0);transform-origin:left;transition:transform .9s var(--ease-premium)}
.brief-list li:after{content:counter(brief,decimal-leading-zero);position:absolute;top:15px;right:0;font-family:var(--display);font-size:1.15rem;font-weight:600;line-height:1;color:var(--border);transition:color .5s var(--ease-premium),transform .8s var(--ease-premium)}
.brief-list li b{transition:color .5s var(--ease-premium)}
.brief-list li span{transition:transform .8s var(--ease-premium)}
.brief-list li:hover{border-top-color:var(--border);transform:none}
.brief-list li:hover:before{transform:scaleX(1)}
.brief-list li:hover:after{color:var(--blue);transform:translateX(-4px)}
.brief-list li:hover b{color:var(--blue)}
@media(hover:hover){
  .brief-list:hover li:not(:hover){opacity:.5}
  .brief-list li:hover span{transform:translateX(4px)}
}

/* ============ Footer ============ */
.site-footer{border-top-color:rgba(255,255,255,.18)}
.site-footer>.wrap{container-type:inline-size}
.footer-main{padding-top:clamp(64px,7vw,104px);padding-bottom:clamp(40px,5vw,72px)}
.footer-brand>p{color:#c2c5ca;font-size:.84rem;line-height:1.6}
.footer-label{display:flex;align-items:center;gap:12px;margin-bottom:20px}
.footer-label:before{content:"";width:18px;height:1px;background:var(--mint);transition:width .8s var(--ease-premium)}
.footer-col:hover .footer-label:before{width:34px}
.site-footer .footer-col a,.site-footer .footer-col span{position:relative;min-height:46px;border-bottom:1px solid rgba(255,255,255,.16);font-size:.86rem}
.site-footer .footer-col a{overflow:hidden;transition:color .5s var(--ease-premium)}
.site-footer .footer-col a:hover{padding-left:0;border-bottom-color:rgba(255,255,255,.16);color:var(--white)}
.site-footer .footer-col a:before{content:"";flex:0 0 auto;width:0;height:11px;margin-right:0;background:var(--mint);opacity:0;
  -webkit-mask:var(--arrow-mask) center/11px 11px no-repeat;mask:var(--arrow-mask) center/11px 11px no-repeat;
  transition:width .6s var(--ease-premium),margin-right .6s var(--ease-premium),opacity .5s var(--ease-premium)}
.site-footer .footer-col a:after{content:"";position:absolute;right:0;bottom:-1px;left:0;height:1px;background:var(--mint);transform:scaleX(0);transform-origin:right;transition:transform .7s var(--ease-premium)}
.site-footer .footer-col a:hover:before,.site-footer .footer-col a:focus-visible:before{width:11px;margin-right:10px;opacity:1}
.site-footer .footer-col a:hover:after,.site-footer .footer-col a:focus-visible:after{transform:scaleX(1);transform-origin:left}
@media(hover:hover){
  .footer-col:hover a:not(:hover){color:#9ea3aa}
}
.footer-mega{display:block;margin:0 0 clamp(14px,2vw,28px);padding-bottom:.05em;font-family:var(--display);font-size:clamp(4.5rem,23vw,21rem);font-size:28.2cqi;font-weight:600;letter-spacing:-.045em;line-height:.88;text-align:center;text-transform:uppercase;white-space:nowrap;user-select:none;
  background:linear-gradient(180deg,rgba(255,255,255,.92) 0%,rgba(255,255,255,.34) 48%,rgba(255,255,255,.04) 96%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent}
.footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-block:14px 22px;color:#9a9fa6;font-size:.74rem}
.to-top{display:inline-flex;align-items:center;gap:14px;min-height:44px;color:#e4e5e7;font-weight:600;transition:color .5s var(--ease-premium)}
.to-top svg{box-sizing:content-box;width:16px;height:16px;padding:10px;border:1px solid rgba(255,255,255,.3);border-radius:50%;transition:transform .8s var(--ease-premium),background-color .5s var(--ease-premium),border-color .5s var(--ease-premium),color .5s var(--ease-premium)}
.to-top:hover,.to-top:focus-visible{color:var(--white)}
.to-top:hover svg,.to-top:focus-visible svg{transform:translateY(-4px);background:var(--mint);border-color:var(--mint);color:var(--ink)}

/* ============ Talent directory ============ */
.page-hero{position:relative}
.page-hero .intro-copy p{max-width:420px}
.directory-head{display:flex;justify-content:space-between;gap:20px;margin-bottom:clamp(28px,3.4vw,48px);padding-bottom:16px;border-bottom:1px solid var(--ink);font-size:.72rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
.directory-head span:last-child{color:var(--muted)}
.directory .roster-grid{gap:clamp(20px,3vw,44px)}
@media(min-width:621px){
  .page-hero{padding-block:clamp(88px,10vw,168px) clamp(64px,7vw,112px)}
  .page-hero h1{font-size:clamp(4.6rem,9.2vw,9.6rem)}
}
@media(min-width:861px){
  .directory .roster-grid{align-items:start}
  .directory{padding-bottom:clamp(120px,12vw,200px)}
}

/* ============ Profile hero ============ */
.breadcrumb{position:relative;border-bottom:0;padding-bottom:6px}
.breadcrumb:after{content:"";position:absolute;right:0;bottom:0;left:0;height:1px;background:currentColor;transform-origin:left;transition:transform .7s var(--ease-premium)}
.breadcrumb:hover:after{transform:scaleX(.55)}
.profile-nick{font-family:var(--display);font-size:clamp(1.5rem,2.2vw,2rem);font-weight:600;letter-spacing:.02em;line-height:1;text-transform:uppercase;color:var(--blue)}
.profile-role{margin-top:12px;font-size:.84rem;letter-spacing:.02em}
.profile-summary{margin-top:30px;padding-top:26px;border-top:1px solid var(--border)}
.tags span{cursor:default;transition:background-color .5s var(--ease-premium),color .5s var(--ease-premium),transform .7s var(--ease-premium),border-color .5s}
.tags span:hover{transform:translateY(-2px)}

.profile-frame{position:relative;isolation:isolate}
.pf-shape{position:absolute;z-index:-1;right:calc(var(--gutter)*-.55);bottom:calc(var(--gutter)*-.55);width:64%;height:56%;border-radius:20px;background:var(--mint);transition:transform 1.1s var(--ease-premium)}
.profile-frame:hover .pf-shape{transform:translate(10px,10px)}
.profile-photo{position:relative;border-radius:18px;
  box-shadow:0 1px 2px rgba(17,19,23,.1),0 8px 16px -6px rgba(17,19,23,.16),0 30px 50px -24px rgba(17,19,23,.32),0 70px 90px -50px rgba(83,103,255,.38)}
.profile-photo:after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 0 1px rgba(255,255,255,.28);pointer-events:none}
.profile-photo img{transition:transform 1.8s var(--ease-premium)}
.profile-photo:hover img{transform:scale(1.035)}
.photo-tag{position:absolute;left:16px;bottom:16px;z-index:1;border-radius:999px;background:rgba(247,247,243,.86);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);padding:9px 15px;font-size:.74rem;font-weight:700;letter-spacing:.02em;line-height:1}

/* Entrance (pure CSS, backwards fill so hover transforms keep working afterwards) */
@keyframes pg-rise{from{opacity:0;transform:translateY(26px)}}
@keyframes pg-clip{from{clip-path:inset(0 0 100% 0 round 18px)}to{clip-path:inset(0 0 0 0 round 18px)}}
@keyframes pg-settle{from{transform:scale(1.16)}}
@keyframes pg-pop{from{opacity:0;transform:scale(.9) translate(-12px,-12px)}}
.profile-copy>*,.breadcrumb{animation:pg-rise 1s var(--ease-premium) backwards}
.breadcrumb{animation-delay:.05s}
.profile-copy>:nth-child(1){animation-delay:.12s}
.profile-copy>:nth-child(2){animation-delay:.2s}
.profile-copy>:nth-child(3){animation-delay:.28s}
.profile-copy>:nth-child(4){animation-delay:.34s}
.profile-copy>:nth-child(5){animation-delay:.4s}
.profile-copy>:nth-child(6){animation-delay:.46s}
.profile-copy>:nth-child(7){animation-delay:.52s}
.profile-photo{animation:pg-clip 1.3s var(--ease-premium) .15s backwards}
.profile-photo img{animation:pg-settle 2.6s var(--ease-premium) .15s backwards}
.pf-shape{animation:pg-pop 1.4s var(--ease-premium) .5s backwards}
.photo-tag{animation:pg-rise 1s var(--ease-premium) .9s backwards}

/* ============ Bio ============ */
.bio-copy{padding-top:6px}
.bio-copy .lead{font-size:clamp(1.3rem,2.1vw,1.85rem);line-height:1.38;letter-spacing:-.012em;font-weight:500}
.bio-copy p:not(.lead){max-width:62ch;color:#44474b}
.bio-copy p+p{margin-top:26px}
.bio-copy p{transition:opacity .7s var(--ease-premium),color .5s}
@media(hover:hover){
  .bio-copy:hover p:not(:hover){opacity:.45}
}
.bio .sticky-head h2,.approach .sticky-head h2{max-width:11ch}

/* ============ Topics (apricot) ============ */
@media(min-width:861px){
  .topic-grid{margin-top:clamp(56px,6vw,88px)}
}
.js .topic-grid.stagger>article{position:relative;padding-top:30px;
  transition:opacity .7s var(--ease-premium),transform .9s var(--ease-premium)}
.topic-grid article:before{content:"";position:absolute;z-index:1;top:0;right:0;left:0;height:2px;background:var(--ink);transform:scaleX(0);transform-origin:left;transition:transform 1s var(--ease-premium)}
.topic-grid article{position:relative;padding-top:30px}
.topic-grid article:after{content:"";position:absolute;top:0;right:0;left:0;height:1px;background:color-mix(in srgb,var(--ink) 38%,transparent)}
.topic-grid article:hover:before{transform:scaleX(1)}
.topic-grid:hover article:not(:hover){opacity:.45}
.js .topic-grid.stagger.is-visible:hover>article:not(:hover){opacity:.45;transition-delay:0s}
.js .topic-grid.stagger.is-visible>article:hover{transform:translateY(-8px);transition-delay:0s}
.topic-grid span{transition:transform .9s var(--ease-premium),color .5s var(--ease-premium)}
.topic-grid article:hover span{transform:translateX(8px);color:var(--blue)}
.topic-grid h3{transition:transform .9s var(--ease-premium)}
.topic-grid article:hover h3{transform:translateX(2px)}
@media(max-width:860px){
  .topic-grid article:before,.topic-grid article:after{display:none}
  .topic-grid article,.js .topic-grid.stagger>article{padding-top:28px}
}
@media(hover:none){
  .topic-grid article:hover:before{transform:scaleX(0)}
}

/* ============ Gallery ============ */
.gallery figure{position:relative;isolation:isolate;border-radius:16px}
.js .gallery-grid.stagger>figure{transition:opacity .8s var(--ease-premium),transform .9s var(--ease-premium),box-shadow .9s var(--ease-premium)}
.gallery figure:after{content:"";position:absolute;inset:0;z-index:2;border-radius:inherit;pointer-events:none;opacity:0;
  box-shadow:inset 0 0 0 1px rgba(189,239,217,.9),inset 0 0 80px -8px rgba(83,103,255,.38);transition:opacity .9s var(--ease-premium)}
.gallery figure:hover:after{opacity:1}
.gallery figure img{transition:transform 2s var(--ease-premium)}
.gallery figure:hover img{transform:scale(1.035)}
.gallery figure:hover{transform:translateY(-8px);box-shadow:0 2px 4px rgba(17,19,23,.06),0 40px 60px -34px rgba(17,19,23,.5)}
.js .gallery-grid.stagger.is-visible>figure:hover{transform:translateY(-8px);transition-delay:0s}
@media(hover:hover){
  .js .gallery-grid.stagger.is-visible:hover>figure:not(:hover){opacity:.55;transition-delay:0s}
}
.gallery figcaption{padding:18px 22px 22px;font-size:.84rem}

/* ============ Channels ============ */
.channels .row-list{border-top-color:var(--ink)}
.js .channels .row-list.stagger>.channel-link{transition:opacity .7s var(--ease-premium),transform .9s var(--ease-premium)}
.channel-link{position:relative;isolation:isolate;padding-block:clamp(24px,2.6vw,34px);border-bottom:1px solid var(--border)}
.channel-link:before{content:"";position:absolute;z-index:-1;inset:0 calc(var(--gutter)*-.5);border-radius:12px;background:var(--canvas);opacity:0;transform:scale(.985);transition:opacity .7s var(--ease-premium),transform .9s var(--ease-premium)}
.channel-link:after{content:"";position:absolute;right:0;bottom:-1px;left:0;height:1px;background:var(--ink);transform:scaleX(0);transform-origin:left;transition:transform 1s var(--ease-premium)}
.channel-link:hover:before,.channel-link:focus-visible:before{opacity:1;transform:none}
.channel-link:hover:after,.channel-link:focus-visible:after{transform:scaleX(1)}
.channel-link b{font-family:var(--display);font-size:clamp(1.7rem,2.6vw,2.4rem);font-weight:600;letter-spacing:-.02em;line-height:1;text-transform:uppercase;transition:transform .9s var(--ease-premium),color .5s var(--ease-premium)}
.channel-link:hover b,.channel-link:focus-visible b{transform:translateX(14px);color:var(--blue)}
.channel-link span{gap:14px;font-size:.78rem;font-weight:600;transition:opacity .6s var(--ease-premium),color .5s}
.channel-link svg{box-sizing:content-box;width:18px;height:18px;padding:11px;border:1px solid var(--border);border-radius:50%;
  transition:transform .9s var(--ease-premium),background-color .5s var(--ease-premium),border-color .5s var(--ease-premium),color .5s var(--ease-premium)}
.channel-link:hover svg,.channel-link:focus-visible svg{transform:translate(4px,-4px) rotate(0deg);background:var(--ink);border-color:var(--ink);color:var(--white)}
.channel-link:hover span{color:var(--ink)}
@media(hover:hover){
  .channels .row-list:hover .channel-link:not(:hover)>b,.channels .row-list:hover .channel-link:not(:hover)>span{opacity:.38}
  .channel-link>b{transition:transform .9s var(--ease-premium),color .5s var(--ease-premium),opacity .6s var(--ease-premium)}
}
@media(max-width:620px){
  .channel-link{flex-direction:row;align-items:center;gap:14px}
  .channel-link span{font-size:0;gap:0}
  .channel-link svg{font-size:1rem}
  .channel-link:before{inset-inline:-8px}
}

/* ============ Collab (blue) ============ */
.collab{overflow:clip}
.collab::after{content:"";position:absolute;z-index:-1;right:-14%;top:50%;width:min(78vw,860px);aspect-ratio:1;border-radius:50%;pointer-events:none;transform:translateY(-50%);
  background:repeating-radial-gradient(circle at center,transparent 0 69px,rgba(255,255,255,.2) 69px 70px);
  -webkit-mask-image:radial-gradient(circle,#000 18%,transparent 70%);mask-image:radial-gradient(circle,#000 18%,transparent 70%);
  animation:pg-orbit 40s linear infinite}
@keyframes pg-orbit{from{transform:translateY(-50%) rotate(0)}to{transform:translateY(-50%) rotate(360deg)}}
.collab h2{max-width:14ch}
.collab p{max-width:560px;font-size:1.06rem;line-height:1.66}
.collab-cta{margin-top:clamp(32px,4vw,48px)}
@media(min-width:861px){
  .collab h2{max-width:15ch}
}

/* ============ 404 ============ */
.error-page{position:relative;isolation:isolate;overflow:clip;min-height:min(78svh,820px);gap:0;align-content:center}
.error-page>.label{margin-bottom:26px}
.err-num{position:absolute;z-index:-1;right:var(--gutter);bottom:-.12em;font-family:var(--display);font-size:clamp(11rem,38vw,34rem);font-weight:600;letter-spacing:-.05em;line-height:.8;color:var(--mint);user-select:none;pointer-events:none}
.err-dot{position:absolute;z-index:-1;top:clamp(36px,8vw,110px);right:clamp(30px,13vw,240px);width:clamp(52px,7vw,112px);aspect-ratio:1;border-radius:50%;background:var(--apricot);animation:pg-float 9s ease-in-out infinite alternate}
@keyframes pg-float{from{transform:translateY(0)}to{transform:translateY(18px)}}
.error-page h1{line-height:.86}
.err-copy{max-width:420px;margin-top:34px;color:#40434a;font-size:1.05rem;line-height:1.6}
.err-actions{display:flex;flex-wrap:wrap;align-items:center;gap:20px 32px;margin-top:36px}
.error-page>*:not(.err-num):not(.err-dot){animation:pg-rise 1s var(--ease-premium) backwards}
.error-page>.label{animation-delay:.05s}
.error-page>h1{animation-delay:.14s}
.error-page>.err-copy{animation-delay:.26s}
.error-page>.err-actions{animation-delay:.34s}
.err-num{animation:pg-rise 1.6s var(--ease-premium) .1s backwards}
@media(max-width:620px){
  .error-page h1{font-size:clamp(3.8rem,19vw,5rem)}
  .err-num{font-size:clamp(9rem,52vw,16rem);right:var(--gutter);bottom:.02em}
  .err-actions .button{width:100%}
}

/* ============ Small screens: calmer rhythm ============ */
@media(max-width:860px){
  .profile-frame{max-width:520px}
  .pf-shape{right:-10px;bottom:-10px}
  .footer-bottom{flex-wrap:wrap}
}
@media(max-width:620px){
  .footer-mega{font-size:28.2cqi}
  .brief-card{padding:26px 22px}
  .brief-list li:after{top:17px}
  .directory-head{margin-bottom:24px}
  .collab::after{right:-40%}
  .bio-copy .lead{font-size:1.28rem}
}

/* ============ Reduced motion ============ */
@media(prefers-reduced-motion:reduce){
  .contact::after,.collab::after,.err-dot{animation:none}
  .profile-copy>*,.breadcrumb,.profile-photo,.profile-photo img,.pf-shape,.photo-tag,.error-page>*,.err-num{animation:none}
  .brief-card,.brief-card::before,.brief-list li,.brief-list li:before,.brief-list li:after,.pf-shape,.channel-link:before,.channel-link:after,.channel-link b,.channel-link svg,.to-top svg,.footer-col a:before,.footer-col a:after{transition-duration:.01ms}
  .brief-card:hover,.brief-card:focus-within,.gallery figure:hover,.js .gallery-grid.stagger.is-visible>figure:hover,.js .topic-grid.stagger.is-visible>article:hover{transform:none!important}
}
