:root {
  --bg: #242424;
  --text: #d8d8d8;
  --muted: #888888;
  --freebsd-red: #e11d48;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 32px 24px;
  width: 100%;
}

h1 {
  font-size: 2rem;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.subtitle {
  font-size: 1.05rem;
  color: var(--freebsd-red);
  font-weight: 600;
  margin-bottom: 16px;
}

h2 {
  font-size: 1.15rem;
  color: #ffffff;
  font-weight: 700;
  margin: 28px 0 12px 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

h3 {
  font-size: 1.05rem;
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 6px;
}

p {
  margin-bottom: 14px;
  color: var(--text);
}

a {
  color: var(--freebsd-red);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.muted {
  color: var(--muted);
}

.nav-header {
  padding: 18px 0;
  background: var(--bg);
}

.nav-container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
}

.nav-brand .red {
  color: var(--freebsd-red);
}

.nav-links {
  display: flex;
  gap: 20px;
  font-size: 0.9rem;
}

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

.nav-links a:hover,
.nav-links a.active {
  color: var(--freebsd-red);
}

.split-layout {
  display: grid;
  grid-template-columns: 440px 1fr;
  gap: 48px;
  align-items: start;
}

.left-col,
.right-col {
  display: flex;
  flex-direction: column;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
}

.contact-row {
  display: flex;
  justify-content: space-between;
}

.contact-label {
  color: var(--muted);
}

.contact-val {
  color: #fff;
}

.skills-block {
  margin-bottom: 14px;
}

.skills-group-title {
  font-weight: 600;
  color: #fff;
  font-size: 0.92rem;
  margin-bottom: 2px;
}

.skills-group-items {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
}

.project-item {
  margin-bottom: 28px;
}

.project-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.project-desc {
  font-size: 0.92rem;
  color: #d0d0d0;
  margin-bottom: 8px;
  line-height: 1.6;
}

.project-links {
  font-size: 0.88rem;
}

.footer {
  padding: 32px 0;
  margin-top: 40px;
  font-size: 0.85rem;
  color: var(--muted);
  background: var(--bg);
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 860px) {
  .split-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}