:root {
  --linen: #f8f4ea;
  --ink: #2c2418;
  --brass: #a77a31;
  --old-ink: #243f5a;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--linen);
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--linen);
  color: var(--ink);
  font-family: Garamond, "Iowan Old Style", "Palatino Linotype", Palatino,
    Georgia, serif;
}

main {
  min-height: 100vh;
  padding: clamp(24px, 4vw, 48px);
}

.intro {
  position: relative;
  width: min(100%, 520px);
}

.mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 42px;
  color: var(--ink);
}

.node {
  width: 8px;
  height: 8px;
  border: 1px solid rgba(44, 36, 24, 0.68);
  border-radius: 50%;
}

.node:last-child {
  border-color: var(--brass);
  background: rgba(167, 122, 49, 0.1);
}

.edge {
  position: relative;
  width: 28px;
  height: 1px;
  background: rgba(44, 36, 24, 0.46);
}

.edge::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 50%;
  width: 5px;
  height: 5px;
  border-top: 1px solid rgba(44, 36, 24, 0.46);
  border-right: 1px solid rgba(44, 36, 24, 0.46);
  transform: translateY(-50%) rotate(45deg);
}

h1 {
  margin: 0;
  font-size: clamp(2.6rem, 6.5vw, 4.7rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

.subtitle {
  margin: 12px 0 0;
  color: rgba(44, 36, 24, 0.74);
  font-family: "Avenir Next", Avenir, "Gill Sans", "Trebuchet MS", sans-serif;
  font-size: clamp(0.98rem, 2vw, 1.12rem);
  line-height: 1.4;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 44px;
}

.tag {
  display: inline-flex;
  align-items: center;
  color: rgba(44, 36, 24, 0.82);
  font-family: "Avenir Next", Avenir, "Gill Sans", "Trebuchet MS", sans-serif;
  font-size: 0.9rem;
  line-height: 1.4;
  text-decoration: underline;
  text-decoration-color: rgba(167, 122, 49, 0.52);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.28em;
  transition:
    color 180ms ease,
    text-decoration-color 180ms ease;
}

.tag:hover,
.tag:focus-visible {
  color: var(--old-ink);
  text-decoration-color: var(--old-ink);
  outline: none;
}

.tag:focus-visible {
  box-shadow: 0 2px 0 rgba(36, 63, 90, 0.24);
}

@media (max-width: 560px) {
  main {
    padding: 28px 22px;
  }

  .tags {
    gap: 14px;
    margin-top: 38px;
  }
}
