@font-face {
  font-family: "Haas Grot Display Web";
  src: url("assets/NeueHaasGroteskDisplay-55Roman-Web.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Haas Grot Display Web";
  src: url("assets/NeueHaasGroteskDisplay-65Medium-Web.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --page-background: rgb(192 181 163);
  --page-ink: #171714;
  --side-space: clamp(1.25rem, 5vw, 5rem);
  --grid-gap: clamp(.75rem, 1.35vw, 1.4rem);
  /* Keep the desktop body copy at this size unless explicitly changed. */
  --copy-size: 1.5rem;
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  background: var(--page-background);
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  color: var(--page-ink);
  font-family: "Haas Grot Display Web", Arial, Helvetica, sans-serif;
  font-weight: 500;
}

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

.background-field {
  position: fixed;
  z-index: -1;
  inset: 0;
  background: var(--page-background);
  transform: translateZ(0);
  will-change: background-color;
}

.holding-page {
  min-height: 100svh;
  padding: clamp(2rem, 5vh, 4.5rem) var(--side-space) 5.5rem;
  transition: color .42s ease;
}

.masthead {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  column-gap: var(--grid-gap);
}

.brand-mark {
  position: fixed;
  z-index: 3;
  top: clamp(2rem, 5vh, 4.5rem);
  left: var(--side-space);
  display: flex;
  align-items: center;
  width: 28.295rem;
  max-width: 100%;
  gap: 0;
  line-height: 0;
  filter: invert(1);
  mix-blend-mode: difference;
}

.brand-part {
  display: block;
  flex: none;
  height: auto;
  margin: 0;
  padding: 0;
  opacity: 0;
  transition: opacity .55s ease;
}

.brand-part.is-visible { opacity: 1; }

.brand-part--as { width: 15.0223%; }
.brand-part--hyphen { width: 6.1161%; }
.brand-part--made { width: 35.1786%; }
.brand-part--studio { width: 43.683%; }

.copy-block {
  font-size: var(--copy-size);
  font-weight: 500;
  line-height: 1.34;
  letter-spacing: .01em;
}

.copy-block {
  width: min(60%, 52rem);
  margin-top: clamp(9rem, 40vh, 28rem);
  margin-left: var(--side-space);
  text-wrap: pretty;
  hyphens: none;
  opacity: 0;
  transition: opacity 1s ease;
}

body.is-copy-visible .copy-block { opacity: 1; }

.copy-block p { margin: 0 0 1.05em; }
.copy-block p:last-child { margin-bottom: 0; }

@media (max-width: 760px) {
  .holding-page {
    min-height: 100svh;
    padding: 1.5rem 1.25rem 5.25rem;
  }

  .masthead { display: block; }

  .brand-mark {
    top: 1.5rem;
    left: 50%;
    width: min(calc(100% - 2.5rem), 23.579rem);
    transform: translateX(-50%);
  }

  .copy-block {
    width: 100%;
    margin-top: clamp(8rem, 36vh, 17rem);
    margin-left: 0;
    font-size: 1.2rem;
    line-height: 1.36;
  }

}

@media (prefers-reduced-motion: reduce) {
  .holding-page,
  .brand-part,
  .copy-block { transition: none; }
}
