/* Artwork stays behind the content; catalog surfaces keep their contrast. */
@layer design {
  body { isolation:isolate; padding-top:92px; }
  .site-atmosphere { display:block; position:absolute; z-index:-1; inset:0 0 auto; height:810px; pointer-events:none; overflow:hidden; background:linear-gradient(180deg,#7770c024 0%,transparent 84%); }
  .site-atmosphere::before { content:''; position:absolute; inset:0; background:url('./neuro-city-v1.jpg') center top / max(100%, 1850px) auto no-repeat; opacity:.68; mask-image:linear-gradient(#000 0%,#000 30%,transparent 74%); }
  :root[data-theme='light'] .site-atmosphere { background:linear-gradient(#cdc4ecaa,transparent 90%); }
  :root[data-theme='light'] .site-atmosphere::before { opacity:.14; mix-blend-mode:multiply; }
  .site-header { position:fixed; inset-inline:0; max-width:1280px; width:calc(100% - 64px); margin:0 auto; top:18px; border:1px solid var(--line); border-radius:19px; background:color-mix(in srgb,var(--surface) 91%,transparent); }
  .site-header .container { width:calc(100% - 40px); }
  .header-inner { height:72px; }
  .main-nav.container { height:38px; }
  .store-home { padding-top:22px; }

  /* The desktop header is one row. Mobile navigation opens from its menu button. */
  @media(min-width:701px) {
    .main-nav.container { display:none; }
    html { scroll-padding-top:106px; }
    .store-purchase,.checkout-total,.account-menu { top:106px; }
    .product-section,.product-disclosure { scroll-margin-top:0; }
  }

  .promo-carousel { position:relative; isolation:isolate; margin:0; color:#fff; border-radius:24px; touch-action:pan-y; }
  .promo-viewport { position:relative; overflow:hidden; border:1px solid #c5b0ff30; border-radius:inherit; height:340px; background:#20163b; box-shadow:0 18px 65px #08051732; }
  .promo-slide { position:absolute; inset:0; overflow:hidden; opacity:0; visibility:hidden; pointer-events:none; transition:opacity .55s ease,visibility .55s; background:#20163b; }
  .promo-slide.is-active { opacity:1; visibility:visible; pointer-events:auto; z-index:2; }
  .promo-slide::before { content:''; position:absolute; inset:0; background:linear-gradient(90deg,#1e1435f0 5%,#35204c88 53%,#2c153a14),url('./neuro-city-v1.jpg') center 33% / cover; opacity:.95; }
  .promo-slide::after { content:''; position:absolute; inset:0; pointer-events:none; background:linear-gradient(0deg,#171125aa,transparent 26%),linear-gradient(110deg,transparent 48%,#be9bff0f 48.1%,#be9bff0f 48.3%,transparent 48.4%); }
  .promo-copy { position:relative; z-index:3; padding:34px 70px 45px; max-width:760px; }
  .promo-eyebrow { display:block; font-size:10px; font-weight:550; letter-spacing:2.2px; line-height:1.7; color:#d9c2f0; margin-bottom:15px; }
  .promo-title { color:#fff; font-size:clamp(37px,3.8vw,50px); font-weight:650; line-height:1.1; letter-spacing:-1.9px; margin:0; }
  .promo-title em { color:#d6bcff; font-style:normal; }
  .promo-copy>p { color:#d5c9e4; font-size:14px; line-height:1.65; margin:17px 0 0; }



  .promo-art { position:absolute; top:0; right:0; height:100%; width:49%; pointer-events:none; }
  .promo-art--welcome { width:55%; }
  .promo-character { position:absolute; width:375px; height:562.5px; max-width:none; object-fit:contain; right:8%; top:-16px; filter:drop-shadow(0 0 30px #c082ff24); }
  .promo-orbit { position:absolute; width:390px; height:390px; top:50%; left:50%; border-radius:50%; border:1px solid #d9b9ff3b; background:radial-gradient(circle,#af7af02b,transparent 68%); transform:translate(-50%,-50%) rotate(-25deg); }
  .promo-orbit::before,.promo-orbit::after { content:''; position:absolute; border:1px solid #e3bbff1a; border-radius:50%; inset:22px -38px; transform:rotate(-32deg); }
  .promo-orbit::after { inset:53px -66px; transform:rotate(32deg); }
  .promo-wordmark { position:absolute; right:6%; top:50px; font-size:72px; line-height:.91; letter-spacing:-4px; font-weight:750; color:#ddcaff0c; -webkit-text-stroke:1px #e6d2ff30; }
  .promo-wordmark>span { display:block; text-align:right; margin-top:12px; font-size:95px; }
  .promo-arrow { position:absolute; z-index:5; top:calc(50% - 22px); display:grid; place-items:center; width:42px; height:42px; border:1px solid #ded0ff36; border-radius:50%; background:#14121ec9; color:#e8dfff; backdrop-filter:blur(10px); transition:background .2s,border-color .2s,transform .2s; }
  .promo-arrow:hover { background:#3f2b61; border-color:#c3a4ff; transform:scale(1.06); color:#fff; }
  .promo-arrow svg { width:18px; height:18px; stroke:currentColor; fill:none; stroke-width:1.7; }
  .promo-prev { left:13px; }.promo-prev svg { transform:rotate(180deg); }.promo-next { right:13px; }
  .promo-controls { position:absolute; z-index:5; bottom:13px; left:50%; transform:translateX(-50%); display:flex; align-items:center; gap:10px; }
  .promo-dots { display:flex; gap:4px; }
  .promo-dots button { display:grid; place-items:center; border:0; background:transparent; width:35px; height:28px; padding:8px 3px; border-radius:5px; }
  .promo-dots span { display:block; width:100%; height:3px; border-radius:9px; background:#c6b2de65; transition:background .25s; }
  .promo-dots button[aria-current] span { background:#f2e8ff; box-shadow:0 0 10px #dfbcff55; }
  .promo-dots button:hover span { background:#fff; }
  .promo-toggle { display:grid; place-items:center; width:28px; height:28px; border:1px solid #d7baff25; border-radius:50%; background:#20162c65; color:#eadcff; }
  .promo-toggle:hover { background:#453154; }.promo-toggle svg { width:15px; height:15px; fill:none; stroke:currentColor; stroke-width:1.7; }
  .promo-carousel button:focus-visible,.promo-carousel a:focus-visible { outline:2px solid #eee0ff; outline-offset:4px; }
  .promo-slide.is-active .promo-copy { animation:promo-copy-in .6s both; }
  .promo-slide.is-active .promo-art { animation:promo-art-in .8s both; }
  @keyframes promo-copy-in { from { opacity:0; transform:translateY(9px); } to { opacity:1; transform:none; } }
  @keyframes promo-art-in { from { opacity:.5; transform:translateX(16px) scale(1.025); } to { opacity:1; transform:none; } }

  .promo-slide--work { background:#102c33; }
  .promo-slide--work::before { background:linear-gradient(90deg,#10292ff5 10%,#174b5988 68%,#26757840),url('./neuro-city-v1.jpg') center / cover; }
  .promo-slide--work .promo-eyebrow { color:#9be3e6; }.promo-slide--work .promo-title em { color:#a9eeea; }.promo-slide--work .promo-copy>p { color:#c0d9de; }
  .promo-slide--work .promo-title,.promo-slide--creative .promo-title { font-size:clamp(32px,3.3vw,44px); }
  .promo-art--work { right:1%; width:43%; }.promo-art--work .promo-orbit { border-color:#b2fef338; background:radial-gradient(circle,#67dcd835,transparent 69%); }
  .promo-constellation { position:absolute; inset:0; }
  .promo-service { position:absolute; display:flex; flex-direction:column; align-items:center; justify-content:center; width:130px; height:144px; gap:14px; border:1px solid #ffffff35; border-radius:28px; background:linear-gradient(145deg,#586377df,#252d43ef); box-shadow:0 15px 35px #050d1838,inset 0 1px #ffffff24; transform:rotate(-11deg); }
  .promo-service img { width:57px; height:57px; object-fit:contain; }.promo-service>span { font-size:13px; font-weight:550; color:#fff; letter-spacing:-.1px; }
  .promo-service--chatgpt { left:34%; top:94px; z-index:2; width:154px; height:165px; background:linear-gradient(140deg,#35a88f,#166a68); border-color:#abf2d173; transform:rotate(8deg); }
  .promo-service--chatgpt img { width:67px; height:67px; filter:brightness(0) invert(1); }.promo-service--chatgpt>span { font-size:16px; }
  .promo-service--gemini { left:12%; top:39px; background:linear-gradient(140deg,#40457f,#212751); }
  .promo-service--claude { left:64%; top:44px; background:linear-gradient(135deg,#b87f6a,#8e4f50); transform:rotate(15deg); }
  .promo-art-caption { position:absolute; bottom:33px; left:50%; transform:translateX(-50%); white-space:nowrap; color:#b1e1e377; font-size:9px; letter-spacing:3px; }

  .promo-slide--creative { background:#351d39; }
  .promo-slide--creative::before { background:linear-gradient(90deg,#321833f7 5%,#5c2c5a99 69%,#71456d30),url('./neuro-city-v1.jpg') center / cover; }
  .promo-slide--creative .promo-eyebrow { color:#efb0dc; }.promo-slide--creative .promo-title em { color:#f3c4e7; }.promo-slide--creative .promo-copy>p { color:#dec3d9; }
  .promo-art--creative { width:42%; right:4%; }.promo-art--creative .promo-orbit { background:radial-gradient(circle,#ec85c22b,transparent 70%); }
  .promo-creative-window { position:absolute; left:22%; top:46px; width:230px; height:238px; border:1px solid #e8bded6b; border-radius:22px; padding:12px; background:linear-gradient(145deg,#9c709e80,#40294bc4); box-shadow:0 25px 50px #180d2842,inset 0 1px #ffffff33; transform:rotate(8deg); }
  .promo-film-frame { height:154px; display:grid; place-items:center; position:relative; overflow:hidden; border-radius:13px; background:linear-gradient(45deg,#2c2d69,#b66fa6); }
  .promo-film-frame::before { content:''; position:absolute; width:215px; height:150px; border-radius:50%; background:linear-gradient(140deg,#ded0ff,#9a52d1 50%,#682d82); transform:rotate(-38deg) translate(-12px,70px); box-shadow:40px -50px 0 #dd92bcb0,-50px 45px 0 #f3c8da; }
  .promo-play { position:relative; z-index:2; display:grid; place-items:center; width:45px; height:45px; border:1px solid #fff8; border-radius:50%; background:#562c7670; backdrop-filter:blur(6px); }.promo-play svg { width:22px; height:22px; fill:#fff; stroke:#fff; }
  .promo-waveform { display:flex; justify-content:center; align-items:center; gap:4px; height:55px; }.promo-waveform i { width:3px; height:14px; border-radius:4px; background:#efc7e8; }.promo-waveform i:nth-child(3n) { height:30px; }.promo-waveform i:nth-child(4n) { height:23px; }.promo-waveform i:nth-child(7n) { height:38px; }
  .promo-service--capcut { width:103px; height:112px; left:5%; top:64px; background:linear-gradient(145deg,#f1e8f3,#d1c2e8); gap:9px; transform:rotate(-14deg); }.promo-service--capcut img { width:46px; height:46px; filter:brightness(0); }.promo-service--capcut>span { color:#301e46; font-size:11px; }
  .promo-service--elevenlabs { width:117px; height:105px; right:0; top:185px; background:linear-gradient(135deg,#483853,#272333); transform:rotate(-7deg); gap:8px; }.promo-service--elevenlabs img { width:38px; height:38px; filter:brightness(0) invert(1); }.promo-service--elevenlabs>span { font-size:11px; }

  @media(min-width:1440px) { .promo-prev { left:-21px; }.promo-next { right:-21px; }.promo-copy { padding-left:54px; } }
  @media(max-width:1050px) {
    .site-header { width:calc(100% - 40px); }.promo-viewport { height:325px; }.promo-copy { padding:33px 62px; max-width:650px; }.promo-title { font-size:41px; }.promo-slide--work .promo-title,.promo-slide--creative .promo-title { font-size:36px; }.promo-copy>p { font-size:12px; max-width:330px; }.promo-character { right:0; width:345px; height:517.5px; }.promo-art--work { right:0; transform-origin:right center; }.promo-service--gemini { left:5%; }.promo-service--chatgpt { left:23%; top:108px; }.promo-service--claude { left:59%; width:106px; height:122px; }.promo-service--claude img { width:48px; height:48px; }.promo-art--creative { right:3%; }.promo-creative-window { left:16%; width:210px; }.promo-service--capcut { left:0; }.promo-service--elevenlabs { right:-3%; }
  }
  @media(min-width:701px) and (max-width:850px) {
    .promo-copy { padding-left:57px; }.promo-title { font-size:35px; }.promo-slide--work .promo-title,.promo-slide--creative .promo-title { font-size:30px; }.promo-copy>p { max-width:285px; }.promo-art--work,.promo-art--creative { width:42%; opacity:.9; }.promo-service { width:96px; height:115px; border-radius:22px; }.promo-service--chatgpt { width:126px; height:138px; left:22%; top:119px; }.promo-service img { width:45px; height:45px; }.promo-service--claude { left:55%; top:41px; }.promo-creative-window { width:170px; left:24%; }.promo-service--capcut { left:2%; }.promo-service--elevenlabs { right:0; top:207px; height:85px; }.promo-character { right:-12%; }.promo-eyebrow { font-size:9px; letter-spacing:1.7px; }
  }
  @media(max-width:700px) {
    .site-header { top:0; width:100%; max-width:none; margin:0; border:0; border-bottom:1px solid var(--line); border-radius:0; background:var(--header-bg); }
    .site-header .container { width:calc(100% - 32px); }
    .header-inner { height:auto; }
    .main-nav.container { height:auto; width:100%; }
    .site-atmosphere { height:720px; }.site-atmosphere::before { background-size:auto 610px; opacity:.46; }
    .store-home { padding-top:16px; }.promo-carousel { border-radius:19px; }.promo-viewport { height:300px; }.promo-slide::before { background-position:center; }.promo-copy { padding:25px 25px 40px; max-width:none; }.promo-eyebrow { font-size:8px; letter-spacing:1.8px; margin-bottom:13px; }.promo-title,.promo-slide--work .promo-title,.promo-slide--creative .promo-title { font-size:30px; line-height:1.15; letter-spacing:-1px; }.promo-copy>p { font-size:12px; max-width:165px; margin:16px 0 0; line-height:1.65; }
    .promo-art { width:59%; height:220px; top:auto; bottom:0; right:0; }.promo-art--welcome { height:272px; width:66%; right:-3%; }.promo-character { width:260px; height:390px; right:-25px; top:0; }.promo-wordmark { display:none; }.promo-orbit { width:245px; height:245px; }.promo-slide::after { background:linear-gradient(0deg,#171125a0,transparent 24%); }
    .promo-arrow { top:auto; bottom:12px; width:29px; height:29px; background:#21172e80; }.promo-prev { left:18px; }.promo-next { right:18px; }.promo-arrow svg { width:14px; height:14px; }.promo-controls { bottom:12px; gap:8px; }.promo-dots button { width:28px; height:29px; }.promo-toggle { width:27px; height:27px; }
    .promo-art--work { width:57%; bottom:47px; right:1%; height:165px; }.promo-service { width:75px; height:86px; border-radius:18px; gap:8px; }.promo-service img { width:35px; height:35px; }.promo-service>span { font-size:9px; }.promo-service--gemini { left:9%; top:9px; }.promo-service--chatgpt { width:100px; height:110px; left:32%; top:61px; }.promo-service--chatgpt img { width:46px; height:46px; }.promo-service--chatgpt>span { font-size:11px; }.promo-service--claude { left:57%; top:0; width:71px; height:84px; }.promo-service--claude img { width:32px; height:32px; }.promo-art-caption { display:none; }
    .promo-art--creative { width:54%; bottom:45px; right:0; height:167px; }.promo-creative-window { width:139px; height:153px; padding:8px; border-radius:17px; left:17%; top:0; }.promo-film-frame { height:100px; border-radius:9px; }.promo-waveform { height:34px; gap:3px; }.promo-waveform i { width:2px; height:9px; }.promo-waveform i:nth-child(3n) { height:21px; }.promo-waveform i:nth-child(4n) { height:15px; }.promo-waveform i:nth-child(7n) { height:26px; }.promo-play { width:33px; height:33px; }.promo-play svg { width:17px; height:17px; }.promo-service--capcut { width:67px; height:73px; left:-2%; top:17px; border-radius:16px; }.promo-service--capcut img { width:30px; height:30px; }.promo-service--capcut>span { font-size:8px; }.promo-service--elevenlabs { width:80px; height:70px; right:7%; top:109px; gap:5px; border-radius:15px; }.promo-service--elevenlabs img { width:26px; height:26px; }.promo-service--elevenlabs>span { font-size:8px; }
  }
  @media(min-width:501px) and (max-width:700px) {
    .promo-title,.promo-slide--work .promo-title,.promo-slide--creative .promo-title { font-size:38px; }.promo-copy { padding:28px 30px; }.promo-copy>p { max-width:250px; }.promo-art--welcome { width:48%; height:260px; }.promo-character { width:270px; height:405px; right:-7px; }.promo-art--work,.promo-art--creative { width:37%; bottom:55px; }.promo-service--claude { left:58%; }
  }
  @media(max-width:370px) {
    .promo-copy { padding-left:20px; padding-right:17px; }.promo-title,.promo-slide--work .promo-title,.promo-slide--creative .promo-title { font-size:27px; letter-spacing:-1px; }.promo-copy>p { max-width:145px; font-size:11px; }.promo-character { right:-28px; }.promo-service--gemini { left:5%; }.promo-service--chatgpt { left:26%; }.promo-service--claude { left:53%; }.promo-art--creative { right:-2%; }
  }
  /* Controls stay quiet until needed; each bar uses the same 7s clock as rotation. */
  .promo-arrow { opacity:0; pointer-events:none; transition:opacity .2s,background .2s,border-color .2s,transform .2s; }
  @media(min-width:701px) and (hover:hover) and (pointer:fine) { .promo-carousel:hover .promo-arrow { opacity:1; pointer-events:auto; } }
  .promo-carousel:has(:focus-visible) .promo-arrow { opacity:1; pointer-events:auto; }
  .promo-controls { gap:0; }
  .promo-dots button { width:42px; }
  .promo-dots span { position:relative; overflow:hidden; background:#c6b2de55; }
  .promo-dots button[aria-current] span { background:#c6b2de75; box-shadow:none; }
  .promo-dots button:hover span { background:#c6b2de90; }
  .promo-dots i { display:block; width:0; height:100%; border-radius:inherit; background:#f2e8ff; animation:none!important; transition:none!important; }
  .promo-dots .is-complete i { width:100%; }
  /* No pause icon. A text control is available on keyboard focus for accessibility. */
  .promo-toggle { position:absolute; z-index:8; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
  .promo-toggle:focus-visible { width:auto; height:auto; padding:8px 12px; margin:0; clip-path:none; top:12px; right:15px; border:1px solid #d7baff65; border-radius:8px; background:#20162cf5; font-size:11px; }

  /* Banner artwork has its own fixed palette in both interface themes. */
  :root .promo-carousel .promo-service--capcut .service-logo { filter:brightness(0); }
  :root .promo-carousel .promo-service--chatgpt .service-logo,
  :root .promo-carousel .promo-service--elevenlabs .service-logo { filter:brightness(0) invert(1); }
  @media(min-width:701px) { .promo-character { top:6px; }.promo-copy { height:100%; display:flex; flex-direction:column; justify-content:center; padding-top:30px; padding-bottom:48px; } }
  @media(max-width:500px) {
    .promo-slide--work .promo-title,.promo-slide--creative .promo-title { font-size:26px; }
    .promo-copy>p { max-width:140px; }
    .promo-art--welcome { height:182px; }
    .promo-character { width:240px; height:360px; }
    .promo-service--gemini { left:18%; }
    .promo-art--creative { width:51%; right:-2%; }
    .promo-service--capcut { left:8%; }
  }
  @media(max-width:370px) {
    .promo-slide--work .promo-title,.promo-slide--creative .promo-title { font-size:23px; }
    .promo-copy>p { max-width:130px; }
  }
  @media(max-width:700px) {
    .promo-copy { padding-left:54px; padding-right:24px; }

    .promo-art--work,.promo-art--creative { scale:.84; transform-origin:bottom right; bottom:38px; }
    .promo-arrow { top:calc(50% - 22px); bottom:auto; width:44px; height:44px; background:#14121ec9; }
    .promo-prev { left:7px; }.promo-next { right:7px; }
    .promo-arrow svg { width:18px; height:18px; }
  }
  @media(max-width:500px) { .promo-copy>p { max-width:115px; } }
  @media(max-width:370px) { .promo-copy>p { max-width:90px; } }
  @media(max-width:700px),(hover:none),(pointer:coarse) {
    .promo-carousel .promo-arrow { opacity:0; pointer-events:none; }
    .promo-carousel.controls-visible .promo-arrow,.promo-carousel:has(:focus-visible) .promo-arrow { opacity:1; pointer-events:auto; }
  }
  @media(max-width:700px) {
    .promo-viewport { height:250px; }
    .promo-copy { padding:22px 24px 34px; }
    .promo-eyebrow { margin-bottom:10px; }
    .promo-copy>p { margin-top:13px; }
    .promo-art--welcome { height:225px; }
    .promo-character { width:235px; height:352.5px; right:-7px; }
    .promo-art--work,.promo-art--creative { scale:.72; bottom:30px; }
    .promo-arrow { background:#14121eed; }
  }
  @media(max-width:500px) {
    .promo-art--welcome { height:159px; }
    .promo-character { width:210px; height:315px; right:-12px; }
    .promo-copy>p { max-width:150px; }
  }
  @media(max-width:370px) {
    .promo-viewport { height:240px; }
    .promo-copy { padding-left:20px; }
    .promo-copy>p { max-width:133px; }
    .promo-character { width:195px; height:292.5px; }
    .promo-art--welcome { height:151px; }
  }
  @media(prefers-reduced-motion:reduce) {
    .promo-carousel *,.promo-carousel *::before,.promo-carousel *::after { animation:none !important; transition:none !important; }

  }
}
