:root {
  --bg: #0d1116;
  --text: #eef3f7;
  --muted: #b8c5cf;
  --surface: #151d25;
  --surface-2: #1a2430;
  --line: rgba(255, 255, 255, 0.08);
  --accent: #2ea66a;
  --accent-soft: #a8d6ff;
  --max: 980px;
  --header-bg: #0a0e13;
  --footer-bg: #121922;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  font-size: 1.0625rem;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}
.page-intro {
  position: relative;
  padding: 28px 0 30px;
  border-top: none;
}
/* Full-bleed rule above intro; .page-intro is inside .container so border-top alone was column-width */
.page-intro::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 100vw;
  margin-left: -50vw;
  border-top: 1px solid var(--line);
  pointer-events: none;
}
.page-intro h1 {
  margin-top: 0;
}
h1 {
  margin: 10px 0 0;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.2;
  letter-spacing: 0.2px;
}
h2 {
  margin: 0 0 12px;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1.25;
  letter-spacing: 0.2px;
}
.sub {
  color: var(--muted);
  margin: 0;
  max-width: 72ch;
  font-size: 1.12rem;
}
.section-lead {
  color: var(--muted);
  margin: 0 0 18px;
  max-width: 72ch;
  font-size: 1.1rem;
  line-height: 1.7;
}
section {
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}
section:nth-of-type(even) {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.01), rgba(255, 255, 255, 0));
}
.grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.card {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}
.card h3 {
  margin: 0 0 10px;
  font-size: 1.22rem;
  line-height: 1.35;
}
.work-location {
  display: block;
  margin-top: 2px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
  min-height: 1.3em;
}
.card p {
  margin: 0;
  color: #d5e0e8;
  line-height: 1.7;
}
.card ul {
  margin: 0;
  padding-left: 20px;
  color: #d5e0e8;
}
.card li {
  margin-bottom: 8px;
  line-height: 1.7;
}
.card li::marker {
  color: var(--accent-soft);
}
.work-image {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
  margin: 2px 0 14px;
}
ul { margin: 0; padding-left: 18px; color: var(--muted); }
.cta {
  display: inline-block;
  margin-top: 16px;
  text-decoration: none;
  background: var(--accent);
  color: #0d1116;
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: 8px;
  padding: 12px 20px;
}

@media (max-width: 768px) {
  section {
    padding: 34px 0;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .card {
    padding: 16px;
  }

  .work-image {
    height: 180px;
  }
}
