:root {
  --color-white: #fff;
  --color-black: #000;
  --color-blue: #3f0a71;
  --theme-foreground: var(--color-white);
  --theme-background: var(--color-blue);
  --theme-dark: var(--color-black);
  --theme-light: var(--color-blue);
  --theme-transparent: #ffffff4d;
  --font-family-base: "PPNeueMontreal", sans-serif;
  --font-family-serif: "PPNeueMontreal", serif;
  --font-size-base: clamp(1rem, 0.9375rem + 0.3125vw, 1.25rem);
  --font-size-lead: clamp(1.25rem, 1.125rem + 0.625vw, 1.75rem);
  --font-size-h1: clamp(4rem, 1.0625rem + 14.6875vw, 15.75rem);
  --font-size-h2: clamp(2.625rem, 1.40625rem + 6.09375vw, 7.5rem);
  --spacing-frame-width: clamp(0.625rem, 0.46875rem + 0.78125vw, 1.25rem);
  --spacing-base: clamp(1.125rem, 0.90625rem + 1.09375vw, 2rem);
  --spacing-section: clamp(2rem, 1.5rem + 2.5vw, 4rem);
  --ease-out-circ: cubic-bezier(0, 0.55, 0.45, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-cubic: cubic-bezier(0.33, 1, 0.68, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out-quart: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-in-out-expo: cubic-bezier(0.87, 0, 0.13, 1);
  --ease-custom-line: cubic-bezier(0.3, 0.3, 0, 1);
  color-scheme: light dark;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}

@font-face {
  font-family: PPNeueMontreal;
  src: local("PP NeueMontreal Regular"), local("PP NeueMontreal-Regular"),
    url(fonts/PPNeueMontreal-Regular.ttf);
  font-weight: bold;
}

html {
  -webkit-text-size-adjust: 100%;
  line-height: 1.15;
}

body {
  margin: 0;
}

main {
  display: block;
}

h1 {
  margin: 0.67em 0;
  font-size: 2em;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

pre {
  font-family: monospace;
  font-size: 1em;
}

a {
  background-color: #0000;
}

abbr[title] {
  border-bottom: none;
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
}

b,
strong {
  font-weight: bolder;
}

code,
kbd,
samp {
  font-family: monospace;
  font-size: 1em;
}

small {
  font-size: 80%;
}

sub,
sup {
  vertical-align: baseline;
  font-size: 75%;
  line-height: 0;
  position: relative;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

img {
  border-style: none;
}

button,
input,
optgroup,
select,
textarea {
  margin: 0;
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
}

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

legend {
  box-sizing: border-box;
  color: inherit;
  max-width: 100%;
  white-space: normal;
  padding: 0;
  display: table;
}

progress {
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

details {
  display: block;
}

summary {
  display: list-item;
}

template,
[hidden] {
  display: none;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-blue: var(--color-black);
  }
}

*,
:after,
:before {
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

canvas,
img,
video {
  max-width: 100%;
  height: auto;
}

audio {
  max-width: 100%;
}

iframe {
  border: 0;
}

address {
  font-style: inherit;
}

pre {
  overflow: auto;
}

ul,
ol {
  padding-left: 0;
  list-style: none;
}

dd {
  margin-left: 0;
}

hr {
  color: inherit;
  border: 0;
  border-top: 1px solid;
}

button,
input,
optgroup,
select,
textarea {
  font: inherit;
  line-height: inherit;
}

optgroup {
  font-weight: 700;
}

fieldset {
  min-width: 0;
  border: 0;
  padding: 0;
}

[type="button"]:not(:disabled),
[type="reset"]:not(:disabled),
[type="submit"]:not(:disabled),
button:not(:disabled) {
  cursor: pointer;
}

a:focus:not(:focus-visible) {
  outline: none;
}

.frame {
  z-index: 100;
  pointer-events: none;
  position: fixed;
}

.is-loaded:not(.is-scrolled) .frame.frame--onload {
  transition: transform 1.5s var(--ease-in-out-expo);
}

.is-loaded .frame {
  transform: none;
}

.frame--bottom {
  left: calc(var(--spacing-frame-width) - 1px);
  right: calc(var(--spacing-frame-width) - 1px);
  border-bottom: solid var(--theme-foreground);
  border-bottom-width: var(--spacing-frame-width);
  border-bottom-width: calc(
    var(--spacing-frame-width) + env(safe-area-inset-bottom)
  );
  transform-origin: 0 100%;
  transition: none;
  bottom: 0;
}

.frame--top {
  width: 100%;
  border-top: var(--spacing-frame-width) solid var(--theme-foreground);
  transform-origin: 100% 0;
  top: 0;
  left: 0;
  transform: scaleX(0);
}

.frame--right {
  height: 100%;
  border-right: var(--spacing-frame-width) solid var(--theme-foreground);
  transform-origin: 100% 100%;
  top: 0;
  right: 0;
  transform: scaleY(0);
}

.frame--left {
  height: 100%;
  border-left: var(--spacing-frame-width) solid var(--theme-foreground);
  transform-origin: 0 0;
  top: 0;
  left: 0;
  transform: scaleY(0);
}

h1,
h2,
h3,
h4,
h5,
h6,
.heading {
  font-family: var(--font-family-base);
  margin-top: 2em;
  margin-bottom: 0.3em;
  font-weight: 400;
  line-height: 1;
}

h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child,
h6:first-child,
.heading:first-child {
  margin-top: 0;
}

h1:last-child,
h2:last-child,
h3:last-child,
h4:last-child,
h5:last-child,
h6:last-child,
.heading:last-child {
  margin-bottom: 0;
}

h1,
.heading--h1 {
  font-size: var(--font-size-h1);
}

h2,
.heading--h2 {
  font-size: var(--font-size-h2);
}

h3,
.heading--h3 {
  font-size: var(--font-size-lead);
}

.lead {
  font-size: var(--font-size-lead);
  font-weight: 300;
  font-family: PPNeueMontreal;
}

.lead--narrow {
  max-width: 20em;
}

.text-serif {
  font-size: 1.1em;
  font-family: PPNeueMontreal;
  font-weight: 300;
}

.text-serif--offset {
  margin-top: -0.13em;
  display: block !important;
}

.text-sans {
  font-family: var(--font-family-base);
  font-weight: 400;
}

.button {
  vertical-align: middle;
  text-align: center;
  white-space: normal;
  color: var(--theme-foreground);
  transition: all 0.3s var(--ease-out-circ);
  -webkit-user-select: none;
  user-select: none;
  touch-action: manipulation;
  background-color: #0000;
  border-radius: 2em;
  padding: 0.2em 0.6em;
  line-height: 1.2;
  text-decoration: none;
  display: inline-block;
  position: relative;
}

.button:hover,
.button:focus {
  outline: 0;
  text-decoration: none;
}

.button:hover,
.button:focus-visible {
  color: var(--theme-foreground);
  background-color: #ffffff05;
}

.button--contact {
  margin: 2px !important;
}

.button__border {
  z-index: -1;
  width: 100%;
  height: 100%;
  border: 2px solid var(--theme-transparent);
  border-radius: inherit;
  padding: inherit;
  transition: inherit;
  position: absolute;
  top: 0;
  left: 0;
}

.button:hover .button__border {
  -webkit-backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  border-color: #fff;
  transform: scale(1.02);
}

a:not([class]),
.link {
  color: inherit;
  font-family: var(--font-family-base);
  text-decoration: none;
}

a:not([class]) > span,
.link > span {
  background-image: linear-gradient(
    var(--theme-transparent),
    var(--theme-transparent)
  );
  transition: background-size 0.3s var(--ease-out-quart);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 100% 1px;
  padding-bottom: 0.1em;
  display: inline !important;
}

a:not([class]):hover > span,
a:not([class]):focus-visible > span,
.link:hover > span,
.link:focus-visible > span {
  background-position: right 100%;
  background-size: 0 1px;
}

@media (pointer: fine) {
  a:not([class]) .icon,
  .link .icon {
    opacity: 0;
    transition: 0.6s var(--ease-out-expo) 0.1s;
    transition-property: opacity, transform;
    transform: translate(-20%, 20%);
  }

  a:not([class]):hover .icon,
  a:not([class]):focus-visible .icon,
  .link:hover .icon,
  .link:focus-visible .icon {
    opacity: 1;
    transform: none;
  }
}

.list {
  margin-left: 0.8em;
  padding-left: 0;
  list-style: none;
}

.list li {
  margin-left: 0;
  position: relative;
}

.list li:before {
  content: "";
  position: absolute;
  transform: translate(-100%);
}

.list--unordered li:before {
  width: 0.4em;
  height: 0.4em;
  border: 1px solid;
  border-radius: 50%;
  margin-left: 0.4em;
  top: 0.6em;
  left: -0.8em;
}

.section {
  z-index: 10;
  padding-top: var(--spacing-section);
  padding-bottom: var(--spacing-section);
  position: relative;
}

.section__sticky {
  z-index: 1;
  width: 100%;
  position: sticky;
  top: 50%;
  transform: translateY(-50%);
}

.section__sticky--hidden {
  opacity: 0;
  visibility: hidden;
}

.section__fixed {
  z-index: 1;
  position: fixed;
  left: 0;
  right: 0;
}

.section__fixed--centered {
  top: 50%;
  left: 50%;
  right: auto;
  transform: translate(-50%, -50%);
}

.section--centered {
  flex-direction: column;
  justify-content: center;
  display: flex;
}

.section--vh {
  min-height: 100vh;
  min-height: 100dvh;
}

.section--half-vh {
  min-height: 50vh;
  min-height: 50dvh;
}

.intro-title {
  font-family: PPNeueMontreal;
  font-size: var(--font-size-h1);
  letter-spacing: -0.02em;
  margin-bottom: 0;
  position: relative;
}

.intro-title__top,
.intro-title__bottom {
  display: block;
}

.intro-title__top {
  font-weight: 500;
}

.intro-title__bottom {
  font-weight: 400;
}

.outro__center {
  text-align: center;
}

.outro__list li + li {
  margin-top: 0.2em;
  display: flex;
  gap: 20%;
}

.outro__lead {
  margin-top: var(--spacing-base);
}

.services {
  margin-top: calc(var(--spacing-section) / 2);
}

@media (min-width: 40em) {
  .services {
    gap: calc(var(--spacing-base) * 1.5);
    flex-wrap: wrap;
    display: flex;
  }
}

.services__list {
  flex-grow: 1;
  margin-bottom: 0;
  position: relative;
}

@media (max-width: 39.99em) {
  .services__list
    + .services__list
    .line-wrapper:first-child
    .services__item:before {
    content: none;
  }
}

.services__item {
  font-size: var(--font-size-lead);
  padding-top: 0.3em;
  padding-bottom: 0.3em;
  position: relative;
  display: block !important;
}

.services__item span {
  background: linear-gradient(
    to right,
    var(--theme-foreground) 50%,
    var(--theme-transparent) 50%
  );
  background-size: 200% 100%;
  background-position-x: var(--bg-progress);
  color: #0000;
  -webkit-background-clip: text;
  -webkit-background-clip: text;
  background-clip: text;
}

.services__item:before,
.services__item:after {
  content: "";
  -webkit-mask-image: linear-gradient(
    to right,
    var(--theme-foreground) 50%,
    #0000
  );
  -webkit-mask-image: linear-gradient(
    to right,
    var(--theme-foreground) 50%,
    #0000
  );
  mask-image: linear-gradient(to right, var(--theme-foreground) 50%, #0000);
  transform: scaleX(var(--line-progress));
  transform-origin: 0 0;
  transition: transform 0.3s var(--ease-custom-line);
  position: absolute;
  left: 0;
  right: 0;
}

.services__item:before {
  border-top: 1px solid #ffffff1a;
  top: 0;
}

.line-wrapper:last-child .services__item:after {
  border-bottom: 1px solid #ffffff1a;
  bottom: 0;
}

.media-grid {
  gap: calc(var(--spacing-base) * 1.5);
  margin-top: var(--spacing-section);
  grid-template-columns: 1fr;
  display: grid;
}

@media (min-width: 40em) {
  .media-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.media-grid__wrapper {
  align-items: flex-end;
  display: flex;
  overflow: hidden;
}

.media-grid__wrapper:nth-child(2n + 1) .media-grid__item {
  margin-left: auto;
}

.media-grid__wrapper:nth-child(2n) .media-grid__caption {
  width: 150%;
}

.media-grid__item {
  margin: 0;
}

@media (min-width: 40em) {
  .media-grid__item--small {
    max-width: 25vw;
  }
}

@media (min-width: 59.99em) {
  .media-grid__item--small {
    max-width: 50%;
  }
}

.media-grid__item--small .media {
  aspect-ratio: 1/1;
}

.media {
  position: relative;
}

.media:after {
  content: "";
  width: 100%;
  height: 100%;
  pointer-events: none;
  border: 1px solid #ffffff1a;
  border-radius: 0.2rem;
  position: absolute;
  top: 0;
  left: 0;
}

.media--video {
  cursor: pointer;
}

.media--video:before {
  content: "";
  opacity: 0;
  width: 4em;
  height: 4em;
  pointer-events: none;
  background-color: #000c;
  background-image: url(play.52d7498f.svg);
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: 50% 50%;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  margin-top: -2em;
  margin-left: -2em;
  transition: opacity 0.15s linear;
  display: flex;
  position: absolute;
  top: 50%;
  left: 50%;
}

@media (pointer: fine) {
  .media--video:not(.is-playing, .is-paused):hover:before {
    opacity: 1;
    transform: scale(1);
  }
}

.media--video.is-playing:before,
.media--video.is-hinting:before {
  animation: pop-in-play 1s var(--ease-out-quart);
  background-image: url(play.52d7498f.svg);
}

.media--video.is-hinting:before {
  animation: hint-play 1s var(--ease-out-quart);
}

.media--video.is-playing:before {
  animation: pop-in-play 1s var(--ease-out-quart);
}

.media--video.is-paused:before {
  animation: pop-in-pause 1s var(--ease-out-quart);
  background-image: url(pause.a31004aa.svg);
}

@keyframes hint-play {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@keyframes pop-in-play {
  0% {
    opacity: 1;
    transform: scale(1);
  }

  to {
    opacity: 0;
    transform: scale(1.2);
  }
}

@keyframes pop-in-pause {
  0% {
    opacity: 1;
    transform: scale(1);
  }

  to {
    opacity: 0;
    transform: scale(1.2);
  }
}

.media__object {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.2rem;
}

.media-grid__caption {
  margin-top: 0.8em;
  font-size: 0.8em;
}

.awards {
  flex-direction: column;
  row-gap: 1em;
  display: flex;
}

.awards ul {
  font-family: PPNeueMontreal;
}

@media (min-width: 40em) {
  .awards__item {
    gap: calc(var(--spacing-base) * 1.5);
    grid-template-columns: 1fr 1fr;
    display: grid;
  }

  .awards__item > span {
    margin-left: auto;
  }
}

.scroll-hint {
  z-index: 1;
  color: inherit;
  opacity: 0;
  text-decoration: none;
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
}

.scroll-hint__link {
  color: inherit;
  text-decoration: none;
}

.scroll-hint__text {
  text-rendering: geometricprecision;
  word-spacing: 0.2em;
  text-transform: uppercase;
  letter-spacing: 0.007em;
  font-size: 12px;
}

.scroll-hint__icon {
  width: 8em;
  height: 8em;
  fill: currentColor;
}

.line-grid {
  width: 100%;
  max-width: 34em;
  margin: auto;
  margin-top: var(--spacing-section);
  position: relative;
}

@media (min-width: 40em) {
  .line-grid {
    flex-wrap: wrap;
    justify-content: center;
    display: flex;
  }
}

.line-grid:before,
.line-grid:after {
  content: "";
  width: calc(var(--progress) * 50%);
  border-top: 1px solid var(--theme-transparent);
  transition: width 2s var(--ease-custom-line);
  position: absolute;
  top: 0;
}

.line-grid:before {
  left: 0;
  -webkit-mask-image: linear-gradient(270deg, #fff 50%, #0000);
  mask-image: linear-gradient(270deg, #fff 50%, #0000);
}

.line-grid:after {
  right: 0;
  -webkit-mask-image: linear-gradient(90deg, #fff 50%, #0000);
  mask-image: linear-gradient(90deg, #fff 50%, #0000);
}

.line-grid__item {
  padding: var(--spacing-base);
}

.line-grid__item + .line-grid__item {
  padding-top: 0;
}

@media (min-width: 40em) {
  .line-grid__item {
    width: 50%;
  }

  .line-grid__item,
  .line-grid__item + .line-grid__item {
    padding: var(--spacing-base);
  }

  .line-grid__item:first-child:before {
    content: "";
    height: calc(var(--progress) * 100% - 1px);
    border-left: 1px solid var(--theme-transparent);
    transition: height 2s var(--ease-custom-line);
    position: absolute;
    bottom: 0;
    left: 50%;
    -webkit-mask-image: linear-gradient(#fff 50%, #0000);
    mask-image: linear-gradient(#fff 50%, #0000);
  }
}

.line-grid__item--flex {
  display: flex;
}

.avatar {
  z-index: 1;
  width: 4em;
  align-self: center;
  margin-top: -0.3em;
  margin-right: 1em;
  position: relative;
  overflow: hidden;
}

.marquee {
  max-width: 100%;
  margin-bottom: var(--spacing-base);
  display: flex;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    270deg,
    #0000 0%,
    #fff 40% 60%,
    #0000 100%
  );
  mask-image: linear-gradient(270deg, #0000 0%, #fff 40% 60%, #0000 100%);
}

.marquee__item {
  white-space: nowrap;
  margin: 0;
  padding-left: 0.2em;
}

.nav {
  z-index: 20;
  top: var(--spacing-frame-width);
  right: var(--spacing-frame-width);
  transform-origin: bottom;
  margin-right: 0.12em;
  position: fixed;
  transform: rotate(90deg);
}

.nav__list {
  padding-left: 0;
  list-style: none;
}

.nav__link {
  color: var(--theme-foreground);
  padding: 1.2em 0.8em;
  text-decoration: none;
  display: inline-block;
  position: relative;
  transform: translateY(-100%);
}

@media (pointer: fine) {
  .is-cursor-active * {
    cursor: none !important;
  }

  .is-cursor-active .cursor {
    opacity: 1;
  }

  .is-cursor-active .cursor:after {
    transform: none;
  }

  .cursor {
    opacity: 0;
    z-index: 1000;
    transform: translate(var(--cursor-x), var(--cursor-y));
    mix-blend-mode: difference;
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
  }

  .cursor:after {
    content: "";
    width: 1.8rem;
    height: 1.8rem;
    background-image: url(cursor.9afd762b.svg);
    background-size: contain;
    margin-top: -0.9rem;
    margin-left: -0.9rem;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: block;
    transform: scale(0);
  }

  .cursor.cursor--pressed:after {
    transform: scale(0.7);
  }

  body:has(a:hover, button:hover) .cursor:after {
    transform: scale(1.3);
  }

  body:has(a:hover, button:hover) .cursor--pressed:after {
    transform: scale(1);
  }
}

::selection {
  color: var(--theme-background);
  background: var(--theme-foreground);
}

body {
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  font-weight: 400;
  line-height: 1.2;
}

p,
ul,
ol,
dl {
  margin-top: 0;
  margin-bottom: 1em;
}

p:last-child,
ul:last-child,
ol:last-child,
dl:last-child {
  margin-bottom: 0;
  display: flex;
  gap: 30%;
}

.container {
  width: 100%;
  max-width: 87rem;
  padding-left: var(--spacing-base);
  padding-right: var(--spacing-base);
  margin-left: auto;
  margin-right: auto;
}

.container--narrow {
  max-width: 35em;
}

.content {
  padding: 0 var(--spacing-frame-width);
  background: var(--theme-background);
  color: var(--theme-foreground);
  transition: background-color 0.5s linear;
}

.bg-canvas {
  width: 100%;
  height: 100vh;
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
}

.icon {
  vertical-align: baseline;
  width: 0.6em;
  height: 0.6em;
  color: currentColor;
  display: inline-block;
  overflow: visible;
}

.sr-only {
  clip: rect(0, 0, 0, 0);
  width: 1px;
  height: 1px;
  white-space: nowrap;
  position: absolute;
  overflow: hidden;
}

.br-desktop {
  display: none;
}

@media (min-width: 40em) {
  .br-desktop {
    display: block;
  }
}
