:root {
  --color-red: #c90040;
  --color-secondary: #fbffb6;
  --color-black: #000;
  --color-white: #fff;
  --gutter: max(clamp(24px, -2.7605633803px + 7.1361502347vw, 100px), env(safe-area-inset-left), env(safe-area-inset-right));
  --fs-h1: clamp(36px, 27.5492957746px + 2.2535211268vw, 60px);
  --fs-h2: clamp(28px, 20.9577464789px + 1.8779342723vw, 48px);
  --fs-contact: clamp(28px, 16.7323943662px + 3.0046948357vw, 60px);
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../assets/fonts/plus_jakarta_sans/PlusJakartaSans-Variable.woff2") format("woff2"), url("../assets/fonts/plus_jakarta_sans/PlusJakartaSans-Variable.woff") format("woff");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Thermal VF";
  src: url("../assets/fonts/ThermalExtraLightDisplay/font.woff2") format("woff2"), url("../assets/fonts/ThermalExtraLightDisplay/font.woff") format("woff");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
html.js {
  scroll-behavior: auto;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #000;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

.page-home {
  background-color: #c90040;
}

img,
svg {
  display: block;
  max-width: 100%;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

.logo {
  display: block;
  width: clamp(48px, 43.0704225352px + 1.3145539906vw, 62px);
  height: auto;
  aspect-ratio: 78/64;
}
.logo svg {
  width: 100%;
  height: 100%;
}
.logo--white {
  color: #fff;
}

.site-logo {
  --split: 100%;
  position: absolute;
  top: 67px;
  left: var(--gutter);
  z-index: 10;
}
.js .site-logo {
  position: fixed;
}
@media (max-width: 900px) {
  .site-logo {
    top: 32px;
  }
}
.site-logo .site-logo__layer {
  position: absolute;
  inset: 0;
}
.site-logo__layer--dark {
  color: #000;
  clip-path: inset(0 0 calc(100% - var(--split)) 0);
}
.site-logo__layer--light {
  color: #fff;
  clip-path: inset(var(--split) 0 0 0);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  border-radius: 100px;
  background: #000;
  color: #fff;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.btn:hover, .btn:focus-visible {
  background: #c90040;
}
.btn--tag {
  cursor: default;
}
.btn--tag:hover {
  background: #000;
}

.hero {
  --hero-h: max(100lvh, 600px);
  position: sticky;
  top: 0;
  z-index: 0;
  height: 100vh;
  height: var(--hero-h);
  overflow: hidden;
  background: #fff;
}
@supports (animation-timeline: scroll()) {
  .hero {
    position: relative;
    animation: hero-pin linear both;
    animation-timeline: scroll(root block);
    animation-range: 0 var(--hero-h);
  }
}
.hero {
  --hero-col: clamp(220px, 21.12vw, 480px);
  --hero-gap: 16px;
  --hero-speed: 75s;
  --hero-bleed: min(5.84vw, 150px);
  --hero-images-visible: calc(2 * var(--hero-col) + var(--hero-gap) - var(--hero-bleed));
}
.hero__main {
  position: absolute;
  left: var(--gutter);
  bottom: 13vh;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  width: min(751px, 100vw - var(--gutter) - var(--hero-images-visible) - 48px);
}
.hero__title {
  margin: 0;
  font-family: "Thermal VF", "Georgia", "Times New Roman", serif;
  font-size: var(--fs-h1);
  font-weight: 200;
  line-height: 1.08;
  color: #c90040;
}
.hero__title-lead {
  display: block;
  color: #000;
}
.hero__images {
  position: absolute;
  top: 0;
  bottom: 0;
  right: calc(-1 * var(--hero-bleed));
  display: flex;
  gap: var(--hero-gap);
}
.hero__col {
  width: var(--hero-col);
}
.hero__track {
  display: flex;
  flex-direction: column;
  animation: hero-scroll-up var(--hero-speed, 40s) linear infinite;
  will-change: transform;
}
.hero__col--down .hero__track {
  animation-name: hero-scroll-down;
}
.hero__col--up .hero__track {
  animation-delay: calc(var(--hero-speed, 40s) * -0.1);
}
.hero__image {
  width: 100%;
  margin-bottom: 16px;
  border-radius: 10px;
  height: auto;
  object-fit: cover;
}
@media (max-width: 900px) {
  .hero {
    display: flex;
    flex-direction: column;
    --hero-row: clamp(190px, 32svh, 300px);
    --hero-cut: 0.22;
    min-height: 560px;
    padding: 32px 0 0;
  }
  .hero__images {
    position: static;
    flex-direction: column;
    order: 3;
    flex: none;
    margin-bottom: calc(var(--hero-row) * var(--hero-cut) * -1);
  }
  .hero__col {
    flex: none;
    width: auto;
    height: var(--hero-row);
  }
  .hero__col--down {
    display: none;
  }
  .hero__track {
    --hero-speed: 120s;
    flex-direction: row;
    align-items: flex-end;
    width: max-content;
    height: 100%;
    animation-name: hero-scroll-left;
  }
  .hero__image {
    width: auto;
    height: 100%;
    margin: 0 12px 0 0;
  }
  .hero__image--portrait {
    height: 100%;
  }
  .hero__image--square {
    height: 82%;
  }
  .hero__image--landscape {
    height: 66%;
  }
  .hero__main {
    display: contents;
  }
  .hero__title {
    order: 1;
    flex-shrink: 0;
    margin: auto var(--gutter) 0;
    font-size: clamp(30px, 4.6svh, 40px);
  }
  .hero__main .btn {
    order: 2;
    flex-shrink: 0;
    align-self: flex-start;
    margin: 24px 0 32px var(--gutter);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero__track {
    animation: none;
  }
}

@keyframes hero-scroll-up {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(0, -33.3333333333%, 0);
  }
}
@keyframes hero-scroll-left {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-33.3333333333%, 0, 0);
  }
}
@keyframes hero-scroll-right {
  from {
    transform: translate3d(-33.3333333333%, 0, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}
@keyframes hero-scroll-down {
  from {
    transform: translate3d(0, -33.3333333333%, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}
@keyframes hero-pin {
  from {
    translate: 0 0;
  }
  to {
    translate: 0 var(--hero-h);
  }
}
.about {
  position: relative;
  z-index: 1;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
}
.about::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #c90040;
}
.about__portrait {
  position: absolute;
  top: 131px;
  right: calc(50% - 676px);
  width: 348px;
  aspect-ratio: 348/490;
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
}
.about__portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 100px;
  width: min(1312px, 100% - 2 * var(--gutter));
  margin: 0 auto;
  padding-top: 538px;
}
.about__intro {
  width: 100%;
  max-width: 1086px;
  font-family: "Thermal VF", "Georgia", "Times New Roman", serif;
  font-size: var(--fs-h2);
  font-weight: 200;
  line-height: 1.1;
  hyphens: auto;
}
.about__intro p {
  max-width: 1000px;
}
@media (max-width: 1200px) {
  .about__portrait {
    right: var(--gutter);
    width: 260px;
  }
}
@media (max-width: 900px) {
  .about {
    --portrait-w: clamp(150px, 46vw, 220px);
    --portrait-overlap-lines: 1;
  }
  .about__portrait {
    position: relative;
    top: auto;
    right: auto;
    width: var(--portrait-w);
    margin: 160px var(--gutter) 0 auto;
  }
  .about__content {
    padding-top: 0;
    margin-top: calc(var(--fs-h2) * 1.1 * var(--portrait-overlap-lines) * -1);
    gap: 64px;
  }
}

.work {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 100px;
  width: 100%;
}
@media (max-width: 900px) {
  .work {
    gap: 64px;
  }
}

.clients {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
  max-width: 1086px;
  padding: 32px 0;
}
.clients__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px 32px;
}
.clients__logo {
  height: 64px;
  width: auto;
}
@media (max-width: 900px) {
  .clients {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 16px;
    justify-items: center;
    align-items: center;
  }
  .clients__row {
    display: contents;
  }
  .clients__logo {
    width: 100%;
    max-width: 200px;
    height: auto;
  }
}

.works {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
}
.works__group {
  display: grid;
  grid-template-columns: 750fr 272fr 182fr 12fr;
  grid-template-rows: auto auto auto;
  column-gap: 32px;
  row-gap: 32px;
}
.works__group[hidden] {
  display: none;
}
.works__group--mirror {
  direction: rtl;
}
.works__group--mirror > * {
  direction: ltr;
}
.works__item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
  isolation: isolate;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s ease, filter 0.5s ease;
}
.works__item--1 {
  grid-column: 1;
  grid-row: 1/4;
  align-self: center;
  aspect-ratio: 750/587;
}
.works__item--2 {
  grid-column: 2/5;
  grid-row: 1;
  aspect-ratio: 530/419;
}
.works__item--3 {
  grid-column: 2;
  grid-row: 2/4;
  aspect-ratio: 272/324;
}
.works__item--4 {
  grid-column: 3;
  grid-row: 2;
  align-self: start;
  aspect-ratio: 182/198;
}
.works__item.is-dimmed {
  opacity: 0.2;
  filter: grayscale(1);
}
.works__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (hover: hover) and (pointer: fine) {
  .works__item:not(.is-dimmed):hover {
    z-index: 1;
    transform: scale(1.04);
  }
}
@media (prefers-reduced-motion: reduce) {
  .works__item {
    transition: none;
  }
  .works__item:hover {
    transform: none;
  }
}
@media (max-width: 600px) {
  .works {
    gap: 16px;
  }
  .works__group {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .works__item--1 {
    grid-column: 1/3;
    grid-row: auto;
  }
  .works__item--2 {
    grid-column: 1/3;
    grid-row: auto;
  }
  .works__item--3 {
    grid-column: 1;
    grid-row: auto;
  }
  .works__item--4 {
    grid-column: 2;
    grid-row: auto;
    align-self: start;
  }
}

.tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tags button.btn--tag {
  border: 0;
  cursor: pointer;
}
.tags button.btn--tag:hover {
  background: #fff;
  color: #000;
}
.tags button.btn--tag:focus-visible {
  outline: 2px solid #fbffb6;
  outline-offset: 3px;
}
.tags button.btn--tag[aria-pressed=true] {
  background: #fbffb6;
  color: #000;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.quote {
  --quote-interval: 7000ms;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: 863px;
  text-align: center;
}
.quote__slides {
  display: grid;
  width: 100%;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.quote.is-dragging .quote__slides {
  cursor: grabbing;
}
.quote__slide {
  grid-area: 1/1;
  align-self: center;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(var(--drag-x, 0px), 16px, 0);
  transition: opacity 0.6s ease, transform 0.6s ease, visibility 0s linear 0.6s;
}
.quote__slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translate3d(var(--drag-x, 0px), 0, 0);
  transition-delay: 0.15s, 0.15s, 0s;
}
.quote.is-dragging .quote__slide.is-active {
  transition: none;
}
.quote__text {
  margin: 0;
  font-family: "Thermal VF", "Georgia", "Times New Roman", serif;
  font-size: var(--fs-h2);
  font-weight: 200;
  line-height: 1.1;
  color: #fbffb6;
}
.quote__author {
  margin-top: 16px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
  white-space: pre-wrap;
}
.quote__dots {
  display: flex;
  gap: 10px;
}
.quote__dot {
  position: relative;
  display: flex;
  align-items: center;
  height: 24px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.quote__dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 100px;
  background: #fff;
  transition: width 0.4s ease, background-color 0.4s ease;
}
.quote__dot:focus-visible {
  outline: 2px solid #fbffb6;
  outline-offset: 2px;
  border-radius: 4px;
}
.quote__dot.is-active::before {
  width: 40px;
  background: rgba(255, 255, 255, 0.4);
}
.quote__progress {
  position: absolute;
  top: 8px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 100px;
  background: #fff;
  opacity: 0;
}
.quote__dot.is-active .quote__progress {
  opacity: 1;
  animation: quote-progress var(--quote-interval) linear forwards;
}
.quote.is-paused .quote__progress {
  animation-play-state: paused;
}
.quote.is-static .quote__dot.is-active .quote__progress {
  animation: none;
  width: 40px;
}
@media (prefers-reduced-motion: reduce) {
  .quote__slide {
    transform: none;
    transition: none;
  }
  .quote__dot::before {
    transition: none;
  }
}

@keyframes quote-progress {
  from {
    width: 8px;
  }
  to {
    width: 40px;
  }
}
.footer {
  position: static;
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: min(1311px, 100% - 2 * var(--gutter));
  margin: 280px auto 0;
  padding-bottom: 40px;
}
.footer picture {
  display: contents;
}
.footer__mark {
  position: absolute;
  bottom: 0;
  right: calc((100% - min(1311px, 100% - 2 * var(--gutter))) / 2 - 70px);
  width: 1214px;
  max-width: none;
  height: auto;
  pointer-events: none;
}
.footer__contact {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 40px;
  font-family: "Thermal VF", "Georgia", "Times New Roman", serif;
  font-size: var(--fs-contact);
  font-weight: 200;
  line-height: 1.08;
}
.footer__contact a {
  text-decoration: none;
}
.footer__contact a:hover {
  color: #fbffb6;
}
.footer__line {
  position: relative;
  height: 1px;
  margin: 0;
  border: 0;
  background: #fff;
}
.footer__bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 40px;
  font-weight: 500;
}
.footer__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer__meta li + li::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-right: 12px;
  border-radius: 50%;
  background: currentColor;
  vertical-align: middle;
}
@media (max-width: 900px) {
  .footer {
    margin-top: 160px;
    padding-bottom: 0;
    gap: 32px;
  }
  .footer__mark {
    position: relative;
    bottom: auto;
    right: auto;
    order: 10;
    width: 100%;
    margin: 24px 0 var(--gutter);
  }
  .footer__contact {
    flex-direction: column;
    gap: 8px;
  }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .footer__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .footer__meta li + li::before {
    display: none;
  }
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
}
.footer__links a {
  text-decoration: none;
}
.footer__links a:hover, .footer__links a[aria-current=page] {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-header {
  padding: 67px var(--gutter) 0;
}

.legal {
  width: min(760px, 100% - 2 * var(--gutter));
  margin: 0 0 0 var(--gutter);
  padding: 160px 0 200px;
}
.legal__title {
  margin: 0 0 64px;
  font-family: "Thermal VF", "Georgia", "Times New Roman", serif;
  font-size: var(--fs-h1);
  font-weight: 200;
  line-height: 1.08;
  color: #c90040;
}
.legal__intro {
  margin-bottom: 48px;
  font-family: "Thermal VF", "Georgia", "Times New Roman", serif;
  font-size: clamp(22px, 19.8873239437px + 0.5633802817vw, 28px);
  font-weight: 200;
  line-height: 1.25;
}
.legal__content {
  font-size: 17px;
  line-height: 1.65;
}
.legal__content h2 {
  margin: 56px 0 16px;
  font-family: "Thermal VF", "Georgia", "Times New Roman", serif;
  font-size: clamp(26px, 23.1830985915px + 0.7511737089vw, 34px);
  font-weight: 200;
  line-height: 1.15;
}
.legal__content h3 {
  margin: 32px 0 8px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
}
.legal__content p,
.legal__content ul,
.legal__content address {
  margin: 0 0 16px;
}
.legal__content address {
  font-style: normal;
}
.legal__content ul {
  padding-left: 1.2em;
}
.legal__content li + li {
  margin-top: 4px;
}
.legal__content a {
  color: #c90040;
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.legal__content a:hover {
  color: #000;
}
.legal__content > :first-child {
  margin-top: 0;
}
@media (max-width: 900px) {
  .legal {
    padding: 96px 0 120px;
  }
}

.todo {
  padding: 0 4px;
  border-radius: 3px;
  background: #fbffb6;
  color: #000;
}

.site-footer {
  position: relative;
  z-index: 1;
  margin-top: -2px;
  overflow: hidden;
  padding-top: 240px;
  background: #c90040;
  color: #fff;
}
.site-footer .footer {
  margin-top: 0;
}
@media (max-width: 900px) {
  .site-footer {
    padding-top: 96px;
  }
}

.js [data-reveal]:not(.is-visible) {
  opacity: 0;
}

.js [data-reveal].is-visible {
  animation: reveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) backwards;
  animation-delay: calc(var(--reveal-i, 0) * 90ms);
}

@keyframes reveal {
  from {
    opacity: 0;
    translate: 0 40px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal]:not(.is-visible) {
    opacity: 1;
  }
  .js [data-reveal].is-visible {
    animation: none;
  }
}
html.has-drawer {
  overflow: hidden;
}

.drawer {
  --drawer-pad: clamp(24px, 9.9154929577px + 3.7558685446vw, 64px);
  --drawer-speed: 0.6s;
  position: fixed;
  inset: 0 0 0 auto;
  width: min(720px, 100vw);
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #000;
  overflow: visible;
}
.drawer::backdrop {
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity var(--drawer-speed) ease;
}
.drawer__panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border-left: 8px solid #c90040;
  box-shadow: -24px 0 60px rgba(0, 0, 0, 0.2);
  transform: translate3d(100%, 0, 0);
  transition: transform var(--drawer-speed) cubic-bezier(0.22, 1, 0.36, 1);
}
.drawer.is-open::backdrop {
  opacity: 1;
}
.drawer.is-open .drawer__panel {
  transform: none;
}
.drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px var(--drawer-pad);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.drawer__eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c90040;
}
.drawer__close {
  gap: 12px;
  border: 0;
  cursor: pointer;
}
.drawer__close svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.drawer__close:hover svg, .drawer__close:focus-visible svg {
  transform: rotate(90deg);
}
.drawer__close:focus-visible {
  outline: 2px solid #c90040;
  outline-offset: 3px;
}
.drawer__body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(32px, 23.5492957746px + 2.2535211268vw, 56px) var(--drawer-pad) clamp(48px, 31.0985915493px + 4.5070422535vw, 96px);
}
.drawer__title {
  margin: 0 0 32px;
  font-family: "Thermal VF", "Georgia", "Times New Roman", serif;
  font-size: var(--fs-h2);
  font-weight: 200;
  line-height: 1.08;
  color: #c90040;
}
.drawer .legal__intro {
  margin-bottom: 40px;
  font-size: clamp(20px, 18.5915492958px + 0.3755868545vw, 24px);
}
.drawer .legal__content {
  font-size: 16px;
}
.drawer .legal__content h2 {
  margin-top: 40px;
  font-size: clamp(22px, 19.8873239437px + 0.5633802817vw, 28px);
}
@media (prefers-reduced-motion: reduce) {
  .drawer {
    --drawer-speed: 0s;
  }
}
