/* Reset & base */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Inter", "Trebuchet MS", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #2a3a52; /* soft slate */
  background-color: #e9f2fb; /* gentle sky tint — no patterns */
  line-height: 1.6;
}

/* Page layout */
.page {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px;
}

/* Site header */
.site-header {
  margin: 6px 0 18px;
  text-align: center;
}
.site-title {
  margin: 0;
  font-weight: 700;
  font-size: clamp(24px, 5vw, 34px);
  color: #23344b;
}
.site-subtitle {
  margin: 8px 0 0;
  color: #486287;
  font-size: 16px;
}

/* Sections */
.section { margin: 26px 0; }
.section-intro { color: #425b7a; margin-top: 0; }

/* Section titles with subtle accent */
.section-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  color: #2a3a52;
  margin: 0 0 10px;
  position: relative;
  padding-bottom: 4px;
}
.section-title::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 56px; height: 2px;
  background: linear-gradient(90deg, #7aa5d8, #b7d0ea);
  border-radius: 2px;
  transition: width 300ms ease;
}
.section-title:hover::after { width: 120px; }

.inline-gif {
  width: 24px;
  height: 24px;
  object-fit: contain;
  vertical-align: middle;
}

/* Cards */
.card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 8px 22px rgba(34, 52, 75, 0.12);
}
.card + .card { margin-top: 12px; }

/* About banner */
.about-header { margin-bottom: 10px; }
.about-banner {
  display: block;
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(34, 52, 75, 0.15);
  margin-bottom: 10px;
}
.about-card p { margin: 0 0 12px; color: #2d4161; }

/* Journal */
.journal-card .entry {
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(34, 52, 75, 0.15);
}
.journal-card .entry:last-child { border-bottom: none; }
.entry-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}
.entry-title {
  margin: 0;
  font-size: 18px;
  color: #2a3a52;
}
.entry-date {
  font-size: 14px;
  color: #5b78a3;
}
.entry-body {
  margin: 0;
  color: #2d4161;
}

/* Music */
.music-card .playlist {
  list-style: none;
  padding: 0;
  margin: 10px 0 14px;
}
.music-card .playlist li {
  margin: 6px 0;
  color: #2d4161;
}
.embed-wrap {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(34, 52, 75, 0.12);
}
.spotify-embed {
  display: block;
  border: 0;
}

/* Timeline */
.timeline-card { padding-top: 12px; }
.timeline-list {
  list-style: none;
  padding: 0;
  margin: 10px 0;
}
.timeline-list li {
  display: grid;
  grid-template-columns: 16px 100px 1fr;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(34, 52, 75, 0.15);
}
.timeline-list li:last-child { border-bottom: none; }
.milestone-dot {
  width: 10px;
  height: 10px;
  background: #7aa5d8;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(122, 165, 216, 0.2);
}
.milestone-date {
  font-weight: 600;
  color: #23344b;
}
.milestone-text { color: #2f4670; }

/* Contact */
.contact-card a {
  color: #28558e;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid rgba(40, 85, 142, 0.25);
}
.contact-card a:hover {
  color: #1f4673;
  border-bottom-color: rgba(40, 85, 142, 0.5);
}
.small-note { color: #486287; margin-top: 6px; }

/* Footer */
.footer {
  margin: 28px 0 12px;
  text-align: center;
  color: #3b516f;
  font-size: 14px;
}
.footer-nav { margin-bottom: 8px; }
.footer-link {
  color: #28558e;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid rgba(40, 85, 142, 0.25);
}
.footer-link:hover {
  color: #1f4673;
  border-bottom-color: rgba(40, 85, 142, 0.5);
}
.footer-copy { margin: 6px 0 0; }

/* Motion sensitivity */
@media (prefers-reduced-motion: reduce) {
  .section-title::after { transition: none; }
  .footer-link { transition: none; }
}