@import url("https://fonts.googleapis.com/css2?family=Literata:opsz,wght@7..72,500;7..72,600&family=Sometype+Mono:wght@400;500&display=swap");

:root {
  --paper: #fffef9;
  --ink: #171717;
  --muted: #666;
  --line: #ddd8cc;
  --accent: #234e52;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f0ece3;
  color: var(--ink);
  font-family: "Literata", Georgia, serif;
  line-height: 1.55;
}

.sheet {
  max-width: 44rem;
  margin: 2rem auto;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 2.5rem 1.5rem 2rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

@media (min-width: 640px) {
  .sheet {
    padding: 3rem 2.5rem 2.5rem;
  }
}

.header {
  display: grid;
  gap: 1.25rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .header {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.02em;
}

.headline {
  margin: 0.45rem 0 0;
  font-family: "Sometype Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-family: "Sometype Mono", monospace;
  font-size: 0.78rem;
}

.contact a {
  color: var(--accent);
  text-decoration: none;
}

.block {
  margin-bottom: 2rem;
}

.block h2 {
  margin: 0 0 0.85rem;
  font-family: "Sometype Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--muted);
}

.block p {
  margin: 0;
}

.role {
  padding: 0 0 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.role:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.role-top {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-bottom: 0.35rem;
}

@media (min-width: 640px) {
  .role-top {
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
  }
}

.role h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
}

.role-top span {
  font-family: "Sometype Mono", monospace;
  font-size: 0.72rem;
  color: var(--muted);
  white-space: nowrap;
}

.role p {
  color: #444;
  font-size: 0.98rem;
}

.split {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .split {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.tags {
  font-size: 0.95rem;
  color: #333;
}
