@font-face {
  font-family: Domaine;
  src: url("/assets/brand/domaine-display-narrow.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Apestron;
  src: url("/assets/brand/apestron.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: DM;
  src: url("/assets/brand/sans.ttf");
}
* {
  box-sizing: border-box;
}
html {
  background: #0e0e0e;
}
body {
  margin: 0;
  color: #f3f0eb;
  font-family: DM, Arial, sans-serif;
}
header {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 5vw;
  right: 5vw;
  height: 80px;
  display: flex;
  align-items: center;
}
.brand {
  display: flex;
  gap: 11px;
  align-items: baseline;
  letter-spacing: -1px;
}
.brand img {
  align-self: center;
  height: 28px;
  width: 19px;
  object-fit: contain;
}
main {
  min-height: 100svh;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 110px 8vw 60px;
}
.sculpture {
  position: absolute;
  width: min(65%, calc(92% - 320px));
  height: 100%;
  inset: 0 0 0 auto;
  object-fit: contain;
  z-index: -1;
}
section {
  width: 36%;
  min-width: 300px;
}
label,
.error {
  font-size: 12px;
}
h1 {
  font:
    400 clamp(90px, 10.5vw, 180px) / 0.81 Domaine,
    Georgia,
    serif;
  letter-spacing: -0.035em;
  margin: 0.26em 0 0.42em;
}
h1 em {
  font-weight: 400;
}
.field {
  display: flex;
  max-width: 310px;
}
.field input,
.field button {
  color: inherit;
  border: 0;
  background: none;
  font: inherit;
}
.field input {
  width: 100%;
  min-width: 0;
  padding: 11px 12px;
  background: #191919;
}
.field button {
  cursor: pointer;
  font-size: 24px;
  width: 50px;
  min-height: 44px;
}
.error {
  color: #ffbcb0;
}
input:focus-visible,
button:focus-visible {
  outline: 2px solid #fff;
}
@media (max-width: 680px), (pointer: coarse) and (max-height: 500px) and (max-width: 960px) {
  header {
    height: 65px;
    justify-content: center;
  }
  .sculpture {
    position: static;
    width: 100%;
    height: clamp(140px, calc(70svh - 225px), 480px);
  }
  main {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(12px, 3svh, 24px);
    padding: 65px 8vw max(24px, 4svh);
  }
  section {
    width: 100%;
    min-width: 0;
    text-align: center;
  }
  h1 {
    font-size: clamp(84px, 18vw, 120px);
    margin: 0 0 0.32em;
  }
  .field {
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin: 6px auto 0;
  }
  .field input {
    text-align: center;
  }
}

.brand-pair {
  display: flex;
  align-items: baseline;
  gap: 18px;
  font-size: 21px;
  white-space: nowrap;
}
.grayware {
  border-left: 1px solid #ffffff45;
  padding-left: 18px;
  font:
    400 1em/1 Apestron,
    Arial,
    sans-serif;
  letter-spacing: 0;
}
@media (max-width: 640px) {
  .brand-pair {
    gap: 12px;
  }
  .grayware {
    padding-left: 12px;
  }
}
