/* C8RE / PRISM
   Pure black. Warm white. Refracted, low-saturation light.
   One shared language for storefront, catalog, products and checkout. */
:root {
  color-scheme: dark;
  --black: #000;
  --surface: #0a0a0b;
  --surface-raised: #121213;
  --white: #f3f2ef;
  --muted: #a4a3a6;
  --quiet: #858489;
  --line: rgba(255,255,255,.13);
  --line-strong: rgba(255,255,255,.25);
  --prism: linear-gradient(105deg,#e4bdb4 2%,#e8d5b2 22%,#c8dfc9 42%,#b8d7e5 60%,#c2bce3 78%,#e0bfd4 100%);
  --font: 'DM Sans', Arial, sans-serif;
  --ease: cubic-bezier(.16,1,.3,1);
  --header: 88px;
  --gutter: clamp(24px,5.5vw,96px);
  --tebex-legal-footer-background-color: #000;
  --tebex-legal-footer-text-color: #a4a3a6;
  --tebex-legal-footer-border-color: #252525;
  --tebex-legal-footer-logo-color: #f3f2ef;
}
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--black); color: var(--white); font: 15px/1.65 var(--font); -webkit-font-smoothing: antialiased; }
body.menu-open,body.dialog-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button,input,select,textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button { background: none; border: 0; }
img,video,canvas { display: block; max-width: 100%; }
img { height: auto; }
svg { flex-shrink: 0; }
h1,h2,h3,p { margin: 0; }
h1,h2,h3 { font-weight: 500; line-height: 1.07; letter-spacing: -.055em; }
h2 { font-size: clamp(38px,4.4vw,64px); }
h3 { letter-spacing: -.025em; }
[hidden] { display: none !important; }
::selection { color: #000; background: #d0cee2; }
:focus-visible { outline: 2px solid #d4d8e6; outline-offset: 6px; }
.wrap { width: calc(100% - var(--gutter) * 2); max-width: 1320px; margin-inline: auto; }
.section-space { padding-block: clamp(90px,10vw,150px); }
.eyebrow,.section-number,.resource-kind { font-size: 10px; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; line-height: 1.7; }
.eyebrow { color: #b3b2b6; margin-bottom: 26px; }
.eyebrow .spectrum-dot { margin-right: 10px; }
.section-number,.resource-kind { color: var(--quiet); }
.muted { color: var(--muted); }
.prism-text { background: var(--prism); background-clip: text; -webkit-background-clip: text; color: transparent; }
.spectrum-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--prism); box-shadow: 0 0 14px #d4cbd14a; vertical-align: middle; }
.skip-link { position: fixed; top: -70px; left: 24px; z-index: 300; background: var(--white); color: #000; padding: 12px 20px; }
.skip-link:focus { top: 10px; }

/* Continuous spectral wash, fading softly into the black page. */
.prism-field { position: absolute; inset: 0 0 auto; height: 750px; overflow: hidden; pointer-events: none; z-index: -1; }
.prism-light { position: absolute; width: 138%; height: 420px; left: -19%; top: -240px; background: linear-gradient(103deg,#dca78b 5%,#caba99 22%,#91b6ac 40%,#88a4bd 56%,#a898be 72%,#b18d9f 90%); filter: blur(76px); opacity: .32; transform: rotate(-7deg); animation: prism-breathe 18s ease-in-out infinite alternate; }
.prism-filament { position: absolute; top: -75px; left: 8%; width: 90%; height: 165px; border-radius: 50%; background: var(--prism); filter: blur(52px); opacity: .13; transform: rotate(-8deg); animation: prism-drift 24s ease-in-out infinite alternate; }
@keyframes prism-breathe { from { transform: translate3d(-2%,-10px,0) rotate(-7deg) scaleY(.94); opacity: .25; } to { transform: translate3d(3%,45px,0) rotate(-4deg) scaleY(1.14); opacity: .4; } }
@keyframes prism-drift { to { transform: translate3d(-7%,40px,0) rotate(-5deg); opacity: .23; } }
body { isolation: isolate; }

/* Navigation */
.site-header { position: absolute; inset: 0 0 auto; height: var(--header); z-index: 50; }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-bottom: 1px solid rgba(255,255,255,.11); }
.wordmark { font-size: 38px; font-weight: 650; letter-spacing: -.09em; line-height: 1; display: inline-flex; align-items: baseline; }
.wordmark-eight { letter-spacing: -.12em; }
.wordmark-period { font-size: 9px; align-self: start; letter-spacing: 0; margin: 5px 0 0 7px; }
.desktop-nav { display: flex; align-items: center; gap: 36px; margin-left: 50px; }
.desktop-nav a,.header-support { font-size: 12px; color: #c9c8cb; transition: color .2s; }
.desktop-nav a:hover,.desktop-nav a[aria-current],.header-support:hover { color: #fff; }
.small-arrow { color: var(--quiet); margin-left: 4px; }
.header-actions { display: flex; align-items: center; gap: 28px; }
.header-support span { margin-left: 10px; }
.basket-link { display: inline-flex; gap: 9px; align-items: center; font-size: 11px; min-height: 44px; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 12px; }
.menu-toggle span { height: 1px; background: var(--white); width: 20px; display: block; margin: 6px 0; transition: transform .3s; }
.menu-toggle[aria-expanded=true] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded=true] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu { background: #080808; padding: 22px var(--gutter) 40px; border-bottom: 1px solid var(--line); max-height: calc(100dvh - var(--header)); overflow-y: auto; }
.mobile-menu a { display: flex; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
.mobile-menu a span { color: var(--quiet); }

/* Shared controls */
.button { min-height: 52px; padding: 15px 22px; display: inline-flex; align-items: center; justify-content: center; gap: 32px; font-size: 12px; font-weight: 550; border-radius: 4px; border: 1px solid transparent; transition: background .25s,color .25s,transform .25s; }
.button span { font-size: 18px; line-height: 1; }
.button-primary { background: var(--white); color: #141414; }
.button-primary:hover { background: #dcd9d3; transform: translateY(-2px); }
.button-secondary { border-color: var(--line-strong); }
.button-secondary:hover { background: var(--surface-raised); border-color: #777; }
.text-link { font-size: 12px; display: inline-flex; align-items: center; gap: 14px; padding: 10px 0; line-height: 1.5; }
.text-link:hover { color: #d7cce0; }
.hero-actions { display: flex; gap: 30px; align-items: center; flex-wrap: wrap; }

/* Opening chapter. The existing character sequence is scrubbed, never autoplayed. */
.hero-scroll { position: relative; height: 155svh; min-height: 1000px; }
.hero-sticky { position: sticky; top: 0; height: 100svh; min-height: 680px; overflow: hidden; mix-blend-mode: screen; }
.hero-inner { height: 100%; position: relative; display: flex; align-items: center; padding-top: 50px; }
.hero-copy { position: relative; z-index: 2; width: 64%; padding-bottom: 10px; }
.hero-copy .eyebrow { margin-bottom: 28px; font-size: 9px; }
.hero-copy h1 { font-size: clamp(64px,7.55vw,112px); line-height: 1.005; letter-spacing: -.065em; }
.hero-description { font-size: 15px; line-height: 1.85; color: var(--muted); margin: 28px 0 28px; }
.hero-frameworks { margin-top: 45px; }
.hero-frameworks>span { display: block; font-size: 8px; letter-spacing: .17em; color: var(--quiet); margin-bottom: 10px; }
.hero-frameworks>div { display: flex; align-items: center; gap: 17px; font-size: 12px; color: #bfbdc1; }
.hero-frameworks i { height: 3px; width: 3px; background: #777; border-radius: 50%; }
.hero-art { position: absolute; bottom: 47px; right: -2%; width: 47%; height: calc(100% - 125px); mix-blend-mode: screen; }
.hero-art canvas,.hero-poster { position: absolute; width: auto; height: 110%; max-width: none; left: 50%; bottom: -5%; transform: translateX(-50%); mask-image: linear-gradient(to bottom,transparent,#000 12%,#000 85%,transparent 96%); }
.hero-art canvas { opacity: 0; }
.hero-art.ready canvas { opacity: 1; }
.hero-art.ready .hero-poster { opacity: 0; }
.art-caption { position: absolute; bottom: 6%; right: -1%; display: flex; align-items: center; gap: 12px; font-size: 9px; color: #aaa7aa; }
.caption-line { width: 30px; height: 1px; background: #777; }
.hero-bottom { position: absolute; bottom: 24px; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; font-size: 8px; letter-spacing: .14em; color: var(--quiet); }
.hero-bottom a { font-size: 10px; letter-spacing: 0; color: #b4b3b8; display: flex; align-items: center; gap: 16px; padding: 10px; }

/* Editorial rhythm */
.manifesto { border-top: 1px solid var(--line); }
.statement { max-width: 1070px; font-size: clamp(38px,4.8vw,70px); line-height: 1.2; }
.statement .word { color: #666469; transition: color .3s; }
.statement .word.lit { color: var(--white); }
.manifesto-bottom { display: flex; justify-content: space-between; gap: 50px; margin-top: 55px; align-items: start; }
.manifesto-bottom p { max-width: 410px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 35px; margin-bottom: 50px; }
.section-head>p { color: var(--muted); font-size: 13px; max-width: 310px; line-height: 1.9; }
.collection { border-top: 1px solid var(--line); }
.collection-navigation { display: flex; align-items: center; justify-content: space-between; gap: 22px; border-top: 1px solid var(--line); padding: 24px 0; margin-bottom: 18px; }
.collection-navigation>span { font-size: 9px; letter-spacing: .13em; color: var(--quiet); }
.collection-navigation>div { display: flex; gap: 24px; flex-wrap: wrap; }
.collection-navigation a { font-size: 12px; padding: 6px 0; }
.collection-navigation a:hover { color: #d0c3df; }
.collection-navigation a span { margin-left: 12px; color: var(--quiet); }
.featured-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 68px 30px; }
.resource-card { display: block; min-width: 0; }
.resource-image { aspect-ratio: 570/321; background: var(--surface); position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.08); border-radius: 5px; }
.resource-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.65); transition: transform .8s var(--ease),filter .8s; }
.resource-card:hover img { transform: scale(1.035); filter: saturate(.95); }
.image-arrow { position: absolute; bottom: 16px; right: 16px; display: grid; place-items: center; width: 32px; height: 32px; background: #141414bb; border: 1px solid #ffffff33; border-radius: 50%; color: #ddd; font-size: 17px; transition: background .2s; }
.resource-card:hover .image-arrow { background: #eee; color: #111; }
.resource-heading { margin-top: 22px; display: flex; gap: 18px; align-items: baseline; justify-content: space-between; }
.resource-heading h3,.resource-heading h2 { font-size: 23px; letter-spacing: -.035em; line-height: 1.3; }
.resource-heading>span { font-size: 10px; color: var(--quiet); }
.resource-card>p { color: var(--muted); font-size: 12px; margin-top: 8px; }
.resource-kind { display: block; font-size: 8px; margin-top: 17px; }
.resource-monogram { height: 100%; min-height: 200px; display: grid; place-items: center; font-size: 90px; letter-spacing: -.1em; background: linear-gradient(130deg,#151417,#050505); color: #c6c2ca; }
.experience { position: relative; overflow: hidden; border-block: 1px solid var(--line); }
.experience-inner { position: relative; z-index: 1; }
.experience-kicker { display: flex; justify-content: space-between; }
.experience h2 { font-size: clamp(45px,6.5vw,92px); line-height: 1.1; margin-top: 50px; }
.experience p { color: var(--muted); font-size: 15px; line-height: 1.9; margin-top: 30px; }
.experience .hero-actions { margin-top: 32px; }
.experience-halo { position: absolute; height: 650px; width: 85%; right: -35%; top: 3%; background: var(--prism); opacity: .08; filter: blur(85px); mask-image: radial-gradient(ellipse,#000,transparent 66%); transform: rotate(-22deg); }
.experience-note { display: flex; gap: 40px; font-size: 9px; color: var(--quiet); padding-top: 60px; margin-top: 65px; border-top: 1px solid var(--line); }
.care-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 45px; }
.care-grid article { border-top: 1px solid var(--line); padding-top: 30px; display: flex; flex-direction: column; align-items: start; }
.care-grid h3 { margin: 30px 0 16px; font-size: 25px; }
.care-grid p { color: var(--muted); font-size: 13px; line-height: 1.9; margin-bottom: 20px; }
.care-grid a { margin-top: auto; }
.faq { border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { cursor: pointer; display: flex; align-items: center; justify-content: space-between; list-style: none; gap: 20px; padding: 24px 0; font-size: 14px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--muted); font-size: 22px; font-weight: 400; transition: transform .2s; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details>div { font-size: 13px; color: var(--muted); padding: 0 35px 25px 0; line-height: 1.9; }
.faq-list a { text-decoration: underline; text-underline-offset: 3px; color: #ddd; }
.closing { border-top: 1px solid var(--line); padding-block: 75px 110px; }
.closing>a { font-size: clamp(37px,6.7vw,96px); letter-spacing: -.06em; line-height: 1.1; display: flex; justify-content: space-between; gap: 20px; }
.closing>a>span { transition: transform .4s; }
.closing>a:hover>span { transform: translate(8px,-8px); }
.site-footer { border-top: 1px solid var(--line); padding-block: 50px 25px; }
.footer-top { display: flex; justify-content: space-between; gap: 30px; padding-bottom: 60px; }
.footer-top p { color: var(--muted); font-size: 11px; margin-top: 15px; }
.footer-links { display: flex; gap: 30px; align-items: start; font-size: 11px; color: #c0bec4; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 9px; color: var(--quiet); border-top: 1px solid var(--line); padding-top: 24px; align-items: center; }
.motion-toggle { padding: 5px 0; font-size: 9px; color: var(--muted); }
.footer-bottom a:hover,.footer-links a:hover { color: #fff; }

/* Collection */
.page-heading { padding: 140px 0 64px; }
.breadcrumb { color: var(--muted); font-size: 11px; }
.breadcrumb span { margin-inline: 14px; color: var(--quiet); }
.page-heading .eyebrow { margin-top: 65px; }
.page-heading h1 { font-size: clamp(56px,8vw,108px); }
.page-heading>p:last-child,.category-description { color: var(--muted); font-size: 15px; margin-top: 25px; max-width: 660px; }
.category-tabs { display: flex; gap: 28px; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.category-tabs a { padding: 12px 0 20px; font-size: 13px; color: var(--muted); border-bottom: 1px solid transparent; }
.category-tabs a[aria-current] { color: #fff; border-color: #ddd; }
.catalog-tools { display: flex; justify-content: space-between; gap: 20px; padding-top: 34px; }
.search-field { display: flex; align-items: center; gap: 14px; width: 350px; max-width: 100%; border-bottom: 1px solid var(--line-strong); }
input,select,textarea { background: var(--surface); border: 1px solid var(--line-strong); border-radius: 3px; padding: 12px; min-height: 46px; }
.search-field input { width: 100%; background: none; border: 0; padding: 12px 0; font-size: 13px; }
input::placeholder { color: var(--quiet); opacity: 1; }
.sort-field { display: flex; gap: 14px; align-items: center; font-size: 11px; color: var(--muted); }
.sort-field select { font-size: 12px; }
.catalog-count { color: var(--quiet); margin: 24px 0; font-size: 11px; }
.catalog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 55px 28px; padding-bottom: 80px; }
.card-price { font-size: 15px; white-space: nowrap; }
.card-price small { color: var(--muted); font-size: 9px; }
.card-price s { font-size: 11px; color: var(--quiet); margin-right: 8px; }
.sale-label { position: absolute; top: 12px; left: 12px; font-size: 10px; background: #171717de; border: 1px solid var(--line); border-radius: 3px; padding: 5px 10px; }
.empty-state { text-align: center; padding: 90px 24px; }
.empty-state h2 { font-size: 32px; }
.empty-state p { color: var(--muted); margin: 20px 0 28px; }
.help-strip { border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-block: 80px; }
.help-strip h2 { font-size: clamp(30px,3vw,46px); }
.help-strip p:not(.eyebrow) { color: var(--muted); font-size: 13px; margin-top: 18px; }
.help-strip .eyebrow { margin-bottom: 20px; }
.help-actions { display: flex; flex-direction: column; gap: 10px; align-items: center; }

/* Product: readable without JS; enhancement expands the image then settles it beside purchase. */
.product-breadcrumb { padding-top: 125px; display: flex; justify-content: space-between; align-items: center; }
.product-scroll { margin-top: 50px; }
.product-heading { text-align: center; max-width: 1020px; margin: 0 auto 55px; }
.product-heading h1 { font-size: clamp(48px,6.5vw,90px); }
.product-summary { color: var(--muted); margin-top: 22px; font-size: 15px; }
.product-heading>.text-link { margin-top: 16px; }
.product-stage { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(280px,1fr); gap: 60px; align-items: center; padding-bottom: 80px; }
.product-visual { min-width: 0; transform-origin: top left; }
.product-main-media { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
.product-main-media>img { width: 100%; aspect-ratio: 570/321; object-fit: cover; }
.product-media-caption { display: flex; justify-content: space-between; gap: 15px; color: var(--quiet); font-size: 8px; letter-spacing: .1em; padding-top: 15px; }
.product-media-caption>span:first-child { letter-spacing: 0; font-size: 10px; }
.watch-button { position: absolute; bottom: 18px; left: 18px; padding: 10px 16px; background: #050505dc; backdrop-filter: blur(12px); border: 1px solid #ffffff3a; border-radius: 30px; font-size: 10px; }
.watch-button span { font-size: 9px; padding-right: 8px; }
.purchase-panel .eyebrow { font-size: 8px; display: block; margin-bottom: 18px; }
.purchase-panel h2 { font-size: 28px; line-height: 1.15; letter-spacing: -.035em; }
.product-price { display: flex; align-items: baseline; gap: 10px; margin: 26px 0 5px; flex-wrap: wrap; }
.product-price>span { font-size: 40px; line-height: 1.2; letter-spacing: -.05em; }
.product-price small { color: var(--muted); font-size: 11px; }
.product-price s { font-size: 18px; color: var(--quiet); }
.purchase-note { font-size: 10px; color: var(--muted); line-height: 1.6; }
.purchase-button { margin-top: 23px; width: 100%; justify-content: space-between; }
.purchase-facts { display: flex; justify-content: space-between; gap: 20px; font-size: 9px; color: var(--muted); margin-top: 15px; }
.purchase-links { border-top: 1px solid var(--line); margin-top: 26px; padding-top: 12px; }
.purchase-links a { display: flex; justify-content: space-between; padding: 8px 0; font-size: 11px; color: #c6c4c9; }
.product-subnav { position: sticky; top: 0; border-block: 1px solid var(--line); background: #050505eb; backdrop-filter: blur(18px); z-index: 10; }
.product-subnav>.wrap { display: flex; justify-content: space-between; gap: 20px; align-items: center; min-height: 68px; font-size: 12px; }
.product-subnav>.wrap>div { display: flex; align-items: center; gap: 25px; font-size: 11px; color: var(--muted); }
.product-subnav .text-link { font-size: 11px; color: var(--white); }
.prose { color: #b8b6bc; font-size: 15px; line-height: 1.9; overflow-wrap: anywhere; }
.prose p { margin-block: 0 24px; }
.prose h2,.prose h3,.prose h4 { color: var(--white); letter-spacing: -.025em; font-weight: 500; margin: 45px 0 24px; line-height: 1.2; }
.prose h2 { font-size: 30px; }.prose h3 { font-size: 24px; }
.prose a { text-decoration: underline; text-underline-offset: 4px; color: #d4cddf; }
.prose ul,.prose ol { padding-left: 22px; }
.prose li { margin-bottom: 12px; }
.prose img,.prose video { height: auto; max-height: 700px; border-radius: 5px; object-fit: contain; }
.prose iframe { max-width: 100%; aspect-ratio: 16/9; height: auto; border: 0; }
.prose table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.prose td,.prose th { border-bottom: 1px solid var(--line); padding: 12px; text-align: left; }
.prose pre { padding: 20px; overflow-x: auto; background: var(--surface); }
.product-description>p,.product-description>ul,.product-description>ol { max-width: 850px; }
.product-description>ul:has(.feature-row),.product-description>ol:has(.feature-row) { max-width: none; padding-left: 0; list-style-position: inside; }
.feature-row { display: grid; grid-template-columns: 1fr 1.3fr; gap: 70px; align-items: center; border-top: 1px solid var(--line); padding-block: 65px; margin-top: 35px; }
.feature-row:nth-of-type(even) .feature-copy { order: 2; }
.feature-copy h3 { font-size: 32px; margin-top: 22px; }
.feature-copy p { font-size: 14px; color: var(--muted); }
.feature-media { min-width: 0; }
.feature-media img,.feature-media video { width: 100%; height: auto; border: 1px solid var(--line); }
.media-error { padding: 24px; border: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.gallery { margin-block: 38px 65px; }
.gallery-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 20px; scrollbar-width: thin; scrollbar-color: #555 #111; padding-bottom: 15px; }
.gallery-item { flex: 0 0 80%; padding: 0; scroll-snap-align: start; overflow: hidden; border-radius: 5px; }
.gallery-item img { width: 100%; height: 100%; max-height: 580px; object-fit: contain; background: var(--surface); }
.gallery-controls { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; color: var(--muted); font-size: 11px; }
.gallery-controls>div { display: flex; gap: 10px; }
.gallery-controls button { border: 1px solid var(--line); width: 42px; height: 42px; border-radius: 50%; }
.media-dialog { padding: 40px 0 0; border: 0; background: transparent; color: var(--white); max-width: min(1100px,94vw); width: 94vw; max-height: 94dvh; overflow: visible; }
.media-dialog::backdrop { background: #000e; backdrop-filter: blur(15px); }
.dialog-close { position: absolute; top: -10px; right: 0; width: 44px; height: 44px; font-size: 20px; }
.dialog-content { display: flex; justify-content: center; }
.dialog-content iframe,.dialog-content video { width: 100%; aspect-ratio: 16/9; border: 0; max-height: 80dvh; }
.dialog-content img { max-height: 80dvh; object-fit: contain; }
.toast { position: fixed; bottom: 25px; left: 50%; transform: translate(-50%,15px); opacity: 0; pointer-events: none; padding: 13px 20px; background: #222; border: 1px solid var(--line-strong); border-radius: 4px; font-size: 12px; transition: opacity .2s,transform .2s; z-index: 100; max-width: 90vw; width: max-content; }
.toast.visible { opacity: 1; transform: translate(-50%,0); }

/* Native Tebex forms. No client-side checkout or invented totals. */
.options-page { max-width: 680px; padding: 170px 0 100px; min-height: 70vh; }
.options-page h1 { font-size: clamp(42px,5vw,64px); }
.options-page>p { color: var(--muted); margin: 25px 0 35px; }
.field { display: flex; flex-direction: column; gap: 9px; margin: 25px 0; }
.field>label { font-size: 12px; }
.form-actions { display: flex; gap: 25px; align-items: center; margin-top: 35px; }
.notice { color: #dfc9bb; border-left: 2px solid #a69284; padding: 8px 16px; font-size: 13px; margin-block: 20px; }
.checkout-list { margin-top: 35px; }
.basket-row { display: grid; grid-template-columns: 1fr auto auto; gap: 24px; align-items: center; padding-block: 25px; border-bottom: 1px solid var(--line); }
.basket-row h2 { font-size: 20px; }
.basket-row p { color: var(--muted); font-size: 12px; }
.basket-row input { width: 75px; }
.checkout-total { display: flex; justify-content: space-between; gap: 20px; font-size: 25px; margin-top: 35px; }
.preview-note { border-top: 1px solid var(--line); padding: 12px 0; color: var(--muted); font-size: 11px; text-align: center; }

/* Progressive enhancement only: content remains available without JS. */
.js-motion .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease),transform .9s var(--ease); }
.js-motion .reveal.is-visible { opacity: 1; transform: none; }
@media (min-width: 1000px) and (min-height: 760px) {
  .js-motion .product-scroll { height: 165vh; min-height: 1200px; }
  .js-motion .product-sticky { position: sticky; top: 25px; }
  .js-motion .product-heading { margin-bottom: 35px; }
}
@media (min-width: 1600px) {
  .hero-art { right: 0; }
  .hero-copy h1 { font-size: 118px; }
}
@media (max-width: 1100px) {
  .desktop-nav { gap: 24px; margin-left: 0; }
  .header-support { display: none; }
  .hero-copy h1 { font-size: 8.8vw; }
  .hero-actions { gap: 15px; }
  .hero-art { right: -4%; width: 47%; }
  .product-stage { gap: 35px; }
  .faq { gap: 50px; }
  .feature-row { gap: 40px; }
}
@media (max-width: 760px) {
  :root { --header: 74px; --gutter: 24px; }
  .desktop-nav { display: none; }
  .menu-toggle { display: block; }
  .header-actions { gap: 18px; }
  .header-inner { gap: 20px; }
  .wordmark { font-size: 33px; }
  .hero-scroll { height: auto; min-height: 0; }
  .hero-sticky { height: auto; min-height: 0; overflow: hidden; position: relative; }
  .hero-inner { padding-top: 150px; padding-bottom: 65px; min-height: 100svh; display: block; }
  .hero-copy { width: 100%; padding: 0; }
  .hero-copy .eyebrow { font-size: 8px; letter-spacing: .12em; max-width: 270px; margin-bottom: 26px; }
  .hero-copy h1 { font-size: clamp(60px,13.5vw,96px); }
  .hero-description { font-size: 13px; margin-block: 25px; }
  .hero-copy .hero-actions { align-items: start; flex-direction: column; gap: 8px; max-width: 260px; }
  .hero-copy .button { gap: 25px; padding-inline: 18px; }
  .hero-frameworks { margin-top: 32px; }
  .hero-art { right: -36%; width: 90%; height: 430px; bottom: 43px; opacity: .65; }
  .hero-art canvas,.hero-poster { height: 100%; bottom: 0; }
  .hero-copy { pointer-events: none; }
  .hero-copy a { pointer-events: auto; }
  .hero-description,.hero-frameworks { text-shadow: 0 2px 12px #000; }
  .art-caption { display: none; }
  .hero-bottom { bottom: 17px; }
  .hero-bottom>span:last-child { display: none; }
  .hero-bottom>span { font-size: 7px; }
  .prism-field { height: 550px; }
  .prism-light { top: -270px; width: 180%; left: -40%; opacity: .3; }
  .manifesto-bottom { flex-direction: column; gap: 25px; margin-top: 35px; }
  .statement { font-size: clamp(32px,7.5vw,50px); }
  .section-head { flex-direction: column; align-items: start; gap: 24px; margin-bottom: 35px; }
  .collection-navigation { flex-direction: column; align-items: start; gap: 12px; }
  .collection-navigation>div { gap: 20px; }
  .featured-grid,.catalog-grid { grid-template-columns: 1fr; gap: 40px; }
  .resource-heading { margin-top: 18px; }
  .resource-kind { margin-top: 11px; }
  .experience h2 { margin-top: 30px; font-size: clamp(39px,8.6vw,65px); }
  .experience-kicker>.section-number { display: none; }
  .experience p { font-size: 13px; }
  .experience-note { gap: 16px; flex-wrap: wrap; padding-top: 30px; margin-top: 40px; }
  .experience .hero-actions { align-items: start; flex-direction: column; }
  .care-grid { grid-template-columns: 1fr; gap: 35px; }
  .care-grid h3 { margin-top: 20px; }
  .faq { grid-template-columns: 1fr; gap: 35px; }
  .faq-list summary { font-size: 13px; }
  .closing { padding-block: 65px 85px; }
  .closing .eyebrow { font-size: 8px; }
  .footer-top { flex-direction: column; gap: 40px; padding-bottom: 35px; }
  .footer-links { flex-wrap: wrap; gap: 15px 25px; }
  .footer-bottom { gap: 16px 24px; }
  .footer-bottom>span { width: 100%; }
  .page-heading { padding-top: 115px; padding-bottom: 45px; }
  .page-heading .eyebrow { margin-top: 45px; }
  .catalog-tools { flex-direction: column; gap: 20px; }
  .search-field { width: 100%; }
  .sort-field { justify-content: space-between; }
  .help-strip { flex-direction: column; align-items: start; padding-block: 65px; gap: 25px; }
  .help-actions { align-items: start; }
  .product-breadcrumb { padding-top: 105px; }
  .product-breadcrumb>.section-number { display: none; }
  .product-scroll { margin-top: 40px; }
  .product-heading { text-align: left; margin-bottom: 35px; }
  .product-heading h1 { font-size: 49px; }
  .product-heading .eyebrow { font-size: 9px; margin-bottom: 20px; }
  .product-summary { font-size: 13px; }
  .product-stage { grid-template-columns: 1fr; gap: 40px; padding-bottom: 50px; }
  .purchase-panel { border-top: 1px solid var(--line); padding-top: 30px; }
  .purchase-panel h2 { font-size: 25px; }
  .purchase-facts { justify-content: start; }
  .product-subnav>.wrap>span { display: none; }
  .product-subnav>.wrap>div { width: 100%; justify-content: space-between; gap: 10px; }
  .product-subnav>.wrap { min-height: 57px; }
  .feature-row { grid-template-columns: 1fr; gap: 25px; padding-block: 40px; }
  .feature-row:nth-of-type(even) .feature-copy { order: 0; }
  .feature-copy h3 { font-size: 29px; }
  .gallery-item { flex-basis: 95%; }
  .options-page { padding-top: 130px; }
  .basket-row { grid-template-columns: 1fr auto; }
  .basket-row>div:last-child { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation: none !important; transition: none !important; }
  .hero-scroll { height: auto; min-height: 0; }
  .hero-sticky { position: relative; }
  .statement .word { color: var(--white); }
}
.motion-paused *, .motion-paused *::before, .motion-paused *::after { animation-play-state: paused !important; }
.motion-paused { scroll-behavior: auto; }
.motion-paused .reveal { opacity: 1; transform: none; transition: none; }
.motion-paused .statement .word { color: var(--white); }
.motion-paused .hero-scroll { height: auto; min-height: 0; }
.motion-paused .hero-sticky { position: relative; }
.motion-paused .basket-drawer[open] { animation: none; }
.options-page>.eyebrow { margin-top: 35px; }

/* Scroll-led storefront: minimal copy, continuous light, substantial controls. */
html { scroll-padding-top: 200px; }
.prism-field { position: fixed; height: 670px; transform-origin: top; }
.prism-light { top: -215px; opacity: .34; }
.prism-filament { top: -50px; opacity: .2; }
.site-header { position: fixed; height: 92px; background: linear-gradient(#0007,transparent); }
.site-header.is-scrolled { background: #050506a8; backdrop-filter: blur(24px); }
.header-inner { border: 0; gap: 24px; }
.brand-logo { display: inline-flex; align-items: center; width: 130px; flex-shrink: 0; }
.brand-logo img { width: 100%; height: auto; object-fit: contain; }
.desktop-nav { gap: 4px; margin-left: 0; padding: 5px; border-radius: 12px; background: #ffffff08; border: 1px solid #ffffff0d; }
.desktop-nav a { font-size: 13px; font-weight: 550; border-radius: 8px; padding: 11px 20px; color: #e0dfe3; }
.desktop-nav a:hover { background: #ffffff0c; }
.desktop-nav a.nav-primary { color: #111; background: var(--white); }
.desktop-nav a[aria-current] { color: #fff; }
.header-actions { gap: 12px; }
.header-support { font-weight: 550; color: var(--white); font-size: 13px; padding: 12px 16px; }
.basket-link { padding: 12px 16px; height: 48px; border-radius: 9px; background: #ffffff0c; border: 1px solid #ffffff14; gap: 12px; }
.basket-link:hover { background: #ffffff17; }
.button { border-radius: 9px; font-size: 14px; min-height: 54px; font-weight: 550; padding: 15px 23px; }
.button-glass { background: #ffffff08; border: 1px solid #ffffff22; }
.button-glass:hover { background: #ffffff14; border-color: #cbc2d164; }
.hero-copy { width: 70%; }
.hero-copy h1 { font-size: clamp(60px,7.2vw,110px); line-height: 1.06; }
.hero-description { margin-block: 25px 34px; font-size: 17px; }
.hero-copy .eyebrow { font-size: 12px; letter-spacing: .12em; }
.hero-scroll-label { position: absolute; bottom: 32px; left: 0; font-size: 12px; color: #b5b2bd; display: flex; gap: 25px; align-items: center; }
.hero-scroll-label span { font-size: 20px; }
.hero-art { right: -7%; height: calc(100% - 120px); bottom: 30px; }
.hero-art canvas,.hero-poster { height: 104%; }

/* Reviews settle into place as the visitor scrolls through the scene. */
.reviews-scroll { position: relative; padding-block: 90px; overflow: clip; }
.reviews-sticky { position: relative; }
.reviews-heading { text-align: center; }
.reviews-heading .eyebrow { margin-bottom: 16px; }
.reviews-heading h2 { font-size: clamp(42px,5vw,72px); }
.reviews-heading .text-link { color: var(--muted); margin-top: 20px; font-size: 13px; }
.review-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; margin-top: 55px; }
.review-card { min-width: 0; margin: 0; padding: 32px; border-radius: 16px; background: linear-gradient(135deg,#1c1b21c9,#0b0b0ed9); box-shadow: inset 0 1px 0 #ffffff0d; display: flex; flex-direction: column; min-height: 300px; }
.review-stars { color: #e6d9c2; font-size: 15px; letter-spacing: 3px; }
.review-card blockquote { font-size: clamp(20px,2vw,28px); line-height: 1.45; letter-spacing: -.025em; margin: 25px 0 38px; font-weight: 450; }
.review-card figcaption { display: flex; align-items: center; gap: 12px; font-size: 12px; margin-top: auto; }
.review-card figcaption small { display: block; font-size: 10px; color: var(--muted); margin-top: 2px; }
.review-avatar { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: #ffffff0b; color: #d6cce1; }

/* The showcase light opens with scroll, with slow continuous motion inside it. */
.showcase-scroll { position: relative; }
.showcase-sticky { min-height: 900px; height: 100svh; position: relative; display: grid; place-items: center; overflow: hidden; }
.showcase-light { position: absolute; inset: 0; pointer-events: none; }
.showcase-city { position: absolute; inset: 0; pointer-events: none; opacity: .22; mix-blend-mode: screen; mask-image: linear-gradient(transparent,#000 20%,#000 82%,transparent); }
@media (min-width: 1024px) {
  .showcase-city { mask-image: radial-gradient(ellipse min(50vw,88svh) min(48svh,28vw) at 50% 50%,#000 24%,#000000b3 48%,#00000040 72%,transparent 100%); }
}
.showcase-city canvas,.showcase-city-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 760px) { .showcase-city canvas,.showcase-city-poster { object-fit: cover; } }
.showcase-city canvas { opacity: 0; }
.js-motion .showcase-city-poster { opacity: 0; }
.js-motion .showcase-city.is-ready canvas { opacity: 1; }
.showcase-content h2 { filter: drop-shadow(0 2px 18px #000); }
.showcase-content>p,.showcase-content>.text-link { text-shadow: 0 2px 12px #000; }
.showcase-ring { position: absolute; width: min(1150px,100vw); height: min(750px,75vw); top: 48%; left: 50%; transform: translate(-50%,-50%) rotate(-18deg); border-radius: 50%; background: conic-gradient(from 60deg,#b7cddd,#c4b5d8,#dcbcca,#e4d5bb,#a6c6bd,#b7cddd); mask-image: radial-gradient(ellipse,transparent 36%,#000 44%,#000 46%,transparent 63%); filter: blur(28px); opacity: .22; animation: showcase-drift 22s ease-in-out infinite alternate; }
.showcase-wash { position: absolute; inset: 5% -10%; background: var(--prism); filter: blur(70px); mask-image: radial-gradient(ellipse,#000,transparent 61%); opacity: .035; }
@keyframes showcase-drift { to { transform: translate(-48%,-53%) rotate(12deg) scale(1.06); } }
.showcase-content { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.showcase-content h2 { font-size: clamp(80px,10vw,154px); line-height: .95; letter-spacing: -.065em; }
.showcase-content>.eyebrow { font-size: 11px; margin-bottom: 30px; }
.showcase-content>p:not(.eyebrow) { font-size: 17px; color: #bbb8c3; margin: 30px 0; }
.showcase-content>.text-link { color: #b4b0bd; font-size: 12px; margin-top: 12px; }
.faq { border: 0; padding-top: 70px; }
.faq-list details,.faq-list details:first-child { border: 0; }
.faq-list details { background: #ffffff05; margin-bottom: 9px; padding-inline: 22px; border-radius: 9px; }
.faq-list summary { font-size: 15px; }
.site-footer { border: 0; }
.footer-top { padding-bottom: 40px; }
.footer-bottom { border: 0; padding-top: 0; }
.preview-note { border: 0; margin-bottom: 30px; }
.help-strip { border: 0; }
.help-strip .help-actions { flex-direction: row; flex-wrap: wrap; }

/* Title → centered artwork → purchase reveal. The next chapter keeps buying in reach. */
.product-scroll { margin: 0; padding-top: 125px; }
.product-page { overflow-x: clip; }
.product-sticky { position: relative; padding-top: 0; }
.product-heading { text-align: center; margin: 0 auto 38px; max-width: none; }
.product-heading .breadcrumb { display: inline-flex; margin-bottom: 26px; font-size: 12px; }
.product-heading h1 { font-size: clamp(48px,6.6vw,96px); line-height: 1.05; }
.product-stage { display: grid; grid-template-columns: 1.7fr 1fr; position: relative; gap: 70px; padding: 0 0 70px; align-items: center; }
.product-main-media { border: 0; border-radius: 24px; }
.product-play { position: absolute; top: 50%; left: 50%; translate: -50% -50%; transform: scale(1); transform-origin: center center; width: clamp(78px,7vw,96px); height: clamp(78px,7vw,96px); display: grid; place-items: center; isolation: isolate; overflow: hidden; border: 1px solid #ffffff65; border-radius: 50%; background: linear-gradient(145deg,#ffffff38,#ffffff08 48%,#ffffff20); color: #fff; box-shadow: inset 0 2px 2px #ffffff80,inset 0 -2px 3px #ffffff30,inset 2px 0 8px #ffffff18,0 12px 36px #0005; -webkit-backdrop-filter: blur(8px) saturate(1.35); backdrop-filter: blur(8px) saturate(1.35); transition: transform .35s var(--ease),box-shadow .35s var(--ease); }
.product-play::before { content: ''; position: absolute; inset: 3px; border-radius: inherit; background: radial-gradient(ellipse at 28% 5%,#ffffff55,transparent 48%),radial-gradient(ellipse at 80% 100%,#ffffff26,transparent 45%); pointer-events: none; }
.product-play svg { position: relative; width: 32px; height: 32px; margin-left: 4px; filter: drop-shadow(0 2px 5px #0005); }
.product-play:hover { transform: scale(1.08); box-shadow: inset 0 2px 3px #ffffffa0,inset 0 -2px 4px #ffffff48,inset 2px 0 10px #ffffff20,0 16px 44px #0006; }
.product-play:active { transform: scale(.98); }
.product-play:focus-visible { outline: 2px solid #fff; outline-offset: 5px; }
.product-main-media>img { width: 100%; }
.product-main-media>.product-logo { padding: 100px; object-fit: contain; }
.product-price { margin-top: 0; }
.product-price>span { font-size: 58px; }
.product-price small { font-size: 13px; }
.purchase-note { font-size: 12px; }
.purchase-panel>.button { width: 100%; justify-content: space-between; margin-top: 12px; }
.purchase-panel>.purchase-button { margin-top: 26px; }
.purchase-links { border: 0; display: flex; justify-content: space-between; gap: 12px; padding: 0; margin-top: 20px; }
.purchase-links a { font-size: 12px; }
.product-scroll-cue { display: none; margin: auto; font-size: 12px; color: var(--muted); }
.product-subnav { top: 0; background: #08080bed; border: 0; box-shadow: 0 12px 40px #0004; }
.product-subnav>.wrap { min-height: 92px; gap: 28px; }
.product-bar-title { font-size: clamp(22px,2.5vw,38px); letter-spacing: -.045em; line-height: 1.1; font-weight: 550; flex: 1; }
.product-subnav>.wrap>.product-bar-links { gap: 20px; font-size: 12px; flex-shrink: 0; }
.product-bar-links a { display: inline-flex; align-items: center; min-height: 44px; color: #b9b7bf; white-space: nowrap; }
.product-bar-links a:hover { color: var(--white); }
.product-subnav>.wrap>.product-bar-actions { gap: 18px; flex-shrink: 0; }
.product-bar-actions .button { font-size: 12px; padding: 12px 16px; min-height: 47px; }
.bar-price { font-size: 22px; color: var(--white); letter-spacing: -.035em; white-space: nowrap; }
.bar-price small { color: var(--muted); font-size: 10px; letter-spacing: 0; }
.product-details { padding-block: 65px 30px; scroll-margin-top: 210px; }
.product-description>p { font-size: 17px; max-width: 850px; }
.product-description>h2,.product-description>h3 { margin: 55px 0 30px; }
.feature-row { border: 0; padding-block: 55px; margin: 0; gap: 80px; grid-template-columns: 1fr 1.3fr; }
.feature-copy h3 { font-size: clamp(30px,3.4vw,48px); margin: 0 0 20px; }
.feature-copy p { font-size: 16px; line-height: 1.85; margin-bottom: 0; }
.feature-media img,.feature-media video { border: 0; border-radius: 12px; }
.feature-copy .section-number { display: none; }
.feature-text-only { padding-block: 25px; }
.gallery { margin-top: 60px; }
.gallery>h3 { font-size: 30px; margin-bottom: 25px; }
.gallery-item { flex-basis: 62%; }
#product-help { scroll-margin-top: 210px; }

/* A native dialog gives the basket proper focus trapping and Escape behavior. */
.basket-drawer { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(480px,100vw); max-width: 100vw; height: 100dvh; max-height: 100dvh; padding: 32px; color: var(--white); background: #0b0b0ef5; backdrop-filter: blur(28px); border: 0; box-shadow: -20px 0 100px #0006; }
.basket-drawer[open] { display: flex; flex-direction: column; animation: drawer-enter .35s var(--ease); }
.basket-drawer::backdrop { background: #0009; backdrop-filter: blur(5px); }
@keyframes drawer-enter { from { transform: translateX(100%); } to { transform: translateX(0); } }
.drawer-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.drawer-heading h2 { display: flex; align-items: center; gap: 12px; font-size: 32px; }
.drawer-heading h2>span { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; height: 30px; padding: 0 8px; color: #d8d6dc; font-size: 13px; font-weight: 500; border-radius: 9px; background: #ffffff07; box-shadow: inset 0 0 0 1px #ffffff0c; }
.drawer-close { width: 44px; height: 44px; border-radius: 50%; background: #ffffff08; }
.drawer-empty { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 30px; padding-bottom: 60px; }
.drawer-empty svg { color: #b1a6bd; }
.drawer-empty h3 { font-size: 25px; }
.drawer-items { flex: 1 0 auto; margin-top: 24px; }
.drawer-item { display: flex; align-items: center; gap: 14px; padding: 14px; margin-bottom: 10px; border-radius: 16px; background: linear-gradient(125deg,#ffffff05,transparent),#ffffff02; box-shadow: inset 0 0 0 1px #ffffff08; }
.basket-remove { display: grid; place-items: center; flex: 0 0 34px; height: 34px; border-radius: 10px; color: #9b98a1; background: #ffffff04; transition: background .2s,color .2s; }
.basket-remove:hover { color: #fff; background: #ffffff0d; }
.drawer-thumbnail { flex: 0 0 88px; overflow: hidden; border-radius: 10px; background: #ffffff06; }
.drawer-thumbnail img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.drawer-thumbnail img.is-placeholder { object-fit: contain; padding: 14px; }
.drawer-item-details { min-width: 0; flex: 1; }
.drawer-item-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.drawer-item-actions>.text-link { color: var(--muted); font-size: 12px; }
.drawer-item-actions>.text-link:hover { color: #fff; }
.drawer-item>div>a:first-child { font-size: 19px; letter-spacing: -.025em; }
.drawer-item p { color: var(--muted); margin-top: 8px; font-size: 13px; }
.drawer-item label { color: var(--muted); font-size: 11px; }
.basket-coupon { margin: 24px 0; }
.basket-coupon label { display: block; color: var(--muted); font-size: 12px; margin-bottom: 10px; }
.basket-coupon>div { display: flex; align-items: center; border-radius: 12px; background: #ffffff05; box-shadow: inset 0 0 0 1px #ffffff0c; padding: 5px; }
.basket-coupon input { flex: 1; min-width: 0; padding: 11px; border: 0; background: transparent; }
.basket-coupon button { display: flex; gap: 20px; align-items: center; padding: 11px 14px; border: 0; border-radius: 8px; background: #ffffff09; color: #eee; cursor: pointer; font-size: 12px; }
.basket-coupon button:hover { background: #ffffff13; }
.basket-drawer .basket-feedback { position: static; margin: 0 0 18px; font-size: 13px; max-width: 100%; box-shadow: none; }
@media(max-width:380px) { .drawer-thumbnail { flex-basis: 76px; } .drawer-item { gap: 12px; } .drawer-item>div>a:first-child { font-size: 16px; } }
.drawer-checkout>div { display: flex; align-items: center; justify-content: space-between; }
.drawer-checkout strong { font-size: 26px; font-weight: 500; }
.drawer-checkout small { font-size: 12px; color: var(--muted); }
.drawer-checkout p { color: var(--muted); font-size: 12px; margin-block: 12px 24px; }
.drawer-checkout>.button { width: 100%; justify-content: space-between; }
body.basket-open { overflow: hidden; }

@media (min-width: 901px) and (min-height: 680px) {
  .js-motion .product-scroll { height: 220svh; min-height: 0; padding-top: 115px; }
  .js-motion .product-sticky { top: 112px; height: calc(100svh - 112px); position: sticky; overflow: clip; }
  .js-motion .product-heading { height: clamp(195px,23.5svh,235px); margin: 0; }
  .js-motion .product-heading .breadcrumb { margin-bottom: 18px; }
  .js-motion .product-heading h1 { font-size: min(6.1vw,9svh); }
  .js-motion .product-stage { display: block; padding: 0; height: calc(100% - clamp(195px,23.5svh,235px)); }
  .js-motion .product-visual { width: 62%; transform-origin: 0 0; }
  .js-motion .product-main-media>img { max-height: calc(100svh - 340px); object-fit: contain; }
  .js-motion .purchase-panel { position: absolute; right: 0; top: 4%; width: 31%; opacity: 0; visibility: hidden; }
  .js-motion .product-scroll-cue { display: flex; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); }
  .js-motion .reviews-scroll { height: 170svh; padding: 0; }
  .js-motion .reviews-sticky { position: sticky; top: 120px; height: calc(100svh - 145px); padding-top: 35px; display: flex; flex-direction: column; justify-content: center; }
  .js-motion .review-cards { margin-top: 55px; }
  .js-motion .showcase-scroll { height: 190svh; }
  .js-motion .showcase-sticky { min-height: 0; position: sticky; top: 0; }
}
@media (max-width: 1200px) {
  .desktop-nav a { padding: 11px 14px; }
  .product-subnav>.wrap { gap: 18px; }
  .product-subnav>.wrap>.product-bar-links { gap: 12px; }
  .product-subnav>.wrap>.product-bar-actions { gap: 12px; }
  .product-bar-actions .button { font-size: 11px; padding-inline: 12px; }
  .product-bar-title { max-width: 300px; }
  .bar-price { font-size: 18px; }
}
@media (max-width: 900px), (max-height: 679px) {
  .product-stage { grid-template-columns: 1.5fr 1fr; gap: 28px; }
  .product-heading h1 { font-size: 58px; }
  .product-price>span { font-size: 40px; }
  .review-cards { gap: 15px; }
  .review-card { padding: 24px; min-height: 260px; }
  .product-subnav>.wrap { flex-wrap: wrap; padding-block: 18px; gap: 16px; }
  .product-bar-title { max-width: none; min-width: 50%; font-size: 28px; }
  .product-subnav>.wrap>.product-bar-actions { width: 100%; justify-content: flex-end; }
  .product-subnav>.wrap>.product-bar-links { font-size: 12px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 225px; }
  .site-header { height: 74px; }
  .brand-logo { width: 108px; }
  .header-actions { gap: 12px; }
  .basket-link { height: 43px; padding: 10px 12px; }
  .hero-inner { padding-top: 155px; min-height: 850px; }
  .hero-copy { width: 100%; }
  .hero-copy h1 { font-size: clamp(52px,11.5vw,80px); }
  .hero-copy .eyebrow { font-size: 10px; }
  .hero-description { font-size: 14px; max-width: 250px; }
  .hero-copy .hero-actions { gap: 12px; }
  .hero-copy .button { font-size: 13px; min-height: 50px; }
  .hero-art { height: 420px; bottom: 60px; right: -24%; width: 90%; opacity: .7; }
  .hero-scroll-label { bottom: 24px; }
  .reviews-scroll { padding: 70px 0; }
  .review-cards { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 20px; gap: 15px; }
  .review-card { flex: 0 0 85%; min-height: 280px; scroll-snap-align: center; }
  .review-card blockquote { font-size: 26px; }
  .showcase-sticky { min-height: 720px; height: 95svh; }
  .showcase-ring { width: 140vw; height: 120vw; }
  .showcase-content h2 { font-size: 94px; }
  .showcase-content>p:not(.eyebrow) { font-size: 14px; }
  .faq-heading h2 { font-size: 38px; }
  .faq-list summary { font-size: 14px; }
  .product-scroll { padding-top: 108px; }
  .product-heading { text-align: center; margin-bottom: 30px; }
  .product-heading .breadcrumb { margin-bottom: 25px; }
  .product-heading h1 { font-size: clamp(40px,10vw,64px); }
  .product-stage { grid-template-columns: 1fr; gap: 40px; padding-bottom: 50px; }
  .purchase-panel { border: 0; padding-top: 0; }
  .product-price>span { font-size: 48px; }
  .purchase-panel>.button { justify-content: center; }
  .product-subnav { top: 0; }
  .product-subnav>.wrap { gap: 14px; min-height: 0; padding-block: 15px; }
  .product-subnav>.wrap>.product-bar-links { width: auto; gap: 14px; }
  .product-bar-title { min-width: 35%; font-size: 22px; }
  .product-subnav>.wrap>.product-bar-actions { justify-content: space-between; gap: 8px; }
  .product-bar-actions .button { min-height: 43px; font-size: 10px; padding-inline: 10px; }
  .bar-price { font-size: 17px; }
  .bar-price small { font-size: 9px; }
  .product-details { padding-top: 45px; }
  .feature-row { grid-template-columns: 1fr; gap: 25px; padding-block: 32px; }
  .feature-copy h3 { font-size: 32px; }
  .feature-copy p { font-size: 14px; }
  .gallery-item { flex-basis: 95%; }
  .help-strip .help-actions { gap: 12px; }
  .help-strip .button { font-size: 12px; padding-inline: 16px; }
  .basket-drawer { padding: 24px; }
}
@media (max-width: 370px) {
  .product-subnav>.wrap>.product-bar-actions { flex-wrap: wrap; }
  .product-bar-actions .button-glass { order: 3; width: 100%; }
  .product-bar-title { font-size: 20px; }
}

.feature-enlarge { display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; text-align: left; cursor: zoom-in; background: #0c0d10; border-radius: 12px; }
html:has(.product-page) { scroll-padding-top: calc(var(--product-nav-height,110px) + 20px); }
html:has(.product-page):not(.product-header-swap) .site-header { position: absolute; }
.product-page #product-details,.product-page #product-help { scroll-margin-top: 0; }
@media (max-width: 760px) {
  .product-subnav>.wrap { display: grid; grid-template-columns: minmax(0,1fr) auto; grid-template-areas: 'title price' 'links buy'; gap: 4px 12px; padding-block: 12px; }
  .product-bar-title { grid-area: title; min-width: 0; max-width: none; font-size: 22px; }
  .product-subnav>.wrap>.product-bar-links { grid-area: links; width: auto; gap: 12px; font-size: 11px; }
  .product-subnav>.wrap>.product-bar-actions { display: contents; }
  .product-bar-actions .bar-price { grid-area: price; justify-self: end; }
  .product-bar-actions .bar-buy { grid-area: buy; justify-self: end; }
}
.feature-enlarge img { width: 100%; height: 100%; object-fit: contain; }
.feature-flow { display: grid; gap: 40px; }
.feature-flow .feature-row { min-width: 0; }
.feature-flow .feature-copy { min-width: 0; order: 0; }
.feature-flow .feature-copy h3 { overflow-wrap: anywhere; }
.feature-text-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.feature-text-grid .feature-text-only { display: block; padding: 28px; background: #ffffff05; border-radius: 18px; }
.feature-text-grid .feature-copy h3 { font-size: 23px; line-height: 1.3; margin-bottom: 14px; }
.feature-text-grid .feature-copy p { font-size: 14px; line-height: 1.8; }
.feature-flow .feature-media { width: 100%; }
.feature-flow .feature-enlarge { aspect-ratio: auto; min-height: 120px; background: transparent; }
.feature-flow .feature-media img,.feature-flow .feature-media video { display: block; width: 100%; height: auto; max-height: min(560px,65svh); object-fit: contain; margin: auto; }
.product-facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-top: 20px; }
.product-fact { text-align: left; min-width: 0; padding: 12px 14px; border-radius: 10px; background: #ffffff08; }
.product-fact:hover { background: #ffffff10; }
.product-fact span { display: block; font-size: 10px; color: var(--muted); margin-bottom: 5px; }
.product-fact strong { display: block; font-size: 12px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.product-read-description { display: block; margin: 9px auto 0; color: #dedce3; font-size: 12px; text-underline-offset: 4px; }
.product-read-description:hover { text-decoration: underline; }
.product-info-dialog { width: min(700px,100%); padding: clamp(24px,5vw,48px); border-radius: 20px; background: #111214; max-height: 78dvh; overflow: auto; }
.product-info-dialog h2 { font-size: 28px; margin-bottom: 24px; }
.product-info-dialog p { font-size: 15px; line-height: 1.85; color: var(--muted); white-space: pre-line; margin-top: 14px; }
.media-dialog.is-info-dialog { width: min(700px,94vw); max-width: 94vw; padding: 0; border-radius: 20px; background: #111214; overflow: hidden; }
.is-info-dialog .product-info-dialog { padding-top: 54px; }
.is-info-dialog .dialog-close,.account-close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; background: #ffffff09; color: #d4d3d9; font-size: 23px; display: grid; place-items: center; }
.is-info-dialog .dialog-close:hover,.account-close:hover { background: #ffffff18; color: white; }
.product-info-items { display: grid; gap: 10px; }
.product-info-items .product-info-item { margin: 0; padding: 15px 18px; border: 1px solid #ffffff09; border-radius: 12px; background: #ffffff04; }
.account-dialog { width: min(490px,94vw); padding: 0; max-height: 90dvh; overflow: auto; border: 1px solid #ffffff14; border-radius: 24px; color: var(--white); background: radial-gradient(ellipse at 10% 0%,#e8d5b20d,transparent 45%),radial-gradient(ellipse at 90% 0%,#c2bce30f,transparent 55%),#101113; box-shadow: 0 30px 100px #0008; }
.account-dialog::backdrop { background: #000c; backdrop-filter: blur(18px); }
.auth-page.in-account-dialog { width: 100%; min-height: 0; margin: 0; padding: 58px 32px 32px; }
.account-dialog h1 { font-size: 46px; margin-block: 25px 16px; }
.account-dialog [data-account-step] h1 { font-size: clamp(30px,7vw,40px); line-height: 1.1; }
.account-dialog .field { margin-top: 22px; }
.account-dialog .form-actions { gap: 16px; margin-top: 26px; }
.account-dialog .form-actions .button { margin-top: 0; }
.account-dialog { border: 0; }
.account-dialog:focus-visible { outline: none; }
.account-dialog .form-actions { display: flex; flex-direction: column; align-items: stretch; gap: 18px; }
.account-dialog .form-actions>.button { width: 100%; }
.account-dialog .form-actions>.text-link { align-self: center; padding: 8px 16px; }
.account-dialog .account-platform-message { position: relative; inset: auto; transform: none; width: 100%; max-width: 100%; margin: 18px 0; z-index: auto; }
.account-dialog p { font-size: 14px; color: var(--muted); line-height: 1.8; }
.account-dialog .button,.account-connect .button { width: 100%; margin-top: 24px; }
.account-same-tab { display: block; text-align: center; margin-top: 20px; font-size: 12px; }
.account-reopen { display: flex; margin: 220px auto; }
.account-status { font-size: 12px !important; }
.account-connect>.text-link { display: block; text-align: center; margin-top: 22px; font-size: 12px; }
@media (prefers-reduced-motion: no-preference) { .account-dialog[open],.is-info-dialog[open] { animation: account-enter .3s var(--ease); } }
@keyframes account-enter { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
@media (max-width: 699px) {
  .feature-text-grid { grid-template-columns: 1fr; gap: 12px; }
  .feature-text-grid .feature-text-only { padding: 23px; }
  .feature-flow { gap: 24px; }
  .product-facts { margin-top: 12px; }
}
.product-title-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: 26px; }
.product-title-actions .button { min-height: 48px; }
.product-heading { position: relative; z-index: 2; transform-origin: center top; }
@media (max-width: 600px) { .product-title-actions { gap: 8px; margin-top: 22px; } .product-title-actions .button { font-size: 11px; padding-inline: 14px; } }

/* A scroll-scrubbed stack of artwork; category navigation stays separate and usable. */
.library-scroll { position: relative; overflow: clip; padding-block: 90px; }
.library-sticky { position: relative; }
.library-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: center; min-height: 700px; }
.library-copy { position: relative; z-index: 6; }
.library-copy h2 { font-size: clamp(55px,6vw,88px); line-height: 1.04; }
.library-categories { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 35px; max-width: 440px; }
.library-categories .button { min-width: 150px; justify-content: space-between; background: linear-gradient(120deg,#202124c9,#17161dd9); border: 1px solid #d1c6d635; }
.library-categories .button:hover { border-color: #d3c7daaa; background: #29252f; }
.library-deck { position: relative; width: 100%; aspect-ratio: 570/321; perspective: 1200px; }
.library-card { position: absolute; inset: 0; border-radius: 15px; background: #151517; box-shadow: 0 28px 90px #000a,0 0 0 1px #ffffff14; transform-origin: center; will-change: transform,opacity; }
.library-card img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.library-card:nth-child(1) { z-index: 4; }
.library-card:nth-child(2) { z-index: 3; transform: translate(30px,40px) rotate(7deg) scale(.93); opacity: .6; }
.library-card:nth-child(3) { z-index: 2; transform: translate(60px,80px) rotate(14deg) scale(.86); opacity: .3; }
.library-card:nth-child(4) { z-index: 1; opacity: 0; }
.library-card:nth-child(5),.library-card:nth-child(6) { opacity: 0; }
.js-motion .library-scroll { height: 350svh; padding: 0; }
.js-motion .library-sticky { position: sticky; top: 92px; height: calc(100svh - 92px); }
.js-motion .library-layout { height: 100%; min-height: 0; }
@media (max-width: 900px) {
  .library-layout { grid-template-columns: 1fr; gap: 50px; min-height: 750px; padding-block: 60px 130px; }
  .library-copy { text-align: center; }
  .library-copy h2 { font-size: clamp(42px,7vw,64px); }
  .library-copy h2 br { display: none; }
  .library-categories { justify-content: center; max-width: none; margin-top: 25px; gap: 9px; }
  .library-categories .button { min-width: 120px; font-size: 13px; padding-inline: 16px; }
  .library-deck { width: min(80%,550px); margin-inline: auto; }
  .js-motion .library-scroll { height: 250svh; }
  .js-motion .library-layout { align-content: center; gap: 80px; padding-block: 30px 100px; }
}
@media (max-width: 760px) {
  .js-motion .library-sticky { top: 74px; height: calc(100svh - 74px); }
  .library-categories .button { min-width: 100px; }
  .library-deck { width: 85%; }
  .library-copy h2 { font-size: 46px; }
}
@media (max-height: 650px) and (min-width: 761px) {
  .library-copy h2 { font-size: 48px; }
  .library-layout { grid-template-columns: .85fr 1.15fr; padding-block: 30px; }
  .library-deck { width: 95%; }
}

/* Clear, substantial category controls; motion belongs to the artwork. */
.button-category { min-height: 58px; padding: 16px 22px; gap: 26px; border: 0; border-radius: 9px; background: var(--white); color: #161616; font-weight: 600; box-shadow: none; }
.button-category>span { font-size: 20px; background: none; transition: transform .25s var(--ease); }
.button-category:hover { background: #dcdad6; transform: translateY(-2px); }
.button-category:hover>span { transform: translate(2px,-2px); }
.library-categories { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); max-width: 480px; gap: 10px; }
.library-categories .button-category { min-width: 0; justify-content: space-between; border: 0; background: var(--white); color: #161616; }
.library-categories .button-category:hover { background: #dcdad6; }
.library-card { will-change: transform,opacity,filter; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.platform-message { position: fixed; z-index: 90; bottom: 24px; right: 24px; max-width: min(440px,calc(100vw - 48px)); display: flex; gap: 20px; align-items: center; padding: 20px; border-radius: 12px; background: #1a1a1e; box-shadow: 0 12px 60px #000a; }
.platform-message button { min-width: 36px; min-height: 36px; }
.sale-popup { position: fixed; z-index: 80; left: 24px; bottom: 24px; width: min(390px,calc(100vw - 48px)); display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 18px; padding: 18px 48px 18px 20px; border: 1px solid #ffffff21; border-radius: 18px; background: #0a0a0cdd; box-shadow: 0 24px 75px #000c; -webkit-backdrop-filter: blur(24px) saturate(1.15); backdrop-filter: blur(24px) saturate(1.15); opacity: 0; visibility: hidden; transform: translateY(24px) scale(.97); transform-origin: left bottom; transition: opacity .55s var(--ease),transform .55s var(--ease),visibility .55s; }
.sale-popup::before { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(115deg,#e4bdb417,#e8d5b20d 28%,#b8d7e512 62%,#e0bfd414); }
.sale-popup.is-visible { opacity: 1; visibility: visible; transform: none; }
.sale-popup-close { position: absolute; z-index: 1; top: 10px; right: 10px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; color: #aaa7af; font-size: 13px; }
.sale-popup-close:hover { color: #fff; background: #ffffff0c; }
.sale-value { position: relative; font-size: 58px; line-height: .86; font-weight: 500; letter-spacing: -.08em; background: var(--prism); background-clip: text; -webkit-background-clip: text; color: transparent; }
.sale-value span { font-size: 25px; vertical-align: top; margin-left: 2px; }
.sale-copy { position: relative; min-width: 0; }
.sale-copy>p { margin-bottom: 8px; color: #e6e4e8; font-size: 14px; }
.sale-code { width: 100%; min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 8px 12px; border: 1px solid #ffffff1f; border-radius: 9px; background: #ffffff09; color: #fff; }
.sale-code span { font-size: 12px; font-weight: 650; letter-spacing: .13em; }
.sale-code small { color: #aaa7af; font-size: 10px; }
.sale-code:hover { background: #ffffff10; border-color: #ffffff38; }
@media (max-width: 520px) {
  .sale-popup { left: 12px; bottom: max(12px,env(safe-area-inset-bottom)); width: calc(100vw - 24px); padding: 16px 46px 16px 16px; border-radius: 15px; }
  .sale-value { font-size: 48px; }
}
@media (prefers-reduced-motion: reduce) { .sale-popup { transition: none; } }
.auth-page { min-height: 70svh; }
.auth-page h1 { margin-top: 40px; }
.auth-page>.button { margin-top: 26px; }
.cms-page .prose { margin-top: 35px; }

/* The collection puts the framework, artwork, and price first. */
.category-page { position: relative; }
.category-hero { position: relative; text-align: center; padding: 160px 0 70px; }
.category-hero h1 { position: relative; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; column-gap: .2em; font-size: clamp(70px,10vw,144px); line-height: 1.03; letter-spacing: -.065em; }
.category-title-kind { color: var(--white); }
.category-tabs { position: relative; justify-content: center; gap: 12px; border: 0; margin-top: 36px; }
.category-tabs a { min-width: 150px; justify-content: space-between; font-size: 14px; padding: 16px 22px; color: #d7d7d9; background: #171719; }
.category-tabs a[aria-current] { background: var(--white); color: #161616; box-shadow: none; }
.category-tabs a:not([aria-current]):hover { background: #29292c; color: #fff; }

.catalog-tools { padding: 0; align-items: center; gap: 24px; margin: 0 0 30px; }
.catalog-tools .search-field { width: 310px; border: 0; border-radius: 12px; background: #ffffff06; padding-inline: 18px; }
.catalog-tools .search-field input { min-height: 50px; }
.catalog-tools .sort-field { margin-left: auto; }
.catalog-tools .search-field { transition: background .2s,box-shadow .2s; }
.catalog-tools .search-field:focus-within { background: #ffffff0a; box-shadow: inset 0 0 0 1px #d4d8e64a; }
.catalog-tools .search-field input:focus-visible { outline: none; box-shadow: none; }
.catalog-sort { position: relative; margin-left: auto; z-index: 5; }
.sort-trigger { display: flex; align-items: center; justify-content: space-between; min-width: 175px; min-height: 50px; padding: 14px 18px; border-radius: 12px; background: #ffffff08; font-size: 12px; color: #cfccd5; }
.sort-trigger:focus-visible { outline: 1px solid #d4d8e670; outline-offset: 2px; }
.sort-trigger[aria-expanded=true] { background: #ffffff10; }
.sort-menu { position: absolute; right: 0; top: calc(100% + 8px); width: 225px; padding: 6px; border: 1px solid #ffffff10; border-radius: 14px; background: #151517f5; backdrop-filter: blur(24px); box-shadow: 0 16px 40px #0008; }
.sort-menu button { width: 100%; text-align: left; padding: 13px 14px; border-radius: 9px; font-size: 12px; color: #bebbc5; }
.sort-menu button:hover,.sort-menu button:focus-visible { outline: none; background: #ffffff09; color: #fff; }
.sort-menu button[aria-checked=true] { background: #ffffff0e; color: #fff; }
.sort-menu button[aria-checked=true]::after { content: '✓'; float: right; color: #d7dfd7; }
@media (max-width: 760px) { .catalog-sort { order: 3; } }
.catalog-tools select { border: 0; border-radius: 12px; background: #101013; padding-inline: 18px; min-height: 50px; }
.catalog-tools .catalog-count { margin: 0; color: #aaa7b0; font-size: 12px; }
.category-page .catalog-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 36px 24px; padding-bottom: 20px; }
.category-page .resource-card { border-radius: 12px; padding: 0 0 8px; }
.category-page .resource-image { border: 0; border-radius: 12px; box-shadow: 0 18px 50px #0008; }
.category-page .resource-image img { filter: saturate(.85); transition: transform .8s var(--ease),filter .8s; }
.category-page .resource-image .resource-logo { padding: 15%; object-fit: contain; }
.category-page .resource-card:hover img { filter: saturate(1); transform: scale(1.035); }
.category-page .image-arrow { width: 34px; height: 34px; bottom: 12px; right: 12px; background: #0b0b0db8; backdrop-filter: blur(14px); border: 1px solid #ddd4e544; }
.category-page .resource-heading { margin: 16px 2px 0; gap: 14px; align-items: baseline; }
.category-page .resource-heading h2 { font-size: 20px; line-height: 1.25; overflow-wrap: anywhere; }
.category-page .card-price { font-size: 18px; letter-spacing: -.03em; flex-shrink: 0; }
.category-page .card-price small { font-size: 10px; letter-spacing: 0; }
.category-page .empty-state .button { margin-top: 28px; }
@media (max-width: 1099px) {
  .category-page .catalog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 599px) {
  .category-page .catalog-grid { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 760px) {
  .category-hero { padding: 140px 0 48px; }
  .category-hero h1 { font-size: clamp(58px,12vw,90px); }
  .category-tabs { gap: 8px; margin-top: 30px; }
  .category-tabs a,.library-categories .button-category { min-width: 0; min-height: 52px; padding: 12px 15px; gap: 16px; font-size: 12px; }
  .category-tabs a>span,.library-categories .button-category>span { font-size: 17px; }
  .catalog-tools { flex-direction: row; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
  .catalog-tools .search-field { width: 100%; }
  .catalog-tools .catalog-count { order: 2; }
  .catalog-tools .sort-field { order: 3; }
  .category-page .catalog-grid { gap: 28px 20px; }
  .category-page .resource-heading { margin-top: 14px; gap: 12px; }
}

@media (max-width: 900px) { .library-categories { margin-inline: auto; } }
@media (max-width: 370px) { .library-categories .button-category { padding-inline: 10px; gap: 6px; font-size: 11px; } }

/* The same product story on every screen: introduction, then image and purchase. */
.product-summary { max-width: 620px; margin: 22px auto 0; color: #b8b6bf; font-size: 16px; line-height: 1.7; }
.product-intro { display: flow-root; transform-origin: center top; }
.product-heading h1 { transform-origin: center top; }
.product-heading h1:focus { outline: none; }
@media (min-height: 640px) {
  .js-motion .product-scroll { height: 240svh; min-height: 0; margin: 0; padding-top: 112px; }
  .js-motion .product-sticky { position: sticky; top: 112px; height: calc(100svh - 112px); overflow: clip; overflow-clip-margin: 90px; padding-top: 0; }
  .js-motion .product-play { opacity: 0; visibility: hidden; }
  .js-motion .product-heading { position: absolute; top: 0; left: 0; width: 100%; height: auto; margin: 0; }
  .js-motion .product-heading h1 { font-size: clamp(45px,6.1vw,90px); }
  .js-motion .product-stage { position: absolute; top: 145px; left: 0; right: 0; bottom: 0; height: auto; display: block; padding: 0; }
  .js-motion .product-visual { width: 62%; transform-origin: top left; }
  .js-motion .product-main-media>img { max-height: calc(100svh - 260px); object-fit: contain; }
  .js-motion .purchase-panel { position: absolute; width: 31%; right: 0; top: 20px; padding: 0; border: 0; opacity: 0; visibility: hidden; }
  .js-motion .product-scroll-cue { display: flex; position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); }
}
@media (max-width: 760px) and (min-height: 640px) {
  .js-motion .product-scroll { padding-top: 92px; height: 250svh; }
  .js-motion .product-sticky { top: 92px; height: calc(100svh - 92px); }
  .js-motion .product-heading h1 { font-size: clamp(32px,8.8vw,52px); }
  .product-summary { font-size: 13px; margin-top: 18px; line-height: 1.65; max-width: 510px; }
  .product-title-actions { margin-top: 22px; }
  .js-motion .product-price>span { font-size: 40px; }
  .js-motion .purchase-panel>.button { min-height: 46px; padding-block: 11px; margin-top: 8px; }
  .js-motion .purchase-panel>.purchase-button { margin-top: 15px; }
  .js-motion .purchase-links { margin-top: 10px; }
}
@media (max-width: 699px) and (min-height: 640px) {
  .js-motion .product-visual { width: 100%; }
  .js-motion .purchase-panel { width: 100%; }
  .js-motion .product-main-media>img { max-height: 29svh; object-fit: contain; }
}
@media (max-width: 760px) {
  .js-motion .hero-scroll { height: 175svh; min-height: 0; }
  .js-motion .hero-sticky { position: sticky; top: 0; height: 100svh; min-height: 0; }
  .js-motion .hero-inner { height: 100%; min-height: 0; padding-top: clamp(120px,16svh,155px); padding-bottom: 0; }
  .js-motion .hero-art { height: 52svh; bottom: 30px; }
  .js-motion .hero-copy h1 { font-size: clamp(48px,11.5vw,80px); }
  .js-motion .showcase-scroll { height: 175svh; }
  .js-motion .showcase-sticky { position: sticky; top: 0; min-height: 0; height: 100svh; }
  .showcase-content h2 { font-size: clamp(68px,22vw,94px); }
  .showcase-content>p:not(.eyebrow) { margin-block: 24px; }
  .review-cards { overflow-y: clip; padding-top: 35px; margin-top: 20px; }
}
@media (max-height: 639px) {
  .product-summary { font-size: 14px; }
  .js-motion .product-intro { transition: opacity .3s; }
  .js-motion .hero-sticky { min-height: 620px; }
  .js-motion .hero-scroll { min-height: 1000px; }
  .js-motion .showcase-sticky { min-height: 580px; }
}

/* A passing band of refracted light, confined to the counting figures. */
.store-stats { position: relative; overflow: clip; padding-block: 120px; }
.stats-grid { position: relative; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 40px; text-align: center; }
.stat-value { --shine: -10%; font-size: clamp(72px,8.5vw,128px); line-height: 1.15; letter-spacing: -.065em; font-weight: 500; font-variant-numeric: tabular-nums; }
.stat-value>span { display: inline-block; background: linear-gradient(110deg,#f3f2ef 25%,#e9d7bb 40%,#c8dfc9 45%,#b8d7e5 50%,#c2bce3 55%,#e0bfd4 60%,#f3f2ef 75%); background-size: 300% 100%; background-position: var(--shine) center; color: transparent; background-clip: text; -webkit-background-clip: text; }
.store-stat p { margin-top: 15px; color: #c7c4cd; font-size: 15px; }
.store-stat small { display: block; color: var(--muted); margin-top: 4px; font-size: 11px; }
@media (max-width: 760px) {
  .store-stats { padding-block: 85px; }
  .stats-grid { gap: 14px; }
  .stat-value { font-size: clamp(34px,11vw,70px); }
  .store-stat p { font-size: 11px; margin-top: 12px; }
  .store-stat small { font-size: 9px; }
}
/* Core Cinematics: the character presents a small, working camera timeline. */
.hero-sticky { mix-blend-mode: normal; }
.hero-character-track { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.hero-character-layer { position: absolute; inset: 0 0 auto; height: 100%; overflow: hidden; mask-image: linear-gradient(to bottom,#000 95%,transparent 100%); }
.hero-character-frame { position: relative; height: 100%; }
@media (min-height: 640px) {
  .js-motion .hero-character-layer { position: sticky; top: 0; height: 100svh; }
}
.hero-art { pointer-events: none; }
.cinematics-demo { position: relative; width: min(760px,100%); margin: 80px auto 0; z-index: 3; }
.cinematics-brand { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.cinematics-brand img { width: 230px; height: auto; }
.cinematics-brand>span { color: #b5b2bd; font-size: 12px; }
@property --cinema-prism-angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.cinematics-prism { position: relative; border-radius: 14px; isolation: isolate; }
.product-visual { position: relative; border-radius: 24px; isolation: isolate; }
.cinematics-prism::before,.cinematics-prism::after,.product-visual::before,.product-visual::after { content: ''; position: absolute; inset: -2px; border-radius: inherit; pointer-events: none; background: conic-gradient(from var(--cinema-prism-angle),#e4bdb4,#e8d5b2,#c8dfc9,#b8d7e5,#c2bce3,#e0bfd4,#e4bdb4); animation: cinema-prism-flow 18s linear infinite; }
.cinematics-prism::before,.product-visual::before { z-index: -1; inset: -20px; filter: blur(48px); opacity: .16; }
.cinematics-prism::after,.product-visual::after { z-index: -1; inset: -5px; filter: blur(18px); opacity: .22; }
.cinematics-editor { position: relative; border-radius: 14px; overflow: hidden; background: #101012; box-shadow: 0 24px 70px #0008; }
@keyframes cinema-prism-flow { to { --cinema-prism-angle: 360deg; } }
.dialog-prism { isolation: isolate; overflow: visible !important; background: transparent !important; box-shadow: none; }
.dialog-prism::before,.dialog-prism::after { content: ''; position: absolute; pointer-events: none; z-index: -1; border-radius: inherit; background: conic-gradient(from var(--cinema-prism-angle),#e4bdb4,#e8d5b2,#c8dfc9,#b8d7e5,#c2bce3,#e0bfd4,#e4bdb4); animation: cinema-prism-flow 18s linear infinite; }
.dialog-prism::before { inset: -20px; filter: blur(48px); opacity: .16; }
.dialog-prism::after { inset: -5px; filter: blur(18px); opacity: .22; }
.account-dialog.dialog-prism .auth-page { border-radius: inherit; background: #101113; max-height: 88dvh; overflow-y: auto; }
.dialog-prism .account-connect { background: #111214; }
.basket-drawer.dialog-prism { padding: 0; backdrop-filter: none; }
.basket-surface { display: flex; flex-direction: column; width: 100%; height: 100%; min-height: 0; padding: 32px; background: #0b0b0e; overflow-y: auto; }
.motion-paused .dialog-prism::before,.motion-paused .dialog-prism::after { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .dialog-prism::before,.dialog-prism::after { animation: none; } }
@media (max-width: 760px) { .basket-surface { padding: 24px; } }
.desktop-nav { position: relative; }
.scripts-navigation { position: static; }
.desktop-nav .scripts-trigger { display: flex; align-items: center; gap: 10px; }
.scripts-chevron { transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.scripts-trigger[aria-expanded="true"] .scripts-chevron { transform: rotate(180deg); }
.scripts-trigger[aria-expanded="true"] { background: #ffffff0b; }
.scripts-dropdown { position: absolute; top: calc(100% + 10px); left: -1px; width: calc(100% + 2px); max-height: min(600px,75dvh); padding: 10px; border: 0; border-radius: 18px; background: linear-gradient(145deg,#ffffff20,#ffffff07 45%,#ffffff10); backdrop-filter: blur(24px) saturate(150%); -webkit-backdrop-filter: blur(24px) saturate(150%); box-shadow: inset 0 1px 1px #ffffff45,inset 0 -1px 1px #ffffff14,0 12px 32px #0002; overflow-y: auto; scrollbar-width: thin; transform-origin: top center; animation: scripts-glass-open .28s cubic-bezier(.2,.8,.2,1) both; }
.site-header.is-scrolled:has(.scripts-trigger[aria-expanded="true"]) { backdrop-filter: none; -webkit-backdrop-filter: none; }
@keyframes scripts-glass-open { from { opacity: 0; transform: translateY(-8px) scale(.98); } to { opacity: 1; transform: none; } }
.scripts-category-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; }
.desktop-nav .scripts-category { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 56px; padding: 15px 18px; border-radius: 10px; color: #f1f0f3; border: 0; background: #ffffff07; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; animation: none; transition: background .15s; }
.desktop-nav .scripts-category:hover,.desktop-nav .scripts-category:focus-visible { background: #ffffff12; }
@keyframes category-arrive { from { opacity: 0; transform: translateY(-16px) scale(.97); filter: blur(4px); } to { opacity: 1; transform: none; filter: blur(0); } }
.motion-paused .scripts-category,.motion-paused .scripts-dropdown { animation: none; }
@media (prefers-reduced-motion: reduce) { .desktop-nav .scripts-category,.scripts-dropdown { animation: none; } .scripts-chevron { transition: none; } }
.purchase-form { margin: 0; }
.purchase-form .purchase-button { width: 100%; }
.auth-page input[type="submit"] { cursor: pointer; text-align: center; }
.scripts-category>span:first-child { overflow-wrap: anywhere; }
.scripts-category .category-mark { color: #ffffff70; }
@media (prefers-reduced-motion: reduce) { .cinematics-prism::before,.cinematics-prism::after,.product-visual::before,.product-visual::after { animation: none; } }
.cinematics-viewport { position: relative; aspect-ratio: 3/2; min-height: 270px; background: #101012; overflow: hidden; }
.cinematics-viewport video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cinematics-shot { position: absolute; top: 16px; left: 18px; font: 10px/1.4 monospace; letter-spacing: .15em; color: #eee; text-shadow: 0 1px 8px #000; }
/* Miniature of the script's flat timeline: same lane order, colors and transport. */
.cinematics-console { --timeline-blue: #2d8ceb; position: absolute; bottom: 14px; left: 14px; right: 14px; z-index: 2; background: #252525f5; border: 1px solid #454545; border-radius: 4px; overflow: hidden; box-shadow: 0 -2px 12px #0005; font-family: 'Segoe UI',Arial,sans-serif; }
.cinematics-toolbar { min-height: 29px; display: flex; align-items: center; gap: 7px; padding: 3px 7px; background: #1e1e1e; border-bottom: 1px solid #111; }
.cinematics-project { font-size: 9px; margin-right: auto; color: #ccc; white-space: nowrap; }
.cinematics-transport { display: flex; align-items: center; gap: 1px; }
.cinematics-transport button { display: grid; place-items: center; width: 23px; height: 23px; border-radius: 3px; color: #ccc; padding: 0; }
.cinematics-transport button:hover { background: #333; color: #fff; }
.cinematics-transport [data-cinema-play] { width: 28px; background: var(--timeline-blue); color: #fff; }
.cinematics-transport [data-cinema-play]:hover { background: #4a9df0; }
.cinematics-transport .cinema-pause-icon,.cinematics-demo.is-playing .cinema-play-icon { display: none; }
.cinematics-demo.is-playing .cinema-pause-icon { display: block; }
.cinematics-frame,.cinematics-time { background: #181818; border: 1px solid #383838; color: #70b6fc; border-radius: 3px; padding: 3px 4px; font: bold 10px/1.5 Consolas,monospace; font-variant-numeric: tabular-nums; }
.cinematics-frame { width: 35px; min-width: 0; min-height: 0; height: 21px; text-align: center; appearance: textfield; -moz-appearance: textfield; }
.cinematics-frame::-webkit-inner-spin-button,.cinematics-frame::-webkit-outer-spin-button { appearance: none; margin: 0; }
.cinematics-time { min-width: 77px; white-space: nowrap; text-align: center; }
.cinematics-duration { font: 9px/1.4 Consolas,monospace; color: #bbb; }
.cinematics-timeline { display: flex; padding: 0; background: #111; }
.cinematics-labels { width: 72px; flex-shrink: 0; display: flex; flex-direction: column; padding-top: 18px; background: #252525; border-right: 1px solid #111; }
.cinematics-labels>span { height: 14px; display: flex; align-items: center; padding: 0 7px; font-size: 8px; font-weight: 600; letter-spacing: .04em; color: #ccc; border-bottom: 1px solid #111; }
.cinematics-labels>.cinematics-label-text { color: #ed956e; }
.cinematics-labels>.cinematics-label-recording { color: #e78c8c; }
.cinematics-labels>.cinematics-label-overlay { color: #afa0df; }
.cinematics-track-scroll { flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #555 #181818; }
.cinematics-tracks { --position: 0%; position: relative; min-width: 100%; width: 100%; height: 74px; }
.cinematics-ruler { display: block; width: 100%; height: 18px; background: #303030; border-bottom: 1px solid #111; }
.cinematics-lane { position: relative; height: 14px; background: #1a1a1a; border-bottom: 1px solid #222; }
.cinematics-lane:nth-of-type(even) { background: #161616; }
.cinematics-camera i { position: absolute; top: 50%; width: 6px; height: 6px; background: #999; transform: translate(-50%,-50%) rotate(45deg); }
.cinematics-recording { position: absolute; top: 2px; bottom: 2px; left: 0; right: 0; background: #a74343; border-radius: 2px; overflow: hidden; }
.cinematics-recording::before,.cinematics-recording::after { content: ''; position: absolute; top: 0; bottom: 0; width: 5px; background: #ffffff2e; }
.cinematics-recording::before { left: 0; }.cinematics-recording::after { right: 0; }
.cinematics-recording span { display: block; padding: 0 9px; color: #fff; font-size: 7px; line-height: 10px; font-weight: 600; white-space: nowrap; }
.cinematics-playhead { position: absolute; left: var(--position); top: 0; bottom: 0; width: 1px; background: var(--timeline-blue); pointer-events: none; z-index: 2; }
.cinematics-playhead::before { content: ''; position: absolute; left: -4px; top: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 7px solid var(--timeline-blue); }
.cinematics-scrubber { appearance: none; -webkit-appearance: none; position: absolute; z-index: 3; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.cinematics-tracks:focus-within { outline: 1px solid #70b6fc; outline-offset: -1px; }
.cinematics-error { position: absolute; z-index: 3; top: 15px; left: 15px; right: 15px; padding: 12px; background: #101012ef; font-size: 12px; }
.cinematics-error button { padding: 5px 8px; text-decoration: underline; }
.cinematics-noscript { font-size: 12px; margin-top: 15px; }
/* In motion, the introduction gives its space to the demo. The last third is a hold. */
.js-motion .hero-scroll { height: 300svh; min-height: 0; }
.js-motion .hero-sticky { height: 100svh; min-height: 0; }
.js-motion .cinematics-demo { position: absolute; top: max(130px,16svh); right: 0; width: min(500px,43%,calc((100svh - 455px)*1.45)); margin: 0; opacity: 0; visibility: hidden; }
.hero-copy { transform-origin: left center; }
.js-motion .hero-copy { width: 57%; }
.js-motion .hero-copy h1 { font-size: clamp(52px,6.5vw,104px); }
.hero-scroll-label { z-index: 4; }
/* Static and reduced-motion layouts expose the same working controls in normal flow. */
html:not(.js-motion) .hero-scroll { height: auto; min-height: 0; }
html:not(.js-motion) .hero-sticky { position: relative; height: auto; min-height: 0; }
html:not(.js-motion) .hero-inner { display: block; padding-top: 170px; padding-bottom: 80px; }
html:not(.js-motion) .hero-art { height: 460px; top: 100px; bottom: auto; z-index: -1; }
html:not(.js-motion) .cinematics-demo { margin-top: 100px; }
@media (max-width: 760px) {
  .cinematics-console { bottom: 10px; left: 10px; right: 10px; }
  .cinematics-brand img { width: 184px; }
  .cinematics-brand>span { font-size: 10px; }
  .cinematics-brand { margin-bottom: 14px; gap: 10px; }
  .cinematics-toolbar { padding-inline: 5px; gap: 4px; min-height: 29px; }
  .cinematics-project { display: none; }
  .cinematics-project>span,.cinematics-fps { display: none; }
  .cinematics-transport { margin-right: auto; }
  .cinematics-transport button { width: 22px; height: 23px; }
  .cinematics-timeline { padding: 0; }
  .cinematics-labels { width: 62px; }
  .cinematics-labels>span { font-size: 7px; padding-inline: 5px; }
  .cinematics-time { font-size: 9px; min-width: 70px; }
  .cinematics-frame { width: 29px; font-size: 9px; }
  .js-motion .hero-scroll { height: 290svh; }
  .js-motion .cinematics-demo { top: 115px; width: 100%; }
  .js-motion .hero-copy { width: 100%; }
  .js-motion .hero-copy h1 { font-size: clamp(44px,11.5vw,80px); }
  html:not(.js-motion) .hero-inner { padding-top: 145px; }
  html:not(.js-motion) .cinematics-demo { margin-top: 90px; }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .js-motion .hero-copy h1 { font-size: clamp(40px,5.8vw,64px); }
  .js-motion .hero-copy .hero-actions { gap: 10px; }
  .js-motion .hero-copy .button { font-size: 12px; padding-inline: 16px; }
  .cinematics-project>span,.cinematics-fps { display: none; }
  .cinematics-brand img { width: 175px; }
  .cinematics-brand>span { font-size: 10px; }
}
@media (max-height: 639px) {
  .js-motion .hero-scroll { height: auto; min-height: 0; }
  .js-motion .hero-sticky { position: relative; height: auto; min-height: 0; }
  .js-motion .hero-inner { display: block; padding-top: 130px; padding-bottom: 70px; }
  .js-motion .hero-art { height: 340px; top: 70px; bottom: auto; }
  .js-motion .cinematics-demo { position: relative; top: auto; left: auto; width: min(640px,100%); margin: 70px auto 0; }
}

@media (max-width: 380px) { .cinematics-frame { display: none; } }
@media (min-width: 761px) and (max-width: 1100px) { .cinematics-project,.cinematics-frame { display: none; } .cinematics-transport { margin-right: auto; } }
