@import url("https://fonts.googleapis.com/css2?family=SN+Pro:ital,wght@0,200..900;1,200..900&display=swap");

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #eee9e1;
  --ink: #13100e;
  --muted: #867e73;
  --rule: #b4aea3;
  --accent: #b14628;
}

html,
body {
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "SN Pro", system-ui, sans-serif;
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.75;
  padding: 3rem 2rem;
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.name {
  font-family: "SN Pro", system-ui, sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.6px;
  line-height: 1.05;
  margin-bottom: 0.5rem;
}

.role {
  color: var(--muted);
  font-size: 11.2px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}

.section-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 0.5rem;
  margin: 2.6rem 0 1.6rem;
}

.project {
  display: block;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  color: inherit;
  transition: background 0.25s ease;
}

.project:last-child {
  border-bottom: none;
}

.project:hover .proj-name {
  color: var(--accent);
}

.proj-name {
  font-family: "SN Pro", system-ui, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.proj-stack {
  font-size: 10.8px;
  color: var(--muted);
  letter-spacing: 0.03em;
  margin-top: 0.25rem;
  font-weight: 400;
}

footer {
  border-top: 1px solid var(--rule);
  padding-top: 1.3rem;
  margin-top: auto;
  font-size: 10.2px;
  color: var(--muted);
  letter-spacing: 0.06em;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 1.7rem;
}

footer a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
  font-family: "SN Pro", system-ui, sans-serif;
}

footer a:hover {
  color: var(--accent);
}

footer address {
  font-style: normal;
}

.lang-toggle {
  position: fixed;
  top: 1.6rem;
  right: 1.6rem;
  display: flex;
  border: 1px solid var(--rule);
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg);
}

.lang-toggle button {
  background: none;
  border: none;
  padding: 0.38rem 0.7rem;
  font-family: "SN Pro", system-ui, sans-serif;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
}

.lang-toggle button:first-child {
  border-right: 1px solid var(--rule);
}

.lang-toggle button.active {
  background: var(--ink);
  color: var(--bg);
}

.lang-toggle button:not(.active):hover {
  color: var(--ink);
  background: rgba(26, 23, 20, 0.05);
}
