* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100vh;
  background: #111214;
  color: #f0efe9;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

.site-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}

.wordmark {
  font-size: 20px;
  font-weight: 500;
  color: #f0efe9;
}

.resume-link {
  font-size: 12px;
  color: #9a9d9f;
  text-decoration: none;
}

.resume-link:hover { color: #f0efe9; }

.intro {
  font-size: 12.5px;
  color: #9a9d9f;
  max-width: 380px;
  line-height: 1.5;
  margin: 0 0 40px;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

@property --shimmer-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

.card-wrap {
  position: relative;
  border-radius: 10px;
}

.card-wrap::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: conic-gradient(from var(--shimmer-angle), transparent 0deg, var(--accent, #9a9d9f) 16deg, transparent 42deg);
  opacity: 0;
  filter: blur(1.5px);
  transition: opacity 250ms ease;
  animation: shimmer-spin 2.6s linear infinite;
  animation-play-state: paused;
  pointer-events: none;
}

.card-wrap:hover::before {
  opacity: 0.9;
  animation-play-state: running;
}

@keyframes shimmer-spin {
  to { --shimmer-angle: 360deg; }
}

@media (prefers-reduced-motion: reduce) {
  .card-wrap::before { animation: none; }
}

.card {
  position: relative;
  z-index: 1;
  display: flex;
  height: 100%;
  background: #191b1e;
  border-radius: 10px;
  overflow: hidden;
}

.card-linked { cursor: pointer; }

.card-stretched-link {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.card-content {
  flex: 1;
  padding: 14px 12px 14px 14px;
  display: flex;
  flex-direction: column;
}

.card-name {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 500;
  color: #f0efe9;
}

.card-blurb {
  flex: 1;
  margin: 0 0 10px;
  font-size: 11px;
  color: #9a9d9f;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}

.card-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-link {
  position: relative;
  z-index: 1;
  font-size: 10.5px;
  color: var(--accent, #9a9d9f);
  text-decoration: none;
}

.card-link:hover { text-decoration: underline; }

.icon-link {
  display: inline-flex;
  align-items: center;
}

.icon-link svg { display: block; }
.icon-link:hover { text-decoration: none; opacity: 0.8; }

.card-motif {
  width: 90px;
  flex-shrink: 0;
}

.card-motif svg {
  display: block;
  width: 100%;
  height: 100%;
}

.site-footer {
  display: flex;
  gap: 16px;
  margin-top: 56px;
}

.site-footer a {
  font-size: 11px;
  color: #9a9d9f;
  text-decoration: none;
}

.site-footer a:hover { color: #f0efe9; }
