/* Portfolio/style.css — styles for Khonner's PORTFOLIO site */
:root {
  --bg: #0c0c0e;
  --bg-raised: #141416;
  --gold: #c9a227;
  --gold-soft: #8a7020;
  --text: #ededea;
  --text-dim: #9a9a97;
  --rule: #2a2a2c;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

h1, h2, h3 {
  font-family: "Georgia", "Iowan Old Style", serif;
  font-weight: 400;
  margin: 0 0 0.6rem;
}

a { color: inherit; }

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--rule);
}

.brand {
  text-decoration: none;
  font-family: "Georgia", serif;
  letter-spacing: 0.05em;
  color: var(--gold);
}

.site-header nav a {
  text-decoration: none;
  margin-left: 1.75rem;
  font-size: 0.92rem;
  color: var(--text-dim);
}

.site-header nav a:hover { color: var(--text); }

.hero {
  max-width: 680px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem 3.5rem;
  text-align: center;
}

.eyebrow {
  color: var(--gold-soft);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  margin: 0 0 0.9rem;
}

.hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
}

.hero-sub {
  color: var(--text-dim);
  max-width: 55ch;
  margin: 1rem auto 0;
}

section {
  max-width: 820px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.resume h2, .projects h2, .contact h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.resume-block { margin-bottom: 2rem; }

.resume-block h3 {
  font-size: 1rem;
  color: var(--gold-soft);
  letter-spacing: 0.03em;
  margin-bottom: 0.9rem;
}

.entry {
  border-left: 2px solid var(--rule);
  padding-left: 1rem;
}

.entry-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.entry-title { font-weight: 600; }
.entry-date { color: var(--text-dim); font-size: 0.88rem; }
.entry-sub { color: var(--text-dim); margin: 0.25rem 0 0; }

.skills {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.skills li {
  border: 1px solid var(--rule);
  background: var(--bg-raised);
  padding: 0.4rem 0.85rem;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.projects-note {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.88rem;
  margin-top: -1.25rem;
  margin-bottom: 2rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 720px) {
  .project-grid { grid-template-columns: 1fr; }
}

.project {
  border: 1px solid var(--rule);
  background: var(--bg-raised);
  padding: 1.5rem;
}

.project p {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.contact {
  text-align: center;
  max-width: 480px;
}

.contact-line {
  margin: 0.4rem 0;
}

.contact-line a {
  color: var(--gold);
  text-decoration: none;
}

.contact-line a:hover { text-decoration: underline; }

.site-footer {
  display: flex;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--rule);
  color: var(--text-dim);
  font-size: 0.85rem;
}

.site-footer a { text-decoration: none; color: var(--text-dim); }
.site-footer a:hover { color: var(--gold); }
