:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #3f3f3f;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  font-family: "VT323", "Courier New", monospace;
  font-size: 1.15rem;
  color: var(--text);
  background: var(--bg);
}

.page {
  width: min(680px, 100%);
  padding: 2rem;
  border-radius: 8px;
  background: var(--bg);
}

.logo {
  margin: 0 0 0 -4px;
  
  color: #e67e22;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 2.4rem;
}

h1 {
  margin: 0.6rem 0 0;
  font-size: clamp(1rem, 2.6vw, 1.55rem);
  line-height: 1.05;
}

.lead {
  margin: 0.1rem 0 1.3rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.content {
  margin: 0 0 0.9rem;
  font-size: 0.95rem;
  color: var(--text);
}

.tool {
  display: inline-block;
  color: #fff;
  padding: 2px 4px;
  border-radius: 2px;
  background-color: #228ae6;
}

.toolbelt-row {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: center;
  gap: 0.4rem 0.75rem;
}

.toolbelt-label {
  font-weight: 700;
}

.toolbelt-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.45rem;
}

.rule {
  width: 100%;
  margin: 1rem 0;
  border-top: 2px dashed var(--muted);
}

.rule--animated {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  border-top: 0;
  overflow: hidden;
  padding: 0;
  white-space: nowrap;
  line-height: 1;
}

.rule-dash {
  flex: 0 0 0.375rem;
  display: block;
  height: 0;
  border-top: 2px solid var(--muted);
}

.rule-dash--accent {
  border-top: 8px solid #e67e22;
}

.contact-block {
  margin: 1rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 2rem;
}

.contact-line {
  margin: 0;
  font-size: 1.25rem;
}

.contact-link {
  color: #e67e22;
  font-weight: 900;
  text-decoration: none;
  font-size: 1.25rem;
}

.contact-link:hover,
.contact-link:focus-visible {
  text-decoration: underline;
}

.projects-cta {
  margin-top: 1rem;
  text-align: center;
}

.projects-btn {
  display: inline-block;
  padding: 0.45rem 1.1rem;
  border-radius: 6px;
  background: #e67e22;
  color: #ffffff;
  text-decoration: none;
  font-size: 1.1rem;
  width: 100%;
}

.projects-btn:hover,
.projects-btn:focus-visible {
  background: #cf6e1c;
}

.footer {
  position: fixed;
  right: 1rem;
  bottom: 0rem;
  color: var(--muted);
  font-size: 0.82rem;
}

@media (max-width: 640px) {
  .page {
    padding: 1.4rem;
  }

  .toolbelt-row {
    grid-template-columns: max-content minmax(0, 1fr);
    gap: 0.35rem 0.55rem;
  }

  .contact-block {
    gap: 0.5rem 1rem;
  }

  .contact-line,
  .contact-link {
    font-size: 1.05rem;
  }

  .footer {
    position: static;
    margin-top: 1rem;
  }
}
