:root {
  color-scheme: dark;
  --page: #080d10;
  --text: #e8e6e4;
  --muted: #beb9b8;
  --purple: #9a78ff;
  --gold: #f2c631;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--page);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 77% 34%, rgba(28, 41, 49, 0.14), transparent 34%),
    radial-gradient(circle at 9% 52%, rgba(27, 41, 46, 0.12), transparent 31%),
    linear-gradient(180deg, #080d10 0%, #090e11 100%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.006) 0 1px, transparent 1px 4px);
  content: "";
  pointer-events: none;
}

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

.site-header {
  display: flex;
  width: min(1127px, calc(100% - 38px));
  height: 54px;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  padding: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 650;
}

.brand-mark {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #aaa9b0;
  stroke-width: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

main {
  width: min(1127px, calc(100% - 38px));
  margin: 0 auto;
  padding: 17px 0 37px;
}

.project-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.project-card {
  position: relative;
  display: block;
  isolation: isolate;
  overflow: hidden;
  border-radius: 8px;
  outline: none;
  container-type: inline-size;
  transform: translateZ(0);
  transition: transform 240ms cubic-bezier(0.2, 0.75, 0.25, 1), filter 240ms ease, box-shadow 240ms ease;
}

.project-card img {
  display: block;
  width: 100%;
  height: auto;
  transition: filter 240ms ease, transform 320ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.card-highlight {
  position: absolute;
  z-index: 1;
  inset: 0;
  border: 1px solid transparent;
  border-radius: inherit;
  background: linear-gradient(110deg, rgba(255, 255, 255, 0.05), transparent 24%, transparent 77%, rgba(255, 255, 255, 0.025));
  opacity: 0;
  pointer-events: none;
}

.interactions-ready .card-highlight {
  transition: opacity 240ms ease, border-color 240ms ease;
}

.project-cta {
  position: absolute;
  z-index: 2;
  bottom: 12.8%;
  left: 3.25%;
  display: inline-flex;
  align-items: center;
  gap: 1.05em;
  font-size: clamp(10px, 1.12cqw, 17px);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.nota-card .project-cta {
  color: #a282ff;
}

.vantage-card .project-cta {
  color: var(--gold);
}

.cta-arrow {
  display: inline-block;
  font-size: 1.55em;
  font-weight: 400;
  line-height: 0;
  transition: transform 220ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.project-card:hover,
.keyboard-navigation .project-card:focus-visible {
  transform: translateY(-2px) scale(1.003);
}

.project-card:hover img,
.keyboard-navigation .project-card:focus-visible img {
  filter: brightness(1.075) saturate(1.04);
  transform: scale(1.002);
}

.project-card:hover .card-highlight,
.keyboard-navigation .project-card:focus-visible .card-highlight {
  border-color: currentColor;
  opacity: 0.48;
}

.nota-card:hover,
.keyboard-navigation .nota-card:focus-visible {
  color: var(--purple);
  box-shadow: 0 16px 50px rgba(92, 67, 171, 0.18), 0 0 24px rgba(126, 90, 238, 0.08);
}

.vantage-card:hover,
.keyboard-navigation .vantage-card:focus-visible {
  color: var(--gold);
  box-shadow: 0 16px 54px rgba(7, 46, 37, 0.34), 0 0 25px rgba(214, 164, 33, 0.1);
}

.project-card:hover .cta-arrow,
.keyboard-navigation .project-card:focus-visible .cta-arrow {
  transform: translateX(0.3em);
}

.keyboard-navigation .project-card:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}

@media (max-width: 760px) {
  .site-header {
    height: 54px;
    padding: 0;
  }

  .brand {
    font-size: 14px;
  }

  .brand-mark {
    width: 21px;
    height: 21px;
  }

  .site-header,
  main {
    width: calc(100% - 28px);
  }

  main {
    padding-top: 14px;
  }

  .project-list {
    gap: 14px;
  }

  .project-card {
    border-radius: 6px;
  }

  .project-cta {
    font-size: clamp(8px, 1.7cqw, 11px);
  }
}

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

  .project-card,
  .project-card img,
  .card-highlight,
  .cta-arrow {
    transition: none;
  }
}
