@font-face {
  font-display: swap;
  font-family: Graphik;
  font-style: normal;
  font-weight: 400;
  src: url(fonts/Graphik-Regular.woff2) format("woff2");
}
@font-face {
  font-display: swap;
  font-family: Graphik;
  font-style: normal;
  font-weight: 500;
  src: url(fonts/Graphik-Medium.woff2) format("woff2");
}
:root {
  --bg: #222;
  --text: #eee;
  --muted: #bbb;
  --faint: #888;
  --line: hsla(0, 0%, 100%, 0.1);
  --soft: #383838;
  --soft-hover: #4e4e4e;
  --green: #32bd64;
  --font: Graphik, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --type: 14px;
  --leading: 1.55;
  --column: 600px;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  background: var(--bg);
  scroll-behavior: smooth;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--type);
  line-height: var(--leading);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  appearance: none;
  background: none;
  border: 0;
  color: inherit;
  font: inherit;
}
img {
  display: block;
  max-width: 100%;
}
.app {
  display: block;
  min-height: 100vh;
}
main {
  min-width: 0;
  padding: 0 clamp(24px, 6vw, 72px);
  width: 100%;
}
.profile {
  margin: 0 auto;
  max-width: var(--column);
  padding: clamp(48px, 8vh, 72px) 0 96px;
  width: 100%;
}
.profile-header {
  align-items: center;
  display: flex;
  gap: 16px;
}
.avatar {
  background: var(--soft);
  border-radius: 50%;
  flex: 0 0 92px;
  height: 92px;
  overflow: hidden;
  width: 92px;
}
.avatar img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}
.avatar-initials {
  align-items: center;
  color: var(--text);
  display: flex;
  font-size: 24px;
  font-weight: 500;
  justify-content: center;
  letter-spacing: 0;
}
.identity {
  display: grid;
  min-width: 0;
}
.identity-name {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
h1 {
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.3;
}
.subtitle {
  color: var(--muted);
  column-gap: 8px;
  display: flex;
  flex-wrap: wrap;
  row-gap: 0;
  text-wrap: pretty;
}
.subtitle span + span::before {
  content: "·";
  margin-right: 8px;
}
.badge {
  align-items: center;
  background: var(--green);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 11px;
  font-weight: 500;
  height: 20px;
  padding: 0 8px;
  white-space: nowrap;
}
.tabs {
  display: flex;
  gap: 20px;
  margin: 36px 0 0;
}
.tab {
  color: var(--faint);
  cursor: pointer;
}
.tab[aria-selected="true"] {
  color: var(--text);
}
.tab:hover {
  color: var(--text);
}
.tab:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}
.tabpanel[hidden] {
  display: none;
}
section {
  margin: 56px 0;
}
section:first-child {
  margin-top: 36px;
}
section:last-child {
  margin-bottom: 0;
}
h2 {
  font-size: var(--type);
  font-weight: 400;
  letter-spacing: 0;
  line-height: var(--leading);
  margin-bottom: 20px;
}
p {
  color: var(--muted);
  text-wrap: pretty;
}
.about p + p,
.description p + p {
  margin-top: 14px;
}
.entry {
  display: flex;
  margin: 32px 0;
}
h2 + .entry,
.contact-row:first-of-type {
  margin-top: 24px;
}
.date,
.label {
  color: var(--faint);
  flex: 0 0 96px;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
  margin-right: 36px;
  text-align: right;
  white-space: nowrap;
  width: 96px;
}
.entry-body,
.contact-value {
  color: var(--muted);
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
.title {
  color: var(--text);
}
.title span {
  color: var(--muted);
}
.contact-value a:hover {
  color: var(--text);
}
.place {
  color: var(--faint);
  margin-top: 1px;
}
.description {
  margin-top: 8px;
}
.gallery {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 28px;
  gap: 8px;
  margin-top: 14px;
  max-width: 100%;
}
.gallery-track {
  display: flex;
  gap: 8px;
  grid-column: 1/-1;
  grid-row: 1;
  min-height: 90px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 0 36px 2px;
  scroll-behavior: smooth;
  scroll-padding: 36px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}
.gallery-track::-webkit-scrollbar {
  display: none;
}
.gallery[data-scrollable="false"] .gallery-track {
  padding: 0;
  scroll-padding: 0;
}
.gallery-button {
  align-self: center;
  background: var(--soft);
  border-radius: 50%;
  box-shadow:
    0 0 0 1px var(--line),
    0 2px 8px #00000066;
  color: var(--muted);
  cursor: pointer;
  display: grid;
  grid-row: 1;
  height: 28px;
  place-items: center;
  position: relative;
  width: 28px;
  z-index: 1;
}
.gallery-button[hidden] {
  display: none;
}
.gallery-button:hover {
  color: var(--text);
}
.gallery-button:disabled {
  cursor: default;
  opacity: 0.28;
}
.gallery-button:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}
.gallery-button svg {
  height: 16px;
  width: 16px;
}
.gallery-button.prev {
  grid-column: 1;
  justify-self: start;
  margin-right: -36px;
}
.gallery-button.next {
  grid-column: 3;
  justify-self: end;
  margin-left: -36px;
}
.media-item {
  background: linear-gradient(135deg, var(--soft), var(--soft-hover));
  border-radius: 4px;
  display: block;
  flex: 0 0 auto;
  height: 90px;
  overflow: hidden;
  scroll-snap-align: start;
  width: var(--media-width, 128px);
}
.media-item img,
.media-item video {
  height: 100%;
  object-fit: cover;
  width: 100%;
}
.media-item:focus {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}
.writing-list .entry {
  margin: 36px 0;
}
.writing-card {
  display: flex;
  gap: 16px;
}
.writing-thumb {
  background: var(--soft);
  border-radius: 4px;
  flex: 0 0 116px;
  height: 84px;
  overflow: hidden;
}
.writing-thumb img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}
.writing-copy {
  min-width: 0;
}
.writing-copy p {
  margin-top: 8px;
}
.contact-row {
  display: flex;
  margin: 16px 0;
}
.external {
  display: inline-block;
  height: 12px;
  margin-left: 2px;
  vertical-align: -1px;
  width: 12px;
}
.external path {
  fill: var(--faint);
}
@media (width<=900px) {
  main {
    padding: 0 clamp(24px, 9vw, 72px);
  }
  .profile {
    padding-top: 48px;
  }
}
@media (width<=700px) {
  main {
    padding: 0 24px;
  }
  .profile {
    padding: 24px 0 96px;
  }
  .tabs {
    margin-top: 30px;
  }
  .entry,
  .contact-row {
    flex-direction: column;
  }
  .date,
  .label {
    flex-basis: auto;
    margin-right: 0;
    text-align: left;
    width: auto;
  }
  .writing-card {
    display: block;
  }
  .writing-thumb {
    height: 118px;
    margin-bottom: 12px;
    width: 100%;
  }
}
@media (width<=520px) {
  main {
    padding: 0 24px;
  }
  .profile-header {
    align-items: flex-start;
    gap: 16px;
  }
  .avatar {
    flex-basis: 84px;
    height: 84px;
    width: 84px;
  }
  .identity-name {
    gap: 6px;
  }
  .subtitle {
    display: block;
    line-height: 1.45;
  }
  .subtitle span {
    display: block;
  }
  .subtitle span + span::before {
    content: "";
    margin-right: 0;
  }
  section {
    margin: 52px 0;
  }
  .entry {
    margin: 28px 0;
  }
}
@media (width<=380px) {
  main {
    padding: 0 16px;
  }
  .avatar {
    flex-basis: 76px;
    height: 76px;
    width: 76px;
  }
  h1 {
    font-size: 18px;
  }
  .badge {
    height: 18px;
    padding: 0 7px;
  }
}
@media (width<=340px) {
  .profile-header {
    gap: 14px;
  }
  .avatar {
    flex-basis: 68px;
    height: 68px;
    width: 68px;
  }
  .avatar-initials {
    font-size: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html,
  .gallery-track {
    scroll-behavior: auto;
  }
}
