:root {
  --ink: #0c0c0c;
  --ink-soft: #2c2c2c;
  --ink-muted: #666666;
  --paper: #f2f2f2;
  --card: #ffffff;
  --line: rgba(12, 12, 12, 0.13);
  --white: #ffffff;
  --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: 'Noto Serif SC', 'Songti SC', serif;
  --font-body: 'Noto Sans SC', 'PingFang SC', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
}

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

main,
.topbar,
.footer {
  padding-left: clamp(20px, 4vw, 56px);
  padding-right: clamp(20px, 4vw, 56px);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: rgba(242, 242, 242, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: grid;
  gap: 2px;
}

.brand-cn {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.brand-en {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--ink-muted);
}

.topnav {
  display: flex;
  gap: clamp(14px, 2vw, 30px);
}

.topnav a {
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  transition: color var(--transition);
}

.topnav a:hover,
.topnav a.active {
  color: var(--ink);
}

.menu-toggle {
  display: none;
  border: none;
  background: var(--ink);
  width: 40px;
  height: 40px;
  border-radius: 2px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--white);
  transition: var(--transition);
}

.hero.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: calc(100vh - 82px);
}

.hero-left {
  padding: clamp(52px, 8vw, 110px) 0;
  max-width: 760px;
}

.hero-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--ink-muted);
  margin-bottom: 18px;
}

.hero-left h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.22;
  margin-bottom: 24px;
}

.hero-desc {
  max-width: 620px;
  color: var(--ink-soft);
  margin-bottom: 32px;
}

.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #111111 0%, #2a2a2a 100%);
  margin: clamp(18px, 3vw, 36px) 0;
  position: relative;
  overflow: hidden;
}

.hero-right::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.11) 0 1px, transparent 1.6px),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.08) 0 1px, transparent 1.6px);
  background-size: 44px 44px, 70px 70px;
  opacity: 0.3;
}

.hero-frame {
  position: relative;
  z-index: 1;
  max-width: 440px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 34px;
  background: rgba(0, 0, 0, 0.28);
}

.frame-tag {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.hero-frame h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  line-height: 1.45;
  margin-bottom: 14px;
}

.hero-frame p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  font: inherit;
  transition: var(--transition);
}

.btn-primary {
  padding: 12px 24px;
  background: var(--ink);
  color: var(--white);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: #2d2d2d;
}

.manifesto {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #ebebeb;
  padding: 14px 0;
  margin-bottom: 6px;
}

.manifesto p {
  white-space: nowrap;
  width: max-content;
  font-size: 0.76rem;
  letter-spacing: 0.32em;
  color: #777777;
  animation: marquee 24s linear infinite;
}

section {
  padding-top: clamp(60px, 8vw, 92px);
  padding-bottom: clamp(60px, 8vw, 92px);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 28px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.2vw, 2.5rem);
}

.section-head p {
  color: var(--ink-muted);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}

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

.drama-card {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 22px 20px;
  min-height: 180px;
  display: grid;
  grid-template-rows: auto auto 1fr;
  transition: var(--transition);
}

.drama-card span {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--ink-muted);
}

.drama-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 12px 0 8px;
}

.drama-card p {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.drama-card:hover {
  transform: translateY(-4px);
  border-color: rgba(12, 12, 12, 0.26);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.workflow {
  background: #111111;
  color: var(--white);
}

.workflow .section-head p {
  color: rgba(255, 255, 255, 0.62);
}

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

.workflow-item {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.03);
  padding: 24px;
}

.workflow-item h3 {
  font-family: var(--font-display);
  margin-bottom: 10px;
  font-size: 1.12rem;
}

.workflow-item p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.95rem;
}

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

.company-item {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 18px;
}

.company-item-wide {
  grid-column: 1 / -1;
}

.company-item dt {
  color: var(--ink-muted);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}

.company-item dd {
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.6;
}

.connect {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 14px;
}

.connect-panel,
.connect-form {
  background: var(--card);
  border: 1px solid var(--line);
  padding: clamp(22px, 3vw, 34px);
}

.connect-kicker {
  font-size: 0.74rem;
  letter-spacing: 0.26em;
  color: var(--ink-muted);
  margin-bottom: 14px;
}

.connect-panel h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.3vw, 2.2rem);
  margin-bottom: 16px;
}

.connect-email {
  font-size: 1.1rem;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.connect-email:hover {
  border-bottom-color: var(--ink);
}

.connect-address {
  margin-top: 18px;
  color: var(--ink-soft);
}

.connect-form {
  display: grid;
  gap: 12px;
}

.connect-form label span {
  display: block;
  font-size: 0.8rem;
  color: var(--ink-muted);
  margin-bottom: 6px;
}

.connect-form input,
.connect-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: #fafafa;
  font: inherit;
  color: var(--ink);
}

.connect-form input:focus,
.connect-form textarea:focus {
  outline: none;
  border-color: #404040;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.connect-form textarea {
  resize: vertical;
  min-height: 120px;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  background: #111111;
  color: rgba(255, 255, 255, 0.62);
  padding-top: 24px;
  padding-bottom: 24px;
  font-size: 0.85rem;
}

.footer a:hover {
  color: var(--white);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--transition), transform 0.7s var(--transition);
}

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

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 1080px) {
  .lineup-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

  .topnav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform var(--transition);
  }

  .topnav.open {
    transform: scaleY(1);
  }

  .topnav a {
    padding: 13px 20px;
    border-top: 1px solid var(--line);
  }

  .menu-toggle.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .hero.split {
    grid-template-columns: 1fr;
  }

  .hero-right {
    margin: 0 0 8px;
    min-height: 320px;
  }

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

  .workflow-grid,
  .connect {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .lineup-grid,
  .company-grid {
    grid-template-columns: 1fr;
  }
}
