/* ═══════════════════════════════════════════════
   Castquill — studio.css
   Studio page (creator roster showcase).
   Loaded after style.css + pages.css.
   Uses the core brand palette one notch brighter:
   the mid gradient stops (#8B52F5 / #D24FB0 / #FF8A44)
   and the soft tints as section backgrounds.
   ═══════════════════════════════════════════════ */

:root {
  --st-violet:   #8B52F5;
  --st-magenta:  #D24FB0;
  --st-coral:    #FF8A44;
  --st-lilac:    #B9A8FF;
  --st-peach:    #FFC59E;
  --st-gradient: linear-gradient(135deg, #8B52F5 0%, #D24FB0 48%, #FF8A44 100%);
}

/* ── shared bits ── */
.st-inner { max-width: 980px; margin: 0 auto; }
.st-section { padding: 96px 24px; }
.st-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--st-violet); margin-bottom: 14px; }
.st-title { font-size: clamp(28px,4.5vw,48px); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; margin-bottom: 16px; max-width: 560px; }
.st-lede { font-size: 16px; color: var(--muted); line-height: 1.65; max-width: 520px; }
.st-note { font-size: 12.5px; color: var(--muted); margin-top: 24px; opacity: .8; }
.st-grad-text {
  background: var(--st-gradient);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.st-btn-ghost {
  padding: 11px 24px; font-size: 14px; font-weight: 600;
  border: 1.5px solid var(--border); border-radius: 980px;
  color: var(--ink); background: var(--white); text-decoration: none;
  display: inline-block; transition: border-color .15s, transform .15s;
}
.st-btn-ghost:hover { border-color: var(--st-violet); color: var(--st-violet); transform: translateY(-2px); }

/* ── HERO: intro left · collage right ── */
.studio-hero { position: relative; overflow: hidden; padding: 72px 24px 88px; background: linear-gradient(180deg, #faf8ff 0%, var(--white) 100%); }
.studio-hero::before {
  content: ''; position: absolute; top: -220px; left: -160px;
  width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(139,82,245,.14), transparent 65%);
  pointer-events: none;
}
.studio-hero::after {
  content: ''; position: absolute; bottom: -240px; right: -140px;
  width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,138,68,.16), transparent 65%);
  pointer-events: none;
}
.studio-hero-inner {
  max-width: 980px; margin: 0 auto; position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,400px);
  gap: 64px; align-items: center;
}
.studio-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--border); background: var(--white);
  padding: 6px 16px; border-radius: 980px; margin-bottom: 22px;
}
.studio-hero h1 { font-size: clamp(38px,5.5vw,64px); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; margin-bottom: 18px; }
.studio-hero h1 em { font-style: normal; }
.studio-sub { font-size: clamp(15px,2vw,17.5px); color: var(--muted); max-width: 460px; line-height: 1.65; margin-bottom: 32px; }
.studio-cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.studio-niche-chips { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 26px; }
.studio-niche-chips span {
  font-size: 13px; font-weight: 600; background: var(--white);
  border: 1.5px solid var(--border); padding: 7px 15px; border-radius: 980px;
}

/* collage */
.studio-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; position: relative; }
.studio-collage-col { display: grid; gap: 16px; }
.studio-collage-col:first-child { transform: translateY(30px); }
.st-tile {
  aspect-ratio: 9/15; border-radius: 18px; position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; padding: 14px;
  color: #fff; box-shadow: 0 14px 34px rgba(14,14,16,.14);
  animation: stBob 7s ease-in-out infinite;
}
.st-tile:nth-child(odd) { animation-delay: -3.5s; }
.st-tile-light { color: var(--ink); }
.st-tile-light .st-dur { background: rgba(255,255,255,.78); color: var(--ink); }
@keyframes stBob { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-7px)} }
.st-tile-top { display: flex; justify-content: space-between; align-items: center; }
.st-emoji { font-size: 17px; }
.st-dur { font-size: 10.5px; font-weight: 600; background: rgba(14,14,16,.42); padding: 3px 8px; border-radius: 6px; backdrop-filter: blur(4px); }
.st-play {
  position: absolute; inset: 0; margin: auto; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.94); color: var(--ink);
  display: flex; align-items: center; justify-content: center; font-size: 13px;
  box-shadow: 0 6px 16px rgba(14,14,16,.2);
}
.st-tile-name { font-weight: 700; font-size: 14px; line-height: 1.25; }
.st-tile-by { font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; opacity: .85; margin-top: 3px; }
/* floating chips */
.st-chip {
  position: absolute; z-index: 3; font-size: 12.5px; font-weight: 700;
  padding: 9px 16px; border-radius: 980px; box-shadow: 0 10px 24px rgba(14,14,16,.16);
  white-space: nowrap;
}
.st-chip-vet { top: -12px; right: -6px; background: var(--st-gradient); color: #fff; transform: rotate(3deg); }
.st-chip-speed { bottom: 12px; left: -12px; background: var(--white); color: var(--st-violet); border: 1.5px solid var(--violet-soft); transform: rotate(-3deg); }
@media (max-width: 860px) {
  .studio-hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .studio-collage { max-width: 400px; }
  .st-chip-vet { right: 0; }
  .st-chip-speed { left: 0; }
}

/* ── TICKER ── */
.studio-ticker { padding: 20px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow: hidden; background: var(--white); }
.studio-ticker-viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}
.studio-ticker-track { display: flex; gap: 44px; align-items: center; animation: stTicker 26s linear infinite; width: max-content; }
.studio-ticker-track:hover { animation-play-state: paused; }
@keyframes stTicker { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.st-tick { font-size: 13px; font-weight: 700; color: var(--muted); white-space: nowrap; opacity: .55; }
.st-tick b { color: var(--st-coral); font-weight: 400; opacity: .9; }

/* ── ROSTER ── */
.st-section-violet { background: #f6f2ff; }
.studio-roster-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.studio-rail-wrap { position: relative; }
.st-arrow {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--border); background: var(--white); color: var(--ink);
  font-size: 16px; cursor: pointer; transition: background .18s, color .18s, border-color .18s;
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  box-shadow: 0 6px 18px rgba(14,14,16,.16);
}
.st-arrow-prev { left: -12px; }
.st-arrow-next { right: -12px; }
.st-arrow:hover { background: var(--st-violet); color: #fff; border-color: var(--st-violet); }
.studio-rail {
  display: flex; gap: 18px; overflow-x: auto;
  scroll-snap-type: x mandatory; padding: 6px 6px 18px;
  scrollbar-width: none;
}
.studio-rail::-webkit-scrollbar { display: none; }
.st-card {
  flex: 0 0 250px; scroll-snap-align: start;
  border-radius: var(--radius); background: var(--white);
  border: 1px solid var(--border); overflow: hidden;
  box-shadow: 0 8px 28px rgba(14,14,16,.06);
  transition: transform .22s, box-shadow .22s;
}
.st-card:hover { transform: translateY(-6px); box-shadow: 0 18px 44px rgba(139,82,245,.18); }
.st-card-media { aspect-ratio: 9/11.5; position: relative; display: flex; align-items: flex-end; padding: 16px; color: #fff; }
.st-card-index {
  position: absolute; top: 13px; left: 13px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .08em;
  background: rgba(255,255,255,.24); color: #fff;
  padding: 4px 9px; border-radius: 6px; backdrop-filter: blur(4px);
}
.st-card-niche { position: absolute; top: 12px; right: 13px; font-size: 17px; }
.st-card-initials {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 64px; color: rgba(255,255,255,.28); letter-spacing: -.03em;
}
.st-card-id { position: relative; z-index: 2; }
.st-card-id .name { font-weight: 800; font-size: 18px; letter-spacing: -.01em; }
.st-card-id .role { font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-top: 4px; opacity: .95; }
.st-card-sheet { padding: 16px 18px 20px; }
.st-card-sheet p { font-size: 13px; color: var(--muted); line-height: 1.55; }
.st-sheet-data { margin-top: 13px; display: grid; gap: 7px; }
.st-sheet-row { display: flex; justify-content: space-between; gap: 12px; font-size: 11px; }
.st-sheet-row dt { color: var(--muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; opacity: .75; }
.st-sheet-row dd { color: var(--ink); text-align: right; font-weight: 700; }

/* ── WORK FORMATS ── */
.studio-work-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 18px; margin-top: 48px; }
.st-frame {
  aspect-ratio: 9/15; border-radius: 18px; position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 16px; color: #fff; box-shadow: 0 10px 28px rgba(14,14,16,.1);
  transition: transform .22s, box-shadow .22s;
}
.st-frame:hover { transform: translateY(-5px) rotate(-.5deg); box-shadow: 0 20px 44px rgba(14,14,16,.16); }
.st-frame-top { display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 2; }
.st-frame .st-play { width: 50px; height: 50px; font-size: 15px; transition: transform .22s; z-index: 2; }
.st-frame:hover .st-play { transform: scale(1.1); }
.st-frame-label { position: relative; z-index: 2; }
.st-frame-name { font-weight: 700; font-size: 15px; line-height: 1.25; }
.st-frame-kind { font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .85; margin-top: 5px; }

/* ── VETTING ── */
.st-section-coral { background: var(--coral-soft); }
.studio-vet-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 16px; margin-top: 48px; }
.st-vet {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: 0 6px 20px rgba(14,14,16,.04);
  transition: transform .2s, box-shadow .2s;
}
.st-vet:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(255,138,68,.18); }
.st-vet .ico {
  width: 48px; height: 48px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 16px;
  background: linear-gradient(135deg, var(--violet-soft), var(--coral-soft));
  border: 1px solid var(--border);
}
.st-vet h3 { font-size: 16.5px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 8px; }
.st-vet p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ── PROCESS ── */
.studio-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 16px; margin-top: 48px; }
.st-step {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: 0 6px 20px rgba(14,14,16,.04);
}
.st-step-num {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--st-coral); background: var(--coral-soft);
  padding: 5px 12px; border-radius: 980px;
}
.st-step h3 { font-size: 17px; font-weight: 700; margin: 15px 0 9px; }
.st-step p { font-size: 14px; color: var(--muted); line-height: 1.6; }
.studio-process-cta { margin-top: 42px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.studio-process-cta .pricing-link { font-size: 13px; color: var(--muted); }
.studio-process-cta .pricing-link a { color: var(--st-violet); font-weight: 600; text-decoration: none; }
.studio-process-cta .pricing-link a:hover { text-decoration: underline; }

/* ── FINAL CTA ── */
.studio-cta-block {
  background: var(--st-gradient);
  border-radius: 26px; padding: 72px 40px; text-align: center; color: #fff;
  position: relative; overflow: hidden;
}
.studio-cta-block::before {
  content: ''; position: absolute; top: -160px; right: -110px;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.24), transparent 68%);
}
.studio-cta-block::after {
  content: ''; position: absolute; bottom: -150px; left: -90px;
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.16), transparent 68%);
}
.studio-cta-block h2 { font-size: clamp(26px,3.5vw,40px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; max-width: 20ch; margin: 0 auto 14px; position: relative; z-index: 2; }
.studio-cta-block p { font-size: 15px; color: rgba(255,255,255,.85); max-width: 46ch; margin: 0 auto 32px; line-height: 1.6; position: relative; z-index: 2; }
.studio-cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 2; }
.studio-cta-block .st-btn-outline {
  padding: 13px 28px; font-size: 14px; font-weight: 600;
  border: 1.5px solid rgba(255,255,255,.5); border-radius: 980px;
  color: #fff; text-decoration: none; display: inline-block;
  transition: border-color .15s, transform .15s;
}
.studio-cta-block .st-btn-outline:hover { border-color: #fff; transform: translateY(-2px); }

@media (max-width: 640px) {
  .st-section { padding: 64px 20px; }
  .studio-hero { padding: 52px 20px 64px; }
  .studio-cta-block { padding: 52px 24px; }
}
