@font-face {
  font-family: "jsMath-cmti10";
  src: url("https://cdn.jsdelivr.net/npm/jsmath-fonts@1.0.3/fonts/latin/woff/jsMath-cmti10.woff")
    format("woff");
  font-style: italic;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --text: #111111;
  --muted: #3a3a3a;
  --accent-scale: linear-gradient(135deg, #f8c8ff, #b7d8ff);
  --accent-green: radial-gradient(circle at 50% 50%, #ffffff 40%, #31c85f 100%);
  --accent-yellow: radial-gradient(
    circle at 50% 50%,
    #ffffff 40%,
    #f1a43a 100%
  );
  --accent-gray: #d7d7d7;
}

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

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: #ffffff;
  color: var(--text);
  display: flex;
  justify-content: center;
}

.page {
  width: min(45rem, calc(100% - 3rem));
  padding: 3.5rem 0 5rem;
}

.hero h1 {
  margin: 1.25rem 0 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: baseline;
}

.hello {
  font-family: "jsMath-cmti10", "Playfair Display", serif;
  font-style: italic;
  font-size: 2rem;
  font-weight: 700;
}

.name {
  font-family: "Gluten", "Inter", sans-serif;
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1;
}

.intro {
  margin: 0 0 2.25rem;
  font-size: 1rem;
  line-height: 1.55;
  max-width: 35rem;
  color: var(--muted);
}

.experience h2 {
  margin: 0 0 1.125rem;
  font-size: 1.0625rem;
  font-weight: 700;
}

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

.experience-item {
  display: grid;
  gap: 0.5rem;
}

.item-header {
  display: grid;
  grid-template-columns: 1.375rem 1fr auto;
  gap: 0.875rem;
  align-items: center;
  font-weight: 600;
  font-size: 1rem;
}

.company {
  color: #111;
}

.date {
  color: #111;
}

.item-body {
  margin: 0 0 0 2.25rem;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.icon {
  width: 18px;
  height: 18px;
  border-radius: 0;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.icon-scale {
  background-image: var(--accent-scale);
}

.icon-shopify {
  background-blend-mode: multiply;
  background-image: linear-gradient(to left, #abde4e, #ffffff, #abde4e),
    linear-gradient(to top, #abde4e, #ffffff, #abde4e);
}

.icon-nationgraph {
  background-blend-mode: multiply;
  background-image: linear-gradient(to left, #fba91b, #ffffff, #fba91b),
    linear-gradient(to top, #fba91b, #ffffff, #fba91b);
}

.icon-safuture {
  background: var(--accent-gray);
}

.footer {
  margin-top: 3rem;
  display: flex;
  gap: 0.625rem;
  align-items: center;
  justify-content: center;
  font-size: 0.9375rem;
  color: #1f1f1f;
}

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

.footer a:hover,
.footer a:focus-visible {
  text-decoration: underline;
}

.divider {
  color: #555;
}

@media (max-width: 32.5rem) {
  .page {
    width: calc(100% - 2rem);
    padding: 2.5rem 0 4rem;
  }

  .item-header {
    grid-template-columns: 1.375rem 1fr;
    grid-template-areas:
      "icon company"
      ". date";
    row-gap: 0.375rem;
  }

  .icon {
    grid-area: icon;
  }

  .company {
    grid-area: company;
  }

  .date {
    grid-area: date;
    font-weight: 500;
  }

  .item-body {
    margin-left: 0;
  }

  .footer {
    justify-content: center;
  }
}
