:root {
  --ink: #191713;
  --paper: #f2eee6;
  --white: #fffdf8;
  --muted: #625b52;
  --red: #b33223;
  --red-light: #ffb39c;
  --sand: #edcfb2;
  --line: #cfc4b5;
  --sans: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif;
  --serif: "Songti SC", "Noto Serif CJK SC", "STSong", "SimSun", serif;
  --numbers: Georgia, "Times New Roman", serif;
  --width: 1360px;
  --gutter: clamp(24px, 5vw, 80px);
  --header: 76px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 20px); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body.contact-open { overflow: hidden; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
a, button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--red-light); outline-offset: 5px; }
button { font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
svg { width: 24px; height: 24px; flex: 0 0 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
::selection { background: var(--red); color: var(--white); }
.container { width: min(calc(100% - var(--gutter) * 2), var(--width)); margin-inline: auto; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 60; padding: 14px 20px; background: var(--paper); color: var(--ink); }
.skip-link:focus { top: 12px; }
.site-header { position: fixed; inset: 0 0 auto; z-index: 30; height: calc(var(--header) + env(safe-area-inset-top)); padding-top: env(safe-area-inset-top); background: #191713f5; border-bottom: 1px solid #fffdf827; }
.header-inner { height: 100%; padding-inline: var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { flex-shrink: 0; display: inline-flex; align-items: center; min-height: 52px; }
.brand img { width: auto; height: 52px; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); color: var(--white); }
.site-nav a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; transition: color 180ms var(--ease); }
.site-nav a:hover { color: var(--red-light); }
.site-nav .nav-contact { padding: 0 16px; border: 1px solid #fffdf849; }
.nav-contact svg { width: 16px; height: 16px; flex-basis: 16px; }
.eyebrow { color: var(--red); font-size: 13px; line-height: 1.7; letter-spacing: .1em; font-weight: 500; }
.hero { position: relative; isolation: isolate; height: clamp(650px, 83svh, 1000px); color: var(--white); background: var(--ink); }
.scene-image { position: absolute; z-index: -3; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-image { object-position: center 52%; }
.hero-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, #0d0b09ec 0%, #0d0b09bd 31%, #0d0b0940 62%, #0d0b0910), linear-gradient(0deg, #0d0b09b3, transparent 45%); }
.hero-inner { position: relative; height: 100%; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding-top: calc(var(--header) + 40px); padding-bottom: 64px; }
.hero-eyebrow { color: var(--sand); margin-bottom: 24px; }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(72px, 7.8vw, 120px); line-height: 1.13; letter-spacing: -.035em; }
.hero h1 > span { display: block; }
.hero h1 > span:last-child { color: var(--red-light); }
.hero-subtitle { margin-top: 26px; font-family: var(--serif); color: var(--white); font-size: clamp(23px, 2.1vw, 32px); line-height: 1.65; }
.hero-subtitle > span { display: inline-block; }
.text-link { display: inline-flex; align-items: center; gap: 42px; min-height: 54px; padding-block: 10px; border-bottom: 1px solid currentColor; font-size: 16px; font-weight: 500; }
.text-link svg { transition: transform 250ms var(--ease); }
.hero-action { color: var(--sand); margin-top: 30px; }
.hero-action:hover svg { transform: translateY(4px); }
.proposals { scroll-margin-top: var(--header); }
.section-label { display: flex; align-items: center; gap: 28px; padding-block: 29px; }
.section-label h2 { font-size: 15px; letter-spacing: .1em; font-weight: 500; white-space: nowrap; }
.section-rule { height: 1px; background: var(--line); flex: 1; }
.project-link { display: block; position: relative; isolation: isolate; height: clamp(650px, 80svh, 900px); color: var(--white); background: var(--ink); overflow: hidden; }
.project-link:focus-visible { outline: 4px solid var(--red-light); outline-offset: -6px; }
.project-image { object-position: center 50%; transition: transform 650ms var(--ease); }
.project-shade { position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg, #0d0b09f0, #0d0b09b8 36%, #0d0b094d 60%, #0d0b0910 88%), linear-gradient(0deg, #0d0b09b8, transparent 43%); }
.project-inner { height: 100%; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding-block: 70px; }
.project-title { font-family: var(--serif); font-size: clamp(25px, 2.4vw, 36px); font-weight: 400; line-height: 1.6; }
.project-title > span:not(.project-title-separator) { display: inline-block; }
.project-result { margin-top: 30px; }
.result-caption { display: block; color: var(--sand); font-size: clamp(18px, 1.7vw, 24px); line-height: 1.5; }
.result-number { display: flex; align-items: baseline; gap: 16px; margin-top: 8px; font-family: var(--numbers); font-size: clamp(150px, 15vw, 232px); letter-spacing: -.065em; line-height: .97; }
.result-unit { color: var(--red-light); font-family: var(--serif); font-size: .24em; line-height: 1.5; letter-spacing: 0; }
.project-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; color: var(--sand); font-size: 16px; line-height: 1.8; }
.project-facts > span { display: block; }
.project-facts > span + span { border-left: 1px solid #edcfb26b; padding-left: 22px; }
.project-description { margin-top: 14px; color: var(--white); font-size: 16px; line-height: 1.8; max-width: 480px; text-wrap: pretty; }
.project-action { margin-top: 24px; color: var(--sand); }
.scene-caption { position: absolute; right: var(--gutter); bottom: 18px; padding: 5px 9px; background: #191713bd; color: var(--white); font-size: 12px; line-height: 1.5; }
@media (hover: hover) {
  .project-link:hover .project-image { transform: scale(1.025); }
  .project-link:hover .project-action svg { transform: translate(3px, -3px); }
}
.project-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 42px; margin-top: 24px; }
.project-actions .project-action { margin-top: 0; gap: 34px; }
@media (max-width: 620px) {
  .project-actions { align-items: flex-start; gap: 8px 28px; }
  .project-actions .project-action { gap: 18px; font-size: 14px; }
}
.method { padding-block: clamp(64px, 6vw, 96px) clamp(60px, 5vw, 80px); }
.method h2 { font-family: var(--serif); font-size: clamp(32px, 3.65vw, 56px); line-height: 1.5; font-weight: 400; letter-spacing: -.035em; margin-top: 12px; text-wrap: balance; }
.method h2 > span { display: inline-block; }
.method h2 > span:last-child { color: var(--red); }
.method-diagram { margin-top: 46px; }
.method-path { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; list-style: none; margin: 0; padding: 0; position: relative; }
.method-path::before { content: ""; position: absolute; inset: 8px 6px auto; height: 1px; background: var(--line); }
.method-path li { position: relative; padding-top: 32px; min-width: 0; }
.path-dot { position: absolute; top: 2px; left: 0; width: 13px; height: 13px; border: 2px solid var(--red); border-radius: 50%; background: var(--paper); }
.method-path li:first-child .path-dot { background: var(--red); }
.method-path li + li::after { content: ""; position: absolute; left: -28px; top: 5px; width: 6px; height: 6px; border-top: 1px solid var(--muted); border-right: 1px solid var(--muted); transform: rotate(45deg); }
.method-path h3 { font-weight: 500; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.5; }
.method-path p { color: var(--muted); font-size: 15px; line-height: 1.8; margin-top: 8px; }
.feedback-path { margin-top: 18px; position: relative; padding-top: 26px; }
.feedback-line { position: absolute; top: 0; left: 0; width: 100%; height: 30px; color: var(--red); stroke-width: 1; }
.feedback-path p { width: fit-content; max-width: calc(100% - 32px); margin-inline: auto; position: relative; padding: 2px 16px; background: var(--paper); color: var(--muted); font-size: 14px; line-height: 1.8; text-align: center; }
.method-action { margin-top: 36px; }
.contact-button { display: inline-flex; justify-content: space-between; align-items: center; gap: 48px; min-height: 56px; padding: 12px 22px; border: 1px solid var(--red); background: var(--red); color: var(--white); font-size: 16px; transition: background 180ms var(--ease); }
.contact-button:hover { background: #902719; }
.method .contact-button:focus-visible { outline-color: var(--ink); }
.site-footer { background: var(--ink); color: var(--sand); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 30px; }
.footer-brand { display: inline-flex; align-items: center; min-height: 44px; }
.footer-brand img { width: 155px; height: auto; }
.back-top { display: inline-flex; gap: 24px; align-items: center; min-height: 44px; font-size: 14px; }
.back-top svg { width: 18px; height: 18px; flex-basis: 18px; }
.contact-dialog { width: min(680px, calc(100% - 32px)); max-height: calc(100dvh - 48px); padding: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); box-shadow: 0 24px 100px #0006; overflow-y: auto; }
.contact-dialog::backdrop { background: #11100ddb; }
.dialog-header { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px 14px 32px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--paper); }
.dialog-header p { color: var(--muted); font-size: 13px; }
.dialog-close { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); color: var(--ink); }
.dialog-close:hover { background: #e8e0d3; }
.dialog-close:focus-visible, .contact-dialog a:focus-visible { outline-color: var(--red); }
.dialog-content { padding: 26px 32px 36px; }
.dialog-content h2 { font-family: var(--serif); font-size: 32px; font-weight: 400; line-height: 1.5; }
.dialog-content > p { color: var(--muted); font-size: 15px; line-height: 1.8; margin-top: 8px; }
.contact-body { display: grid; grid-template-columns: 220px 1fr; align-items: center; gap: 32px; margin-top: 28px; }
.contact-qr { width: 220px; height: 220px; object-fit: contain; background: white; }
.contact-details h3 { font-size: 18px; line-height: 1.6; font-weight: 500; }
.phone { display: inline-flex; align-items: center; min-height: 44px; font-size: 23px; margin-top: 4px; }
.save-qr { display: flex; width: fit-content; align-items: center; gap: 16px; min-height: 44px; color: var(--red); border-bottom: 1px solid var(--red); margin-top: 16px; font-size: 15px; }
.save-qr svg { width: 18px; height: 18px; flex-basis: 18px; }
@media (max-width: 900px) {
  .hero h1 { font-size: clamp(68px, 10vw, 88px); }
  .hero { height: 78svh; min-height: 650px; }
  .project-title { font-size: 28px; }
  .result-number { font-size: clamp(150px, 20vw, 200px); }
  .method-path { gap: 18px; }
  .method-path li + li::after { left: -18px; }
  .method-path p { font-size: 14px; }
}
@media (max-width: 640px) {
  :root { --gutter: 24px; --header: 66px; }
  .header-inner { gap: 18px; }
  .brand { min-height: 44px; }
  .brand img { height: 42px; }
  .site-nav { gap: 16px; }
  .site-nav a { font-size: 12px; }
  .site-nav .nav-contact { padding: 0 10px; gap: 6px; }
  .hero { min-height: 620px; height: 79svh; max-height: 760px; }
  .hero-inner { justify-content: flex-start; padding-top: calc(var(--header) + 96px); padding-bottom: 72px; }
  .hero-image { object-position: 59% center; }
  .hero-shade { background: linear-gradient(90deg, #0d0b09db, #0d0b0966 60%, #0d0b0933), linear-gradient(0deg, #0d0b09b3, transparent 60%); }
  .hero-eyebrow { font-size: 12px; margin-bottom: 22px; }
  .hero h1 { font-size: clamp(48px, 13.8vw, 82px); line-height: 1.2; }
  .hero-subtitle { font-size: 22px; line-height: 1.8; margin-top: 22px; }
  .hero-action { margin-top: 28px; }
  .section-label { padding-block: 22px; }
  .project-link { height: auto; min-height: 670px; }
  .project-inner { min-height: inherit; padding-block: 58px 72px; }
  .project-image { object-position: 64% center; }
  .project-shade { background: linear-gradient(90deg, #0d0b09e8, #0d0b098c 65%, #0d0b0957), linear-gradient(0deg, #0d0b09ad, transparent 45%); }
  .project-title { font-size: 26px; line-height: 1.65; }
  .project-title > span:not(.project-title-separator) { display: block; }
  .project-title-separator { display: none; }
  .project-result { margin-top: 30px; }
  .result-caption { font-size: 18px; }
  .result-number { font-size: clamp(116px, 32vw, 185px); gap: 10px; margin-top: 12px; }
  .result-unit { font-size: .23em; }
  .project-facts { gap: 5px; flex-direction: column; margin-top: 26px; font-size: 14px; }
  .project-facts > span + span { border-left: 0; padding-left: 0; }
  .project-description { font-size: 15px; margin-top: 18px; max-width: 330px; }
  .project-action { margin-top: 26px; }
  .scene-caption { right: var(--gutter); font-size: 11px; }
  .method { padding-block: 56px 52px; }
  .method h2 { font-size: clamp(30px, 6.5vw, 40px); line-height: 1.5; }
  .method h2 > span { display: block; }
  .method-diagram { margin-top: 30px; }
  .method-path { grid-template-columns: 1fr; gap: 0; padding-left: 26px; }
  .method-path::before { inset: 8px auto 34px 5px; width: 1px; height: auto; }
  .method-path li { padding: 0 0 26px; }
  .method-path li:last-child { padding-bottom: 0; }
  .path-dot { left: -26px; top: 9px; }
  .method-path li + li::after { left: -23px; top: -14px; border-top: 0; border-bottom: 1px solid var(--muted); transform: rotate(45deg); }
  .method-path h3 { font-size: 22px; }
  .method-path p { font-size: 15px; margin-top: 4px; }
  .feedback-path { margin-top: 20px; border-left: 1px solid var(--red); padding: 8px 0 8px 25px; }
  .feedback-path::before { content: ""; position: absolute; left: -4px; top: 0; width: 7px; height: 7px; border-left: 1px solid var(--red); border-top: 1px solid var(--red); transform: rotate(45deg); }
  .feedback-line { display: none; }
  .feedback-path p { width: auto; max-width: none; padding: 0; margin: 0; text-align: left; }
  .method-action { margin-top: 30px; }
  .footer-brand img { width: 136px; }
  .footer-inner { padding-block: 26px; gap: 16px; }
  .back-top { font-size: 12px; gap: 12px; }
  .contact-body { grid-template-columns: 1fr; justify-items: center; gap: 22px; }
  .contact-details { width: 220px; }
  .dialog-content { padding: 24px; }
  .dialog-header { padding-left: 24px; }
  .dialog-content h2 { font-size: 28px; }
}
@media (max-width: 360px) {
  :root { --gutter: 20px; }
  .brand img { height: 38px; }
  .site-nav { gap: 10px; }
  .site-nav .nav-contact { padding: 0 8px; }
  .hero-subtitle { font-size: 20px; }
  .project-title { font-size: 24px; }
  .result-number { font-size: 110px; }
  .project-facts { font-size: 13px; }
  .method h2 { font-size: 29px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .site-header, .skip-link, .site-footer, .contact-dialog { display: none !important; }
  .hero, .project-link { height: auto; min-height: 0; color: var(--ink); background: white; }
  .hero-inner, .project-inner { padding-block: 40px; min-height: 0; }
  .scene-image, .hero-shade, .project-shade, .scene-caption { display: none; }
  .hero-eyebrow, .hero-subtitle, .project-description { color: var(--ink); }
  .hero h1 > span:last-child, .result-unit, .result-caption, .project-facts, .text-link { color: var(--red); }
  .method { break-inside: avoid; }
}

/* LFM card: brand, headline, goal, then cooperation and actions. */
body[data-public-page="plan"] .lfm-project .project-inner {
  min-height:540px;
  padding-block:44px 52px;
}
body[data-public-page="plan"] .lfm-project .project-title {
  display:flex;
  align-items:baseline;
  gap:10px;
  font-size:22px;
  line-height:1.4;
}
body[data-public-page="plan"] .lfm-project .project-title > span:not(.project-title-separator) {
  display:inline-block;
}
body[data-public-page="plan"] .lfm-project .project-title-separator {
  display:inline-block;
  color:var(--sand);
}
body[data-public-page="plan"] .lfm-project .project-title > span:last-child {
  color:var(--sand);
  font-family:var(--sans);
  font-size:14px;
}
body[data-public-page="plan"] .lfm-live-plan {
  display:block;
  width:100%;
  max-width:560px;
  margin-top:24px;
}
body[data-public-page="plan"] .lfm-live-title {
  display:flex;
  align-items:baseline;
  flex-wrap:wrap;
  gap:6px 14px;
}
body[data-public-page="plan"] .lfm-live-title-main {
  display:block;
  font-family:var(--serif);
  font-size:clamp(38px,4.6vw,60px);
  font-weight:400;
  line-height:1.2;
  letter-spacing:-.025em;
  white-space:nowrap;
}
body[data-public-page="plan"] .lfm-live-title-sub {
  display:block;
  margin:0;
  color:var(--sand);
  font-family:var(--serif);
  font-size:clamp(18px,1.6vw,22px);
  line-height:1.5;
  white-space:nowrap;
}
body[data-public-page="plan"] .lfm-live-goal {
  display:flex;
  align-items:baseline;
  gap:18px;
  width:100%;
  max-width:360px;
  margin-top:20px;
  padding-top:16px;
  border-top:1px solid #edcfb24d;
}
body[data-public-page="plan"] .lfm-goal-caption {
  display:block;
  flex:none;
  color:var(--sand);
  font-family:var(--sans);
  font-size:14px;
  line-height:1.5;
}
body[data-public-page="plan"] .lfm-goal-value {
  display:inline-flex;
  align-items:baseline;
  gap:6px;
  margin:0;
  font-family:var(--numbers);
  font-size:clamp(72px,6.6vw,92px);
  line-height:1;
  letter-spacing:-.04em;
}
body[data-public-page="plan"] .lfm-goal-value > span {
  color:var(--red-light);
  font-size:.52em;
  letter-spacing:0;
}
body[data-public-page="plan"] .lfm-project .project-facts {
  max-width:560px;
  margin-top:20px;
  gap:6px 18px;
  font-size:14px;
  line-height:1.6;
}
body[data-public-page="plan"] .lfm-project .project-description {
  max-width:480px;
  margin-top:10px;
  font-size:15px;
  line-height:1.8;
}
body[data-public-page="plan"] .lfm-project .project-actions {
  margin-top:24px;
  gap:8px 32px;
}
body[data-public-page="plan"] .lfm-project .project-action {
  gap:20px;
  min-height:48px;
}
@media(max-width:620px) {
  body[data-public-page="plan"] .lfm-project .project-inner {
    min-height:0;
    padding-block:36px 48px;
  }
  body[data-public-page="plan"] .lfm-project .project-title {
    gap:8px;
    font-size:20px;
  }
  body[data-public-page="plan"] .lfm-live-plan { margin-top:22px; }
  body[data-public-page="plan"] .lfm-live-title { gap:6px 12px; }
  body[data-public-page="plan"] .lfm-live-title-main { font-size:36px; }
  body[data-public-page="plan"] .lfm-live-title-sub { font-size:18px; }
  body[data-public-page="plan"] .lfm-live-goal {
    max-width:320px;
    margin-top:18px;
    padding-top:16px;
    gap:16px;
  }
  body[data-public-page="plan"] .lfm-goal-value { font-size:76px; }
  body[data-public-page="plan"] .lfm-project .project-facts {
    flex-direction:column;
    align-items:flex-start;
    gap:4px;
  }
  body[data-public-page="plan"] .lfm-project .project-facts > span + span {
    border:0;
    padding-left:0;
  }
  body[data-public-page="plan"] .lfm-project .project-actions {
    gap:8px 24px;
    margin-top:22px;
  }
  body[data-public-page="plan"] .lfm-project .project-action {
    gap:14px;
    font-size:14px;
  }
}
@media print {
  body[data-public-page="plan"] .lfm-live-title-sub,
  body[data-public-page="plan"] .lfm-goal-caption { color:var(--ink); }
  body[data-public-page="plan"] .lfm-live-goal { border-color:var(--line); }
}


/* LFM livestream scene: keep the host and phone visible, shade the title area. */
body[data-public-page="plan"] .lfm-project .project-image {
  object-position:66% 44%;
}
body[data-public-page="plan"] .lfm-project .project-shade {
  background:linear-gradient(90deg, #0d0b09f0, #0d0b09b8 34%, #0d0b0940 57%, transparent 82%), linear-gradient(0deg, #0d0b09b8, transparent 43%);
}
@media (max-width:620px) {
  body[data-public-page="plan"] .lfm-project .project-image {
    object-position:64% center;
  }
  body[data-public-page="plan"] .lfm-project .project-shade {
    background:linear-gradient(90deg, #0d0b09ed, #0d0b09bf 45%, #0d0b0961), linear-gradient(0deg, #0d0b09b8, transparent 60%);
  }
}
