:root {
  color-scheme: light;
  --ink: #1d1b17;
  --muted: #6f665a;
  --paper: #f4efe3;
  --paper-deep: #e7dcc7;
  --reed: #6d8a73;
  --reed-dark: #355f54;
  --cinnabar: #a9432d;
  --gold: #c79a4b;
  --line: rgba(58, 47, 34, 0.16);
  --shadow: 0 24px 70px rgba(37, 29, 18, 0.18);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", system-ui, sans-serif;
  background:
    radial-gradient(circle at 18% 10%, rgba(199, 154, 75, 0.2), transparent 28rem),
    radial-gradient(circle at 85% 18%, rgba(109, 138, 115, 0.22), transparent 26rem),
    linear-gradient(145deg, #f9f5e9 0%, #eee2cc 48%, #f7efe0 100%);
  line-height: 1.65;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  opacity: 0.18;
  background-image:
    linear-gradient(90deg, rgba(82, 66, 44, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(82, 66, 44, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 54px);
  color: #fffaf0;
  background: rgba(29, 27, 23, 0.46);
  border-bottom: 1px solid rgba(255, 250, 240, 0.18);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff8df;
  background: linear-gradient(135deg, var(--cinnabar), #6f2b25);
  border: 1px solid rgba(255, 250, 240, 0.35);
  border-radius: 50%;
  font-family: "KaiTi", "STKaiti", serif;
  font-size: 24px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.2;
}

.brand strong {
  font-family: "KaiTi", "STKaiti", serif;
  font-size: 22px;
  font-weight: 700;
}

.brand small {
  margin-top: 3px;
  color: rgba(255, 250, 240, 0.74);
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  color: rgba(255, 250, 240, 0.82);
  font-size: 14px;
  white-space: nowrap;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.hero {
  position: relative;
  display: grid;
  min-height: 94vh;
  overflow: hidden;
  color: #fffaf0;
  isolation: isolate;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -3;
  background:
    linear-gradient(110deg, rgba(23, 21, 17, 0.28), rgba(23, 21, 17, 0.08)),
    url("https://www.yysls.cn/pc/fab/20250723194326/img/kv_448e08f7.jpg") center / cover no-repeat,
    linear-gradient(135deg, #786743 0%, #4f7563 48%, #efe0be 100%);
  transform: scale(1.02);
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(20, 17, 13, 0.88), rgba(20, 17, 13, 0.34) 50%, rgba(20, 17, 13, 0.12)),
    linear-gradient(0deg, rgba(20, 17, 13, 0.76), transparent 36%);
}

.hero-content {
  width: min(var(--max), calc(100% - 36px));
  margin: auto;
  padding: 128px 0 140px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cinnabar);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}

.hero .eyebrow {
  color: #f0c77b;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 720px;
  margin: 0;
  font-family: "KaiTi", "STKaiti", serif;
  font-size: clamp(62px, 11vw, 148px);
  line-height: 0.96;
  font-weight: 700;
  text-shadow: 0 20px 42px rgba(0, 0, 0, 0.34);
}

.hero-copy {
  max-width: 620px;
  margin: 26px 0 0;
  color: rgba(255, 250, 240, 0.88);
  font-size: clamp(18px, 2.2vw, 25px);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid rgba(255, 250, 240, 0.34);
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.primary-action {
  color: #fff9ea;
  background: linear-gradient(135deg, var(--cinnabar), #7f2d22);
  box-shadow: 0 16px 40px rgba(78, 26, 18, 0.28);
}

.secondary-action {
  color: #fff9ea;
  background: rgba(255, 250, 240, 0.12);
  backdrop-filter: blur(10px);
}

.primary-action:hover,
.secondary-action:hover,
.copy-row:hover {
  transform: translateY(-2px);
}

.hero-note {
  position: absolute;
  right: clamp(18px, 4vw, 54px);
  bottom: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  max-width: calc(100% - 36px);
}

.hero-note span {
  padding: 8px 13px;
  color: rgba(255, 250, 240, 0.86);
  background: rgba(255, 250, 240, 0.12);
  border: 1px solid rgba(255, 250, 240, 0.22);
  border-radius: 999px;
  backdrop-filter: blur(12px);
}

.paper-section,
.split-section,
.join-section {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(72px, 10vw, 118px) 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading.compact {
  max-width: 620px;
}

h2 {
  margin: 0;
  font-family: "KaiTi", "STKaiti", serif;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.12;
}

.section-heading p:not(.eyebrow),
.split-copy > p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
}

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

.temper-grid article,
.role-grid article,
.join-card {
  background:
    linear-gradient(145deg, rgba(255, 252, 242, 0.9), rgba(238, 226, 203, 0.82)),
    var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.temper-grid article,
.role-grid article {
  min-height: 220px;
  padding: 24px;
}

.temper-grid span {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 28px;
  font-weight: 700;
}

h3 {
  margin: 16px 0 8px;
  font-size: 22px;
  line-height: 1.25;
}

article p {
  margin: 0;
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
}

.image-panel {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: linear-gradient(135deg, #d1bd8e, #5e806d);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.image-panel::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(31, 25, 18, 0.35), transparent 45%);
}

.image-panel img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.daily-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.daily-list div {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.daily-list h3 {
  margin-top: 0;
}

.daily-list p {
  margin: 0;
  color: var(--muted);
}

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

.role-grid article {
  min-height: 178px;
}

.join-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.62fr);
  gap: clamp(22px, 5vw, 56px);
  align-items: start;
}

.join-copy {
  padding-top: 20px;
}

.join-rules {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.join-rules li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  font-size: 17px;
}

.join-rules li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 9px;
  height: 9px;
  content: "";
  background: var(--reed);
  border-radius: 50%;
}

.join-card {
  position: sticky;
  top: 92px;
  padding: 26px;
}

.card-kicker {
  margin: 0 0 8px;
  color: var(--reed-dark);
  font-size: 13px;
  font-weight: 700;
}

.join-card h2 {
  font-size: clamp(28px, 3vw, 38px);
}

.contact-stack {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.copy-row {
  display: flex;
  width: 100%;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 15px;
  color: var(--ink);
  text-align: left;
  background: rgba(255, 252, 242, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.copy-row span {
  color: var(--muted);
  font-size: 13px;
}

.copy-row strong {
  font-size: 16px;
  text-align: right;
}

.copy-row:focus-visible,
.primary-action:focus-visible,
.secondary-action:focus-visible,
.site-nav a:focus-visible {
  outline: 3px solid rgba(169, 67, 45, 0.45);
  outline-offset: 3px;
}

.copy-row.is-copied {
  background: rgba(109, 138, 115, 0.16);
  border-color: rgba(53, 95, 84, 0.34);
}

.copy-status {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  padding: 28px clamp(18px, 4vw, 54px);
  color: rgba(255, 250, 240, 0.72);
  background: #25211b;
  border-top: 1px solid rgba(255, 250, 240, 0.12);
}

.site-footer p {
  margin: 0;
  font-size: 13px;
}

.section-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.section-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  .site-nav {
    display: none;
  }

  .hero-content {
    padding-top: 120px;
  }

  .temper-grid,
  .role-grid,
  .split-section,
  .join-section {
    grid-template-columns: 1fr;
  }

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

  .image-panel,
  .image-panel img {
    min-height: 360px;
  }

  .join-card {
    position: static;
  }
}

@media (max-width: 620px) {
  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 92vh;
  }

  .hero-content {
    width: min(100% - 28px, var(--max));
  }

  h1 {
    font-size: clamp(54px, 18vw, 82px);
  }

  .hero-copy {
    font-size: 17px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    max-width: 280px;
  }

  .hero-note {
    left: 14px;
    right: 14px;
    justify-content: flex-start;
  }

  .paper-section,
  .split-section,
  .join-section {
    width: min(100% - 28px, var(--max));
    padding: 64px 0;
  }

  .temper-grid,
  .daily-list {
    grid-template-columns: 1fr;
  }

  .temper-grid article,
  .role-grid article {
    min-height: auto;
    padding: 22px;
  }

  .copy-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .copy-row strong {
    text-align: left;
  }

  .site-footer {
    display: block;
  }

  .site-footer p + p {
    margin-top: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
}
