@font-face {
  font-family: Archivo;
  src: url(fonts/Archivo.woff2) format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
:root {
  --ink: #0c0b10; --yellow: #ffd200; --blue: #0150be; --red: #f40a12; --white: #fbfaf5;
  --navy: #012c6a; --violet: #4a1fa8; --mint: #14e8a8; --peri: #8e9afa; --pink: #dba0b2; --coral: #e66946; --lime: #a4cf2e; --pale: #c5dbd5;
  --gutter: clamp(16px, 3.5vmin, 48px);
}
* { box-sizing: border-box; margin: 0; }
html { background: var(--ink); -webkit-text-size-adjust: 100%; }
body { font-family: Archivo, system-ui, sans-serif; color: var(--ink); background: var(--ink); font-size: 18px; line-height: 1.4; overflow-x: clip; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---- the film ---- */
.hero { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: var(--ink); }
#film { position: absolute; inset: 0; overflow: hidden; visibility: hidden; color: var(--ink); }
#film.ready { visibility: visible; }
.scene { position: absolute; inset: 0; overflow: hidden; visibility: hidden; }
.layer { position: absolute; inset: 0; width: 100%; height: 100%; }
.layer.ontop { z-index: 3; pointer-events: none; }
.echo { position: absolute; left: 0; white-space: nowrap; font-weight: 900; font-variation-settings: "wdth" 125, "wght" 900; line-height: .74; will-change: transform; }
.echo.high { top: 0; } .echo.low { bottom: 0; }
.word {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  line-height: .92; font-weight: 900; text-align: center; white-space: nowrap;
  font-kerning: none; font-variant-ligatures: none;
}
.row { display: inline-flex; align-items: baseline; justify-content: center; vertical-align: top; }
.word .row { display: flex; width: max-content; margin-inline: auto; }
.l { display: inline-block; will-change: transform; transform-origin: 50% 100%; }
.wheelbox { width: .72em; height: .72em; margin: 0 .02em; }
.wheel { display: block; width: 100%; height: 100%; overflow: visible; }
.wheel.free { position: absolute; left: 0; top: 0; z-index: 3; }
.cutout { position: absolute; left: 0; top: 0; max-width: none; will-change: transform; transform-origin: 50% 100%; }
.wipe { position: absolute; inset: 0; z-index: 2; }
.ghost { -webkit-text-stroke: 2px var(--ink); }
.bubble { position: absolute; left: 0; top: 0; border: 2px solid rgba(12, 11, 16, .4); border-radius: 50%; }

.counter {
  position: absolute; left: 0; top: 0; z-index: 8; display: inline-flex; align-items: flex-start;
  font-weight: 800; font-variation-settings: "wdth" 100, "wght" 800; font-variant-numeric: tabular-nums; line-height: 1;
}
.counter .win { display: block; height: 1em; overflow: hidden; }
.counter .strip { display: block; will-change: transform; }
.counter .n { display: block; height: 1em; }
.counter .dot { line-height: 1; margin-inline: -.05em; }

.hazard { position: absolute; left: -120px; right: -120px; height: 9vmin; background: repeating-linear-gradient(-45deg, var(--yellow) 0 40px, var(--ink) 40px 80px); }
.hazard.top { top: 0; } .hazard.bot { bottom: 0; }
.pumpcap { position: absolute; left: 0; right: 0; top: 70%; text-align: center; color: var(--white); font-weight: 500; }
.nozzle { position: absolute; left: 0; top: 0; overflow: visible; transform-origin: 90% 50%; }
.liquid { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 5; }

.skid { position: absolute; left: 0; top: 0; width: 100%; height: 1.4vmin; background: rgba(12, 11, 16, .4); transform-origin: left; }

.ux-btn { position: absolute; left: 50%; top: 50%; width: 76%; height: 66%; margin: -33vh 0 0 -38%; border-radius: 4vmin; background: var(--yellow); }
.tall .ux-btn { height: 50%; margin-top: -25vh; width: 88%; margin-left: -44%; }
.cursor { position: absolute; left: 0; top: 0; z-index: 4; overflow: visible; transform-origin: 15% 10%; }

.ui-wrap { position: absolute; inset: 7vh 6vw; display: grid; grid-template-columns: 1.1fr .38fr 1.5fr; align-items: center; gap: 4vmin; }
.ui-wrap .word { position: static; transform: none; text-align: center; }
.ui-track { position: relative; height: 72vh; width: 100%; max-width: 20vmin; justify-self: center; border-radius: 12vmin; padding: 1.6vmin; }
.ui-knob { position: absolute; left: 1.6vmin; right: 1.6vmin; bottom: 1.6vmin; aspect-ratio: 1; border-radius: 50%; background: var(--white); }
.ui-sliders { display: grid; gap: 11vmin; }
.ui-row { position: relative; height: 2.8vmin; background: #37343f; border-radius: 2vmin; }
.ui-fill { position: absolute; inset: 0; background: var(--yellow); border-radius: 2vmin; transform-origin: left; }
.ui-thumb { position: absolute; left: -4vmin; top: -2.6vmin; width: 8vmin; height: 8vmin; border-radius: 50%; background: var(--white); }
.tall .ui-wrap { grid-template-columns: 1fr .5fr; grid-template-rows: 1.5fr 1fr; }
.tall .ui-track { height: 44vh; }
.tall .ui-sliders { grid-column: 1 / -1; align-self: center; gap: 8vh; padding-inline: 5vmin; }

.pane { position: absolute; left: 0; top: 0; background: var(--white); color: var(--blue); overflow: hidden; border-radius: 1.4vmin; display: grid; place-items: center; }
.bar { position: absolute; left: 0; right: 0; top: 0; height: 7vh; min-height: 12px; background: var(--ink); }
.panech { font-weight: 900; font-variation-settings: "wdth" 100, "wght" 900; line-height: .8; padding-top: 5%; }

.belt { position: absolute; left: 0; right: 0; bottom: 0; height: 13vh; background: repeating-linear-gradient(90deg, var(--ink) 0 8vmin, #4a1205 8vmin 16vmin); }
.tall .belt { height: 10vh; }
.stamp { position: absolute; left: 63%; top: 74%; padding: .08em .35em; border: .1em solid var(--yellow); color: var(--yellow); font-weight: 900; font-variation-settings: "wdth" 125, "wght" 900; background: var(--red); }
.tall .stamp { left: 50%; top: 79%; }

.labs-wrap { position: absolute; inset: 5vh 4vw; display: grid; grid-template-columns: 1.65fr 1fr; align-items: center; gap: 3vw; }
.labs-wrap .word { position: static; transform: none; }
.flip { position: relative; height: 84vh; }
.flip img { position: absolute; left: 50%; bottom: 0; height: 100%; max-width: none; transform: translateX(-50%); }
.tall .labs-wrap { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
.tall .flip { height: 62vh; }

.band { position: absolute; left: 0; width: 100%; z-index: 2; }
.g-lab { font: 900 24px Archivo; }

/* the film's frame: controls and the words that land under the logo */
.hud { position: absolute; z-index: 20; left: var(--gutter); bottom: 10px; display: flex; gap: 8px; }
.hud button {
  font: 700 15px/1 Archivo; color: var(--white); background: var(--ink); border: 0;
  padding: 0 16px; min-height: 44px; min-width: 44px; border-radius: 22px; cursor: pointer;
  box-shadow: 0 0 0 2px rgba(251, 250, 245, .85);
}
.hud button:focus-visible, a:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.scrub { position: absolute; z-index: 20; left: 0; right: 0; bottom: 0; height: 5px; background: var(--white); transform: scaleX(0); transform-origin: left; mix-blend-mode: difference; }
.land {
  position: absolute; z-index: 15; left: 0; right: 0; bottom: 0; color: var(--white); background: var(--ink);
  padding: 10px var(--gutter) 10px calc(var(--gutter) + 210px); display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 64px;
  font-size: clamp(15px, min(2.4vh, 1.4vw), 22px); font-weight: 600; line-height: 1.2; opacity: 0;
  transition: opacity .35s; pointer-events: none;
}
.land p { max-width: 62ch; }
.land a { font-weight: 800; text-underline-offset: 4px; }
.landed .land { opacity: 1; pointer-events: auto; }
@media (max-aspect-ratio: 9/10) { .land { flex-direction: column; align-items: start; gap: 6px; padding: 12px var(--gutter) 66px; } .land p { font-size: 15px; } }
@media (max-height: 460px) { .land p { max-width: 70ch; } }

/* ---- the crafts: one band each, inflating as they come up ---- */
.fat { font-weight: 900; font-variation-settings: "wdth" var(--w, 125), "wght" var(--g, 900); line-height: .9; }
.crafts { display: grid; grid-template-rows: repeat(5, 1fr); min-height: 100vh; min-height: 100svh; }
.craft { display: flex; align-items: center; justify-content: space-between; gap: 4vw; padding: 1vh var(--gutter); }
.craft h2 { font-size: min(16vh, 11.5vw); white-space: nowrap; }
.craft p { max-width: 30ch; font-size: clamp(16px, min(2.8vh, 1.7vw), 28px); font-weight: 500; line-height: 1.2; text-align: right; }
.crafts { position: relative; overflow: hidden; }
.c-y { background: var(--violet); color: var(--mint); } .c-w { background: var(--pink); }
.c-i { background: var(--ink); color: var(--white); } .c-b { background: var(--peri); }
.c-r { background: var(--coral); }

/* ---- work ---- */
.work { min-height: 100vh; min-height: 100svh; padding: clamp(32px, 7vh, 72px) var(--gutter); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 72px); align-items: center; }
.work.flip-cols { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
.w-syn .w-text h2 { font-size: min(12vh, 6.2vw); }
.w-text h2 { font-size: min(14vh, 8.4vw); margin-bottom: .22em; }
.w-text .kind { font-weight: 800; font-size: clamp(17px, 2.6vh, 26px); margin-bottom: .7em; }
.w-text p { font-size: clamp(18px, min(2.8vh, 1.7vw), 28px); line-height: 1.32; max-width: 34em; margin-bottom: .8em; }
.w-text .status { font-weight: 800; }
.w-text a { font-weight: 800; }

.w-fba { background: var(--navy); color: var(--white); }
.sheets { display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: auto auto auto; gap: 1.2vmin; }
.sheets img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; }
.sheets .a { grid-column: span 3; aspect-ratio: 3/2; }
.sheets .b { grid-column: span 2; aspect-ratio: 3/2; }
.sheets .walk { grid-column: span 6; background: var(--white); aspect-ratio: 8/1; object-fit: contain; padding: 4px; }

.w-syn { background: var(--pale); }
.syn-media { display: grid; grid-template-columns: auto 1fr; gap: clamp(10px, 2vmin, 24px); align-items: center; }
.reel { position: relative; height: min(82vh, 118vw); aspect-ratio: 9/16; background: var(--ink); border-radius: 6px; overflow: hidden; }
.reel video { width: 100%; height: 100%; object-fit: cover; }
.reel button { position: absolute; left: 10px; bottom: 10px; font: 800 15px Archivo; min-height: 44px; padding: 0 16px; border: 0; border-radius: 22px; background: var(--yellow); color: var(--ink); cursor: pointer; }
.eras { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(8px, 1.5vmin, 18px); }
.eras img { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: 4px; }
.eras img.wide { grid-column: 1 / -1; aspect-ratio: 3/1.55; object-position: 50% 12%; }

.w-ioa { background: var(--lime); }
.test { background: var(--ink); color: var(--white); border-radius: 8px; height: min(76vh, 90vw); display: grid; grid-template-columns: 1fr 1fr; position: relative; overflow: hidden; }
.lane { position: relative; border-right: 2px solid #37343f; }
.lane:last-child { border-right: 0; }
.lane h3 { position: absolute; left: 20px; top: 16px; font-size: clamp(18px, 3vh, 30px); font-weight: 800; }
.ground { position: absolute; left: 0; right: 0; bottom: 14%; height: 4px; background: var(--yellow); }
.ball { position: absolute; left: 50%; bottom: 14%; width: min(16vh, 12vw); height: min(16vh, 12vw); margin-left: calc(min(16vh, 12vw) / -2); border-radius: 50%; background: var(--red); transform-origin: 50% 100%; }
.read { position: absolute; left: 20px; right: 20px; bottom: 4%; font-size: clamp(15px, 2.2vh, 22px); font-weight: 700; font-variant-numeric: tabular-nums; }

/* ---- the lab ---- */
.lab { background: radial-gradient(circle, #3c1690 34%, transparent 36%) 0 0 / 18px 18px, var(--violet); color: var(--mint); min-height: 100vh; min-height: 100svh; padding: clamp(32px, 7vh, 72px) var(--gutter); display: flex; flex-direction: column; justify-content: center; gap: 3vh; }
.lab h2 { font-size: min(21vh, 16vw); }
.bench { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.6vw, 24px); }
.bench article { min-height: 34vh; background: var(--ink); color: var(--white); padding: clamp(18px, 3vh, 36px); border-radius: 8px; display: flex; flex-direction: column; gap: .5em; }
.bench h3 { font-size: clamp(24px, min(4.6vh, 2.8vw), 46px); font-weight: 900; font-variation-settings: "wdth" 110, "wght" 900; line-height: 1; }
.bench p { font-size: clamp(17px, min(2.5vh, 1.5vw), 24px); line-height: 1.3; }
.bench .status { margin-top: auto; padding-top: .6em; color: var(--yellow); font-weight: 800; }

.end { position: relative; overflow: hidden; background: var(--red); color: var(--yellow); min-height: 100vh; min-height: 100svh; padding: 6vh var(--gutter); display: flex; flex-direction: column; justify-content: center; gap: 3vh; }
.end h2 { font-size: min(17vh, 8vw); position: relative; z-index: 2; max-width: 62%; }
.end a { position: relative; z-index: 2; }
.end img { position: absolute; right: 2vw; bottom: -3vh; height: 104vh; max-width: none; }
@media (max-aspect-ratio: 9/10) { .end { justify-content: flex-start; } .end h2 { max-width: none; } .end img { height: auto; width: 86vw; right: -6vw; bottom: -8vh; } }
.end a { font-weight: 800; font-size: clamp(18px, 2.8vh, 28px); }

@media (max-aspect-ratio: 9/10) {
  .craft { flex-direction: column; align-items: start; justify-content: center; gap: 6px; }
  .craft h2 { font-size: min(11vh, 17.5vw); }
  .craft p { text-align: left; font-size: 16px; max-width: none; }
  .work, .work.flip-cols { grid-template-columns: 1fr; }
  .work.flip-cols .w-media { order: 2; }
  .w-text h2, .w-syn .w-text h2 { font-size: 15vw; }
  .end h2 { font-size: 15vw; }
  .bench article { min-height: 0; }
  .w-text p { font-size: 18px; }
  .reel { height: 62vh; margin-inline: auto; }
  .syn-media { grid-template-columns: 1fr; }
  .eras { grid-template-columns: 1fr 1fr; }
  .test { height: 62vh; }
  .ball { width: 22vw; height: 22vw; margin-left: -11vw; }
  .bench { grid-template-columns: 1fr; }
  .bench h3 { font-size: 26px; }
  .bench p { font-size: 17px; }
}

/* ---- film sections: the clips ---- */
.clip { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; display: flex; align-items: flex-end; background: var(--navy); color: var(--white); }
.clip video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.clip > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.clip .say { position: relative; z-index: 2; padding: 5vh var(--gutter) calc(5vh + 54px); }
.clip h2 { font-size: min(16vh, 9.5vw); text-shadow: 0 2px 40px rgba(1, 44, 106, .55); }
.clip p { text-shadow: 0 1px 14px rgba(1, 44, 106, .95), 0 0 3px rgba(1, 44, 106, .9); font-size: clamp(18px, min(3vh, 2vw), 30px); font-weight: 600; margin-top: .4em; max-width: 34em; }
.clipbtn { position: absolute; z-index: 3; left: var(--gutter); bottom: var(--gutter); font: 800 15px Archivo; min-height: 44px; padding: 0 16px; border: 0; border-radius: 22px; background: var(--yellow); color: var(--ink); cursor: pointer; }
.clip-pump { background: var(--blue); }
.clip-pump .say { margin-left: auto; text-align: right; }
.eyeclip { position: relative; border-radius: 8px; overflow: hidden; min-height: 30vh; }
.eyeclip video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.labhead { display: grid; grid-template-columns: auto 1fr; gap: 3vw; align-items: stretch; }
@media (max-aspect-ratio: 9/10) { .labhead { grid-template-columns: 1fr; } .eyeclip { min-height: 24vh; } .clip-pump .say { text-align: left; margin-left: 0; } .clip-pump video { object-position: 86% 50%; } }

/* ---- site menu over the film, and the way out of the home page ---- */
.topnav { position: absolute; z-index: 20; left: var(--gutter); top: 10px; display: flex; gap: 6px; flex-wrap: wrap; max-width: calc(100% - 2 * var(--gutter) - 90px); }
.topnav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 22px; background: var(--ink); color: var(--white); font-weight: 700; font-size: 15px; text-decoration: none; box-shadow: 0 0 0 2px rgba(251, 250, 245, .85); }
.topnav a:hover { background: var(--yellow); color: var(--ink); }
.endlinks { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 8px 26px; max-width: 62%; }
.endlinks a { font-weight: 800; font-size: clamp(18px, 2.8vh, 28px); min-height: 44px; display: inline-flex; align-items: center; }
@media (max-aspect-ratio: 9/10) { .endlinks { max-width: none; } .topnav { gap: 4px; } .topnav a { padding: 0 7px; font-size: 12px; } }

/* ---- print shop ---- */
.splat, .tone { position: absolute; left: 0; top: 0; overflow: visible; }
.tear { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 4; }
.grain { position: absolute; inset: 0; z-index: 7; pointer-events: none; opacity: .13; mix-blend-mode: overlay; }
.pumpcap { padding-inline: 16px; }

.clip-syn { background: var(--navy); }
.clip-syn .say { text-shadow: 0 2px 26px rgba(12, 11, 16, .75); }

.fba-logo { width: min(100%, 52vh); margin-bottom: .6em; }
.w-ioa .w-text h2 { font-size: min(10vh, 5.8vw); }
@media (max-aspect-ratio: 9/10) { .w-ioa .w-text h2 { font-size: 15vw; } }
.w-ioa { position: relative; overflow: hidden; }
.w-ioa .w-text, .w-ioa .w-media { position: relative; z-index: 2; }
.bouncer { position: absolute; left: 0; bottom: 0; width: min(13vh, 9vw); height: min(13vh, 9vw); border-radius: 50%; background: var(--red); transform-origin: 50% 100%; will-change: transform; z-index: 1; }
@media (max-aspect-ratio: 9/10) { .bouncer { width: 20vw; height: 20vw; } }
.w-ioa .credit { font-size: clamp(14px, 1.8vh, 17px); }
.bench h3 a { text-decoration: none; }

/* ---- the film opens from the reel ---- */
.w-ioa { grid-template-columns: minmax(0, 1fr) auto; }
.ioa-media { display: block; width: max-content; }
.film-reel { height: min(72vh, 52vw); }
.film-reel video { cursor: pointer; }
.filmplay { display: block; width: 100%; margin-top: 12px; white-space: nowrap; font: 800 clamp(16px, 2.4vh, 22px) Archivo; min-height: 52px; padding: 0 22px; border: 0; border-radius: 26px; background: var(--red); color: var(--white); cursor: pointer; box-shadow: 4px 4px 0 var(--ink); }
.filmplay:hover { background: var(--ink); color: var(--yellow); }
.filmbox { margin: auto; border: 0; padding: 0; background: none; width: min(92vw, calc((100vh - 110px) * 16 / 9)); max-width: none; overflow: visible; }
.filmbox::backdrop { background: rgba(12, 11, 16, .92); }
.filmbox button { display: block; margin: 0 0 10px auto; font: 800 16px Archivo; min-height: 44px; padding: 0 18px; border: 0; border-radius: 22px; background: var(--yellow); color: var(--ink); cursor: pointer; }
.filmframe { aspect-ratio: 16/9; background: var(--ink); }
.filmframe iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (max-aspect-ratio: 9/10) { .w-ioa { grid-template-columns: 1fr; } .film-reel { height: 62vh; } .ioa-media { margin-inline: auto; } }
