:root {
  color-scheme: light;
  --background: #f4f3ef;
  --ink: #262521;
  --muted: #6d6a63;
  --line: #deddd8;
  --accent: #262521;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--background);
  line-height: 1.6;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.home-page {
  min-height: 100vh;
  min-height: 100svh;
  background: var(--background);
}

.profile-page {
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  padding: clamp(48px, 8vh, 96px) 24px;
}

.profile {
  width: min(100%, 520px);
  transform: translateY(-1.5vh);
}

.profile-name,
.profile-bio {
  color: var(--ink);
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  font-size: 1rem;
  letter-spacing: -0.008em;
  line-height: 1.55;
}

.profile-name {
  margin: 0 0 12px;
  font-weight: 600;
}

.profile-bio {
  max-width: 520px;
  font-weight: 400;
}

.profile-bio p {
  margin: 0;
}

.profile-bio p + p {
  margin-top: 12px;
}

.profile a {
  color: inherit;
  text-decoration: none;
  transition: color 150ms ease, opacity 150ms ease;
}

.profile a:hover {
  color: #777269;
}

.profile .inline-link {
  text-decoration-line: underline;
  text-decoration-color: #8a877f;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

.profile .inline-link:hover {
  text-decoration-color: currentColor;
}

.profile a:focus-visible {
  border-radius: 2px;
  outline: 1px solid currentColor;
  outline-offset: 4px;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-left: -6.5px;
  margin-top: 20px;
  color: #4f4d47;
}

.social-links a {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 6px;
  opacity: 0.58;
  transition: opacity 160ms ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  opacity: 1;
}

.social-icon {
  display: block;
}

.social-icon-linkedin,
.social-icon-github {
  width: 15px;
  height: 15px;
}

.social-icon-youtube {
  width: 18px;
  height: 18px;
}

.apps {
  margin-top: 52px;
}

.apps-label {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 1;
  text-transform: none;
}

.experience {
  width: 100%;
  margin-top: 52px;
}

.experience-label {
  margin: 0 0 15px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 1;
}

.experience-list {
  display: grid;
  gap: 13px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.experience-heading {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.experience-icon {
  display: grid;
  width: 22px;
  height: 22px;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.experience-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.experience-icon-spc img {
  width: 78%;
  height: 78%;
  filter: grayscale(1) brightness(0) contrast(2);
}

.experience-icon-google img {
  width: 70%;
  height: 70%;
}

.experience-icon-quix {
  isolation: isolate;
}

.experience-icon-quix::before {
  grid-area: 1 / 1;
  width: 78%;
  height: 78%;
  content: "";
  background: #ff002b;
}

.experience-icon-quix img {
  grid-area: 1 / 1;
  z-index: 1;
  width: 88%;
  height: 88%;
  filter: grayscale(1) invert(1) contrast(4);
  mix-blend-mode: screen;
}

.experience-icon-unc img {
  width: 72%;
  height: 72%;
}

.experience-role {
  min-width: 0;
  color: var(--ink);
  font-size: 0.78rem;
  line-height: 1.35;
}

.experience-dates {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.4;
}

.experience-dates {
  white-space: nowrap;
}

.projects {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 14px;
}

.project {
  display: inline-flex;
  min-width: 0;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.project-icon {
  display: block;
  width: 36px;
  flex: 0 0 36px;
  overflow: hidden;
  aspect-ratio: 1;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 23%;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 4px 10px rgba(0, 0, 0, 0.06);
  transform: translateY(0);
  transition:
    box-shadow 180ms ease,
    transform 180ms ease;
}

.project-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.project-name {
  max-width: 100%;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 400;
  line-height: 1.3;
}

.project-copy {
  display: inline-flex;
  min-width: 0;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
}

.project-status {
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #858178;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.2;
  white-space: nowrap;
}

a.project:hover .project-icon,
a.project:focus-visible .project-icon {
  box-shadow:
    0 2px 3px rgba(0, 0, 0, 0.05),
    0 7px 14px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

a.project:focus-visible .project-icon {
  outline: 1px solid currentColor;
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .profile a,
  .project-icon {
    transition: none;
  }
}

@media (max-width: 700px) {
  .profile-page {
    place-items: center start;
    padding: 48px 24px 56px;
  }

  .profile {
    width: 100%;
    transform: none;
  }

  .profile-name,
  .profile-bio {
    font-size: 1rem;
  }

  .profile-bio {
    max-width: 34rem;
  }

  .projects {
    width: min(100%, 320px);
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .project {
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }

  .project-icon {
    width: 36px;
    flex: 0 0 36px;
  }

  .experience-heading {
    column-gap: 10px;
  }
}

@media (max-width: 380px) {
  .profile-page {
    padding-inline: 20px;
  }

  .projects {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .experience-heading {
    grid-template-columns: 22px minmax(0, 1fr);
    column-gap: 10px;
    row-gap: 1px;
  }

  .experience-dates {
    grid-column: 2;
  }
}

a {
  color: var(--accent);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--ink);
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(2.25rem, 9vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.policy-layout {
  display: flex;
  min-height: 100vh;
  justify-content: center;
  padding: 0 48px 48px;
}

.policy-document {
  display: flex;
  width: 100%;
  max-width: 600px;
  min-height: 100vh;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  padding: 24px 0;
}

.policy-document h1 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.2;
}

.updated {
  margin: 0;
  color: var(--muted);
}

.policy-document h2 {
  margin: 16px 0 0;
  font-size: 1.5rem;
  line-height: 1.25;
}

.policy-document h3 {
  margin: 8px 0 0;
  font-size: 1.17rem;
  line-height: 1.25;
}

.policy-document p,
.policy-document li {
  color: var(--ink);
  font-size: 1rem;
}

.policy-document p,
.policy-document ul,
.policy-document ol {
  margin-top: 0;
  margin-bottom: 0;
}

.policy-document ul,
.policy-document ol {
  padding-left: 1.35rem;
}

.toc {
  margin: 0;
  padding: 0;
}

.toc h2 {
  margin-top: 0;
}

.toc ol {
  margin-bottom: 0;
}

@media (max-width: 560px) {
  .policy-layout {
    padding: 0 24px 48px;
  }

  .policy-document {
    padding: 24px 0;
  }
}
