:root {
  --black: #080907;
  --paper: #ecece5;
  --acid: #e9ff38;
  --line: rgba(236, 236, 229, 0.18);
  --mono: "IBM Plex Mono", monospace;
  --sans: Archivo, Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--black);
  color: var(--paper);
  font-family: var(--sans);
}
body:after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.94' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.catalog-header {
  height: 76px;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  font: 600 9px/1 var(--mono);
  text-transform: uppercase;
}
.catalog-header > a:last-child {
  justify-self: end;
  color: var(--acid);
  text-decoration: none;
}
.catalog-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}
.catalog-brand i {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  background: var(--acid);
  color: #080907;
  font: 800 18px/1 var(--sans);
  font-style: normal;
  transform: rotate(-8deg);
}
.catalog-hero {
  min-height: 72vh;
  padding: 11vh 5vw 7vh;
  display: grid;
  grid-template-columns: 0.35fr 1.25fr 0.55fr;
  gap: 50px;
  align-items: end;
  border-bottom: 1px solid var(--line);
}
.catalog-hero > p,
.catalog-hero-note span {
  font: 600 9px/1 var(--mono);
  color: var(--acid);
}
.catalog-hero h1 {
  margin: 0;
  font-size: clamp(75px, 10vw, 175px);
  line-height: 0.74;
  letter-spacing: -0.085em;
  text-transform: uppercase;
}
.catalog-hero-note p {
  margin: 24px 0 0;
  color: #aaa;
  font-size: 16px;
  line-height: 1.45;
}
.catalog-filters {
  position: sticky;
  top: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: var(--black);
  border-bottom: 1px solid var(--line);
}
.catalog-filters button {
  height: 64px;
  padding: 0 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: #aaa;
  font: 600 10px/1 var(--mono);
  text-transform: uppercase;
  cursor: pointer;
}
.catalog-filters button.is-active {
  background: var(--acid);
  color: #080907;
}
.catalog-case {
  min-height: 320px;
  padding: 28px 30px;
  display: grid;
  grid-template-columns: minmax(250px, 0.62fr) 1fr 0.75fr 100px;
  gap: 40px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  transition: background 0.25s;
}
.catalog-case:hover {
  background: #10120e;
}
.catalog-case[hidden] {
  display: none;
}
.case-title span,
.case-detail b,
.case-mark {
  font: 600 9px/1.3 var(--mono);
  color: var(--acid);
  text-transform: uppercase;
}
.case-title h2 {
  margin: 25px 0 0;
  font-size: clamp(34px, 4vw, 68px);
  line-height: 0.88;
  letter-spacing: -0.06em;
  font-weight: 600;
}
.case-detail p {
  max-width: 430px;
  margin: 0 0 30px;
  color: #aeb1a8;
  font-size: 15px;
  line-height: 1.45;
}
.case-mark {
  justify-self: end;
  writing-mode: vertical-rl;
}
.case-preview {
  height: 220px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #070806;
}
.case-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  filter: saturate(0.9) contrast(1.05);
}
.catalog-cta {
  min-height: 80vh;
  padding: 15vh 5vw 6vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--paper);
  color: #10110e;
}
.catalog-cta p {
  font: 600 10px/1 var(--mono);
  text-transform: uppercase;
}
.catalog-cta h2 {
  margin: 45px 0;
  font-size: clamp(68px, 9vw, 150px);
  line-height: 0.78;
  letter-spacing: -0.08em;
}
.catalog-cta a {
  align-self: flex-start;
  padding: 18px 22px;
  background: #10110e;
  color: var(--acid);
  text-decoration: none;
  font: 600 10px/1 var(--mono);
  text-transform: uppercase;
}
@media (max-width: 800px) {
  .catalog-header {
    height: 66px;
    padding: 0 18px;
    grid-template-columns: 1fr auto;
  }
  .catalog-header > span {
    display: none;
  }
  .catalog-hero {
    min-height: 680px;
    padding: 110px 22px 60px;
    display: block;
  }
  .catalog-hero h1 {
    margin: 70px 0;
    font-size: 17vw;
  }
  .catalog-filters {
    grid-template-columns: repeat(2, 1fr);
    position: relative;
  }
  .catalog-filters button {
    height: 52px;
  }
  .catalog-case {
    min-height: 430px;
    padding: 24px 22px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 25px;
  }
  .case-title h2 {
    font-size: 42px;
  }
  .case-detail {
    margin-top: auto;
  }
  .case-mark {
    position: absolute;
    right: 22px;
    writing-mode: horizontal-tb;
  }
  .case-preview {
    height: 180px;
  }
  .catalog-cta {
    min-height: 680px;
    padding: 100px 22px;
  }
  .catalog-cta h2 {
    font-size: 16vw;
  }
}

/* Public product stories are wide compositions, not screenshots to crop. */
.catalog-case.case-public {
  grid-template-columns: minmax(480px, 0.95fr) 0.7fr 0.65fr 72px;
}

.catalog-case.case-development {
  grid-template-columns: minmax(480px, 0.95fr) 0.7fr 0.65fr 72px;
}

.catalog-case.case-public .case-preview {
  height: auto;
  aspect-ratio: 20 / 9;
  background: #070806;
}

.catalog-case.case-development .case-preview {
  height: auto;
  aspect-ratio: 20 / 9;
  background: #f7f8fa;
}

.catalog-case.case-public .case-preview img {
  object-fit: contain;
  object-position: center;
}

.catalog-case.case-development .case-preview img {
  object-fit: contain;
  object-position: center;
}

@media (max-width: 1100px) {
  .catalog-case.case-public {
    grid-template-columns: minmax(390px, 0.9fr) 0.75fr 0.65fr 54px;
    gap: 26px;
  }
  .catalog-case.case-development {
    grid-template-columns: minmax(390px, 0.9fr) 0.75fr 0.65fr 54px;
    gap: 26px;
  }
}

@media (max-width: 800px) {
  .catalog-case.case-public {
    display: flex;
  }

  .catalog-case.case-development {
    display: flex;
  }

  .catalog-case.case-public .case-preview {
    width: 100%;
    aspect-ratio: 20 / 9;
  }

  .catalog-case.case-development .case-preview {
    width: 100%;
    aspect-ratio: 20 / 9;
  }
}

@font-face {
  font-family: "LucrumondPoppins";
  src: url("/assets/fonts/lucrumond-poppins-1.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

.catalog-wordmark {
  font-family: "LucrumondPoppins", Poppins, Arial, sans-serif;
  font-size: clamp(24px, 1.7vw, 35px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: none;
}

.catalog-wordmark span {
  font: inherit;
}

@media (max-width: 800px) {
  .catalog-wordmark {
    font-size: 25px;
  }
}
