@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@300;400&family=PT+Sans:wght@400;700&display=swap");

:root {
  --blue: #7393b3;
  --blue-hover: #5f7e9d;
  --tan: #b39373;
  --green: #93b373;
  --orange: #f54927;
  --bg: #f7f9fb;
  --surface: #ffffff;
  --border: #e1e6ec;
  --border-strong: #c4ccd5;
  --text-tertiary: #94a0ad;
  --text-secondary: #6b7785;
  --text-primary: #2d3845;
  --font-header: "Manrope", system-ui, sans-serif;
  --font-body: "PT Sans", system-ui, sans-serif;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(16px, 4vw, 64px);
  background: rgb(247 249 251 / 92%);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-header);
  font-size: 20px;
  font-weight: 300;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  color: var(--blue);
  font-family: var(--font-body);
  font-size: 14px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 32px);
  color: var(--text-secondary);
  font-size: 14px;
}

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

.site-nav a:hover {
  color: var(--text-primary);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
  gap: 48px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0 48px;
  align-items: end;
}

.hero-image,
.hero-overlay {
  display: none;
}

.hero-content {
  color: var(--text-primary);
}

.workspace-shot {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.workspace-shot img {
  display: block;
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--text-tertiary);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-header);
  font-weight: 300;
  letter-spacing: -0.02em;
}

h1 {
  max-width: 720px;
  margin-bottom: 16px;
  font-size: clamp(44px, 8vw, 76px);
  line-height: 1.05;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.1;
}

h3 {
  margin-bottom: 12px;
  font-size: 28px;
  line-height: 1.2;
}

.accent {
  color: var(--orange);
}

.hero-copy {
  max-width: 640px;
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.6;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 16px;
  text-decoration: none;
}

.button.primary {
  background: var(--blue);
  color: white;
}

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

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

.button.secondary.inverse {
  color: var(--blue);
}

.summary-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.summary-band div {
  min-height: 168px;
  padding: 24px;
  border-right: 1px solid var(--border);
}

.summary-band div:last-child {
  border-right: 0;
}

.metric {
  display: block;
  margin-bottom: 24px;
  color: var(--orange);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.summary-band strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: 400;
}

.summary-band p,
.section-heading p,
.project-card p,
.workflow-list p,
.site-footer p,
.note-panel p,
.context-panel p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.table-section,
.workflow-section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 32px;
}

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

.project-card {
  display: flex;
  min-height: 288px;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.project-card:hover {
  border-color: var(--border-strong);
}

.project-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 24px;
}

.status,
.project-type {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  font-size: 12px;
}

.status.live {
  background: rgb(115 147 179 / 14%);
  color: var(--blue-hover);
}

.status.private {
  background: rgb(245 73 39 / 10%);
  color: #b83720;
}

.status.draft {
  background: rgb(147 179 115 / 14%);
  color: #5f7d40;
}

.project-type {
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

.project-card p {
  flex: 1;
}

.project-link {
  align-self: flex-start;
  margin-top: 24px;
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.project-link.disabled {
  color: var(--text-tertiary);
  cursor: default;
  text-decoration: none;
}

.workflow-section {
  padding-top: 0;
}

.workflow-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.workflow-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
}

.workflow-list span {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  color: var(--blue);
}

.workflow-list strong,
.note-panel strong,
.context-panel strong {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 24px clamp(16px, 4vw, 64px);
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.site-footer p {
  margin-bottom: 0;
}

.site-footer a {
  color: var(--blue);
}

.subpage .table-section {
  padding-top: 64px;
}

.note-panel,
.contact-panel,
.context-panel {
  max-width: 720px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.contact-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.sprout {
  position: fixed;
  right: 24px;
  bottom: 24px;
  color: var(--text-tertiary);
  font-size: 20px;
  opacity: 0.7;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .workspace-shot {
    max-width: 560px;
  }

  .summary-band,
  .project-grid,
  .workflow-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .summary-band div:nth-child(2) {
    border-right: 0;
  }

  .summary-band div:last-child {
    grid-column: 1 / -1;
    border-top: 1px solid var(--border);
  }
}

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

  .site-nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    padding-top: 48px;
  }

  .workspace-shot img {
    height: 240px;
  }

  .summary-band,
  .project-grid,
  .workflow-list {
    grid-template-columns: 1fr;
  }

  .summary-band div,
  .summary-band div:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .summary-band div:last-child {
    border-bottom: 0;
  }
}
