@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-tight-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-tight-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root,
[data-theme="light"] {
  --bg: #ffffff;
  --text: #111111;
  --muted: #5c5c5c;
  --line: #111111;
  --line-soft: #d8d8d8;
  --fill-contact: #f4ed9e;
  --fill-pending: #f7f1c4;
  --tag-creator: #fff1a8;
  --tag-dev: #cfe8ff;
  --tag-cofounder: #c8f2d6;
  --tag-research: #e4d6ff;
  --tag-founder: #ffd8c8;
  --focus: #111111;
  --back: #111111;
  --back-icon: #ffffff;
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #111111;
  --text: #f2f2f2;
  --muted: #b4b4b4;
  --line: #f2f2f2;
  --line-soft: #3a3a3a;
  --fill-contact: #4a4520;
  --fill-pending: #3a3620;
  --tag-creator: #5a4e18;
  --tag-dev: #1e3a52;
  --tag-cofounder: #1e4a32;
  --tag-research: #3a2a52;
  --tag-founder: #4a2a22;
  --focus: #f2f2f2;
  --back: #f2f2f2;
  --back-icon: #111111;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16.5px;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 20;
  padding: 0.4rem 0.75rem;
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  transform: translateY(-160%);
}

.skip:focus {
  transform: none;
}

.wrap {
  width: min(700px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 96px;
}

.toolbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.lang {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.lang svg {
  width: 15px;
  height: 15px;
}

.lang a[aria-current="page"] {
  font-weight: 700;
}

.lang a:not([aria-current="page"]) {
  color: var(--muted);
}

.lang a:not([aria-current="page"]):hover {
  color: var(--text);
}

.sep {
  color: var(--muted);
}

.theme {
  display: inline-flex;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.theme button {
  appearance: none;
  margin: 0;
  padding: 6px 8px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  line-height: 0;
}

.theme button[aria-pressed="true"] {
  background: var(--text);
  color: var(--bg);
}

.theme button svg {
  width: 14px;
  height: 14px;
}

.masthead {
  margin: 0 0 22px;
  font-size: clamp(2.15rem, 7.2vw, 3.15rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.copy {
  font-weight: 700;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}

.pills-cats {
  margin-bottom: 28px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
}

.pill svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.pill-fill {
  background: var(--fill-contact);
}

.pill-pending {
  background: var(--fill-pending);
  border-style: dashed;
  color: var(--muted);
  cursor: default;
}

.pill-outline:hover {
  background: var(--text);
  color: var(--bg);
}

.bio {
  margin: 0 0 56px;
  max-width: 40rem;
}

.section-title {
  margin: 0 0 36px;
  font-size: clamp(3rem, 11vw, 4.55rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.9;
}

.category {
  margin-bottom: 56px;
}

.category-title {
  margin: 0 0 28px;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.project {
  margin-bottom: 48px;
}

.project-num {
  margin: 0 0 8px;
  font-size: clamp(2.5rem, 8vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.project-name {
  margin: 0 0 10px;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.rows {
  margin: 0;
}

.row {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 16px;
  margin: 0;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}

.row:last-child {
  border-bottom: 1px solid var(--line);
}

.row dt {
  margin: 0;
  color: var(--muted);
  font-weight: 400;
}

.row dd {
  margin: 0;
}

.row a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  display: inline-flex;
  padding: 3px 11px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
}

.tag-creator {
  background: var(--tag-creator);
}

.tag-dev {
  background: var(--tag-dev);
}

.tag-cofounder {
  background: var(--tag-cofounder);
}

.tag-research {
  background: var(--tag-research);
}

.tag-founder {
  background: var(--tag-founder);
}

.pending {
  color: var(--muted);
  font-style: italic;
}

.cta {
  margin-top: 14px;
}

.jobs {
  list-style: none;
  margin: 0;
  padding: 0;
}

.jobs li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.jobs li:last-child {
  border-bottom: 1px solid var(--line);
}

.job-title {
  font-weight: 600;
}

.job-meta {
  color: var(--muted);
  font-size: 15px;
}

.site-foot {
  margin-top: 64px;
  color: var(--muted);
  font-size: 14.5px;
}

.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 10;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: var(--back);
  color: var(--back-icon);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.to-top svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 560px) {
  .wrap {
    width: min(100%, calc(100% - 32px));
  }

  .row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .to-top {
    right: 14px;
    bottom: 14px;
  }
}
