.project-card.calendarpro .project-body h3 {
  font-size: clamp(38px, 4vw, 58px);
  overflow-wrap: normal;
  white-space: nowrap;
}

.project-purpose {
  width: fit-content;
  max-width: 100%;
  margin: 0 0 12px;
  padding: 6px 8px;
  border: 1px solid rgba(23, 20, 15, 0.22);
  border-radius: 6px;
  color: rgba(23, 20, 15, 0.72);
  background: rgba(255, 249, 238, 0.62);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
}

.project-body .tagline {
  max-width: 13ch;
  margin: 0 0 22px;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 800;
  line-height: 0.98;
}

html[lang='zh'] .project-body .tagline {
  line-height: 1.22;
}

.project-body .description {
  max-width: 560px;
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
}

.project-features {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.project-features li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  font-size: 15px;
  line-height: 1.45;
}

.project-features li::before {
  width: 12px;
  height: 12px;
  margin-top: 4px;
  content: '';
  border: 1px solid var(--ink);
  background: var(--gold);
}

.project-metrics {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
}

.project-metrics[hidden] {
  display: none;
}

.project-metric {
  min-height: 72px;
  padding: 12px;
  border: 1px solid rgba(23, 20, 15, 0.22);
  border-radius: 8px;
  background: rgba(255, 249, 238, 0.78);
  box-shadow: 3px 3px 0 rgba(23, 20, 15, 0.12);
}

.project-metric strong {
  display: block;
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
}

.project-detail.deepask .project-metric strong {
  font-size: 14px;
  line-height: 1.2;
}

.project-metric span {
  display: block;
  margin-top: 8px;
  color: rgba(23, 20, 15, 0.68);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.project-card.midscene .project-features li::before {
  background: var(--cyan);
}

.project-card.vibelet .project-features li::before {
  background: var(--violet);
}

.project-card.aino .project-features li::before {
  background: var(--blue);
}

.project-card.deepask .project-features li::before {
  background: var(--tomato);
}

.project-card.calendarpro .project-features li::before {
  background: var(--gold);
}

.project-card.remosidian .project-features li::before {
  background: #2e7564;
}

.project-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border: 1px solid var(--ink);
  border-radius: 7px;
  color: var(--ink);
  background: white;
  box-shadow: 3px 3px 0 var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.button:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--ink);
  background: var(--gold);
}

.button.dark {
  color: var(--paper-2);
  background: var(--carbon);
}

.button.dark:hover {
  color: var(--ink);
  background: var(--lime);
}

.operating-system {
  position: relative;
  background:
    linear-gradient(90deg, rgba(23, 20, 15, 0.12) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(rgba(23, 20, 15, 0.08) 1px, transparent 1px) 0 0 / 48px 48px,
    var(--carbon);
  color: var(--paper-2);
}

.operating-system .section-label::before {
  background: var(--tomato);
}

.system-board {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: clamp(18px, 4vw, 42px);
  align-items: stretch;
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(255, 249, 238, 0.28);
  border-radius: 8px;
  background: rgba(255, 249, 238, 0.06);
}

.timeline-item time {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
}

.timeline-item h3 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: clamp(25px, 3vw, 42px);
  line-height: 0.96;
  letter-spacing: 0;
}

html[lang='zh'] .timeline-item h3 {
  line-height: 1.18;
}

.timeline-item p {
  margin: 0;
  color: rgba(255, 249, 238, 0.78);
  line-height: 1.55;
}

.stack-panel {
  display: grid;
  align-content: space-between;
  gap: 22px;
  min-height: 100%;
  padding: clamp(20px, 4vw, 32px);
  border: 1px solid rgba(255, 249, 238, 0.3);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(0, 167, 181, 0.24), transparent 54%), rgba(255, 249, 238, 0.07);
}

.stack-panel h3 {
  margin: 0 0 20px;
  font-family: var(--display);
  font-size: clamp(38px, 5vw, 68px);
  line-height: 0.9;
  letter-spacing: 0;
}

html[lang='zh'] .stack-panel h3 {
  margin-bottom: 24px;
  font-size: clamp(38px, 4vw, 56px);
  line-height: 1.16;
}

.stack-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  padding: 9px 10px;
  border: 1px solid rgba(255, 249, 238, 0.36);
  border-radius: 999px;
  color: var(--paper-2);
  background: rgba(255, 249, 238, 0.09);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
}

.stack-meter {
  display: grid;
  gap: 14px;
}

.meter-row {
  display: grid;
  grid-template-columns: 122px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.meter-track {
  height: 13px;
  overflow: hidden;
  border: 1px solid rgba(255, 249, 238, 0.45);
  border-radius: 999px;
  background: rgba(255, 249, 238, 0.11);
}

.meter-fill {
  display: block;
  height: 100%;
  border-right: 1px solid var(--ink);
  background: var(--lime);
  transform-origin: left;
  animation: fillMeter 1000ms ease both;
}

.meter-row:nth-child(2) .meter-fill {
  background: var(--cyan);
  animation-delay: 140ms;
}

.meter-row:nth-child(3) .meter-fill {
  background: var(--tomato);
  animation-delay: 280ms;
}

.blog-section {
  scroll-margin-top: 92px;
  background:
    linear-gradient(90deg, rgba(23, 20, 15, 0.08) 1px, transparent 1px) 0 0 / 36px 36px,
    var(--paper);
}

.blog-section .section-label::before {
  background: var(--cyan);
}

.blog-list {
  display: grid;
  gap: 12px;
}

.blog-post {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 18px;
  align-items: center;
  padding: clamp(17px, 2.6vw, 24px);
  border: 1px solid var(--ink);
  border-radius: 8px;
  color: var(--ink);
  background: var(--paper-2);
  box-shadow: 5px 5px 0 rgba(23, 20, 15, 0.12);
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.blog-post:hover,
.blog-post:focus-visible {
  background: white;
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0 var(--ink);
}

.blog-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: rgba(23, 20, 15, 0.62);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.blog-post strong {
  display: block;
  margin-top: 7px;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1;
}

html[lang='zh'] .blog-post strong {
  line-height: 1.18;
}

.blog-post p {
  max-width: 760px;
  margin: 8px 0 0;
  color: rgba(23, 20, 15, 0.68);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.48;
}

.blog-post .arrow {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--lime);
  font-family: var(--mono);
  font-weight: 800;
}

.blog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.connect {
  padding-bottom: clamp(42px, 8vw, 80px);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(18px, 4vw, 42px);
  align-items: stretch;
}

.contact-poster {
  min-height: 420px;
  display: grid;
  align-content: end;
  padding: clamp(22px, 4vw, 34px);
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(23, 20, 15, 0.12) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(rgba(23, 20, 15, 0.1) 1px, transparent 1px) 0 0 / 32px 32px,
    var(--gold);
  box-shadow: var(--shadow);
}

.contact-poster h2 {
  max-width: 9ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(58px, 10vw, 128px);
  line-height: 0.79;
  letter-spacing: 0;
}

html[lang='zh'] .contact-poster h2 {
  max-width: min(100%, 5.5em);
  font-size: clamp(58px, 7.4vw, 92px);
  line-height: 1.16;
  word-break: keep-all;
  overflow-wrap: normal;
  text-wrap: balance;
}

.contact-links {
  display: grid;
  gap: 12px;
}

.contact-link {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 86px;
  padding: 18px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--paper-2);
  box-shadow: 5px 5px 0 rgba(23, 20, 15, 0.12);
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.contact-link:hover {
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0 var(--ink);
  background: white;
}

.contact-link span:first-child {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}
