@font-face {
  font-family: Bricolage;
  src: url("assets/bricolage-latin.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #faf7e8;
  --field: #607452;
  color: var(--ink);
  background: var(--field);
  font-family: "Helvetica Neue", Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body, h1, p { margin: 0; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px dashed currentColor; outline-offset: 5px; }
::selection { background: var(--ink); color: var(--field); }

.poster {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(1.2rem, 2.8vw, 3.5rem) clamp(1.35rem, 3.6vw, 5rem);
  display: grid;
  grid-template-rows: auto 1fr auto;
}
.poster::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .022;
  background: url("assets/paper.png") repeat;
  pointer-events: none;
}
.topline { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.monogram { font: 600 1.8rem/1 Bricolage, sans-serif; letter-spacing: -.03em; }
.contact, .baseline { font-size: clamp(.94rem, 1.15vw, 1.2rem); letter-spacing: -.025em; }
.contact { padding: .5rem 0; text-underline-offset: .35em; text-decoration-thickness: 1px; }
.contact:hover { text-decoration-thickness: 2px; }
.baseline { padding-top: 1.05rem; border-top: 1px solid #faf7e855; }
.stage { position: relative; min-height: 16rem; display: grid; align-items: center; container-type: inline-size; }
.signature { display: flex; align-items: baseline; justify-content: space-between; font: 600 20.5cqw/.85 Bricolage, sans-serif; letter-spacing: -.042em; font-variant-ligatures: none; }
.name { position: relative; text-decoration: none; }
.name::after {
  content: "";
  position: absolute;
  bottom: -.12em;
  left: .04em;
  right: 0;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}
.name:is(:hover,:focus-visible)::after { transform: scaleX(1); }
.and { position: absolute; height: 1px; width: 1px; overflow: hidden; clip-path: inset(50%); }
.sculpture {
  position: absolute;
  width: 42%;
  aspect-ratio: 1;
  top: 50%;
  left: 52%;
  transform: translate(-50%, -50%);
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}
.sculpture:enabled { cursor: grab; touch-action: pan-y; }
.sculpture:active:enabled { cursor: grabbing; }
.sculpture canvas, .still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.sculpture canvas { visibility: hidden; }
.sculpture.live canvas { visibility: visible; }
.sculpture.live .still { visibility: hidden; }
@media (max-aspect-ratio: 4/5) {
  .stage { min-height: 23rem; }
  .signature { flex-direction: column; font-size: min(42cqw, 23svh); line-height: .79; gap: min(24cqw, 13svh); }
  .finn { align-self: flex-end; }
  .sculpture { width: min(68%, 37svh); left: 51%; top: 51%; }
  .baseline { font-size: .95rem; }
}
@media (prefers-reduced-motion: reduce) {
  .name::after { transition: none; }
}
