@font-face {
  font-family: "Barlow Condensed";
  src: url("/assets/BarlowCondensed-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #111110;
  --paper: #edeae3;
  --muted: #b4b0aa;
  --line: #46443f;
  --oxblood: #8d3837;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --gutter: clamp(1.25rem, 6.4vw, 7.5rem);
}

* { box-sizing: border-box; }
html { background-color: var(--ink); }
body {
  margin: 0;
  background-color: var(--ink);
  color: var(--paper);
  font: 1rem/1.55 Arial, Helvetica, sans-serif;
  isolation: isolate;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: url("/assets/grain.png") repeat;
  mix-blend-mode: soft-light;
  opacity: .34;
  pointer-events: none;
}
a { color: inherit; }
img { display: block; }
a:focus-visible, nav:focus-visible { outline: 2px solid var(--paper); outline-offset: 4px; }
.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip:focus {
  position: fixed;
  z-index: 2;
  top: .75rem;
  left: .75rem;
  padding: .6rem 1rem;
  color: var(--ink);
  background: var(--paper);
}

.page {
  display: flex;
  flex-direction: column;
  width: min(100%, 116rem);
  min-height: 100vh;
  min-height: 100svh;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.composition {
  flex: 1 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  grid-template-rows: auto auto;
  align-content: center;
  column-gap: clamp(1.5rem, 3.9vw, 5rem);
  row-gap: clamp(1.8rem, 4.8svh, 3.8rem);
  padding-block: clamp(2rem, 6svh, 5rem) clamp(3rem, 6svh, 5rem);
}
.identity { grid-area: 1 / 1; align-self: end; }
.identity img { width: clamp(6.25rem, 9.1vw, 9.3rem); height: auto; }
.message { grid-area: 2 / 1; align-self: start; min-width: 0; }
h1 {
  margin: 0 0 0 -.043em;
  color: var(--paper);
  font: 600 clamp(4rem, 9.55vw, 10.8rem)/.83 var(--display);
  letter-spacing: -.038em;
  text-transform: uppercase;
}
h1 > span { display: block; white-space: nowrap; }
h1 > span + span { margin-top: .035em; }
.period { color: var(--oxblood); }
.message p {
  margin: clamp(1.5rem, 3.4svh, 2.2rem) 0 1rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.15vw, 1.17rem);
  line-height: 1.42;
}
.channels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .56rem;
  max-width: 34.5rem;
  scroll-margin-top: 1.5rem;
}
.channels a {
  display: flex;
  align-items: center;
  gap: clamp(.55rem, .72vw, .9rem);
  min-height: 3.22rem;
  padding: .58rem clamp(.7rem, 1.1vw, 1.25rem);
  border: 1px solid var(--line);
  background-color: rgba(24, 24, 22, .56);
  text-decoration: none;
  font: 600 clamp(1.06rem, 1.28vw, 1.3rem)/1.1 var(--display);
  white-space: nowrap;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.channels img {
  flex-shrink: 0;
  width: 1.19rem;
  height: 1.19rem;
  object-fit: contain;
  filter: invert(1);
}
.channels a:focus-visible, .channels a:active { background-color: #342221; border-color: #a05a56; }
@media (hover: hover) {
  .channels a:hover { background-color: #30211f; border-color: #9c5450; color: #fff; }
}

.art {
  position: relative;
  grid-area: 1 / 2 / 3 / 3;
  align-self: center;
  width: 100%;
  height: clamp(25rem, min(77svh, 55vw), 51rem);
  margin: 0;
}
.pigment {
  position: absolute;
  top: 49%;
  left: 48.2%;
  width: min(94%, 56svh, 36rem);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  overflow: hidden;
  background: var(--oxblood) url("/assets/cinder.webp") 50% 48% / cover;
  background-blend-mode: soft-light;
}
.pigment::before, .pigment::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.pigment::before {
  background-image: radial-gradient(#120c0b .7px, transparent 1px);
  background-size: 3px 3px;
  opacity: .46;
}
.pigment::after { background: url("/assets/grain.png") repeat; mix-blend-mode: overlay; opacity: .7; }
.glass, .sand-matte {
  position: absolute;
  top: 50%;
  left: 58%;
  height: 100%;
  aspect-ratio: 9 / 16;
  transform: translate(-50%, -50%);
}
/* Sand blocks the printed background. The clear glass transmits it. */
.sand-matte::before, .sand-matte::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 14, 13, .9);
}
.sand-matte::before {
  clip-path: polygon(24.7% 39.1%, 31% 38.5%, 36% 38.3%, 52% 38.5%, 63% 38.7%, 71.6% 39.1%,
    69.8% 40.2%, 64.6% 42%, 60.5% 44%, 56% 46%, 51% 48.2%, 48.3% 49%, 45.2% 47.9%,
    41.6% 46%, 36.5% 44%, 31.4% 42%, 27% 40%);
}
.sand-matte::after {
  clip-path: polygon(24.2% 83.5%, 28% 81.5%, 36% 79.4%, 40% 78.3%, 44% 77.1%, 46% 76.6%,
    48% 76.6%, 50% 76.8%, 54% 77.9%, 58% 79.2%, 64% 81%, 71.7% 83.1%, 71.4% 96.5%,
    67% 97.6%, 52% 98.1%, 38% 98.1%, 28% 97.7%, 24.3% 96.8%);
}
.glass {
  mix-blend-mode: screen;
  clip-path: polygon(0 0, 100% 0, 100% 94%, 75% 94%, 74% 96.9%, 72% 97.6%, 68% 98.1%,
    61% 98.6%, 50% 98.9%, 38% 98.8%, 28% 98.4%, 23% 97.6%, 21% 96.8%, 21% 94%, 0 94%);
}
.glass img, .glass video {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
/* The moving crop occupies pixels (288,656) through (408,1016) of the still. */
.glass video {
  inset: 51.25% auto auto 40%;
  width: 16.666667%;
  height: 28.125%;
  opacity: 0;
}
.glass video.playing { opacity: 1; }
.sand-control {
  position: absolute;
  right: 0;
  bottom: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--paper);
  background: var(--ink);
  cursor: pointer;
  opacity: 0;
}
.sand-control[hidden] { display: none; }
.art:hover .sand-control, .sand-control:focus-visible { opacity: 1; }
.sand-control:focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; }
.sand-control span { width: 10px; height: 12px; border-inline: 3px solid currentColor; }
.sand-control[data-paused] span { width: 0; height: 0; border: 6px solid transparent; border-left: 9px solid currentColor; border-right: 0; }
.colophon {
  display: flex;
  align-items: center;
  min-height: clamp(4.2rem, 9svh, 6.5rem);
  padding-block: .45rem;
  border-top: 1px solid #383631;
  color: var(--muted);
}
.colophon small { font-size: .8125rem; }
/* The art proof retains the exact page geometry at every viewport size. */
body:target .ink { visibility: hidden; }

@media (min-width: 48rem) and (max-width: 64rem) {
  .channels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .art { height: clamp(25rem, 52vw, 37rem); }
}
@media (min-width: 48rem) and (max-height: 42rem) {
  .identity img { width: clamp(4.6rem, 7.2vw, 6.2rem); }
  .composition { row-gap: 1.55rem; padding-block: 1.75rem 2rem; }
  .art { height: clamp(23rem, 78svh, 32rem); }
  h1 { font-size: clamp(4rem, 8.5vw, 8rem); }
  .message p { margin-top: 1.2rem; }
}
@media (max-width: 47.99rem) {
  :root { --gutter: clamp(1.2rem, 6vw, 2.65rem); }
  .page { max-width: 42rem; }
  .composition {
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    grid-template-rows: auto auto;
    align-content: center;
    gap: 1.15rem .3rem;
    padding-block: clamp(1.3rem, 4.1svh, 2.7rem) clamp(2rem, 5.5svh, 3.4rem);
  }
  .identity { align-self: center; }
  .identity img { width: clamp(6rem, 27vw, 8.6rem); }
  .art { grid-area: 1 / 2; height: clamp(11.5rem, 46.5vw, 16.8rem); }
  .pigment { left: 48%; top: 50%; width: min(87%, 35.5vw, 12.3rem); }
  .glass, .sand-matte { left: 58%; }
  .message { grid-area: 2 / 1 / 3 / 3; }
  h1 { font-size: clamp(3.65rem, 19.6vw, 7.3rem); }
  .message p { margin-block: 1.4rem .9rem; }
  .channels { max-width: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
  .channels a { min-height: 3.15rem; gap: .72rem; padding-inline: clamp(.8rem, 4vw, 1.3rem); font-size: 1.125rem; }
  .colophon { min-height: 4.15rem; }
}
@media (max-width: 21rem) {
  .colophon small { font-size: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
