:root {
  /* --- PALETTE: my best guess at the vibe from kalso.vaangroup.com ---
     swap these hex values once you eyeball the real site next to this */
  --bg-color: #f2ede4;       /* warm cream background */
  --text-color: #2a2a26;     /* near-black, warm not cold */
  --accent-color: #2d3d2f;   /* deep forest green */
  --accent-soft: #c1622d;    /* terracotta/rust, use sparingly */
  --line-color: #ddd4c4;     /* soft divider lines */
 
  --font-display: 'Fraunces', serif;   /* headline / name font */
  --font-body: 'Work Sans', sans-serif; /* body / nav font */
 
  --sidebar-width: 180px;
  --max-width: 640px;
}

* { box-sizing: border-box; }
.caption {
  font-size: 0.85rem;
  color: var(--text-color);
  opacity: 0.65;
  margin-top: 0.5rem;
  font-style: italic;
}
.simple-list {
  list-style: disc;
  padding-left: 1.25rem;
}

.simple-list li {
  margin-bottom: 0.5rem;
}

.simple-list a {
  color: var(--text-color);
  font-size: 1rem;
  font-weight: 400;
  text-decoration: underline;
}

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

body {
  margin: 0;
  background: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-body);
  line-height: 1.6;
}
 
.layout {
  display: flex;
  min-height: 100vh;
}
 
/* --- LEFT SIDEBAR --- */
.sidebar {
  width: var(--sidebar-width);
  flex-shrink: 0;
  padding: 3rem 1.5rem;
  border-right: 1px solid var(--line-color);
}
 
.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
 
.sidebar li {
  margin-bottom: 1rem;
}
 
.sidebar a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}
 
.sidebar a:hover {
  color: var(--accent-color);
  border-bottom-color: var(--accent-color);
}
 
/* --- MAIN CONTENT --- */
.main {
  flex: 1;
  display: flex;
  justify-content: center;
  padding: 3rem 2rem;
}
 
.hero {
  max-width: var(--max-width);
  text-align: center;
}
 
.name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.75rem;
  margin: 0 0 1rem;
  color: var(--accent-color);
}
 
.quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--text-color);
  opacity: 0.85;
  max-width: 32ch;
  margin: 0 auto 2rem;
}
 
.hero-image img {
  max-width: 100%;
  border-radius: 4px;
  display: block;
  margin: 0 auto;
}
 
.intro {
  max-width: var(--max-width);
  margin-top: 2.5rem;
  font-size: 1rem;
}
 
/* --- PROJECTS PAGE --- */
.page-content {
  max-width: var(--max-width);
  width: 100%;
}
 
.page-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.25rem;
  color: var(--accent-color);
  margin-bottom: 2rem;
}
 
.project-ideas h2,
.project-list h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid var(--line-color);
  padding-bottom: 0.4rem;
}
 
.idea-list {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: 3rem;
}
 
.idea-list li {
  margin-bottom: 0.6rem;
  opacity: 0.85;
}
 
.project-links {
  list-style: none;
  padding: 0;
}
 
.project-links li {
  margin-bottom: 1.5rem;
}
 
.project-links a {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent-color);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
 
.project-links a:hover {
  border-bottom-color: var(--accent-color);
}
 
.project-desc {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
  opacity: 0.75;
}
 
/* --- ABOUT PAGE --- */
.about-photo {
  text-align: center;
  margin-bottom: 2rem;
}

.about-photo img {
  max-width: 280px;
  width: 100%;
  border-radius: 4px;
  display: block;
  margin: 0 auto;
}

.about-text {
  max-width: var(--max-width);
}

.about-text p {
  margin-bottom: 1rem;
}

/* --- BLOG POST --- */
.post-header {
  margin-bottom: 2rem;
}

.post-date {
  display: block;
  font-size: 0.85rem;
  opacity: 0.6;
  margin-bottom: 0.5rem;
}

article p {
  margin-bottom: 1.2rem;
}

article h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

code {
  background: var(--line-color);
  padding: 0.1rem 0.35rem;
  border-radius: 3px;
  font-size: 0.9em;
}

.back-link {
  margin-top: 2.5rem;
}

.back-link a {
  font-size: 0.9rem;
  color: var(--accent-color);
  text-decoration: none;
}

.back-link a:hover {
  text-decoration: underline;
}

/* --- MOBILE --- */
@media (max-width: 640px) {
  .layout {
    flex-direction: column;
  }
  .sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--line-color);
    padding: 1.5rem;
  }
  .sidebar ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
  }
  .sidebar li {
    margin-bottom: 0;
  }
  .name {
    font-size: 2rem;
  }
}