:root {
  --bg: #f7f4ef;
  --paper: #fffdf9;
  --ink: #201b17;
  --muted: #6c625a;
  --line: #e5dcd1;
  --red: #b8231f;
  --red-dark: #7d1715;
  --green: #386943;
  --shadow: 0 24px 70px rgba(43, 30, 20, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family:
    "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 3px solid #f5a000;
  outline-offset: 4px;
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  padding: 18px clamp(20px, 5vw, 72px);
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 36px;
  color: #fff;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), transparent);
}

.brand {
  font-size: 18px;
  font-weight: 700;
}

nav {
  display: flex;
  justify-content: center;
  gap: 26px;
  font-size: 14px;
}

.back-link {
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  background: #080604;
}

.hero img {
  position: absolute;
  inset: 0;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.86),
      rgba(0, 0, 0, 0.52) 34%,
      rgba(0, 0, 0, 0.12) 74%
    ),
    linear-gradient(0deg, rgba(0, 0, 0, 0.24), transparent);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 25vh clamp(24px, 7vw, 96px) 13vh;
  color: #fff;
}

.scope-notice {
  max-width: 680px;
  margin: 0 0 18px;
  padding: 12px 16px;
  border-left: 4px solid #f5a000;
  color: #fff;
  background: rgba(0, 0, 0, 0.62);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
}

.scope-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.scope-status span,
.section-scope-label {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: #fff;
  background: rgba(0, 0, 0, 0.44);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.35;
}

.scope-status span:first-child {
  color: #fff;
  border-color: rgba(83, 148, 95, 0.9);
  background: rgba(56, 105, 67, 0.84);
}

.section-scope-label {
  margin: 0 0 14px;
  color: var(--red-dark);
  border-color: rgba(184, 35, 31, 0.34);
  background: rgba(184, 35, 31, 0.08);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(58px, 8vw, 118px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.02;
}

.hero-line {
  margin-bottom: 16px;
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.35;
}

.hero-line::first-letter,
.model .section-title p,
.budget-card strong {
  color: var(--red);
}

.hero-copy {
  max-width: 600px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 92px 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.5fr;
  gap: 72px;
  align-items: start;
}

.section h2,
.intro-grid h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 52px);
  letter-spacing: 0;
  line-height: 1.16;
}

.intro-grid > div > p,
.section-title p,
.ai-section p,
.budget-copy > p {
  color: var(--muted);
  font-size: 18px;
}

.challenge-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.challenge-list article,
.node-grid article,
.budget-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 12px 38px rgba(67, 45, 28, 0.06);
}

.challenge-list article {
  min-height: 190px;
  padding: 26px;
}

.challenge-list span {
  display: block;
  margin-bottom: 18px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
}

.challenge-list h3,
.node-grid h3,
.season-grid h3 {
  margin-bottom: 8px;
  font-size: 22px;
  line-height: 1.25;
}

.challenge-list p,
.node-grid p,
.season-grid p,
.season-grid small,
.loop-line p,
.before-after p {
  margin-bottom: 0;
  color: var(--muted);
}

.model {
  padding-top: 50px;
}

.section-title {
  margin-bottom: 36px;
}

.model-flow {
  display: grid;
  padding: 34px;
  grid-template-columns: 1fr 42px 1fr 42px 1fr 42px 1fr;
  align-items: center;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.model-flow article {
  min-height: 160px;
  padding: 24px;
  text-align: center;
}

.model-flow strong {
  display: block;
  margin-bottom: 12px;
  color: var(--green);
  font-size: 22px;
}

.model-flow > span {
  position: relative;
  height: 1px;
  background: #c9b8a6;
}

.model-flow > span::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 8px;
  height: 8px;
  border-top: 1px solid #c9b8a6;
  border-right: 1px solid #c9b8a6;
  transform: translateY(-50%) rotate(45deg);
}

.wide-statement {
  padding: 70px clamp(24px, 8vw, 112px);
  color: #fff;
  background: linear-gradient(135deg, var(--red-dark), var(--red));
}

.wide-statement p {
  max-width: 780px;
  margin-bottom: 12px;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.35;
}

.wide-statement strong {
  display: block;
  font-size: 20px;
}

.indoor-outdoor {
  padding-bottom: 40px;
}

.indoor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 0.9fr;
  gap: 18px;
  align-items: stretch;
}

.indoor-grid figure,
.indoor-grid article {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 12px 38px rgba(67, 45, 28, 0.06);
}

.indoor-grid figure img {
  height: 300px;
}

.indoor-grid figcaption {
  padding: 18px 22px 22px;
  color: var(--muted);
  font-size: 15px;
}

.indoor-grid article {
  display: flex;
  padding: 32px;
  flex-direction: column;
  justify-content: center;
}

.indoor-grid article h3 {
  margin-bottom: 16px;
  color: var(--red-dark);
  font-size: 28px;
  line-height: 1.25;
}

.indoor-grid article p {
  color: var(--muted);
}

.season-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.season-grid article {
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.season-grid img {
  height: 230px;
}

.season-grid div {
  padding: 24px;
}

.season-grid h3 {
  color: var(--red-dark);
}

.season-grid small {
  display: block;
  margin-top: 18px;
  font-size: 14px;
}

.nodes {
  padding-top: 26px;
}

.node-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.node-grid article {
  min-height: 170px;
  padding: 28px;
}

.budget {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 30px;
  align-items: stretch;
}

.budget-copy {
  padding: 44px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.budget-copy ul {
  margin: 28px 0 0;
  padding-left: 22px;
}

.budget-copy li {
  margin-bottom: 10px;
}

.budget-card {
  display: flex;
  min-height: 360px;
  padding: 44px;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at top right, rgba(184, 35, 31, 0.15), transparent 42%),
    var(--paper);
}

.budget-card span {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 15px;
}

.budget-card strong {
  display: block;
  margin-bottom: 18px;
  font-size: 48px;
  line-height: 1.05;
}

.loop {
  padding-top: 42px;
}

.loop-line {
  display: grid;
  overflow: hidden;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.loop-line div {
  min-height: 190px;
  padding: 28px 22px;
  background: var(--paper);
}

.loop-line strong {
  display: block;
  margin-bottom: 12px;
  color: var(--red-dark);
  font-size: 20px;
}

.before-after {
  display: grid;
  padding-top: 30px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.before-after > div {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
}

.before-after img {
  height: 390px;
}

.before-after h3,
.before-after p {
  padding: 0 30px;
}

.before-after h3 {
  margin: 26px 0 8px;
  font-size: 25px;
}

.before-after p {
  padding-bottom: 30px;
}

.ai-section {
  max-width: 920px;
  text-align: center;
}

.closing {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  color: #fff;
  background: #080604;
}

.closing img {
  position: absolute;
  inset: 0;
  opacity: 0.72;
}

.closing::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.2));
}

.closing div {
  position: relative;
  z-index: 1;
  width: min(900px, calc(100% - 48px));
  margin: 0 auto;
  padding-top: 145px;
  text-align: center;
}

.closing h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.18;
}

.closing p {
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 20px;
}

.closing a {
  display: inline-block;
  padding-bottom: 4px;
  border-bottom: 1px solid #fff;
  font-weight: 700;
}

.project-footer {
  display: flex;
  padding: 34px clamp(24px, 5vw, 72px);
  justify-content: space-between;
  gap: 24px;
  color: rgba(255, 255, 255, 0.66);
  background: #111;
  font-size: 13px;
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  nav {
    display: none;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    padding-top: 210px;
  }

  .intro-grid,
  .budget,
  .before-after {
    grid-template-columns: 1fr;
  }

  .challenge-list,
  .node-grid,
  .season-grid,
  .indoor-grid,
  .loop-line {
    grid-template-columns: 1fr;
  }

  .indoor-grid figure img {
    height: 260px;
  }

  .model-flow {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .model-flow > span {
    width: 1px;
    height: 34px;
    margin: 0 auto;
  }

  .model-flow > span::after {
    top: auto;
    right: 50%;
    bottom: 0;
    transform: translateX(50%) rotate(135deg);
  }

  .season-grid article {
    min-height: auto;
  }

  .before-after img {
    height: 280px;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 16px 18px;
  }

  .brand,
  .back-link {
    font-size: 14px;
  }

  .section {
    width: min(100% - 32px, 1180px);
    padding: 64px 0;
  }

  .hero {
    min-height: 680px;
  }

  .hero-content {
    max-width: 100%;
    padding-top: 17vh;
    padding-right: 20px;
    padding-left: 20px;
  }

  .scope-notice {
    font-size: 13px;
  }

  h1 {
    overflow-wrap: anywhere;
    font-size: clamp(44px, 13vw, 52px);
  }

  .hero-line,
  .hero-copy {
    overflow-wrap: anywhere;
  }

  .hero-copy,
  .intro-grid > div > p,
  .section-title p,
  .ai-section p,
  .budget-copy > p {
    font-size: 16px;
  }

  .budget-copy,
  .budget-card {
    padding: 28px;
  }

  .budget-card strong {
    font-size: 38px;
  }

  .project-footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
