/* Noah Ronneberg - Professional color palette: navy, charcoal, gold accents */
:root {
  --bg-dark: #0f1419;
  --bg-mid: #1a2332;
  --bg-card: #243447;
  --text-primary: #e8e6e3;
  --text-muted: #9ca3af;
  --accent: #c9a227;
  --accent-hover: #d4af37;
  --border: #2d3a4d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--bg-dark);
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 1.25rem 2rem;
  display: flex;
  gap: 2rem;
  background: rgba(15, 20, 25, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s;
}

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

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-mid) 100%);
}

.hero-quote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-style: italic;
  color: var(--text-muted);
  margin: 0 0 0.25rem;
}

.hero-quote-attribution {
  font-size: 0.9rem;
  color: var(--text-muted);
  opacity: 0.8;
  margin: 0 0 3rem;
}

.hero-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 700;
  letter-spacing: 0.25em;
  margin: 0 0 0.5rem;
  color: var(--text-primary);
}

.hero-title {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
}

.hero-meta {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
}

/* Sections */
.section {
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.section h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--text-primary);
  margin: 0 0 2rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.back-link {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}

.back-link:hover {
  color: var(--accent);
}

/* About */
.about-content p {
  margin: 0 0 1.25rem;
  color: var(--text-primary);
}

.about-content p:last-child {
  margin-bottom: 0;
}

/* Skills */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.skill-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: border-color 0.2s, transform 0.2s;
}

.skill-item:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.skill-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.skill-item span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
}

.skills-categories {
  margin-top: 2rem;
}

.skills-categories h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent);
  margin: 1.5rem 0 0.5rem;
}

.skills-categories h3:first-child {
  margin-top: 0;
}

.skills-categories p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Projects */
.projects-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.project-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s;
}

.project-card:hover {
  border-color: var(--accent);
}

.project-logo {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  object-fit: contain;
  border-radius: 6px;
}

.project-info {
  flex: 1;
  min-width: 0;
}

.project-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 0.5rem;
}

.project-blurb {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Experience */
.project {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}

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

.project h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 0.25rem;
}

.project-meta {
  font-size: 0.9rem;
  color: var(--accent);
  margin: 0 0 1rem;
}

.project p {
  margin: 0 0 1rem;
  color: var(--text-primary);
}

.project p:last-child {
  margin-bottom: 0;
}

/* Principles */
.principles-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.principles-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.principles-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

/* Footer */
.footer {
  text-align: center;
  padding: 3rem 2rem;
  border-top: 1px solid var(--border);
}

.footer p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 640px) {
  .nav {
    padding: 1rem;
    gap: 1.25rem;
  }

  .hero-name {
    letter-spacing: 0.15em;
  }

  .section {
    padding: 3rem 1.25rem;
  }

  .skills-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 1rem;
  }
}
