/* Digital Berries Talent Network: type and photo polish for every page. Loaded by app.js on all pages. */

/* Headings: looser letter and word spacing so words stop running together (was -0.035em to -0.05em). */
h1, h2, .hero-title-kinetic { letter-spacing: -0.02em !important; word-spacing: 0.07em; text-wrap: balance; }
h1, .hero-title-kinetic { line-height: 1.1; }

/* Faces: show the whole head. Photos are portraits with the face in the upper part, so anchor crops to the top. */
.talent-photo img, .match-photo img, .creator-full-img, .profile-photo img, .plan-people img,
.stacked-card-profile-cover img, .collab-card img.creator, .cat-card img { object-position: 50% 12% !important; }

/* Creators page hero: the 3rd and 4th buttons become quiet text links, so the hero has one clear action. */
body:has(#creatorJoinForm) .hero-creatorland .hero-actions-row a.btn-pill:nth-child(n+3) {
  background: none !important; border: 0 !important; box-shadow: none !important; padding: 6px 4px !important; min-height: 0 !important;
  text-transform: none !important; letter-spacing: 0 !important; font-weight: 600 !important; font-size: 14px !important; color: var(--soft, #D1D5DB) !important;
  text-decoration: underline; text-underline-offset: 4px; }

/* Typeface: Bricolage Grotesque for headings, DM Sans for everything else (site-wide). The pages already read these two variables. */
:root { --font-display: "Bricolage Grotesque", "Plus Jakarta Sans", system-ui, sans-serif; --font-sans: "DM Sans", "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif; }
h1, h2, .hero-title-kinetic { font-family: var(--font-display) !important; font-weight: 800; }
button, input, select, textarea { font-family: inherit; }

/* Mobile fixes, 2026-11-13 */
@media (max-width: 480px) { h1.hero-title-kinetic { font-size: clamp(33px, 10.2vw, 42px) !important; line-height: 1.08 !important; margin-bottom: 18px !important; } }
@media (max-width: 860px) { .mxs-pin { grid-template-rows: auto auto !important; align-content: center; gap: 26px !important; padding-top: 72px !important; padding-bottom: 104px !important; } }
.banner-brand-yellow h2 { color: #12141A !important; -webkit-text-fill-color: #12141A !important; }

/* Headline rotator, 2026-11-16: the outgoing and incoming words used to fade at the same time and overlap, and a 24px glow filter made
   the gold text look soft. Now the old word fades out first, the new one fades in right after, and the glow filter is off. */
.hero-title-kinetic .rotator-word { transition: transform .4s cubic-bezier(.16,1,.3,1), opacity .14s ease !important; }
.hero-title-kinetic .rotator-word.active { transition: transform .5s cubic-bezier(.16,1,.3,1) .08s, opacity .28s ease .1s !important; }
.rotator-word.text-gradient-luxury { filter: none !important; }
@media (prefers-reduced-motion: reduce) { .hero-title-kinetic .rotator-word, .hero-title-kinetic .rotator-word.active { transition: none !important; transform: none !important; } }
