:root {
  --ink: #161718;
  --muted: #666a6d;
  --line: rgba(22, 23, 24, 0.12);
  --paper: #f7f3ea;
  --paper-2: #fbfaf6;
  --navy: #132633;
  --gold: #b98535;
  --red: #8f3c2d;
  --jade: #58796f;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(19, 38, 51, 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper-2);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.65;
  letter-spacing: 0;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px clamp(20px, 4vw, 64px);
  color: var(--white);
  transition: background 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(251, 250, 246, 0.92);
  box-shadow: 0 12px 30px rgba(19, 38, 51, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--white);
  background: var(--red);
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  font-size: 14px;
}

.site-nav a {
  position: relative;
  color: inherit;
  opacity: 0.86;
}

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

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

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 21, 29, 0.76), rgba(11, 21, 29, 0.2) 52%, rgba(11, 21, 29, 0.62)),
    linear-gradient(180deg, rgba(11, 21, 29, 0.48), rgba(11, 21, 29, 0.18) 42%, rgba(11, 21, 29, 0.82));
}

.hero-content {
  position: relative;
  width: min(900px, calc(100% - 40px));
  margin-top: 40px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section h2 {
  font-family: "Songti SC", "Noto Serif CJK SC", "STSong", serif;
  font-weight: 700;
  letter-spacing: 0;
}

.hero h1 {
  margin: 0;
  font-size: 112px;
  line-height: 1;
}

.hero-subtitle {
  margin: 14px 0 0;
  font-family: "Songti SC", "Noto Serif CJK SC", serif;
  font-size: 50px;
}

.hero-copy {
  max-width: 620px;
  margin: 22px auto 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 19px;
}

.hero-actions {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.primary-link,
.ghost-link,
.contact-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.primary-link {
  color: var(--ink);
  background: var(--gold);
}

.ghost-link {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.52);
}

.primary-link:hover,
.ghost-link:hover,
.contact-form button:hover {
  transform: translateY(-2px);
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  display: grid;
  place-items: center;
  width: 32px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 20px;
  transform: translateX(-50%);
}

.scroll-cue span {
  width: 4px;
  height: 9px;
  border-radius: 999px;
  background: var(--white);
  animation: scrollDot 1.5s ease-in-out infinite;
}

@keyframes scrollDot {
  0%, 100% {
    transform: translateY(-7px);
    opacity: 0.45;
  }
  50% {
    transform: translateY(7px);
    opacity: 1;
  }
}

.section {
  position: relative;
  padding: clamp(76px, 10vw, 132px) clamp(20px, 4vw, 64px);
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.two-column,
.ip-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.88fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
}

.section-copy h2,
.section-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: 56px;
  line-height: 1.15;
}

.section-copy p,
.section-heading p + h2 + p {
  color: var(--muted);
}

.section-copy > p:not(.eyebrow) {
  margin: 24px 0 0;
  font-size: 17px;
}

.image-stack {
  position: relative;
}

.image-main {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.image-float {
  position: absolute;
  right: -18px;
  bottom: -30px;
  width: min(36%, 170px);
  border: 8px solid var(--paper-2);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

.value-list span,
.platforms span,
.flow span {
  padding: 12px 14px;
  color: var(--navy);
  background: rgba(185, 133, 53, 0.12);
  border: 1px solid rgba(185, 133, 53, 0.22);
  border-radius: var(--radius);
}

.works-section,
.documentary-section,
.team-section {
  background: var(--paper);
}

.section-heading {
  max-width: 830px;
  margin-bottom: 42px;
}

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

.work-card,
.tech-item,
.member,
.impact-card {
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(19, 38, 51, 0.1);
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.work-card:hover,
.tech-item:hover,
.member:hover,
.impact-card:hover,
.mosaic figure:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.work-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.work-card div,
.member {
  padding: 24px;
}

.tag,
.member span {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
}

.work-card h3,
.tech-item h3,
.member h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 22px;
}

.work-card p:last-child,
.tech-item p,
.member p {
  margin: 0;
  color: var(--muted);
}

.ip-section {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(19, 38, 51, 0.96), rgba(88, 121, 111, 0.9)),
    var(--navy);
}

.ip-section .section-copy h2,
.ip-section .section-copy p {
  color: var(--white);
}

.compact-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 34px 0 0;
}

.compact-stats div {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
}

.compact-stats dt {
  color: var(--gold);
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
}

.compact-stats dd {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.ip-gallery {
  display: grid;
  grid-template-columns: 1.1fr 0.68fr;
  gap: 14px;
}

.ip-gallery img {
  width: 100%;
  height: 100%;
  min-height: 160px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.ip-gallery img:first-child {
  grid-row: span 2;
}

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

.tech-item {
  position: relative;
  min-height: 230px;
  padding: 26px;
  overflow: hidden;
}

.tech-item::after {
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 100px;
  height: 100px;
  content: "";
  border: 1px solid rgba(185, 133, 53, 0.26);
  border-radius: 50%;
}

.tech-index {
  display: block;
  margin-bottom: 42px;
  color: var(--gold);
  font-weight: 800;
}

.flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
  text-align: center;
}

.mosaic {
  display: grid;
  grid-template-columns: 1.25fr 0.8fr 0.8fr;
  gap: 16px;
}

.mosaic figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(19, 38, 51, 0.1);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.mosaic img {
  width: 100%;
  height: 330px;
  object-fit: cover;
}

.mosaic-large img {
  height: 430px;
}

.mosaic figcaption {
  padding: 16px 18px 18px;
  color: var(--muted);
  font-size: 14px;
}

.impact-section {
  background: linear-gradient(180deg, #fbfaf6, #f4eee1);
}

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

.impact-card {
  min-height: 170px;
  padding: 28px 20px;
  text-align: center;
}

.impact-card strong {
  display: block;
  color: var(--red);
  font-size: 68px;
  line-height: 1;
}

.impact-card span {
  display: block;
  margin-top: 12px;
  color: var(--navy);
  font-weight: 700;
}

.platforms {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

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

.member {
  min-height: 190px;
}

.advisor {
  background: var(--navy);
}

.advisor h3,
.advisor p {
  color: var(--white);
}

.contact-section {
  color: var(--white);
  background:
    linear-gradient(100deg, rgba(19, 38, 51, 0.94), rgba(143, 60, 45, 0.78)),
    url("images/图片 12.png") center / cover;
}

.contact-panel {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.contact-panel h2 {
  margin: 0;
  color: var(--white);
  font-family: "Songti SC", "Noto Serif CJK SC", serif;
  font-size: 56px;
  line-height: 1.15;
}

.contact-panel p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: clamp(20px, 3vw, 34px);
  color: var(--ink);
  background: rgba(251, 250, 246, 0.92);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

.contact-form span {
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(19, 38, 51, 0.16);
  border-radius: var(--radius);
  padding: 12px 13px;
  color: var(--ink);
  background: var(--white);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  width: fit-content;
  color: var(--white);
  background: var(--red);
  border: 0;
  cursor: pointer;
}

.form-status {
  min-height: 20px;
  margin: -4px 0 0;
  color: var(--jade);
  font-size: 13px;
  font-weight: 700;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(20px, 4vw, 64px);
  color: rgba(255, 255, 255, 0.74);
  background: #111517;
}

.site-footer strong {
  color: var(--white);
}

.site-footer p {
  margin: 4px 0 0;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    left: 20px;
    right: 20px;
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding: 10px;
    color: var(--ink);
    background: rgba(251, 250, 246, 0.96);
    border: 1px solid rgba(19, 38, 51, 0.1);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .site-header.is-open .site-nav {
    display: grid;
  }

  .site-nav a {
    padding: 12px;
  }

  .site-nav a::after {
    display: none;
  }

  .two-column,
  .ip-layout,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .work-grid,
  .tech-grid,
  .impact-grid,
  .team-grid,
  .platforms {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mosaic {
    grid-template-columns: 1fr 1fr;
  }

  .mosaic-large {
    grid-column: 1 / -1;
  }

  .flow {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 86px;
  }

  .hero-subtitle {
    font-size: 40px;
  }

  .section-copy h2,
  .section-heading h2,
  .contact-panel h2 {
    font-size: 44px;
  }

  .impact-card strong {
    font-size: 56px;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 14px 18px;
  }

  .site-nav {
    grid-template-columns: 1fr;
    top: 68px;
    left: 16px;
    right: 16px;
  }

  .hero {
    min-height: 88vh;
    place-items: end center;
    padding-bottom: 92px;
  }

  .hero-content {
    text-align: left;
  }

  .hero h1 {
    font-size: 58px;
  }

  .hero-subtitle {
    font-size: 30px;
  }

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

  .section-copy h2,
  .section-heading h2,
  .contact-panel h2 {
    font-size: 34px;
  }

  .impact-card strong {
    font-size: 48px;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .work-grid,
  .tech-grid,
  .impact-grid,
  .team-grid,
  .platforms,
  .mosaic,
  .value-list,
  .compact-stats,
  .ip-gallery {
    grid-template-columns: 1fr;
  }

  .ip-gallery img:first-child {
    grid-row: auto;
  }

  .mosaic img,
  .mosaic-large img {
    height: 280px;
  }

  .image-float {
    right: 12px;
    bottom: 12px;
    width: 104px;
    border-width: 5px;
  }

  .site-footer {
    display: block;
  }
}
