.page {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100vh;
  padding: 24px 0;
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  flex: 1;
  min-height: 0;
}

.col {
  display: flex;
  flex-direction: column;
  padding: 0 20px;
  min-height: 0;
}

/* Column 1 — identity, headline, contacts */
.wordmark {
  display: inline-flex;
  width: fit-content;
}

.wordmark img {
  height: 32px;
  width: auto;
}

.contacts {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 32px;
}

.contacts-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.email-wrap {
  color: var(--color-fg);
  font-size: 15px;
}

.email-wrap a {
  color: inherit;
  text-decoration: none;
}

.email-copy-btn {
  font: inherit;
  font-size: 15px;
  color: var(--color-muted);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: var(--link-underline);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: text-decoration-color 0.2s;
}

.email-copy-btn:hover {
  text-decoration-color: var(--color-fg);
}

.credit {
  font-size: 15px;
  color: var(--color-muted);
}

/* Column 2 — headline + clients list */
.headline {
  color: var(--color-fg);
  max-width: 360px;
}

.projects {
  margin-top: 24px;
  display: flex;
  flex: 1;
  min-height: 0;
  flex-direction: column;
}

.projects h2 {
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 400;
  color: var(--color-muted);
}

.projects .items {
  min-height: 0;
  overflow-y: auto;
  padding-right: 8px;
}

.projects .item {
  margin-bottom: 12px;
}

.projects .item:last-child {
  margin-bottom: 0;
}

.projects .title {
  color: var(--color-fg);
  display: inline-block;
}

.projects .desc {
  color: var(--color-muted);
  font-size: 13px;
  margin-top: 1px;
  line-height: 1.4;
}

/* Column 3 — trusted-by logos */
.trusted {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.trusted-intro {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.trusted-intro > p {
  font-size: 13px;
  color: var(--color-muted);
}

.logo-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px 12px;
  list-style: none;
}

.logo-strip li {
  display: flex;
  align-items: center;
}

.logo-strip img {
  height: 20px;
  width: auto;
  opacity: 0.7;
  filter: invert(1);
}

@media (min-width: 768px) {
  .page {
    height: 100vh;
    padding: 32px 0;
  }

  .grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }

  .col:first-child {
    padding-left: 20px;
    padding-right: 0;
  }

  .col:nth-child(2) {
    padding-left: 0;
    padding-right: 0;
  }

  .col:last-child {
    padding-left: 0;
    padding-right: 20px;
  }
}
