:root {
  color: #202824;
  background: #eeeee9;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background:
    radial-gradient(circle at 88% 8%, rgba(108, 128, 117, 0.11), transparent 29rem),
    linear-gradient(rgba(40, 53, 46, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(40, 53, 46, 0.035) 1px, transparent 1px),
    #eeeee9;
  background-size: auto, 4rem 4rem, 4rem 4rem, auto;
}

a { color: inherit; text-decoration: none; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10;
  padding: 10px 14px;
  border-radius: 10px;
  color: #f5f5f1;
  background: #30483c;
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

.skip-link:focus { transform: translateY(0); }

.page-shell {
  width: min(1120px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.site-header {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #cdd1cb;
}

.identity {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.identity-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #f5f5f0;
  background: #33483e;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
}

.quiet-link {
  color: #68716c;
  font-size: 13px;
  font-weight: 600;
  transition: color 160ms ease;
}

.quiet-link:hover { color: #263a31; }
main { flex: 1; }
.hero { padding: 88px 0 64px; }

.eyebrow,
.card-meta,
.status,
.tag-list,
footer {
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.eyebrow {
  margin: 0 0 24px;
  color: #617168;
  font-size: 12px;
  font-weight: 800;
}

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

h1 {
  max-width: 850px;
  margin-bottom: 28px;
  color: #17231d;
  font-family: Georgia, "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(3rem, 6.5vw, 5.35rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

h1 span { color: #586a61; }

.hero-copy {
  max-width: 620px;
  margin-bottom: 0;
  color: #69736e;
  font-size: 16px;
  line-height: 1.8;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding-bottom: 52px;
}

.project-card {
  min-height: 430px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  border: 1px solid #a9b9af;
  border-radius: 26px;
  background: rgba(230, 237, 231, 0.78);
  box-shadow: 0 18px 60px rgba(32, 46, 39, 0.04);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.project-card:hover {
  transform: translateY(-3px);
  border-color: #98a69e;
  background: rgba(240, 244, 239, 0.94);
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 72px;
  color: #78817c;
  font-size: 10px;
  font-weight: 800;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #416051;
  font-size: 9px;
  font-weight: 800;
}

.status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #527563;
  box-shadow: 0 0 0 4px rgba(82, 117, 99, 0.12);
}

h2 {
  margin-bottom: 8px;
  color: #1d2b24;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -0.045em;
}

.project-subtitle {
  margin-bottom: 24px;
  color: #657069;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.project-copy {
  max-width: 500px;
  margin-bottom: 26px;
  color: #59645e;
  font-size: 14px;
  line-height: 1.75;
}

.tag-list {
  margin: auto 0 28px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.tag-list li {
  padding: 7px 10px;
  border: 1px solid #c5cbc5;
  border-radius: 999px;
  color: #68736d;
  font-size: 9px;
  font-weight: 800;
  background: rgba(250, 250, 247, 0.5);
}

.project-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.project-action {
  min-height: 46px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 14px;
  color: #f5f5f1;
  background: #30483c;
  font-size: 13px;
  font-weight: 700;
  transition: background 160ms ease;
}

.project-action:hover { background: #24382e; }

.project-action-outline {
  border: 1px solid rgba(48, 72, 60, 0.28);
  color: #30483c;
  background: rgba(250, 250, 247, 0.45);
}

.project-action-outline:hover { background: rgba(225, 232, 225, 0.72); }
.error-action { width: min(220px, 100%); }
.workflow-section { padding-bottom: 88px; }

.workflow-heading {
  margin-bottom: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}

.workflow-heading .eyebrow { margin-bottom: 14px; }

.workflow-heading h2 {
  max-width: 650px;
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
}

.workflow-heading > p {
  max-width: 360px;
  margin-bottom: 2px;
  color: #69736e;
  font-size: 13px;
  line-height: 1.7;
}

.workflow-card {
  margin-top: 14px;
  overflow: hidden;
  border: 1px solid #c7ccc6;
  border-radius: 22px;
  background: rgba(245, 245, 240, 0.72);
}

.workflow-card-header {
  min-height: 58px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #c7ccc6;
  color: #6f7973;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.workflow-card-header strong {
  color: #33483e;
  font-size: 12px;
  letter-spacing: 0.03em;
}

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

.workflow-list li {
  min-height: 176px;
  padding: 22px;
  border-right: 1px solid #c7ccc6;
}

.workflow-list li:last-child { border-right: 0; }

.workflow-list li > span {
  display: block;
  margin-bottom: 35px;
  color: #88928c;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
}

.workflow-list li > strong {
  display: block;
  margin-bottom: 9px;
  color: #293a31;
  font-size: 13px;
}

.workflow-list li > p {
  margin-bottom: 0;
  color: #69736e;
  font-size: 11px;
  line-height: 1.65;
}

footer {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #cdd1cb;
  color: #7a827e;
  font-size: 9px;
  font-weight: 800;
}

@media (max-width: 760px) {
  .page-shell { width: min(100% - 24px, 680px); }
  .site-header { min-height: 76px; }
  .hero { padding: 62px 4px 46px; }
  h1 { font-size: clamp(2.7rem, 14vw, 4.6rem); line-height: 1.02; }
  .project-grid { grid-template-columns: 1fr; padding-bottom: 42px; }
  .project-card { min-height: 390px; padding: 24px; }
  .card-meta { margin-bottom: 54px; }
  .workflow-heading, footer { align-items: flex-start; flex-direction: column; }
  footer { padding: 24px 0; }
  .workflow-section { padding-bottom: 60px; }
  .workflow-heading { gap: 16px; }
  .workflow-list { grid-template-columns: 1fr; }
  .workflow-list li { min-height: auto; padding: 20px; border-right: 0; border-bottom: 1px solid #c7ccc6; }
  .workflow-list li:last-child { border-bottom: 0; }
  .workflow-list li > span { margin-bottom: 16px; }
}

@media (max-width: 460px) {
  .project-actions { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
