:root {
  --bg: #030507;
  --bg-dot: #2a3340;
  --text: #a8a29e;
  --muted: #a8a29e;
  --line: #242a36;
  --panel: rgba(11, 14, 20, 0.9);
  --hover: #f4f4f5;
  --link-text: #d6d3d1;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Inter", "Segoe UI", sans-serif;
  color: var(--text);
  background-color: var(--bg);
  background-image: radial-gradient(circle, var(--bg-dot) 1.1px, transparent 1.1px);
  background-size: 20px 20px;
}

.page {
  width: min(780px, 92vw);
  margin: 0 auto;
  padding: 2.4rem 0 2rem;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}

.site-title {
  color: #ededf0;
  text-decoration: none;
  font-size: 1.95rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

nav {
  display: flex;
  gap: 1rem;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.content {
  margin-top: 1.3rem;
  padding: 0.3rem 0.1rem;
}

.lead-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.lead-list li {
  margin: 0.38rem 0;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 400;
}

.lead-list li::before {
  content: "◆";
  margin-right: 0.6rem;
  color: #f3f4f6;
  font-size: 0.75rem;
  position: relative;
  top: -0.05rem;
}

.lead-list .label {
  font-style: italic;
  color: var(--muted);
  font-weight: 600;
}

.group-block {
  margin-top: 0.7rem;
  border-radius: 8px;
  transition: transform 160ms ease;
}

.group-block:hover {
  transform: translateX(3px);
}

.group-label {
  margin: 0.25rem 0 0.35rem;
  font-style: italic;
  color: #a1a1aa;
  font-weight: 700;
  font-size: 1.12rem;
}

.single-line {
  margin: 0.25rem 0 0.35rem;
  color: var(--muted);
  font-size: 1.15rem;
}

.single-line::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 0.6rem;
  background: #f3f4f6;
  transform: rotate(45deg);
  transition: transform 160ms ease;
}

.group-block:hover .single-line::before {
  transform: rotate(0deg);
}

.group-label::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 0.6rem;
  background: #f3f4f6;
  transform: rotate(45deg);
  transition: transform 160ms ease;
}

.group-block:hover .group-label::before {
  transform: rotate(0deg);
}

.company-link {
  color: var(--link-text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  margin-left: 0.2rem;
}

.link-icon {
  width: 16px;
  height: 16px;
  vertical-align: -3px;
  margin-right: 0.15rem;
  border-radius: 3px;
  background: #ffffff;
  border: 1px solid #d6d3d1;
  box-shadow: 0 0 0 1px rgba(41, 37, 36, 0.65);
}

.experience-lines {
  margin-top: 0.15rem;
  margin-left: 1.25rem;
}

.experience-lines p {
  margin: 0.55rem 0;
  line-height: 1.6;
  font-size: 1.12rem;
  color: var(--muted);
}

.project-lines {
  margin-top: 0.15rem;
  margin-left: 1.25rem;
}

.project-lines p {
  margin: 0.55rem 0;
  line-height: 1.6;
  font-size: 1.12rem;
  color: var(--muted);
}

strong {
  color: inherit;
  font-weight: 700;
}

.footer {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.signature {
  font-family: "Caveat", cursive;
  font-size: 3.9rem;
  line-height: 1;
  color: #b7b7bd;
}

.links {
  margin-top: 0.4rem;
  display: flex;
  gap: 0.8rem;
}

.links a {
  color: var(--muted);
  text-decoration: none;
}

.copyright {
  margin-top: 0.75rem;
  color: #78716c;
  font-size: 0.9rem;
}

@media (max-width: 680px) {
  .page {
    width: min(92vw, 640px);
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-title {
    font-size: 1.5rem;
  }

  .signature {
    font-size: 3rem;
  }
}
