/* ============================================
   YSC Page Styles
   Inner pages aligned with the homepage editorial system
   ============================================ */

.page-intro {
  position: relative;
  padding: 148px 0 52px;
  overflow: hidden;
}

.page-intro::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 14%, rgba(206, 66, 39, 0.18), transparent 10%),
    radial-gradient(circle at 78% 12%, rgba(239, 186, 98, 0.24), transparent 18%),
    radial-gradient(circle at 14% 64%, rgba(55, 101, 146, 0.08), transparent 18%),
    linear-gradient(180deg, rgba(255, 250, 239, 0.8), rgba(244, 237, 226, 0));
  pointer-events: none;
}

.page-intro-grid,
.page-intro-single {
  position: relative;
  z-index: 1;
}

.page-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(310px, 0.85fr);
  gap: 36px;
  align-items: end;
}

.page-intro-single {
  max-width: 820px;
}

.page-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.page-intro h1 {
  max-width: 11ch;
  font-size: clamp(2.8rem, 6vw, 5.1rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
  margin-bottom: 22px;
}

.page-intro-single h1 {
  max-width: 12ch;
}

.page-summary {
  max-width: 590px;
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.9;
}

.page-intro-card {
  padding: 28px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.86), rgba(246, 239, 230, 0.9)),
    radial-gradient(circle at top right, rgba(239, 193, 109, 0.12), transparent 32%);
  border: 1px solid rgba(91, 63, 41, 0.12);
  box-shadow: 0 22px 60px rgba(83, 53, 37, 0.1);
}

.page-profile-avatar {
  width: 94px;
  height: 94px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 16px;
}

.page-intro-card h2 {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.page-intro-card > p {
  color: var(--text-secondary);
  line-height: 1.8;
}

.page-profile-points {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.page-profile-points li {
  position: relative;
  padding-left: 16px;
  color: var(--text-secondary);
}

.page-profile-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

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

.editor-stat {
  padding: 24px 20px;
  border-top: 1px solid rgba(78, 46, 29, 0.14);
}

.editor-stat strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 10px;
}

.editor-stat span {
  color: var(--text-secondary);
  line-height: 1.7;
}

.narrative-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 34px;
}

.narrative-block .section-title,
.narrative-block .section-label {
  text-align: left;
}

.narrative-block .section-title {
  max-width: 11ch;
  margin-bottom: 18px;
}

.narrative-text {
  max-width: 580px;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 14px;
}

.focus-list {
  display: grid;
  gap: 18px;
}

.focus-sheet {
  padding: 24px 26px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 250, 242, 0.72), rgba(246, 239, 230, 0.86));
  border: 1px solid rgba(91, 63, 41, 0.1);
}

.focus-sheet-label {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.focus-sheet h3 {
  font-size: 1.22rem;
  margin: 10px 0 8px;
}

.focus-sheet p {
  color: var(--text-secondary);
  line-height: 1.8;
}

.editor-timeline {
  display: grid;
  gap: 18px;
}

.editor-timeline-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 24px;
  padding: 24px 26px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 250, 242, 0.72), rgba(246, 239, 230, 0.88));
  border: 1px solid rgba(91, 63, 41, 0.1);
}

.editor-timeline-year {
  font-size: 0.86rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 700;
}

.editor-timeline-item h3 {
  font-size: 1.22rem;
  margin-bottom: 8px;
}

.editor-timeline-item p {
  color: var(--text-secondary);
  line-height: 1.8;
}

.editor-filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.filter-btn {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(78, 46, 29, 0.12);
  background: rgba(255, 252, 247, 0.72);
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: all var(--transition-normal);
}

.filter-btn:hover,
.filter-btn.active,
.filter-tag:hover,
.filter-tag.active {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 10px 26px rgba(181, 83, 45, 0.18);
}

.editor-article-list {
  display: grid;
  gap: 18px;
}

.editor-article {
  position: relative;
  padding: 28px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 251, 243, 0.8), rgba(246, 239, 230, 0.92)),
    radial-gradient(circle at top right, rgba(239, 191, 102, 0.1), transparent 28%);
  border: 1px solid rgba(91, 63, 41, 0.1);
  overflow: hidden;
}

.editor-article-featured {
  background:
    linear-gradient(180deg, rgba(255, 251, 243, 0.86), rgba(248, 237, 224, 0.96)),
    radial-gradient(circle at 88% 16%, rgba(185, 93, 55, 0.14), transparent 26%);
}

.editor-article-number {
  position: absolute;
  right: 24px;
  top: 22px;
  color: rgba(181, 83, 45, 0.16);
  font-family: Georgia, 'Noto Serif SC', serif;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 1;
  pointer-events: none;
}

.editor-article-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.editor-article h2 {
  position: relative;
  z-index: 1;
  font-size: 1.48rem;
  line-height: 1.3;
  margin-bottom: 10px;
}

.editor-article p {
  position: relative;
  z-index: 1;
  max-width: 760px;
  color: var(--text-secondary);
  line-height: 1.85;
}

.editor-article .reading-link {
  margin-top: 18px;
}

.editor-works-grid .work-card {
  opacity: 1;
  transform: none;
}

.editor-works-grid .work-card-image {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(31, 24, 18, 0.68);
}

.blog-empty {
  margin-top: 10px;
  padding: 24px 0;
  color: var(--text-secondary);
}

.contact-editor-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 28px;
}

.contact-sheet,
.contact-card,
.resume-block {
  padding: 28px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.8), rgba(246, 239, 230, 0.92)),
    radial-gradient(circle at top right, rgba(239, 191, 102, 0.08), transparent 30%);
  border: 1px solid rgba(91, 63, 41, 0.1);
}

.contact-sheet h2 {
  font-size: 1.55rem;
  margin-bottom: 10px;
}

.contact-sheet-intro {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 22px;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.form-group {
  display: grid;
  gap: 8px;
}

.form-group label {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  border-radius: 16px;
  border: 1px solid rgba(78, 46, 29, 0.12);
  background: rgba(255, 252, 247, 0.86);
  color: var(--text-primary);
  font: inherit;
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-side-stack {
  display: grid;
  gap: 18px;
}

.contact-card-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}

.contact-card h3 {
  font-size: 1.25rem;
  margin: 10px 0 14px;
}

.contact-card p {
  color: var(--text-secondary);
  line-height: 1.8;
}

.contact-detail {
  display: grid;
  gap: 4px;
  padding: 12px 0;
  border-top: 1px solid rgba(78, 46, 29, 0.08);
}

.contact-detail strong {
  font-size: 0.9rem;
}

.contact-detail span {
  color: var(--text-secondary);
}

.form-success {
  display: none;
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(181, 83, 45, 0.08);
  color: var(--accent);
  line-height: 1.8;
}

.form-success.show {
  display: block;
}

.resume-layout {
  display: grid;
  gap: 20px;
}

.resume-block .section-title,
.resume-block .section-label {
  text-align: left;
}

.resume-block .section-title {
  margin-bottom: 18px;
}

.resume-list,
.resume-projects {
  display: grid;
  gap: 16px;
}

.resume-item,
.resume-project-card {
  padding-top: 14px;
  border-top: 1px solid rgba(78, 46, 29, 0.1);
}

.resume-item-top {
  display: grid;
  gap: 6px;
  margin-bottom: 10px;
}

.resume-period {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 700;
}

.resume-item h3,
.resume-project-card h3 {
  font-size: 1.18rem;
}

.resume-item p,
.resume-project-card p,
.resume-note {
  color: var(--text-secondary);
  line-height: 1.85;
}

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

.capability-card {
  padding: 20px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 251, 243, 0.7), rgba(246, 239, 230, 0.9));
  border: 1px solid rgba(91, 63, 41, 0.08);
}

.capability-card h3 {
  font-size: 1.06rem;
  margin-bottom: 8px;
}

.capability-card p {
  color: var(--text-secondary);
  line-height: 1.8;
}

.post-header,
.post-cover,
.post-content,
.post-nav {
  max-width: 820px;
}

.post-header {
  padding: calc(var(--nav-height) + 54px) 0 30px;
}

.post-kicker {
  margin-bottom: 12px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.post-back {
  display: inline-flex;
  gap: 6px;
  color: var(--text-secondary);
  margin-bottom: 22px;
}

.post-header h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 14px;
}

.post-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.post-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tag {
  background: rgba(181, 83, 45, 0.1);
  color: var(--accent);
}

.tag.tag-purple,
.tag.tag-pink {
  background: rgba(181, 83, 45, 0.1);
  color: var(--accent);
}

.post-cover,
.post-content .img-placeholder {
  border: 1px solid rgba(91, 63, 41, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.7), rgba(246, 239, 230, 0.9)),
    radial-gradient(circle at top right, rgba(208, 68, 39, 0.12), transparent 16%);
  color: var(--text-secondary);
}

.post-cover {
  position: relative;
  display: grid;
  gap: 14px;
  min-height: 250px;
  margin-bottom: 36px;
  padding: clamp(28px, 5vw, 46px);
  border-radius: 28px;
  overflow: hidden;
}

.post-cover::after {
  content: '';
  position: absolute;
  right: -70px;
  bottom: -94px;
  width: 280px;
  height: 220px;
  border-radius: 48%;
  background: rgba(185, 93, 55, 0.12);
  pointer-events: none;
}

.post-cover span,
.post-cover strong,
.post-cover em {
  display: block;
  position: relative;
  z-index: 1;
}

.post-cover span {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.post-cover strong {
  max-width: 12em;
  color: var(--text-primary);
  font-family: Georgia, 'Noto Serif SC', 'Songti SC', serif;
  font-size: clamp(2.05rem, 5vw, 3.6rem);
  font-weight: 500;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.post-cover em {
  color: var(--text-muted);
  font-style: normal;
  line-height: 1.7;
}

.post-cover-workflow {
  background:
    linear-gradient(135deg, rgba(255, 251, 243, 0.82), rgba(241, 229, 214, 0.94)),
    radial-gradient(circle at 86% 24%, rgba(45, 95, 86, 0.12), transparent 25%);
}

.post-cover-media {
  background:
    linear-gradient(135deg, rgba(36, 31, 28, 0.97), rgba(58, 42, 32, 0.96)),
    radial-gradient(circle at 84% 18%, rgba(231, 195, 127, 0.2), transparent 28%);
}

.post-cover-media strong,
.post-cover-media em {
  color: #f7efe7;
}

.post-cover-media span {
  color: #e7c37f;
}

.post-cover-fde {
  background:
    linear-gradient(135deg, rgba(34, 31, 30, 0.96), rgba(39, 55, 52, 0.96)),
    radial-gradient(circle at 84% 18%, rgba(49, 95, 73, 0.24), transparent 30%);
}

.post-cover-fde::after {
  background: rgba(187, 93, 55, 0.16);
}

.post-cover-fde strong,
.post-cover-fde em {
  color: #f7efe7;
}

.post-cover-fde span {
  color: #e7c37f;
}

.post-content {
  --writing-accent: #bb5d37;
  --writing-accent-dark: #8f3f23;
  --writing-green: #315f49;
  --writing-ink: #241b15;
  --writing-muted: #7b6d62;
  --writing-line: rgba(78, 46, 29, 0.13);
  --writing-paper: rgba(255, 253, 249, 0.76);
  padding-bottom: 54px;
}

.post-lead {
  color: var(--text-primary);
  font-size: 1.18rem;
  line-height: 2;
}

.post-content h2 {
  color: var(--writing-ink);
  font-family: Georgia, 'Noto Serif SC', 'Songti SC', serif;
  font-size: 1.72rem;
  font-weight: 600;
  line-height: 1.34;
  margin: 54px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--writing-line);
}

.post-content h3 {
  padding-left: 12px;
  border-left: 3px solid var(--writing-accent);
  font-size: 1.28rem;
  line-height: 1.42;
  margin: 32px 0 12px;
}

.post-content p,
.post-content li {
  color: var(--writing-ink);
  line-height: 1.9;
}

.post-content p {
  margin: 14px 0;
}

.post-content blockquote {
  margin: 28px 0;
  padding: 18px 22px;
  border-left: 4px solid var(--writing-accent);
  border-radius: 0 16px 16px 0;
  background: rgba(181, 83, 45, 0.08);
  color: var(--writing-muted);
}

.post-content blockquote p {
  margin: 0;
}

.post-content strong {
  color: var(--writing-ink);
  font-weight: 800;
}

.post-mark {
  border-bottom: 2px solid rgba(187, 93, 55, 0.34);
  font-weight: 700;
}

.post-anchor {
  color: var(--writing-accent-dark);
  font-weight: 800;
}

.post-keyline {
  margin: 34px 0;
  border: 0;
  border-top: 1px solid var(--writing-line);
}

.post-pullquote {
  margin: 34px 0;
  padding: 24px 0;
  border-top: 1px solid var(--writing-line);
  border-bottom: 1px solid var(--writing-line);
  color: var(--writing-ink);
  font-family: Georgia, 'Noto Serif SC', 'Songti SC', serif;
  font-size: clamp(1.32rem, 3vw, 1.8rem);
  line-height: 1.65;
  text-align: center;
}

.post-note {
  margin: 28px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--writing-green);
  border-radius: 0 16px 16px 0;
  background: rgba(49, 95, 73, 0.08);
}

.post-summary-card,
.post-callout,
.post-compare,
.post-step-grid,
.post-assets {
  margin: 28px 0;
}

.post-summary-card,
.post-callout {
  padding: 24px;
  border: 1px solid rgba(91, 63, 41, 0.12);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.86), rgba(247, 238, 226, 0.92));
}

.post-summary-card span,
.post-callout span,
.post-step-grid span,
.post-compare span,
.post-assets span {
  display: block;
  margin-bottom: 8px;
  color: var(--writing-accent);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.post-summary-card p,
.post-callout p {
  margin: 0;
  color: var(--text-primary);
  font-size: 1.05rem;
}

.article-index {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0 10px;
  padding: 18px 0;
  border-top: 1px solid var(--writing-line);
  border-bottom: 1px solid var(--writing-line);
}

.article-index a {
  padding: 8px 12px;
  border: 1px solid rgba(91, 63, 41, 0.12);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.7);
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.article-index a:hover {
  border-color: rgba(181, 83, 45, 0.32);
  color: var(--writing-accent);
}

.post-step-grid,
.post-compare,
.post-assets {
  display: grid;
  gap: 14px;
}

.post-step-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.post-step-grid div,
.post-compare div,
.post-assets div {
  padding: 20px;
  border: 1px solid rgba(91, 63, 41, 0.1);
  border-radius: 18px;
  background: var(--writing-paper);
}

.post-step-grid strong {
  display: block;
  color: var(--text-primary);
  font-size: 1rem;
  line-height: 1.65;
}

.post-checklist,
.post-number-list {
  display: grid;
  gap: 10px;
  margin: 24px 0;
}

.post-checklist li,
.post-number-list li {
  position: relative;
  padding: 14px 16px 14px 42px;
  border: 1px solid rgba(91, 63, 41, 0.1);
  border-radius: 16px;
  background: var(--writing-paper);
}

.post-checklist li::before {
  content: '✓';
  position: absolute;
  left: 16px;
  top: 14px;
  color: #315f49;
  font-weight: 900;
}

.post-number-list {
  counter-reset: post-counter;
}

.post-number-list li {
  counter-increment: post-counter;
}

.post-number-list li::before {
  content: counter(post-counter, decimal-leading-zero);
  position: absolute;
  left: 14px;
  top: 15px;
  color: var(--writing-accent);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
}

.post-compare {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.post-compare div:first-child {
  background: rgba(246, 239, 230, 0.72);
}

.post-compare p,
.post-assets p {
  margin: 0;
  color: var(--text-secondary);
}

.post-pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}

.post-pill-grid span {
  padding: 10px 13px;
  border: 1px solid rgba(91, 63, 41, 0.12);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.7);
  color: var(--text-primary);
  font-weight: 700;
}

.post-assets {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.post-content pre {
  margin: 24px 0;
  padding: 20px 22px;
  border-radius: 18px;
  background: #231913;
  color: #f4ede6;
  overflow-x: auto;
}

.post-content code {
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(181, 83, 45, 0.1);
  color: var(--accent);
}

.post-content pre code {
  padding: 0;
  background: none;
  color: inherit;
}

.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0 40px;
  border-top: 1px solid rgba(78, 46, 29, 0.12);
}

.post-nav a {
  max-width: 48%;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 251, 243, 0.82), rgba(246, 239, 230, 0.92));
  border: 1px solid rgba(91, 63, 41, 0.1);
}

.post-nav .label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.post-nav .title {
  font-weight: 600;
}

@media (max-width: 1024px) {
  .page-intro-grid,
  .narrative-grid,
  .editor-stats {
    grid-template-columns: 1fr 1fr;
  }

  .contact-editor-grid {
    grid-template-columns: 1fr;
  }

  .page-intro-grid > :first-child,
  .narrative-grid > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .page-intro {
    padding: 120px 0 40px;
  }

  .page-intro-grid,
  .editor-stats,
  .narrative-grid,
  .capability-grid {
    grid-template-columns: 1fr;
  }

  .page-intro h1,
  .page-intro-single h1,
  .narrative-block .section-title {
    max-width: none;
  }

  .editor-timeline-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .post-nav {
    flex-direction: column;
  }

  .post-nav a {
    max-width: 100%;
  }

  .post-cover {
    min-height: 220px;
    border-radius: 22px;
  }

  .post-header.container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .post-header h1 {
    font-size: clamp(1.85rem, 8.4vw, 2.4rem);
    line-height: 1.12;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .post-cover strong {
    max-width: 100%;
    font-size: clamp(1.75rem, 7.8vw, 2.25rem);
    word-break: break-all;
  }

  .article-index,
  .post-pill-grid {
    gap: 8px;
  }

  .article-index a,
  .post-pill-grid span {
    font-size: 0.82rem;
  }

  .post-step-grid,
  .post-compare,
  .post-assets {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .editor-filter-bar {
    gap: 8px;
  }

  .filter-btn,
  .filter-tag {
    font-size: 0.82rem;
    padding: 8px 14px;
  }

  .editor-article,
  .focus-sheet,
  .editor-timeline-item,
  .page-intro-card {
    padding: 22px 20px;
  }
}

/* 2026 interaction layer: signal, routing and live updates */
.signal-strip {
  position: absolute;
  top: var(--nav-height);
  left: 0;
  z-index: 80;
  width: 100%;
  overflow: hidden;
  border-top: 1px solid rgba(78, 46, 29, 0.08);
  border-bottom: 1px solid rgba(78, 46, 29, 0.1);
  background: rgba(255, 251, 246, 0.86);
  backdrop-filter: blur(14px);
}

.signal-track {
  display: flex;
  width: max-content;
  animation: signalMarquee 34s linear infinite;
}

.signal-track > span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 30px;
  border-right: 1px solid rgba(78, 46, 29, 0.1);
  color: var(--text-secondary);
  font-size: 0.75rem;
  white-space: nowrap;
}

.signal-track b {
  margin-right: 9px;
  color: var(--accent);
  font-family: 'SF Mono', 'Cascadia Code', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
}

@keyframes signalMarquee {
  to { transform: translateX(-50%); }
}

.console-build {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.16);
}

.console-build > div:first-child {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 10px;
  align-items: center;
}

.console-build span,
.console-build small {
  color: rgba(247, 239, 231, 0.46);
  font-family: 'SF Mono', 'Cascadia Code', monospace;
  font-size: 0.72rem;
}

.console-build strong {
  color: #f7efe7;
  font-size: 0.88rem;
  font-weight: 500;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.console-build strong.switching {
  opacity: 0;
  transform: translateY(5px);
}

.console-progress {
  height: 3px;
  margin: 13px 0 9px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
}

.console-progress i {
  display: block;
  width: 42%;
  height: 100%;
  background: #e7c37f;
  animation: consoleProgress 4.8s ease-in-out infinite;
}

@keyframes consoleProgress {
  0% { transform: translateX(-100%); }
  55% { transform: translateX(140%); }
  100% { transform: translateX(340%); }
}

.route-section {
  padding: 34px 0 72px;
}

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

.route-heading h2 {
  margin: 0;
  font-family: Georgia, 'Noto Serif SC', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 500;
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(78, 46, 29, 0.14);
  border-left: 1px solid rgba(78, 46, 29, 0.14);
}

.route-grid a {
  display: grid;
  grid-template-columns: 34px 1fr 24px;
  gap: 14px;
  align-items: center;
  min-height: 104px;
  padding: 20px;
  border-right: 1px solid rgba(78, 46, 29, 0.14);
  border-bottom: 1px solid rgba(78, 46, 29, 0.14);
  background: rgba(255, 252, 247, 0.58);
  transition: background 0.25s ease, color 0.25s ease;
}

.route-grid a:hover {
  background: #252827;
  color: #f7efe7;
}

.route-grid > a > span {
  color: var(--accent);
  font-family: Georgia, serif;
}

.route-grid strong,
.route-grid small {
  display: block;
}

.route-grid strong {
  margin-bottom: 5px;
  font-size: 1rem;
}

.route-grid small {
  color: var(--text-muted);
  line-height: 1.5;
}

.route-grid a:hover small {
  color: rgba(247, 239, 231, 0.58);
}

.route-grid i {
  color: var(--accent);
  font-style: normal;
  font-weight: 800;
}

.lab-updates-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(460px, 1.2fr);
  gap: 54px;
  align-items: start;
}

.update-list {
  display: grid;
  border-top: 1px solid rgba(78, 46, 29, 0.15);
}

.update-list a {
  display: grid;
  grid-template-columns: 142px 1fr auto;
  gap: 20px;
  align-items: center;
  min-height: 82px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(78, 46, 29, 0.15);
}

.update-list span {
  color: var(--accent);
  font-family: 'SF Mono', 'Cascadia Code', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
}

.update-list strong {
  font-family: Georgia, 'Noto Serif SC', serif;
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.55;
}

.update-list em {
  color: var(--text-muted);
  font-size: 0.82rem;
  font-style: normal;
  white-space: nowrap;
}

.quick-access-trigger {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 960;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 14px 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  background: #252827;
  color: #f7efe7;
  box-shadow: 0 14px 38px rgba(31, 27, 24, 0.22);
}

.quick-access-trigger > span {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.82rem;
}

.quick-access-trigger strong {
  font-size: 0.84rem;
}

.quick-access-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
  visibility: hidden;
  opacity: 0;
  background: rgba(31, 27, 24, 0.56);
  backdrop-filter: blur(10px);
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.quick-access-overlay.open {
  visibility: visible;
  opacity: 1;
}

.quick-access-panel {
  width: min(720px, 100%);
  max-height: min(760px, calc(100vh - 40px));
  overflow: auto;
  border: 1px solid rgba(78, 46, 29, 0.14);
  border-radius: 8px;
  background: #fbf7f0;
  box-shadow: 0 28px 90px rgba(31, 27, 24, 0.28);
  transform: translateY(12px) scale(0.985);
  transition: transform 0.25s ease;
}

.quick-access-overlay.open .quick-access-panel {
  transform: translateY(0) scale(1);
}

.quick-access-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  border-bottom: 1px solid rgba(78, 46, 29, 0.12);
}

.quick-access-head span {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.quick-access-head h2 {
  margin: 8px 0 0;
  font-family: Georgia, 'Noto Serif SC', serif;
  font-size: 2rem;
  font-weight: 500;
}

.quick-access-close {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(78, 46, 29, 0.14);
  background: transparent;
  color: var(--text-primary);
  font-size: 1.6rem;
  line-height: 1;
}

.quick-access-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.quick-access-links a {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  min-height: 126px;
  padding: 22px;
  border-right: 1px solid rgba(78, 46, 29, 0.12);
  border-bottom: 1px solid rgba(78, 46, 29, 0.12);
}

.quick-access-links a:nth-child(even) {
  border-right: 0;
}

.quick-access-links span {
  color: var(--accent);
  font-family: Georgia, serif;
}

.quick-access-links strong,
.quick-access-links em {
  grid-column: 2;
}

.quick-access-links strong {
  font-size: 1.04rem;
}

.quick-access-links em {
  align-self: end;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-style: normal;
}

.quick-access-links a:hover {
  background: rgba(185, 74, 64, 0.06);
}

body.quick-access-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .lab-updates-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 700px) {
  .lab-hero {
    padding-top: calc(var(--nav-height) + 52px);
  }

  .route-heading {
    display: block;
  }

  .route-heading .section-label {
    margin-bottom: 8px;
  }

  .route-grid,
  .quick-access-links {
    grid-template-columns: 1fr;
  }

  .quick-access-links a,
  .quick-access-links a:nth-child(even) {
    min-height: 98px;
    border-right: 0;
  }

  .update-list a {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 18px 0;
  }

  .quick-access-trigger {
    left: 14px;
    bottom: 14px;
  }

  .quick-access-overlay {
    align-items: end;
    padding: 10px;
  }

  .quick-access-panel {
    max-height: calc(100vh - 20px);
  }

  .console-build > div:first-child {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}

/* Prevent short Chinese headings from leaving an orphan character. */
.lab-updates-grid {
  grid-template-columns: minmax(440px, 0.95fr) minmax(460px, 1.05fr);
}

.lab-updates .lab-section-head,
.lab-writing .lab-section-head {
  max-width: none;
}

.lab-updates .lab-section-head h2,
.lab-writing .lab-section-head h2 {
  max-width: none;
  font-size: clamp(2.5rem, 4vw, 3.55rem);
  line-height: 1.12;
  text-wrap: balance;
}

.quick-access-trigger {
  border: 2px solid #3f735b;
  background: rgba(250, 247, 239, 0.96);
  color: #294b3b;
  box-shadow: 0 12px 34px rgba(47, 91, 70, 0.18);
  animation: quickAccessGuide 2.4s ease-out infinite;
}

.quick-access-trigger > span {
  border-color: #3f735b;
  background: #3f735b;
  color: #fffdf7;
}

@keyframes quickAccessGuide {
  0% { box-shadow: 0 0 0 0 rgba(63, 115, 91, 0.38), 0 12px 34px rgba(47, 91, 70, 0.18); }
  68% { box-shadow: 0 0 0 9px rgba(63, 115, 91, 0), 0 12px 34px rgba(47, 91, 70, 0.18); }
  100% { box-shadow: 0 0 0 0 rgba(63, 115, 91, 0), 0 12px 34px rgba(47, 91, 70, 0.18); }
}

@media (max-width: 900px) {
  .lab-updates-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .lab-updates .lab-section-head h2,
  .lab-writing .lab-section-head h2 {
    font-size: clamp(2.35rem, 11vw, 3.2rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .quick-access-trigger {
    animation: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .signal-track,
  .console-progress i {
    animation: none;
  }
}

/* Hero console refinement */
.lab-console {
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(48, 42, 38, 0.98), rgba(31, 30, 29, 0.99));
}

.console-profile {
  margin: 42px 0 22px;
}

.console-profile img {
  width: 78px;
  height: 78px;
  border-radius: 8px;
}

.console-lines {
  gap: 0;
  margin-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.console-lines p {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
  padding: 15px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  background: transparent;
}

.console-lines span {
  min-width: 0;
}

.console-build {
  margin-top: 16px;
  padding: 14px 4px 15px;
  border-width: 1px 0;
  background: transparent;
}

.console-manifesto {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 150px;
  padding: 28px 4px 6px;
}

.console-manifesto > span,
.console-manifesto > small {
  color: rgba(247, 239, 231, 0.42);
  font-family: 'SF Mono', 'Cascadia Code', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

.console-manifesto strong {
  max-width: 12ch;
  margin: 10px 0 14px;
  color: #f7efe7;
  font-family: Georgia, 'Noto Serif SC', serif;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 500;
  line-height: 1.28;
}

@media (max-width: 700px) {
  .lab-console {
    border-radius: 18px;
  }

  .console-lines p {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 10px;
  }

  .console-manifesto {
    min-height: 180px;
  }
}

/* 2026 content architecture upgrade */
.fade-in,
.fade-in-left,
.fade-in-right {
  opacity: 1;
}

.page-intro h1 {
  letter-spacing: 0;
}

.profile-inline {
  display: flex;
  align-items: center;
  gap: 16px;
}

.profile-inline .page-profile-avatar {
  margin: 0;
}

.profile-inline h2,
.profile-inline p {
  margin: 0;
}

.about-document-section {
  padding-top: 28px;
}

.about-document-grid {
  display: grid;
  grid-template-columns: 210px minmax(0, 760px);
  justify-content: center;
  gap: 64px;
  align-items: start;
}

.about-toc {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 13px;
  padding: 18px 0;
  border-top: 1px solid rgba(78, 46, 29, 0.16);
}

.about-toc span {
  color: var(--text-muted);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
}

.about-toc a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.about-toc a:hover {
  color: var(--accent);
}

.about-document {
  min-width: 0;
}

.about-lead-block,
.about-chapter {
  scroll-margin-top: 104px;
}

.about-lead-block {
  padding-bottom: 54px;
}

.about-dropcap {
  color: var(--text-primary);
  font-family: Georgia, 'Noto Serif SC', 'Songti SC', serif;
  font-size: 1.35rem;
  line-height: 2;
}

.about-dropcap::first-letter {
  float: left;
  margin: 10px 10px 0 0;
  color: var(--accent);
  font-size: 4.4rem;
  line-height: 0.72;
}

.about-document blockquote {
  margin: 28px 0 0;
  padding: 20px 24px;
  border-left: 4px solid var(--accent);
  background: rgba(255, 250, 242, 0.72);
  color: var(--text-primary);
  font-family: Georgia, 'Noto Serif SC', serif;
  font-size: 1.2rem;
}

.about-chapter {
  padding: 56px 0;
  border-top: 1px solid rgba(78, 46, 29, 0.13);
}

.about-chapter h2 {
  margin: 8px 0 22px;
  font-family: Georgia, 'Noto Serif SC', serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 500;
  line-height: 1.16;
}

.about-chapter > p {
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.95;
}

.identity-list,
.about-numbered {
  display: grid;
  gap: 12px;
}

.identity-list > div,
.about-numbered > div {
  padding: 20px 0;
  border-bottom: 1px solid rgba(78, 46, 29, 0.1);
}

.identity-list strong,
.about-numbered h3 {
  display: block;
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.identity-list p,
.about-numbered p {
  color: var(--text-secondary);
  line-height: 1.85;
}

.about-proof-row,
.product-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 28px 0;
}

.about-proof-row > div,
.product-facts > div {
  padding: 18px;
  border: 1px solid rgba(78, 46, 29, 0.1);
  background: rgba(255, 252, 247, 0.72);
}

.about-proof-row strong,
.product-facts strong {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 1.45rem;
}

.about-proof-row span,
.product-facts span {
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.about-numbered > div {
  display: grid;
  grid-template-columns: 48px 1fr;
  column-gap: 18px;
}

.about-numbered > div > span {
  grid-row: 1 / 3;
  color: var(--accent);
  font-family: Georgia, serif;
  font-size: 1.4rem;
}

.about-checklist {
  display: grid;
  gap: 10px;
  margin: 24px 0 28px;
}

.about-checklist li {
  position: relative;
  padding: 13px 14px 13px 42px;
  background: rgba(255, 252, 247, 0.66);
  border: 1px solid rgba(78, 46, 29, 0.1);
}

.about-checklist li::before {
  content: '✓';
  position: absolute;
  left: 15px;
  color: #2d5f56;
  font-weight: 800;
}

.belief-list {
  display: grid;
  gap: 0;
}

.belief-list li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(78, 46, 29, 0.1);
}

.belief-list span {
  color: var(--accent);
  font-family: Georgia, serif;
}

.belief-list p {
  color: var(--text-secondary);
  line-height: 1.75;
}

.footer-bottom-stack {
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 6px;
}

.footer-bottom-stack a {
  color: #3f735b;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(63, 115, 91, 0.34);
  text-underline-offset: 3px;
}

.official-account-hover {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: inherit;
  cursor: pointer;
  border-bottom: 1px dashed rgba(63, 115, 91, 0.34);
  outline: none;
}

.official-account-hover::after {
  content: '';
  width: 4px;
  height: 4px;
  margin-left: 4px;
  border-radius: 50%;
  background: #3f735b;
  opacity: 0.72;
}

.official-account-hover:focus-visible {
  border-radius: 3px;
  outline: 2px solid rgba(63, 115, 91, 0.3);
  outline-offset: 3px;
}

.official-account-popover {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 12px);
  z-index: 1200;
  display: grid;
  gap: 8px;
  width: min(250px, 72vw);
  padding: 10px;
  visibility: hidden;
  opacity: 0;
  border: 1px solid rgba(63, 115, 91, 0.22);
  border-radius: 8px;
  background: rgba(255, 252, 246, 0.98);
  box-shadow: 0 18px 56px rgba(48, 41, 34, 0.18);
  transform: translate(-50%, 8px) scale(0.98);
  transform-origin: center bottom;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.official-account-caption {
  color: #2f684f;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.official-account-popover img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.official-account-hover:hover > .official-account-popover,
.official-account-hover:focus > .official-account-popover,
.official-account-hover.active > .official-account-popover {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

.product-case-list {
  display: grid;
  gap: 22px;
}

.product-case {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 28px;
  padding: clamp(24px, 5vw, 46px);
  border: 1px solid rgba(78, 46, 29, 0.11);
  background: rgba(255, 252, 247, 0.78);
  box-shadow: 0 22px 60px rgba(83, 53, 37, 0.07);
  scroll-margin-top: 100px;
}

.product-case-featured {
  background: linear-gradient(135deg, rgba(235, 248, 241, 0.94), rgba(255, 252, 247, 0.9));
}

.product-case-geo {
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  align-items: stretch;
  background: linear-gradient(135deg, rgba(237, 243, 222, 0.92), rgba(252, 249, 238, 0.94));
}

.product-case-geo .product-case-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-case-geo .product-case-lead {
  max-width: 610px;
}

.product-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: #243f47;
  color: #e3f080;
  font-weight: 800;
  letter-spacing: .06em;
}

.product-case-meta,
.product-status-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 24px;
  color: var(--text-muted);
  font-size: 0.84rem;
}

.status-live,
.status-building {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #2d5f56;
  font-weight: 700;
}

.status-building {
  color: #9a642d;
}

.status-live i,
.status-building i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.product-case h2 {
  margin: 8px 0 16px;
  font-family: Georgia, 'Noto Serif SC', serif;
  font-size: clamp(2.5rem, 5vw, 4.3rem);
  font-weight: 500;
}

.product-case-lead {
  max-width: 650px;
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.9;
}

.product-slogan {
  width: fit-content;
  max-width: 100%;
  margin: -6px 0 14px;
  padding: 9px 13px;
  border: 1px solid rgba(63, 115, 91, 0.18);
  border-radius: 999px;
  background: rgba(237, 244, 238, 0.74);
  color: #2f6a54;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.45;
}

.product-qr {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  min-height: 340px;
  background: #fff;
  border: 1px solid rgba(40, 107, 76, 0.12);
}

.product-qr img {
  width: min(260px, 78%);
  aspect-ratio: 1;
  object-fit: contain;
}

.product-qr figcaption {
  color: var(--text-muted);
  font-size: 0.86rem;
}

.product-status-strip {
  margin: 24px 0;
}

.product-status-strip span {
  padding: 8px 11px;
  border: 1px solid rgba(78, 46, 29, 0.12);
  background: rgba(255, 255, 255, 0.58);
}

.product-next {
  color: var(--text-secondary);
  line-height: 1.8;
}

.product-visual {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 340px;
  padding: 28px;
  color: #f7efe7;
  background: #2b3436;
}

.product-visual-mx {
  background: #873f3a;
}

.product-visual-st {
  background: #4f5e4b;
}

.product-visual-geo {
  position: relative;
  justify-content: center;
  gap: 34px;
  padding: clamp(28px, 4vw, 46px);
  background: linear-gradient(145deg, #1d3841, #34564d);
  overflow: hidden;
}

.product-visual-geo::before {
  content: '';
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(226, 241, 130, 0.18);
}

.product-visual-geo > * {
  position: relative;
  z-index: 1;
}

.product-visual-geo span {
  color: #e2f182;
  font-family: Georgia, 'Noto Serif SC', serif;
  font-size: clamp(3.8rem, 6.4vw, 5.6rem);
  line-height: 0.9;
  letter-spacing: .08em;
}

.product-visual-geo strong {
  max-width: 8.5em;
  font-family: Georgia, 'Noto Serif SC', serif;
  font-size: clamp(1.7rem, 2.4vw, 2.55rem);
  font-weight: 600;
  line-height: 1.24;
}

.product-visual-geo small {
  color: rgba(255,255,255,.62);
  letter-spacing: .12em;
}

.product-cooperation-card {
  padding-left: clamp(32px, 6vw, 70px);
}

.product-cooperation-card h2 {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 980px;
  font-size: clamp(3.5rem, 6.2vw, 6.2rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.product-cooperation-card h2 > span:last-child {
  display: block;
}

.coop-symbol {
  flex: 0 0 auto;
  transform: translateY(0.03em);
}

.product-cooperation-card p {
  max-width: 940px;
}

/* GEO service landing page */
.geo-hero {
  padding: 132px 0 92px;
  background:
    radial-gradient(circle at 87% 13%, rgba(214, 239, 109, .28), transparent 24%),
    linear-gradient(135deg, #f8f4ea 0%, #eef2e6 100%);
}

.geo-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .72fr);
  gap: clamp(38px, 7vw, 104px);
  align-items: center;
}

.geo-hero-copy h1 {
  max-width: 780px;
  margin: 16px 0 24px;
  font-family: Georgia, 'Noto Serif SC', serif;
  font-size: clamp(3.4rem, 6.2vw, 6.7rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -.055em;
}

.geo-lead {
  max-width: 650px;
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.9;
}

.geo-note {
  max-width: 570px;
  margin: 28px 0 0;
  color: var(--text-muted);
  font-size: .83rem;
  line-height: 1.7;
}

.geo-console {
  padding: 20px;
  border: 1px solid rgba(31, 56, 63, .18);
  border-radius: 26px;
  background: #203d44;
  color: #f7f2e7;
  box-shadow: 0 28px 76px rgba(32, 61, 68, .2);
}

.geo-console-top {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-bottom: 17px;
  border-bottom: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.6);
  font-size: .72rem;
  letter-spacing: .1em;
}

.geo-console-top span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.32); }
.geo-console-top span:first-child { background: #d8ed7a; }
.geo-console-top strong { margin-left: auto; font-weight: 600; }

.geo-console ol { display: grid; gap: 0; padding: 10px 0; margin: 0; list-style: none; }
.geo-console li { display: grid; grid-template-columns: 44px 1fr; gap: 13px; align-items: center; padding: 19px 2px; border-bottom: 1px solid rgba(255,255,255,.1); }
.geo-console li b { color: #d8ed7a; font-size: .78rem; }
.geo-console li strong, .geo-console li small { display: block; }
.geo-console li strong { font-family: Georgia, 'Noto Serif SC', serif; font-size: 1.3rem; font-weight: 500; }
.geo-console li small { margin-top: 3px; color: rgba(255,255,255,.62); font-size: .78rem; }
.geo-console > a { display: inline-block; margin-top: 16px; color: #d8ed7a; font-size: .9rem; font-weight: 700; }

.geo-service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 45px; border-top: 1px solid rgba(78, 46, 29, .14); border-left: 1px solid rgba(78, 46, 29, .14); }
.geo-service-grid article { min-height: 260px; padding: 29px; border-right: 1px solid rgba(78, 46, 29, .14); border-bottom: 1px solid rgba(78, 46, 29, .14); background: rgba(255,255,255,.35); }
.geo-service-grid span { color: #527660; font-size: .75rem; font-weight: 800; letter-spacing: .1em; }
.geo-service-grid h3 { margin: 23px 0 13px; font-family: Georgia, 'Noto Serif SC', serif; font-size: 2rem; font-weight: 500; }
.geo-service-grid p { max-width: 520px; color: var(--text-secondary); line-height: 1.8; }
.geo-service-grid strong { color: #314f4a; font-size: .85rem; }

.geo-delivery { padding: 90px 0; background: #203d44; color: #f7f2e7; }
.geo-delivery-grid { display: grid; grid-template-columns: .74fr 1.26fr; gap: 80px; align-items: start; }
.geo-delivery .section-label { color: #d8ed7a; }
.geo-delivery h2 { margin: 14px 0 0; font-family: Georgia, 'Noto Serif SC', serif; font-size: clamp(2.8rem, 4.6vw, 5rem); font-weight: 500; line-height: 1.08; letter-spacing: -.045em; }
.geo-delivery ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.18); }
.geo-delivery li { display: grid; grid-template-columns: 190px 1fr; gap: 30px; padding: 25px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.geo-delivery li b { font-family: Georgia, 'Noto Serif SC', serif; font-size: 1.25rem; font-weight: 500; }.geo-delivery li span { color: rgba(255,255,255,.68); line-height: 1.75; }
.geo-cta { background: linear-gradient(135deg, rgba(237,243,222,.92), rgba(255,252,246,.96)); }

.product-visual > span {
  font-size: 4rem;
  font-weight: 800;
}

.product-visual strong {
  max-width: 12ch;
  font-family: Georgia, 'Noto Serif SC', serif;
  font-size: 1.75rem;
  line-height: 1.45;
}

.contact-direct {
  padding: 28px;
  background: #252827;
  color: #f7efe7;
}

.contact-direct img {
  width: 82px;
  height: 82px;
  margin: 22px 0 16px;
  object-fit: cover;
  border-radius: 50%;
}

.contact-direct h2 {
  margin-bottom: 8px;
  font-size: 1.65rem;
}

.contact-direct > p {
  color: rgba(247, 239, 231, 0.68);
  line-height: 1.75;
  margin-bottom: 22px;
}

.direct-line {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.direct-line span {
  color: rgba(247, 239, 231, 0.52);
}

.direct-line a,
.direct-line strong {
  color: #f7efe7;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 24px;
  border: 1px solid rgba(78, 46, 29, 0.11);
  background: rgba(255, 252, 247, 0.76);
}

.service-card > span,
.free-entry-card > span,
.community-card div > span {
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.service-card h3,
.free-entry-card h3,
.community-card h3 {
  margin: 34px 0 12px;
  font-family: Georgia, 'Noto Serif SC', serif;
  font-size: 1.5rem;
}

.service-card p,
.free-entry-card p,
.community-card p {
  color: var(--text-secondary);
  line-height: 1.8;
}

.service-card > strong {
  display: block;
  margin-top: auto;
  padding-top: 24px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.service-card > strong a {
  color: inherit;
  text-decoration: none;
}

.service-card > strong a:hover,
.service-card > strong a:focus-visible {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.community-free-section {
  background: rgba(45, 95, 86, 0.055);
}

.free-entry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.free-entry-card {
  min-height: 260px;
  padding: 24px;
  border: 1px solid rgba(45, 95, 86, 0.14);
  background: rgba(255, 255, 255, 0.64);
}

.free-entry-card h3 {
  margin-top: 28px;
}

.free-entry-card strong,
.community-card strong {
  display: block;
  margin-top: 22px;
  color: var(--accent);
}

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

.community-card {
  display: grid;
  grid-template-columns: 152px 1fr;
  gap: 20px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(78, 46, 29, 0.11);
  background: rgba(255, 252, 247, 0.76);
}

.community-card img {
  width: 152px;
  height: 202px;
  object-fit: cover;
  object-position: center;
}

.community-card h3 {
  margin: 10px 0 8px;
}

.community-card p {
  font-size: 0.92rem;
}

.community-card strong {
  margin-top: 14px;
}

.community-card-owned {
  border-color: rgba(45, 95, 86, 0.28);
  background: rgba(235, 248, 241, 0.68);
}

.community-recommend-section .lab-section-head {
  max-width: 1100px;
}

.community-recommend-section .lab-section-head h2 {
  max-width: none;
  font-size: clamp(2.5rem, 4vw, 3.55rem);
  line-height: 1.12;
  text-wrap: balance;
}

.community-recommend-section .lab-section-head > p:last-child {
  max-width: 920px;
}

.footer-nav span {
  display: block;
  color: var(--text-secondary);
  line-height: 1.8;
}

.footer-contact-line {
  display: flex;
  align-items: center;
  gap: 7px;
  width: auto;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.footer-contact-card {
  display: grid;
  gap: 10px;
  width: min(250px, calc(100vw - 48px));
  margin-top: 8px;
  padding: 14px;
  border: 1px solid rgba(78, 46, 29, 0.12);
  border-radius: 10px;
  background: rgba(255, 252, 247, 0.96);
  box-shadow: 0 16px 34px rgba(75, 53, 37, 0.12);
}

.footer-contact {
  scroll-margin-top: 96px;
}

.footer-contact-line::before {
  content: '';
  display: inline-block;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(45, 95, 86, 0.13);
  border-radius: 7px;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 6px 16px rgba(45, 95, 86, 0.06);
}

.footer-contact-email::before {
  content: '📮';
  display: inline-grid;
  place-items: center;
  background-color: #fff5d8;
  background-image: none;
  font-size: 15px;
  line-height: 1;
}

.footer-contact-wechat::before {
  background-color: #eaf7ec;
  background-image: url('../assets/contact-wechat.svg');
  background-size: 21px 21px;
}

@media (max-width: 768px) {
  .footer-contact-card {
    width: 100%;
  }
}

.lab-map-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lab-resource-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 44px;
  align-items: start;
}

.writing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 28px;
  align-items: start;
}

.legal-hero {
  padding-bottom: 44px;
}

.legal-document {
  max-width: 920px;
}

.legal-document article {
  padding: 28px 0;
  border-top: 1px solid rgba(78, 46, 29, 0.12);
}

.legal-document article:first-child {
  border-top: 0;
}

.legal-document h2 {
  margin: 0 0 12px;
  font-family: Georgia, 'Noto Serif SC', serif;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 500;
  color: var(--text-primary);
}

.legal-document p {
  max-width: 820px;
  margin: 0 0 12px;
  color: var(--text-secondary);
  line-height: 1.9;
}

.legal-document a {
  color: var(--accent);
  font-weight: 700;
}

.writing-side {
  position: sticky;
  top: 108px;
  padding: 28px;
  border: 1px solid rgba(78, 46, 29, 0.11);
  background: #252827;
  color: #f7efe7;
}

.writing-side h2 {
  margin: 10px 0 14px;
  font-family: Georgia, 'Noto Serif SC', serif;
  font-size: 2rem;
}

.writing-side p {
  margin-bottom: 24px;
  color: rgba(247, 239, 231, 0.68);
  line-height: 1.85;
}

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

.resource-links a {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 20px;
  border: 1px solid rgba(78, 46, 29, 0.11);
  background: rgba(255, 252, 247, 0.76);
}

.resource-links span {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
}

.resource-links strong {
  font-family: Georgia, 'Noto Serif SC', serif;
  font-size: 1.05rem;
}

.resource-links em {
  color: var(--text-muted);
  font-size: 0.84rem;
  font-style: normal;
}

.cta-contact-row > span {
  border: 1px solid rgba(88, 66, 47, 0.14);
  background: rgba(255, 255, 255, 0.52);
  padding: 10px 14px;
  color: var(--text-secondary);
  font-weight: 700;
  overflow-wrap: anywhere;
}

@media (max-width: 1024px) {
  .about-document-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-toc {
    position: static;
    grid-template-columns: repeat(3, 1fr);
  }

  .about-toc span {
    grid-column: 1 / -1;
  }

  .product-case,
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .geo-hero-grid,
  .geo-delivery-grid {
    grid-template-columns: 1fr;
  }

  .geo-hero-grid { gap: 40px; }

  .geo-delivery-grid { gap: 42px; }

  .product-case-copy {
    grid-column: 1 / -1;
  }

  .product-case > :last-child {
    grid-column: 1 / -1;
  }

  .free-entry-grid {
    grid-template-columns: 1fr;
  }

  .lab-resource-grid {
    grid-template-columns: 1fr;
  }

  .writing-layout {
    grid-template-columns: 1fr;
  }

  .writing-side {
    position: static;
  }
}

@media (max-width: 760px) {
  .about-toc,
  .about-proof-row,
  .product-facts,
  .service-grid,
  .community-card-grid {
    grid-template-columns: 1fr;
  }

  .lab-map-grid-three {
    grid-template-columns: 1fr;
  }

  .resource-links a {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .about-toc span {
    grid-column: auto;
  }

  .about-numbered > div {
    grid-template-columns: 38px 1fr;
  }

  .product-case {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .geo-hero { padding: 105px 0 68px; }

  .geo-service-grid { grid-template-columns: 1fr; }

  .geo-delivery { padding: 68px 0; }

  .geo-delivery li { grid-template-columns: 1fr; gap: 8px; }

  .product-case-copy,
  .product-case > :last-child {
    grid-column: auto;
  }

  .product-qr,
  .product-visual {
    min-height: 280px;
  }

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

  .community-card img {
    width: 96px;
    height: 128px;
  }

  .community-recommend-section .lab-section-head h2 {
    font-size: clamp(2.35rem, 11vw, 3.2rem);
  }
}

@media (max-width: 480px) {
  .community-card {
    grid-template-columns: 1fr;
  }

  .community-card img {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: contain;
    background: #edf9f6;
  }
}

/* now.building palette must remain after all legacy page overrides. */
.lab-console {
  color: var(--text-primary);
  border-color: rgba(78, 66, 52, 0.16);
  background:
    radial-gradient(circle at 92% 8%, rgba(63, 115, 91, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(251, 247, 239, 0.98), rgba(241, 233, 221, 0.98));
  box-shadow: 0 24px 70px rgba(68, 48, 34, 0.1);
}

.lab-console::before {
  background:
    linear-gradient(rgba(78, 66, 52, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(78, 66, 52, 0.055) 1px, transparent 1px);
  background-size: 30px 30px;
}

.console-topbar,
.console-profile p,
.console-build span,
.console-build small,
.console-manifesto > span,
.console-manifesto > small {
  color: var(--text-muted);
}

.console-topbar span {
  background: rgba(78, 66, 52, 0.24);
}

.console-topbar span:first-child {
  background: #3f735b;
}

.console-profile img {
  border-color: rgba(78, 66, 52, 0.16);
}

.console-profile strong,
.console-build strong {
  color: var(--text-primary);
}

.console-lines {
  border-top-color: rgba(78, 66, 52, 0.14);
}

.console-lines p {
  color: var(--text-secondary);
  border-bottom-color: rgba(78, 66, 52, 0.14);
}

.console-lines span {
  color: #3f735b;
}

.console-build {
  border-color: rgba(78, 66, 52, 0.14);
}

.console-progress {
  background: rgba(78, 66, 52, 0.12);
}

.console-progress i {
  background: #3f735b;
}

.console-manifesto {
  justify-content: center;
  padding-top: 18px;
  padding-bottom: 18px;
  border-top: 1px solid rgba(78, 66, 52, 0.14);
}

.console-manifesto strong {
  max-width: 13ch;
  color: #2f493d;
}

/* Product identity and layered notes */
.project-logo {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 18px;
  overflow: hidden;
  border: 1px solid rgba(45, 95, 86, 0.16);
  border-radius: 12px;
  background: #edf4ee;
}

.project-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-logo-filedev {
  padding: 7px;
  background: #e4f1eb;
}

.project-logo-filedev img {
  border-radius: 9px;
  object-fit: contain;
}

.project-logo-geo {
  background: #f4ede2;
}

.project-logo-geo img,
.lab-project-card:nth-child(2) .project-logo img,
.lab-project-card:nth-child(3) .project-logo img {
  object-fit: contain;
}

.lab-project-card:nth-child(2) .project-logo {
  background: #e4f1eb;
}

.lab-project-card:nth-child(3) .project-logo {
  background: #eaf3ff;
}

.product-title {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 10px 0 18px;
}

.product-title > img {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(45, 95, 86, 0.15);
  border-radius: 14px;
  background: #edf4ee;
  object-fit: contain;
}

.product-title > img[src*="filedev-logo"] {
  object-fit: cover;
}

.product-title .section-label,
.product-title h2 {
  margin: 0;
}

.product-title h2 {
  margin-top: 4px;
}

.product-visual > img {
  width: 132px;
  height: 132px;
  object-fit: contain;
}

.product-visual-mx {
  color: #174e36;
  background: linear-gradient(145deg, #edf5ef, #d8e8dd);
}

.product-visual-st {
  color: #14509d;
  background: linear-gradient(145deg, #eef6ff, #dceaff);
}

.product-visual-mx strong,
.product-visual-st strong {
  color: currentColor;
}

.beliefs-prologue {
  max-width: 650px;
  margin: -8px 0 26px;
  padding-left: 18px;
  border-left: 3px solid #3f735b;
  color: var(--text-secondary);
  font-family: Georgia, 'Noto Serif SC', 'Songti SC', serif;
  font-size: 1.05rem;
  line-height: 1.9;
}

.belief-list li {
  grid-template-columns: 46px minmax(170px, 0.62fr) minmax(0, 1.38fr);
  gap: 16px;
  align-items: baseline;
  padding: 22px 0;
}

.belief-list strong {
  color: #2f5b47;
  font-family: Georgia, 'Noto Serif SC', 'Songti SC', serif;
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.65;
}

.belief-list p {
  font-size: 0.96rem;
  line-height: 1.85;
}

@media (max-width: 760px) {
  .product-title > img {
    width: 60px;
    height: 60px;
  }

  .product-visual > img {
    width: 110px;
    height: 110px;
  }

  .belief-list li {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 6px 12px;
  }

  .belief-list strong,
  .belief-list p {
    grid-column: 2;
  }

  .belief-list span {
    grid-row: 1 / 3;
  }
}

/* WeChat contact card: hover on desktop, tap or focus everywhere. */
span.wechat-hover {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: #2f684f;
  font-weight: 700;
  line-height: 1.7;
  cursor: pointer;
  border-bottom: 1px dashed rgba(47, 104, 79, 0.5);
  outline: none;
}

span.wechat-hover::after {
  content: '';
  width: 6px;
  height: 6px;
  margin-left: 7px;
  border-radius: 50%;
  background: #3f735b;
  box-shadow: 0 0 0 0 rgba(63, 115, 91, 0.3);
  animation: wechatHint 2.2s ease-out infinite;
}

span.wechat-hover:focus-visible {
  border-radius: 3px;
  outline: 2px solid rgba(63, 115, 91, 0.35);
  outline-offset: 3px;
}

span.wechat-popover {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 14px);
  z-index: 1200;
  display: block;
  width: min(380px, 78vw);
  padding: 6px;
  visibility: hidden;
  opacity: 0;
  overflow: hidden;
  border: 1px solid rgba(63, 115, 91, 0.3);
  border-radius: 8px;
  background: #fbf7ef;
  box-shadow: 0 24px 70px rgba(48, 41, 34, 0.22);
  transform: translate(-50%, 8px) scale(0.98);
  transform-origin: center bottom;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

span.wechat-popover img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

span.wechat-hover:hover > .wechat-popover,
span.wechat-hover:focus > .wechat-popover,
span.wechat-hover.active > .wechat-popover {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

@keyframes wechatHint {
  0% { box-shadow: 0 0 0 0 rgba(63, 115, 91, 0.32); }
  70% { box-shadow: 0 0 0 7px rgba(63, 115, 91, 0); }
  100% { box-shadow: 0 0 0 0 rgba(63, 115, 91, 0); }
}

@media (hover: none), (max-width: 600px) {
  span.wechat-popover {
    position: fixed;
    top: 50%;
    left: 50%;
    bottom: auto;
    width: min(440px, calc(100vw - 28px));
    transform: translate(-50%, calc(-50% + 8px)) scale(0.98);
    transform-origin: center;
  }

  span.wechat-hover:hover > .wechat-popover,
  span.wechat-hover:focus > .wechat-popover,
  span.wechat-hover.active > .wechat-popover {
    transform: translate(-50%, -50%) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  span.wechat-hover::after {
    animation: none;
  }

  span.wechat-popover {
    transition: none;
  }
}

/* Full-resolution community card preview keeps embedded QR codes scannable. */
.community-card > img {
  cursor: zoom-in;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.community-card > img:hover,
.community-card > img:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(47, 91, 70, 0.2);
  outline: 2px solid rgba(63, 115, 91, 0.38);
  outline-offset: 3px;
}

.community-preview-overlay {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: grid;
  place-items: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  background: rgba(37, 33, 29, 0.18);
  backdrop-filter: blur(4px);
  transition: opacity 0.2s ease, visibility 0.2s ease, background 0.2s ease;
}

.community-preview-overlay.open {
  visibility: visible;
  opacity: 1;
}

.community-preview-overlay.pinned {
  pointer-events: auto;
  background: rgba(37, 33, 29, 0.62);
  backdrop-filter: blur(10px);
}

.community-preview-panel {
  position: relative;
  display: grid;
  place-items: center;
  width: min(720px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
  padding: 8px;
  overflow: hidden;
  border: 1px solid rgba(63, 115, 91, 0.34);
  border-radius: 8px;
  background: #edf9f6;
  box-shadow: 0 28px 90px rgba(31, 27, 24, 0.32);
  transform: translateY(10px) scale(0.985);
  transition: transform 0.2s ease;
}

.community-preview-overlay.open .community-preview-panel {
  transform: translateY(0) scale(1);
}

.community-preview-panel img {
  display: block;
  width: 100%;
  max-height: calc(100vh - 64px);
  object-fit: contain;
}

.community-preview-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1;
  display: none;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(35, 79, 59, 0.9);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
}

.community-preview-overlay.pinned .community-preview-close {
  display: grid;
}

body.community-preview-open {
  overflow: hidden;
}

@media (max-width: 600px) {
  .community-preview-overlay {
    padding: 14px;
  }

  .community-preview-panel {
    width: calc(100vw - 28px);
    max-height: calc(100vh - 28px);
  }

  .community-preview-panel img {
    max-height: calc(100vh - 44px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .community-card > img,
  .community-preview-overlay,
  .community-preview-panel {
    transition: none;
  }
}

/* Keep inner-page introductions on one consistent editorial axis. */
.page-intro-contact {
  padding-top: 132px;
  padding-bottom: 72px;
}

.page-intro-contact .page-intro-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
}

.page-intro-contact .page-intro-copy {
  align-self: center;
}

.page-intro-contact h1 {
  width: 100%;
  max-width: none;
  font-size: clamp(3.2rem, 4.6vw, 4.4rem);
  line-height: 1.04;
  text-wrap: balance;
}

.page-intro-contact .page-summary {
  max-width: 650px;
  font-size: 1.16rem;
}

.page-intro-contact .contact-direct {
  width: 100%;
  max-width: 460px;
  justify-self: end;
}

.page-intro-works,
.page-intro-blog {
  padding-top: 132px;
  padding-bottom: 72px;
}

.page-intro-works .page-intro-single,
.page-intro-blog .page-intro-single {
  max-width: 980px;
}

.page-intro-works h1,
.page-intro-blog h1 {
  width: 100%;
  max-width: none;
  font-size: clamp(3.35rem, 5vw, 4.75rem);
  line-height: 1.04;
  text-wrap: balance;
}

.page-intro-contact .page-kicker,
.page-intro-works .page-kicker,
.page-intro-blog .page-kicker {
  font-size: 0.84rem;
}

.page-intro-works .page-summary {
  max-width: 980px;
  font-size: 1.16rem;
}

.page-intro-blog .page-summary {
  max-width: 900px;
  font-size: 1.16rem;
}

@media (max-width: 1024px) {
  .page-intro-contact .page-intro-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .page-intro-contact .contact-direct {
    max-width: none;
    justify-self: stretch;
  }
}

@media (max-width: 700px) {
  .page-intro-contact,
  .page-intro-works,
  .page-intro-blog {
    padding-top: 112px;
    padding-bottom: 48px;
  }

  .page-intro-contact h1,
  .page-intro-works h1,
  .page-intro-blog h1 {
    font-size: clamp(2.55rem, 12vw, 3.5rem);
    line-height: 1.05;
  }

  .page-intro-contact .page-summary,
  .page-intro-works .page-summary,
  .page-intro-blog .page-summary {
    font-size: 1.05rem;
  }
}

/* Warm-paper panels replace the former black utility blocks. */
.contact-direct {
  border: 1px solid rgba(58, 105, 82, 0.24);
  background:
    linear-gradient(145deg, rgba(255, 252, 246, 0.96), rgba(239, 231, 218, 0.94)),
    var(--bg-primary);
  color: var(--text-primary);
  box-shadow: 0 22px 55px rgba(75, 53, 37, 0.1);
}

.contact-direct .contact-card-label { color: #54745f; }

.contact-direct img {
  border: 3px solid rgba(255, 252, 246, 0.95);
  box-shadow: 0 0 0 1px rgba(58, 105, 82, 0.28);
}

.contact-direct > p { color: var(--text-secondary); }
.contact-direct .direct-line { border-top-color: rgba(78, 46, 29, 0.12); }
.contact-direct .direct-line span { color: var(--text-muted); }

.contact-direct .direct-line a,
.contact-direct .direct-line strong { color: var(--text-primary); }

.contact-direct .direct-line:first-of-type strong { color: #356c51; }

.writing-side {
  border-color: rgba(78, 46, 29, 0.16);
  background:
    linear-gradient(150deg, rgba(255, 252, 246, 0.97), rgba(241, 232, 218, 0.94)),
    var(--bg-primary);
  color: var(--text-primary);
  box-shadow: 0 20px 52px rgba(75, 53, 37, 0.09);
}

.writing-side h2 { color: var(--text-primary); }
.writing-side p { color: var(--text-secondary); }

/* ============ geo_yscai 追加样式 ============ */
.console-avatar{width:52px;height:52px;border-radius:12px;background:linear-gradient(135deg,#6366f1,#22d3ee);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:15px;margin-right:12px;flex:none}
.profile-inline{display:flex;align-items:center;gap:14px}
.proj-letter{display:flex;width:56px;height:56px;border-radius:14px;background:linear-gradient(135deg,#6366f1,#22d3ee);color:#fff;align-items:center;justify-content:center;font-size:22px;font-weight:700;flex:none}
.project-logo{display:flex;align-items:center}
.qr-placeholder{width:200px;height:200px;border-radius:16px;background:linear-gradient(135deg,#6366f1,#22d3ee);color:#fff;display:flex;align-items:center;justify-content:center;text-align:center;line-height:1.6;font-weight:700;letter-spacing:1px;font-size:14px}
