:root {
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  color: #22252b;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

[hidden] {
  display: none !important;
}

.page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--grid-width, 75%);
  min-height: 100vh;
  min-height: 100svh;
}

.processing {
  position: relative;
  overflow: hidden;
  background-color: #f7f9f4;
  /* The fitted canvas supplies complete tiles over this quiet fallback. */
}

.processing-grid {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
}

.profile {
  display: grid;
  grid-template-rows: 1fr auto 1fr;
  gap: 32px;
  min-width: 0;
  padding: 32px clamp(16px, 2.2vw, 40px);
  font-size: 15px;
  line-height: 1.6;
}

.identity {
  align-self: start;
}

.profile h1,
.profile p {
  margin: 0;
  font: inherit;
  letter-spacing: normal;
}

.projects {
  align-self: center;
}

.profile h1 {
  font-weight: 600;
}

.profile .role {
  margin-top: 4px;
  color: #595959;
  font-size: 14px;
}

.project-description {
  display: block;
  margin-top: 4px;
  color: #595959;
  font-size: 14px;
  line-height: 1.55;
}

.project-status {
  white-space: nowrap;
}

.projects p + p {
  margin-top: 24px;
}

.links {
  display: flex;
  align-self: end;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.profile a {
  color: inherit;
  text-decoration-color: #9a9a9a;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.profile a:hover {
  color: #426b00;
  text-decoration-color: currentColor;
}

a:focus-visible {
  outline: 2px solid #426b00;
  outline-offset: 5px;
}

@media (max-width: 700px) {
  .page {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(220px, 1fr);
  }

  .profile {
    grid-template-rows: auto auto auto;
    gap: 24px;
    padding: 24px;
  }

  .projects p + p {
    margin-top: 16px;
  }

  .processing {
    width: var(--grid-width, 100%);
    justify-self: center;
  }
}
