/* Same visual language as main site */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #374151;
  background: #FAFAF8;
}

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

a:hover {
  text-decoration: underline;
}

.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.5rem 3rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.hero {
  text-align: left;
  margin-bottom: 2rem;
}

.hero-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: #111827;
  margin: 0 0 1rem;
  line-height: 1.3;
}

.hero-bio {
  margin: 0 0 0.5rem;
  color: #4b5563;
}

.hero-bio-muted {
  font-size: 0.95rem;
  color: #9ca3af;
  margin-bottom: 1.5rem;
}

.hero-bio-link {
  color: #9ca3af;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hero-bio-link:hover {
  color: #111827;
  text-decoration: underline;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  text-decoration: none;
}

.btn-icon {
  flex-shrink: 0;
}

.btn-primary {
  background: #1f2937;
  color: #fff;
  border-color: #1f2937;
}

.btn-primary:hover {
  background: #111827;
  border-color: #111827;
  text-decoration: none;
}

.btn-secondary {
  background: #fff;
  color: #374151;
  border-color: #e5e7eb;
}

.btn-secondary:hover {
  background: #f9fafb;
  border-color: #d1d5db;
  text-decoration: none;
}

.hero-availability {
  font-size: 0.9rem;
  color: #6b7280;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.status-dot-wrap {
  position: relative;
  display: inline-flex;
  width: 8px;
  height: 8px;
  flex-shrink: 0;
}

.status-dot-ping {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #22c55e;
  animation: status-ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.status-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
}

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

/* Sections */
.section {
  margin-bottom: 3.5rem;
}

.section-heading {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ca3af;
  margin: 0 0 0.35rem;
}

.section-intro {
  font-size: 0.9rem;
  color: #6b7280;
  margin: 0 0 0.75rem;
  line-height: 1.5;
}

/* Services */
.services-list {
  padding-bottom: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.service-block {
  padding: 0.75rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.service-block:first-child {
  padding-top: 0;
}

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

.service-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #111827;
  margin: 0 0 0.5rem;
}

.service-desc {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.6;
  margin: 0;
}

/* Client Work */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 0.75rem;
}

.project-card {
  display: block;
  padding: 1.25rem 1.25rem 1.25rem 1.5rem;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.project-card:hover {
  border-color: #d1d5db;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  text-decoration: none;
}

.project-card-inner {
  display: block;
}

.project-card-text {
  min-width: 0;
}

.project-title-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.project-title-row .project-title {
  margin: 0;
}

.project-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #111827;
}

.project-desc {
  font-size: 0.9rem;
  color: #6b7280;
  margin: 0;
  line-height: 1.55;
}

.project-link-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  transition: color 0.2s;
}

.project-card:hover .project-link-icon {
  color: #111827;
}

.badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  flex-shrink: 0;
}

.badge-active {
  background: #dcfce7;
  color: #166534;
}

.badge-completed {
  background: #f3f4f6;
  color: #6b7280;
}

/* Get in touch */
.contact-text {
  margin: 0 0 0.35rem;
  color: #4b5563;
}


.contact-text a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-text a:hover {
  color: #111827;
}

.contact-link-toti {
  color: #111827;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-link-toti:hover {
  color: #111827;
  text-decoration: underline;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #374151;
  background: #f3f4f6;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
}

.pill-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  display: block;
}

.pill-link {
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.pill-link:hover {
  background: #e5e7eb;
  border-color: #d1d5db;
  text-decoration: none;
}

/* Footer */
.footer {
  margin-top: auto;
  padding-top: 2.5rem;
  border-top: 1px solid #e5e7eb;
  font-size: 0.85rem;
  color: #9ca3af;
}

.footer-link:hover {
  color: #111827;
  text-decoration: none;
}

@media (max-width: 560px) {
  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: flex-start;
  }
}
