:root {
  color-scheme: dark;
  --bg:#07090b; --panel:#111519; --ink:#f4f1e9; --muted:#9da6ad;
  --line:#2b333b; --accent:#e8c385; --cyan:#72cae8;
  --gutter:clamp(20px,5vw,220px);
  --ui:clamp(14px,.85vw,20px);
  font-family:Arial,Helvetica,sans-serif;
}
* { box-sizing:border-box }
html { scroll-behavior:smooth }
body { margin:0; color:var(--ink); background:var(--bg); font-size:clamp(16px,1vw,23px); line-height:1.6 }
h1,h2,h3,p { margin:0 }
a { color:inherit; text-decoration:none }
button,input,select { font:inherit }
button { cursor:pointer; color:inherit }
button:disabled { cursor:default; opacity:.45 }
button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible { outline:2px solid var(--cyan); outline-offset:5px }
[hidden] { display:none!important }
.header { position:fixed; z-index:20; inset:0 0 auto; display:flex; align-items:center; justify-content:space-between; padding:clamp(12px,1.3vw,32px) var(--gutter); background:linear-gradient(#07090bdb,#07090b00); gap:24px }
.brand { display:block; flex:none; width:clamp(130px,10vw,245px); aspect-ratio:1.9; overflow:hidden; mix-blend-mode:screen }
.brand img { display:block; width:100%; height:100%; object-fit:cover; object-position:center 44% }
.project { font-size:clamp(11px,.7vw,18px); letter-spacing:2px }
.project span { padding:0 13px; color:var(--accent) }
.button { display:inline-flex; align-items:center; justify-content:space-between; gap:30px; min-height:48px; padding:clamp(13px,1vw,24px) clamp(18px,1.4vw,36px); border:1px solid var(--accent); border-radius:4px; color:#17130e; background:var(--accent); font-weight:600; font-size:var(--ui); transition:background .2s,transform .2s }
.button:hover:not(:disabled) { background:#f4d6a6; transform:translateY(-1px) }
.button span { font-size:1.5em; line-height:1 }
.header-cta { background:#101419b0; color:var(--ink); border-color:#c6c1b966; backdrop-filter:blur(12px) }
.header-cta:hover { color:#17130e }
.journey { height:240vh; height:240svh; position:relative }
.scene { position:sticky; top:0; height:100vh; height:100svh; isolation:isolate; overflow:hidden; background:#07090b }
.scene-poster,.scene>video { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center; pointer-events:none }
.scene-poster { z-index:1; transition:opacity .2s }
.scene>video { z-index:0 }
.scene.video-ready .scene-poster { opacity:0 }
.scene-shade { position:absolute; inset:0; z-index:2; pointer-events:none; background:linear-gradient(90deg,#060809d9 0%,#06080988 24%,transparent 56%),linear-gradient(0deg,#07090bf2 0%,#07090b30 28%,transparent 75%) }
.preview-badge,.hero-copy,.reveal-copy,.scene-bottom,.journey-track,.orbit-start { z-index:3 }
.preview-badge { position:absolute; right:var(--gutter); top:clamp(110px,8vw,200px); font-size:clamp(10px,.55vw,16px); letter-spacing:1.3px; color:#e6ded0c9; border:1px solid #ffffff26; border-radius:2px; padding:6px 9px; background:#07090b5c }
.hero-copy { position:absolute; left:var(--gutter); top:24%; will-change:opacity,transform; max-width:45% }
.eyebrow { font-size:clamp(11px,.6vw,17px); letter-spacing:2.4px; font-weight:500; color:var(--accent); text-transform:uppercase }
.hero-copy h1 { font-size:clamp(76px,10vw,270px); font-size:clamp(76px,min(10vw,18svh),270px); letter-spacing:-.045em; line-height:.88; font-weight:600; margin:24px 0 28px }
.period { color:var(--accent) }
.hero-description { font-size:clamp(16px,1.1vw,28px); line-height:1.6; color:#d2d6d9 }
.hero-cta { margin-top:25px }
.reveal-copy { position:absolute; left:var(--gutter); bottom:17%; opacity:0; max-width:65%; pointer-events:none; will-change:opacity,transform }
.reveal-title { font-size:clamp(50px,7vw,220px); font-size:clamp(50px,min(7vw,17svh),220px); line-height:.98; letter-spacing:-.04em; margin:20px 0 24px; font-weight:600 }
.reveal-copy>p:last-child { font-size:clamp(16px,1vw,25px); color:#d2d6d9 }
.scene-bottom { position:absolute; bottom:max(28px,env(safe-area-inset-bottom)); left:var(--gutter); right:var(--gutter); display:flex; align-items:center; justify-content:space-between; gap:20px }
.scroll-cue { display:flex; align-items:center; gap:15px; color:#d2d6d9; font-size:clamp(12px,.75vw,20px) }
.scroll-icon { font-size:1.8em; color:var(--accent) }
.film-button { min-height:44px; padding:8px 0; background:transparent; border:0; border-bottom:1px solid #ffffff50; font-size:clamp(13px,.8vw,20px); display:flex; align-items:center; gap:20px }
.orbit-start { position:absolute; right:var(--gutter); bottom:100px; padding:12px 18px; background:#07090bbd; border:1px solid #ffffff50; border-radius:4px }
.journey-track { position:absolute; bottom:0; left:0; width:100%; height:2px; background:#ffffff17 }
.journey-track>div { height:100%; width:0; background:var(--accent) }
.material { scroll-margin-top:clamp(110px,9vw,210px); width:100%; max-width:none; margin:0; padding:clamp(64px,6vw,180px) var(--gutter) clamp(80px,7vw,200px); display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); gap:clamp(36px,5vw,180px); align-items:start }
.material-intro { padding-top:18px; min-width:0 }
.material h2 { font-size:clamp(54px,4.6vw,175px); line-height:1.02; letter-spacing:-.045em; margin:28px 0 }
.material-intro>p:not(.eyebrow) { max-width:48ch; color:var(--muted); line-height:1.8 }
.steps { padding:0; margin:clamp(28px,2.5vw,70px) 0; list-style:none; counter-reset:step }
.steps li { counter-increment:step; display:flex; gap:18px; align-items:center; margin:18px 0; font-size:var(--ui) }
.steps li:before { content:'0' counter(step); flex:none; font-size:.8em; letter-spacing:1px; color:var(--accent); border:1px solid var(--line); border-radius:50%; width:clamp(34px,2.1vw,56px); height:clamp(34px,2.1vw,56px); display:grid; place-items:center }
.material-intro .preview-note { font-size:clamp(13px,.85vw,20px); line-height:1.8; border-top:1px solid var(--line); padding-top:25px }
.upload-panel { min-width:0; padding:clamp(24px,2vw,64px); background:linear-gradient(150deg,#151a20,#0d1014); border:1px solid var(--line); border-radius:8px; box-shadow:0 25px 80px #0004 }
.panel-top { display:flex; align-items:center; justify-content:space-between; gap:16px; border-bottom:1px solid var(--line); padding-bottom:24px; margin-bottom:28px }
.panel-top>span:last-child { font-size:var(--ui); color:var(--muted) }
.field-label { font-size:var(--ui); display:block; margin-bottom:12px; color:#dde0e2 }
select { max-width:100%; width:100%; min-height:48px; padding:13px 35px 13px 14px; background:#0b0f13; color:var(--ink); border:1px solid #38434c; border-radius:4px; font-size:var(--ui) }
.field-help { font-size:clamp(13px,.75vw,18px); color:var(--muted); line-height:1.7; margin-top:12px }
.drop-zone { padding:clamp(32px,3.5vw,110px) 20px; text-align:center; border:1px dashed #58616a; border-radius:4px; margin-top:28px; background:#0a0d1055; transition:background .2s,border-color .2s }
.drop-zone.dragging { background:#72cae818; border-color:var(--cyan) }
.drop-icon { color:var(--cyan); font-size:clamp(34px,2.2vw,68px); display:block; margin-bottom:15px }
.drop-zone h3 { font-size:clamp(21px,1.4vw,38px); font-weight:500; margin-bottom:8px }
.drop-zone p { color:var(--muted); font-size:var(--ui) }
.drop-zone .button { margin-top:24px }
.queue { margin-top:22px }
.file-row { min-width:0; display:grid; grid-template-columns:minmax(0,1fr); padding:20px 0; border-bottom:1px solid var(--line) }
.file-name { font-size:var(--ui); overflow-wrap:anywhere }
.file-meta { font-size:clamp(13px,.75vw,18px); color:var(--muted); margin:5px 0 12px }
.file-row select { font-size:var(--ui) }
.selection-summary { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:12px; color:var(--muted); font-size:clamp(13px,.75vw,18px); margin:24px 0 18px }
.text-button { min-height:44px; background:transparent; border:0; border-bottom:1px solid #69737d; color:var(--ink); padding:4px 0; font-size:clamp(13px,.75vw,18px) }
.send { width:100%; margin-top:5px }
.send-note { text-align:center; margin-top:14px }
#status { font-size:var(--ui); color:var(--accent); margin-top:18px; line-height:1.6; overflow-wrap:anywhere }
#status:empty { display:none }
footer { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:24px; border-top:1px solid var(--line); padding:clamp(28px,3vw,70px) var(--gutter); color:var(--muted); font-size:var(--ui) }
.footer-brand { width:clamp(125px,8vw,205px) }
footer>span { font-size:clamp(11px,.65vw,16px); letter-spacing:1.4px }
.logout { order:4 }
dialog { width:min(1600px,94vw); max-height:92vh; max-height:92svh; border:1px solid var(--line); border-radius:8px; padding:20px; background:#0d1115; color:var(--ink) }
dialog::backdrop { background:#000c; backdrop-filter:blur(8px) }
.dialog-top { display:flex; justify-content:space-between; align-items:center; gap:20px; margin-bottom:17px }
.dialog-top h2 { font-size:var(--ui); font-weight:500 }
dialog video { width:100%; max-height:75vh; max-height:75svh; display:block; background:#000; object-fit:contain }
.header.past-hero { background:#07090bec; backdrop-filter:blur(12px) }
.file-actions { display:flex; gap:22px; flex-wrap:wrap; margin-top:12px }
.file-row progress { display:block; width:100%; height:6px; margin-top:16px; accent-color:var(--cyan); border:0; border-radius:3px; background:#28323a }
.file-row progress::-webkit-progress-bar { background:#28323a; border-radius:3px }
.file-row progress::-webkit-progress-value { background:var(--cyan); border-radius:3px }
.file-row progress::-moz-progress-bar { background:var(--cyan) }
.transfer-text { font-size:clamp(13px,.75vw,18px); color:var(--muted); margin-top:8px }
.access-page { min-height:100vh; min-height:100svh; display:grid; place-items:center; padding:24px; background:radial-gradient(ellipse at 70% 20%,#252b30,#07090b 65%) }
.access-card { max-width:560px; width:100%; padding:clamp(24px,4vw,48px); border:1px solid var(--line); border-radius:8px; background:#0d1115 }
.access-card .brand { width:180px }
.access-card .eyebrow { margin-top:30px }
.access-card h1 { font-size:clamp(30px,4vw,44px); line-height:1.1; letter-spacing:-1px; margin:20px 0 }
.access-card>p:not(.eyebrow) { color:var(--muted) }
.access-card form { margin-top:30px }
.access-card input:not([type=hidden]) { display:block; width:100%; min-height:48px; padding:14px; color:var(--ink); background:#07090b; border:1px solid #58616a; border-radius:4px; font-size:16px }
.access-card form>p { min-height:30px; color:#f4a49c; font-size:14px; margin-top:12px }
.access-card .button { width:100%; justify-content:center }
@media(max-width:1050px) {
  .project { display:none }
  .material { grid-template-columns:minmax(0,1fr); gap:36px }
  .material-intro { padding-top:0 }
  .material-intro>p:not(.eyebrow) { max-width:65ch }
  .steps { display:flex; flex-wrap:wrap; gap:18px 28px; margin:24px 0 }
  .steps li { margin:0 }
  .upload-panel { width:100% }
}
@media(max-width:600px) {
  :root { --gutter:20px; --ui:16px }
  .header { padding:12px var(--gutter); gap:16px }
  .brand { width:130px }
  .header-cta { gap:12px; padding:12px 14px; font-size:14px }
  .journey { height:200svh }
  .preview-badge { top:105px; left:var(--gutter); right:auto; font-size:10px; letter-spacing:.8px }
  .scene-poster,.scene>video { object-position:center 42% }
  .scene-shade { background:linear-gradient(0deg,#07090bf7 0%,#07090b99 30%,#07090b00 67%),linear-gradient(180deg,#07090b50,transparent 40%) }
  .hero-copy { top:auto; bottom:18%; left:var(--gutter); right:var(--gutter); max-width:none }
  .hero-copy h1 { font-size:clamp(65px,19vw,105px); margin:17px 0; letter-spacing:-.04em }
  .hero-description { font-size:16px }
  .hero-description br { display:none }
  .hero-cta { margin-top:20px }
  .eyebrow { font-size:11px; letter-spacing:1.5px }
  .scene-bottom { bottom:max(20px,env(safe-area-inset-bottom)); gap:18px }
  .scroll-cue { font-size:12px; gap:8px; max-width:175px }
  .film-button { font-size:13px; gap:10px }
  .orbit-start { bottom:85px; font-size:14px }
  .reveal-copy { left:var(--gutter); right:var(--gutter); bottom:18%; max-width:none }
  .reveal-title { font-size:clamp(52px,14vw,80px) }
  .reveal-copy>p:last-child { font-size:16px }
  .material { padding-top:56px; padding-bottom:64px; scroll-margin-top:104px }
  .material h2 { font-size:clamp(48px,13vw,72px) }
  .material-intro>p:not(.eyebrow) { font-size:16px }
  .material-intro .preview-note { font-size:14px }
  .steps { display:block }
  .steps li { margin:15px 0 }
  .upload-panel { padding:24px 18px }
  .drop-zone { padding:30px 12px }
  .drop-zone h3 { font-size:23px }
  .file-row select { font-size:16px }
  .field-help,.file-meta,.selection-summary,.transfer-text { font-size:14px }
  footer { align-items:flex-start; gap:22px }
  footer>p,footer>span { width:100% }
  .logout { order:4 }
  dialog { padding:15px }
}
@media(max-height:650px) {
  .hero-copy { top:24%; bottom:auto }
  .hero-copy h1 { font-size:clamp(50px,12vh,92px); font-size:clamp(50px,12svh,92px); margin:12px 0 }
  .hero-description { font-size:14px }
  .hero-cta { margin-top:12px; min-height:44px; padding:10px 15px }
  .preview-badge { display:none }
  .reveal-title { font-size:clamp(42px,13svh,85px) }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto }
  .journey { height:100svh }
  .scene { position:relative }
  .button,.scene>video { transition:none }
  .scene-bottom .scroll-cue { display:none }
  .scene-bottom { justify-content:flex-end }
}

/* Render the supplied white-on-black artwork without its rectangular backdrop. */
@supports (mask-mode:luminance) {
  .brand { background:#fff; mix-blend-mode:normal; mask-image:url("assets/picby-logo-real.jpeg"); mask-mode:luminance; mask-repeat:no-repeat; mask-size:100% auto; mask-position:center 44% }
  .brand img { opacity:0 }
}
@media(max-width:360px) {
  .header .brand { width:112px }
  .header-cta { font-size:13px; padding:10px 12px; gap:8px }
}
