:root {
  color-scheme: light;
  --ink: #10231e;
  --ink-soft: #52635e;
  --paper: #f3f0e8;
  --paper-warm: #e8e2d7;
  --white: #fffefa;
  --night: #07110f;
  --night-soft: #0d1d19;
  --night-line: rgba(206, 248, 227, 0.15);
  --lime: #c7ff49;
  --mint: #62edbd;
  --cyan: #60d9ff;
  --orange: #ff8c55;
  --line: rgba(16, 35, 30, 0.16);
  --shadow: 0 28px 80px rgba(21, 45, 37, 0.14);
  --radius-lg: 28px;
  --radius-md: 18px;
  --content: min(1240px, calc(100vw - 48px));
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 22px);
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 4%, rgba(98, 237, 189, 0.14), transparent 28rem),
    var(--paper);
  font-family: "Noto Sans CJK SC", "Source Han Sans SC", "Microsoft YaHei", "PingFang SC", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.28;
  background-image: linear-gradient(rgba(16, 35, 30, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 35, 30, 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
}

img,
video,
iframe {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

a:focus-visible,
button:focus-visible,
video:focus-visible,
iframe:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 100;
  transform: translateY(-160%);
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--night);
  background: var(--lime);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 max(24px, calc((100vw - 1240px) / 2));
  border-bottom: 1px solid transparent;
  background: rgba(243, 240, 232, 0.84);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 10px 32px rgba(21, 45, 37, 0.08);
}

.site-name {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 14px;
  font-weight: 720;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
}

.site-mark {
  position: relative;
  width: 21px;
  height: 21px;
  border: 2px solid var(--ink);
  border-radius: 50%;
}

.site-mark::before,
.site-mark::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.site-mark::before {
  width: 5px;
  height: 5px;
  top: 6px;
  left: 6px;
  background: var(--ink);
}

.site-mark::after {
  width: 6px;
  height: 6px;
  right: -4px;
  top: -4px;
  background: var(--orange);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  text-decoration: none;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -6px;
  height: 2px;
  background: var(--orange);
  transition: right 160ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  right: 0;
}

.hero {
  width: var(--content);
  min-height: calc(100svh - var(--header-height));
  margin: 0 auto;
  padding: 80px 0 92px;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(520px, 1.14fr);
  align-items: center;
  gap: clamp(50px, 6vw, 98px);
}

.eyebrow,
.section-index {
  margin: 0 0 24px;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
}

.eyebrow span {
  width: 42px;
  height: 2px;
  background: var(--orange);
}

.hero h1 {
  max-width: 690px;
  margin: 0;
  font-size: clamp(48px, 6.3vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.075em;
  font-weight: 820;
}

.hero h1 span {
  display: block;
}

.hero-subtitle {
  margin: 28px 0 18px;
  color: var(--ink);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 620;
  letter-spacing: -0.025em;
}

.hero-intro {
  max-width: 610px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 34px 0 40px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 150ms ease, background 150ms ease, color 150ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--paper);
  background: var(--ink);
}

.button-primary:hover {
  background: #1a3930;
}

.button-quiet:hover {
  color: var(--paper);
  background: var(--ink);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.hero-facts div {
  display: grid;
  gap: 2px;
}

.hero-facts dt {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 17px;
  font-weight: 760;
}

.hero-facts dd {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
}

.hero-visual {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 70px 30px 92px;
  border: 1px solid rgba(199, 255, 73, 0.24);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 82% 20%, rgba(96, 217, 255, 0.18), transparent 22rem),
    radial-gradient(circle at 18% 86%, rgba(199, 255, 73, 0.15), transparent 19rem),
    var(--night);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.32;
  background-image: linear-gradient(rgba(98, 237, 189, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(98, 237, 189, 0.16) 1px, transparent 1px);
  background-size: 44px 44px;
  transform: perspective(700px) rotateX(58deg) scale(1.45) translateY(21%);
  transform-origin: center bottom;
}

.hero-video {
  width: min(100%, 690px);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: #0a0f0e;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.46);
}

.hero-visual-top,
.hero-visual-bottom {
  position: absolute;
  left: 30px;
  right: 30px;
  display: flex;
  align-items: center;
  color: rgba(236, 255, 247, 0.82);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
}

.hero-visual-top {
  top: 24px;
  gap: 9px;
}

.hero-timecode {
  margin-left: auto;
  color: var(--lime);
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 5px rgba(255, 140, 85, 0.13);
}

.hero-visual-bottom {
  bottom: 22px;
  justify-content: space-between;
  gap: 16px;
  letter-spacing: 0;
}

.hero-visual-bottom div {
  display: grid;
}

.hero-visual-bottom strong {
  color: var(--white);
  font-family: inherit;
  font-size: 11px;
}

.hero-visual-bottom span {
  color: rgba(236, 255, 247, 0.48);
  font-size: 10px;
}

.work-section,
.notes-section {
  width: var(--content);
  margin: 0 auto;
  padding: 118px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(150px, 0.28fr) minmax(0, 1fr);
  gap: 44px;
  align-items: start;
  margin-bottom: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.section-heading h2,
.notes-heading h2 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.06em;
}

.section-heading div > p {
  margin: 14px 0 0;
  color: var(--ink-soft);
}

.work-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.85fr);
  gap: clamp(42px, 6vw, 88px);
  align-items: start;
}

.media-frame {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.media-frame video {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #09100e;
}

.media-frame-light {
  background: var(--white);
}

.media-caption {
  display: flex;
  gap: 12px;
  align-items: baseline;
  margin: 0;
  padding: 18px 22px 20px;
  color: var(--ink-soft);
  font-size: 13px;
}

.media-caption span {
  flex: 0 0 auto;
  padding: 3px 9px;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(98, 237, 189, 0.25);
  font-size: 11px;
  font-weight: 720;
}

.lead {
  margin: 0;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.55;
  letter-spacing: -0.02em;
}

.process-list {
  margin-top: 42px;
  border-top: 1px solid var(--line);
}

.process-list article {
  display: grid;
  grid-template-columns: 72px 80px 1fr;
  gap: 10px;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.process-list span,
.process-list h3 {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
}

.process-list span {
  color: var(--orange);
  font-weight: 700;
}

.process-list h3,
.process-list p {
  margin: 0;
}

.process-list p {
  color: var(--ink-soft);
  font-size: 14px;
}

.boundary-note {
  margin: 30px 0 0;
  padding: 17px 18px;
  border-left: 3px solid var(--orange);
  color: var(--ink-soft);
  background: rgba(255, 254, 250, 0.6);
  font-size: 13px;
}

.work-section-dark {
  position: relative;
  width: 100%;
  padding: 120px max(24px, calc((100vw - 1240px) / 2));
  color: #effff8;
  background:
    radial-gradient(circle at 12% 45%, rgba(98, 237, 189, 0.1), transparent 24rem),
    radial-gradient(circle at 86% 12%, rgba(96, 217, 255, 0.12), transparent 28rem),
    var(--night);
}

.section-heading-dark {
  border-color: var(--night-line);
}

.section-heading-dark div > p,
.work-section-dark .section-index {
  color: rgba(239, 255, 248, 0.58);
}

.four-d-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: end;
  margin-bottom: 40px;
}

.four-d-intro .lead {
  max-width: 860px;
  color: rgba(239, 255, 248, 0.82);
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-tags li {
  padding: 7px 12px;
  border: 1px solid var(--night-line);
  border-radius: 999px;
  color: var(--mint);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
}

.viewer-shell {
  overflow: hidden;
  border: 1px solid var(--night-line);
  border-radius: var(--radius-lg);
  background: #060d0b;
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.35);
}

.viewer-header {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 18px;
  border-bottom: 1px solid var(--night-line);
  color: rgba(239, 255, 248, 0.5);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
}

.viewer-header span:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--mint);
}

.viewer-header i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(199, 255, 73, 0.09);
}

.desktop-viewer {
  width: 100%;
  height: min(720px, 68vw);
  min-height: 600px;
  display: block;
  border: 0;
  background: #060d0b;
}

.mobile-viewer-fallback {
  display: none;
}

.four-d-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 28px;
  background: var(--night-line);
}

.four-d-notes article {
  min-height: 190px;
  padding: 28px;
  background: var(--night);
}

.four-d-notes span {
  color: var(--lime);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
}

.four-d-notes h3 {
  margin: 18px 0 8px;
  font-size: 18px;
}

.four-d-notes p {
  margin: 0;
  color: rgba(239, 255, 248, 0.58);
  font-size: 14px;
}

.notes-section {
  padding-bottom: 90px;
}

.notes-heading {
  display: grid;
  grid-template-columns: minmax(150px, 0.28fr) minmax(0, 1fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 50px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.notes-heading .section-index {
  margin: 0;
}

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

.notes-grid article {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 254, 250, 0.58);
}

.note-number {
  color: var(--orange);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
}

.notes-grid h3 {
  margin: auto 0 12px;
  font-size: 23px;
}

.notes-grid p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.privacy-statement {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 16px;
  align-items: start;
  margin-top: 28px;
  padding: 22px 24px;
  border-radius: var(--radius-md);
  background: var(--paper-warm);
}

.privacy-statement > span {
  width: 12px;
  height: 12px;
  margin-top: 7px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px var(--paper-warm), inset 0 0 0 8px var(--mint);
}

.privacy-statement p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.privacy-statement strong {
  color: var(--ink);
}

.site-footer {
  width: var(--content);
  min-height: 180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 40px;
  align-items: center;
  padding: 42px 0;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 12px;
}

.site-footer p {
  margin: 0;
}

.footer-name {
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
}

.filing-links {
  display: grid;
  gap: 6px;
  justify-items: end;
}

.filing-links a:hover {
  color: var(--ink);
}

.copyright {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  white-space: nowrap;
}

@media (max-width: 1080px) {
  :root {
    --content: min(100% - 40px, 900px);
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 68px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-visual {
    min-height: 560px;
  }

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

  .work-copy {
    max-width: 760px;
  }

  .four-d-intro {
    grid-template-columns: 1fr;
  }

  .feature-tags {
    justify-content: flex-start;
  }

  .desktop-viewer {
    min-height: 560px;
  }
}

@media (max-width: 760px) {
  :root {
    --content: calc(100% - 28px);
    --header-height: 64px;
    --radius-lg: 20px;
  }

  .site-header {
    padding: 0 14px;
  }

  .site-name {
    font-size: 12px;
  }

  .site-nav {
    display: none;
  }

  .hero {
    gap: 48px;
    padding: 56px 0 72px;
  }

  .hero h1 {
    font-size: clamp(46px, 15vw, 68px);
    letter-spacing: -0.065em;
  }

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

  .hero-facts {
    gap: 8px;
  }

  .hero-visual {
    min-height: 430px;
    padding: 58px 14px 84px;
  }

  .hero-visual-top,
  .hero-visual-bottom {
    left: 16px;
    right: 16px;
  }

  .hero-visual-bottom {
    gap: 8px;
  }

  .work-section,
  .notes-section {
    padding: 82px 0;
  }

  .work-section-dark {
    padding: 84px 14px;
  }

  .section-heading,
  .notes-heading {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 34px;
  }

  .section-heading h2,
  .notes-heading h2 {
    font-size: clamp(36px, 12vw, 52px);
  }

  .process-list article {
    grid-template-columns: 58px 58px 1fr;
  }

  .viewer-header {
    display: none;
  }

  .desktop-viewer {
    display: none;
  }

  .mobile-viewer-fallback {
    display: block;
  }

  .mobile-viewer-fallback video {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #050a08;
  }

  .mobile-viewer-fallback p {
    margin: 0;
    padding: 16px 18px 18px;
    color: rgba(239, 255, 248, 0.6);
    font-size: 12px;
  }

  .four-d-notes,
  .notes-grid {
    grid-template-columns: 1fr;
  }

  .four-d-notes article {
    min-height: 0;
  }

  .notes-grid article {
    min-height: 220px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 22px;
    align-items: start;
  }

  .filing-links {
    justify-items: start;
  }
}

@media (max-width: 420px) {
  .process-list article {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .process-list h3 {
    font-size: 14px;
  }

  .hero-visual-bottom div:nth-child(2) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
