:root {
  color-scheme: dark;
  --ink: #070b12;
  --surface: #0e1622;
  --blue: #588eff;
  --red: #e95269;
  --text: #f0f3fa;
  --muted: #8e9aaf;
  --line: #ffffff20;
  --header: 76px;
  --gutter: clamp(28px, 4vw, 76px);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  color: var(--text);
  background: var(--ink);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-snap-type: y proximity; }
body { margin: 0; min-width: 320px; }
body.menu-open, body.dialog-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; border: 0; padding: 0; background: none; cursor: pointer; }
a, button { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 2px solid #99bbff; outline-offset: 6px; }
section:focus { outline: none; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
::selection { background: #2e5dad; color: white; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; background: #244e98; padding: 14px 24px; transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.brand-full, .brand-type, .brand-symbol { display: block; position: relative; overflow: hidden; flex-shrink: 0; }
.brand-full img, .brand-type img, .brand-symbol img { position: absolute; height: auto; max-width: none; }
/* Original user-supplied PNGs, framed around their transparent margins. */
.brand-full { width: 108px; aspect-ratio: 1647 / 733; }
.brand-full img { width: 107.71099%; left: -4.00728%; top: -11.86903%; }
.brand-type { aspect-ratio: 985 / 340; }
.brand-type img { width: 180.1015%; left: -40.1015%; top: -80.5882%; }
.brand-symbol { aspect-ratio: 625 / 733; }
.brand-symbol img { width: 283.84%; left: -92%; top: -10.5048%; }

#site-header { position: fixed; z-index: 40; inset: 0 0 auto; height: var(--header); padding: 0 var(--gutter); display: flex; align-items: center; border-bottom: 1px solid transparent; transition: background .35s, border-color .35s; }
body:not([data-page="home"]) #site-header, .menu-open #site-header { background: #090f19f5; border-color: var(--line); }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: clamp(44px, 5vw, 88px); }
.site-nav a { position: relative; display: grid; align-items: center; height: var(--header); font-size: 13px; color: #b7c1d3; white-space: nowrap; transition: color .2s; }
.site-nav a:hover, .site-nav a[aria-current] { color: white; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; bottom: 0; background: var(--blue); transform: scaleX(0); transition: transform .25s; }
.site-nav a[aria-current]::after { transform: scaleX(1); }
.header-actions { margin-left: clamp(28px, 4vw, 60px); display: flex; align-items: center; gap: 12px; }
#language-toggle { font-size: 11px; min-width: 52px; height: 32px; border-left: 1px solid var(--line); letter-spacing: .1em; }
#menu-toggle { display: none; width: 44px; height: 44px; padding: 12px 8px; }
#menu-toggle span { display: block; width: 27px; height: 1px; background: white; margin: 6px 0; transition: transform .2s; }
#menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
#menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
#site-menu { position: fixed; inset: 0; z-index: 35; background: #0c1421; padding: calc(var(--header) + 42px) var(--gutter) 40px; visibility: hidden; opacity: 0; overflow-y: auto; overscroll-behavior: contain; transition: opacity .2s, visibility .2s; }
#site-menu.is-open { visibility: visible; opacity: 1; }
#site-menu nav { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
#site-menu nav a, #site-menu nav button { font-size: 28px; padding: 12px 0; }
#site-menu nav a[aria-current] { color: var(--blue); }
.menu-signature { display: block; color: var(--muted); font-size: 11px; margin-top: 60px; }
.page-nav { position: fixed; right: 26px; top: 50%; translate: 0 -50%; z-index: 20; display: flex; flex-direction: column; }
.page-nav a { display: grid; place-items: center; width: 38px; height: 38px; }
.page-nav span { width: 5px; height: 5px; border-radius: 50%; background: #79859a; position: relative; transition: background .25s; }
.page-nav span::before { content: ""; position: absolute; inset: -6px; border: 1px solid transparent; border-radius: 50%; transition: border-color .25s; }
.page-nav a[aria-current] span { background: var(--blue); }
.page-nav a[aria-current] span::before { border-color: #588eff7a; }

.page { position: relative; min-height: 100svh; scroll-snap-align: start; isolation: isolate; overflow: clip; }
.hero { display: grid; place-items: center; min-height: max(640px, 100svh); padding: 140px 90px 165px; background: #070c16; }
.hero-atmosphere { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-glow { position: absolute; inset: 0; background: radial-gradient(ellipse at 57% 57%, #162c50 0%, #0a1528 42%, #070b12 75%); }
.hero-watermark { position: absolute; width: min(790px, 71vw); right: -10%; top: 50%; translate: 0 -50%; opacity: .035; rotate: -12deg; }
.hero-horizon { position: absolute; bottom: 0; left: 0; right: 0; height: 32%; background: linear-gradient(180deg, transparent, #07111e); }
.hero-horizon::after { content: ""; position: absolute; bottom: 0; left: 32%; width: 36%; height: 1px; background: linear-gradient(90deg, transparent, #6b95df50, transparent); }
.hero-content { text-align: center; }
#hero-title { margin: 0; text-align: left; display: inline-flex; flex-direction: column; font-size: clamp(52px, 6.5vw, 92px); font-weight: 700; letter-spacing: .045em; line-height: 1.36; }
#hero-title > span { display: block; }
#hero-title em { font-style: normal; color: #78b8f3; }
body[data-lang="en"] #hero-title { font-size: clamp(46px, 5.2vw, 80px); letter-spacing: -.03em; line-height: 1.13; }
.film-button { display: flex; justify-content: center; align-items: center; gap: 15px; height: 48px; width: 146px; margin: 42px auto 0; border: 1px solid #99acc166; font-size: 12px; letter-spacing: .07em; transition: background .25s, border-color .25s; }
.play-icon { width: 0; height: 0; border-left: 7px solid #d9e5f7; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.film-button:hover { border-color: #88b0ed; background: #406cba18; }
.film-button:hover .play-icon { border-left-color: var(--red); }
.scroll-cue { position: absolute; left: calc(50% - 22px); bottom: 54px; width: 44px; min-height: 58px; display: flex; flex-direction: column; align-items: center; gap: 15px; }
.mouse-icon { width: 14px; height: 23px; border: 1px solid #b1bdcf; border-radius: 9px; position: relative; }
.mouse-icon::before { content: ""; position: absolute; width: 2px; height: 5px; background: var(--red); left: 5px; top: 4px; }
.down-arrow { width: 1px; height: 18px; background: #9eabc0; position: relative; display: block; }
.down-arrow::after { content: ""; position: absolute; bottom: 0; left: -3px; width: 6px; height: 6px; border-right: 1px solid #9eabc0; border-bottom: 1px solid #9eabc0; rotate: 45deg; }
.hero-signature { position: absolute; bottom: 34px; left: var(--gutter); color: #708097; font-size: 9px; letter-spacing: .22em; }
@keyframes page-enter { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
.hero-content { animation: page-enter .9s ease-out both; }
.hero-content .film-button { animation: page-enter .9s .15s ease-out both; }

.projects-page, .about-page { padding: 120px max(8.5vw, 72px) 96px; background-color: #0b111c; background-image: linear-gradient(#718fbd05 1px, transparent 1px), linear-gradient(90deg, #718fbd05 1px, transparent 1px); background-size: 24px 24px; }
.section-heading { display: flex; align-items: center; gap: 17px; max-width: 1440px; margin: 0 auto; }
.section-heading h2 { margin: 0; font-size: 17px; font-weight: 500; letter-spacing: .1em; color: #d3dded; }
.section-rule { width: 24px; height: 2px; background: var(--blue); }
.projects-page { padding-top: 110px; padding-bottom: 60px; }
.project-layout { width: 100%; max-width: 1440px; margin: 40px auto 0; display: grid; grid-template-columns: 1.65fr 1fr; gap: clamp(38px, 5vw, 90px); align-items: center; }
.project-showcase { min-width: 0; }
.project-stage { position: relative; width: 100%; min-height: 260px; height: clamp(260px, calc(100svh - 420px), 500px); background: #101e33; isolation: isolate; }
.stage-frame { position: absolute; inset: -12px 14px 14px -12px; z-index: -1; border: 1px solid #4055794a; }
.project-stage::before { content: ""; position: absolute; top: 0; right: -9px; width: 4px; height: 28px; background: var(--red); }
.project-stage::after { content: ""; position: absolute; right: 0; bottom: 0; width: 18px; height: 18px; background: #0b111c; clip-path: polygon(100% 0, 100% 100%, 0 100%); }
#project-art { position: absolute; inset: 0; }
#project-art img { width: 100%; height: 100%; object-fit: cover; }
#project-art:not(:empty) + .stage-empty { display: none; }
.stage-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px; background: linear-gradient(135deg, #15263e, #0c1829); }
.stage-empty .brand-type { width: 48%; opacity: .24; }
.stage-empty > span:last-child { font-size: 11px; letter-spacing: .14em; color: #8295b0; }
.project-copy { padding-bottom: 15px; min-width: 0; }
.project-status { font-size: 11px; color: #89adeb; letter-spacing: .08em; }
#project-title { font-size: clamp(29px, 3vw, 48px); line-height: 1.3; margin: 20px 0 25px; font-weight: 500; }
#project-description { color: #a0aec4; font-size: 14px; line-height: 2; margin: 0 0 36px; max-width: 360px; }
.outline-button { width: 152px; min-height: 44px; display: flex; align-items: center; justify-content: space-between; padding: 10px 20px; border: 1px solid #61738e; font-size: 12px; color: #d2dfef; transition: background .2s, border-color .2s; }
.outline-button:hover { border-color: #8cacf0; background: #4878d514; }
.outline-button span:last-child { font-size: 17px; }
.project-switcher { max-width: 1440px; margin: 24px auto 0; display: grid; grid-template-columns: 1.65fr 1fr; gap: clamp(38px, 5vw, 90px); align-items: center; }
#project-tabs { display: flex; gap: 10px; min-width: 0; }
[data-project-tab] { min-height: 54px; flex: 1; padding: 12px 10px; font-size: 11px; border: 1px solid #2e3a4d; color: #8b9cb5; transition: color .2s, border-color .2s, background .2s; }
[data-project-tab][aria-selected="true"] { color: #e1ebff; border-color: #527fc9; background: #14233b; }
[data-project-tab]:hover { color: white; border-color: #6c8fcb; }
#project-index { color: #8392a9; font-size: 11px; letter-spacing: .13em; }
.side-signature { position: absolute; left: 29px; top: 43%; writing-mode: vertical-rl; font-size: 9px; letter-spacing: .17em; color: #70809a; }
.section-next { position: absolute; right: 33px; bottom: 36px; display: grid; place-items: center; width: 30px; height: 44px; }

.about-page { background-color: #0a1019; padding-top: 110px; padding-bottom: 60px; }
.about-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 0; margin: 22px auto 40px; }
.about-tabs button { min-height: 40px; min-width: 148px; padding: 10px 24px; font-size: 12px; color: #8f9cb1; position: relative; }
.about-tabs button + button { border-left: 1px solid #30405a; }
.about-tabs button[aria-selected="true"] { color: #fff; background: #284c83; }
.about-panels { position: relative; z-index: 1; width: min(900px, 100%); margin: 0 auto; min-height: 320px; }
.vision { margin: 0 0 40px; }
.vision-label { margin: 0 0 18px; color: #aab9cd; font-size: 13px; letter-spacing: .03em; }
.vision h3 { display: flex; flex-direction: column; gap: 6px; font-size: clamp(32px, 3.5vw, 53px); font-weight: 400; letter-spacing: .035em; line-height: 1.5; margin: 0; color: #bfd6ef; }
.vision h3 span:last-child { color: #72a5e9; }
.about-description { max-width: 650px; }
.about-description h4 { margin: 0 0 18px; color: #e0e7f2; font-size: 17px; font-weight: 500; }
.about-description p { margin: 0 0 14px; font-size: 14px; line-height: 2; color: #94a3ba; }
.text-link { min-height: 44px; display: inline-flex; align-items: center; gap: 30px; font-size: 12px; color: #96b9ed; }
.text-link:hover { color: white; }
.about-watermark { width: 300px; position: absolute; bottom: 30px; right: 9%; opacity: .026; z-index: -1; }

.site-footer { position: relative; display: flex; gap: 70px; align-items: center; background: #06090f; padding: 50px max(8.5vw, 72px); scroll-snap-align: end; }
.site-footer .brand-full { width: 144px; opacity: .8; }
.footer-information { flex: 1; }
.footer-links, .footer-socials { display: flex; flex-wrap: wrap; align-items: center; column-gap: 24px; }
.footer-links button, .footer-socials button { min-height: 35px; font-size: 11px; color: #9aa7bb; }
.footer-links button:hover, .footer-socials button:hover { color: white; }
.footer-socials { margin-top: 5px; gap: 22px; }
.footer-socials button { color: #7085a0; }
.footer-information > p { font-size: 10px; color: #66768c; margin: 20px 0 0; }
.footer-top { min-width: 40px; height: 44px; display: grid; place-items: center; color: #94a4ba; font-size: 23px; }
.noscript-note { margin: 0; padding: 20px; color: #aab9cf; font-size: 13px; }

#content-dialog { width: min(720px, calc(100% - 40px)); max-height: 86svh; padding: 0; border: 1px solid #2c3d56; background: var(--surface); color: var(--text); margin: auto; overscroll-behavior: contain; scrollbar-color: #354465 transparent; }
#content-dialog::backdrop { background: #02050ce6; backdrop-filter: blur(9px); }
#content-dialog[open] { animation: page-enter .2s ease-out; }
.dialog-shell { padding: 24px 44px 44px; }
.dialog-top { display: flex; align-items: center; justify-content: space-between; min-height: 44px; gap: 20px; }
#dialog-kicker { font-size: 11px; color: #94a7c6; }
.dialog-close { margin-left: auto; margin-right: -12px; width: 44px; height: 44px; font-size: 28px; font-weight: 300; color: #bac9df; }
.dialog-close:hover { color: var(--red); }
#dialog-title { margin: 20px 0 28px; font-size: 28px; font-weight: 500; line-height: 1.4; overflow-wrap: anywhere; }
#dialog-content { font-size: 14px; line-height: 1.9; color: #aebdd1; }
#dialog-content p { margin: 0 0 18px; overflow-wrap: anywhere; }
#dialog-content p:last-child { margin-bottom: 0; }
.dialog-back { display: block; padding: 7px 0; margin: -10px 0 22px; min-height: 44px; color: #9fbfee; font-size: 12px; }
.dialog-back::before { content: "←"; margin-right: 9px; }
.dialog-list-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 18px 0; border-top: 1px solid var(--line); text-align: left; font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
.dialog-list-item:hover { color: #fff; }
.dialog-item-meta { color: #8e9aaf; font-size: 11px; }
.dialog-subnav { margin-top: 28px; }
.dialog-note { padding: 12px 16px; border-left: 2px solid #497cd0; background: #132039; font-size: 13px; }
.dialog-media { width: 100%; height: auto; margin-bottom: 24px; }
.dialog-empty { padding: 12px 0; }

@media (min-width: 1600px) {
  .project-layout { margin-top: 60px; }
  .project-stage { max-height: 500px; }
  .about-tabs { margin-bottom: 80px; }
}
@media (max-width: 1050px) {
  .projects-page, .about-page { padding-left: 70px; padding-right: 70px; }
  .project-layout, .project-switcher { gap: 36px; grid-template-columns: 1.4fr 1fr; }
  .project-stage { min-height: 280px; }
  #project-title { font-size: 30px; }
  .page-nav { right: 10px; }
  .side-signature { left: 22px; }
  .about-tabs button { min-width: 130px; }
  .site-footer { padding-left: 70px; padding-right: 60px; gap: 44px; }
}
@media (max-width: 760px) {
  :root { --header: 72px; --gutter: 24px; }
  html { scroll-snap-type: none; }
  .site-nav, .page-nav { display: none; }
  .header-actions { margin-left: auto; gap: 2px; }
  #menu-toggle { display: block; }
  #language-toggle { border: 0; min-width: 40px; }
  .brand-full { width: 103px; }
  .hero { min-height: max(640px, 100svh); padding: 140px 24px 155px; }
  #hero-title { font-size: clamp(42px, 9vw, 62px); }
  body[data-lang="en"] #hero-title { font-size: clamp(39px, 8.5vw, 58px); }
  .hero-watermark { width: 640px; right: -350px; }
  .film-button { margin-top: 36px; width: 136px; height: 46px; font-size: 11px; }
  .hero-signature { bottom: 24px; font-size: 8px; }
  .scroll-cue { bottom: 64px; }
  .projects-page, .about-page { padding: 104px 28px 75px; min-height: 100svh; }
  .section-heading { gap: 12px; }
  .section-heading h2 { font-size: 15px; }
  .section-rule { width: 18px; }
  .project-layout { display: flex; flex-direction: column; align-items: stretch; gap: 36px; margin-top: 37px; }
  .project-stage { min-height: 230px; height: auto; aspect-ratio: 16 / 10; }
  .project-copy { padding: 0; }
  #project-title { font-size: 29px; margin: 12px 0 16px; }
  #project-description { max-width: none; font-size: 13px; margin-bottom: 24px; }
  .project-status { font-size: 10px; }
  .project-switcher { display: flex; gap: 18px; flex-direction: column; align-items: stretch; margin-top: 32px; }
  #project-tabs { gap: 8px; }
  [data-project-tab] { font-size: 10px; min-height: 48px; padding: 10px 4px; }
  #project-index { text-align: right; font-size: 10px; }
  .side-signature, .section-next { display: none; }
  .about-tabs { margin: 30px 0 44px; justify-content: flex-start; }
  .about-tabs button { flex: 1; min-width: 0; padding: 10px 8px; font-size: 11px; }
  .about-panels { min-height: 425px; }
  .vision { margin-bottom: 46px; }
  .vision-label { font-size: 11px; margin-bottom: 16px; }
  .vision h3 { font-size: clamp(25px, 6.5vw, 34px); letter-spacing: 0; }
  .about-description h4 { font-size: 15px; }
  .about-description p { font-size: 13px; }
  .about-watermark { width: 240px; right: -60px; }
  .site-footer { padding: 42px 28px 30px; flex-direction: column; align-items: flex-start; gap: 24px; }
  .site-footer .brand-full { width: 112px; }
  .footer-links { column-gap: 19px; }
  .footer-top { position: absolute; right: 25px; top: 40px; }
  .dialog-shell { padding: 16px 24px 32px; }
  #dialog-title { font-size: 24px; }
  #content-dialog { width: calc(100% - 28px); }
}
@media (max-height: 620px) and (min-width: 761px) {
  .hero { min-height: 620px; }
  .projects-page, .about-page { min-height: 760px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; scroll-snap-type: none; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
