:root {
  --paper: #f5f0e7;
  --ink: #202221;
  --muted: #706f67;
  --lime: #d5f45a;
  --orange: #e9774e;
  --line: rgba(32, 34, 33, 0.16);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --mono: "DM Mono", monospace;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.45;
}

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

.hub-header,
.hub-main,
.hub-footer {
  width: min(920px, calc(100% - 48px));
  margin: 0 auto;
}

.hub-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 86px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  font-size: 13px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
  font: 500 11px var(--mono);
}

.hub-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 13px;
  color: var(--muted);
}

.hub-contacts a:hover {
  color: var(--orange);
}

.hub-main {
  padding: 72px 0 90px;
}

.eyebrow {
  font: 500 11px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0 0 24px;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
}

h1 {
  font: 600 clamp(48px, 8vw, 84px) / 0.9 var(--serif);
  letter-spacing: -0.05em;
  margin: 0;
}

h1 em {
  font-style: italic;
  font-weight: 600;
}

.lead {
  max-width: 520px;
  color: var(--muted);
  font-size: 17px;
  margin: 28px 0 48px;
}

.lead code {
  font-family: var(--mono);
  font-size: 0.9em;
  background: rgba(32, 34, 33, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
}

.project-list {
  display: grid;
  gap: 16px;
}

.project-card {
  display: grid;
  gap: 10px;
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.35);
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}

.project-card:hover {
  transform: translateY(-2px);
  border-color: rgba(32, 34, 33, 0.35);
  background: #fff;
}

.project-path {
  font: 500 12px var(--mono);
  color: var(--orange);
  letter-spacing: 0.04em;
}

.project-card h2 {
  margin: 0;
  font: 600 28px / 1.1 var(--serif);
}

.project-card p {
  margin: 0;
  color: var(--muted);
  max-width: 480px;
}

.project-go {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
}

.hub-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 620px) {
  .hub-header {
    height: auto;
    padding: 18px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .hub-main {
    padding: 48px 0 64px;
  }

  .hub-footer {
    flex-direction: column;
  }

  .project-card {
    padding: 22px;
  }
}
