/* BOLDPHASE / Motion Edition — original, lightweight motion system.
   All effects are progressive enhancements; page stays usable without JS. */
:root{--bp-ease:cubic-bezier(.18,.75,.22,1);--bp-soft:cubic-bezier(.22,1,.36,1)}
body.studio{overflow-x:clip}
::selection{background:#e96c4b;color:#fff9ee}
.bp-scroll-progress{position:fixed;top:0;left:0;height:3px;width:100%;z-index:100;background:linear-gradient(90deg,#ef5b39,#efae86 70%,#e5efaa);transform:scaleX(0);transform-origin:left;pointer-events:none;will-change:transform}
/* Tactile navigation that responds as the visitor moves down the page. */
.studio-nav{position:sticky;top:0;z-index:50;background:rgba(244,241,233,.96);transition:height .4s var(--bp-soft),background .4s,border-color .3s,box-shadow .4s;box-sizing:border-box;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.studio-nav.bp-nav-scrolled{height:77px;border-color:#aaa69d;box-shadow:0 18px 34px rgba(27,30,26,.06)}
.studio-nav .studio-links a{position:relative;transition:color .24s}
.studio-nav .studio-links a:after{content:"";position:absolute;bottom:-9px;left:0;right:0;height:1px;background:#e65b3c;transform:scaleX(0);transform-origin:left;transition:transform .3s var(--bp-soft)}
.studio-nav .studio-links a:is(:hover,:focus-visible):after{transform:scaleX(1)}
/* Cinematic first-screen typography and dramatic warm ambient light. */
.studio-hero{position:relative;isolation:isolate}
.studio-hero:before{content:"";position:absolute;z-index:-1;inset:0 0 auto;height:min(80vh,730px);background:radial-gradient(ellipse at calc(73% + var(--bp-glow-x,0px)) calc(43% + var(--bp-glow-y,0px)),rgba(247,174,140,.22),transparent 49%),radial-gradient(ellipse at 10% 67%,rgba(219,239,137,.13),transparent 46%);pointer-events:none;transition:background .5s}
.hero-core{isolation:isolate}
.hero-core h1{position:relative;z-index:5;isolation:isolate;max-width:100%}
.hero-core h1 em{position:relative}
.hero-core h1 em:after{content:"";position:absolute;left:1%;bottom:-.065em;width:66%;height:clamp(3px,.55vw,7px);background:#e66b48;border-radius:50%;transform-origin:left;transform:scaleX(0) rotate(-1deg);opacity:.84}
.bp-motion-ready .hero-core h1 em:after{animation:bp-underline 1.1s 1.25s var(--bp-soft) both}
.bp-hero-eyebrow{position:absolute;left:0;top:19px;z-index:6;font-size:10px;font-weight:800;letter-spacing:.18em;text-transform:uppercase;color:#5c635d;display:flex;align-items:center;gap:12px}
.bp-hero-eyebrow:before{content:"";width:27px;height:1px;background:#dc6448}
.bp-hero-coordinate{position:absolute;right:0;bottom:23px;color:#807c70;font-size:9px;letter-spacing:.17em;font-weight:700;z-index:5}
.bp-hero-ring{position:absolute;width:190px;height:190px;border:1px solid rgba(224,109,69,.22);border-radius:50%;right:3%;top:33%;pointer-events:none;z-index:0;transform:translate3d(var(--bp-ring-x,0px),var(--bp-ring-y,0px),0)}
.bp-hero-ring:before,.bp-hero-ring:after{content:"";position:absolute;inset:24px;border-radius:50%;border:1px dashed rgba(173,112,96,.28)}
.bp-hero-ring:after{inset:55px;border-style:solid}
.bp-hero-dot{position:absolute;right:31%;top:19%;width:12px;height:12px;background:#df704f;border-radius:50%;box-shadow:0 0 0 14px rgba(223,112,79,.075);pointer-events:none;transform:translate3d(var(--bp-dot-x,0px),var(--bp-dot-y,0px),0);z-index:1}
.hero-graphic{will-change:transform;--bp-hero-shift-x:0px;--bp-hero-shift-y:0px}
.bp-motion-ready .hero-graphic{animation:bp-hero-card-enter 1.45s .18s var(--bp-soft) both}
.bp-motion-ready .hero-core h1{animation:bp-heading-in 1.1s .24s var(--bp-soft) both}
.bp-motion-ready .hero-intro{animation:bp-soft-rise .95s .54s var(--bp-soft) both}
.bp-motion-ready .hero-side{animation:bp-soft-rise .65s .16s var(--bp-soft) both}
.bp-motion-ready .hero-foot{animation:bp-soft-rise .65s 1.1s var(--bp-soft) both}
.bp-motion-ready .bp-hero-eyebrow{animation:bp-soft-rise .65s .3s var(--bp-soft) both}
.bp-motion-ready .graphic-disc{animation:bp-disc-breathe 7s 1.75s ease-in-out infinite alternate;transform-origin:55% 60%}
.bp-motion-ready .hero-asterisk{animation:bp-star-turn 13s 1.35s linear infinite;transform-origin:50% 50%}
.bp-motion-ready .bp-hero-ring{animation:bp-ring-enter 1.3s .6s var(--bp-soft) both}
.bp-motion-ready .bp-hero-dot{animation:bp-dot-enter 1s 1.05s var(--bp-soft) both}
/* Scroll-independent ticker: a small moving editorial signature, not an overlay. */
.bp-marquee{margin:0;overflow:hidden;border-block:1px solid #bbb9ad;background:#e9e9de;color:#263b2f;position:relative}
.bp-marquee-track{width:max-content;display:flex;align-items:center;gap:28px;padding:12px 0;animation:bp-marquee-move 32s linear infinite;transform:translateZ(0)}
.bp-marquee-track span{font-size:10px;line-height:1;white-space:nowrap;font-weight:800;letter-spacing:.18em}
.bp-marquee-track .bp-ticker-star{font-size:18px;color:#e76441;font-weight:400}
@media(hover:hover){.bp-marquee:hover .bp-marquee-track{animation-play-state:paused}}
/* Gallery: light, tactile depth that reacts to each card, not an overpowering 3D spin. */
.studio-project{position:relative;perspective:1200px;--bp-mx:50%;--bp-my:50%;--bp-card-rx:0deg;--bp-card-ry:0deg}
.studio-project .project-art,.studio-project .app-project-art{position:relative;transform-origin:50% 50%;transition:filter .5s,box-shadow .5s,transform .42s var(--bp-soft);backface-visibility:hidden;isolation:isolate}
.studio-project .project-art:after,.studio-project .app-project-art:after{content:"";pointer-events:none;position:absolute;inset:0;z-index:11;opacity:0;background:radial-gradient(circle at var(--bp-mx) var(--bp-my),rgba(255,255,255,.26),transparent 55%);transition:opacity .45s}
.bp-project-open{position:absolute;z-index:16;right:18px;bottom:18px;background:#f8f4e8;color:#1b2920;border-radius:99px;padding:12px 16px;font-weight:800;font-size:10px;letter-spacing:.07em;display:inline-flex;align-items:center;gap:12px;box-shadow:0 12px 30px #00000020;transform:translateY(13px);opacity:0;transition:opacity .4s,transform .45s var(--bp-soft);pointer-events:none}
.bp-project-open b{font-size:18px;font-weight:400;line-height:0}
.studio-project .project-caption h3 span{display:inline-block;transition:transform .35s var(--bp-soft)}
.studio-project:hover .project-caption h3 span,.studio-project:focus-visible .project-caption h3 span{transform:translate(5px,-5px)}
@media(hover:hover) and (pointer:fine){
 .studio-project:hover .project-art,.studio-project:hover .app-project-art{transform:perspective(1400px) rotateX(var(--bp-card-rx)) rotateY(var(--bp-card-ry)) translateY(-5px) scale(1.012);box-shadow:0 28px 52px #0d17162b;filter:saturate(1.07)}
 .studio-project:hover .project-art:after,.studio-project:hover .app-project-art:after{opacity:1}
 .studio-project:hover .bp-project-open,.studio-project:focus-visible .bp-project-open{opacity:1;transform:translateY(0)}
 .studio-project:hover .project-art>div:not(.hoi-layout),.studio-project:hover .phone-mock{transform:scale(1.014)}
}
/* Reworked section transitions — heading reveal and a quiet top-edge bloom. */
.bp-section-reveal{position:relative}
.bp-section-reveal::before{content:"";pointer-events:none;position:absolute;left:10%;right:10%;top:0;height:1px;background:linear-gradient(90deg,transparent,#d07b60,transparent);opacity:0;transform:scaleX(.5);transition:opacity .9s,transform 1.2s var(--bp-soft)}
.bp-section-reveal.bp-section-visible::before{opacity:.7;transform:scaleX(1)}
.bp-cine-line{display:block;overflow:hidden;padding-bottom:.08em;margin-bottom:-.08em}
.bp-cine-line>span{display:block;transform:translateY(105%);transition:transform 1.05s var(--bp-soft);will-change:transform}
.bp-section-visible .bp-cine-line>span{transform:translateY(0)}
.bp-section-reveal .kicker,.bp-section-reveal .work-heading>p,.bp-section-reveal .bp-showcase-heading>p{transition:opacity .8s var(--bp-soft),transform .8s var(--bp-soft)}
.bp-section-reveal:not(.bp-section-visible) .bp-section-intro{opacity:0;transform:translateY(23px)}
.bp-section-reveal .bp-section-intro{transition:opacity 1s var(--bp-soft),transform 1s var(--bp-soft)}
.bp-section-visible .bp-section-intro{opacity:1;transform:none}
/* Refined motion for the services selector. */
.bp-lane .bp-lane-scene{transition:transform .55s var(--bp-soft),filter .55s}
.bp-lane:hover .bp-lane-scene{filter:saturate(1.08)}
.bp-lane.is-active .bp-lane-scene{filter:saturate(1.08)}
/* Accessibility and responsible mobile behaviour. */
:focus-visible{outline-color:#de6543;outline-offset:4px}
@media(max-width:1000px){.bp-hero-ring{width:140px;height:140px;top:38%;right:1%}.bp-hero-dot{right:22%;top:22%}}
@media(max-width:700px){
 .studio-nav,.studio-nav.bp-nav-scrolled{height:80px;backdrop-filter:none;-webkit-backdrop-filter:none}
 .studio-hero:before{inset:0 -17px auto;height:520px}
 .bp-hero-eyebrow{top:20px;font-size:8px;letter-spacing:.12em}
 .bp-hero-coordinate,.bp-hero-ring,.bp-hero-dot{display:none}
 .bp-marquee-track{padding:10px 0;gap:20px}.bp-marquee-track span{font-size:9px}
 .bp-project-open{opacity:1;transform:none;right:12px;bottom:12px;padding:9px 12px;font-size:9px}
 .studio-project .project-art,.studio-project .app-project-art{transform:none!important}
 .bp-cine-line>span{will-change:auto}
}
@media(max-width:420px){.bp-hero-eyebrow{font-size:7px;left:0;top:26px}}
@media(prefers-reduced-motion:reduce){
 .bp-scroll-progress{display:none}
 .studio-nav,.studio-nav.bp-nav-scrolled{transition:none;backdrop-filter:none;-webkit-backdrop-filter:none}
 .bp-motion-ready :is(.hero-side,.hero-core h1,.hero-intro,.hero-graphic,.hero-foot,.bp-hero-ring,.bp-hero-dot,.graphic-disc,.hero-asterisk,.bp-hero-eyebrow,.hero-core h1 em:after){animation:none!important}
 .hero-core h1 em:after{transform:none!important}
 .bp-marquee-track{animation:none!important}
 .bp-cine-line>span{transform:none!important;transition:none!important}
 .bp-section-reveal .bp-section-intro,.bp-section-reveal:not(.bp-section-visible) .bp-section-intro{opacity:1;transform:none;transition:none}
 .bp-project-open{opacity:1;transform:none;transition:none}
 .studio-project .project-art,.studio-project .app-project-art{transform:none!important;transition:none!important}
}
@keyframes bp-underline{from{transform:scaleX(0) rotate(-1deg)}to{transform:scaleX(1) rotate(-1deg)}}
@keyframes bp-heading-in{from{opacity:0;transform:translateY(45px);filter:blur(4px)}to{opacity:1;transform:translateY(0);filter:blur(0)}}
@keyframes bp-hero-card-enter{from{opacity:0;transform:translate3d(50px,45px,0) rotate(-15deg) scale(.88)}to{opacity:1;transform:translate3d(var(--bp-hero-shift-x,0px),var(--bp-hero-shift-y,0px),0) rotate(-7deg) scale(1)}}
@keyframes bp-soft-rise{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:translateY(0)}}
@keyframes bp-disc-breathe{from{scale:1}to{scale:1.06}}
@keyframes bp-star-turn{from{rotate:-25deg}to{rotate:335deg}}
@keyframes bp-ring-enter{from{opacity:0;scale:.6}to{opacity:1;scale:1}}
@keyframes bp-dot-enter{from{opacity:0;scale:0}to{opacity:1;scale:1}}
@keyframes bp-marquee-move{to{transform:translateX(-50%)}}
