body {
  background-color: #0a0a0a;
  color: #f5f5f5;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

header {
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.logo {
  width: 100px;
  height: auto;
}

nav {
  display: flex;
}

nav a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  margin-right: 2rem;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

nav a:hover {
  color: #fff;
}

main {
  padding: 2rem 1.5rem;
  max-width: 720px;
  margin: 0 auto;
}

main h1 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.works-filters {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.works-filter-check {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  user-select: none;
}

.works-filter-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.works-filter-box {
  display: block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 3px;
  background: transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.works-filter-check:hover .works-filter-box {
  border-color: rgba(255, 255, 255, 0.55);
}

.works-filter-input:checked + .works-filter-box {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.9);
}

.works-filter-input:focus-visible + .works-filter-box {
  outline: 2px solid rgba(255, 255, 255, 0.6);
  outline-offset: 2px;
}

.works-filter-label {
  letter-spacing: 0.02em;
}

.works-group {
  margin-bottom: 3.5rem;
}

.works-group[hidden] {
  display: none;
}

.works-group-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
}

.works-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.work-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.25rem 0;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background-color 0.2s ease;
}

.work-item:first-child {
  padding-top: 0;
}

.work-item:hover {
  background-color: rgba(255, 255, 255, 0.03);
}

.work-item--cta .work-title {
  color: rgba(255, 255, 255, 0.7);
}

/* Abstract shapes – outline only, thick stroke; muted colors */
.work-shape {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  color: inherit;
}

.work-shape svg {
  display: block;
  width: 100%;
  height: 100%;
}

.work-shape--cta {
  opacity: 0;
  pointer-events: none;
}

/* Muted stroke color per item – Client (5), then In-house (8 + CTA) */
.works-group[data-works-group="client"] .work-item:nth-child(1) .work-shape { color: #7a9fb0; }
.works-group[data-works-group="client"] .work-item:nth-child(2) .work-shape { color: #b08fa5; }
.works-group[data-works-group="client"] .work-item:nth-child(3) .work-shape { color: #8fb59e; }
.works-group[data-works-group="client"] .work-item:nth-child(4) .work-shape { color: #b0a87a; }
.works-group[data-works-group="client"] .work-item:nth-child(5) .work-shape { color: #a09ab5; }

.works-group[data-works-group="inhouse"] .work-item:nth-child(1) .work-shape { color: #b8a9a9; }
.works-group[data-works-group="inhouse"] .work-item:nth-child(2) .work-shape { color: #8fa8b8; }
.works-group[data-works-group="inhouse"] .work-item:nth-child(3) .work-shape { color: #9bb89f; }
.works-group[data-works-group="inhouse"] .work-item:nth-child(4) .work-shape { color: #b8b08f; }
.works-group[data-works-group="inhouse"] .work-item:nth-child(5) .work-shape { color: #a89bb8; }
.works-group[data-works-group="inhouse"] .work-item:nth-child(6) .work-shape { color: #b89a8f; }
.works-group[data-works-group="inhouse"] .work-item:nth-child(7) .work-shape { color: #8faab8; }
.works-group[data-works-group="inhouse"] .work-item:nth-child(8) .work-shape { color: #a8a0a0; }
.works-group[data-works-group="inhouse"] .work-item:nth-child(9) .work-shape { color: #8fb09a; }

.work-body {
  flex: 1;
  min-width: 0;
}

.work-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.35rem 0;
  letter-spacing: -0.01em;
}

.work-desc {
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

/* Prominent CTA when no filter selected */
.works-cta-prominent {
  text-align: center;
  padding: 3rem 1.5rem;
  max-width: 480px;
  margin: 0 auto;
}

.works-cta-prominent[hidden] {
  display: none;
}

.works-cta-prominent-inner {
  padding: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.works-cta-prominent-title {
  font-size: 1.75rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
  letter-spacing: -0.02em;
}

.works-cta-prominent-desc {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 1.25rem 0;
}

.works-cta-prominent-process {
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 1.5rem 0;
  text-align: left;
}

.works-cta-prominent-process strong {
  color: rgba(255, 255, 255, 0.7);
}

.works-cta-prominent-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #0a0a0a;
  background: #fff;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.works-cta-prominent-btn:hover {
  background: rgba(255, 255, 255, 0.9);
  color: #0a0a0a;
}

/* Desktop: slightly more spacing, optional subtle card feel on hover */
@media (min-width: 769px) {
  main {
    padding: 2.5rem 2rem;
  }

  .work-item {
    padding: 1.5rem 0;
    gap: 1.5rem;
  }

  .work-item:hover {
    background-color: rgba(255, 255, 255, 0.04);
  }

  .work-title {
    font-size: 1.15rem;
  }

  .work-desc {
    font-size: 0.95rem;
  }

  .work-shape {
    width: 40px;
    height: 40px;
  }
}

.nav-close {
  display: none;
}
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background-color: #fff;
  margin: 5px 0;
  transition: 0.4s;
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }

  nav.active {
    display: flex;
  }

  .nav-close {
    display: flex;
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    font-family: inherit;
    opacity: 0.9;
  }
  .nav-close:hover {
    opacity: 1;
  }

  nav a {
    margin: 1rem 0;
    font-size: 2rem;
    font-weight: 500;
  }

  main {
    padding: 1.5rem 1rem;
  }

  main h1 {
    font-size: 1.75rem;
    margin-bottom: 2.5rem;
  }

  .work-item {
    padding: 1rem 0;
    gap: 1rem;
  }

  .work-shape {
    width: 32px;
    height: 32px;
  }

  .work-title {
    font-size: 1rem;
  }

  .work-desc {
    font-size: 0.85rem;
  }

  footer {
    flex-direction: column;
    text-align: center;
    margin-top: 3rem;
  }

  .footer-links {
    margin-top: 1rem;
    justify-content: center;
  }
}
