@charset "UTF-8";
.accomplishment__header {
  font-size: 1rem;
}

/* -------------------------------------------------------
 * Palette — neutral modern */
:root {
  --font-main: "Inter", "Helvetica Neue", Arial, sans-serif;
  --bg: #fafafa;
  --bg-accent: #ffffff;
  --text-main: #1b1b1b;
  --text-muted: #6e6e6e;
  --text-soft: #8a8a8a;
  --accent: #2a66e6 /* soft, timeless blue */;
  --accent-soft: rgba(42, 102, 230, 0.12);
  --border: #e1e1e1;
  --timeline-line: #d4d4d4;
  --card-shadow: rgba(0, 0, 0, 0.06);
}

/* -------------------------------------------------------
 * Global reset */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  background: var(--bg);
  colour: var(--text-main);
  font-family: var(--font-main);
  -webkit-font-smoothing: antialiased;
}

/* -------------------------------------------------------
 * Header */
.site-header {
  max-width: 860px;
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
  text-align: center;
}

.site-header h1 {
  font-size: 2.6rem;
  margin: 0 0 0.75rem;
  font-weight: 600;
  colour: var(--text-main);
}

.site-header p {
  colour: var(--text-muted);
  font-size: 1.15rem;
  margin: 0;
}

/* -------------------------------------------------------
 * Banner */
.banner {
  max-width: 60rem;
  margin: 0 auto 2.5rem;
  padding: 2rem 1.5rem;
  font-size: 1.2rem;
  line-height: 1.65;
  colour: var(--text-main);
}
.banner p {
  margin-bottom: 1rem;
}

/* -------------------------------------------------------
 * Timeline section title */
.timeline-heading {
  max-width: 60rem;
  margin: 0 auto 2.5rem;
  padding: 0 1rem;
  font-size: 2.1rem;
  font-weight: 700;
  colour: var(--text-main);
  text-align: left;
}

/* -------------------------------------------------------
 * Timeline container */
.timeline {
  max-width: 860px;
  margin: 0 auto;
  padding: 1rem 1.5rem 4rem;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 1.1rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--timeline-line);
}

/* -------------------------------------------------------
 * Timeline item */
.timeline-item {
  position: relative;
  margin: 2.5rem 0 2.5rem 2.5rem;
  display: flex;
}

.timeline-marker {
  position: absolute;
  left: -1.35rem;
  top: 1.35rem;
  width: 14px;
  height: 14px;
  background: var(--accent);
  border-radius: 50%;
  border: 2px solid var(--bg-accent);
}

/* -------------------------------------------------------
 * Card surface */
.timeline-content {
  background: var(--bg-accent);
  padding: 1.5rem 1.75rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 2px 6px var(--card-shadow);
  transition: box-shadow 0.15s ease-out, transform 0.15s ease-out;
}

.timeline-content:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* -------------------------------------------------------
 * Card typography */
.timeline-date {
  margin: 0 0 0.3rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  colour: var(--text-soft);
  letter-spacing: 0.06em;
}

.timeline-title {
  margin: 0 0 0.4rem;
  font-size: 1.3rem;
  font-weight: 600;
  colour: var(--text-main);
}

.timeline-type {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  colour: var(--text-muted);
}

.timeline-summary {
  margin: 0 0 1.1rem;
  font-size: 1.05rem;
  line-height: 1.6;
  colour: var(--text-main);
}

/* -------------------------------------------------------
 * Card link */
.timeline-link {
  colour: var(--accent);
  text-decoration: none;
  padding: 0.45rem 0.85rem;
  border-radius: 6px;
  background: var(--accent-soft);
  font-weight: 500;
  font-size: 0.9rem;
  transition: background 0.15s ease-out, transform 0.15s ease-out;
}

.timeline-link:hover {
  background: rgba(42, 102, 230, 0.18);
  transform: translateY(-1px);
}

/* -------------------------------------------------------
 * Post page */
.post {
  max-width: 60rem;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
}

.post-back__link {
  colour: var(--accent);
  text-decoration: none;
  font-size: 1rem;
}

.post-back__link:hover {
  text-decoration: underline;
}

.post-header {
  margin-bottom: 2rem;
}

.post-date {
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  colour: var(--text-muted);
}

.post-title {
  colour: var(--text-main);
  font-size: 2.4rem;
  font-weight: 700;
  margin: 0 0 1rem;
}

.post-meta {
  colour: var(--text-soft);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.post-body {
  font-size: 1.15rem;
  line-height: 1.7;
  colour: var(--text-main);
}
.post-body p {
  margin-bottom: 1.2rem;
}
.post-body img {
  max-width: 100%;
  display: block;
  height: auto;
  margin: 1.8rem auto;
  border-radius: 4px;
}

/* LOW importance */
.timeline-item--low .timeline-marker {
  width: 8px;
  height: 8px;
  background: #d0d0d0;
  border-color: #ffffff;
}
.timeline-item--low .timeline-content {
  background: #fdfdfd;
  border-color: #e9e9e9;
  box-shadow: none;
}
.timeline-item--low .timeline-title {
  font-weight: 500;
  font-size: 1.2rem;
  colour: var(--text-main);
}
.timeline-item--low .timeline-summary {
  colour: var(--text-muted);
}
.timeline-item--low .timeline-link {
  background: transparent;
  colour: var(--text-muted);
  padding: 0;
  border-radius: 0;
  text-decoration: underline;
}
.timeline-item--low .timeline-link:hover {
  colour: var(--text-main);
}
.timeline-item--low .timeline-date {
  colour: var(--text-muted);
}

/* MEDIUM importance (your current baseline) */
.timeline-item--medium .timeline-marker {
  width: 14px;
  height: 14px;
}
.timeline-item--medium .timeline-content {
  box-shadow: 0 2px 6px var(--card-shadow);
}
.timeline-item--medium .timeline-title {
  font-weight: 600;
}

/* HIGH importance */
.timeline-item--high .timeline-marker {
  width: 18px;
  height: 18px;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.timeline-item--high .timeline-content {
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}
.timeline-item--high .timeline-title {
  font-weight: 700;
  colour: var(--accent);
}
.timeline-item--high .timeline-date {
  colour: var(--accent);
}

/* -------------------------------------------------------
 * Responsive tweaks — improve spacing on narrow screens */
@media (max-width: 600px) {
  .timeline {
    /* Increase horizontal padding and account for safe-area on notched devices */
    padding: 1rem max(1.25rem, env(safe-area-inset-right)) 4rem max(1.25rem, env(safe-area-inset-left));
  }
  .timeline::before {
    /* Nudge the vertical line slightly so it’s not hugging the edge */
    left: 1.5rem;
  }
  .timeline-item {
    /* Give a little extra room between the line/marker and the card */
    margin: 2rem 0 2rem 2.75rem;
  }
  .timeline-marker {
    /* Re-align the marker relative to the adjusted line and margins */
    left: -0.95rem;
  }
}

/*# sourceMappingURL=index.css.map */
