:root {
  --ink: #11110f;
  --paper: #f4f0e7;
  --paper-deep: #e8e0d2;
  --vermillion: #e95532;
  --mist: #c9c3b7;
  --gold: #a8874a;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", STSong, serif;
  --sans: "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--ink);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--paper);
  background:
    radial-gradient(circle at 82% 22%, rgb(233 85 50 / 18%), transparent 31rem),
    linear-gradient(120deg, #11110f 0%, #171612 58%, #0d0d0c 100%);
  font-family: var(--sans);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  opacity: 0.15;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.38'/%3E%3C/svg%3E");
}

.site-shell {
  width: min(1440px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 28px clamp(22px, 5vw, 76px) 22px;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header {
  border-bottom: 1px solid rgb(244 240 231 / 14%);
  padding-bottom: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgb(233 85 50 / 24%));
}

.brand-name {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.status {
  padding: 7px 12px;
  border: 1px solid rgb(244 240 231 / 20%);
  border-radius: 999px;
  color: var(--mist);
  font-size: 12px;
  letter-spacing: 0.14em;
}

.hero {
  min-height: 660px;
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(480px, 1.07fr);
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
  padding: clamp(64px, 8vh, 112px) 0;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 650px;
  animation: reveal 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.eyebrow {
  margin: 0 0 28px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
}

h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(74px, 9vw, 148px);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.06em;
  white-space: nowrap;
}

.lead {
  margin: 36px 0 0;
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(22px, 2.2vw, 34px);
  font-weight: 600;
  line-height: 1.4;
}

.description {
  max-width: 590px;
  margin: 18px 0 0;
  color: var(--mist);
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.9;
}

.actions {
  margin-top: 42px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.primary-action {
  min-width: 176px;
  min-height: 58px;
  padding: 10px 18px;
  border: 1px solid rgb(233 85 50 / 70%);
  border-radius: 4px;
  color: var(--paper);
  background: rgb(233 85 50 / 18%);
  cursor: pointer;
  display: grid;
  gap: 2px;
  text-align: left;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.primary-action:hover,
.primary-action:focus-visible {
  border-color: var(--vermillion);
  background: rgb(233 85 50 / 30%);
  transform: translateY(-2px);
}

.primary-action:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 3px;
}

.primary-action span:first-child {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.action-note {
  color: rgb(244 240 231 / 72%);
  font-size: 10px;
  letter-spacing: 0.16em;
}

.launch-note {
  max-width: 250px;
  margin: 0;
  color: rgb(201 195 183 / 62%);
  font-size: 12px;
  line-height: 1.7;
}

.storyboard {
  position: relative;
  min-height: 570px;
  overflow: hidden;
  perspective: 1100px;
  animation: reveal 800ms 100ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.orbit {
  position: absolute;
  border: 1px solid rgb(168 135 74 / 22%);
  border-radius: 50%;
  pointer-events: none;
}

.orbit-one {
  width: 520px;
  height: 520px;
  top: 12px;
  right: -32px;
}

.orbit-two {
  width: 360px;
  height: 360px;
  top: 92px;
  right: 48px;
}

.frame {
  position: absolute;
  width: min(400px, 72%);
  min-height: 250px;
  padding: 24px;
  border: 1px solid rgb(244 240 231 / 18%);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 30px 90px rgb(0 0 0 / 35%);
  backdrop-filter: blur(14px);
  transition: transform 280ms ease, border-color 280ms ease;
}

.frame:hover {
  border-color: rgb(233 85 50 / 54%);
}

.frame-index {
  position: absolute;
  top: 22px;
  right: 24px;
  color: rgb(244 240 231 / 36%);
  font-family: var(--serif);
  font-size: 15px;
}

.frame-kicker {
  margin: 0 0 6px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
}

.frame h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 27px;
  letter-spacing: 0.08em;
}

.frame-source {
  top: 10px;
  left: 0;
  z-index: 1;
  color: var(--ink);
  background: linear-gradient(145deg, #f4f0e7, #ded5c6);
  transform: rotate(-5deg) translateZ(-40px);
}

.frame-source:hover {
  transform: rotate(-3deg) translateY(-6px) translateZ(-40px);
}

.frame-source .frame-index {
  color: rgb(17 17 15 / 38%);
}

.frame-source .frame-kicker {
  color: #8a672c;
}

.frame-scene {
  top: 146px;
  right: 8px;
  z-index: 2;
  background: linear-gradient(145deg, rgb(36 34 29 / 96%), rgb(17 17 15 / 94%));
  transform: rotate(4deg);
}

.frame-scene:hover {
  transform: rotate(2deg) translateY(-6px);
}

.frame-film {
  bottom: 0;
  left: 66px;
  z-index: 3;
  background: linear-gradient(145deg, #d84d2d, #f16b3d);
  transform: rotate(-2deg) translateZ(34px);
}

.frame-film:hover {
  transform: rotate(0deg) translateY(-7px) translateZ(34px);
}

.frame-film .frame-kicker,
.frame-film .frame-index {
  color: rgb(255 248 239 / 72%);
}

.manuscript-lines {
  margin-top: 42px;
  display: grid;
  gap: 12px;
}

.manuscript-lines i {
  display: block;
  height: 3px;
  background: rgb(17 17 15 / 18%);
}

.manuscript-lines i:nth-child(2) {
  width: 82%;
}

.manuscript-lines i:nth-child(3) {
  width: 92%;
}

.manuscript-lines i:nth-child(4) {
  width: 63%;
}

.scene-grid {
  margin-top: 31px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
}

.scene-grid i {
  display: block;
  height: 58px;
  border: 1px solid rgb(244 240 231 / 13%);
  background:
    linear-gradient(150deg, transparent 54%, rgb(233 85 50 / 42%) 55%, transparent 57%),
    radial-gradient(circle at 72% 28%, rgb(244 240 231 / 28%) 0 9%, transparent 10%);
}

.film-mark {
  position: absolute;
  right: 19px;
  bottom: 4px;
  width: 154px;
  height: 154px;
  object-fit: contain;
  opacity: 0.92;
  filter: saturate(0) brightness(4) drop-shadow(0 18px 22px rgb(91 27 12 / 24%));
}

.site-footer {
  padding-top: 18px;
  border-top: 1px solid rgb(244 240 231 / 14%);
  color: rgb(201 195 183 / 64%);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.site-footer p {
  margin: 0;
}

.company-details,
.site-records {
  display: flex;
  align-items: center;
  gap: 18px;
}

.company-name {
  color: rgb(244 240 231 / 82%);
}

.site-records a,
.site-records span {
  color: inherit;
  text-decoration: none;
}

.site-records a {
  transition: color 180ms ease;
}

.site-records a:hover,
.site-records a:focus-visible {
  color: var(--paper);
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 981px) and (max-width: 1080px) {
  .hero {
    gap: 36px;
  }

  h1 {
    font-size: clamp(74px, 7.8vw, 84px);
  }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 72px;
    padding-top: 74px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .storyboard {
    width: min(680px, 100%);
    min-height: 590px;
    justify-self: end;
  }
}

@media (max-width: 620px) {
  .site-shell {
    padding: 20px 18px 18px;
  }

  .brand-name {
    font-size: 16px;
  }

  .status {
    padding: 6px 9px;
    font-size: 10px;
  }

  .hero {
    min-height: auto;
    gap: 58px;
    padding: 58px 0 70px;
  }

  h1 {
    font-size: clamp(64px, 21vw, 92px);
    line-height: 0.94;
  }

  .lead {
    margin-top: 28px;
    font-size: 23px;
  }

  .description {
    font-size: 15px;
  }

  .actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .primary-action {
    width: 100%;
  }

  .storyboard {
    min-height: 510px;
  }

  .orbit-one {
    width: 420px;
    height: 420px;
    right: -120px;
  }

  .orbit-two {
    width: 290px;
    height: 290px;
    right: -54px;
  }

  .frame {
    width: 82%;
    min-height: 220px;
    padding: 20px;
  }

  .frame-source {
    left: 0;
  }

  .frame-scene {
    top: 130px;
    right: 0;
  }

  .frame-film {
    left: 10px;
  }

  .film-mark {
    width: 126px;
    height: 126px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .company-details,
  .site-records {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
