/* OUTSPACE V18 — interactive art direction, inspired by the supplied motion reference */
:root{--os-violet:#7956f4;--os-paper:#f3f1ed;--os-ink:#111016;--os-ease:cubic-bezier(.2,.75,.2,1)}
html{scroll-behavior:smooth}
body{overflow-x:hidden}
/* slim scroll progress indicator */
.os-scroll-progress{position:fixed;z-index:2000;left:0;top:0;width:100%;height:2px;pointer-events:none;background:transparent}
.os-scroll-progress i{display:block;width:0;height:100%;background:linear-gradient(90deg,#7855ff,#a89aff,#6f8cff);box-shadow:0 0 12px rgba(120,85,255,.45)}
/* new split-stage hero */
body:not(.inner-page) .header{color:#17151d;border-color:rgba(17,16,22,.1);mix-blend-mode:normal}
body:not(.inner-page) .header .brand img{filter:none}
body:not(.inner-page) .header .nav-cta{border-color:rgba(17,16,22,.35)}
body:not(.inner-page) .header .nav>a:not(.nav-cta){color:#292631}
body:not(.inner-page) .header .theme-toggle{color:#292631}
.hero.section-dark{background:var(--os-paper);color:var(--os-ink);min-height:820px;height:min(940px,100svh);isolation:isolate}
.hero:after{background:radial-gradient(ellipse at 78% 48%,rgba(121,86,244,.13),transparent 36%),linear-gradient(90deg,#f3f1ed 0%,rgba(243,241,237,.98) 43%,rgba(243,241,237,.24) 100%);z-index:0}
.hero-grid{background-image:linear-gradient(rgba(20,18,26,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(20,18,26,.045) 1px,transparent 1px);mask-image:linear-gradient(90deg,black,transparent 96%);z-index:0}
.hero-orb{opacity:.38;border-color:rgba(121,86,244,.25)}
.hero-content{z-index:3;padding-top:115px;pointer-events:none}
.hero-content>*{pointer-events:auto}
.hero-content .eyebrow{color:#6c6873}
.hero h1{font-size:clamp(68px,8.7vw,126px);max-width:760px;line-height:.91;position:relative;z-index:2}
.hero .gradient-text{background:linear-gradient(105deg,#5f3dd8 0%,#8466f5 50%,#4f70d9 100%);-webkit-background-clip:text;background-clip:text}
.hero-bottom{max-width:550px;margin-top:34px;align-items:center}
.hero-bottom p{color:#6e6975;font-size:15px;max-width:300px}
.hero .circle-link{border-color:rgba(20,18,26,.35);color:#17151d;width:94px;height:94px;font-size:10px;position:relative;z-index:4}
.hero .circle-link:hover{background:#17151d;color:#fff}
.hero-index{color:#8b8791;margin-top:50px}
.hero-side-label{color:#8b8791;z-index:4}
.hero-artboard{position:absolute;z-index:2;right:max(3.8%,calc((100vw - 1400px)/2));top:50%;width:min(51vw,690px);height:min(65vh,600px);transform:translateY(-43%);pointer-events:none;perspective:1100px}
.hero-art-orbit{position:absolute;border:1px solid rgba(117,86,239,.24);border-radius:50%;pointer-events:none}
.orbit-a{width:78%;aspect-ratio:1;left:11%;top:9%;transform:rotate(-22deg) scaleY(.62)}
.orbit-b{width:100%;height:74%;left:0;top:15%;border-style:dashed;opacity:.55;transform:rotate(18deg)}
.hero-art-card{position:absolute;margin:0;padding:9px 9px 0;background:#fff;border:1px solid rgba(25,22,32,.1);border-radius:7px;box-shadow:0 24px 70px rgba(29,23,45,.15);width:34%;overflow:hidden;transform-style:preserve-3d;will-change:transform;animation:os-float 7s ease-in-out infinite}
.hero-art-card img{width:100%;height:100%;aspect-ratio:4/5;object-fit:cover;border-radius:3px}
.hero-art-card figcaption{height:27px;display:flex;justify-content:space-between;align-items:center;font-size:7px;letter-spacing:.12em;color:#797480}
.hero-art-card figcaption b{font-weight:500;color:#8a73ed}
.hero-art-card-a{left:8%;top:11%;width:31%;transform:rotate(-9deg);animation-delay:-1.5s}
.hero-art-card-b{right:6%;top:3%;width:29%;transform:rotate(8deg);animation-delay:-3s}
.hero-art-card-c{left:29%;bottom:3%;width:33%;transform:rotate(4deg);animation-delay:-4.4s}
.hero-art-card-d{right:2%;bottom:12%;width:27%;transform:rotate(-7deg);animation-delay:-2.2s}
.hero-art-note{position:absolute;left:0;bottom:9%;font-size:9px;line-height:1.35;letter-spacing:.16em;color:#7d7787;transform:rotate(-8deg)}
@keyframes os-float{0%,100%{translate:0 0}50%{translate:0 -13px}}
/* moving discipline strip */
.discipline-marquee{overflow:hidden;background:#17151d;color:#f7f5fb;padding:18px 0;border-top:1px solid rgba(255,255,255,.08);border-bottom:1px solid rgba(255,255,255,.08)}
.discipline-track{display:flex;align-items:center;gap:27px;width:max-content;white-space:nowrap;animation:os-marquee 34s linear infinite;font-size:10px;letter-spacing:.2em}
.discipline-track i{font-style:normal;color:#9d87ff;font-size:17px}
@keyframes os-marquee{to{transform:translateX(-50%)}}
/* Make client logos and selected work feel more tactile */
.client-band{position:relative}
.client-marquee{animation:os-client-drift 46s linear infinite}
.client-band:hover .client-marquee{animation-play-state:paused}
@keyframes os-client-drift{to{transform:translateX(-50%)}}
.editorial-home-card figure,.portfolio-tile figure{isolation:isolate;transition:background .45s var(--os-ease),border-radius .45s var(--os-ease),transform .45s var(--os-ease)}
.editorial-home-card:hover figure,.portfolio-tile:hover figure{background:#e9e4f2!important;transform:translateY(-5px)}
.editorial-home-card img,.portfolio-tile img{transition:transform .8s var(--os-ease),filter .5s!important}
.editorial-home-card:hover img,.portfolio-tile:hover img{transform:scale(1.045) rotate(-.6deg)!important;filter:saturate(1.08)}
.editorial-home-meta h3,.portfolio-tile .work-meta h3{transition:color .25s ease}
.editorial-home-card:hover h3,.portfolio-tile:hover h3{color:#7050e8}
/* Section transitions: large type, generous rhythm and soft entrance */
.section-heading h2,.manifesto h2,.principles h2,.contact-inner h2{text-wrap:balance}
.service-row{position:relative;overflow:hidden}
.service-row:before{content:"";position:absolute;inset:0 auto 0 0;width:0;background:linear-gradient(90deg,rgba(121,86,244,.08),transparent);transition:width .55s var(--os-ease);pointer-events:none}
.service-row:hover:before{width:100%}
.service-row>*{position:relative}
.service-symbol{transition:transform .45s var(--os-ease)}
.service-row:hover .service-symbol{transform:rotate(45deg) scale(1.12)}
.manifesto{isolation:isolate}
.manifesto:before{content:"";position:absolute;width:58vw;aspect-ratio:1;border:1px solid rgba(159,139,255,.13);border-radius:50%;right:-15vw;top:2%;box-shadow:0 0 0 65px rgba(159,139,255,.025),0 0 0 130px rgba(159,139,255,.02);z-index:-1;animation:os-orbit 34s linear infinite}
@keyframes os-orbit{to{transform:rotate(360deg)}}
.testimonial{transition:opacity .3s ease}
.slider-controls button{transition:transform .25s var(--os-ease),background .25s,color .25s}
.slider-controls button:hover{transform:translateY(-3px)}
/* Project detail pages: scroll-led art direction */
.immersive-case .ic-hero-art figure{transform:rotate(2deg);box-shadow:0 30px 90px rgba(0,0,0,.28);transition:transform .7s var(--os-ease),box-shadow .7s var(--os-ease)}
.immersive-case .ic-hero-art:hover figure{transform:rotate(0) translateY(-8px);box-shadow:0 38px 100px rgba(0,0,0,.34)}
.immersive-case .ic-full-art img,.immersive-case .ic-break-image img{transition:transform 1.1s var(--os-ease)}
.immersive-case .ic-full-art:hover img,.immersive-case .ic-break-image:hover img{transform:scale(1.025)}
.ic-mock{transition:transform .6s var(--os-ease),box-shadow .6s var(--os-ease)}
.ic-mock:hover{transform:translateY(-8px) rotate(.5deg)}
/* Studio and services cards */
.service-detail{transition:padding .45s var(--os-ease),background .45s var(--os-ease)}
.service-detail:hover{padding-left:18px;background:rgba(121,86,244,.035)}
/* General link and button tactility */
.contact-button,.nav-cta,.text-link,.contact-page a,.ic-outro-actions a{transition:transform .3s var(--os-ease),color .3s ease,background .3s ease}
.contact-button:hover,.nav-cta:hover{transform:translateY(-3px)}
/* Motion reveal added progressively by JS; no-JS stays visible */
.os-reveal{opacity:0;transform:translate3d(0,28px,0);transition:opacity .85s var(--os-ease),transform .85s var(--os-ease)}
.os-reveal.os-visible{opacity:1;transform:translate3d(0,0,0)}
.os-reveal[data-os-delay="1"]{transition-delay:.1s}.os-reveal[data-os-delay="2"]{transition-delay:.2s}.os-reveal[data-os-delay="3"]{transition-delay:.3s}
/* Theme-aware surfaces */
:root[data-theme="dark"] body:not(.inner-page) .header{color:#f7f6fa;border-color:rgba(255,255,255,.14)}
:root[data-theme="dark"] body:not(.inner-page) .header .brand img{filter:brightness(0) invert(1)}
:root[data-theme="dark"] body:not(.inner-page) .header .nav>a:not(.nav-cta),:root[data-theme="dark"] body:not(.inner-page) .header .theme-toggle{color:#f7f6fa}
:root[data-theme="dark"] body:not(.inner-page) .header .nav-cta{border-color:rgba(255,255,255,.45)}
:root[data-theme="dark"] .hero.section-dark{background:#09090d;color:#f7f6fa}
:root[data-theme="dark"] .hero:after{background:radial-gradient(ellipse at 78% 48%,rgba(102,74,255,.3),transparent 38%),linear-gradient(90deg,#09090d 0%,rgba(9,9,13,.96) 43%,rgba(9,9,13,.28) 100%)}
:root[data-theme="dark"] .hero-grid{background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px)}
:root[data-theme="dark"] .hero-content .eyebrow,:root[data-theme="dark"] .hero-bottom p,:root[data-theme="dark"] .hero-index,:root[data-theme="dark"] .hero-side-label{color:#b0abb9}
:root[data-theme="dark"] .hero .gradient-text{background:linear-gradient(105deg,#fff 5%,#b7a6ff 48%,#6e8aff 92%);-webkit-background-clip:text;background-clip:text}
:root[data-theme="dark"] .hero .circle-link{border-color:rgba(255,255,255,.5);color:#fff}
:root[data-theme="dark"] .hero .circle-link:hover{background:var(--os-violet)}
:root[data-theme="dark"] .hero-art-card{background:#211e29;border-color:rgba(255,255,255,.12)}
:root[data-theme="dark"] .hero-art-card figcaption{color:#b7b0c3}
:root[data-theme="dark"] .hero-art-note{color:#c2b9d4}
:root[data-theme="dark"] .client-band{background:#17151d}
:root[data-theme="dark"] .client-head .eyebrow,:root[data-theme="dark"] .client-note{color:#b8b2c1}
:root[data-theme="dark"] .editorial-home-card figure,:root[data-theme="dark"] .portfolio-tile figure{background:#26222f!important}
:root[data-theme="dark"] .editorial-home-meta p,:root[data-theme="dark"] .editorial-home-meta>div>span,:root[data-theme="dark"] .portfolio-tile .tile-description{color:#aaa4b3}
:root[data-theme="dark"] .discipline-marquee{background:#7855f4}
/* Responsive composition */
@media(max-width:1100px){.hero{min-height:760px;height:auto;padding:130px 0 75px}.hero-content{padding-top:20px}.hero-artboard{right:0;width:48vw;height:500px;opacity:.9}.hero h1{font-size:clamp(62px,8vw,96px);max-width:560px}.hero-bottom{max-width:460px}.hero-index{margin-top:40px}}
@media(max-width:760px){body:not(.inner-page) .header{color:#17151d}.hero{min-height:800px;padding:125px 0 40px;align-items:flex-start}.hero:after{background:linear-gradient(180deg,#f3f1ed 0%,rgba(243,241,237,.98) 48%,rgba(243,241,237,.28) 100%)}.hero-content{padding-top:15px}.hero h1{font-size:clamp(58px,12vw,88px);max-width:100%;line-height:.94}.hero-bottom{margin-top:24px;max-width:100%;align-items:center}.hero-bottom p{font-size:13px;max-width:240px}.hero .circle-link{width:76px;height:76px;font-size:9px}.hero-index{margin-top:25px;font-size:8px}.hero-artboard{top:auto;bottom:5px;right:3%;width:90%;height:340px;transform:none;opacity:.98}.hero-art-card{width:29%;padding:6px 6px 0}.hero-art-card img{aspect-ratio:4/5}.hero-art-card-a{left:5%;top:8%;width:30%}.hero-art-card-b{right:7%;top:0;width:27%}.hero-art-card-c{left:31%;bottom:0;width:31%}.hero-art-card-d{right:2%;bottom:6%;width:25%}.hero-art-note{left:0;bottom:12%;font-size:7px}.hero-side-label{display:none}.discipline-marquee{padding:14px 0}.discipline-track{font-size:8px;gap:18px}.client-band{padding:22px 0 27px}.client-head{align-items:flex-start;gap:12px;flex-direction:column}.client-note{font-size:10px}}
@media(max-width:420px){.hero{min-height:760px}.hero-artboard{height:300px;bottom:0}.hero h1{font-size:57px}.hero-bottom p{max-width:205px}.hero-index{gap:16px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.os-reveal{opacity:1;transform:none}}
/* Shared inner-page hero and archive treatment */
.inner-hero{isolation:isolate}
.inner-hero:after{content:"";position:absolute;right:-9vw;top:8%;width:min(42vw,560px);aspect-ratio:1;border:1px solid rgba(164,143,255,.2);border-radius:50%;box-shadow:0 0 0 48px rgba(164,143,255,.035),0 0 0 96px rgba(164,143,255,.025);animation:os-orbit 42s linear infinite;pointer-events:none}
.inner-hero>.wrap{position:relative;z-index:1}
.archive-intro h2{letter-spacing:-.085em}
.filter-button{transition:background .3s var(--os-ease),color .3s var(--os-ease),border-color .3s var(--os-ease),transform .3s var(--os-ease)}
.filter-button:hover{transform:translateY(-2px)}
.contact-page-grid>div:first-child{position:relative}
.contact-page-grid>div:first-child:after{content:"✳";position:absolute;right:4%;bottom:-4%;font-size:clamp(80px,13vw,180px);line-height:1;color:#7956f4;opacity:.09;animation:os-orbit 48s linear infinite}
.footer-brand{transition:letter-spacing .4s var(--os-ease)}
.footer-brand:hover{letter-spacing:.08em}
@media(max-width:760px){.inner-hero:after{width:68vw;right:-35vw;top:16%}.contact-page-grid>div:first-child:after{right:0;bottom:-7%}}
