:root {
  color-scheme: light;
  --bg: #f7f9fc;
  --surface: #ffffff;
  --surface-muted: #eef3fb;
  --ink: #05070a;
  --muted: #5b6472;
  --line: #d8dee9;
  --blue: #2563eb;
  --blue-dark: #0b1f3a;
  --blue-soft: #e8f0ff;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
}

body {
  margin: 0;
  min-width: 320px;
}

a {
  color: inherit;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 72px;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(247, 249, 252, 0.94);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 720;
  text-decoration: none;
}

.brand img {
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 0.92rem;
}

.nav-links a,
.site-footer a {
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"],
.site-footer a:hover {
  color: var(--blue);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 72px;
  align-items: end;
  min-height: 520px;
  padding: 96px 72px 72px;
}

.hero h1,
.page-title h1,
.plain-section h1 {
  margin: 0;
  color: var(--ink);
  font-size: 4rem;
  line-height: 1.02;
  font-weight: 760;
}

.lede,
.page-title p {
  max-width: 560px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.button,
.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  font-weight: 700;
}

.button {
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--ink);
  color: #ffffff;
  text-decoration: none;
}

.button:hover {
  border-color: var(--blue);
  background: var(--blue);
}

.text-link {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 0.28em;
}

.hero-panel {
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}

.quick-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.quick-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
  border-bottom: 1px solid var(--line);
}

.quick-list span {
  color: var(--ink);
  font-weight: 760;
}

.quick-list small {
  color: var(--muted);
  font-size: 0.82rem;
}

.content-band,
.page-shell {
  padding: 72px;
}

.section-heading h2 {
  max-width: 680px;
  margin: 0;
  color: var(--ink);
  font-size: 2.2rem;
  line-height: 1.12;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.project-card,
.project-detail,
.empty-state,
.plain-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.project-card {
  padding: 24px;
}

.project-card h3,
.project-detail h2,
.empty-state h2,
.plain-section h2 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 1.25rem;
}

.project-card p,
.project-detail p,
.empty-state p,
.plain-section p {
  margin: 0;
  color: var(--muted);
}

.project-card .text-link {
  margin-top: 16px;
}

.page-shell {
  max-width: 1120px;
  margin: 0 auto;
}

.page-title {
  margin-bottom: 36px;
}

.project-detail {
  display: grid;
  grid-template-columns: minmax(160px, 0.32fr) minmax(0, 0.68fr);
  gap: 28px;
  padding: 28px;
}

.project-detail.private {
  background: var(--surface-muted);
}

.project-detail + .project-detail,
.plain-section + .plain-section {
  margin-top: 16px;
}

.project-detail .text-link {
  grid-column: 2;
}

.empty-state,
.plain-section {
  padding: 28px;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 860px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 20px;
  }

  .nav-links {
    gap: 18px;
  }

  .hero,
  .content-band,
  .page-shell {
    padding: 56px 20px;
  }

  .hero,
  .project-grid,
  .project-detail {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 48px;
    min-height: auto;
  }

  .hero h1,
  .page-title h1,
  .plain-section h1 {
    font-size: 2.8rem;
  }

  .project-detail .text-link {
    grid-column: auto;
  }
}
