/* One black stage. The lockup holds the first screen; after it, the point is
   the only thing that moves: it leaves the i, becomes each chapter's shape on
   a pinned stage, dots each product in its colour, and ends on the i of the
   signature. Everything else is type and space. */
/* Mona Sans (SIL OFL 1.1, fonts/OFL.txt), served from this site: no requests to anyone else. */
@font-face {
  font-family: "Mona Sans";
  src: url("fonts/mona-sans-latin.woff2") format("woff2");
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --night: #0E0F11;
  --carbon: #141518;
  --ink: #F1F0EC;
  --ink-2: rgba(241, 240, 236, .64);
  --ink-3: rgba(241, 240, 236, .36);
  --hair: rgba(241, 240, 236, .12);
  --cyan: #22D3EE;
  --amber: #D99A1A;
  --red: #D8202E;
  --sans: "Mona Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.65, 0, .25, 1);
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --gutter: clamp(20px, 5vw, 80px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--night); }
body {
  margin: 0;
  padding-inline: var(--gutter);
  background: var(--night);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.55;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
/* Film grain over everything, as in the brand film. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: .1;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
::selection { background: var(--ink); color: var(--night); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
a { color: inherit; }
:focus-visible { outline: 1.5px solid var(--ink); outline-offset: 5px; border-radius: 2px; }
.label {
  font-size: 11px;
  font-weight: 500;
  font-stretch: 125%;
  letter-spacing: .26em;
  text-transform: uppercase;
}

/* ---------- The lockup ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: grid;
  place-items: center;
  padding-block: 12vh 16vh; padding-block: 12svh 16svh;
}
.lockup {
  --cap: min(92px, calc((100vw - 2 * var(--gutter)) / 10.2));
  margin: 0;
  display: grid;
  justify-items: end;
  font-weight: inherit;
  line-height: 1;
}
@media (min-width: 900px) {
  .lockup { --cap: min(100px, 5.7vw); }
}
.name {
  display: block;
  height: calc(var(--cap) * 1.12);
  width: auto;
  aspect-ratio: var(--name-ratio);
  overflow: visible;
}
.name-i {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  transform: scaleY(var(--i-lower));
  transition: transform .32s var(--ease);
}
.cap .hero .name-i { transform: none; }
.snap .hero .name-i { transition: none; }

.l1, .l2 {
  display: flex;
  align-items: baseline;
  margin-right: calc(var(--cap) * .04);
  font-stretch: 125%;
  letter-spacing: .14em;
  line-height: 1;
  white-space: nowrap;
}
.l1 {
  margin-top: calc(var(--cap) * .3);
  font-size: calc(var(--cap) * 30 / 56);
  font-weight: 500;
}
/* The film's .12em gap to the hook, less the trailing letter-spacing. */
.l1 .t { margin-right: -.02em; }
.hook { flex: none; width: .525em; height: .7em; overflow: visible; }
.l2 {
  margin-top: calc(var(--cap) * .15);
  font-size: calc(var(--cap) * 13.6 / 56);
  font-weight: 400;
}

/* The three small points, drawn like the lockup's: centred .36em above the line. */
.pt {
  --p: .414em;
  --s: calc(var(--p) * .89);
  --r: 0deg;
  display: inline-block;
  flex: none;
  width: var(--s);
  height: var(--s);
  background: currentColor;
  opacity: .8;
  transform: translateY(calc(var(--s) / 2 - .36em)) rotate(var(--r));
}
.pt-d { --s: calc(var(--p) * .78); --r: 45deg; }
.pt-a { --s: calc(var(--p) * .95); border-radius: 30%; }
.pt-c { --s: var(--p); border-radius: 50%; }
.l2 .pt { margin-left: .36em; margin-right: .75em; }
.qbox {
  flex: none;
  display: flex;
  justify-content: center;
  width: calc(.525em * 30 / 13.6);
  margin-left: calc(.12em * 30 / 13.6 - .14em);
}
.qdot {
  display: block;
  width: calc(.135em * 30 / 13.6);
  height: calc(.135em * 30 / 13.6);
  border-radius: 50%;
  background: currentColor;
}

.sound {
  position: absolute;
  right: 0;
  bottom: calc(4vh + env(safe-area-inset-bottom, 0px)); bottom: calc(4svh + env(safe-area-inset-bottom, 0px));
  display: flex;
  align-items: center;
  gap: .7em;
  padding: 12px 0;
  border: 0;
  background: none;
  color: var(--ink-2);
  font: inherit;
  font-size: 11px;
  font-weight: 500;
  font-stretch: 125%;
  letter-spacing: .26em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .3s;
}
.sound:hover { color: var(--ink); }
.sound svg { width: 16px; height: 16px; }
.sound.on svg path:last-child { animation: wave 1.2s var(--ease) 2; }
@keyframes wave { 50% { opacity: .25; } }

/* The opening: WHAT IF? alone, then the name and the rest come in, then the point flies. */
.intro .lockup .lt, .intro .made, .intro .l2 .w { opacity: 0; }
.intro .l2 .pt, .intro .sound { opacity: 0; }
.intro.play .lockup .lt { animation: in .55s var(--ease-out) forwards; animation-delay: calc(.35s + var(--n) * .07s); }
.intro.play .made { animation: in .6s var(--ease-out) .95s forwards; }
.intro.play .l2 .w { animation: in .6s var(--ease-out) 1.1s forwards; }
.intro.play .l2 .pt { animation: in8 .6s var(--ease-out) 1.1s forwards; }
.intro.play .sound { animation: in .8s var(--ease-out) 2.6s forwards; }
@keyframes in { to { opacity: 1; } }
@keyframes in8 { to { opacity: .8; } }

/* ---------- The point ---------- */
.point, .ring, .trail {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 40;
  pointer-events: none;
  display: none;
}
.point { background: var(--ink); will-change: transform, width, height; }
.trail { width: 100vw; height: 100vh; z-index: 39; }
.ring { border: 1px solid var(--ink); border-radius: 50%; translate: -50% -50%; opacity: 0; }
.journey .point, .journey .ring, .journey .trail { display: block; }
/* Every point stays in its place; the moving one is a copy that lifts off,
   as in the sting. Only the i waits for the opening to land. */
.cap .hero .name-dot { visibility: hidden; }

/* ---------- Chapters ---------- */
.chapters {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: var(--gutter);
}
.stage {
  position: sticky;
  top: 0;
  height: 100vh; height: 100svh;
  display: grid;
  place-items: center;
}
.stage-spot { width: min(15vw, 176px); aspect-ratio: 1; }
.chapter-list { margin: 0; padding: 0; list-style: none; }
.chapter {
  min-height: 76vh; min-height: 76svh;
  display: grid;
  align-content: center;
  gap: 20px;
  max-width: 30rem;
}
.chapter h2 {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: .6em;
  font-size: clamp(32px, 4.4vw, 72px);
  font-weight: 500;
  font-stretch: 125%;
  letter-spacing: .14em;
  line-height: 1;
}
.chapter h2 .pt { --p: .5em; opacity: 1; }
.chapter p {
  margin: 0;
  max-width: 24em;
  color: var(--ink-2);
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.5;
  text-wrap: pretty;
}
.journey .chapter h2 .pt { display: none; }
.amp-base { display: inline-block; width: 0; height: 0; }
.journey .chapter { opacity: .26; transition: opacity .7s var(--ease-out); }
.journey .chapter.on { opacity: 1; }

/* ---------- Products ---------- */
.work { padding-block: 18vh 6vh; padding-block: 18svh 6svh; }
.eyebrow { margin: 0 0 7vh; margin: 0 0 7svh; color: var(--ink-2); }
.products { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--hair); }
.product {
  min-height: 56vh; min-height: 56svh;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: end;
  gap: 28px var(--gutter);
  padding-block: 9vh; padding-block: 9svh;
  border-bottom: 1px solid var(--hair);
}
.p-name {
  margin: 0;
  font-size: clamp(64px, 11.5vw, 176px);
  font-weight: 400;
  font-stretch: 125%;
  letter-spacing: .01em;
  line-height: .86;
}
.p-dot {
  display: inline-block;
  width: .15em;
  height: .15em;
  margin-left: .07em;
  border-radius: 50%;
  background: var(--c);
}
.p-meta { display: grid; gap: 16px; max-width: 27rem; padding-bottom: .4em; }
.p-meta p { margin: 0; color: var(--ink-2); font-size: clamp(17px, 1.35vw, 19px); text-wrap: pretty; }
.p-meta .p-q { color: var(--ink); font-size: clamp(20px, 1.9vw, 27px); line-height: 1.3; text-wrap: balance; }
.p-meta .p-state { color: var(--ink); font-size: 11px; }
.p-name a { color: inherit; text-decoration: none; }
.p-state a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--ink-3); transition: border-color .3s; }
.p-state a:hover { border-color: var(--ink); }

/* ---------- Film ---------- */
.film { padding-block: 16vh 8vh; padding-block: 16svh 8svh; }
.film-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  max-width: 100%;
  overflow: hidden;
  background: var(--carbon);
}
.film-frame video { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--night); }
.film-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.film-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 18px;
  padding: clamp(16px, 3vw, 36px);
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}
.film-play .tri {
  display: grid;
  flex: none;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--ink-3);
  border-radius: 50%;
  transition: transform .6s var(--ease-out), border-color .4s;
}
.film-play .tri svg { width: 18px; height: 18px; margin-left: 3px; }
.film-play .ctl { display: flex; align-items: center; gap: 18px; }
@media (max-width: 760px) {
  .film-play .tri { width: 44px; height: 44px; }
  .film-play .lbl { display: none; }
}
.film-play:hover .tri { transform: scale(1.07); border-color: var(--ink); }
.film-play .lbl { color: var(--ink-2); }
.film-play .dur { margin-left: 1.2em; color: var(--ink-3); }

/* ---------- Signature ---------- */
.sig {
  display: grid;
  gap: 12vh; gap: 12svh;
  padding-block: 16vh calc(5vh + env(safe-area-inset-bottom, 0px)); padding-block: 16svh calc(5svh + env(safe-area-inset-bottom, 0px));
}
.sig-mark { --cap: min(64px, calc((100vw - 2 * var(--gutter)) / 10.2)); display: grid; gap: 26px; justify-items: start; }
.sig-made, .sig-name { margin: 0; }
.sig-made { color: var(--ink-2); }
.sig-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px 40px;
  padding-top: 28px;
  border-top: 1px solid var(--hair);
  color: var(--ink-2);
  font-size: 14px;
}
.sig-row p { margin: 0; }
.sig-mail { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--ink-3); transition: border-color .3s; }
.sig-mail:hover { border-color: var(--ink); }

/* ---------- Phones ---------- */
@media (max-width: 760px) {
  .chapters { grid-template-columns: minmax(0, 1fr); }
  .stage { z-index: 2; height: 40vh; height: 40svh; background: var(--night); }
  .stage-spot { width: min(28vw, 128px); }
  .chapter { min-height: 64vh; min-height: 64svh; align-content: start; padding-top: 6vh; padding-top: 6svh; }
  .product { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-block: 10vh; padding-block: 10svh; }
  .sig-row { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Text pages ---------- */
.doc-bar { padding-block: 24px; }
.doc-home { display: block; width: 34px; color: var(--ink); }
.doc-home svg { display: block; width: 100%; height: auto; }
.doc { display: grid; gap: 20px; max-width: 44rem; padding-block: 8svh 12svh; }
.doc h1 { margin: 0; font-size: clamp(44px, 6vw, 80px); font-weight: 500; font-stretch: 125%; letter-spacing: .1em; line-height: 1; text-transform: uppercase; }
.doc h2 { margin: 0; font-size: 20px; font-weight: 500; font-stretch: 125%; letter-spacing: .1em; text-transform: uppercase; }
.doc .updated { margin: 0; color: var(--ink-2); font-size: 14px; }
.doc section { display: grid; gap: 14px; padding-top: 26px; border-top: 1px solid var(--hair); }
.doc p { margin: 0; color: var(--ink-2); }
.doc a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--ink-3); }
.doc a:hover { border-color: var(--ink); }
.doc-foot { padding-block: 6svh; border-top: 1px solid var(--hair); }
.doc-foot p { margin: 0; }

/* ---------- Not found ---------- */
.lost { min-height: 100vh; min-height: 100svh; display: grid; place-content: center; justify-items: center; gap: 18px; text-align: center; padding-block: 10svh; }
.lost-mark { display: block; margin-bottom: 10px; }
.lost h1 { margin: 0; font-size: clamp(30px, 4vw, 48px); font-weight: 500; font-stretch: 125%; letter-spacing: .12em; text-transform: uppercase; }
.lost p { margin: 0; color: var(--ink-2); }
.lost a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--ink-3); }
.lost a:hover { border-color: var(--ink); }
