/* (base.css is linked before this file by the page: one copy of it when FREQUENCIES and a product share a page) */
/* DREAMERS FREQUENCIES: the world. The shard tunnel (world.js) is the room; every product stands in it at its
   own station as a display (its live demo, looping) with its text beside it. Three layouts, chosen on <html>
   before the first paint (index.html):
     fq-stage  a desktop with motion: the stations are placed in the tunnel by world.js, scrolling walks
               the camera from one to the next, the pointer looks around
     fq-flow   phones and narrow windows: the same cards in one column over a lighter tunnel
     fq-still  reduced motion, MOTION OFF or no WebGL: the same cards over a still of the tunnel */
html{background:#020404}
body{min-height:100%;overflow-x:hidden;background:#020404}
.world3d{position:fixed;inset:0;width:100%;height:100%;z-index:0;display:block;background:#020404;opacity:0;transition:opacity 1.1s var(--ease)}
body.world-on .world3d{opacity:1}
.fq-still .world3d{display:none}
.fq-still body{background:#020404 url("/frequencies/media/world-still.jpg") center 42% / cover fixed no-repeat}
/* legibility: darker at the top (header) and the bottom (caption, scrubber); never a box around the world */
.fq-veil{position:fixed;inset:0;z-index:1;pointer-events:none;background:linear-gradient(180deg,rgba(2,4,4,.78) 0,rgba(2,4,4,0) 130px,rgba(2,4,4,0) 70%,rgba(2,4,4,.82) 100%)}
.fq-still .fq-veil{background:linear-gradient(180deg,rgba(2,4,4,.8) 0,rgba(2,4,4,.35) 30%,rgba(2,4,4,.55) 100%)}

/* ---------- loader: the plane under construction ---------- */
.boot{position:fixed;inset:0;z-index:50;pointer-events:none;transition:opacity .6s}
.boot span{position:absolute;color:var(--mute)}
.boot b{color:var(--ink);font-weight:600}
.boot-tl{left:25%;top:15%}
.boot-br{right:var(--gut);bottom:var(--gut)}
body.ready .boot{opacity:0}
.chrome,.story,.scrub,.fq-hint,.fq-filter{opacity:0;transition:opacity .9s var(--ease) .2s}
body.ready .chrome,body.ready .story,body.ready .scrub,body.ready .fq-hint,body.ready .fq-filter{opacity:1}

/* ---------- the newspaper: you start inside it; scrolling pulls back until it is one framed page ---------- */
.fq-intro{position:relative;z-index:2}
.fq-intro-in{position:relative;height:100vh;height:100svh;overflow:hidden}
.fq-intro-copy{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.fq-paper{position:absolute;left:0;top:0;overflow:hidden;transform-origin:50% 50%;will-change:transform,opacity}
.fq-paper .br{position:absolute;inset:-9px;pointer-events:none;opacity:0;transition:opacity .45s}
.paper{position:absolute;left:0;top:0;width:3250px;transform-origin:0 0;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));pointer-events:none;background:rgba(4,7,7,.94)}
.pcol{position:relative;height:100%;overflow:hidden;padding:0 9px;border-left:1px solid rgba(238,243,239,.09)}
.pcol:first-child{border-left:0}
.pin{position:absolute;left:9px;right:9px;top:50%;transform:translateY(calc(-50% + var(--drift,0) * var(--dv) * 1px))}
.pp{margin:0 0 5px;font-family:var(--f-text);font-weight:600;font-size:16px;line-height:1.24;letter-spacing:.02em;color:#4c534f;text-align:justify;hyphens:auto}
.pp b{display:block;color:#c9d1cc;font-weight:700;letter-spacing:.06em;margin:0}
.pp.st{color:var(--ink);font-size:17px;margin:4px 0 9px;text-align:left}
.pp.st b{display:inline;color:var(--accent)}
.intro-pill{position:fixed;left:50%;bottom:34px;transform:translateX(-50%);z-index:21;background:var(--ink);color:#000;padding:10px 18px;border-radius:99px;opacity:0;pointer-events:none;transition:opacity .5s;margin:0}
body.ready.in-intro .intro-pill{opacity:1}
.intro-pill i{display:inline-block;font-style:normal;animation:bob 1.4s ease-in-out infinite}
@keyframes bob{50%{transform:translateY(3px)}}
body.in-intro .story,body.in-intro .scrub,body.in-intro .fq-hint,body.in-intro .fq-filter{opacity:0!important;pointer-events:none}
body::after{content:"";position:fixed;left:0;right:0;top:0;height:96px;z-index:15;pointer-events:none;background:linear-gradient(#050505 30%,rgba(5,5,5,0));opacity:0;transition:opacity .5s}
body.in-intro::after{opacity:1}

/* ---------- a station: the display (its live demo) with its text, one card ---------- */
.stn{--c:var(--ink);position:relative;display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);grid-template-areas:"media info" "does does";
  background:rgba(2,6,6,.74);border:1px solid rgba(238,243,239,.14);box-shadow:0 40px 90px -40px #000,0 0 70px -30px var(--c);scroll-margin-top:84px}
.stn.flip{grid-template-columns:minmax(0,1fr) minmax(0,1.6fr);grid-template-areas:"info media" "does does"}
.st-media{grid-area:media;position:relative;min-width:0;background:#020404;overflow:hidden;cursor:pointer;margin:0}
.st-media::before{content:"";display:block;padding-top:56.25%}
.st-media img,.st-media video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;max-width:none}
.st-media video{opacity:0;transition:opacity .5s var(--ease)}
.st-media.playing video{opacity:1}
.st-media .br{position:absolute;inset:10px;pointer-events:none;z-index:2}
.br::before,.br::after,.br i::before,.br i::after{content:"";position:absolute;width:14px;height:14px;border-color:var(--c,var(--ink));border-style:solid}
.br::before{left:0;top:0;border-width:1px 0 0 1px}
.br::after{right:0;top:0;border-width:1px 1px 0 0}
.br i::before{left:0;bottom:0;border-width:0 0 1px 1px}
.br i::after{right:0;bottom:0;border-width:0 1px 1px 0}
.st-open{position:absolute;right:20px;bottom:20px;z-index:3;padding:8px 11px;background:var(--c);color:#000;font-weight:600;pointer-events:none;opacity:0;transform:translateY(6px);transition:opacity .35s var(--ease),transform .45s var(--ease)}
.st-media:hover .st-open,.st-media:focus-within .st-open{opacity:1;transform:none}

.st-info{grid-area:info;display:flex;flex-direction:column;gap:12px;padding:clamp(16px,1.7vw,26px);min-width:0;border-left:1px solid var(--line)}
.stn.flip .st-info{border-left:0;border-right:1px solid var(--line)}
.st-kind{margin:0;display:flex;flex-wrap:wrap;gap:4px 12px;align-items:baseline;color:var(--mute)}
.st-kind b{color:var(--c);font-weight:600}
.stn h2{font-size:clamp(28px,2.9vw,46px);line-height:.98;letter-spacing:.02em}
.stn h2 small{display:block;font-family:var(--f-mono);font-size:10px;letter-spacing:.32em;color:var(--mute);font-weight:600;margin-bottom:8px}
.st-tag{margin:0;font-family:var(--f-display);font-weight:800;font-size:clamp(12px,.95vw,15px);line-height:1.25;letter-spacing:.06em}
.st-tag em{font-style:normal;color:var(--c)}
.st-line{margin:0;font-size:clamp(15px,1.12vw,17px);line-height:1.35;color:#c9d1cc}
.st-buy{margin-top:auto;display:grid;gap:12px;padding-top:12px;border-top:1px solid var(--line)}
.st-price{margin:0;display:grid;gap:5px}
.st-price strong{font-family:var(--f-display);font-weight:800;font-size:clamp(16px,1.35vw,22px);letter-spacing:.04em;line-height:1.15}
.st-price small{color:var(--mute)}
.st-btns{display:flex;flex-wrap:wrap;gap:8px}
.st-btns .btn{padding:12px 16px;font-size:11.5px}
.st-btns .btn.ghost:hover{box-shadow:inset 0 0 0 1px var(--c);color:var(--c)}
.st-see{color:var(--c)!important}

.st-does{grid-area:does;display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,27%);gap:14px 28px;padding:14px clamp(16px,1.7vw,26px) 16px;border-top:1px solid var(--line);background:rgba(0,0,0,.28);min-width:0}
.st-does h3,.st-glance h3{font-family:var(--f-mono);font-size:10.5px;letter-spacing:.14em;color:var(--c);font-weight:600;margin:0 0 9px}
.st-does ol{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));gap:6px 22px;counter-reset:d}
.st-does ol li{counter-increment:d;font-size:14px;line-height:1.32;color:#c9d1cc;display:grid;grid-template-columns:2.4ch minmax(0,1fr);gap:6px;letter-spacing:.02em}
.st-does ol li::before{content:counter(d,decimal-leading-zero);font-family:var(--f-mono);font-size:10px;color:var(--mute);padding-top:3px}
.st-glance ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 18px}
.st-glance li{display:grid;gap:2px}
.st-glance b{font-family:var(--f-display);font-weight:800;font-size:15px;letter-spacing:.03em;color:var(--ink);white-space:nowrap}
.st-glance span{font-family:var(--f-mono);font-size:9.5px;letter-spacing:.08em;color:var(--mute);line-height:1.35}
.st-inside{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;padding-top:4px}
.st-inside>span{font-family:var(--f-mono);font-size:10.5px;letter-spacing:.14em;color:var(--c)}
.st-inside button{font-family:var(--f-mono);font-size:11px;letter-spacing:.08em;padding:6px 9px;box-shadow:inset 0 0 0 1px var(--line);color:#c9d1cc;transition:box-shadow .25s,color .25s}
.st-inside button:hover,.st-inside button:focus-visible{box-shadow:inset 0 0 0 1px var(--bc,var(--ink));color:var(--bc,var(--ink))}

/* ---------- the stage (desktop with motion): stations are placed in the tunnel by world.js ---------- */
.fq-stage,.fq-stage body{overscroll-behavior-y:none}
.fq-stage .fq-main{position:fixed;inset:0;z-index:5;pointer-events:none;overflow:hidden}
.fq-stage .fq-intro{position:absolute;inset:0}
.fq-stage .fq-stations{position:absolute;inset:0}
.fq-stage .stn{position:absolute;left:0;top:0;width:var(--cw,1100px);transform-origin:50% 50%;will-change:transform,opacity;visibility:hidden;pointer-events:none}
.fq-stage .stn.near{pointer-events:auto}
.fq-stage .stn:not(.on) .st-info,.fq-stage .stn:not(.on) .st-does{transition:opacity .45s var(--ease)}
.fq-stage .stn:not(.on) .st-info>*,.fq-stage .stn:not(.on) .st-does>*{opacity:.42;transition:opacity .45s var(--ease)}
.fq-stage .stn.on .st-info>*,.fq-stage .stn.on .st-does>*{opacity:1;transition:opacity .6s var(--ease)}
.fq-stage .stn:not(.on) .st-media{filter:saturate(.35) brightness(.78);transition:filter .6s var(--ease)}
.fq-stage .stn.on .st-media{filter:none;transition:filter .6s var(--ease)}
.fq-stage .fq-track{position:relative;z-index:-1;width:1px;pointer-events:none}
.fq-stage .world-drag{cursor:grabbing}
.fq-stage .fq-filter{position:fixed;left:50%;top:84px;transform:translateX(-50%);z-index:21}

/* ---------- flow + still: the same cards, one under the other ---------- */
.fq-flow .fq-main,.fq-still .fq-main{position:relative;z-index:5;padding:0 var(--gut) 120px;max-width:1280px;margin:0 auto}
.fq-flow .fq-intro,.fq-still .fq-intro{height:180vh;height:180svh;margin:0 calc(var(--gut) * -1)}
.fq-flow .fq-intro-in,.fq-still .fq-intro-in{position:sticky;top:0}
.fq-flow .fq-stations,.fq-still .fq-stations{display:grid;gap:clamp(56px,12vh,140px);padding-top:28px}
.fq-flow .stn[hidden],.fq-still .stn[hidden],.fq-stage .stn[hidden]{display:none!important}
.fq-flow .story,.fq-still .story,.fq-flow .fq-hint,.fq-still .fq-hint{display:none}
.fq-still .st-media video{opacity:1}
.fq-still .fq-paper{transform:none!important}
.fq-still .fq-intro{height:auto}
.fq-still .fq-intro-in{position:relative;height:auto;padding:118px 0 10px}
.fq-still .fq-paper{position:relative;left:auto!important;top:auto!important;margin:0 auto}

/* the header stays legible over cards scrolling under it */
.fq-flow .chrome,.fq-still .chrome{background:linear-gradient(rgba(2,4,4,.96) 55%,rgba(2,4,4,0));padding-bottom:30px}

/* filter chips */
.fq-filter{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;pointer-events:auto}
.fq-filter button{font-family:var(--f-mono);font-size:11px;letter-spacing:.1em;padding:9px 12px;min-height:36px;color:var(--mute);background:rgba(2,6,6,.72);box-shadow:inset 0 0 0 1px var(--line);transition:color .25s,box-shadow .25s}
.fq-filter button:hover{color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}
.fq-filter button[aria-pressed="true"]{color:#000;background:var(--ink);box-shadow:none}
.fq-filter small{font-size:10px;opacity:.7;margin-left:6px}
.fq-flow .fq-filter,.fq-still .fq-filter{padding-top:8px}

/* ---------- timeline caption + scrubber ---------- */
.story{position:fixed;left:50%;bottom:66px;transform:translateX(-50%);z-index:20;text-align:center;width:min(760px,92vw);pointer-events:none}
.st-num{font-family:var(--f-display);font-weight:800;font-size:22px;letter-spacing:.12em;height:26px;color:var(--c,var(--ink))}
.st-name{color:var(--mute);height:18px;margin-top:5px}
.story .st-act{margin-top:4px;height:16px;font-family:var(--f-mono);font-size:11px;letter-spacing:.1em;color:var(--c,var(--ink))}
.story .swap{display:inline-block;animation:swap .55s var(--ease)}
@keyframes swap{from{opacity:0;transform:translateY(8px);filter:blur(3px)}to{opacity:1;transform:none;filter:none}}
.scrub{position:fixed;left:50%;bottom:26px;width:min(820px,80vw);height:22px;transform:translateX(-50%);z-index:20;cursor:pointer;touch-action:none}
.scrub-line{position:absolute;left:0;right:0;top:50%;height:1px;background-image:linear-gradient(90deg,rgba(238,243,239,.35) 50%,transparent 50%);background-size:4px 1px}
.scrub .tick{position:absolute;top:50%;width:1px;height:7px;margin-top:-3px;background:var(--mute)}
.scrub .tick.major{height:11px;margin-top:-5px;background:var(--ink)}
.scrub .tick.off{opacity:.2}
.scrub-dot{position:absolute;top:50%;width:9px;height:9px;margin:-4.5px 0 0 -4.5px;border-radius:50%;background:var(--c,var(--accent));box-shadow:0 0 14px var(--c,var(--accent))}
.scrub .fill{position:absolute;left:0;top:50%;height:1px;background:var(--ink)}
.fq-hint{position:fixed;right:var(--gut);bottom:28px;z-index:20;color:var(--mute)}
/* captions stay legible over the lit floor */
.fq-stage body::before{content:"";position:fixed;left:0;right:0;bottom:0;height:min(220px,26vh);z-index:4;pointer-events:none;background:linear-gradient(rgba(2,4,4,0),rgba(2,4,4,.8) 70%,#020404)}

/* ---------- index + about sheets ---------- */
.sheet{position:fixed;inset:0;z-index:30;background:var(--void);overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;opacity:0;transition:opacity .5s var(--ease);touch-action:pan-y}
.sheet[hidden]{display:block;pointer-events:none;visibility:hidden}
.sheet.on{opacity:1;visibility:visible;pointer-events:auto}
.idx-in,.about-in{padding:96px var(--gut) 96px}
.idx-in{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);column-gap:clamp(28px,4.5vw,80px)}
.idx-head{grid-column:1/-1;display:flex;justify-content:space-between;align-items:flex-end;gap:16px;border-bottom:1px solid var(--ink);padding-bottom:16px;margin-bottom:clamp(24px,4vh,48px)}
.idx-head h2{font-size:clamp(56px,10vw,160px);line-height:.84;letter-spacing:-.01em}
.idx-head .mono{color:var(--mute)}
.idx-head b{color:var(--ink);font-weight:600}
.idx-list{list-style:none;margin:0;padding:0}
.idx-list button{display:grid;grid-template-columns:4ch 11ch minmax(0,1fr) auto;column-gap:16px;width:100%;text-align:left;padding:16px 0 17px;border-bottom:1px solid var(--line);align-items:baseline;
  opacity:0;transform:translateY(14px);transition:color .3s,padding .45s var(--ease)}
.sheet.on .idx-list button{opacity:1;transform:none;transition:color .3s,padding .45s var(--ease),opacity .7s var(--ease) var(--d),transform .9s var(--ease) var(--d)}
.idx-list .n,.idx-list .y,.idx-list .p{font-family:var(--f-mono);font-size:11px;color:var(--mute);letter-spacing:.06em}
.idx-list .t{font-family:var(--f-display);font-weight:800;font-size:clamp(20px,2.1vw,34px);letter-spacing:.03em;line-height:1.05}
.idx-list .k{display:block;font-family:var(--f-mono);font-size:10px;color:var(--mute);margin-top:6px;letter-spacing:.08em}
.idx-list .p{text-align:right}
.idx-list button:hover,.idx-list button.hot{padding-left:14px;color:var(--c)}
.idx-list button:hover .p,.idx-list button.hot .p{color:var(--ink)}
.idx-list li[hidden]{display:none}
.idx-peek{position:sticky;top:110px;align-self:start;margin:0}
.idx-peek img{width:100%;aspect-ratio:16/9;object-fit:cover;background:#0d0e0d;transition:opacity .35s}
.idx-peek figcaption{margin-top:12px;color:var(--mute)}
.about{background:#000}
.about-cols{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:clamp(28px,4.5vw,80px)}
.about-lead{font-family:var(--f-display);font-weight:800;font-size:clamp(24px,2.6vw,40px);line-height:1.14;margin:0;letter-spacing:.02em}
.facts{display:grid;gap:26px}
.facts span{color:var(--accent)}
.facts p{margin:6px 0 0;font-size:18px;line-height:1.35;color:#c9d1cc}
.about-foot{display:flex;flex-wrap:wrap;gap:12px;margin-top:clamp(40px,8vh,90px);padding-top:24px;border-top:1px solid var(--line)}

/* ---------- pull-through ---------- */
.pull{position:fixed;z-index:60;pointer-events:none;overflow:hidden;opacity:0}
.pull img{width:100%;height:100%;object-fit:cover;max-width:none}
.pull.go{opacity:1}

/* the way back to the threshold, beside the mark (as on /websites/) */
.fq-home{display:flex;align-items:center;gap:clamp(14px,2vw,26px)}
.fq-threshold{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-family:var(--f-mono);font-size:10px;letter-spacing:.12em;line-height:1.15;color:var(--ink);text-decoration:none;opacity:.85;transition:opacity .25s}
.fq-threshold svg{width:16px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;flex:none}
.fq-threshold span{display:grid}
.fq-threshold small{font-size:8px;letter-spacing:.16em;color:var(--mute)}
.fq-threshold:hover,.fq-threshold:focus-visible{opacity:1}

/* ---------- narrower screens ---------- */
@media (max-width:1180px){
  .st-does{grid-template-columns:minmax(0,1fr)}
  .st-glance ul{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media (max-width:899px){
  .stn,.stn.flip{grid-template-columns:minmax(0,1fr);grid-template-areas:"media" "info" "does"}
  .st-info,.stn.flip .st-info{border:0;border-top:1px solid var(--line)}
  .st-glance ul{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:760px){
  .nav{gap:14px;font-size:11px}
  .nav [data-view="plane"]{display:none}
  .fq-threshold span{display:none}.fq-threshold{min-width:44px;justify-content:center}.fq-home{gap:6px}
  .idx-in,.about-cols{grid-template-columns:1fr}
  .idx-peek{display:none}
  .idx-list button{grid-template-columns:3ch minmax(0,1fr) auto}
  .idx-list .y{display:none}
  .boot{display:none}
  .scrub{width:calc(100vw - 32px);bottom:18px}
  .stn h2{font-size:30px}
  .st-does ol li{font-size:15px}
  .st-btns .btn{flex:1 1 auto;justify-content:center}
  .fq-filter button{flex:1 1 auto}
  /* a calmer newspaper on phones */
  .fq-paper .pp:not(.st),.fq-paper .pcol:not(:nth-child(4)) .pp.st{opacity:.32}
  .fq-paper .pcol:not(:nth-child(4)) .pp.st{font-size:17px;text-shadow:none}
  .fq-paper .pp.st{font-size:19px;line-height:1.3;margin:10px 0 14px;text-shadow:0 1px 6px #000}
  body::after{height:150px;background:linear-gradient(#050505 55%,rgba(5,5,5,0))}
}
@media (prefers-reduced-motion:reduce){.intro-pill i{animation:none}}
/* ?world=capture: the tunnel alone, for rendering media/world-still.jpg */
.fq-capture .chrome,.fq-capture .fq-main,.fq-capture .story,.fq-capture .scrub,.fq-capture .fq-hint,.fq-capture .fq-veil,.fq-capture .boot,.fq-capture .intro-pill{visibility:hidden!important}
body.fq-capture::before,body.fq-capture::after,.fq-capture .fq-paper{display:none!important}

/* polish, phone: the header keeps a dark fade of its own (text scrolling under it never collides with the mark and the
   links); every button and link at least 44px; the small grey lines readable */
@media (max-width:760px){
  .fq-flow .chrome{background:linear-gradient(rgba(2,4,4,.96) 60%,rgba(2,4,4,0))!important;padding-bottom:26px}
  .fq-flow .nav :is(button,a){min-height:44px;min-width:44px}
  .fq-flow .fq-filter button{min-height:44px}
  .fq-flow .btn{min-height:44px}
  .fq-flow .st-inside button{min-height:44px}
  .fq-flow .stn :is(small, .mono:not(h2):not(h3)){font-size:12px}
}
@media (max-width:760px){
  /* the rail along the foot keeps a dark fade under it, so lines of text scrolling past never run through it */
  .fq-flow .scrub::before{content:"";position:absolute;left:-16px;right:-16px;bottom:-24px;height:70px;background:linear-gradient(rgba(2,4,4,0),rgba(2,4,4,.92) 58%);z-index:-1;pointer-events:none}
}

/* the lowest quality tier (engine.mjs, html.world-lite): the glass blur behind cards and sheets goes (the cards stay,
   a little more opaque), so the slowest machines composite flat layers */
html.world-lite *{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
