body {
  font-family: -apple-system, Helvetica, Arial, sans-serif;
  background-color: #0a0a0a;
  color: #f5f5f5;
  max-width: 720px;
  margin: 0 auto;
  padding: 80px 24px;
  line-height: 1.6;
}

h1 {
  font-size: 56px;
  letter-spacing: -1px;
  margin-bottom: 8px;
}

h2 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #888888;
  margin-top: 56px;
}

a {
  color: #f5f5f5;
}

p {
  font-size: 18px;
  color: #cccccc;
}

.header {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
}

.highlight {
  color: gold;
}

.projects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.card {
  background-color: #161616;
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  padding: 24px;
}

.card h3 {
  margin: 0 0 8px 0;
  font-size: 18px;
}

.card p {
  margin: 0 0 16px 0;
  font-size: 15px;
  color: #999999;
}

.status {
  font-size: 12px;
  color: #888888;
  border: 1px solid #2a2a2a;
  border-radius: 999px;
  padding: 4px 10px;
}

.card {
  transition: transform 0.2s ease, border-color 0.2s ease;
  animation: fadeUp 0.6s ease backwards;
}

.card:hover {
  transform: translateY(-4px);
  border-color: #555555;
}

.card:nth-child(2) { animation-delay: 0.08s; }
.card:nth-child(3) { animation-delay: 0.16s; }
.card:nth-child(4) { animation-delay: 0.24s; }
.card:nth-child(5) { animation-delay: 0.32s; }
.card:nth-child(6) { animation-delay: 0.40s; }

.header {
  animation: fadeUp 0.6s ease backwards;
}

a {
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.6;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body {
  -webkit-font-smoothing: antialiased;
}

::selection {
  background-color: #f5f5f5;
  color: #0a0a0a;
}

a {
  text-underline-offset: 4px;
}

@media (max-width: 600px) {
  .projects {
    grid-template-columns: 1fr;
  }

  .header {
    flex-direction: column;
    align-items: flex-start;
  }

  h1 {
    font-size: 40px;
  }
}

.hidden {
  display: none;
}

button {
  background: none;
  color: #f5f5f5;
  border: 1px solid #2a2a2a;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 14px;
  cursor: pointer;
}

#grid {
  display: grid;
  grid-template-columns: repeat(52, 1fr);
  gap: 2px;
  margin-top: 32px;
}

.week {
  aspect-ratio: 1;
  background-color: #2a2a2a;
  border-radius: 2px;
}

.lived {
  background-color: #e6c36a;
}
html {
  scroll-behavior: smooth;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  margin-bottom: 48px;
  background-color: rgba(10, 10, 10, 0.85);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #1f1f1f;
}

.nav a {
  text-decoration: none;
  font-size: 14px;
}

.nav-name {
  font-weight: 600;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  color: #a3a3a3;
}
.header {
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
body {
  max-width: 1040px;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 64px 0 48px;
  animation: fadeUp 0.6s ease backwards;
}

.hero-text {
  max-width: 620px;
}

.hero h1 {
  font-size: 64px;
  line-height: 1.05;
  letter-spacing: -2px;
  margin: 0 0 24px 0;
}

.hero-pitch {
  font-size: 20px;
  color: #a3a3a3;
  margin: 0 0 32px 0;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-block;
  padding: 12px 22px;
  border: 1px solid #333333;
  border-radius: 999px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
}

.button-solid {
  background-color: #f5f5f5;
  border-color: #f5f5f5;
  color: #0a0a0a;
}

.hero-photo {
  flex-shrink: 0;
  text-align: center;
}

.hero-photo img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 50%;
}

.hero-photo p {
  margin-top: 16px;
  font-size: 16px;
}

@media (max-width: 700px) {
  .hero {
    flex-direction: column-reverse;
    align-items: flex-start;
  }

  .hero h1 {
    font-size: 40px;
  }
}
.projects {
  grid-template-columns: repeat(3, 1fr);
}

a.card {
  display: block;
  text-decoration: none;
}

a.card:hover {
  opacity: 1;
}

.card-top,
.card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-top {
  margin-bottom: 24px;
}

.card-number {
  font-size: 13px;
  color: #888888;
}

.card h3 {
  font-size: 22px;
  letter-spacing: -0.4px;
}

.card-bottom {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid #222222;
  font-size: 13px;
  color: #888888;
}

.status-built {
  background-color: #e6c36a;
  border-color: #e6c36a;
  color: #0a0a0a;
}

@media (max-width: 900px) {
  .projects {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .projects {
    grid-template-columns: 1fr;
  }
}
.about {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  margin-top: 40px;
}

.about-text {
  flex: 1 1 380px;
}

.about-skills {
  flex: 1 1 300px;
}

.about-lead {
  font-size: 24px;
  line-height: 1.4;
  letter-spacing: -0.3px;
  color: #f5f5f5;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  border: 1px solid #2a2a2a;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 14px;
}
.contact {
  margin-top: 96px;
  padding-top: 64px;
  border-top: 1px solid #1f1f1f;
}

.contact h2 {
  margin-top: 0;
}

.contact-headline {
  font-size: 48px;
  line-height: 1.05;
  letter-spacing: -1.5px;
  color: #f5f5f5;
  margin: 16px 0 32px 0;
}

.footer {
  margin-top: 96px;
  font-size: 13px;
  color: #888888;
}
.life {
  margin-top: 24px;
}

.life-caption {
  font-size: 15px;
  color: #888888;
}

.life-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 16px 0 20px 0;
  font-size: 13px;
  color: #a3a3a3;
}

.life-swatch {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  margin-right: 6px;
}

.life-grid {
  display: grid;
  grid-template-rows: repeat(52, 6px);
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 2px;
}

.life-week {
  background-color: #1c1c1c;
  border-radius: 1px;
}

@media (max-width: 600px) {
  .life-grid {
    grid-template-rows: repeat(52, 4px);
    gap: 1px;
  }
}
#life,
#work,
#about,
#contact {
  scroll-margin-top: 80px;
}

.button-solid {
  -webkit-font-smoothing: auto;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}
.case {
  max-width: 720px;
  padding-top: 48px;
}

.case-label {
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #e6c36a;
}

.case-lead {
  font-size: 24px;
  line-height: 1.4;
  color: #f5f5f5;
}

.case-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin: 32px 0;
  padding: 24px 0;
  border-top: 1px solid #1f1f1f;
  border-bottom: 1px solid #1f1f1f;
  font-size: 14px;
  color: #a3a3a3;
}

.case-facts strong {
  display: block;
  margin-bottom: 4px;
  color: #f5f5f5;
}

.case li {
  margin-bottom: 12px;
  font-size: 18px;
  color: #cccccc;
}
.hero-photo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

@media (max-width: 900px) {
  .hero-photo {
    margin-left: auto;
    margin-right: auto;
    align-self: center;
  }
}
body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  pointer-events: none;
}

body::before {
  inset: -25%;
  background:
    radial-gradient(38% 32% at 22% 18%, rgba(230, 195, 106, 0.13), transparent 70%),
    radial-gradient(42% 36% at 82% 28%, rgba(111, 168, 255, 0.12), transparent 70%),
    radial-gradient(46% 40% at 55% 88%, rgba(140, 110, 255, 0.09), transparent 70%);
  animation: glowDrift 28s ease-in-out infinite alternate;
}

body::after {
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
}

@keyframes glowDrift {
  from { transform: translate3d(-3%, -2%, 0) scale(1); }
  to { transform: translate3d(4%, 3%, 0) scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  body::before { animation: none; }
}
.nav {
  background: rgba(10, 10, 10, 0.25);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.hero-photo img {
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 0 0 6px rgba(255, 255, 255, 0.03),
    0 0 60px rgba(230, 195, 106, 0.18),
    0 0 120px rgba(111, 168, 255, 0.12);
}