:root {
  --parchment: #f3eee2;
  --ink: #231f16;
  --muted: #6d6656;
  --accent: #8f3f2f;
  --card: #fbf7ef;
  --border: rgba(35, 31, 22, 0.14);
  --shadow: rgba(35, 31, 22, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background: radial-gradient(
    circle at top right,
    #efe4cf 0%,
    var(--parchment) 45%,
    #e8deca 100%
  );
  min-height: 100vh;
  line-height: 1.55;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  background-image: radial-gradient(
    rgba(35, 31, 22, 0.06) 0.5px,
    transparent 0.5px
  );
  background-size: 3px 3px;
  opacity: 0.18;
}

.layout {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  padding: 4rem 1.4rem 4rem;
}

.hero {
  text-align: center;
  margin-bottom: 3.5rem;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.74rem;
  color: var(--accent);
  font-weight: bold;
}

h1 {
  margin: 0.6rem 0 1.4rem;
  font-size: clamp(2rem, 6vw, 3.2rem);
  line-height: 1.1;
  font-weight: normal;
  letter-spacing: -0.01em;
}

.lede {
  margin: 0 auto 1.2rem;
  max-width: 620px;
  font-size: 1.12rem;
  color: var(--ink);
}

.ethos {
  margin: 0 auto;
  max-width: 620px;
  font-size: 0.98rem;
  font-style: italic;
  color: var(--muted);
}

.projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.4rem;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.6rem 1.6rem 1.4rem;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 10px 30px -18px var(--shadow);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

a.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -20px var(--shadow);
  border-color: var(--accent);
}

.card-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.7rem;
}

.glyph {
  font-size: 1.1rem;
  color: var(--accent);
  line-height: 1;
}

.card h2 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: normal;
}

.card-desc {
  margin: 0 0 1.4rem;
  color: var(--muted);
  font-size: 1rem;
  flex: 1;
}

.card-link {
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  font-family: "Courier New", monospace;
}

.card--soon {
  opacity: 0.7;
}

.card--soon .card-link {
  color: var(--muted);
}

.footer {
  margin-top: 4rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer p {
  margin: 0.4rem 0;
}

.colophon {
  font-style: italic;
  letter-spacing: 0.02em;
}

@media (max-width: 480px) {
  .layout {
    padding: 2.6rem 1.1rem 3rem;
  }
}
