/* Therapist Toys Polish 1.0.0. Scoped to the .tt redesign markup and the CookieAdmin banner.
   Motion rules only apply under html.ttp-js, which the script adds only without reduced motion. */
.ttp-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: #B2462E; transform: scaleX(0); transform-origin: 0 50%; z-index: 99999; pointer-events: none; }
.admin-bar .ttp-progress { top: 32px; }
@media (max-width: 782px) { .admin-bar .ttp-progress { top: 46px; } }

/* nav underline */
.tt.tt.tt .tt-nav a { position: relative; }
.tt.tt.tt .tt-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1.5px; background: #B2462E; transform: scaleX(0); transform-origin: 0 50%; transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.tt.tt.tt .tt-nav a:hover::after, .tt.tt.tt .tt-nav a[aria-current="page"]::after { transform: scaleX(1); }

/* spotlight surfaces */
.tt.tt.tt .ttp-spot { position: relative; isolation: isolate; }
.tt.tt.tt .ttp-spot::before { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; opacity: 0; pointer-events: none; background: radial-gradient(380px circle at var(--sx, 50%) var(--sy, 0%), rgba(255,255,255,.55), transparent 62%); transition: opacity .3s; }
.tt.tt.tt .ttp-spot:hover::before { opacity: 1; }
.tt.tt.tt .tt-door, .tt.tt.tt .tt-guidecard { transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; will-change: transform; }
.tt.tt.tt .tt-door > *, .tt.tt.tt .tt-card > *, .tt.tt.tt .tt-guidecard > *, .tt.tt.tt .tt-split__card > * { position: relative; z-index: 1; }
.tt.tt.tt .tt-door__go { transition: background-color .25s, transform .35s cubic-bezier(.2,.7,.2,1); }
.tt.tt.tt .tt-door:hover .tt-door__go { transform: translateX(4px) rotate(-8deg); }
.tt.tt.tt .tt-card__media .tt-tile { transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.tt.tt.tt .tt-card:hover .tt-card__media .tt-tile { transform: rotate(-3deg) scale(1.04); }

/* magnetic buttons + sheen */
.tt.tt.tt .ttp-mag { transform: translate(var(--mx, 0px), var(--my, 0px)); transition: transform .3s cubic-bezier(.2,.7,.2,1), background-color .2s, color .2s, box-shadow .3s; overflow: hidden; }
.tt.tt.tt .ttp-mag:hover { box-shadow: 0 12px 24px -16px rgba(142,53,34,.85); }
.tt.tt.tt .tt-btn--clay::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.28), transparent); transform: skewX(-18deg); transition: left .6s cubic-bezier(.2,.7,.2,1); pointer-events: none; }
.tt.tt.tt .tt-btn--clay:hover::after { left: 120%; }
.tt.tt.tt .tt-btn--clay { overflow: hidden; }

/* marquee under the hero */
.tt.tt.tt .ttp-marquee { overflow: hidden; border-block: 1px solid #DCCFB8; padding: .9rem 0; background: #FBF8F2; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.tt.tt.tt .ttp-marquee__track { display: flex; width: max-content; animation: ttp-marquee 40s linear infinite; }
.tt.tt.tt .ttp-marquee:hover .ttp-marquee__track { animation-play-state: paused; }
.tt.tt.tt .ttp-marquee span { display: inline-flex; align-items: center; white-space: nowrap; padding: 0 1.25rem; font-family: Fraunces, Georgia, serif; font-style: italic; font-size: clamp(1.1rem, 1rem + .6vw, 1.5rem); color: #3A4035; }
.tt.tt.tt .ttp-marquee span::after { content: ""; width: 7px; height: 7px; margin-left: 2.5rem; border-radius: 2px; background: #B2462E; transform: rotate(45deg); }
@keyframes ttp-marquee { to { transform: translateX(-50%); } }

/* ---- motion (ttp-js only) ---- */
.ttp-js .tt.tt.tt .ttp-split .ttp-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.ttp-js .tt.tt.tt .ttp-split .ttp-w > span { display: inline-block; transform: translateY(108%); transition: transform .9s cubic-bezier(.16,1,.3,1); transition-delay: calc(var(--i, 0) * 60ms + 60ms); }
.ttp-js.ttp-live .tt.tt.tt .ttp-split .ttp-w > span { transform: none; }
.ttp-js .tt.tt.tt .tt-hero .tt-eyebrow, .ttp-js .tt.tt.tt .tt-hero__lede, .ttp-js .tt.tt.tt .tt-hero__ctas, .ttp-js .tt.tt.tt .tt-hero__note, .ttp-js .tt.tt.tt .tt-shelfhead p, .ttp-js .tt.tt.tt .tt-shelfhead .tt-eyebrow { opacity: 0; transform: translateY(12px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.ttp-js.ttp-live .tt.tt.tt .tt-hero .tt-eyebrow, .ttp-js.ttp-live .tt.tt.tt .tt-shelfhead .tt-eyebrow { opacity: 1; transform: none; }
.ttp-js.ttp-live .tt.tt.tt .tt-hero__lede, .ttp-js.ttp-live .tt.tt.tt .tt-shelfhead p { opacity: 1; transform: none; transition-delay: .45s; }
.ttp-js.ttp-live .tt.tt.tt .tt-hero__ctas { opacity: 1; transform: none; transition-delay: .6s; }
.ttp-js.ttp-live .tt.tt.tt .tt-hero__note { opacity: 1; transform: none; transition-delay: .75s; }
.ttp-js .tt.tt.tt .tt-shelfart .tt-htag { opacity: 0; transform: translateY(-28px) rotate(-6deg); transition: opacity .6s ease, transform .9s cubic-bezier(.34,1.56,.64,1); transition-delay: calc(var(--i, 0) * 90ms + 350ms); }
.ttp-js.ttp-live .tt.tt.tt .tt-shelfart .tt-htag { opacity: 1; transform: none; }
.ttp-js.ttp-live .tt.tt.tt .tt-shelfart .tt-htag:hover { transform: translateY(-4px) rotate(-2deg); transition-delay: 0s; transition-duration: .35s; }
.ttp-js .tt.tt.tt [data-ttp] { opacity: 0; transform: translateY(22px); transition: opacity .75s cubic-bezier(.2,.7,.2,1), transform .75s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0ms); }
.ttp-js .tt.tt.tt [data-ttp="card"] { transform: translateY(28px) scale(.985); }
.ttp-js .tt.tt.tt [data-ttp].is-in { opacity: 1; transform: none; }
.ttp-js .tt.tt.tt .tt-door[data-ttp].is-in, .ttp-js .tt.tt.tt .tt-guidecard[data-ttp].is-in { transition: opacity .75s cubic-bezier(.2,.7,.2,1) var(--d, 0ms), transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }

/* ---- CookieAdmin banner in the brand palette; compact on phones ---- */
.cookieadmin_law_container { font-family: "Source Sans 3", system-ui, sans-serif !important; background: #FBF8F2 !important; color: #1B2117 !important; border: 1px solid #DCCFB8 !important; border-radius: 14px !important; box-shadow: 0 24px 50px -28px rgba(27,33,23,.55) !important; }
.cookieadmin_law_container #cookieadmin_notice_title { font-family: Fraunces, Georgia, serif !important; color: #1B2117 !important; }
.cookieadmin_law_container .cookieadmin_btn { border-radius: 999px !important; font-weight: 600 !important; border: 1px solid #1B2117 !important; background: transparent !important; color: #1B2117 !important; box-shadow: none !important; }
.cookieadmin_law_container .cookieadmin_accept_btn { background: #B2462E !important; border-color: #B2462E !important; color: #fff !important; }
.cookieadmin_law_container .cookieadmin_btn:hover { filter: brightness(.95); }
.cookieadmin_remark, .cookieadmin_showmore { color: #B2462E !important; }
@media (max-width: 600px) {
  .cookieadmin_law_container { left: 10px !important; right: 10px !important; bottom: 10px !important; width: auto !important; max-width: none !important; padding: 12px 14px !important; }
  .cookieadmin_law_container #cookieadmin_notice_title { font-size: 15px !important; margin: 0 0 4px !important; }
  .cookieadmin_law_container .cookieadmin_notice_con p { font-size: 13px !important; line-height: 1.4 !important; margin: 0 0 8px !important; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .cookieadmin_law_container .cookieadmin_consent_btns { display: grid !important; grid-template-columns: 1fr 1fr 1fr; gap: 6px !important; }
  .cookieadmin_law_container .cookieadmin_btn { width: 100% !important; margin: 0 !important; padding: 8px 4px !important; font-size: 13px !important; min-height: 40px; }
  .cookieadmin_law_container .cookieadmin-poweredby { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .tt.tt.tt .ttp-marquee__track { animation: none !important; flex-wrap: wrap; width: auto; justify-content: center; }
  .tt.tt.tt .ttp-marquee__track span:nth-child(n+7) { display: none; }
  .tt.tt.tt .tt-door, .tt.tt.tt .tt-guidecard, .tt.tt.tt .ttp-mag { transform: none !important; }
}
