@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700&family=Noto+Serif+SC:wght@400;500;600;700&display=swap');

:root {
  --bg: #08111f;
  --bg-soft: #101b2f;
  --panel: rgba(12, 24, 42, 0.86);
  --panel-strong: #142746;
  --line: rgba(161, 196, 255, 0.16);
  --text: #f4f7ff;
  --muted: #92a4c6;
  --cyan: #68e1ff;
  --orange: #ffaf63;
  --pink: #ff7fab;
  --shadow: 0 20px 40px rgba(0, 0, 0, 0.34);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
}

body {
  margin: 0;
  font-family: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(104, 225, 255, 0.18), transparent 32%),
    radial-gradient(circle at 80% 18%, rgba(255, 127, 171, 0.12), transparent 20%),
    linear-gradient(180deg, #09111e 0%, #050910 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(circle at center, black 58%, transparent 100%);
}

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

button {
  font: inherit;
}

.site-shell {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 20px 16px 32px;
  position: relative;
}

.topbar,
.panel,
.link-card,
.mini-card {
  backdrop-filter: blur(16px);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  padding: 14px 16px;
  background: rgba(9, 17, 30, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.brand {
  --brand-gap: 12px;
  display: flex;
  align-items: center;
  gap: var(--brand-gap);
}

.brand-mark,
.avatar-badge {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 248, 236, 0.92);
  border: 1px solid rgba(123, 86, 53, 0.28);
  box-shadow:
    0 0 0 1px rgba(255, 247, 236, 0.55),
    inset 0 -6px 16px rgba(0, 0, 0, 0.08);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-text {
  display: flex;
  align-items: flex-end;
  gap: var(--brand-gap);
  line-height: 1.08;
}

.brand-meta {
  display: grid;
  gap: 1px;
  align-self: flex-end;
  padding-bottom: 2px;
}

.brand-text strong,
h1,
h2,
.button,
.link-card strong {
  font-family: "Arial Rounded MT Bold", "Trebuchet MS", "PingFang SC", sans-serif;
}

.brand-text strong {
  font-size: 2.15rem;
  line-height: 0.98;
  letter-spacing: 0.01em;
}

.brand-text small,
.hero-summary,
.footer,
.detail-list,
.timeline,
.mini-card p {
  color: var(--muted);
}

.brand-text small {
  font-size: 0.72rem;
  line-height: 1.22;
}

.brand-meta small:last-child {
  font-size: 0.78rem;
}

.brand-text small:last-child {
  opacity: 0.9;
}

.nav-toggle {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 10px 14px;
}

.site-nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 10px);
  padding: 12px;
  border-radius: 24px;
  background: rgba(9, 17, 30, 0.96);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.site-nav.is-open {
  display: grid;
  gap: 8px;
}

.site-nav a {
  padding: 12px 14px;
  border-radius: 16px;
  color: var(--muted);
}

.site-nav a.is-current,
.site-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

main {
  display: grid;
  gap: 18px;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero,
.page-hero,
.section-block,
.member-card,
.task-card,
.daily-card,
.info-card {
  padding: 22px;
}

.hero {
  display: grid;
  gap: 18px;
}

.eyebrow,
.card-kicker,
.status-chip,
.status-pill,
.task-code,
.link-index {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 8vw, 4.5rem);
  line-height: 1;
}

h2 {
  margin: 0;
  font-size: 1.3rem;
}

.home-v2 .section-head {
  display: grid;
  width: fit-content;
  max-width: 100%;
  gap: 8px;
  align-items: end;
}

.home-v2 .section-head .eyebrow {
  width: fit-content;
  margin: 0;
  font-family: "Source Han Serif SC", "Noto Serif SC", "Songti SC", "STSong", serif;
  font-size: clamp(1.26rem, 2.3vw, 1.8rem);
  line-height: 1.02;
  letter-spacing: 0.02em;
  font-weight: 700;
  text-transform: none;
}

.home-v2 .section-head h2 {
  font-size: clamp(1rem, 1.12vw, 1.12rem);
  line-height: 1.46;
  font-weight: 460;
  color: #6b5a4d;
  max-width: 48ch;
  justify-self: start;
}

p,
li {
  line-height: 1.65;
}

.hero-summary,
.page-hero p:last-child {
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
}

.button.primary {
  color: #09111e;
  background: linear-gradient(135deg, var(--orange), #ffd098);
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

body.modal-open {
  overflow: hidden;
}

.contact-modal[hidden] {
  display: none;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
}

.contact-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(32, 28, 24, 0.44);
  backdrop-filter: blur(6px);
}

.contact-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 440px);
  display: grid;
  gap: 12px;
  padding: 24px 22px 22px;
  border: 1px solid rgba(106, 79, 56, 0.16);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.95), rgba(244, 236, 225, 0.92)),
    rgba(255, 249, 239, 0.98);
  box-shadow: 0 22px 56px rgba(58, 45, 33, 0.2);
}

.contact-modal__dialog::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(circle at top right, rgba(54, 87, 79, 0.1), transparent 30%);
}

.contact-modal__kicker,
.contact-modal__email,
.contact-modal__dialog h3,
.contact-modal__hint {
  position: relative;
  z-index: 1;
  margin: 0;
}

.contact-modal__kicker {
  color: #9f4737;
  font-family: "Source Han Serif SC", "Noto Serif SC", serif;
  font-size: 1rem;
}

.contact-modal__dialog h3 {
  color: #2d241d;
  font-size: 1.36rem;
  line-height: 1.28;
}

.contact-modal__email {
  color: #36574f;
  font-size: 1.08rem;
  word-break: break-all;
}

.contact-modal__hint {
  color: #6a5849;
  font-size: 0.95rem;
  line-height: 1.68;
}

.contact-modal__button {
  position: relative;
  z-index: 1;
  justify-self: start;
  min-height: 40px;
  padding: 0 16px;
}

.stack-card,
.mini-card,
.link-card,
.task-card,
.daily-card {
  position: relative;
  overflow: hidden;
}

.stack-card::after,
.task-hot::after,
.daily-card::after,
.link-card::after,
.mini-card::after {
  content: "";
  position: absolute;
  inset: auto -20% 0 35%;
  height: 120px;
  background: radial-gradient(circle, rgba(104, 225, 255, 0.18), transparent 60%);
}

.status-chip,
.status-pill,
.task-code {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--cyan);
}

.signal-list,
.detail-list,
.timeline,
.member-metrics,
.daily-highlights {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.signal-list li,
.member-metrics li,
.daily-highlights li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.signal-list span,
.member-metrics span,
.timeline small {
  color: var(--muted);
}

.grid-section,
.mini-grid,
.link-grid,
.member-grid,
.task-grid,
.daily-grid,
.summary-grid,
.about-grid {
  display: grid;
  gap: 18px;
}

.info-card,
.mini-card,
.link-card,
.member-card,
.task-card,
.daily-card,
.about-card {
  padding: 20px;
}

.accent-cyan {
  border-color: rgba(104, 225, 255, 0.26);
}

.accent-orange {
  border-color: rgba(255, 175, 99, 0.26);
}

.section-head {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.link-card,
.mini-card,
.member-card,
.task-card,
.daily-card,
.about-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
}

.link-card {
  display: grid;
  gap: 8px;
}

.link-index {
  color: var(--cyan);
}

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

.detail-list li {
  padding-left: 18px;
  position: relative;
}

.detail-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

.page-hero {
  display: grid;
  gap: 16px;
}

.page-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--cyan);
}

.member-card header,
.task-card header,
.daily-card header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.member-card {
  height: 100%;
  min-height: 100%;
}

.member-card p,
.task-card p,
.daily-card p,
.about-card p {
  color: var(--muted);
}

.member-head {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  align-items: center;
  column-gap: 16px;
  margin-bottom: 14px;
}

.member-head-copy {
  display: grid;
  gap: 4px;
  align-content: center;
}

.member-head-copy h2,
.member-head-copy .card-kicker {
  margin: 0;
}

.member-head-copy h2 {
  font-size: 1.24rem;
}

.member-head-copy .card-kicker {
  font-size: 1rem;
  line-height: 1.26;
  letter-spacing: 0.03em;
}

.member-copy {
  min-height: 100%;
}

.avatar-badge {
  width: 84px;
  height: 84px;
  overflow: hidden;
  align-self: start;
}

.avatar-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.member-metrics {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.task-grid,
.daily-grid,
.summary-grid,
.about-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.daily-hero {
  gap: 8px;
}

.daily-hero p:last-child {
  max-width: 42rem;
  color: inherit;
}

.daily-overview,
.daily-timeline {
  padding: 24px 22px;
}

.daily-summary-grid {
  display: grid;
  gap: 14px;
}

.summary-card {
  display: grid;
  gap: 6px;
  min-height: 148px;
}

.summary-card strong {
  font-size: 1rem;
}

.summary-card p {
  margin: 0;
  color: var(--text);
}

.summary-card span {
  color: var(--cyan);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.timeline-statusbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.timeline-status-item {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.8rem;
}

.timeline-status-item.is-current {
  color: var(--cyan);
  border-color: rgba(104, 225, 255, 0.32);
  background: rgba(104, 225, 255, 0.08);
}

.timeline-stream {
  display: grid;
  gap: 14px;
}

.timeline-card {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 16px;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
}

.timeline-card::after {
  display: none;
}

.timeline-marker {
  display: grid;
  justify-items: center;
  grid-template-rows: 18px minmax(0, 1fr);
}

.timeline-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), #c8fbff);
  box-shadow: 0 0 0 4px rgba(104, 225, 255, 0.12);
}

.timeline-line {
  width: 2px;
  height: 100%;
  margin-top: 8px;
  background: linear-gradient(180deg, rgba(104, 225, 255, 0.5), rgba(161, 196, 255, 0.08));
}

.timeline-body {
  padding: 18px 18px 16px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
  position: relative;
  overflow: hidden;
}

.timeline-body::after {
  content: "";
  position: absolute;
  inset: auto -20% 0 35%;
  height: 120px;
  background: radial-gradient(circle, rgba(104, 225, 255, 0.18), transparent 60%);
}

.timeline-body > * {
  position: relative;
  z-index: 1;
}

.daily-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}

.task-card header,
.daily-card header {
  margin-bottom: 10px;
}

.task-hot {
  border-color: rgba(255, 127, 171, 0.34);
}

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

.timeline li {
  display: grid;
  gap: 4px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 4px 0;
  font-size: 0.92rem;
}

@media (min-width: 768px) {
  .site-shell {
    padding: 24px 24px 42px;
  }

  .site-v2 .page-hero {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 12px;
  }

  .site-v2 .member-list,
  .site-v2 .task-board,
  .site-v2 .grid-section {
    align-items: start;
  }

  .site-v2 .member-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-v2 .section-block {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .site-v2 .task-board {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-v2 .grid-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-v2 .member-list .cluster-head,
  .site-v2 .task-board .cluster-head,
  .site-v2 .grid-section .cluster-head-full {
    grid-column: 1 / -1;
  }

  .site-v2 .mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-v2 .daily-summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-v2 .daily-overview {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: start;
  }

  .site-v2 .daily-overview .section-head {
    margin-bottom: 0;
  }

  .site-v2 .daily-timeline {
    padding-bottom: 20px;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: flex;
    position: static;
    padding: 0;
    gap: 8px;
    border: none;
    background: transparent;
    box-shadow: none;
  }

  .hero,
  .page-hero {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: stretch;
  }

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

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

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

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

@media (prefers-reduced-motion: no-preference) {
  .button,
  .link-card,
  .mini-card,
  .member-card,
  .task-card,
  .daily-card,
  .site-nav a {
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  }

  .button:hover,
  .link-card:hover,
  .mini-card:hover,
  .member-card:hover,
  .task-card:hover,
  .daily-card:hover {
    transform: translateY(-2px);
  }
}

/* home v2 */
body.home-v2,
body.site-v2 {
  color: #2d241d;
  background:
    radial-gradient(circle at top, rgba(255, 250, 242, 0.96), transparent 28%),
    radial-gradient(circle at 15% 14%, rgba(195, 213, 203, 0.7), transparent 22%),
    linear-gradient(180deg, #efe7d8 0%, #eadfcf 42%, #e4d7c1 100%);
}

body.home-v2::before,
body.site-v2::before {
  background-image:
    linear-gradient(rgba(80, 58, 38, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(80, 58, 38, 0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(180deg, black 0%, black 62%, transparent 100%);
}

.home-shell {
  width: min(100%, 1280px);
}

.home-topbar {
  margin-bottom: 24px;
  background: rgba(48, 81, 74, 0.9);
  border: 1px solid rgba(255, 247, 233, 0.22);
  box-shadow: 0 18px 40px rgba(67, 54, 37, 0.12);
}

.home-v2 .brand-mark,
.site-v2 .brand-mark {
  background: rgba(255, 248, 236, 0.96);
  width: 52px;
  height: 52px;
}

.home-v2 .brand-text strong,
.home-v2 h1,
.home-v2 h2,
.home-v2 h3,
.site-v2 .brand-text strong,
.site-v2 h1,
.site-v2 h2,
.site-v2 h3 {
  font-family: "Source Han Serif SC", "Noto Serif SC", "Songti SC", "STSong", serif;
  font-variant-east-asian: simplified;
  font-feature-settings: "kern" 1;
}

.home-v2 .button,
.site-v2 .button {
  font-family: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", sans-serif;
  font-weight: 500;
}

.home-v2 h1,
.home-v2 h2,
.home-v2 h3,
.site-v2 h1,
.site-v2 h2,
.site-v2 h3 {
  color: #2e251f;
  font-weight: 600;
  line-height: 1.18;
}

.home-v2 .brand-text small,
.home-v2 .site-nav a,
.home-v2 .nav-toggle,
.site-v2 .brand-text small,
.site-v2 .site-nav a,
.site-v2 .nav-toggle {
  color: #f1e7d8;
}

.home-topbar .brand-text strong,
.home-topbar .site-nav a,
.home-topbar .nav-toggle {
  color: #f7efdf;
}

.home-v2 .nav-toggle,
.home-v2 .site-nav a.is-current,
.home-v2 .site-nav a:hover,
.site-v2 .nav-toggle,
.site-v2 .site-nav a.is-current,
.site-v2 .site-nav a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.home-topbar .site-nav a.is-current,
.home-topbar .site-nav a:hover {
  color: #fff9ef;
}

.home-main {
  gap: 22px;
}

.home-v2 .panel:not(.hero-minimal),
.site-v2 .panel {
  background: rgba(248, 241, 230, 0.9);
  border: 1px solid rgba(124, 97, 71, 0.16);
  box-shadow: 0 18px 48px rgba(73, 57, 39, 0.12);
}

.hero-v3 {
  display: block;
  position: relative;
  overflow: hidden;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(251, 247, 239, 0.94), rgba(239, 232, 220, 0.9)),
    linear-gradient(135deg, rgba(217, 205, 183, 0.28), rgba(187, 204, 193, 0.2));
}

.hero-v3::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 26px;
  border: 1px solid rgba(161, 138, 115, 0.14);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 24px;
}

.hero-copy {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 12px 8px 6px;
}

.hero-kickers,
.hero-footnotes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-kicker,
.hero-footnotes span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(163, 133, 98, 0.18);
  background: rgba(216, 196, 162, 0.4);
  color: #6e5844;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.hero-kicker-muted,
.hero-footnotes span {
  background: rgba(255, 251, 245, 0.72);
}

.home-v2 .eyebrow {
  color: #9f4737;
  font-weight: 700;
}

.hero-v3 h1 {
  color: #2c241d;
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 0.96;
  letter-spacing: 0.03em;
}

.hero-subtitle {
  margin: 0;
  color: #36574f !important;
  font-size: clamp(1.35rem, 3.2vw, 2.25rem);
}

.hero-v3 .hero-summary {
  max-width: 32rem;
  margin: 0;
  color: #665647;
  font-size: 1.04rem;
}

.hero-v3 .button.primary {
  color: #f8efe3;
  background: linear-gradient(135deg, #c97d52, #b56740);
}

.hero-v3 .button.secondary {
  color: #36574f;
  border: 1px solid rgba(53, 88, 81, 0.18);
  background: rgba(54, 87, 79, 0.08);
}

.hero-visual {
  min-width: 0;
}

.hero-scene {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(101, 127, 119, 0.28);
  background:
    radial-gradient(circle at 70% 18%, rgba(255, 255, 255, 0.72), transparent 18%),
    radial-gradient(circle at 78% 28%, rgba(255, 255, 255, 0.48), transparent 24%),
    linear-gradient(180deg, #f5f1e8 0%, #ebede6 34%, #dbe3da 54%, #c0d1c7 70%, #95aba0 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.hero-scene::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 24px;
  border: 1px solid rgba(85, 103, 98, 0.16);
  pointer-events: none;
}

.scene-mist,
.scene-cloud,
.scene-ridge,
.scene-fortress,
.scene-ledger,
.scene-flag,
.scene-seal,
.hero-status {
  position: absolute;
}

.scene-mist {
  inset: auto 0 0 0;
  height: 54%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(244, 240, 233, 0.34) 34%, rgba(247, 244, 238, 0.9) 100%);
}

.scene-cloud {
  height: 44px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  filter: blur(1px);
}

.scene-cloud::before,
.scene-cloud::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: inherit;
}

.scene-cloud-a {
  top: 72px;
  right: 88px;
  width: 116px;
}

.scene-cloud-a::before {
  width: 54px;
  height: 54px;
  left: 14px;
  top: -14px;
}

.scene-cloud-a::after {
  width: 62px;
  height: 62px;
  right: 12px;
  top: -18px;
}

.scene-cloud-b {
  top: 126px;
  right: 180px;
  width: 92px;
  opacity: 0.7;
}

.scene-cloud-b::before {
  width: 44px;
  height: 44px;
  left: 8px;
  top: -12px;
}

.scene-cloud-b::after {
  width: 52px;
  height: 52px;
  right: 10px;
  top: -16px;
}

.scene-ridge {
  inset: auto 0 0 0;
  background-repeat: no-repeat;
  background-size: cover;
}

.scene-ridge-back {
  height: 48%;
  background:
    linear-gradient(180deg, transparent 0%, rgba(150, 168, 160, 0.12) 100%),
    linear-gradient(180deg, rgba(192, 203, 196, 0.34), rgba(151, 165, 156, 0.8));
  clip-path: polygon(0 82%, 12% 74%, 23% 62%, 36% 54%, 48% 60%, 58% 67%, 68% 64%, 80% 50%, 90% 40%, 100% 32%, 100% 100%, 0 100%);
}

.scene-ridge-mid {
  height: 42%;
  background: linear-gradient(180deg, rgba(122, 148, 140, 0.24), rgba(108, 131, 123, 0.86));
  clip-path: polygon(0 86%, 14% 80%, 28% 70%, 41% 66%, 54% 72%, 66% 76%, 77% 70%, 88% 58%, 100% 48%, 100% 100%, 0 100%);
}

.scene-ridge-front {
  height: 26%;
  background: linear-gradient(180deg, rgba(85, 112, 104, 0.42), rgba(69, 92, 85, 0.94));
  clip-path: polygon(0 66%, 12% 72%, 24% 66%, 36% 58%, 51% 62%, 66% 74%, 79% 76%, 90% 68%, 100% 56%, 100% 100%, 0 100%);
}

.scene-fortress {
  right: 100px;
  top: 144px;
  width: 298px;
  height: 238px;
}

.fortress-main,
.fortress-tower,
.fortress-roof,
.fortress-door {
  position: absolute;
}

.fortress-main {
  left: 48px;
  right: 48px;
  bottom: 24px;
  top: 64px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 34px 24px 18px;
  border-radius: 18px 18px 20px 20px;
  background: linear-gradient(180deg, rgba(249, 246, 238, 0.96), rgba(227, 221, 210, 0.94));
  border: 1px solid rgba(118, 128, 119, 0.3);
  box-shadow: 0 20px 30px rgba(71, 85, 77, 0.14);
}

.fortress-main strong {
  color: #2e251f;
  font-size: 2.65rem;
  letter-spacing: 0.06em;
}

.fortress-main span {
  color: #5f564c;
  font-size: 0.8rem;
  line-height: 1.65;
}

.fortress-actions {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.fortress-actions span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 0.72rem;
  color: #fff5ea;
}

.fortress-actions span:first-child {
  background: #58a3ad;
}

.fortress-actions span:last-child {
  background: #c8b395;
  color: #594833;
}

.fortress-tower {
  bottom: 70px;
  width: 62px;
  height: 150px;
  border-radius: 16px 16px 14px 14px;
  background: linear-gradient(180deg, rgba(238, 233, 223, 0.95), rgba(206, 195, 180, 0.92));
  border: 1px solid rgba(118, 128, 119, 0.28);
}

.fortress-tower-left {
  left: 0;
}

.fortress-tower-right {
  right: 0;
}

.fortress-roof {
  top: 38px;
  width: 82px;
  height: 34px;
  background: #355851;
  clip-path: polygon(8% 100%, 50% 0, 92% 100%);
}

.fortress-roof-left {
  left: -10px;
}

.fortress-roof-right {
  right: -10px;
}

.fortress-door {
  left: 50%;
  bottom: 24px;
  width: 54px;
  height: 84px;
  transform: translateX(-50%);
  border-radius: 30px 30px 10px 10px;
  background: linear-gradient(180deg, #355851, #27433d);
}

.scene-flag {
  left: 34px;
  top: 56px;
  min-height: 38px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(255, 249, 239, 0.82);
  border: 1px solid rgba(206, 183, 151, 0.9);
  color: #9f4737;
  font-size: 0.8rem;
  font-weight: 700;
}

.scene-seal {
  right: 132px;
  top: 184px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #b4533f;
  color: #fff6eb;
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: 0 10px 18px rgba(180, 83, 63, 0.24);
}

.scene-ledger {
  left: 42px;
  bottom: 92px;
  width: 248px;
  padding: 18px 18px 16px;
  border-radius: 24px 24px 20px 20px;
  background: linear-gradient(180deg, rgba(251, 248, 240, 0.96), rgba(238, 230, 217, 0.94));
  border: 1px solid rgba(181, 162, 137, 0.34);
  box-shadow: 0 18px 32px rgba(92, 78, 59, 0.14);
}

.ledger-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  color: #9f4737;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.ledger-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(145, 120, 94, 0.22);
}

.ledger-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.ledger-list strong {
  color: #332720;
  font-size: 0.92rem;
}

.ledger-list span {
  color: #6f6154;
  font-size: 0.8rem;
}

.hero-status {
  min-height: 82px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 249, 238, 0.92);
  border: 1px solid rgba(187, 165, 138, 0.34);
  box-shadow: 0 16px 28px rgba(99, 82, 62, 0.12);
}

.hero-status span {
  display: block;
  margin-bottom: 6px;
  color: #a04c3b;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-status strong {
  color: #2f2620;
  font-size: 1rem;
}

.hero-status-phase {
  right: 34px;
  bottom: 126px;
  width: 220px;
}

.hero-status-task {
  right: 118px;
  bottom: 26px;
  width: 248px;
}

.hero-status-team {
  right: 34px;
  bottom: 26px;
  width: 72px;
}

.home-section {
  padding: 26px 22px;
}

.home-v2 .gallery-panel,
.home-v2 .cta-panel {
  border: 1px solid rgba(106, 79, 56, 0.12);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.82), rgba(247, 240, 231, 0.84)),
    var(--paper);
  box-shadow: 0 18px 38px rgba(74, 55, 39, 0.08);
}

.home-v2 .cta-panel {
  background: linear-gradient(135deg, rgba(48, 81, 74, 0.98), rgba(67, 102, 94, 0.96)) !important;
  border-color: rgba(95, 126, 117, 0.22);
  box-shadow: 0 18px 38px rgba(28, 44, 40, 0.18);
}

.page-shell main {
  gap: 14px;
}

.site-v2 .page-cluster {
  display: grid;
  gap: 12px;
}

.site-v2 .page-cluster-tight {
  display: grid;
  gap: 10px;
}

.site-v2 .cluster-head {
  margin-bottom: 2px;
  padding: 4px 4px 0;
}

.site-v2 .cluster-head-full {
  grid-column: 1 / -1;
}

.site-v2 {
  --paper: rgba(255, 249, 239, 0.82);
  --paper-strong: linear-gradient(180deg, rgba(249, 243, 234, 0.98), rgba(238, 230, 218, 0.92));
  --paper-soft: rgba(252, 247, 240, 0.72);
  --ink-green: #36574f;
  --ink-red: #9f4737;
  --ink-brown: #6a5747;
  --line-soft: rgba(124, 97, 71, 0.14);
  --line-strong: rgba(95, 126, 117, 0.22);
  --shadow-soft: 0 16px 36px rgba(73, 57, 39, 0.1);
  --shadow-lift: 0 22px 44px rgba(69, 54, 38, 0.12);
  --space-block: clamp(18px, 2vw, 24px);
  --space-card: clamp(16px, 1.6vw, 20px);
}

.site-v2 .page-hero,
.site-v2 .section-block,
.site-v2 .daily-overview,
.site-v2 .daily-timeline,
.site-v2 .member-card,
.site-v2 .task-card,
.site-v2 .info-card,
.site-v2 .mini-card,
.site-v2 .daily-card,
.site-v2 .about-card,
.site-v2 .cta-banner,
.site-v2 .summary-card,
.site-v2 .timeline-body {
  border-radius: 28px;
}

.site-v2 .page-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 8px;
  min-height: 0;
  padding: 22px 22px 20px;
  background: var(--paper-strong);
  border: 1px solid rgba(124, 97, 71, 0.12);
  box-shadow: 0 18px 40px rgba(73, 57, 39, 0.08);
}

.site-v2 .page-hero > * {
  width: min(100%, 52rem);
  margin: 0;
}

.site-v2 .page-hero .eyebrow {
  width: fit-content;
}

.site-v2 .page-hero::after,
.site-v2 .section-block::after,
.site-v2 .daily-overview::after,
.site-v2 .daily-timeline::after,
.site-v2 .member-card::after,
.site-v2 .task-card::after,
.site-v2 .info-card::after,
.site-v2 .mini-card::after,
.site-v2 .daily-card::after,
.site-v2 .about-card::after,
.site-v2 .summary-card::after,
.site-v2 .timeline-body::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at top right, rgba(54, 87, 79, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 22%);
  opacity: 0.9;
}

.site-v2 .section-block,
.site-v2 .daily-overview,
.site-v2 .daily-timeline,
.site-v2 .member-card,
.site-v2 .task-card,
.site-v2 .info-card,
.site-v2 .mini-card,
.site-v2 .daily-card,
.site-v2 .about-card,
.site-v2 .summary-card,
.site-v2 .timeline-body,
.site-v2 .cta-banner {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(4px);
  transition: box-shadow 0.24s ease, border-color 0.24s ease, transform 0.24s ease;
}

.site-v2 .section-block:hover,
.site-v2 .daily-overview:hover,
.site-v2 .daily-timeline:hover,
.site-v2 .member-card:hover,
.site-v2 .task-card:hover,
.site-v2 .info-card:hover,
.site-v2 .mini-card:hover,
.site-v2 .daily-card:hover,
.site-v2 .about-card:hover,
.site-v2 .summary-card:hover,
.site-v2 .timeline-body:hover {
  border-color: rgba(95, 126, 117, 0.26);
  box-shadow: var(--shadow-lift);
  transform: translateY(-1px);
}

.site-v2 .section-block,
.site-v2 .daily-overview,
.site-v2 .daily-timeline {
  padding: var(--space-block);
}

.site-v2 .member-card,
.site-v2 .task-card,
.site-v2 .info-card,
.site-v2 .mini-card,
.site-v2 .daily-card,
.site-v2 .about-card,
.site-v2 .summary-card,
.site-v2 .timeline-body {
  padding: var(--space-card);
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.76), rgba(247, 240, 231, 0.8)),
    var(--paper);
}

.site-v2 .cta-banner {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  padding: 24px 22px;
  background: linear-gradient(135deg, rgba(48, 81, 74, 0.98), rgba(67, 102, 94, 0.96));
}

.site-v2 .footer,
.site-v2 p,
.site-v2 li {
  color: #342a22;
}

.site-v2 .topbar .brand-text strong {
  color: #f7efdf;
}

.site-v2 .cta-banner h2,
.site-v2 .cta-banner p,
.site-v2 .cta-banner .eyebrow {
  color: #f3eadc !important;
}

.site-v2 .cta-banner .button.primary {
  background: linear-gradient(135deg, #f0d6bb, #e4bd95);
  color: #32514a;
  box-shadow: 0 12px 28px rgba(28, 44, 40, 0.16);
}

.site-v2[data-page="about"] .cta-banner {
  gap: 14px;
  padding: 22px 20px;
  margin-top: 2px;
}

.site-v2[data-page="about"] .cta-banner h2 {
  max-width: none;
}

.site-v2[data-page="about"] .footer {
  margin-top: 8px;
  padding-top: 12px;
}

.site-v2[data-page="about"] .page-hero {
  gap: 8px;
  padding-bottom: 20px;
}

.site-v2[data-page="about"] .page-hero h1 {
  max-width: 100%;
  width: 100%;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.site-v2[data-page="about"] .page-hero > p:last-child {
  max-width: none;
  width: 100%;
  color: #5e5042;
}

.site-v2[data-page="about"] .page-cluster {
  gap: 14px;
}

.site-v2[data-page="about"] main {
  gap: 12px;
}

.site-v2[data-page="about"] .info-card {
  min-height: 100%;
  padding: 22px 20px;
  border-radius: 26px;
}

.site-v2[data-page="about"] .info-card .card-kicker {
  margin-bottom: 8px;
  font-size: 1.35rem;
  line-height: 1.32;
  font-family: "Noto Serif SC", "Source Han Serif SC", serif;
  letter-spacing: 0;
}

.site-v2[data-page="about"] .grid-section {
  gap: 14px;
}

.site-v2[data-page="about"] .cluster-head.split-head-row {
  width: 100%;
}

.site-v2[data-page="about"] .cluster-head.split-head-row .eyebrow {
  flex: 0 0 auto;
}

.site-v2[data-page="about"] .cluster-head.split-head-row h2 {
  flex: 1 1 auto;
  min-width: 0;
}

.site-v2[data-page="about"] .page-cluster > .section-block {
  margin-top: -2px;
}

@media (min-width: 768px) {
  .site-v2[data-page="about"] .cluster-head.split-head-row,
  .site-v2[data-page="about"] .section-block > .section-head.split-head-row {
    display: flex;
    align-items: end;
    gap: 12px;
    width: 100%;
  }
}

.site-v2[data-page="about"] .grid-section .info-card h2 {
  max-width: 100%;
}

.site-v2[data-page="about"] .section-block {
  padding: 22px 20px;
}

.site-v2[data-page="about"] .section-block .section-head {
  margin-bottom: 12px;
}

.site-v2[data-page="about"] .section-block .section-head h2 {
  max-width: none;
}

.site-v2[data-page="about"] .about-dual-grid {
  display: grid;
  gap: 14px;
  align-items: start;
}

.site-v2[data-page="about"] .about-dual-grid .section-block {
  min-height: 100%;
}

.site-v2[data-page="about"] .detail-list {
  gap: 12px;
}

.site-v2[data-page="about"] .detail-list li {
  padding: 12px 0 0 18px;
  border-top: 1px solid rgba(124, 97, 71, 0.12);
}

.site-v2[data-page="about"] .detail-list li:first-child {
  padding-top: 0;
  border-top: 0;
}

.site-v2[data-page="about"] .section-block > p {
  max-width: 58rem;
  font-size: 1rem;
  line-height: 1.78;
}

.site-v2 .footer {
  margin-top: 4px;
  padding: 10px 6px 0;
  color: #6d5b4d;
  border-top: 1px solid rgba(124, 97, 71, 0.12);
}

.site-v2 .card-kicker,
.site-v2 .status-pill,
.site-v2 .task-code,
.site-v2 .page-tag,
.site-v2 .link-index,
.site-v2 .timeline-status-item.is-current,
.site-v2 .timeline-status-item,
.site-v2 .summary-card span,
.site-v2 .project-type,
.site-v2 .role {
  color: var(--ink-green);
  letter-spacing: 0.02em;
}

.site-v2 .eyebrow,
.site-v2 .hero-card-label {
  color: var(--ink-red);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.site-v2 .section-head {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.site-v2 .section-head::after {
  content: "";
  width: 42px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(159, 71, 55, 0.72), rgba(159, 71, 55, 0));
  opacity: 0.86;
}

@media (min-width: 768px) {
  .site-v2[data-page="about"] .about-dual-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .site-v2 .section-head:not(.cluster-head-full) {
    display: flex;
    align-items: end;
    gap: 12px;
    width: 100%;
  }

  .site-v2 .section-head:not(.cluster-head-full) h2 {
    flex: 1 1 auto;
    min-width: 0;
  }

  .site-v2 .section-block > .section-head {
    display: grid;
    width: fit-content;
    max-width: 100%;
  }

  .site-v2 .section-block > .section-head.split-head-row {
    display: flex;
    width: 100%;
    max-width: none;
  }
}

.site-v2 .section-head .eyebrow {
  width: fit-content;
  margin: 0;
  font-family: "Source Han Serif SC", "Noto Serif SC", "Songti SC", "STSong", serif;
  font-size: clamp(1.18rem, 2vw, 1.56rem);
  line-height: 1.04;
  letter-spacing: 0.02em;
  font-weight: 700;
  text-transform: none;
}

.site-v2 .section-head h2 {
  font-size: clamp(1rem, 1.08vw, 1.1rem);
  line-height: 1.48;
  font-weight: 460;
  color: #655446;
  max-width: 48ch;
  justify-self: start;
}

.site-v2 .overview-grid {
  display: grid;
  gap: 10px;
}

.site-v2 .overview-item,
.site-v2 .role-bridge-card {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 6px;
}

.site-v2 .overview-item {
  padding: 14px 16px;
  border-radius: 22px;
  border: 1px solid rgba(124, 97, 71, 0.12);
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.92), rgba(246, 238, 228, 0.82));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.52);
}

.site-v2 .overview-label {
  color: var(--ink-red);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

.site-v2 .overview-item strong,
.site-v2 .role-bridge-card strong {
  color: #2d241d;
  font-size: 1.02rem;
  line-height: 1.28;
}

.site-v2 .overview-item p,
.site-v2 .role-bridge-card p {
  margin: 0;
  color: #665547;
  line-height: 1.62;
}

.site-v2 .member-overview-strip,
.site-v2 .member-collaboration-block {
  display: grid;
  gap: 12px;
}

.site-v2 .compact-overview-grid,
.site-v2 .collaboration-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.site-v2 .role-bridge-card {
  min-height: 0;
}

.site-v2 .page-hero,
.site-v2 .section-block,
.site-v2 .daily-overview,
.site-v2 .daily-timeline,
.site-v2 .cta-banner {
  scroll-margin-top: 96px;
}

.site-v2 .page-hero {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 8px;
  min-height: 0;
}

.site-v2 .page-hero > * {
  width: min(100%, 64rem);
  margin: 0;
}

.site-v2 .page-hero .eyebrow {
  width: fit-content;
}

.site-v2 .member-head-copy,
.site-v2 .member-copy,
.site-v2 .task-card,
.site-v2 .info-card,
.site-v2 .mini-card,
.site-v2 .summary-card {
  display: grid;
  align-content: start;
  gap: 8px;
}

.site-v2 .daily-overview .section-head,
.site-v2 .daily-timeline .section-head,
.site-v2 .page-hero {
  max-width: 100%;
}

.site-v2 .section-head h2,
.site-v2 .page-hero h1,
.site-v2 .page-hero p,
.site-v2 .member-card > *,
.site-v2 .task-card > *,
.site-v2 .info-card > *,
.site-v2 .mini-card > *,
.site-v2 .daily-card > *,
.site-v2 .about-card > *,
.site-v2 .summary-card > *,
.site-v2 .timeline-body > * {
  position: relative;
  z-index: 1;
}

.site-v2 .page-hero h1,
.site-v2 .section-head h2,
.site-v2 .member-card h2,
.site-v2 .task-card h2,
.site-v2 .info-card h2,
.site-v2 .daily-card h2 {
  line-height: 1.16;
  letter-spacing: 0;
  text-wrap: balance;
}

.site-v2 .page-hero h1 {
  max-width: 20ch;
}

.site-v2 .page-hero p {
  max-width: none;
}

.site-v2 .page-hero p,
.site-v2 .member-card p,
.site-v2 .task-card p,
.site-v2 .info-card p,
.site-v2 .mini-card p,
.site-v2 .summary-card p,
.site-v2 .daily-card p,
.site-v2 .detail-list li,
.site-v2 .timeline li {
  line-height: 1.78;
  text-wrap: pretty;
}

.site-v2 .detail-list {
  gap: 14px;
}

.site-v2 .detail-list li {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.site-v2 .detail-list li code,
.site-v2 .detail-list li strong,
.site-v2 .detail-list li span {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.site-v2 .detail-list li::before {
  background: #bc734d;
}

.site-v2 .button.primary {
  color: #f8efe3;
  background: linear-gradient(135deg, #bc734d, #a85b3f);
  box-shadow: 0 10px 24px rgba(168, 91, 63, 0.2);
}

.site-v2 .button.secondary {
  color: #36564f;
  border: 1px solid rgba(53, 88, 81, 0.18);
  background: rgba(255, 251, 244, 0.56);
}

.site-v2 .button {
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.site-v2 .button:focus-visible,
.site-v2 .site-nav a:focus-visible {
  outline: 2px solid rgba(159, 71, 55, 0.34);
  outline-offset: 2px;
}

.site-v2 .button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(73, 57, 39, 0.12);
  filter: saturate(1.03);
}

.site-v2 .button:active {
  transform: translateY(0);
  box-shadow: 0 8px 18px rgba(73, 57, 39, 0.12);
}

.site-v2 .site-nav a {
  border-radius: 14px;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.site-v2 .site-nav a:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(73, 57, 39, 0.08);
}

.site-v2 .site-nav a.is-current {
  color: #fffaf1;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 249, 236, 0.18);
}

.site-v2 .avatar-badge,
.site-v2 .seal {
  color: #fff7ec;
  background: linear-gradient(135deg, #9f3d30, #c7744f);
  box-shadow: inset 0 -6px 14px rgba(0, 0, 0, 0.12);
}

.site-v2 .tag-list,
.site-v2 .inline-meta,
.site-v2 .project-meta,
.site-v2 .timeline-statusbar {
  position: relative;
  z-index: 1;
}

.site-v2 .tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.site-v2 .tag-list li,
.site-v2 .timeline-status-item {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(53, 88, 81, 0.14);
  background: rgba(255, 252, 247, 0.68);
  color: var(--ink-green);
  font-size: 0.82rem;
}

.site-v2 .member-card .tag-list li,
.site-v2 .timeline-status-item {
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.86), rgba(246, 239, 228, 0.78));
}

.site-v2 .task-code,
.site-v2 .status-pill {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.site-v2 .inline-meta {
  gap: 10px;
}

.site-v2 .inline-meta li,
.site-v2 .detail-list li {
  color: var(--ink-brown);
}

.site-v2 .task-hot {
  border-color: rgba(159, 71, 55, 0.22);
  box-shadow: 0 18px 38px rgba(159, 71, 55, 0.1);
}

.site-v2 .task-head,
.site-v2 .daily-head {
  position: relative;
  z-index: 1;
  margin-bottom: 12px;
}

.site-v2 .task-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.site-v2 .accent-cyan {
  border-color: rgba(53, 88, 81, 0.2);
}

.site-v2 .accent-orange {
  border-color: rgba(188, 115, 77, 0.18);
}

.site-v2 .daily-summary-grid,
.site-v2 .mini-grid,
.site-v2 .grid-section {
  position: relative;
  z-index: 1;
}

.site-v2 .summary-card strong,
.site-v2 .mini-card strong,
.site-v2 .info-card h2,
.site-v2 .task-card h2,
.site-v2 .member-card h2 {
  display: block;
  margin-bottom: 8px;
}

.intro-panel p,
.roster-card p,
.project-card p,
.skill-card p,
.gallery-panel p,
.cta-panel p,
.home-footer,
.home-v2 p {
  color: #605244;
}

.intro-grid,
.skill-grid,
.card-grid,
.gallery-strip {
  display: grid;
  gap: 16px;
}

.intro-grid article,
.skill-card,
.roster-card,
.project-card,
.gallery-card {
  border-radius: 24px;
}

.intro-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.intro-grid article {
  padding: 18px;
  background: rgba(255, 255, 255, 0.34);
  border: 1px solid rgba(102, 79, 58, 0.12);
}

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

.culture-card {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 0;
  padding: 20px;
  background: linear-gradient(180deg, rgba(250, 244, 234, 0.92), rgba(239, 231, 218, 0.82));
  border: 1px solid rgba(106, 79, 56, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 247, 236, 0.45);
}

.culture-kicker {
  margin: 0;
  color: var(--ink-green);
  font-size: 1.42rem;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 700;
  font-family: "Source Han Serif SC", "Noto Serif SC", serif;
}

.culture-card h3 {
  margin: 0;
  color: #2d241d;
  font-size: 1.22rem;
  line-height: 1.34;
  text-wrap: balance;
}

.culture-card p:last-child {
  margin: 0;
  color: #5f5143;
  line-height: 1.7;
}

.roster-grid,
.project-grid,
.skill-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

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

.roster-card,
.project-card,
.skill-card,
.gallery-card {
  padding: 20px;
  background: rgba(255, 249, 239, 0.84);
  border: 1px solid rgba(106, 79, 56, 0.12);
}

.roster-card {
  position: relative;
  min-height: 172px;
  padding-right: 20px;
}

.roster-avatar {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 72px;
  height: 72px;
  display: block;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(123, 86, 53, 0.18);
  background: linear-gradient(180deg, rgba(250, 244, 234, 0.95), rgba(239, 231, 218, 0.84));
  box-shadow: inset 0 0 0 1px rgba(255, 247, 236, 0.45);
}

.roster-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.roster-card-placeholder::before {
  content: "头像位";
  position: absolute;
  top: 20px;
  right: 20px;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  border: 1px dashed rgba(83, 108, 100, 0.28);
  background:
    linear-gradient(180deg, rgba(250, 244, 234, 0.95), rgba(239, 231, 218, 0.84)),
    repeating-linear-gradient(135deg, rgba(83, 108, 100, 0.03) 0 12px, rgba(255, 255, 255, 0.06) 12px 24px);
  color: rgba(83, 108, 100, 0.68);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.roster-card > :not(p:last-child) {
  max-width: calc(100% - 92px);
}

.roster-card.featured,
.project-card.large {
  background: linear-gradient(180deg, rgba(241, 231, 208, 0.98), rgba(228, 217, 191, 0.94));
}

.roster-card-placeholder {
  position: relative;
  border-style: dashed;
  border-width: 1.5px;
  border-color: rgba(83, 108, 100, 0.28);
  background:
    linear-gradient(180deg, rgba(246, 240, 229, 0.72), rgba(236, 229, 216, 0.62)),
    repeating-linear-gradient(135deg, rgba(83, 108, 100, 0.03) 0 14px, rgba(255, 255, 255, 0.08) 14px 28px);
}

.roster-card-placeholder::after {
  content: "等待入列";
  position: absolute;
  right: 18px;
  bottom: 16px;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  color: rgba(83, 108, 100, 0.58);
}

.roster-card-placeholder .seal {
  background: linear-gradient(135deg, #6e8b83, #52726b);
}

.seal {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: #a63b31;
  color: #f9eee3;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.role,
.project-type {
  color: #36574f !important;
  font-weight: 600;
}

.project-card.large {
  grid-column: span 2;
}

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

.project-mainline-card {
  min-height: 100%;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
  color: #775f49;
  font-size: 0.95rem;
}

.skill-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.gallery-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery-card {
  min-height: 152px;
  display: flex;
  align-items: end;
  padding: 18px;
  color: #f7ebdb;
  background:
    linear-gradient(180deg, rgba(41, 69, 63, 0.18), rgba(41, 69, 63, 0.78)),
    linear-gradient(135deg, #8ba79f, #52726b 55%, #36524d);
}

.cta-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  padding: 22px 22px 20px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(48, 81, 74, 0.98), rgba(67, 102, 94, 0.96));
}

.cta-panel .cta-main,
.cta-panel > div {
  width: 100%;
}

.cta-panel .cta-main {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.cta-panel .cta-main h2 {
  line-height: 1.5;
}

.cta-panel .cta-side {
  justify-self: end;
  text-align: right;
  padding-right: 16px;
  display: grid;
  gap: 4px;
  align-content: start;
}

.home-v2 .cta-panel .cta-side p {
  font-size: 0.95rem;
  line-height: 1.68;
  color: #f3eadc !important;
}

.cta-panel .cta-main .button {
  min-height: 40px;
  padding: 0 14px;
  background: linear-gradient(135deg, #f0d6bb, #e4bd95);
  color: #32514a;
  border: 0;
  box-shadow: 0 12px 28px rgba(28, 44, 40, 0.16);
}

.cta-panel .eyebrow {
  color: #f3eadc !important;
}

.cta-panel h2,
.cta-panel p {
  color: #f3eadc !important;
}

.home-footer {
  margin-top: 6px;
  color: #605244 !important;
}

.cta-panel > div > p:not(.eyebrow) {
  color: #605244 !important;
}

@media (min-width: 768px) and (max-width: 1099px) {
  .cta-panel {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .cta-panel .cta-main {
    flex: 0 0 60%;
    max-width: 60%;
  }

  .cta-panel .cta-side {
    flex: 0 0 40%;
    max-width: 40%;
  }

  .home-v2 .section-head {
    display: flex;
    align-items: end;
    gap: 12px;
    width: 100%;
  }

  .home-v2 .section-head h2 {
    flex: 1 1 auto;
    min-width: 0;
  }

  .roster-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    padding: 12px;
  }

  .hero-copy {
    max-width: 640px;
    padding: 12px 10px 0;
  }

  .hero-summary {
    max-width: 40rem;
  }

  .hero-visual {
    width: min(100%, 760px);
    margin: 0 auto;
  }

  .hero-scene {
    min-height: 560px;
  }

  .cta-panel {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 1100px) {
  .cta-panel {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .cta-panel .cta-main {
    flex: 0 0 60%;
    max-width: 60%;
  }

  .cta-panel .cta-side {
    flex: 0 0 40%;
    max-width: 40%;
  }

  .home-v2 .section-head {
    display: flex;
    align-items: end;
    gap: 12px;
    width: 100%;
  }

  .home-v2 .section-head h2 {
    flex: 1 1 auto;
    min-width: 0;
  }

  .roster-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .hero-grid {
    grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
    align-items: center;
    gap: 34px;
    min-height: 640px;
    padding: 18px;
  }

  .site-v2 .member-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .site-v2 .member-list + .section-block {
    display: grid;
    gap: 18px;
  }

  .site-v2 .member-list + .section-block .section-head {
    margin-bottom: 14px;
  }

  .site-v2 .mini-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .site-v2 .task-board {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-v2 .grid-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-v2 .grid-section + .section-block {
    grid-template-columns: minmax(260px, 0.92fr) minmax(0, 1.08fr);
    align-items: start;
  }

  .site-v2 .grid-section + .section-block .section-head {
    margin-bottom: 0;
  }

  .site-v2 .daily-overview {
    grid-template-columns: 1fr;
  }

  .cta-panel {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (max-width: 767px) {
  .home-v2 .brand-text small,
  .home-v2 .site-nav a,
  .home-v2 .nav-toggle {
    color: #efe7d8;
  }

  .home-topbar {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .site-shell {
    padding: 12px 10px 24px;
  }

  .topbar {
    margin-bottom: 14px;
    padding: 10px 12px;
    border-radius: 22px;
    gap: 10px;
  }

  .brand {
    --brand-gap: 8px;
    gap: var(--brand-gap);
    min-width: 0;
    flex: 1 1 auto;
  }

  .brand-mark,
  .home-v2 .brand-mark,
  .site-v2 .brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 14px;
  }

  .brand-text {
    gap: 4px;
    align-items: center;
    min-width: 0;
    flex: 1 1 auto;
  }

  .brand-meta {
    gap: 1px;
    padding-bottom: 0;
    min-width: 0;
    max-width: 110px;
    overflow: visible;
    transform: scale(0.94);
    transform-origin: left center;
  }

  .brand-text strong {
    font-size: 1.34rem;
    white-space: nowrap;
    flex: 0 0 auto;
  }

  .brand-text small {
    font-size: 0.58rem;
    line-height: 1.1;
    white-space: nowrap;
  }

  .brand-meta small:last-child {
    font-size: 0.52rem;
  }

  .nav-toggle {
    white-space: nowrap;
    flex: 0 0 auto;
    min-width: 52px;
    padding: 9px 10px;
    font-size: 0.88rem;
  }

  .home-v2 h1,
  .site-v2 h1 {
    font-size: clamp(1.9rem, 9vw, 2.55rem);
    line-height: 1.08;
  }

  .home-v2 .section-head h2,
  .site-v2 .section-head h2,
  .site-v2 .page-hero p,
  .site-v2 .member-card p,
  .site-v2 .task-card p,
  .site-v2 .info-card p,
  .site-v2 .mini-card p,
  .site-v2 .daily-card p,
  .site-v2 .summary-card p {
    font-size: 0.95rem;
    line-height: 1.68;
  }

  .site-v2 .page-hero,
  .site-v2 .section-block,
  .site-v2 .daily-overview,
  .site-v2 .daily-timeline,
  .site-v2 .member-card,
  .site-v2 .task-card,
  .site-v2 .info-card,
  .site-v2 .mini-card,
  .site-v2 .daily-card,
  .site-v2 .about-card,
  .site-v2 .summary-card,
  .site-v2 .timeline-body,
  .site-v2 .cta-banner,
  .roster-card,
  .project-card,
  .skill-card,
  .gallery-card {
    padding: 16px;
    border-radius: 22px;
  }

  .site-v2 .mini-grid,
  .site-v2 .member-list,
  .site-v2 .task-board,
  .site-v2 .grid-section,
  .site-v2 .daily-summary-grid,
  .project-mainline-grid,
  .project-grid,
  .skill-grid,
  .gallery-strip,
  .intro-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .project-meta {
    gap: 8px;
    font-size: 0.88rem;
  }

  .culture-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .culture-card {
    padding: 16px;
  }

  .culture-card h3 {
    font-size: 1.08rem;
    line-height: 1.36;
  }

  .culture-card p:last-child {
    font-size: 0.94rem;
    line-height: 1.64;
  }

  .site-v2[data-page="about"] .section-block {
    padding: 18px 16px;
  }

  .site-v2[data-page="about"] .section-block .section-head {
    margin-bottom: 10px;
  }

  .site-v2[data-page="about"] .section-block .section-head h2 {
    max-width: none;
  }

  .site-v2[data-page="about"] .detail-list {
    gap: 10px;
  }

  .site-v2[data-page="about"] .detail-list li {
    padding-top: 10px;
    border-top: 1px solid rgba(124, 97, 71, 0.1);
  }

  .site-v2[data-page="about"] .detail-list li:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .home-section,
  .page-shell main,
  .page-cluster,
  .page-cluster-tight {
    gap: 12px;
  }

  .section-head {
    margin-bottom: 12px;
  }

  .intro-grid article,
  .roster-card,
  .project-card,
  .skill-card,
  .gallery-card,
  .site-v2 .mini-card,
  .site-v2 .task-card,
  .site-v2 .member-card,
  .site-v2 .info-card,
  .site-v2 .daily-card,
  .site-v2 .summary-card {
    min-height: 0;
  }

  .roster-avatar {
    width: 60px;
    height: 60px;
    top: 16px;
    right: 16px;
    border-radius: 14px;
  }

  .roster-card {
    min-height: 152px;
    padding-right: 16px;
  }

  .project-card h3,
  .skill-card h3,
  .roster-card h3,
  .site-v2 .task-card h2,
  .site-v2 .member-card h2,
  .site-v2 .daily-card h2 {
    font-size: 1.05rem;
    line-height: 1.28;
  }

  .site-v2 .task-head,
  .project-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-v2 .detail-list {
    gap: 10px;
  }

  .site-v2 .detail-list li {
    padding-left: 16px;
  }

  .cta-panel,
  .site-v2 .cta-banner {
    gap: 14px;
  }

  .site-v2 .member-head {
    grid-template-columns: 60px minmax(0, 1fr);
    column-gap: 12px;
    margin-bottom: 10px;
  }

  .site-v2 .avatar-badge {
    width: 60px;
    height: 60px;
    border-radius: 14px;
  }

  .site-v2 .tag-list {
    gap: 8px;
    margin-top: 10px;
  }

  .site-v2 .tag-list li,
  .site-v2 .timeline-status-item {
    min-height: 30px;
    padding: 0 10px;
    font-size: 0.76rem;
  }

  .site-v2 .inline-meta {
    gap: 8px;
  }

  .site-v2 .daily-summary-grid {
    gap: 10px;
  }

  .site-v2 .summary-card strong {
    margin-bottom: 6px;
  }

  .site-v2 .timeline-statusbar {
    gap: 8px;
  }

  .site-v2 .timeline-card {
    gap: 10px;
  }

  .site-v2 .timeline-body {
    padding: 14px;
  }

  .site-v2 .daily-head {
    margin-bottom: 10px;
  }

  .site-v2 .detail-list li {
    font-size: 0.92rem;
    line-height: 1.62;
  }

  .site-v2 .grid-section + .section-block {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .site-v2 .grid-section + .section-block .section-head {
    margin-bottom: 10px;
  }

  .site-v2 .info-card .card-kicker,
  .site-v2 .cta-banner .eyebrow,
  .cta-panel .eyebrow {
    margin-bottom: 4px;
  }

  .site-v2 .footer,
  .home-footer {
    padding: 8px 2px 0;
    font-size: 0.82rem;
    line-height: 1.5;
  }

  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-panel .button,
  .site-v2 .cta-banner .button {
    width: 100%;
    justify-content: center;
  }

  .hero-v3 {
    padding: 12px;
  }

  .hero-grid {
    gap: 18px;
  }

  .hero-copy {
    padding: 8px 4px 0;
  }

  .hero-v3 h1 {
    font-size: clamp(2.7rem, 15vw, 4.2rem);
  }

  .hero-summary {
    max-width: none;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .button {
    flex: 1 1 140px;
  }

  .hero-scene {
    min-height: 420px;
  }

  .scene-flag {
    left: 18px;
    top: 18px;
  }

  .scene-cloud-a {
    right: 34px;
    top: 54px;
  }

  .scene-cloud-b {
    right: 110px;
    top: 102px;
  }

  .scene-fortress {
    right: 24px;
    left: 24px;
    top: 98px;
    width: auto;
    height: 198px;
  }

  .fortress-main {
    left: 38px;
    right: 38px;
    top: 52px;
    bottom: 18px;
    padding: 28px 18px 14px;
  }

  .fortress-main strong {
    font-size: 2rem;
  }

  .fortress-main span {
    font-size: 0.72rem;
  }

  .fortress-tower {
    width: 48px;
    height: 126px;
    bottom: 56px;
  }

  .fortress-roof {
    width: 64px;
  }

  .fortress-actions {
    flex-wrap: wrap;
  }

  .scene-seal {
    right: 58px;
    top: 146px;
  }

  .scene-ledger {
    left: 18px;
    right: 18px;
    bottom: 82px;
    width: auto;
    padding: 14px 16px;
  }

  .ledger-list li:nth-child(3) {
    display: none;
  }

  .hero-status {
    min-height: 74px;
    padding: 12px 14px;
  }

  .hero-status-phase {
    left: 18px;
    right: 108px;
    bottom: 18px;
    width: auto;
  }

  .hero-status-task {
    display: none;
  }

  .hero-status-team {
    right: 18px;
    bottom: 18px;
    width: 78px;
  }

  .project-card.large {
    grid-column: span 1;
  }

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

/* home hero minimal */
.hero-minimal {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  padding: clamp(14px, 2vw, 20px);
  min-height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 30px;
  background-color: transparent;
  background-image: url("images/hero-bg-jimeng-fit-v3.png");
  background-position: 78% center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow:
    0 22px 44px rgba(39, 42, 33, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    inset 0 -10px 20px rgba(98, 112, 105, 0.08);
  isolation: isolate;
}

.hero-minimal::before,
.hero-minimal::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero-minimal::before {
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  z-index: 0;
}

.hero-minimal::after {
  inset: 6px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.01) 30%),
    radial-gradient(circle at 72% 70%, rgba(54, 74, 68, 0.12), transparent 0 18%),
    radial-gradient(circle at 28% 84%, rgba(96, 116, 108, 0.08), transparent 0 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(242, 235, 226, 0.04) 34%, rgba(239, 232, 221, 0.34) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 247, 237, 0.36);
  clip-path: polygon(0 42%, 11% 34%, 25% 28%, 40% 22%, 53% 18%, 67% 12%, 84% 9%, 100% 0, 100% 100%, 0 100%);
  z-index: 0;
}

.hero-main,
.hero-rail {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.hero-main {
  display: grid;
  align-items: stretch;
}

.hero-minimal .hero-copy {
  display: grid;
  gap: 14px;
  align-content: center;
  justify-items: center;
  text-align: center;
  max-width: 42rem;
  min-height: 100%;
  padding: 0;
}

.hero-minimal h1 {
  max-width: none;
  color: #2c241d;
  font-size: clamp(2.8rem, 5.4vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: 0.02em;
}

.hero-minimal .hero-subtitle {
  margin: 0;
  color: #35574f !important;
  font-size: clamp(1.3rem, 3vw, 2rem);
}

.hero-minimal .hero-summary {
  width: 100%;
  max-width: 34rem;
  margin: 0 auto;
  color: #5f5145;
  font-size: 1.03rem;
  text-align: left;
}

.hero-minimal .hero-actions {
  margin-top: 4px;
  justify-content: center;
}

.hero-minimal .button.primary {
  color: #f8efe3;
  background: linear-gradient(135deg, #bc734d, #a85b3f);
}

.hero-minimal .button.secondary {
  color: #36564f;
  border: 1px solid rgba(53, 88, 81, 0.18);
  background: rgba(255, 251, 244, 0.56);
}

.hero-rail {
  display: grid;
  align-content: start;
  min-height: 100%;
}

.hero-cards {
  display: grid;
  gap: 12px;
  align-content: start;
}

.hero-card {
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid rgba(123, 102, 79, 0.14);
  background: linear-gradient(180deg, rgba(252, 248, 241, 0.78), rgba(244, 238, 229, 0.64));
  box-shadow: 0 14px 28px rgba(72, 62, 45, 0.08), inset 0 1px 0 rgba(255, 252, 247, 0.72);
  backdrop-filter: blur(14px);
}

.hero-card-strong {
  background: linear-gradient(180deg, rgba(248, 244, 236, 0.84), rgba(235, 228, 217, 0.66));
}

.hero-card-label {
  display: block;
  margin-bottom: 8px;
  color: #9d4b39;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-card strong {
  display: block;
  color: #2f2620;
  font-size: 1.08rem;
}

.hero-card p {
  margin: 10px 0 0;
  color: #65574a;
  font-size: 0.94rem;
}

@media (min-width: 1100px) {
  .hero-minimal {
    grid-template-columns: minmax(0, 6fr) minmax(0, 4fr);
    gap: clamp(16px, 2vw, 28px);
    min-height: 420px;
  }

  .hero-main {
    grid-column: 1;
  }

  .hero-rail {
    grid-column: 2;
  }
}

@media (min-width: 768px) and (max-width: 1099px) {
  .hero-minimal {
    min-height: 0;
  }

  .hero-cards {
    align-content: center;
  }
}


.task-archive-grid {
  align-items: stretch;
}

.task-ledger-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(249, 243, 232, 0.96), rgba(239, 231, 218, 0.92)),
    linear-gradient(135deg, rgba(157, 71, 55, 0.04), rgba(53, 87, 79, 0.05));
}

.task-ledger-card::after {
  content: "卷宗主线";
  position: absolute;
  right: 20px;
  bottom: 18px;
  color: rgba(106, 79, 56, 0.44);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
}

.task-ledger-section {
  display: grid;
  gap: 16px;
}

.task-mini-grid {
  gap: 14px;
}

.task-mini-grid .mini-card {
  position: relative;
  padding: 18px 18px 16px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 250, 242, 0.88), rgba(244, 237, 226, 0.86));
  border: 1px solid rgba(124, 97, 71, 0.12);
}

.task-mini-grid .mini-card::before {
  content: "条目";
  display: inline-flex;
  margin-bottom: 10px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(157, 71, 55, 0.08);
  color: #9f4737;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.task-mini-grid .mini-card strong {
  display: block;
  color: #2e251f;
  line-height: 1.45;
}

.task-ledger-timeline {
  margin: 0;
  padding-left: 1.2rem;
}

.task-ledger-timeline li {
  padding: 0 0 14px 6px;
  color: #5f5145;
}

.task-ledger-timeline li:last-child {
  padding-bottom: 0;
}

@media (min-width: 1100px) {
  .site-v2 .task-archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-v2 .task-mini-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .contact-modal {
    padding: 16px;
  }

  .contact-modal__dialog {
    width: min(100%, 100%);
    padding: 20px 18px 18px;
    border-radius: 24px;
  }

  .site-v2[data-page="about"] .cluster-head.split-head-row,
  .site-v2[data-page="about"] .section-block > .section-head.split-head-row {
    display: grid;
    gap: 8px;
    width: 100%;
  }

  .site-v2 .timeline-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .site-v2 .timeline-marker {
    display: none;
  }

  .site-v2 .timeline-body {
    padding: 14px;
  }

  .cta-panel {
    align-items: stretch;
  }

  .cta-panel .cta-main,
  .cta-panel .cta-side {
    width: 100%;
    justify-self: auto;
  }

  .cta-panel .cta-main h2 {
    white-space: normal;
  }

  .cta-panel .cta-side {
    text-align: center;
    justify-self: center;
  }

  .cta-panel .cta-side p {
    font-size: 0.88rem;
    line-height: 1.5;
  }

  .hero-minimal {
    min-height: 0;
    padding: 28px 14px 24px;
    gap: 14px;
  }

  .hero-minimal h1 {
    max-width: none;
    font-size: clamp(2.7rem, 15vw, 4.4rem);
  }

  .hero-minimal h1 span {
    display: block;
  }

  .hero-minimal .hero-summary {
    max-width: none;
  }

  .hero-minimal .hero-actions .button {
    flex: 1 1 140px;
  }

  .task-ledger-card::after {
    position: static;
    display: block;
    margin-top: 12px;
  }
}
