/* Outer Fields — matches the original WordPress/Elementor look: IBM Plex Sans / Barlow Condensed on black */
:root{--bg:#000;--header:#000;--text:#fff;--muted:#BFBFBF;--dim:#8C8C8C;--line:#fff}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:60px}
body{margin:0;background:var(--bg);color:var(--text);font-family:"IBM Plex Sans",sans-serif;font-weight:300;font-size:16px;line-height:1.5}
img{display:block;max-width:100%}
a{color:var(--text);text-decoration:none}a:hover{color:var(--muted)}
:focus-visible{outline:1px solid #fff;outline-offset:3px}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* Header */
.site-header{position:sticky;top:0;z-index:20;background:var(--header);min-height:52px;padding:8px 20px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 24px}
.site-header .logo{position:absolute;left:76px;top:22px;z-index:1}
.site-header .logo img{width:56px;height:56px;opacity:.7;transition:opacity .2s}
.site-header .logo:hover img{opacity:1}
.site-header{display:grid;grid-template-columns:1fr auto 1fr;padding-left:20px}
.site-header .site-nav{grid-column:2}
.site-header .cart{grid-column:3;justify-self:end}
@media (max-width:767px){.site-header .logo{left:20px;top:9px}.site-header .logo img{width:34px;height:34px}.site-header{display:flex;padding-left:64px}}
.site-nav{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 40px;font-size:14px;letter-spacing:.04em;text-transform:uppercase}
.cart{display:flex;align-items:center;gap:8px}

/* Hero slideshow */
.hero{position:relative;height:min(743px,85vh);overflow:hidden;display:flex;align-items:center;justify-content:center;background:#111}
.hero .slide{position:absolute;inset:0;background-size:cover;background-position:center;opacity:0;animation:fade 45s infinite}
.hero .slide:nth-child(2){animation-delay:9s}.hero .slide:nth-child(3){animation-delay:18s}.hero .slide:nth-child(4){animation-delay:27s}.hero .slide:nth-child(5){animation-delay:36s}
/* 5 slides x 9s: 2s fade in, 7s hold, slow Ken Burns zoom-in (as on the original site) */
@keyframes fade{0%{opacity:0;transform:scale(1)}4.4%{opacity:1}20%{opacity:1}24.4%{opacity:0;transform:scale(1.12)}100%{opacity:0;transform:scale(1)}}
@media (prefers-reduced-motion:reduce){.hero .slide{animation:none}.hero .slide:first-child{opacity:1}}
.hero::after{content:"";position:absolute;inset:0;background:rgba(0,0,0,.35)}
.hero-logo{width:min(768px,90vw);height:auto}
.hero h1{position:relative;z-index:1;margin:0;font-weight:100;font-size:clamp(36px,6.4vw,92px);letter-spacing:.02em;white-space:nowrap}

/* Sections */
.section{padding:40px 10px 80px}
.section-title{margin:0 0 56px;text-align:center;font-weight:100;font-size:clamp(44px,4.6vw,65px);line-height:1;text-transform:uppercase}
.grid-3{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr))}
.card{display:flex;flex-direction:column;align-items:center;text-align:center;padding-bottom:56px}
.card img,.card .ph{width:100%;aspect-ratio:1/1;object-fit:cover}
.card h3{margin:24px 0 0;font-weight:300;font-size:27px;line-height:1.2;text-transform:uppercase}
.card p{margin:4px 0 0;letter-spacing:1px;text-transform:lowercase;color:var(--muted)}
.ph{background:#1E1E1E;display:flex;align-items:center;justify-content:center;font-size:12px;color:#A6A6A6}
.maps{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:20px}
.maps img{width:100%;aspect-ratio:336/288;object-fit:cover}
.about{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:18px;align-items:start}
.about .tall{width:100%;aspect-ratio:2/3;object-fit:cover}
.about .mid img{width:100%;aspect-ratio:457/336;object-fit:cover}
.about .text{padding:32px 24px 0;text-align:center;font-size:18px;line-height:1.6}
.about .text p{margin:0 0 28px}
.about .text a{color:inherit;text-decoration:underline;text-decoration-color:rgba(255,255,255,.4);text-underline-offset:3px}
.about .text a:hover{text-decoration-color:#fff}
/* wide screens: text scales with its column so it ends level with the side photos */
@media (min-width:1000px){.about .mid{container-type:inline-size}.about .text{font-size:2.75cqw;line-height:1.5;padding:5cqw 3cqw 0}.about .text p{margin:0 0 1em}.about .text p:last-child{margin-bottom:0}}
.gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,220px),1fr));gap:10px}
.gallery a{display:block;overflow:hidden}
.gallery img{width:100%;aspect-ratio:3/2;object-fit:cover;transition:transform .4s}
.gallery a:hover img{transform:scale(1.04)}

/* Subscribe */
.subscribe{padding:120px 20px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px}
.subscribe h2{margin:0;font-weight:300;font-size:clamp(40px,4vw,55px);line-height:1}
.subscribe .sub{margin:0;font-size:18px;color:var(--dim);text-transform:uppercase}
.subscribe form{margin-top:48px;width:100%;max-width:800px;display:flex;flex-wrap:wrap}
.subscribe input{flex:3 1 280px;height:44px;padding:0 16px;border:1px solid var(--line);background:transparent;color:#fff;font:300 15px "IBM Plex Sans",sans-serif;letter-spacing:3px}
.btn{height:44px;padding:0 28px;border:1px solid #fff;background:#fff;color:#000;font:700 14px "IBM Plex Sans",sans-serif;letter-spacing:.04em;text-transform:uppercase;cursor:pointer}
.subscribe .btn{flex:1 1 160px}

/* Footer */
.site-footer{position:relative;min-height:245px;display:flex;align-items:flex-end;background:#222 url(../assets/footer/footer-bg.jpg) center/cover}
.site-footer::before{content:"";position:absolute;inset:0;background:rgba(0,0,0,.45)}
.site-footer .inner{position:relative;width:100%;padding:24px 20px;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:20px;align-items:end;font-size:13px}
.site-footer .legal{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px 0}
.site-footer .legal a{white-space:nowrap}
.site-footer .legal a+a::before{content:"·";margin:0 10px;color:#888}
@media (min-width:900px){.site-footer .inner{grid-template-columns:1fr auto 1fr}}
@media (max-width:899px){.site-footer .legal{gap:6px 18px}.site-footer .legal a+a::before{content:none}}
.socials{display:flex;justify-content:flex-end;gap:10px}
.socials a{width:32px;height:32px;border-radius:999px;background:#fff;color:#000;display:flex;align-items:center;justify-content:center}
.socials svg{width:16px;height:16px}

/* Product page */
.product{max-width:1240px;margin:0 auto;padding:120px 20px 80px;display:flex;flex-direction:column;gap:96px}
.product-top{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,440px),1fr));gap:56px;align-items:start}
.product-top>img,.product-top>.ph{width:100%;aspect-ratio:1/1;object-fit:cover}
.product-visual{display:flex;flex-direction:column;gap:24px;min-width:0}
.product-visual>img{width:100%;aspect-ratio:1/1;object-fit:cover}
.product-visual{gap:56px}
/* compact player under the cover: one slim row, no box */
.product-visual .demo{width:72%;margin:0 auto;box-sizing:border-box;padding:0;border:0;background:none;gap:16px}
.product-visual .demo-play{width:36px;height:36px}
.product-visual .demo-play svg{width:11px;height:11px}
.product-visual .demo-body{flex-direction:row;align-items:center;gap:14px}
.product-visual .demo-head{order:2;flex:none}
.product-visual .demo-title{display:none}
.product-visual .demo-time{font-size:12px;color:var(--dim)}
.product-visual .demo-wave{order:1;flex:1;height:28px}
.product-visual .visual-videos{width:72%;margin:0 auto;display:flex;flex-direction:column;gap:16px}
@media (max-width:600px){.product-visual .visual-videos{width:100%}}
@media (max-width:600px){.product-visual .demo{width:100%}.product-visual{gap:36px}}
.product-info{max-width:460px;display:flex;flex-direction:column;gap:24px}
.product-info h1{margin:0;font-weight:300;font-size:40px;line-height:1}
.product-info p{margin:0}
.price{font-size:45px;line-height:1.4}
.pay-badges{display:flex;flex-wrap:wrap;gap:8px}
.pay-badges span{background:#fff;color:#000;font-size:11px;font-weight:700;padding:5px 9px;border-radius:3px}
.small{font-size:13px;color:#A6A6A6}
.shots{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:32px;max-width:900px;margin:0 auto;width:100%}
.videos{display:flex;flex-direction:column;gap:32px;max-width:1000px;margin:0 auto;width:100%}
.video{position:relative;aspect-ratio:16/9;width:100%;border:0;padding:0;background:#161616 center/cover;cursor:pointer;color:#fff}
.video .play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:68px;height:48px;border-radius:12px;background:#fff;color:#000;display:flex;align-items:center;justify-content:center}
.video iframe{position:absolute;inset:0;width:100%;height:100%;border:0}

/* Checkout mock (replaced by Paddle.js overlay in production) */
.co-backdrop{position:fixed;inset:0;z-index:50;background:rgba(0,0,0,.75);display:none;align-items:center;justify-content:center;padding:16px}
.co-backdrop.open{display:flex}
.co{width:100%;max-width:440px;background:#fff;color:#000;padding:28px;display:flex;flex-direction:column;gap:18px;font-weight:400}
.co-head{display:flex;justify-content:space-between;align-items:center}
.co-head span{font-weight:300;font-size:24px}
.co-close{width:44px;height:44px;border:1px solid #ccc;background:none;cursor:pointer;font-size:18px}
.co-line{display:flex;justify-content:space-between;padding:14px 0;border-top:1px solid #ddd;border-bottom:1px solid #ddd}
.co label{font-size:13px;color:#404040}
.co input,.co select{width:100%;height:44px;padding:0 12px;border:1px solid #bbb;font:16px "IBM Plex Sans",sans-serif;margin-top:6px}
.co-methods{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:6px}
.co-methods button{height:44px;border:1px solid #bbb;background:#fff;font:14px "IBM Plex Sans",sans-serif;cursor:pointer}
.co-methods button[aria-pressed=true]{border:2px solid #000}
.co-pay{height:48px;border:0;background:#000;color:#fff;font:700 14px "IBM Plex Sans",sans-serif;letter-spacing:.04em;text-transform:uppercase;cursor:pointer}
.co-note{margin:0;font-size:12px;color:#595959;text-align:center}

/* Lightbox for "In the Field" */
.lb{position:fixed;inset:0;z-index:60;background:rgba(0,0,0,.94);display:none;align-items:center;justify-content:center}
.lb.open{display:flex}
.lb figure{margin:0;max-width:92vw;max-height:86vh;display:flex;flex-direction:column;align-items:center;gap:12px}
.lb img{max-width:92vw;max-height:80vh;object-fit:contain;opacity:0;transition:opacity .25s}
.lb img.ready{opacity:1}
.lb figcaption{font-size:13px;letter-spacing:.08em;color:var(--muted)}
.lb button{position:absolute;background:none;border:0;color:#fff;cursor:pointer;width:56px;height:56px;display:flex;align-items:center;justify-content:center;opacity:.7;transition:opacity .2s}
.lb button:hover,.lb button:focus-visible{opacity:1}
.lb .lb-close{top:12px;right:12px}
.lb .lb-prev{left:12px;top:50%;transform:translateY(-50%)}
.lb .lb-next{right:12px;top:50%;transform:translateY(-50%)}
.lb svg{width:28px;height:28px}
body.lb-lock{overflow:hidden}
@media (max-width:767px){.lb .lb-prev,.lb .lb-next{top:auto;bottom:12px;transform:none}}

/* Section/legal/contact/team pages */
.lead-center{text-align:center;font-size:18px;line-height:1.6;color:var(--muted);margin:0}
.lead-center a{text-decoration:underline}
.legal-page{max-width:820px;margin:0 auto;padding:120px 20px 96px}
.prose{font-size:16px;line-height:1.7}
.prose p{margin:0 0 1.1em}.prose b,.prose strong{font-weight:700}
.prose a{text-decoration:underline}
.prose h2,.prose h3,.prose h4{font-weight:300;margin:1.8em 0 .6em}
.contact-form{max-width:640px;margin:0 auto;display:flex;flex-direction:column;gap:14px}
.contact-form input,.contact-form textarea{width:100%;padding:12px 16px;border:1px solid #fff;background:transparent;color:#fff;font:300 16px "IBM Plex Sans",sans-serif}
.contact-form input{height:48px}
.contact-form .btn{align-self:flex-start}
.form-status{margin:0;color:var(--muted)}
.team{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:48px;max-width:1240px;margin:0 auto;padding:0 10px}
.member{display:flex;flex-direction:column;align-items:center;text-align:center}
.member img{width:100%;max-width:340px;aspect-ratio:1/1;object-fit:cover}
.member h3{margin:24px 0 0;font-weight:300;font-size:27px;text-transform:uppercase}
.member .role{margin:4px 0 16px;letter-spacing:1px;text-transform:lowercase;color:var(--muted)}
.member p{margin:0 0 12px;font-size:15px;line-height:1.6}
.member-links{display:flex;justify-content:center;gap:10px;margin-top:18px}
.member-links a{width:32px;height:32px;border-radius:999px;background:#fff;color:#000;display:flex;align-items:center;justify-content:center;transition:opacity .2s}
.member-links a:hover{opacity:.75}
.member-links svg{width:16px;height:16px}

/* Product extras */
.product .desc p{margin:0 0 1em}
.product .desc a{color:var(--muted);text-decoration:underline}
.ucs{width:90px;height:auto}
.media{max-width:1000px;margin:0 auto;width:100%}
.media .sc{width:100%;height:300px;border:0}
.wide{max-width:1000px;margin:0 auto;width:100%}
.wide img{width:100%}

/* Sound maps */
.soundmap{margin:0 auto 56px;max-width:1400px}
.soundmap h2{margin:0 0 12px;font-weight:300;font-size:16px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.map{height:600px;background:#111}
.sm-pin{width:14px;height:14px;border-radius:50%;background:#fff;border:3px solid rgba(0,0,0,.55);box-shadow:0 0 0 4px rgba(255,255,255,.25)}
.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:#000;color:#fff;border-radius:0}
.leaflet-popup-content{margin:14px 16px;font:300 14px/1.5 "IBM Plex Sans",sans-serif}
.leaflet-popup-content p{margin:0 0 8px}
.leaflet-popup-content iframe{width:100%;max-width:100%}
.leaflet-container a.leaflet-popup-close-button{color:#fff}
.sm-pop h3{margin:0 0 8px;font-weight:400;font-size:16px;letter-spacing:.04em}
@media (max-width:767px){.map{height:420px}}

/* Single sound map: region menu, list, player */
.sm-regions{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 28px;margin:-24px auto 28px;max-width:1100px}
.sm-regions button{background:none;border:0;border-bottom:1px solid transparent;color:var(--muted);font:300 15px "IBM Plex Sans",sans-serif;letter-spacing:.08em;text-transform:uppercase;padding:8px 2px;cursor:pointer;min-height:44px}
.sm-regions button span{font-size:12px;opacity:.6;margin-left:4px}
.sm-regions button:hover{color:#fff}
.sm-regions button.active{color:#fff;border-bottom-color:#fff}
#soundmap{max-width:1400px;margin:0 auto}
.sm-list{list-style:none;margin:32px auto 0;padding:0;max-width:1400px;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,320px),1fr));gap:2px 24px}
.sm-item{width:100%;display:flex;align-items:center;gap:12px;background:none;border:0;border-bottom:1px solid #1c1c1c;color:#fff;font:300 15px "IBM Plex Sans",sans-serif;text-align:left;padding:10px 4px;cursor:pointer;min-height:44px}
.sm-item:hover{background:#0d0d0d}
.sm-ico{flex:none;width:28px;height:28px;border:1px solid #555;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:12px}
.sm-ico svg{width:10px;height:10px;margin-left:2px}
.sm-item.on .sm-ico{background:#fff;color:#000;border-color:#fff}
.sm-name{flex:1;min-width:0}
.sm-reg{font-size:12px;color:var(--dim);letter-spacing:.06em;text-transform:uppercase}
.sm-pin.playing{background:#fff;box-shadow:0 0 0 6px rgba(255,255,255,.45);animation:smpulse 1.4s ease-in-out infinite}
@keyframes smpulse{50%{box-shadow:0 0 0 12px rgba(255,255,255,.12)}}
@media (prefers-reduced-motion:reduce){.sm-pin.playing{animation:none}}
.sm-playbtn{margin-top:6px;display:inline-flex;align-items:center;gap:10px;height:40px;padding:0 18px;border:1px solid #fff;background:#fff;color:#000;font:700 13px "IBM Plex Sans",sans-serif;letter-spacing:.06em;text-transform:uppercase;cursor:pointer}
.sm-playbtn svg{width:12px;height:12px}
.sm-playbtn.on{background:#000;color:#fff}
.sm-playbtn.on span::after{content:" (playing)"}
.sm-player{position:fixed;left:0;right:0;bottom:0;z-index:40;background:#000;border-top:1px solid #222;display:flex;align-items:center;gap:14px;padding:10px 20px}
.sm-player[hidden]{display:none}
body.sm-has-player{padding-bottom:68px}
.sm-pp,.sm-close{flex:none;width:44px;height:44px;border:1px solid #fff;border-radius:50%;background:#fff;color:#000;display:flex;align-items:center;justify-content:center;cursor:pointer}
.sm-close{background:none;color:#fff;border-color:#444}
.sm-pp svg{width:14px;height:14px}
.sm-pp .i-pause,.sm-player.is-playing .sm-pp .i-play{display:none}
.sm-player.is-playing .sm-pp .i-pause{display:block}
.sm-now{display:flex;flex-direction:column;min-width:0;flex:0 1 340px}
.sm-title{font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sm-region{font-size:12px;color:var(--dim);letter-spacing:.06em;text-transform:uppercase}
.sm-time,.sm-dur{font-size:13px;color:var(--muted);font-variant-numeric:tabular-nums}
.sm-seek{flex:1;accent-color:#fff;min-width:80px}
@media (max-width:767px){.sm-player{flex-wrap:wrap;gap:8px 12px}.sm-now{flex:1 1 60%}.sm-seek{order:5;flex:1 1 100%}.sm-time,.sm-dur{display:none}body.sm-has-player{padding-bottom:110px}}

/* Data Fields overview */
.df-intro{max-width:720px;margin:-24px auto 56px}
.df-grid{max-width:1400px;margin:0 auto;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,420px),1fr));gap:40px 32px}
.df-card{display:flex;flex-direction:column;color:#fff}
.df-preview{position:relative;aspect-ratio:16/10;overflow:hidden;background:#0b0b0b;border:1px solid #1f1f1f;transition:border-color .2s}
.df-preview iframe{position:absolute;left:0;top:0;width:1440px;height:900px;border:0;transform-origin:0 0;pointer-events:none}
.df-loading{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:13px;letter-spacing:.14em;color:#555}
.df-card:hover .df-preview,.df-card:focus-visible .df-preview{border-color:#fff}
.df-info{padding-top:18px}
.df-info h2{margin:0;font-weight:300;font-size:27px;letter-spacing:.02em}
.df-info h2 span{color:var(--muted)}
.df-info p{margin:6px 0 0;font-size:15px;line-height:1.55}
.df-sub{letter-spacing:1px;text-transform:lowercase;color:var(--muted)}
.df-meta{font-size:13px !important;color:var(--dim)}
.df-open{display:inline-block;margin-top:14px;font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;border-bottom:1px solid #fff;padding-bottom:2px}
.df-card:hover .df-open{color:var(--muted);border-color:var(--muted)}

/* Thank-you / downloads */
.dl{max-width:640px;margin:0 auto 40px;display:flex;flex-direction:column;gap:28px;align-items:center;text-align:center}
.dl-product h2{margin:0 0 12px;font-weight:300;font-size:27px;text-transform:uppercase}
.dl-product{display:flex;flex-direction:column;gap:10px;align-items:center}
.dl-btn{display:inline-flex;align-items:center;height:48px;padding:0 24px}
.dl-help{font-size:15px}

.prose .updated{color:var(--dim);font-size:14px}
.small a{color:#A6A6A6;text-decoration:underline}

/* forms */
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.subscribe .form-status{margin:16px 0 0;min-height:1.5em;color:var(--muted)}
.sub-note{margin:8px 0 0;font-size:13px;color:var(--dim)}
.sub-note a{color:var(--dim);text-decoration:underline}
.subscribe form{position:relative}

.shop-notice{margin:12px 0 0;font-size:14px;color:var(--muted)}
.shop-notice a{text-decoration:underline}

/* Custom demo player (library pages) */
.demo{display:flex;align-items:center;gap:20px;padding:20px 24px;border:1px solid #1f1f1f;background:#070707}
.demo-play{flex:none;width:56px;height:56px;border-radius:50%;border:1px solid #fff;background:#fff;color:#000;display:flex;align-items:center;justify-content:center;cursor:pointer}
.demo-play svg{width:16px;height:16px}
.demo-play .i-pause,.demo.playing .demo-play .i-play{display:none}
.demo.playing .demo-play .i-pause{display:block}
.demo-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:10px}
.demo-head{display:flex;justify-content:space-between;gap:12px;font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.demo-time{flex:none;white-space:nowrap;font-variant-numeric:tabular-nums;letter-spacing:.04em}
.demo-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.demo-wave{position:relative;height:64px;cursor:pointer;outline-offset:4px;overflow:hidden}
.demo-bars{position:absolute;inset:0;display:flex;align-items:center;gap:1px}
.demo-bars span{flex:1 1 0;min-width:0;background:#3a3a3a;border-radius:1px}
.demo-fill{clip-path:inset(0 100% 0 0)}
.demo-fill span{background:#fff}
.demo-wave:hover .demo-bars:not(.demo-fill) span{background:#555}
@media (max-width:600px){.demo-head{font-size:11px;letter-spacing:.06em}.demo{padding:16px;gap:14px}.demo-play{width:48px;height:48px}.demo-wave{height:48px}.demo-bars{gap:1px}}

/* two cards (other libraries): same card size as the 3-column rows, centred */
.grid-2{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),calc(100% / 3)));justify-content:center}

/* Plug-in pages: slim SoundCloud under the cover + media gallery */
.product-visual .sc-slim{width:72%;height:166px;margin:0 auto;border:0;display:block}
@media (max-width:600px){.product-visual .sc-slim{width:100%}}
.p-gallery{display:flex;flex-wrap:wrap;justify-content:center;gap:16px;max-width:1240px;margin:0 auto;width:100%}
.p-gallery .pg-item{flex:0 1 calc((100% - 32px)/3);min-width:240px}
@media (max-width:600px){.p-gallery .pg-item{flex-basis:100%;min-width:0}}
.pg-item{position:relative;display:block;aspect-ratio:16/10;overflow:hidden;background:#0d0d0d;border:1px solid #1a1a1a}
.pg-item img{width:100%;height:100%;object-fit:cover;transition:transform .4s,opacity .3s}
.pg-item:hover img{transform:scale(1.04)}
.pg-video img{opacity:.8}
.pg-video:hover img{opacity:1}
.pg-video svg{position:absolute;left:50%;top:50%;width:18px;height:18px;transform:translate(-50%,-50%);color:#000;z-index:1}
.pg-video::after{content:"";position:absolute;left:50%;top:50%;width:60px;height:42px;border-radius:10px;background:#fff;transform:translate(-50%,-50%)}
/* viewer: video frame */
.lb .lb-frame{width:min(92vw,calc(80vh * 16 / 9));aspect-ratio:16/9;border:0;background:#000}

/* Type: Barlow Condensed headings, IBM Plex Sans body, IBM Plex Mono details */
h1,h2,h3,.section-title,.site-nav a,.hero h1,.df-open,.btn,.sm-regions button,.sm-playbtn,.co-pay{font-family:"Barlow Condensed",sans-serif}
.btn,.sm-playbtn,.co-pay{font-size:16px;letter-spacing:.1em}
.sm-regions button{font-size:17px;letter-spacing:.1em}
.section-title,.hero h1{font-weight:200;letter-spacing:.06em}
.site-nav{font-size:18px;letter-spacing:.12em;gap:6px 44px}
.site-nav a{font-weight:400}
.price,.demo-time,.sm-time,.df-meta,.role,.small,.sub-note,.form-status,.pg-cap{font-family:"IBM Plex Mono",monospace;letter-spacing:0}
.role{text-transform:uppercase;font-size:12px;letter-spacing:.08em}
/* gallery video captions */
.pg-cap{position:absolute;left:0;right:0;bottom:0;padding:22px 12px 10px;font-size:12px;line-height:1.3;color:#fff;background:linear-gradient(transparent,rgba(0,0,0,.85));text-align:left;z-index:1}
.lb-caption-title{display:block;margin-bottom:4px;color:#fff}

/* Homepage mini sound map with tour */
.mm{max-width:1240px;margin:0 auto;position:relative}
.mm-wrap{position:relative;border:1px solid #1c1c1c}
.mm-map{height:min(520px,62vh);background:#050505}
.mm-map .leaflet-tile-pane{filter:brightness(.5) saturate(.55) contrast(1.1)}
.mm-map .leaflet-control-attribution{background:rgba(0,0,0,.5);color:#777}.mm-map .leaflet-control-attribution a{color:#999}
.mm-map .leaflet-bar a{background:#111;color:#ddd;border-color:#222}
.mm-pin{border-radius:50%;background:#fff;box-shadow:0 0 0 0 rgba(255,255,255,.6);animation:mmpulse 2.4s infinite}
.mm-pin.on{background:#e8c37a;animation:mmpulse-on 1.4s infinite;z-index:1000!important}
@keyframes mmpulse{0%{box-shadow:0 0 0 0 rgba(255,255,255,.55)}70%{box-shadow:0 0 0 12px rgba(255,255,255,0)}100%{box-shadow:0 0 0 0 rgba(255,255,255,0)}}
@keyframes mmpulse-on{0%{box-shadow:0 0 0 0 rgba(232,195,122,.8)}70%{box-shadow:0 0 0 20px rgba(232,195,122,0)}100%{box-shadow:0 0 0 0 rgba(232,195,122,0)}}
.mm-pin{width:9px!important;height:9px!important;margin:-4.5px 0 0 -4.5px!important}.mm-pin.on{width:13px!important;height:13px!important;margin:-6.5px 0 0 -6.5px!important}
.mm-caption{position:absolute;left:28px;bottom:28px;z-index:500;pointer-events:none;opacity:0;transform:translateY(8px);transition:opacity .8s,transform .8s}
.mm-caption.show{opacity:1;transform:none}
.mm-caption span{display:block;font-family:"Barlow Condensed",sans-serif;font-weight:200;font-size:clamp(28px,4vw,52px);letter-spacing:.05em;text-transform:uppercase;line-height:1;text-shadow:0 2px 20px rgba(0,0,0,.8)}
.mm-caption small{font-family:"IBM Plex Mono",monospace;font-size:13px;color:#ccc;letter-spacing:.1em;text-transform:uppercase}
.mm-tour{position:absolute;top:16px;right:16px;z-index:500;height:40px;padding:0 18px;border:1px solid #fff;background:rgba(0,0,0,.55);color:#fff;font:400 16px "Barlow Condensed",sans-serif;letter-spacing:.12em;text-transform:uppercase;cursor:pointer}
.mm-tour:hover{background:#fff;color:#000}
.mm-bar{display:flex;align-items:center;gap:16px;padding:14px 4px;border-bottom:1px solid #1c1c1c}
.mm-play{flex:0 0 40px;height:40px;border-radius:50%;border:0;background:#fff;color:#000;cursor:pointer;display:flex;align-items:center;justify-content:center}
.mm-play svg{width:14px;height:14px}.mm .i-pause{display:none}.mm.playing .i-play{display:none}.mm.playing .i-pause{display:block}
.mm-info{flex:0 1 260px;min-width:0}
.mm-title{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:15px}
.mm-where,.mm-time{font-family:"IBM Plex Mono",monospace;font-size:12px;color:#888;letter-spacing:.04em}
.mm-progress{flex:1;height:22px;display:flex;align-items:center;cursor:pointer}
.mm-track{width:100%;height:2px;background:#333;position:relative}.mm-fill{position:absolute;left:0;top:0;bottom:0;width:0;background:#fff}
.mm-open{white-space:nowrap;font-family:"Barlow Condensed",sans-serif;font-size:16px;letter-spacing:.1em;text-transform:uppercase;color:#fff;text-decoration:none}
.mm-open:hover{text-decoration:underline}
.mm-hint{text-align:center;color:#888;font-size:14px;margin:0 0 22px}
.mm-shuffle{height:36px;padding:0 14px;border:1px solid #555;background:transparent;color:#fff;font:400 15px "Barlow Condensed",sans-serif;letter-spacing:.12em;text-transform:uppercase;cursor:pointer;white-space:nowrap}
.mm-shuffle:hover{border-color:#fff;background:#fff;color:#000}

/* Sound Maps page: same look as the homepage map */
.sm-wrap{position:relative;max-width:1400px;margin:0 auto;border:1px solid #1c1c1c}
#soundmap{background:#050505}
#soundmap .leaflet-tile-pane{filter:brightness(.5) saturate(.55) contrast(1.1)}
#soundmap .leaflet-control-attribution{background:rgba(0,0,0,.5);color:#777}#soundmap .leaflet-control-attribution a{color:#999}
#soundmap .leaflet-bar a{background:#111;color:#ddd;border-color:#222}
.sm-pin{width:9px!important;height:9px!important;margin:-4.5px 0 0 -4.5px!important;border:0;background:#fff;box-shadow:none;animation:mmpulse 2.4s infinite}
.sm-pin.playing{width:13px!important;height:13px!important;margin:-6.5px 0 0 -6.5px!important;background:#e8c37a;animation:mmpulse-on 1.4s infinite;z-index:1000!important}
@media (prefers-reduced-motion:reduce){.sm-pin,.sm-pin.playing,.mm-pin{animation:none}}
#soundmap .leaflet-popup-content-wrapper,#soundmap .leaflet-popup-tip{background:#0b0b0b;color:#fff;border:1px solid #2a2a2a;border-radius:0;box-shadow:0 10px 30px rgba(0,0,0,.6)}
#soundmap .leaflet-popup-close-button{color:#aaa}
.sm-pop h3{font-family:"Barlow Condensed",sans-serif;font-weight:300;font-size:24px;letter-spacing:.05em;text-transform:uppercase}
.sm-playbtn.on{background:#e8c37a;border-color:#e8c37a;color:#000}
.sm-item.on .sm-ico{background:#e8c37a;border-color:#e8c37a}
.sm-caption{position:absolute;left:28px;bottom:28px;z-index:500;pointer-events:none;opacity:0;transform:translateY(8px);transition:opacity .8s,transform .8s;max-width:70%}
.sm-caption.show{opacity:1;transform:none}
.sm-caption span{display:block;font-family:"Barlow Condensed",sans-serif;font-weight:200;font-size:clamp(28px,4vw,56px);letter-spacing:.05em;text-transform:uppercase;line-height:1;text-shadow:0 2px 20px rgba(0,0,0,.8)}
.sm-caption small{font-family:"IBM Plex Mono",monospace;font-size:13px;color:#ccc;letter-spacing:.1em;text-transform:uppercase}
.sm-random{position:absolute;top:16px;right:16px;z-index:500;height:40px;padding:0 18px;border:1px solid #fff;background:rgba(0,0,0,.55);color:#fff;font:400 16px "Barlow Condensed",sans-serif;letter-spacing:.12em;text-transform:uppercase;cursor:pointer}
.sm-random:hover{background:#fff;color:#000}
.sm-shuffle{flex:none;height:40px;padding:0 14px;border:1px solid #555;background:transparent;color:#fff;font:400 15px "Barlow Condensed",sans-serif;letter-spacing:.12em;text-transform:uppercase;cursor:pointer}
.sm-shuffle:hover{background:#fff;color:#000;border-color:#fff}
.sm-pp{background:#fff}.sm-player.is-playing .sm-pp{background:#e8c37a;border-color:#e8c37a}
@media (max-width:767px){.sm-caption{left:16px;bottom:16px}.sm-shuffle{order:4}}

/* Product pages: header, buy, tags, tech table, downloads */
.pi-kicker{display:block;font-family:"IBM Plex Mono",monospace;font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:#888;margin-bottom:10px}
.product-info h1{font-family:"Barlow Condensed",sans-serif;font-weight:200;font-size:clamp(44px,5vw,68px);letter-spacing:.04em;text-transform:uppercase;line-height:.95}
.pi-buy{display:flex;align-items:center;gap:22px;flex-wrap:wrap;margin:22px 0 10px}
.product-info .pi-buy .price{margin:0;font-family:"IBM Plex Mono",monospace;font-size:26px;font-weight:300}
.pi-buy .btn{height:48px;padding:0 34px}
.product-info .pi-legal{font-size:12px;color:#777;line-height:1.5;margin:0 0 34px;max-width:520px}.pi-legal a{color:#999}
.product-info .pi-desc p{margin:0 0 16px;font-size:16px;line-height:1.7;color:#ddd}
.pi-h{margin:34px 0 14px;font-family:"IBM Plex Mono",monospace;font-weight:400;font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:#888}
.pi-tags{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
.pi-tags li{padding:6px 12px;border:1px solid #333;font-size:13px;letter-spacing:.04em;color:#ddd}
.pi-specs{margin:0;border-top:1px solid #222}
.pi-specs div{display:grid;grid-template-columns:150px 1fr;gap:16px;padding:12px 0;border-bottom:1px solid #222}
.pi-specs dt{font-family:"IBM Plex Mono",monospace;font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:#888;padding-top:2px}
.pi-specs dd{margin:0;font-size:15px;color:#fff}
.pi-doc{display:flex;align-items:center;gap:22px;margin-top:34px;padding:20px 22px;border:1px solid #2a2a2a;background:#080808}
.pi-doc img{flex:none;width:84px;height:auto}
.pi-doc .pi-doc-ico{flex:none;width:56px;height:70px;border:1px solid #555;display:flex;align-items:center;justify-content:center;font-family:"IBM Plex Mono",monospace;font-size:12px;color:#ccc}
.pi-doc strong{display:block;font-weight:400;font-size:15px;margin-bottom:10px}
.pi-dl{display:flex;gap:8px;flex-wrap:wrap}
.pi-dl a{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 14px;border:1px solid #fff;color:#fff;text-decoration:none;font-family:"IBM Plex Mono",monospace;font-size:12px;letter-spacing:.08em}
.pi-dl a:hover{background:#fff;color:#000}
@media (max-width:600px){.pi-specs div{grid-template-columns:1fr;gap:4px}.pi-doc{flex-direction:column;align-items:flex-start}}
.product-info{gap:0;max-width:520px}
.product-info h1{margin:0}
/* left column gallery: first item large, the rest in pairs */
.pv-gallery{display:grid;grid-template-columns:1fr 1fr;gap:10px;width:100%}
.pv-gallery .pg-item:first-child{grid-column:1/-1}
.pv-gallery.n2 .pg-item:first-child{grid-column:auto}
.pv-gallery .pg-item{aspect-ratio:16/10}
.pv-gallery .pg-item:not(:first-child) .pg-cap{font-size:11px;padding:18px 10px 8px}
.pv-gallery .pg-item:not(:first-child)::after{width:46px;height:32px;border-radius:8px}

/* Homepage: tighter spacing between sections */
section[id].section{padding:20px 10px 32px}
section[id].section .section-title{margin-bottom:40px}
@media (max-width:600px){section[id].section{padding:16px 10px 36px}section[id].section .section-title{margin-bottom:28px}}
#plugins.section,#data-fields.section{padding-top:0}
#subscribe.subscribe{padding:16px 20px 40px}
@media (max-width:600px){#subscribe.subscribe{padding:12px 20px 32px}}
.site-footer{min-height:170px}

/* Phone menu: logo left, menu button right, full-screen list */
.nav-toggle{display:none}
@media (max-width:767px){
  .site-header{display:flex;align-items:center;justify-content:space-between;min-height:56px;padding:0 16px}
  .site-header .logo{position:static}
  .site-header .logo img{width:36px;height:36px;opacity:.85}
  .nav-toggle{display:flex;flex-direction:column;justify-content:center;gap:7px;width:44px;height:44px;margin-right:-8px;padding:0 9px;background:none;border:0;cursor:pointer}
  .nav-toggle span{display:block;height:1.5px;background:#fff;transition:transform .3s,opacity .3s}
  .site-header.open .nav-toggle span:first-child{transform:translateY(4.25px) rotate(45deg)}
  .site-header.open .nav-toggle span:last-child{transform:translateY(-4.25px) rotate(-45deg)}
  .site-nav{position:fixed;inset:56px 0 0 0;z-index:19;background:#000;flex-direction:column;flex-wrap:nowrap;justify-content:flex-start;align-items:flex-start;gap:0;padding:24px 24px 40px;opacity:0;visibility:hidden;transform:translateY(-8px);transition:opacity .3s,transform .3s,visibility .3s;overflow-y:auto}
  .site-header.open .site-nav{opacity:1;visibility:visible;transform:none}
  .site-nav a{display:block;width:100%;padding:14px 0;border-bottom:1px solid #1c1c1c;font-size:34px;font-weight:200;letter-spacing:.06em;line-height:1.1}
  body.nav-open{overflow:hidden}
}
.card-price{display:block;margin-top:6px;font-family:"IBM Plex Mono",monospace;font-size:14px;color:#ccc;letter-spacing:.04em}
