@font-face {
  font-family: "Bodoni Moda";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/bodoni-moda-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Bodoni Moda";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/bodoni-moda-italic-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("assets/fonts/manrope-latin.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --ink: #080809;
  --paper: #f5f2eb;
  --edge: rgb(245 242 235 / 23%);
  --gutter: clamp(1.5rem, 5.5vw, 8rem);
  --serif: "Bodoni Moda", "Times New Roman", serif;
  --sans: "Manrope", Arial, sans-serif;
  font-family: var(--sans);
  font-synthesis: none;
  background: var(--ink);
  color: var(--paper);
}

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

body {
  margin: 0;
  min-width: 20rem;
}

body:has(.collective[open]) {
  overflow: hidden;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

button,
.collective-trigger {
  cursor: pointer;
}

.site-footer .analytics-settings {
  margin-right: auto;
  font-size: .75rem;
}

:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 7px;
}

::selection {
  background: var(--paper);
  color: var(--ink);
}

.landing {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 44.375rem;
  min-height: max(44.375rem, 100svh);
  overflow: hidden;
}

.artwork {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
}

.artwork img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% center;
}

.artwork::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(8 8 9 / 88%), rgb(8 8 9 / 37%) 35%, transparent 70%),
    linear-gradient(0deg, rgb(8 8 9 / 64%), transparent 40%);
}

.site-header {
  display: flex;
  align-items: center;
  min-height: 6.125rem;
  padding: 1.75rem var(--gutter);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 1.1rem;
  min-height: 2.75rem;
}

.brand-mark {
  display: block;
  width: 1.57rem;
  height: 2.205rem;
  fill: currentColor;
  flex: none;
}

.wordmark {
  font-size: .9375rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .25em;
}

.hero {
  display: flex;
  align-items: center;
  flex: 1;
  padding: 3.5rem var(--gutter) 5.75rem;
}

h1 {
  margin: 0;
  max-width: 61%;
  font-family: var(--serif);
  font-size: clamp(4.125rem, 11.3vw, 7.25rem);
  font-weight: 400;
  line-height: .99;
  letter-spacing: -.055em;
}

h1 em {
  font-style: italic;
  font-weight: 400;
}

.site-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1.25rem;
  margin-inline: var(--gutter);
  min-height: 5.6875rem;
  padding-block: 1.1rem 1.4rem;
  border-top: 1px solid var(--edge);
}

.collective-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.05rem;
  min-height: 2.75rem;
  padding: .6rem 0 .6rem .5rem;
  font-size: .875rem;
  font-weight: 400;
  letter-spacing: .025em;
  line-height: 1.5;
}

.plus {
  position: relative;
  display: inline-block;
  width: 1rem;
  height: 1rem;
  flex: none;
}

.plus::before,
.plus::after {
  content: "";
  position: absolute;
  background: currentColor;
}

.plus::before {
  inset: calc(50% - .5px) 1px auto;
  height: 1px;
}

.plus::after {
  inset: 1px auto 1px calc(50% - .5px);
  width: 1px;
}

.collective {
  width: 100%;
  max-width: none;
  max-height: 80vh;
  max-height: 80dvh;
  margin: auto 0 0;
  padding: 1.6rem var(--gutter) 2.1rem;
  overflow-y: auto;
  border: 0;
  border-top: 1px solid #4b4b46;
  background: #131414;
  color: var(--paper);
}

.collective::backdrop {
  background: rgb(0 0 0 / 35%);
}

.collective-inner {
  max-width: 100rem;
  margin-inline: auto;
}

.collective-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.collective-header h2 {
  margin: 0;
  font-size: .8125rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.collective-close {
  min-height: 2.75rem;
  padding: .6rem 0 .6rem 1rem;
  border: 0;
  background: transparent;
  font-size: .875rem;
}

.brand-list {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 3.125rem;
  margin: 1.4rem 0 .25rem;
  padding: 0;
  list-style: none;
  font-family: var(--serif);
  font-size: 2.25rem;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -.02em;
}

.brand-list a {
  display: inline-block;
  min-height: 2.75rem;
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
}

.brand-list a:focus-visible {
  text-decoration-line: underline;
}

@media (hover: hover) {
  .collective-trigger:hover,
  .collective-close:hover {
    opacity: .7;
  }

  .brand-list a:hover {
    text-decoration-line: underline;
  }
}

@media (min-aspect-ratio: 2/1) and (min-width: 64rem) {
  .artwork img {
    position: absolute;
    right: 0;
    width: auto;
    max-width: none;
    /* Fade from the image's own edge, wherever it falls in the viewport. */
    mask-image: linear-gradient(to right, transparent, #000 24%);
  }
}

@media (max-width: 37.5rem) {
  :root {
    --gutter: 6vw;
  }

  .landing {
    min-height: max(40rem, 100svh);
  }

  .site-header {
    padding-block: 1.625rem;
    min-height: 5.6875rem;
  }

  .brand {
    gap: .7rem;
  }

  .wordmark {
    font-size: .8125rem;
    letter-spacing: .19em;
  }

  .artwork img {
    object-position: 78% center;
  }

  .artwork::after {
    background:
      linear-gradient(90deg, rgb(8 8 9 / 75%), rgb(8 8 9 / 35%) 80%),
      linear-gradient(0deg, rgb(8 8 9 / 80%), transparent 45%);
  }

  .hero {
    align-items: flex-start;
    padding-top: clamp(5rem, 13.65svh, 8rem);
    padding-bottom: 2rem;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(3.6875rem, 14.7vw, 5.5rem);
  }

  .site-footer {
    padding-block: 1.1rem 1.3rem;
  }

  .collective-trigger {
    gap: .7rem;
  }

  .brand-list {
    gap: .75rem 1.875rem;
    font-size: 1.875rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .collective-trigger,
  .collective-close {
    transition: opacity 160ms ease;
  }

  .collective[open] {
    animation: reveal-collective 240ms cubic-bezier(.2, .8, .2, 1);
  }

  @keyframes reveal-collective {
    from { transform: translateY(1rem); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
  }
}
