@font-face {
  font-family: Unbounded;
  src: url('/assets/unbounded-900.ttf') format('truetype');
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #d9d4ce;
  --ink: #1a1a1a;
  --button: 64px;
  --button-gap: 20px;
}
* { box-sizing: border-box; }
html { min-width: 280px; min-height: 100%; background: var(--paper); }
body { margin: 0; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url('/assets/paper.webp') center / 780px auto repeat;
}
.contact {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: max(32px, env(safe-area-inset-top)) max(32px, env(safe-area-inset-right)) max(32px, env(safe-area-inset-bottom)) max(32px, env(safe-area-inset-left));
}
.identity { width: 100%; max-width: 520px; container-type: inline-size; }
h1 {
  font-family: Unbounded, system-ui, sans-serif;
  font-weight: 900;
  font-size: clamp(48px, 21cqw, 110px);
  line-height: 1.04;
  letter-spacing: -.04em;
  margin: 0;
}
h1 span { display: block; }
.channels {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--button-gap);
  margin-top: 32px;
}
.channel {
  appearance: none;
  display: grid;
  place-items: center;
  width: var(--button);
  height: var(--button);
  flex: 0 0 var(--button);
  padding: 16px;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: var(--ink);
  background: transparent;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: color 150ms ease, background-color 150ms ease, transform 130ms cubic-bezier(.23,1,.32,1);
}
.channel[href] { cursor: pointer; }
.channel:focus-visible { outline: 2px solid var(--ink); outline-offset: 6px; }
.channel[href]:active { transform: scale(.96); }
.icon { width: 100%; height: 100%; display: block; fill: currentColor; }
.icon-mail { fill: none; }
@media (hover: hover) and (pointer: fine) {
  .channel[href]:hover { background: var(--ink); color: var(--paper); }
}
@media (min-width: 800px) {
  :root { --button: 72px; --button-gap: 24px; }
  .channels { margin-top: 44px; }
  .channel { padding: 19px; }
}
@media (max-width: 340px) {
  :root { --button: 56px; --button-gap: 16px; }
  .contact { padding: 24px; }
  .channel { padding: 13px; }
  h1 { font-size: 20.5cqw; }
}
@media (prefers-reduced-motion: reduce) {
  .channel { transition: none; }
  .channel[href]:active { transform: none; }
}

@media (max-width: 300px) {
  :root { --button: 48px; --button-gap: 12px; }
  .channel { padding: 10px; }
}
