@charset "utf-8";
:root {
  color-scheme: dark;
  --bg: #080910; --surface: #0e111c; --text: #f4f6ff; --muted: #a7afc4;
  --blue: #849bff; --yellow: #f4da85; --line: #242938;
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  scroll-padding-top: 88px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--text); background: var(--bg); }
a { color: inherit; text-decoration: none; }
button, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 4px; }
.shell { width: min(1248px, calc(100% - 112px)); margin-inline: auto; }
.skip { position: fixed; top: 12px; left: 12px; transform: translateY(-200%); z-index: 10; padding: 12px; background: var(--surface); }
.skip:focus { transform: none; }
.site-header { position: sticky; z-index: 4; top: 0; background: #080910eb; backdrop-filter: blur(16px); border-bottom: 1px solid #1c2030; }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }
.brand { display: inline-flex; gap: 13px; align-items: center; font-weight: 750; letter-spacing: .12em; line-height: 1.15; white-space: nowrap; }
.brand small { display: block; margin-top: 5px; color: #a4adc8; font: 9px/1.1 ui-monospace, Consolas, monospace; letter-spacing: .13em; }
.brand-mark { position: relative; display: inline-block; width: 34px; height: 34px; border: 1px solid #879fff; border-radius: 9px; background: #263687; box-shadow: inset 0 0 15px #8296ff69, 0 0 22px #576eff37; }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; inset: 8px 9px; border: 1px solid #eef1ff; transform: skewX(-21deg); }
.brand-mark::after { inset: 12px 8px 5px 14px; border-left: none; border-bottom: none; opacity: .58; }
nav { display: flex; gap: clamp(24px, 4vw, 60px); align-items: center; font-size: 14px; color: #c8cede; }
nav a { padding: 14px 0; }
nav a:hover, footer a:hover, .service a:hover { color: var(--blue); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 46px; padding: 0 19px; border: 1px solid transparent; border-radius: 7px; font-size: 14px; font-weight: 700; white-space: nowrap; }
.button-outline, .button-ghost { border-color: #343c56; color: var(--text); background: #0f14248c; }
.button-primary { background: #8aa0ff; color: #080d24; box-shadow: 0 8px 26px #536bff35; }
.button-primary:hover { background: #a8b8ff; }
.button-outline:hover, .button-ghost:hover { background: #1c2542; border-color: #839bff; }
.menu { display: none; }
.hero { position: relative; overflow: hidden; background: radial-gradient(ellipse at 73% 70%, #111c47 0, #0c1022 35%, #080910 70%); border-bottom: 1px solid #282e42; }
.hero-mesh { position: absolute; inset: 0; display: block; width: 100%; height: 100%; pointer-events: none; opacity: .78; mask-image: linear-gradient(90deg, #0009, #000 45%, #000d); }
.hero-inner { position: relative; min-height: min(665px, calc(100svh - 76px)); display: grid; align-items: center; padding-block: 105px 132px; isolation: isolate; }
.hero-copy { position: relative; z-index: 1; width: fit-content; pointer-events: none; }
.hero-copy a { pointer-events: auto; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 17px; color: var(--blue); font: 600 11px/1.5 ui-monospace, "Microsoft YaHei", monospace; letter-spacing: .19em; }
.eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 14px #ffdf786c; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 24px; font-size: clamp(51px, 6.6vw, 105px); line-height: 1.095; letter-spacing: -.075em; font-weight: 800; }
h1 em { font-style: normal; color: #a1b5ff; background: linear-gradient(105deg, #f5f7ff -5%, #96afff 61%, #ac9afc); background-clip: text; -webkit-text-fill-color: transparent; }
.hero-summary { margin: 0; color: #bcc4da; font-size: clamp(14px, 1.25vw, 17px); line-height: 1.95; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.triangle { width: 0; height: 0; border-block: 5px solid transparent; border-left: 8px solid currentColor; }
.hero-art { position: absolute; z-index: 0; inset: 0 -10% 0 35%; background: radial-gradient(ellipse at 56% 53%, #5a69ff22, transparent 62%); }
.hero-art canvas { display: block; width: 100%; height: 100%; touch-action: pan-y pinch-zoom; }
.hero-foot { display: flex; position: absolute; z-index: 1; bottom: 0; inset-inline: 0; padding: 24px 0; justify-content: space-between; align-items: center; border-top: 1px solid #a8b8ff25; color: #9da9c8; font-size: 11px; letter-spacing: .12em; }
.hero-foot a span { color: var(--yellow); margin-right: 7px; }
.hero-index { font-family: ui-monospace, Consolas, monospace; }
.section { padding-block: clamp(64px, 8vw, 106px); }
.section-title { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin-bottom: 29px; }
.section-title p:last-child { margin: 0 0 4px; color: var(--muted); font-size: 14px; line-height: 1.7; }
h2 { margin-bottom: 0; font-size: clamp(31px, 4.1vw, 58px); line-height: 1.12; letter-spacing: -.045em; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 21px; }
.filters button { padding: 0 15px; min-height: 44px; border: 1px solid var(--line); background: #0e111b; color: var(--muted); border-radius: 6px; font-size: 13px; }
.filters button:hover, .filters [aria-pressed="true"] { border-color: #627ac9; color: #e8edff; background: #202c53; }
.film-grid, .service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.film, .gallery-tile { min-width: 0; display: block; width: 100%; padding: 0; text-align: left; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--text); }
.film:hover, .gallery-tile:hover { border-color: #6980d0; }
.film-media, .gallery-media { position: relative; display: block; overflow: hidden; background: #141a33; }
.film-media { aspect-ratio: 16/9; }
.film-media img, .gallery-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.play { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid #dfe7ff7d; border-radius: 50%; background: #10182bbd; backdrop-filter: blur(4px); }
.film:hover .play { color: #0a1026; background: #a6b8ff; }
.play .triangle { margin-left: 3px; }
.film-copy { display: grid; gap: 9px; padding: 17px 19px 19px; }
.film-tag { color: var(--blue); font-size: 11px; letter-spacing: .07em; }
.film-title { display: flex; justify-content: space-between; gap: 10px; align-items: center; font-size: 17px; font-weight: 720; }
.film-title span { color: var(--muted); font-weight: 400; }
.gallery-section { background: #0c0e17; border-block: 1px solid #1e2434; }
.gallery-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 16px; }
.gallery-tile { position: relative; }
.gallery-media { aspect-ratio: 4/3; }
.gallery-tile:first-child .gallery-media { aspect-ratio: auto; height: 100%; min-height: 100%; }
.gallery-label { position: absolute; inset: auto 0 0; padding: 33px 16px 15px; display: flex; justify-content: space-between; gap: 8px; background: linear-gradient(transparent, #060811ec); color: #f3f6ff; font-size: 14px; font-weight: 650; }
.service { display: flex; flex-direction: column; align-items: flex-start; min-height: 230px; background: linear-gradient(145deg, #151a2c, #0d101b 70%); border: 1px solid var(--line); border-radius: 10px; padding: 26px; }
.service-index { font: 11px ui-monospace, Consolas, monospace; letter-spacing: .1em; color: var(--blue); }
.service h3 { margin: 22px 0 10px; font-size: 23px; }
.service p, .contact-intro > p:last-of-type { color: var(--muted); margin-bottom: 18px; font-size: 14px; line-height: 1.8; }
.service a { margin-top: auto; display: inline-flex; align-items: center; min-height: 44px; gap: 10px; font-size: 13px; font-weight: 650; }
.contact { padding-top: 0; }
.contact-panel { display: grid; grid-template-columns: .95fr 1fr; align-items: start; gap: 46px; padding: clamp(22px, 5vw, 62px); border: 1px solid #394674; border-radius: 15px; background: radial-gradient(ellipse at top left, #202d59, #101522 60%); }
.contact-intro h2 { margin-bottom: 16px; }
.contact-email { color: var(--blue); text-decoration: underline; overflow-wrap: anywhere; }
form { display: grid; gap: 10px; min-width: 0; }
form label { font-size: 13px; color: #dae1f7; }
select, textarea { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #697593; border-radius: 6px; background: #0b101f; color: var(--text); font-size: 16px; }
textarea { resize: vertical; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.form-note, .status { color: #b3bfdc; font-size: 12px; line-height: 1.6; margin: 0; }
.status:empty { display: none; }
footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 90px; font-size: 13px; color: var(--muted); }
.footer-inner .brand { color: var(--text); }
dialog { width: min(920px, calc(100% - 28px)); max-height: calc(100% - 28px); padding: 0; overflow: auto; background: #101421; color: var(--text); border: 1px solid #424e73; border-radius: 12px; }
dialog::backdrop { background: #040509d9; backdrop-filter: blur(8px); }
.viewer-head, .viewer-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 16px; }
.viewer-head h2 { font-size: clamp(17px, 3vw, 24px); }
.viewer-head button, .viewer-foot button { width: 44px; height: 44px; background: #202945; border: 1px solid #5c6c9d; color: var(--text); border-radius: 7px; font-size: 22px; }
.viewer-foot p { margin: 0; color: var(--muted); font-size: 13px; }
#viewer-media { background: #080910; }
#viewer-media :is(img, video) { width: 100%; max-height: 68dvh; display: block; object-fit: contain; }
#gallery-controls { display: flex; align-items: center; gap: 9px; white-space: nowrap; font: 12px ui-monospace, Consolas, monospace; }
@media (prefers-reduced-motion: no-preference) {
  :root { scroll-behavior: smooth; }
  .film-media img, .gallery-media img { transition: transform .55s cubic-bezier(.2,.7,.25,1); }
  .film:hover img, .gallery-tile:hover img { transform: scale(1.055); }
  .button, .play, .film, .gallery-tile, .filters button { transition: background .2s, border-color .2s, color .2s; }
  .observe .reveal { opacity: 0; transform: translateY(16px); transition: opacity .58s, transform .58s; }
  .observe .reveal.visible { opacity: 1; transform: none; }
}
@media (max-width: 900px) {
  .shell { width: calc(100% - 56px); }
  .hero-inner { min-height: 600px; }
  .hero-art { inset-inline: 30% -21%; opacity: .82; }
  .film-grid, .service-grid { gap: 12px; }
  .service { padding: 18px; }
}
@media (max-width: 650px) {
  .shell { width: calc(100% - 36px); }
  .header-inner { min-height: 65px; gap: 12px; }
  .header-cta { margin-left: auto; order: 1; }
  .header-cta span { display: none; }
  .menu { display: block; order: 2; min-height: 44px; padding: 0 10px; border: 1px solid #343c56; border-radius: 7px; background: #0f1424; color: var(--text); font-size: 13px; }
  nav { display: none; position: absolute; z-index: 5; inset: 100% 0 auto; background: #0c101e; padding: 5px 18px; border-bottom: 1px solid var(--line); justify-content: space-between; gap: 8px; }
  nav.open { display: flex; }
  .hero-inner { min-height: 610px; align-items: start; padding-block: 78px 135px; }
  .hero-art { inset: 23% -36% 0 -8%; opacity: .66; mask-image: linear-gradient(transparent, #000 40%); }
  h1 { font-size: clamp(38px, 10.4vw, 68px); }
  .hero-foot { padding: 17px 0; }
  .hero-index { font-size: 9px; }
  .section-title { align-items: start; flex-direction: column; gap: 11px; }
  .section-title .eyebrow { margin-bottom: 9px; }
  .film-grid, .service-grid, .contact-panel { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gallery-tile:first-child { grid-column: span 2; }
  .gallery-tile:first-child .gallery-media { min-height: auto; height: auto; aspect-ratio: 16/9; }
  .contact-panel { gap: 12px; }
}
@media (max-width: 355px) {
  .brand { gap: 7px; }
  .brand small { font-size: 8px; }
  .brand-mark { width: 28px; height: 28px; }
  .header-cta { padding-inline: 9px; }
  .hero-inner { min-height: 560px; }
  .filters { gap: 5px; }
  .filters button { padding-inline: 9px; }
}
