@font-face {
  font-family: "Gambarino-Regular";
  src:
    url("./fonts/Gambarino-Regular.woff2") format("woff2"),
    url("./fonts/Gambarino-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #24292f;
  --text: #f0efea;
  --muted: #aaa59b;
  --line: #41464c;
  --accent: #60a5fa;
  --accent-strong: #93c5fd;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, sans-serif;
}

a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(96, 165, 250, 0.45);
  transition:
    color 180ms ease,
    border-color 180ms ease;
}

a:hover {
  color: var(--accent-strong);
  border-color: currentColor;
}

.page-shell {
  width: min(100%, 76rem);
  margin: 0;
  padding: 2rem 1.5rem 4rem;
}

.site-header {
  margin-bottom: 2.5rem;
}

.site-topbar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.site-brand {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.site-home {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  width: max-content;
  color: var(--text);
  border-bottom: 0;
}

.site-home:hover {
  color: var(--text);
}

.brand-avatar {
  display: block;
  width: 2.35rem;
  height: 2.35rem;
  object-fit: contain;
  border-radius: 0.375rem;
}

.site-name {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.site-tagline {
  margin: 0;
  max-width: 30rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.1rem;
  align-items: center;
  font-size: 0.93rem;
  line-height: 1.45;
}

.site-nav a {
  color: var(--muted);
  border-bottom: 0;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
}

.content {
  max-width: 50rem;
}

.page-intro {
  max-width: 42rem;
  margin: 0 0 1.65rem;
  font-family: "Gambarino-Regular", Georgia, serif;
  font-size: clamp(1.7rem, 2.95vw, 2.3rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.body-copy {
  max-width: 48rem;
  font-size: 1rem;
  line-height: 1.78;
}

.body-copy p {
  margin: 0 0 1rem;
  max-width: 39rem;
}

.section-label {
  margin: 1.8rem 0 0.8rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.content-list {
  margin: 0;
  padding: 0 0 0 1.15rem;
  list-style: none;
  display: grid;
  gap: 1.15rem;
  border-left: 1px solid var(--line);
}

.content-list li {
  margin: 0;
  padding: 0;
}

.content-list-title {
  display: block;
  margin: 0 0 0.02rem;
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.content-list-subtitle {
  display: block;
  margin: 0 0 0.1rem;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.content-list-desc {
  display: block;
  max-width: 39rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.72;
}

.content-note {
  margin-top: 1.5rem;
  color: var(--muted);
}

.content-note a {
  color: var(--accent-strong);
}

.project-feature {
  margin: 0;
}

.project-title {
  margin: 0 0 0.55rem;
  color: var(--text);
  font-family: "Gambarino-Regular", Georgia, serif;
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.project-summary {
  margin: 0 0 0rem !important;
  max-width: 42rem;
}

.project-stack {
  margin: 0;
  padding: 0 0 0 1.15rem;
  border-left: 1px solid var(--line);
  display: grid;
  gap: 1.6rem;
}

.project-entry {
  margin: 0;
}

.project-entry-featured {
  padding: 1rem 1rem .75rem;
  border: 1px solid var(--line);
  border-radius: 0.375rem;
  background: rgba(255, 255, 255, 0.02);
}

.project-header {
  display: grid;
  gap: 0.45rem 1rem;
  margin-bottom: 0.7rem;
}

.project-year {
  margin: 0 0 0.3rem;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.project-points {
  margin: 0 0 1.1rem 1.15rem;
  padding: 0;
  max-width: 40rem;
  color: var(--muted);
  line-height: 1.7;
}

.project-points li {
  margin: 0 0 0.55rem;
  padding-left: 0.1rem;
}

.project-shot {
  margin: 0;
}

.project-shot img {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.375rem;
  background: rgba(0, 0, 0, 0.08);
}

.project-shot figcaption {
  margin-top: 0.55rem;
  max-width: 38rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.62;
}

.project-shot figcaption strong {
  color: var(--text);
  font-weight: 600;
}

.project-list {
  display: grid;
  gap: 1.5rem;
}

.project-list .project-entry {
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.project-list .project-entry:first-child {
  padding-top: 0;
  border-top: 0;
}

.project-list .project-title {
  margin-bottom: 0.4rem;
  font-size: clamp(1.08rem, 1.7vw, 1.28rem);
}

.project-list .project-summary {
  margin-bottom: 0;
  max-width: 39rem;
}

.site-footer {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
}

.site-footer p {
  margin: 0;
}

.no-underline-link {
  border-bottom: 0 !important;
}

@media (min-width: 900px) {
  .page-shell {
    padding: 2.75rem 2.5rem 4.5rem;
  }

  .site-topbar {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
  }

}

@media (max-width: 899px) {
  .page-intro {
    font-size: clamp(1.45rem, 5.4vw, 1.95rem);
  }

  .body-copy {
    font-size: 0.95rem;
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding: 1.5rem 1.25rem 3rem;
  }
}
