@import url("../products.css");

body.fluxo { --accent:#354bd6; --ink:#191e29; --pencil:#626c7e; --paper:#f3f5f8; color:var(--ink); }
.projection { isolation:isolate; position:relative; overflow:hidden; color:white; background:#121f32; }
.projection-sky,.projection-still,.projection-shade { pointer-events:none; position:absolute; inset:0; z-index:-1; }
.projection-sky { background:radial-gradient(ellipse at 73% 54%,#415670 0,#1a2a40 36%,#0a111f 90%); }
.projection-sky::after { content:""; position:absolute; inset:6% 4%; opacity:.18; background:repeating-linear-gradient(90deg,transparent 0 calc(10% - 1px),#8faac0 10%); mask-image:linear-gradient(0deg,transparent,#000 50%,transparent); }
.projection-still { inset:-40px -3%; background:url("./still.jpg") center 53%/cover no-repeat;
  transform:translate3d(var(--pan,0%),var(--drift,0px),0) scale(1.025); clip-path:inset(0); transition:clip-path 1.05s cubic-bezier(.7,0,.18,1),filter .85s; }
.projection[data-device=iphone] .projection-still { clip-path:inset(0 100% 0 0); filter:saturate(.4); }
.projection-shade { background:linear-gradient(90deg,rgba(5,11,21,.76),rgba(9,17,25,.17) 54%,transparent 75%),linear-gradient(0deg,rgba(4,11,20,.7),transparent 52%); }
.projection-inside { width:min(1360px,88%); margin:auto; position:relative; min-height:clamp(470px,62svh,770px); display:flex; flex-direction:column; justify-content:space-between; padding:26px 0 clamp(38px,4.5vw,82px); }
.opening-slate,.slip-slate,.desk-scale,.slip-foot,.desk-heading span { font:500 11px/1.4 ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing:.07em; }
.opening-slate { display:flex; align-items:center; justify-content:space-between; border-top:1px solid #fff7; padding-top:13px; color:#e7ebf3; }
.opening-slate span:first-child { font:600 20px/1 system-ui; letter-spacing:-.065em; }
.opening-copy { margin:48px 0 0; position:relative; width:max-content; max-width:60%; }
.opening-copy h1 { font-size:clamp(60px,6.6vw,114px); font-weight:600; line-height:1.08; letter-spacing:-.065em; }
.opening-copy h1 span { display:block; }
.opening-copy h1 em { font:inherit; color:#d5e5fb; }
.opening-copy p { color:#f2f4f7; font-size:clamp(14px,1.14vw,18px); line-height:1.7; margin:22px 0; }
.opening-actions { display:flex; gap:24px; align-items:center; font-size:13px; }
.opening-actions a:first-child { display:inline-flex;align-items:center;gap:20px;background:#f4f6f8;color:#172234;padding:12px 18px;border-radius:3px; transition:background .22s,transform .22s; }
.opening-actions a:last-child { border-bottom:1px solid #c2d0dc90; padding:8px 0; }
.opening-actions a:hover { transform:translateY(-2px); }
.opening-actions a:focus-visible,.device-switch button:focus-visible { outline:2px solid #8daaff; outline-offset:4px; }
.record-slip { width:clamp(224px,24vw,380px); position:absolute; bottom:clamp(38px,4.5vw,82px); right:0; }
.slip-slate { display:flex; justify-content:space-between; border-top:1px solid #fff9; padding-top:9px; }
.slip-slate b { font-weight:400; opacity:.6; margin:0 4px; }
.position-clock { font:normal clamp(72px,7vw,115px)/1.18 'Helvetica Neue',Arial,sans-serif; font-variant-numeric:tabular-nums; letter-spacing:-.085em; }
.slip-foot { color:#ecf1f8; font-size:12px; }
.edit-desk { background:#121822; color:#f2f5fc; --fraction:54%; }
.edit-desk-inner { width:min(1360px,88%); margin:auto; display:grid; grid-template-columns:auto 1fr auto; gap:clamp(22px,4vw,70px); align-items:center; min-height:98px; }
.desk-heading { display:grid; gap:6px; }
.desk-heading strong { font-size:15px; font-weight:550; }
.desk-heading span { color:#b3becc; font-size:11px; }
.scrub { display:grid; cursor:ew-resize; }
.scrub input { width:100%; height:30px; appearance:none; -webkit-appearance:none; cursor:ew-resize; margin:0; background:linear-gradient(90deg,#a1b8ff var(--fraction),#525d6d var(--fraction)) 0 50%/100% 2px no-repeat,repeating-linear-gradient(90deg, #697381 0 1px,transparent 1px 2%) 0 65%/100% 6px no-repeat; }
.scrub input::-webkit-slider-thumb { appearance:none; width:4px;height:24px;background:#fff;border-radius:1px; box-shadow:0 0 0 2px #101722; }
.scrub input::-moz-range-thumb { width:4px;height:24px;border:0;background:white; }
.scrub input:focus-visible { outline:2px solid #91a7ff; }
.desk-scale { display:flex; justify-content:space-between; color:#c4ccd8; font-size:9px; }
.desk-scale i { font-style:normal; }
.device-switch { background:#273040; border:1px solid #677182; border-radius:99px; display:grid; grid-template-columns:1fr 1fr; position:relative; padding:3px; }
.device-switch>span { position:absolute; left:3px; top:3px; bottom:3px; width:calc(50% - 3px); background:#e7edf5; border-radius:99px; transition:transform .52s cubic-bezier(.2,.8,.2,1); }
.device-switch[data-device=iphone]>span { transform:translateX(100%); }
.device-switch button { position:relative; font:500 13px system-ui; padding:11px 14px; border-radius:99px; color:#e9edf5; }
.device-switch button[aria-pressed=true] { color:#111d30; }
.projection-inside,.opening-copy h1 span,.record-slip { animation:flux-enter .92s cubic-bezier(.16,.8,.22,1) both; }
.opening-copy h1 span+span { animation-delay:.12s; }
.record-slip { animation-delay:.21s; }
@keyframes flux-enter { from { opacity:0; transform:translateY(14px); } to { opacity:1; transform:none; } }

.flux-archive { padding:clamp(64px,8vw,134px) 0 0; display:grid;grid-template-columns:minmax(180px,.32fr) 1fr; gap:20px clamp(20px,5vw,80px); }
.archive-legend { align-self:start; padding-top:8px; border-top:1px solid #374255; }
.archive-legend h2 { font-size:clamp(30px,3.7vw,60px); letter-spacing:-.065em; line-height:1.14; margin:22px 0; }
.archive-legend .gallery-caption { font-size:14px;line-height:1.8;color:var(--pencil); margin:0; }
.archive-legend .segmented { display:grid; background:none; border:0; border-radius:0; padding:0; margin-top:28px; gap:0; }
.archive-legend .segmented button { text-align:left; border:0; border-top:1px solid #d5d9df; border-radius:0; padding:14px 4px; color:#69717c; transition:padding .35s,color .3s; font-size:13px; }
.archive-legend .segmented button[aria-pressed=true] { color:var(--accent);padding-left:15px; background:transparent; box-shadow:inset 3px 0 var(--accent); }
.flux-archive .cinema-mat { background:#141c29; padding:clamp(14px,2.5vw,40px); border-radius:4px; align-self:start; }
.flux-archive .screen-switch { border-radius:3px; }
.flux-archive .frame-caption { display:block; color:#c7d7ed; font:10px ui-monospace,monospace; letter-spacing:.11em; margin:0 0 16px; }
.archive-legend small { display:block;margin-top:16px;color:#626b78; }
.fluxo #features .section-heading { align-items:end; }
.fluxo .feature-list article { border-top-color:#aeb6bf; }
.fluxo .feature-no,.fluxo .chapter { color:#495777; font-family:ui-monospace,monospace; }
.fluxo .continuity-band { background:#141e2e; color:#eef3fb; position:relative; }
.fluxo .continuity-band h2 .accent { color:#a7bcff; }
.fluxo .continuity-band .chapter,.fluxo .continuity-layout>div:first-child>p { color:#bfcbda; }
.fluxo .continuity-demo { color:#172538; background:#f0f3f8; border-radius:4px; }
.fluxo .download-section {background:linear-gradient(140deg,#eef1f6,#fff 70%);}
.fluxo .is-paused *,.fluxo.is-paused .projection *,.fluxo.is-paused .device-switch span { animation:none!important; transition:none!important; }
@media (max-width:760px) {
 .projection-inside { min-height:0; padding:16px 0 24px; }
 .opening-slate { font-size:10px; }
 .opening-copy { max-width:100%; margin-top:36px; }
 .opening-copy h1 { font-size:clamp(46px,11vw,78px); }
 .opening-copy p { margin:15px 0 18px; font-size:13px; }
 .record-slip { position:static; width:100%; margin-top:30px; display:grid; grid-template-columns:1fr auto; align-items:end; column-gap:18px; border-top:1px solid #fff8; padding-top:10px; }
 .slip-slate { border:0; padding:0; justify-content:start; gap:16px; }
 .position-clock { grid-column:2; grid-row:1/3; font-size:48px; line-height:.98; }
 .slip-foot { font-size:10px; margin-top:7px; }
 .projection-still { background-position:66% center; }
 .edit-desk-inner { grid-template-columns:1fr auto; gap:10px; padding:16px 0; }
 .edit-desk .scrub { grid-column:1/-1;grid-row:2; }
 .device-switch button {padding:9px 13px; min-height:36px;}
 .flux-archive { grid-template-columns:1fr; gap:18px; }
 .archive-legend h2 { margin:16px 0 12px; }
 .archive-legend .segmented { display:flex; flex-wrap:wrap; margin-top:15px; }
 .archive-legend .segmented button { border:0; border-bottom:1px solid #d5d9df; padding:12px; }
 .archive-legend .segmented button[aria-pressed=true] {padding-left:12px;box-shadow:inset 0 -2px var(--accent);}
 .archive-legend small {margin-top:8px;}
}
@media(prefers-reduced-motion:reduce) { .projection *, .device-switch span { animation:none!important;transition:none!important; } .projection-still {transform:none;} }
/* Keep all record fields on a common inset, including the two device labels. */
.fluxo .continuity-demo.sync-story { min-width:0; padding:clamp(25px,3vw,48px); background:#f4f6fa; border:1px solid #cdd6e1; border-radius:12px; }
.sync-story .micro,.sync-story .sync-endpoints small,.sync-story .completion-mark {color:#536174;}
.sync-story .sync-endpoints {margin:28px 0;gap:18px;}
.sync-story .sync-position {gap:8px;}
.sync-story .sync-position strong {line-height:1.04;font-variant-numeric:tabular-nums;}
.fluxo .sync-story .sync-footnote {margin:22px 0 0; padding-top:17px; border-top:1px solid #cbd3df; color:#505f72; font-size:12px; line-height:1.75;max-width:100%;}
.sync-story .segmented button:not([aria-pressed=true]) { color:#525e72; }
.flux-archive .cinema-mat .screen-switch {max-height:none;}
@media(max-width:760px) {
 .fluxo .continuity-demo.sync-story {padding:24px clamp(18px,5vw,28px);}
 .fluxo .sync-story .sync-position strong {font-size:clamp(58px,16vw,84px);}
 .fluxo .sync-story .segmented {row-gap:8px;}
}
