:root {
  color-scheme: light;
  --background: #fbfbfa;
  --text: #1d1d1f;
  --muted: #666664;
  --line: #e7e7e4;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  min-height: 100vh;
  min-height: 100svh;
}

.company,
.projects {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(3rem, 7vw, 6rem) 1.5rem;
  text-align: center;
}

.company {
  min-height: 42vh;
  min-height: 42svh;
}

.identity {
  display: flex;
  gap: clamp(0.9rem, 2.2vw, 1.25rem);
  align-items: center;
}

.mark {
  width: clamp(3.5rem, 7vw, 4.75rem);
  height: auto;
}

.projects {
  min-height: 58vh;
  min-height: 58svh;
  border-top: 1px solid var(--line);
}

h1 {
  margin: 0;
  font-size: clamp(1.85rem, 3.2vw, 2.2rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.projects h2 {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.project-list {
  width: fit-content;
  max-width: 100%;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.4rem;
  list-style: none;
  text-align: left;
}

.project-list li {
  display: grid;
  grid-template-columns: 8rem max-content;
  gap: clamp(1.5rem, 5vw, 3.25rem);
  align-items: baseline;
  padding: 0.25rem 0;
}

.project-list h3 {
  margin: 0;
  font-size: clamp(1rem, 1.8vw, 1.1rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.55;
}

.project-list p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.5vw, 1rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.55;
}

@media (max-width: 640px) {
  .company {
    min-height: 40vh;
    min-height: 40svh;
  }

  .mark {
    width: 3.4rem;
  }

  .projects {
    min-height: 60vh;
    min-height: 60svh;
  }

  .project-list li {
    grid-template-columns: minmax(5.5rem, 0.7fr) minmax(0, 1.5fr);
    gap: 1rem;
  }

  .project-list {
    width: 100%;
  }
}
