*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

:root {
  --foreground-rgb: 255, 255, 255;
  --background-start-rgb: 0, 0, 0;
  --background-end-rgb: 0, 0, 0;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
          "Liberation Mono", "Courier New", monospace;
}

body {
  color: rgb(var(--foreground-rgb));
  background:
    linear-gradient(to bottom, transparent, rgb(var(--background-end-rgb)))
    rgb(var(--background-start-rgb));
  min-height: 100vh;
}

.page {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  align-items: center;
  padding: 3rem;
  gap: 5rem;
}

.hero {
  width: 100%;
  max-width: 64rem;
  display: flex;
  justify-content: space-evenly;
  padding-bottom: 0.5rem;
}
.hero img { height: auto; max-width: 100%; }

.shatter {
  position: relative;
  display: block;
  width: 600px;
  height: 264px;
  max-width: 100%;
  line-height: 0;
}

.shatter .sr-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
}

.shatter .shard {
  position: absolute;
  inset: 0;
  background-image: url("/aokiji-ascii.png");
  background-repeat: no-repeat;
  background-position: 0 0;
  transform: translate(0, 0) rotate(0);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease;
  will-change: transform, opacity;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .shatter .shard { transition: none; }
}

.bio {
  display: flex;
  flex-direction: column;
  font-family: var(--mono);
  font-size: 1.25rem;
  line-height: 1.75rem;
}
.bio h1 { font-size: inherit; font-weight: inherit; margin: 0; }

a.ostium  { color: #fe5919; text-decoration: none; }
a.twitter { color: #add8e6; text-decoration: none; }
a.ostium:hover, a.twitter:hover { text-decoration: underline; }

.socials { display: flex; gap: 0.5rem; padding-top: 0.5rem; }
.socials a { color: #add8e6; display: inline-flex; align-items: center; }
