/* Both fonts are served from this site, so opening the page tells no other company about the visitor. */
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 400 800; font-stretch: 100%; font-display: swap; src: url(fonts/bricolage-grotesque-latin.woff2) format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/ibm-plex-mono-latin-400.woff2) format('woff2'); }

:root { --black: #0F0F0F; --sheet: #1C1C1B; --room: #1D1B19; --line: #3A3A38; --silver: #A8A69E; --paper: #F4F3EF; --print: #EFEDE6; --red: #F0402F; color-scheme: dark; }
* { box-sizing: border-box; }
/* Anything marked hidden stays hidden, whatever layout its class asks for. */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
html, body { margin: 0; background: var(--black); color: var(--paper); font-family: 'Bricolage Grotesque', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
body { overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--paper); }
a:hover { color: var(--silver); }
:focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; }
.mono { font-family: 'IBM Plex Mono', ui-monospace, monospace; color: var(--silver); }
.wrap { width: min(1120px, 100% - 32px); margin: 0 auto; }

.bar { position: sticky; top: 0; z-index: 10; background: var(--black); }
.bar__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0; }
.brand { display: flex; align-items: center; gap: 12px; font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.mark { width: 32px; height: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.mark i { background: var(--line); }
.mark i:first-child { background: var(--paper); }
.mark i:last-child { background: var(--red); }
.btn { display: inline-block; padding: 17px 26px; background: var(--paper); color: var(--black); font-size: 19px; font-weight: 700; text-decoration: none; }
.btn:hover { background: var(--silver); color: var(--black); }
.btn--small { padding: 11px 15px; font-size: 15px; }

h1, h2 { margin: 0; font-weight: 800; letter-spacing: -.025em; text-wrap: balance; }
.stop h1, .stop h2 { font-size: clamp(36px, 5vw, 64px); line-height: 1; }
.eyebrow { margin: 0; font-size: 14px; }
.lede { margin: 0; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.4; color: var(--silver); }
.act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.offer { display: flex; flex-direction: column; gap: 2px; }
.offer strong { font-size: 18px; font-weight: 700; }
.offer span { font-size: 15px; color: var(--silver); }
.scenes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); text-align: center; font-size: 14px; }
.soon { margin: 0; font-size: 17px; font-weight: 500; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.soon .mono { font-size: 13px; font-weight: 400; }
.plain { margin: 0; }

/* ---------- The plain page: six parts, still pictures. This is what "reduce motion" and no-script visitors get. ---------- */
.pin, .split, .play { display: none; }
.stop { width: min(1120px, 100% - 32px); margin: 0 auto; padding: 40px 0; display: flex; flex-direction: column; gap: 22px; }
.stop .w { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; max-width: 640px; }
.stop > .still { width: 100%; max-width: 900px; }

.compare { position: relative; aspect-ratio: 3 / 2; max-height: 640px; width: 100%; overflow: hidden; background: var(--sheet); }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare__before { clip-path: inset(0 calc(100% - var(--at, 50%)) 0 0); }
.compare__line { position: absolute; top: 0; bottom: 0; left: var(--at, 50%); width: 2px; margin-left: -1px; background: var(--paper); pointer-events: none; }
.compare__line::after { content: ''; position: absolute; top: 50%; left: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; background: var(--paper); }
.compare__tag { position: absolute; bottom: 12px; padding: 4px 10px; background: var(--black); font-size: 15px; pointer-events: none; }
.compare__tag--l { left: 12px; }
.compare__tag--r { right: 12px; }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.caption { margin: 10px 0 0; font-size: 16px; color: var(--silver); }

/* ---------- The room: one pinned 3D scene, the words slide over it. ---------- */
.room-on .room { position: relative; }
.room-on .pin { display: block; position: sticky; top: 0; height: 100vh; height: 100svh; margin-bottom: -100vh; margin-bottom: -100svh; overflow: hidden; background: radial-gradient(120% 90% at 60% 35%, var(--room) 0%, var(--black) 62%); }
.room-on .stop { position: relative; width: auto; margin: 0; padding: 0; display: block; height: 140vh; height: 140svh; pointer-events: none; }
.room-on .still { display: none; }
.room-on .bar { transition: background-color .3s; }
.in-room .bar { background: linear-gradient(180deg, rgba(15,15,15,.92) 0%, rgba(15,15,15,0) 100%); }

.stage { position: absolute; left: 50%; top: 50%; width: 960px; height: 600px; margin: -300px 0 0 -480px; perspective: 1000px; perspective-origin: 50% 46%; }
.tall .stage { width: 300px; height: 640px; margin: -320px 0 0 -150px; perspective: 800px; }
.world { position: absolute; inset: 0; transform-style: preserve-3d; }

/* a print: paper edge, a photo inside */
.pr { position: absolute; left: 50%; top: 50%; width: 190px; height: 127px; margin: -63.5px 0 0 -95px; background: var(--print); box-shadow: 0 14px 34px rgba(0,0,0,.55); }
/* One small sheet holds a tiny copy of every photo. It arrives in a single download, so no print is ever empty for long. */
.pr::before, .thumb { content: ''; position: absolute; left: 5px; top: 5px; right: 5px; bottom: 5px; background: #26221E url(shots/prints.webp) var(--tx, 0) var(--ty, 0) / 700% 400% no-repeat; }
.pr img { position: absolute; left: 5px; top: 5px; width: calc(100% - 10px); height: calc(100% - 10px); max-width: none; object-fit: cover; opacity: 0; transition: opacity .6s; }
.pr img.in { opacity: 1; }
.pr--keep { width: 540px; height: 360px; margin: -180px 0 0 -270px; box-shadow: 0 40px 96px rgba(0,0,0,.55); --sp: 1.2; --so: 0; --tg: 0; }
.pr--keep::before, .pr--keep .thumb { left: 14px; top: 14px; right: 14px; bottom: 14px; }
.pr--keep img { left: 14px; top: 14px; width: calc(100% - 28px); height: calc(100% - 28px); }
.pr--keep .before { clip-path: polygon(0 0, calc(var(--sp) * 100% + 6%) 0, calc(var(--sp) * 100% - 6%) 100%, 0 100%); }
.sweep { position: absolute; top: 14px; bottom: 14px; left: 14px; right: 14px; overflow: hidden; opacity: var(--so); pointer-events: none; }
.sweep::after { content: ''; position: absolute; top: -10%; bottom: -10%; width: 9%; left: calc(var(--sp) * 100% - 4.5%); transform: skewX(-9.5deg); background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.9), rgba(255,255,255,0)); }
.tg { position: absolute; bottom: 30px; padding: 6px 12px; background: rgba(15,15,15,.74); color: var(--paper); font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; opacity: var(--tg); }
.tg--l { left: 30px; }
.tg--r { right: 30px; }
.tick { position: absolute; right: -50px; top: -50px; width: 116px; height: 116px; border-radius: 50%; background: var(--red); opacity: 0; }
.tick::after { content: ''; position: absolute; left: 36px; top: 24px; width: 32px; height: 54px; border: solid var(--black); border-width: 0 12px 12px 0; transform: rotate(40deg); }
.f1 { filter: blur(1.5px) brightness(.84); }
.f2 { filter: blur(3.5px) brightness(.62); }
.f3 { filter: blur(6px) brightness(.44); }
/* a device that cannot keep up: same scene, no soft focus, lighter shadows */
.lite .f1 { filter: brightness(.84); }
.lite .f2 { filter: brightness(.62); }
.lite .f3 { filter: brightness(.44); }
.lite .pr { box-shadow: 0 6px 14px rgba(0,0,0,.5); }
.lab { position: absolute; left: 50%; top: 50%; width: 220px; margin-left: -110px; text-align: center; transform-origin: 50% 0; font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--paper); opacity: 0; }

.rail { position: absolute; right: max(14px, env(safe-area-inset-right, 0px)); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 8px; }
.rail i { width: 3px; height: 18px; background: var(--line); transition: background-color .3s; }
.rail i.on { background: var(--paper); }

/* the words: one block per stop, pinned for as long as its stop rests */
.room-on .words { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; justify-content: flex-start; padding: 84px max(16px, calc((100vw - 1120px) / 2)) 7vh; opacity: 0; }
.room-on .words::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(15,15,15,.94) 0%, rgba(15,15,15,.78) 28%, rgba(15,15,15,0) 56%); }
.room-on .w { pointer-events: auto; max-width: 400px; gap: 16px; }
.room-on .stop--0 .words { align-items: flex-end; }
.room-on .stop--0 .w { max-width: 470px; }
.room-on .stop--1 .words, .room-on .stop--4 .words { align-items: flex-start; justify-content: center; padding-top: 16vh; text-align: center; }
.room-on .stop--1 .words::before, .room-on .stop--4 .words::before { background: linear-gradient(180deg, rgba(15,15,15,.86) 0%, rgba(15,15,15,0) 46%); }
.room-on .stop--1 .w, .room-on .stop--4 .w { max-width: 760px; align-items: center; }
.room-on .stop--5 .words { align-items: flex-end; justify-content: center; text-align: center; padding-bottom: 10vh; }
.room-on .stop--5 .words::before { background: linear-gradient(0deg, rgba(15,15,15,.94) 0%, rgba(15,15,15,.7) 28%, rgba(15,15,15,0) 56%); }
.room-on .stop--5 .w { max-width: 760px; align-items: center; }

.room-on .split { display: flex; flex-direction: column; gap: 8px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; width: min(260px, 100%); }
.split input { width: 100%; margin: 0; accent-color: var(--paper); touch-action: pan-y; }
.room-on .play { display: flex; align-items: center; gap: 10px; width: min(320px, 100%); }
.play b { width: 0; height: 0; border-left: 11px solid var(--paper); border-top: 7px solid transparent; border-bottom: 7px solid transparent; flex: none; }
.play span { flex: 1; height: 3px; background: var(--line); }
.play span i { display: block; height: 100%; width: 0; background: var(--paper); }

/* phone and other tall screens: the words sit at the bottom */
.tall.room-on .words, .tall.room-on .stop--1 .words, .tall.room-on .stop--4 .words, .tall.room-on .stop--5 .words { align-items: flex-end; justify-content: flex-start; text-align: left; padding: 70px 20px max(5vh, 22px); }
.tall.room-on .words::before, .tall.room-on .stop--1 .words::before, .tall.room-on .stop--4 .words::before, .tall.room-on .stop--5 .words::before { background: linear-gradient(0deg, rgba(15,15,15,.97) 0%, rgba(15,15,15,.9) 30%, rgba(15,15,15,0) 58%); }
.tall.room-on .w, .tall.room-on .stop--1 .w, .tall.room-on .stop--4 .w, .tall.room-on .stop--5 .w { max-width: 100%; align-items: flex-start; gap: 11px; }
.tall .stop h1, .tall .stop h2 { font-size: clamp(32px, 9.4vw, 44px); }
.tall .lede { font-size: 16px; }
.tall .btn:not(.btn--small) { padding: 14px 20px; font-size: 17px; }
.tall .offer strong { font-size: 16px; }
.tall .offer span { font-size: 13.5px; }

.join { margin-top: 72px; padding: 40px; background: var(--paper); color: var(--black); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; scroll-margin-top: 76px; position: relative; z-index: 1; }
.room-on .join { margin-top: 0; }
.join h2 { margin: 0 0 12px; font-size: clamp(38px, 4vw, 48px); line-height: 1.02; font-weight: 700; letter-spacing: -.02em; }
.join p { margin: 0 0 12px; font-size: 20px; line-height: 1.4; }
.join .fine { font-size: 15px; line-height: 1.5; color: #4A4945; }
.fine a { color: inherit; }
iframe.tally { display: block; width: 100%; border: 0; min-height: 420px; }
.formnote { margin: 0; padding: 22px; border: 1px dashed #4A4945; font-size: 16px; line-height: 1.4; color: #4A4945; }

footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; padding: 36px 0; font-size: 14px; }
footer a { color: var(--silver); }

@media (max-width: 860px) {
  .bar__in { padding: 12px 0; }
  .brand { font-size: 22px; gap: 10px; }
  .mark { width: 28px; height: 28px; }
  .join { margin: 40px -16px 0; padding: 28px 16px; grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .room-on .join { margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
