@font-face {
  font-family: "Bricolage";
  src: url(fonts/bricolage-latin.woff2) format("woff2");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
}
@property --p { syntax: "<number>"; inherits: true; initial-value: 0; }
@property --h { syntax: "<number>"; inherits: true; initial-value: 0; }
:root {
  --display: "Bricolage", var(--sans);
}
html {
  background: var(--charcoal);
  color-scheme: dark;
}
body {
  background: var(--charcoal);
  color: var(--gesso);
  font-family: var(--display);
  -webkit-tap-highlight-color: transparent;
}
::selection {
  background: var(--ultra);
  color: var(--gesso);
}
.bar-nav,
.bar-hold {
  font-family: var(--display);
}
@media (min-width: 561px) {
  .bar-home img {
    width: 140px;
  }
}
.scene {
  position: relative;
}
.stage {
  position: relative;
  display: grid;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  padding: calc(env(safe-area-inset-top, 0px) + 40px) var(--gutter) calc(env(safe-area-inset-bottom, 0px) + 28px);
}
.scene[data-scene=cloth] .stage {
  grid-template-rows: auto 1fr auto;
  padding-top: calc(env(safe-area-inset-top, 0px) + 96px);
}
.cv {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.no-js .cv {
  display: none;
}
.no-js .stage {
  height: auto;
  min-height: 100vh;
  min-height: 100svh;
}
.words {
  position: relative;
  z-index: 1;
  min-width: 0;
}
.open {
  grid-row: 1;
}
.open h1 {
  margin: 0;
  max-width: 11em;
  font: 640 clamp(2.5rem, min(1rem + 6.2vw, 9.5vh), 6rem)/.95 var(--display);
  font-stretch: 85%;
  letter-spacing: -.035em;
  font-kerning: none;
  text-wrap: balance;
}
.sub {
  margin: clamp(16px, 2vw, 24px) 0 0;
  max-width: 24em;
  font: 400 clamp(1.125rem, 1rem + .5vw, 1.375rem)/1.45 var(--display);
  color: var(--gesso-80);
  text-wrap: pretty;
}
.work {
  align-self: end;
  max-width: 30rem;
}
.scene[data-scene=cloth] .work {
  grid-row: 3;
}
.label {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  margin: 0 0 14px;
  font: 400 .8125rem/1.4 var(--mono);
  color: var(--gesso-64);
}
.work h2 {
  margin: 0;
  font: 600 clamp(2.125rem, min(1rem + 5.4vw, 8.5vh), 5rem)/1 var(--display);
  font-stretch: 85%;
  letter-spacing: -.035em;
  font-kerning: none;
  text-wrap: balance;
}
.work h2 a {
  display: inline-block;
  padding-block: 5px;
  margin-block: -5px;
  text-decoration: none;
}
.work h2 a:focus-visible,
.go:focus-visible {
  outline: 2px solid var(--gesso);
  outline-offset: 6px;
}
.line {
  margin: 14px 0 0;
  max-width: 26em;
  font: 400 clamp(1.0625rem, 1rem + .3vw, 1.25rem)/1.5 var(--display);
  color: var(--gesso-80);
  text-wrap: pretty;
}
.go {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin-top: 6px;
  font: 560 1.0625rem/1 var(--display);
  font-stretch: 92%;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}
.go + .go {
  margin-left: clamp(18px, 3vw, 32px);
}
.go:hover {
  text-decoration-thickness: 2px;
}
.ring {
  align-self: center;
  justify-self: center;
  max-width: 34rem;
  text-align: center;
}
.ring .label {
  justify-content: center;
}
.ring .line {
  margin-left: auto;
  margin-right: auto;
}
.scene[data-scene=loom] .stage {
  grid-template-rows: auto 1fr;
}
.scene[data-scene=loom] .work {
  align-self: start;
  max-width: 34rem;
}
.warps {
  position: relative;
  z-index: 0;
  min-height: 0;
  margin-top: clamp(28px, 5vh, 56px);
}
@media (min-width: 900px) {
  .scene[data-scene=cloth] .stage {
    grid-template-columns: minmax(0, 1fr) minmax(0, 30rem);
  }
  .open {
    grid-column: 1 / -1;
  }
  .scene[data-scene=cloth] .work {
    grid-column: 2;
  }
}
@media (max-height: 520px) and (orientation: landscape) {
  .scene[data-scene=cloth] .stage {
    padding-top: calc(env(safe-area-inset-top, 0px) + 64px);
  }
  .sub {
    display: none;
  }
}
.hl {
  --s: max(var(--p), var(--h));
  position: relative;
  z-index: 0;
  white-space: nowrap;
}
.hl > .ink {
  position: absolute;
  z-index: -1;
  left: -.12em;
  right: -.12em;
  top: .1em;
  bottom: -.02em;
  transform: scaleX(var(--s));
  transform-origin: 0 50%;
  pointer-events: none;
}
.hl > .ink svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.hl > .ink path {
  fill: var(--ultra);
}
.no-js .hl,
.still .hl {
  background: var(--ultra);
  color: var(--gesso);
  box-shadow: .12em 0 0 var(--ultra), -.12em 0 0 var(--ultra);
}
.still .hl > .ink {
  display: none;
}
@media (hover: hover) and (pointer: fine) {
  .work .hl {
    transition: --h .55s var(--ease);
  }
  .work h2 a:hover .hl,
  .work h2 a:focus-visible .hl,
  .work:has(.go:hover) .hl,
  .work:has(.go:focus-visible) .hl {
    --h: 1;
  }
}
.foot {
  position: relative;
  background: var(--gesso);
  color: var(--charcoal);
  font-family: var(--display);
}
.foot :focus-visible {
  outline-color: var(--charcoal);
}
.foot-slogan {
  position: relative;
  font: 600 clamp(2.5rem, 1rem + 6vw, 6rem)/1 var(--display);
  font-stretch: 88%;
  letter-spacing: -.035em;
  font-kerning: none;
}
.foot-mail {
  font-family: var(--display);
}
.thread {
  position: absolute;
  top: 0;
  left: var(--x, 50%);
  width: var(--tw, 3px);
  height: var(--th, 0);
  background: var(--ultra);
  transform: scaleY(var(--t, 1));
  transform-origin: 50% 0;
  pointer-events: none;
}
.no-js .thread,
.still .thread {
  display: none;
}
.foot .hl > .ink {
  top: 0;
  bottom: 0;
}
.foot .hl > .tx {
  padding: 0 .12em;
  margin: 0 -.12em;
  background: var(--ink, none) 0 0 / calc(var(--s) * 100%) 100% no-repeat var(--charcoal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.still .foot .hl > .tx {
  background: none;
  color: inherit;
  -webkit-text-fill-color: currentColor;
}
@media (prefers-reduced-motion: reduce) {
  .stage {
    height: auto;
    min-height: 100vh;
    min-height: 100svh;
  }
  .work .hl {
    transition: none;
  }
}
.work-end {
  margin: 0;
  padding: 18svh var(--gutter, 24px) 14svh;
  text-align: center;
  font: 500 clamp(1.5rem, 4.5vw, 2.5rem)/1.2 var(--sans);
}
.work-end a {
  display: inline-block;
  padding: 0 .3em;
  min-height: 44px;
  color: var(--gesso);
  text-decoration: none;
  background: linear-gradient(var(--ultra), var(--ultra)) center / 100% 1.25em no-repeat;
}
.work-end a:focus-visible {
  outline-color: var(--gesso);
}
