@font-face { font-family: 'Unispace'; src: url(fonts/unispace-bd.woff2) format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'SpaceClaim ISO CB'; src: url(fonts/spaceclaim-iso.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Personal Computer'; src: url(fonts/personal.woff2) format('woff2'); font-weight: 400; font-display: swap; }

:root {
  --bg: rgb(241, 241, 241);
  --ink: #0b0b0b;
  --mute: #8b8b8b;
  --line: rgba(11, 11, 11, .14);
  --o: #ff4d12;
  --g: 3vw;
  --display: 'Unispace', 'Arial Black', sans-serif;
  --iso: 'SpaceClaim ISO CB', 'Arial Narrow', sans-serif;
  --px: 'Personal Computer', ui-monospace, monospace;
  /* object shadow on the dark pages: hairline rim + long fall */
  --obj: drop-shadow(0 1px 0 rgba(255, 255, 255, .18)) drop-shadow(0 30px 34px rgba(0, 0, 0, .85));
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--iso); font-size: 15px; line-height: 1.45; -webkit-font-smoothing: antialiased; }
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
figure { margin: 0; }
h1, h2, p { margin: 0; font-weight: inherit; }
b { font-weight: inherit; }
::selection { background: var(--o); color: #fff; }

.small { font-family: var(--iso); font-size: 11px; line-height: 1.35; letter-spacing: .08em; text-transform: uppercase; }
.small b { display: block; color: var(--ink); }
.small span { color: var(--mute); }
.px { font-family: var(--px); letter-spacing: .04em; }
.side { writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; }
.idx { position: absolute; left: var(--g); top: 40px; color: var(--mute); z-index: 6; }
.ch { display: inline-block; will-change: transform; }

/* ---------- square buttons ---------- */
.sq { position: absolute; right: var(--g); bottom: var(--g); width: 56px; height: 56px; display: grid; place-items: center; background: var(--ink); color: #fff; z-index: 6; transition: background .25s; }
.sq svg { width: 18px; height: 18px; }
.sq:hover { background: var(--o); }
.sq--o { background: var(--o); }
.sq--o:hover { background: var(--ink); }

/* ---------- glass: one kind everywhere. A flat orange slab, hard corners, no blur, no edges.
   Over the light film and over photos it multiplies, so what is under it reads dark through it.
   Over the dark pages a multiply would vanish, so the slab is solid and carries dark copies
   (.thru) of whatever sits under it, which gives the same look. ---------- */
.glass { position: absolute; border-radius: 0; background: var(--o); border: 0; box-shadow: none; overflow: hidden; isolation: isolate; pointer-events: none; }
.glass--mul { mix-blend-mode: multiply; }
.glass .thru { position: absolute !important; left: 0 !important; top: 0 !important; right: auto !important; bottom: auto !important; margin: 0 !important;
  translate: none !important; rotate: none !important; scale: none !important; max-width: none !important; max-height: none !important; min-height: 0 !important;
  pointer-events: none; will-change: transform; z-index: auto !important; }
.glass img.thru { filter: grayscale(1) contrast(1.15) !important; mix-blend-mode: multiply; }
.glass .thru:not(img), .glass .thru:not(img) * { color: #0c0c0c !important; -webkit-text-stroke: 0 !important; background: none !important; mix-blend-mode: normal !important; }

/* ---------- loader ---------- */
.loader { position: fixed; inset: 0; z-index: 100; background: var(--bg); display: flex; align-items: flex-end; justify-content: space-between; padding: var(--g); overflow: hidden; }
.loader__word { font-family: var(--px); font-size: clamp(56px, 13vw, 240px); line-height: .85; letter-spacing: 0; }
.loader__word b, .nav__mark b, .hero__word b, .foot__word b, .reel__name b, .slice__word b, .zoom__word b, .marq b { color: var(--o); }
.loader__num { font-size: 14px; }
.loader__bar { position: absolute; left: 0; right: 0; top: 0; height: 3px; }
.loader__bar i { display: block; height: 100%; background: var(--o); transform: scaleX(0); transform-origin: left; }

/* ---------- cursor ---------- */
.cur { position: fixed; left: 0; top: 0; width: 12px; height: 12px; margin: -6px 0 0 -6px; background: var(--o); z-index: 90; pointer-events: none; opacity: 0; transition: width .3s, height .3s, margin .3s, opacity .3s; }
.cur.is-on { opacity: 1; }
.cur.is-big { width: 54px; height: 54px; margin: -27px 0 0 -27px; }

/* ---------- nav ---------- */
.nav { position: fixed; z-index: 50; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 32px; padding: 22px var(--g); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; transition: color .3s; }
.nav__mark { font-family: var(--px); font-size: 24px; letter-spacing: 0; text-transform: none; line-height: 1; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { position: relative; }
.nav__links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s; }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__clock { color: var(--mute); }
.nav__menu { width: 30px; height: 30px; display: grid; align-content: center; gap: 6px; }
.nav__menu i { display: block; height: 2px; background: currentColor; }
.nav__menu i:last-child { width: 60%; justify-self: end; }
.nav.is-dark { color: #fff; }

/* ---------- hero ---------- */
.hero { position: relative; height: 560vh; }
.hero__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--bg); }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
/* over the redrawing canvas: blend, never backdrop-filter */
.glass--hero { right: 5vw; top: 0; width: 25vw; height: 44vh; mix-blend-mode: multiply; transform-origin: 50% 0; will-change: transform; z-index: 1; }
.hero__lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; overflow: visible; }
.hero__lines path { fill: none; stroke: var(--ink); stroke-width: 1; stroke-dasharray: 200; }
.hero__lines rect { fill: var(--o); }
.hero__callouts { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.co { position: absolute; left: 0; top: 0; display: flex; gap: 10px; padding: 8px 11px; background: var(--ink); color: #fff; font-size: 11px; line-height: 1.3; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; opacity: 0; }
.co span { color: var(--o); font-family: var(--px); }
.co i { display: block; font-style: normal; color: #9a9a9a; }
.hero__ui { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.hero__ui a { pointer-events: auto; }
.hero__note { position: absolute; left: var(--g); top: 96px; max-width: 220px; }
/* the wordmark stands on its side in the bottom right corner */
.hero__word { position: absolute; right: calc(var(--g) - .06em); bottom: var(--g); font-family: var(--px); font-size: 110px; line-height: .82; letter-spacing: 0; text-transform: lowercase; white-space: nowrap; will-change: translate, opacity; }
.hero__tag { position: absolute; left: var(--g); bottom: calc(var(--g) + 84px); color: var(--mute); }
.hero__foot { position: absolute; left: var(--g); bottom: var(--g); display: flex; align-items: flex-end; gap: 22px; }
.hero__foot .sq { position: relative; right: auto; bottom: auto; }
.hero__open b { display: block; font-family: var(--display); font-size: 34px; line-height: 1; letter-spacing: -.04em; color: var(--ink); }

/* ---------- cut out models ---------- */
.cut { position: absolute; width: auto; filter: var(--obj); z-index: 3; will-change: transform; }

/* ---------- everything after the hero is dark ---------- */
.dark { --ink: #f1f1f1; --mute: #6c6c6c; --line: rgba(255, 255, 255, .12); background: #0c0c0c; color: var(--ink); overflow-x: clip; }
.dark .sq { color: #0c0c0c; }
.dark .sq--o { color: #fff; }
.side.out, .float__side, .col--g .col__side { color: transparent; -webkit-text-stroke: 1px rgba(241, 241, 241, .35); }

/* intro */
.intro { position: relative; padding: 22vh var(--g) 14vh; }
.intro__txt { position: relative; margin-left: 33vw; max-width: 15ch; font-family: var(--display); font-size: clamp(30px, 4.4vw, 78px); line-height: .98; letter-spacing: -.05em; }
.intro__txt span { color: var(--mute); }
.intro .idx { top: 22vh; }
.intro__glass { left: 26vw; top: 30%; width: 13vw; height: 38%; z-index: 2; }

/* marquees */
.marq { position: relative; overflow: hidden; padding: 2.4vh 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.marq__row { display: flex; width: max-content; white-space: nowrap; font-size: 8vw; line-height: 1; letter-spacing: 0; will-change: transform; }
.marq__seg { padding-right: .4em; }
.marq--b { width: 112vw; margin: 10vh 0 10vh -6vw; background: var(--o); color: #0c0c0c; border: 0; transform: rotate(-3deg); }
.marq--b b { color: #0c0c0c; }

/* ---------- reel: pinned, one model at a time ---------- */
.reel { position: relative; height: 760vh; }
.reel__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.reel__stage::before, .reel__stage::after { content: ''; position: absolute; background: var(--line); pointer-events: none; }
.reel__stage::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.reel__stage::after { top: 50%; left: 0; right: 0; height: 1px; }
.reel__slide { position: absolute; inset: 0; pointer-events: none; }
.reel__name { position: absolute; left: 50%; top: 50%; padding: 0 .02em .1em; font-family: var(--display); font-size: 300px; line-height: .9; letter-spacing: -.07em; text-transform: lowercase; white-space: nowrap; overflow: hidden;
  color: transparent; -webkit-text-stroke: 1.5px rgba(241, 241, 241, .55); z-index: 1; will-change: transform; }
.reel__ghost { position: absolute; left: 0; bottom: 3vh; height: 84vh; z-index: 1; opacity: 0; pointer-events: none; will-change: transform, opacity;
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.reel__cut { position: absolute; left: 0; bottom: 3vh; height: 84vh; width: auto; filter: var(--obj); z-index: 2; opacity: 0; will-change: transform, opacity; }
.reel__cap { position: absolute; left: var(--g); bottom: calc(var(--g) + 10px); display: flex; gap: 18px; z-index: 6; opacity: 0; }
.reel__cap > b, .slice__cap > b, .zoom__cap > b { font-family: var(--display); font-size: 13px; color: var(--o); }
.reel__glass { z-index: 4; }
.reel__idx { top: 96px; }
.reel__count { position: absolute; right: var(--g); top: 90px; font-size: 54px; line-height: 1; z-index: 6; }
.reel__count b { color: var(--o); }
.reel__count span { color: var(--mute); }
.reel__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--line); z-index: 6; }
.reel__bar i { display: block; height: 100%; background: var(--o); transform: scaleX(0); transform-origin: left; }

/* ---------- slices: photos arrive in strips ---------- */
.slice { position: relative; height: 120vh; min-height: 680px; overflow: hidden; }
.slice__photo { position: absolute; overflow: hidden; z-index: 1; }
.strip { position: absolute; overflow: hidden; will-change: transform; }
.strip i { position: absolute; display: block; background-size: cover; background-repeat: no-repeat; will-change: transform; }
.slice__glass { z-index: 2; will-change: transform; }
.slice__word { position: absolute; z-index: 3; font-family: var(--display); font-size: 12vw; line-height: .8; letter-spacing: -.07em; text-transform: lowercase; white-space: nowrap; color: #f1f1f1; mix-blend-mode: difference; will-change: transform; }
.slice__word b { color: var(--o); }
.slice__cap { position: absolute; left: var(--g); bottom: 4vh; display: flex; gap: 18px; z-index: 4; }

.slice--a .slice__photo { left: 6vw; top: 10vh; width: 52vw; height: 96vh; }
.slice--a .slice__glass { left: 38vw; top: 40vh; width: 20vw; height: 26vh; }
.slice--a .slice__word { right: var(--g); bottom: 22vh; text-align: right; }

.slice--b { height: 104vh; }
.slice--b .slice__photo { left: 0; top: 10vh; width: 100vw; height: 82vh; }
.slice--b .slice__glass { left: 0; top: 50vh; width: 44vw; height: 13vh; }
.slice--b .slice__word { left: var(--g); top: 14vh; }
.slice--b .slice__cap { left: auto; right: var(--g); text-align: right; }

.slice--c { height: 124vh; }
.slice--c .slice__photo { right: 6vw; top: 12vh; width: 40vw; height: 100vh; }
.slice--c .slice__glass { left: 54vw; top: 48vh; width: 18vw; height: 34vh; }
.slice--c .slice__word { left: var(--g); top: 22vh; }

/* ---------- zoom: a small window opens to the full frame ---------- */
.zoom { position: relative; height: 320vh; }
.zoom__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.zoom__photo { position: absolute; inset: 0; z-index: 1; clip-path: inset(32% 38% 32% 38%); will-change: clip-path; }
.zoom__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transform-origin: 50% 45%; will-change: transform; }
.zoom__word { position: absolute; left: 50%; top: 50%; z-index: 3; font-family: var(--px); font-size: 15vw; line-height: .85; white-space: nowrap; color: #f1f1f1; mix-blend-mode: difference; transform: translate(-50%, -50%); will-change: transform, opacity; }
.zoom__glass { left: 7vw; bottom: 12vh; width: 30vw; height: 20vh; z-index: 2; clip-path: inset(0 100% 0 0); }
.zoom__cap { position: absolute; right: var(--g); bottom: var(--g); display: flex; gap: 18px; text-align: right; z-index: 4; opacity: 0; }

/* ---------- float ---------- */
.float { position: relative; height: 150vh; min-height: 820px; background: #050505; overflow: hidden; }
.float .idx { top: 96px; }
.float__side { position: absolute; left: calc(var(--g) - .1em); bottom: var(--g); font-family: var(--display); font-size: clamp(60px, 12vw, 220px); line-height: .78; letter-spacing: -.06em; text-transform: lowercase; }
.float__glass { left: 38vw; top: 22%; width: 24vw; height: 56%; z-index: 4; }
.float__a { left: 22vw; top: 18%; height: 44%; }
.float__b { right: 8vw; top: 42%; height: 40%; }
.float__txt { position: absolute; right: var(--g); top: 96px; max-width: 240px; color: rgba(255, 255, 255, .6); z-index: 5; }

/* ---------- colours ---------- */
.colours { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding-top: 14vh; }
.colours .idx { top: 6vh; }
.col { position: relative; height: 96vh; min-height: 640px; border-right: 1px solid var(--line); overflow: hidden; }
.col:last-child { border-right: 0; }
.col__side { position: absolute; left: var(--g); top: 0; font-family: var(--display); font-size: clamp(40px, 6vw, 110px); line-height: .78; letter-spacing: -.06em; text-transform: lowercase; }
.col .cut { left: 50%; bottom: 12%; height: 72%; }
.col__glass { z-index: 4; }
.col--o .col__glass { left: 30%; top: 12%; width: 40%; height: 64%; }
.col--g .col__glass { left: 12%; top: 42%; width: 76%; height: 13%; }
.col__cap { position: absolute; right: var(--g); bottom: 0; text-align: right; }

/* ---------- footer ---------- */
.foot { position: relative; padding: 14vh var(--g) var(--g); overflow: hidden; }
.foot__row { display: flex; gap: 28px; padding-bottom: 4vh; border-bottom: 1px solid var(--line); }
.foot__row span:first-child { margin-right: auto; }
.foot__row span:last-child { color: var(--mute); }
.foot__wrap { position: relative; margin-top: 4vh; }
.foot__word { font-family: var(--px); font-size: 15vw; line-height: .9; letter-spacing: 0; white-space: nowrap; overflow: hidden; padding-bottom: .04em; }
.foot__glass { right: 8vw; top: -6%; width: 24vw; height: 112%; }
.foot .sq { bottom: auto; top: 14vh; translate: 0 -100%; margin-top: -16px; }
.fl { display: inline-block; }

/* highlighter strokes on words */
.hl { font-style: normal; color: #0c0c0c; background: linear-gradient(transparent 14%, var(--o) 14% 90%, transparent 90%); -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 .12em; }
.hero .hl { color: var(--ink); mix-blend-mode: multiply; }

/* ---------- phones ---------- */
@media (max-width: 700px) {
  :root { --g: 16px; }
  .nav { gap: 16px; padding: 16px var(--g); }
  .nav__links { display: none; }
  .nav__clock { margin-left: auto; }
  .glass--hero { right: 0; width: 44vw; height: 30vh; }
  .hero__note { top: 76px; }
  .hero__tag { bottom: calc(var(--g) + 70px); }
  .hero__foot { gap: 16px; }
  .sq { width: 48px; height: 48px; }

  .intro { padding: 16vh var(--g) 10vh; }
  .intro .idx { top: 10vh; }
  .intro__txt { margin-left: 0; font-size: 30px; }
  .intro__glass { left: 50vw; top: 46%; width: 34vw; height: 30%; }
  .marq__row { font-size: 15vw; }

  .reel__cut, .reel__ghost { height: 62vh; bottom: 14vh; }
  .reel__count { font-size: 36px; top: 70px; }
  .reel__idx { top: 76px; }
  .reel__cap { gap: 12px; }

  .slice { height: 100vh; min-height: 560px; }
  .slice__word { font-size: 19vw; }
  .slice--a .slice__photo { left: 0; width: 100vw; top: 8vh; height: 70vh; }
  .slice--a .slice__glass { left: 56vw; width: 34vw; top: 42vh; height: 16vh; }
  .slice--a .slice__word { bottom: 9vh; }
  .slice--b .slice__photo { top: 22vh; height: 56vh; }
  .slice--b .slice__glass { width: 70vw; top: 52vh; height: 9vh; }
  .slice--b .slice__word { top: 6vh; }
  .slice--c .slice__photo { left: var(--g); right: var(--g); width: auto; top: 22vh; height: 66vh; }
  .slice--c .slice__glass { left: 48vw; width: 36vw; top: 56vh; height: 20vh; }
  .slice--c .slice__word { top: 8vh; }

  .zoom__word { font-size: 22vw; }
  /* the pair is a diptych: a full-width 3:2 frame keeps both models, a cover crop on a tall screen shows only the gap between them */
  .zoom__photo { inset: auto 0; top: 50%; height: 66.667vw; margin-top: -33.334vw; }
  .zoom__photo img { object-position: 50% 50%; transform-origin: 50% 50%; }
  .zoom__glass { left: var(--g); width: 60vw; height: 12vh; bottom: 16vh; }

  .float { height: 110vh; min-height: 640px; }
  .float__glass { left: 30vw; width: 40vw; top: 26%; height: 46%; }
  .float__a { left: 8vw; top: 20%; height: 26%; }
  .float__b { right: 7vw; top: 50%; height: 20%; }
  .float__txt { left: var(--g); right: auto; top: auto; bottom: 30vw; }
  .float__side { font-size: 22vw; }

  .colours { grid-template-columns: 1fr; padding-top: 10vh; }
  .col { height: 84vh; min-height: 540px; border-right: 0; border-bottom: 1px solid var(--line); }
  .col__side { font-size: 18vw; }
  .col .cut { height: 56%; bottom: 14%; }

  .foot__row { flex-wrap: wrap; gap: 10px 20px; }
  .foot__row span:first-child { width: 100%; }
  .foot__glass { width: 34vw; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
