/* cutvey.com/crew/<handle> and /studio/<handle>: a person's page and a
   studio's page (functions/crew and functions/studio, drawn by lib/crew-page.js
   and lib/studio-page.js inside the site's chrome). Loaded after site.css by
   the shells crew-not-found.html and studio-not-found.html, which leave
   docs.css out ("docs: no"). The reel's bar is white and gray, never violet:
   the app's rule for every player Cutvey draws. */

.crew{padding:48px 0 24px}
.crew-grid{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:32px 48px;align-items:start}
.crew-main,.crew-top,.crew-side,.crew-card,.cp-sec,.crew-id-t{display:flex;flex-direction:column;min-width:0}
.crew-main,.crew-top{gap:20px}
.studio .crew-main{gap:28px}
.crew-side{gap:16px}
.crew-card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:22px;gap:12px}
.crew-lists{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 32px;margin-top:12px}
@media (max-width:960px){
  .crew{padding:28px 0 16px}
  .crew-grid{display:flex;flex-direction:column;align-items:stretch;gap:24px}
  .crew-main,.studio-side{display:contents}
  .crew-side{order:1}
  .crew-main>:not(.crew-top){order:2}
  .studio-side>.cp-links{order:3}
  .crew-lists{margin-top:0}
}

.crew-id{display:flex;gap:18px;align-items:center}
.crew-id-t{gap:6px}
.crew-photo{width:88px;height:88px;border-radius:50%;object-fit:cover;flex:none;background:var(--line)}
.crew-id .eyebrow{margin:0}
.crew-name{margin:0;font-size:clamp(32px,2.6vw + 18px,48px);line-height:1.02;font-weight:820;font-stretch:108%;letter-spacing:-.01em;color:var(--fg);overflow-wrap:anywhere}
.studio-logo{border-radius:18px}
.studio-ini{display:flex;align-items:center;justify-content:center;background:var(--ink);color:#fff;font:800 34px var(--font-sans)}
.studio-headline{margin:2px 0 0;font-size:18px;line-height:1.4;color:var(--body)}
.cp-at-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}
.cp-at{display:inline-flex;align-items:center;gap:8px;min-height:32px;padding:4px 10px 4px 4px;border:1px solid var(--line);border-radius:999px;background:var(--card);color:var(--text);text-decoration:none;font-size:14px}
.cp-at:hover{border-color:var(--control);color:var(--fg)}
.cp-at-tile{width:22px;height:22px;border-radius:6px;background:var(--ink);color:#fff;display:flex;align-items:center;justify-content:center;font:700 11px var(--font-sans);object-fit:cover}
@media (max-width:560px){
  .crew-lists{grid-template-columns:minmax(0,1fr)}
  .crew-id:not(.crew-id-np){display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px 14px}
  .crew-id:not(.crew-id-np) .crew-id-t{display:contents}
  .crew-id .crew-photo{width:72px;height:72px;grid-row:1/3}
  .studio .crew-photo{width:64px;height:64px;border-radius:14px;font-size:26px}
  .crew-id .eyebrow{align-self:end}
  .crew-id .crew-name{align-self:start}
  .cp-at-row,.studio-headline{grid-column:1/-1;margin-top:10px}
  .studio-headline{font-size:17px}
}
.crew-bio{margin:0;font-size:17px;line-height:1.6;color:var(--body);max-width:680px;white-space:pre-line}
.crew-muted{color:var(--muted)}

.crew-list-h,.crew-side-h{font-family:var(--font-mono);font-size:12px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin:0 0 10px}
.crew-side-h{margin:0}
.crew-list ul,.cp-list{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:8px;font-size:16px;line-height:1.45;color:var(--text)}
.crew-list li,.cp-list li{overflow-wrap:anywhere}
.cp-sec{gap:10px}
.cp-sec .crew-list-h{margin:0}

/* Photos: two large and three small; on a phone one large and the rest in two. */
.cp-photos,.cp-tags,.cp-team,.cp-lnks{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.cp-photos{grid-template-columns:repeat(6,minmax(0,1fr))}
.cp-photos li{grid-column:span 2}
@media (min-width:561px){.n1 li{grid-column:span 6}.n2 li,.n4 li,.n5 li:nth-child(-n+2){grid-column:span 3}}
.cp-photo{display:block;aspect-ratio:3/2;border-radius:10px;overflow:hidden;background:var(--line)}
.cp-photo img{width:100%;height:100%;object-fit:cover;display:block}
.cp-photo:focus-visible{outline:2px solid var(--violet);outline-offset:2px}
@media (max-width:560px){
  .cp-photos{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  .cp-photos li{grid-column:auto}
  .cp-photos li:first-child,.cp-photos li:last-child:nth-child(even){grid-column:span 2}
  .cp-photos li+li .cp-photo{aspect-ratio:1}
  .cp-photos li:last-child:nth-child(even) .cp-photo{aspect-ratio:3/2}
}
.cp-lb{padding:0;border:0;background:none;max-width:94vw;max-height:94vh;overflow:visible}
.cp-lb::backdrop{background:rgba(10,10,13,.88)}
.cp-lb img{display:block;max-width:94vw;max-height:90vh;border-radius:8px}
.cp-lb-x{position:absolute;top:8px;right:8px;width:40px;height:40px;border:0;border-radius:50%;background:rgba(10,10,13,.6);color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center}
.cp-lb-x svg{width:20px;height:20px}
.cp-lb-x svg,.cp-out,.cp-next{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}

/* Links: the website first, as a button, then the rest. */
.cp-out{width:16px;height:16px;color:var(--muted)}
.cp-next{width:14px;height:14px;color:var(--muted)}
.cp-site{justify-content:space-between;font-size:15px;text-align:left}
.cp-site .cp-out{color:var(--text)}
.cp-site-t{display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-width:0}
.cp-host{font-weight:400;font-size:13px;color:var(--muted);max-width:100%;overflow:hidden;text-overflow:ellipsis}
.cp-lnks{gap:10px}
.cp-lnk{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:44px;padding:0 12px;border:1px solid var(--line);border-radius:8px;background:var(--card);color:var(--text);text-decoration:none;font-size:15px;overflow-wrap:anywhere}
.cp-lnk:hover{border-color:var(--control);color:var(--fg)}
@media (max-width:960px){.cp-links{background:none;border:0;padding:0}}
@media (max-width:560px){.cp-lnks{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}}

/* The studio's tags, team and work card. */
.cp-tags{display:flex;flex-wrap:wrap}
.cp-tags li{display:inline-flex;align-items:center;min-height:34px;padding:0 12px;border:1px solid var(--line);border-radius:999px;background:var(--card);font-size:14px;color:var(--text)}
.cp-team{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.cp-person{display:flex;align-items:center;gap:12px;height:100%;box-sizing:border-box;padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--card);color:var(--text);text-decoration:none}
.cp-person:hover{border-color:var(--control)}
.cp-av{width:48px;height:48px;border-radius:50%;flex:none;object-fit:cover;display:flex;align-items:center;justify-content:center;background:var(--violet-tint);color:var(--violet-text);font-weight:700;font-size:16px}
.cp-person-t{display:flex;flex-direction:column;gap:2px;min-width:0;font-size:13px}
.cp-person-t strong{font-size:15px;color:var(--fg)}
@media (max-width:700px){.cp-team{grid-template-columns:minmax(0,1fr);gap:8px}}
.cp-lead{margin:0;font-size:15px;line-height:1.5;color:var(--body)}
.cp-where{margin:0;border-top:1px solid var(--line);padding-top:12px;display:flex;flex-direction:column;gap:6px;font-size:14px;color:var(--body)}
@media (max-width:960px){.cp-where{flex-flow:row wrap;border:0;padding:0}.cp-where span+span:before{content:"· ";color:var(--muted)}}
.is-open .cp-hide-open{display:none}

/* The reel. */
.crew-reel{position:relative;aspect-ratio:16/9;border-radius:12px;overflow:hidden;background:#131318;color:#fff}
.crew-reel video,.crew-reel iframe{position:absolute;inset:0;width:100%;height:100%;border:0;background:#000}
.reel-big,.reel-press{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;background:transparent;border:0;cursor:pointer;color:#fff;text-decoration:none;width:100%}
.reel-big svg,.reel-big-icon svg{width:30px;height:30px;fill:currentColor;margin-left:3px}
.reel-big svg{box-sizing:content-box;padding:21px;border-radius:50%;background:rgba(255,255,255,.92);fill:#131318}
.reel-big-icon{display:flex;width:72px;height:72px;border-radius:50%;align-items:center;justify-content:center;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.3)}
.reel-press:hover .reel-big-icon{background:rgba(255,255,255,.22)}
.reel-svc{font-family:var(--font-mono);font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:rgba(255,255,255,.8)}
.reel-consent{position:absolute;left:0;right:0;bottom:0;margin:0;padding:10px 16px 12px;font-size:12px;line-height:1.4;text-align:center;color:rgba(255,255,255,.72)}
.reel-consent a{color:rgba(255,255,255,.9);text-decoration:underline;text-underline-offset:2px}
.reel-bar{position:absolute;left:0;right:0;bottom:0;display:flex;align-items:center;gap:10px;padding:10px 12px;background:linear-gradient(transparent,rgba(0,0,0,.65));font:500 12px var(--font-mono);color:#fff}
.reel-bar[hidden]{display:none}
.reel-bar button{flex:none;width:32px;height:32px;border:0;border-radius:6px;background:transparent;color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center}
.reel-bar button:hover{background:rgba(255,255,255,.16)}
.reel-bar svg{width:18px;height:18px;fill:currentColor}
.reel-seek{flex:1;min-width:40px;accent-color:#fff;height:4px}
.crew-reel:fullscreen{border-radius:0}

/* The availability strip: free, on hold, not available. Never whose. */
.crew-hint{margin:0;font-size:13px;line-height:1.45;color:var(--muted)}
.crew-strip{list-style:none;margin:4px 0 0;padding:0;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}
.day{display:flex;flex-direction:column;align-items:center;gap:2px;padding:7px 0;border-radius:6px;font:500 12px var(--font-mono);line-height:1.2}
.day .wd{font-size:10px;letter-spacing:.04em;text-transform:uppercase;opacity:.8}
.day .n{font-size:13px;font-weight:600}
.day .m{font-size:9px;text-transform:uppercase;margin-right:2px}
.day-free{background:#ECFDF5;color:#047857}
.day-hold{background:#FFFBEB;color:#92400E}
.day-busy{background:#FEF2F2;color:#B91C1C}
.crew-legend{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px 14px;font-size:12px;color:var(--muted)}
.crew-legend li{display:flex;align-items:center;gap:6px}
.crew-legend .sw{width:10px;height:10px;border-radius:3px;padding:0}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

.crew-rate p{margin:4px 0 0;font-size:18px;font-weight:700;color:var(--fg)}
.crew-actions{display:flex;flex-direction:column;gap:8px;margin-top:6px}
.crew-hold-hint{text-align:center}
.crew-closed{margin:6px 0 0;font-size:15px;color:var(--body)}

/* "Get in touch": closed until pressed (or reached as #get-in-touch). */
.crew-form-wrap{display:none;border-top:1px solid var(--line);padding-top:16px;margin-top:4px}
.crew-form-wrap:target,.crew-form-wrap.open{display:block}
.crew-form{display:flex;flex-direction:column;position:relative}
.crew-form-title{margin:0 0 4px;font-size:18px;font-weight:700;color:var(--fg)}
.crew-form label,.crew-days legend{display:block;font-size:13px;font-weight:600;color:var(--text);margin:14px 0 6px;padding:0}
.crew-form input[type=text],.crew-form input[type=email],.crew-form textarea,.crew-form select{box-sizing:border-box;width:100%;min-height:44px;border:1px solid var(--control);border-radius:8px;padding:10px 12px;font:16px var(--font-sans);color:var(--ink);background:#fff}
.crew-form textarea{min-height:120px;resize:vertical}
.crew-form select{-webkit-appearance:none;appearance:none;padding-right:32px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 8l4 4 4-4' fill='none' stroke='%2355555E' stroke-width='1.6'/%3E%3C/svg%3E") right 10px center/16px no-repeat}
.crew-opt{font-weight:400;color:var(--muted)}
.cp-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 10px}
.crew-form input:focus,.crew-form textarea:focus,.crew-form select:focus{outline:2px solid var(--violet);outline-offset:1px;border-color:var(--violet)}
.crew-form [aria-invalid=true]{border-color:#B91C1C}
.crew-days{border:0;margin:0;padding:0;min-width:0}
.crew-day-picks{display:flex;flex-wrap:wrap;gap:6px}
.crew-form .pick{margin:0;font-weight:500;font-size:13px}
.pick input{position:absolute;opacity:0;width:1px;height:1px}
.pick span{display:inline-flex;align-items:center;min-height:34px;padding:0 10px;border:1px solid var(--control);border-radius:999px;background:#fff;cursor:pointer}
.pick input:checked+span{background:var(--violet-tint);border-color:var(--violet);color:var(--violet-text)}
.pick input:focus-visible+span{outline:2px solid var(--violet);outline-offset:1px}
.crew-ts{margin:14px 0 2px;min-height:0}
.crew-form .btn{margin-top:14px}
.crew-note{margin:8px 0 0;font-size:12px;line-height:1.45;color:var(--muted)}
.crew-alert{margin:10px 0 0;padding:10px 12px;border:1px solid #FECACA;background:#FEF2F2;border-radius:8px;font-size:14px;color:#B91C1C}
.crew-alert[hidden],.crew-sent[hidden],.crew-form[hidden],.reel-big[hidden]{display:none}
.crew-sent p{margin:4px 0 0;font-size:15px;color:var(--body)}
.crew-sent:focus{outline:none}

.crew-foot{display:flex;flex-wrap:wrap;gap:6px 8px;align-items:center;margin-top:48px;padding-top:16px;border-top:1px solid var(--line);font-size:13px;color:var(--muted)}
.crew-foot a{color:var(--muted)}
.cp-powered{display:inline-flex;align-items:center;gap:6px}
.cp-powered a{display:inline-flex}
.crew-foot a:hover{color:var(--fg)}
.crew-report{font-size:12px}
