* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'IBM Plex Mono', monospace;
  background-color: #000;
  color: #c8c8c8;
  line-height: 1.6;
  padding: 0 2rem 4rem;
}

.container {
  max-width: 960px;
  margin: 0 auto;
}

.hero {
  width: 100%;
  max-width: 560px;
  padding: 8rem 0 4rem;
}

.hero-tagline {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  font-size: 0.62rem;
  color: #3a3a3a;
  letter-spacing: 0.12em;
  margin-bottom: 1.4rem;
  flex-wrap: wrap;
}

.hero-tagline span {
  color: #2a2a2a;
}

.hero-headline {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-bottom: 1.5rem;
}

.hero-headline .line1,
.hero-headline .line2 {
  font-family: 'Share Tech Mono', monospace;
  font-size: clamp(2.2rem, 7vw, 3.4rem);
  line-height: 1.1;
  display: block;
}

.hero-headline .line1 {
  color: #555;
  font-weight: 400;
}

.hero-headline .line2 {
  color: #fff;
  font-weight: 700;
}

.hero-desc {
  width: 100%;
  max-width: 480px;
  font-size: 0.8rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.hero-stats {
  display: flex;
  align-items: flex-start;
  gap: 2.8rem;
  width: 100%;
}

.hero-stats-bottom {
  margin-bottom: 1.1rem;
}

.hero-stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.hero-stat-label {
  font-size: 0.55rem;
  color: #3a3a3a;
  letter-spacing: 0.1em;
}

.hero-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
}

.hero-link-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #fff;
  color: #000;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.7rem 1.4rem;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.hero-link-primary:hover {
  background: #e0e0e0;
}

.hero-link-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: #555;
  text-decoration: none;
  transition: color 0.2s;
}

.hero-link-secondary:hover {
  color: #fff;
}

.section {
  margin-bottom: 4rem;
  scroll-margin-top: 7rem;
}

.section-title {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 1.8rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid #1a1a1a;
  color: #fff;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  background: transparent;
  border: 0;
  padding: 0;
}

.card h4 {
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #fff;
}

.card p {
  font-size: 0.72rem;
  color: #555;
  line-height: 1.75;
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid #1a1a1a;
  border-radius: 14px;
  overflow: hidden;
}

.about-left {
  padding: 2rem;
  border-right: 1px solid #1a1a1a;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
}

.about-identity {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.about-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.about-photo {
  width: 125px;
  height: 125px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #1a1a1a;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(15%);
  display: block;
}

.about-bio {
  font-size: 0.75rem;
  color: #555;
  line-height: 1.8;
}

.about-meta {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.about-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.65rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid #111;
}

.about-meta-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.about-meta-key {
  color: #333;
  letter-spacing: 0.08em;
}

.about-meta-val {
  color: #666;
  text-align: right;
}

.about-right {
  display: grid;
  grid-template-rows: 1fr 1fr;
}

.about-cell {
  padding: 1.6rem 2rem;
  border-bottom: 1px solid #1a1a1a;
}

.about-cell:last-child {
  border-bottom: none;
}

.about-cell-label {
  font-size: 0.58rem;
  color: #2e2e2e;
  letter-spacing: 0.12em;
  margin-bottom: 0.6rem;
}

.about-cell-text {
  font-size: 0.72rem;
  color: #555;
  line-height: 1.75;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid #1a1a1a;
  border-radius: 14px;
  overflow: hidden;
}

.service-card {
  padding: 1.8rem 1.6rem;
  border-right: 1px solid #1a1a1a;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: background 0.2s;
}

.service-card:last-child {
  border-right: none;
}

.service-card:hover {
  background: #060606;
}

.service-icon {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  color: #2a2a2a;
  letter-spacing: 0.1em;
  margin-bottom: 1.4rem;
  display: block;
  line-height: 1;
}

.service-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.65rem;
  letter-spacing: -0.01em;
}

.service-desc {
  font-size: 0.68rem;
  color: #4a4a4a;
  line-height: 1.75;
  flex: 1;
  margin-bottom: 1.2rem;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
}

.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}

.tech-tag {
  font-size: 0.62rem;
  padding: 0.22rem 0.5rem;
  background: #0d0d0d;
  border: 1px solid #1e1e1e;
  border-radius: 2px;
  color: #444;
  font-family: 'IBM Plex Mono', monospace;
}

.column h3 {
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #fff;
}

.item {
  margin-bottom: 1.5rem;
}

.item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
}

.item-name {
  font-weight: 500;
  color: #a0a0a0;
  font-family: 'IBM Plex Mono', monospace;
}

.item-status {
  color: #3a3a3a;
  font-size: 0.65rem;
  white-space: nowrap;
  font-family: 'IBM Plex Mono', monospace;
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.project-card {
  position: relative;
  background: #080808;
  border: 1px solid #1c1c1c;
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
  cursor: default;
}

.project-card:hover {
  border-color: #2e2e2e;
  transform: translateY(-2px);
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #333, transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.project-card:hover::before {
  opacity: 1;
}

.project-banner {
  width: 100%;
  height: 160px;
  background: #0c0c0c;
  border-bottom: 1px solid #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.project-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(#1a1a1a 1px, transparent 1px),
    linear-gradient(90deg, #1a1a1a 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.4;
}

.project-banner-icon {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  background: #111;
  border: 1px solid #222;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.6);
}

.project-banner-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-banner-name {
  position: absolute;
  z-index: 1;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 4rem;
  font-weight: 700;
  color: #fff;
  opacity: 0.03;
  letter-spacing: -0.04em;
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
}

.project-body {
  padding: 1.4rem 1.5rem 1.5rem;
}

.project-top-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.project-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.project-subtitle {
  font-size: 0.62rem;
  color: #3a3a3a;
  margin-top: 0.2rem;
  font-family: 'IBM Plex Mono', monospace;
}

.project-desc {
  font-size: 0.72rem;
  color: #555;
  line-height: 1.75;
  margin-bottom: 1.1rem;
}

.project-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.project-icon {
  width: 42px;
  height: 42px;
  background: #111;
  border-radius: 8px;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid #1e1e1e;
  display: none;
}

.project-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-header {
  display: none;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.65rem;
  color: #444;
  font-family: 'IBM Plex Mono', monospace;
}

.status-dot {
  width: 7px;
  height: 7px;
  background: #4affda;
  border-radius: 50%;
  position: relative;
}

.status-dot::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #4affda;
  border-radius: 50%;
  animation: ping 1.5s cubic-bezier(0,0,0.2,1) infinite;
}

@keyframes ping {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}

.cert-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cert-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid #111;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
}

.cert-row:first-child {
  border-top: 1px solid #111;
}

.cert-row:hover .cert-row-title {
  color: #fff;
}

.cert-row:hover .cert-row-verify {
  color: #888;
}

.cert-row-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
  min-width: 0;
}

.cert-logo {
  width: 32px;
  height: 32px;
  background: #0d0d0d;
  border: 1px solid #1e1e1e;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cert-logo img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: grayscale(50%) brightness(0.85);
}

.cert-row-title {
  font-size: 0.75rem;
  font-weight: 500;
  color: #a0a0a0;
  line-height: 1.3;
  transition: color 0.2s;
  font-family: 'IBM Plex Mono', monospace;
}

.cert-row-org {
  font-size: 0.6rem;
  color: #333;
  margin-top: 0.15rem;
  letter-spacing: 0.06em;
  font-family: 'IBM Plex Mono', monospace;
}

.cert-row-verify {
  font-size: 0.62rem;
  color: #333;
  white-space: nowrap;
  transition: color 0.2s;
  font-family: 'IBM Plex Mono', monospace;
  flex-shrink: 0;
}

.contrib-activity-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.65rem;
  color: #3a3a3a;
  letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
}

.contrib-sub {
  font-size: 0.6rem;
  color: #2e2e2e;
  margin-bottom: 1.5rem;
  font-family: 'IBM Plex Mono', monospace;
}

.contrib-card img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
  filter: invert(1) brightness(0.22);
}

.contrib-card p {
  font-size: 0.65rem;
  color: #3a3a3a;
  margin-top: 0.9rem;
  font-family: 'IBM Plex Mono', monospace;
}

.contrib-handle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  color: #444;
  text-decoration: none;
  margin-top: 0.4rem;
  transition: color 0.2s;
  font-family: 'IBM Plex Mono', monospace;
}

.contrib-handle:hover {
  color: #fff;
}

.divider {
  height: 1px;
  background: #111;
  margin: 3rem 0;
}

.footer {
  text-align: center;
  padding: 3rem 0;
  color: #2a2a2a;
  font-size: 0.65rem;
  font-family: 'IBM Plex Mono', monospace;
}

@media (max-width: 768px) {
  body {
    padding: 0 1.5rem 3rem;
  }

  .hero {
    width: 100%;
    max-width: 100%;
    min-height: 85vh;
    padding: 5rem 0 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .hero-tagline {
    margin-bottom: 1.2rem;
  }

  .hero-headline {
    width: 100%;
    margin-bottom: 1.3rem;
  }

  .hero-headline .line1,
  .hero-headline .line2 {
    font-size: clamp(1.8rem, 8vw, 2.4rem);
  }

  .hero-desc {
    width: 100%;
    max-width: 480px;
    margin-bottom: 1.8rem;
  }

  .hero-stats {
    width: 100%;
    gap: 2.2rem;
  }

  .hero-stat-num {
    font-size: 1.35rem;
  }

  .hero-stat-label {
    font-size: 0.5rem;
  }

  .hero-links {
    width: 100%;
    gap: 1rem;
  }

  .hero-link-primary {
    font-size: 0.68rem;
    padding: 0.55rem 1.1rem;
  }

  .hero-link-secondary {
    font-size: 0.68rem;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .about-layout {
    grid-template-columns: 1fr;
  }

  .about-left {
    border-right: none;
    border-bottom: 1px solid #1a1a1a;
  }

  .about-right {
    grid-template-rows: auto auto;
  }

  .about-photo {
    width: 100px;
    height: 115px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    border-right: none;
    border-bottom: 1px solid #1a1a1a;
  }

  .service-card:last-child {
    border-bottom: none;
  }
}

@media (min-width: 769px) {
  .hero-stats {
    gap: 2.8rem;
  }
  }
