:root {
  color-scheme: light;
  --ink: #211634;
  --muted: #625972;
  --purple: #6239a2;
  --line: #e8e0ef;
  --paper: #faf8fc;
  font-family: "Inter", "Helvetica Neue", Arial, "PingFang HK", "Microsoft JhengHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 300px; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; }
:focus-visible { outline: 2px solid #9870d2; outline-offset: 5px; }
[hidden] { display: none !important; }
.wrap { width: min(1160px, calc(100% - 112px)); margin-inline: auto; }
.skip { position: fixed; z-index: 5; top: 12px; left: 12px; padding: 12px 18px; color: white; background: var(--ink); transform: translateY(-160%); }
.skip:focus { transform: none; }
.header { background: #fff; }
.header-inner { min-height: 78px; display: flex; align-items: center; gap: 40px; }
.brand { display: inline-flex; align-items: center; gap: 11px; margin-right: auto; }
.brand-mark { display: block; width: 36px; height: 31px; position: relative; overflow: hidden; }
.brand-mark img { width: 50px; max-width: none; position: absolute; top: -1px; left: -7px; }
.brand-name { font-size: 19px; letter-spacing: .16em; font-weight: 800; }
.header-nav { display: flex; align-items: center; gap: 34px; font-size: .94rem; font-weight: 600; }
.header-nav a:hover, .footer a:hover { color: var(--purple); }
.language { position: relative; display: flex; align-items: center; }
.language svg { position: absolute; width: 18px; left: 12px; fill: none; stroke: var(--purple); stroke-width: 1.4; pointer-events: none; }
.language::after { content: ""; position: absolute; right: 14px; top: 16px; width: 6px; height: 6px; border: solid #725590; border-width: 0 1px 1px 0; transform: rotate(45deg); pointer-events: none; }
.language select { appearance: none; color: var(--ink); border: 1px solid var(--line); border-radius: 6px; background: #fff; margin: 0; padding: 10px 32px 10px 36px; cursor: pointer; font-size: .875rem; }
.hero { position: relative; isolation: isolate; color: #fff; overflow: hidden; background: radial-gradient(ellipse at 78% 46%, #332052 0%, #211039 35%, #160c2b 71%); }
.hero-art { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-art canvas { width: 100%; height: 100%; display: block; }
.hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #160c2b 0%, #160c2b75 33%, transparent 68%); }
.hero-inner { min-height: 590px; display: flex; align-items: center; padding-block: 80px 86px; }
.hero-content { max-width: 650px; }
.hero-company { margin: 0 0 26px; color: #ded0f2; font-size: .9rem; letter-spacing: .06em; line-height: 1.5; font-weight: 600; }
.hero h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: clamp(4rem, 6.25vw, 6.15rem); letter-spacing: -.061em; line-height: .99; }
.hero h1 span, .hero h1 em { display: block; }
.hero h1 em { color: #d1b0ff; font-weight: 400; }
:lang(zh-CN) .hero h1, :lang(zh-HK) .hero h1 { font-family: "Songti SC", "Noto Serif CJK TC", "PMingLiU", serif; letter-spacing: .015em; font-size: clamp(3.3rem, 6.1vw, 5.7rem); line-height: 1.14; }
:lang(zh-CN) .hero h1 em, :lang(zh-HK) .hero h1 em { font-style: normal; }
.hero-description { max-width: 445px; margin: 29px 0 32px; color: #e0d7eb; font-size: 1.075rem; line-height: 1.7; }
.button { display: inline-flex; min-height: 48px; align-items: center; padding: 12px 21px; border-radius: 5px; background: #f2e8ff; color: #2d1948; font-size: .925rem; font-weight: 700; transition: background .2s; }
.button:hover { background: #d9baff; }
.services { padding-block: 78px 92px; }
.section-head { display: grid; grid-template-columns: .9fr 1fr; gap: 30px; align-items: end; margin-bottom: 37px; }
.section-head h2, .about h2, .contact h2 { font: 400 clamp(2.65rem, 4.5vw, 4.35rem)/1.02 Georgia, "Times New Roman", serif; letter-spacing: -.045em; margin: 0; }
:lang(zh-CN) h2, :lang(zh-HK) h2 { letter-spacing: .025em; }
.section-head p { color: var(--muted); font-size: 1rem; line-height: 1.6; margin: 0 0 3px; max-width: 365px; }
.service-list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.service { display: flex; flex-direction: column; grid-column: span 2; min-width: 0; border: 1px solid var(--line); background: #fff; border-radius: 8px; transition: border-color .2s, box-shadow .2s; }
.service:nth-child(n+4) { grid-column: span 3; }
.service:hover, .service:focus-within { border-color: #cdb7e6; box-shadow: 0 12px 26px #3e1a6b12; }
.service-art {
  --scene-accent: #b691f6;
  --scene-dark: #281442;
  display: grid;
  height: 122px;
  place-items: center;
  overflow: hidden;
  border-radius: 7px 7px 0 0;
  background-color: #1f1532;
  background-image: radial-gradient(circle at 52% 42%, var(--scene-dark), transparent 70%), radial-gradient(circle, #d8baff40 1px, transparent 1px);
  background-size: auto, 17px 17px;
}
.service:nth-child(2) .service-art { --scene-accent: #d1a5ee; --scene-dark: #451d4c; }
.service:nth-child(3) .service-art { --scene-accent: #a9b8ff; --scene-dark: #252653; }
.service:nth-child(4) .service-art { --scene-accent: #e8a5d8; --scene-dark: #401e4b; }
.service:nth-child(5) .service-art { --scene-accent: #edd1a8; --scene-dark: #423044; }
.service-art svg { width: min(100%, 352px); height: 100%; padding: 12px 14px; fill: none; stroke: var(--scene-accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .45s ease; }
.service:hover .service-art svg, .service:focus-within .service-art svg { transform: scale(1.06); }
.scene-secondary { stroke-opacity: .48; }
.scene-trace { stroke-width: 2; }
.scene-node, .scene-pulse, .scene-spark { fill: var(--scene-accent); stroke: none; }
.scene-pulse, .scene-meridian { transform-box: fill-box; transform-origin: center; }
.scene-bar { fill: var(--scene-accent); fill-opacity: .22; transform-box: fill-box; transform-origin: center bottom; }
.scene-core { fill: var(--scene-accent); fill-opacity: .28; }
.scene-waves { stroke-width: 2; }
.scene-ball circle { fill: var(--scene-dark); }
.scene-moving { visibility: hidden; }
.scene-score { opacity: 0; }
.service-art-playing { animation: service-panel 4.2s ease both; }
.service-art-playing .scene-moving { visibility: visible; }
.service-art-playing .scene-spark { animation: service-travel 2.1s ease-in-out 2; }
.service-art-playing .scene-ball-rest { visibility: hidden; }
.service-art-playing .scene-shot { animation: service-travel 2.1s linear 2; }
.service-art-playing .scene-score { animation: service-score 2.1s linear 2; }
.service-art-playing .scene-meridian { animation: service-globe 2.1s ease-in-out 2; }
.service-art-playing .scene-trace { stroke-dasharray: 1; animation: service-trace .95s ease-out both; }
.service-art-playing .scene-pulse { animation: service-pulse 1.4s .24s ease-in-out 2; }
.service-art-playing .scene-bar { animation: service-grow 1.2s cubic-bezier(.2,.7,.25,1) both; }
.service-art-playing .scene-bar:nth-of-type(2) { animation-delay: .14s; }
.service-art-playing .scene-bar:nth-of-type(3) { animation-delay: .28s; }
.service-art-playing .scene-bar:nth-of-type(4) { animation-delay: .42s; }
.service-art-playing .scene-core { animation: service-chip 1.4s ease-in-out 3; }
.service-art-playing .scene-waves path { animation: service-wave 1.2s ease-in-out 3; }
.service-art-playing .scene-waves path:nth-child(2) { animation-delay: .18s; }
.service-art-playing .scene-waves path:nth-child(3) { animation-delay: .36s; }
@keyframes service-panel { 0%, 100% { background-position: 0 0, 0 0; } 50% { background-position: 0 0, 8px -8px; } }
@keyframes service-trace { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes service-travel { 0%, 100% { opacity: 0; } 10%, 84% { opacity: 1; } }
@keyframes service-globe { 0%, 100% { transform: scaleX(1); } 45% { transform: scaleX(.28); } }
@keyframes service-pulse { 0%, 100% { opacity: .6; transform: scale(1); } 55% { opacity: 1; transform: scale(1.5); } }
@keyframes service-grow { from { transform: scaleY(.14); } to { transform: scaleY(1); } }
@keyframes service-chip { 0%, 100% { fill-opacity: .22; } 45% { fill-opacity: .92; } }
@keyframes service-wave { 0%, 100% { opacity: .38; } 40% { opacity: 1; stroke-width: 3.5; } }
@keyframes service-score { 0%, 71%, 100% { opacity: 0; } 80% { opacity: 1; } 94% { opacity: 0; } }
.service-body { flex: 1; display: flex; flex-direction: column; padding: clamp(17px, 2vw, 25px); }
.service h3 { margin: 0 0 8px; font-size: 1.1rem; line-height: 1.3; }
.service p { margin: 0 0 20px; color: var(--muted); line-height: 1.52; font-size: .975rem; }
.service-controls { position: relative; margin-top: auto; }
.service-details summary, .service-enquire { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 8px 11px; border-radius: 5px; font-size: .875rem; font-weight: 700; line-height: 1.2; }
.service-details summary { list-style: none; cursor: pointer; border: 1px solid #d9c9ec; color: var(--purple); }
.service-details summary:hover { background: #f4ecfc; }
.service-details summary::-webkit-details-marker { display: none; }
.service-details:not([open]) .service-less, .service-details[open] .service-more { display: none; }
.service-enquire { position: absolute; top: 0; right: 0; background: #573388; color: #fff; }
.service-enquire:hover { background: #402367; }
.service-toggle { display: grid; place-items: center; position: relative; width: 12px; height: 12px; }
.service-toggle::before, .service-toggle::after { content: ""; position: absolute; background: currentColor; width: 9px; height: 1px; }
.service-toggle::after { transform: rotate(90deg); transition: transform .2s; }
.service-details[open] .service-toggle::after { transform: rotate(0); }
.service ul { margin: 14px 0 0; padding: 14px 0 0 18px; border-top: 1px solid var(--line); color: var(--muted); line-height: 1.55; font-size: .95rem; }
.service li + li { margin-top: 6px; }
.client-work { padding-block: 76px 86px; border-top: 1px solid var(--line); background: #fff; }
.client-work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.client-case { padding: clamp(22px, 3vw, 36px); border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.client-case .client-sector { margin: 0 0 11px; color: var(--purple); font-size: .875rem; font-weight: 700; }
.client-case h3 { margin: 0; font-size: clamp(1.35rem, 2.3vw, 2rem); line-height: 1.2; }
.client-case p { margin: 13px 0 0; color: var(--muted); line-height: 1.65; }
.about { padding-block: 76px; background: #f0e9f7; }
.about-inner { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(32px, 9vw, 130px); align-items: center; }
.about-brand { min-height: 315px; border-radius: 8px; display: grid; place-items: center; background: radial-gradient(ellipse at center, #fff 2%, #faf5ff 55%, #e9dbf5 100%); border: 1px solid #e2d5ed; }
.about-brand img { width: min(60%, 220px); height: auto; }
.about-copy p { line-height: 1.72; font-size: 1rem; color: var(--muted); margin: 20px 0 0; }
.contact { padding-block: 60px; color: #fff; background: #211039; }
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.contact p { margin: 14px 0 0; color: #e0d7eb; line-height: 1.6; }
.contact-email { display: inline-block; max-width: 100%; color: #f2e8ff; font-size: clamp(1.125rem, 2.4vw, 1.6rem); font-weight: 600; text-decoration: underline; text-underline-offset: .25em; overflow-wrap: anywhere; }
.contact-email:hover { color: #d1b0ff; }
.contact-locations { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 32px; }
.contact-office { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: clamp(19px, 3vw, 30px); border: 1px solid #6c548699; border-radius: 8px; background: #ffffff08; }
.contact-office .contact-label { display: flex; flex-wrap: wrap; gap: 0 10px; margin: 0 0 7px; color: #d1b0ff; font-size: .875rem; font-weight: 700; }
.contact-office h3 { margin: 0 0 14px; font-size: 1.125rem; line-height: 1.4; }
.contact-address { display: grid; gap: 10px; margin: 0 0 19px; color: #f2e8ff; font-size: 1rem; font-style: normal; line-height: 1.55; }
.contact-address span { display: block; }
html:lang(en) .contact-label > [lang="en"], html:lang(en) .contact-address > [lang="en"] { order: -1; }
.contact-map { display: inline-flex; align-items: center; min-height: 44px; margin-top: auto; padding: 8px 13px; border: 1px solid #af92cb; border-radius: 6px; color: #f2e8ff; font-size: .9rem; font-weight: 600; }
.contact-map:hover { color: #fff; background: #ffffff17; }
html:lang(en) .contact-map [lang="zh-Hant-HK"], html:not(:lang(en)) .contact-map [lang="en"] { display: none; }

.footer { background: #fff; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 88px; color: var(--muted); font-size: .88rem; }
.footer p { margin: 0; }
.footer a { flex: none; font-weight: 600; }
@media (max-width: 900px) {
  .wrap { width: calc(100% - 64px); }
  .service, .service:nth-child(n+4) { grid-column: span 3; }
  .service:last-child { grid-column: 1 / -1; }
  .hero-inner { min-height: 535px; }
  .hero h1 { font-size: clamp(3.8rem, 8.8vw, 6rem); }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 38px); }
  .header-inner { min-height: 66px; flex-wrap: wrap; gap: 0 14px; padding-top: 12px; }
  .brand { margin-right: auto; }
  .header-nav { order: 3; flex: 0 0 100%; border-top: 1px solid var(--line); margin-top: 9px; min-height: 45px; flex-wrap: wrap; gap: 8px clamp(9px, 3vw, 24px); padding-block: 9px; font-size: .85rem; }
  .brand-name { font-size: 17px; }
  .language select { padding-top: 8px; padding-bottom: 8px; }
  .language::after { top: 13px; }
  .hero-inner { min-height: 554px; padding-block: 65px 140px; }
  .hero h1 { font-size: clamp(3.05rem, 11vw, 4.9rem); }
  .hero-company { margin-bottom: 22px; font-size: .8rem; }
  .hero-description { font-size: 1rem; margin: 22px 0 25px; }
  .hero-art::after { background: linear-gradient(138deg, #160c2b 5%, #160c2baa 39%, transparent 77%); }
  .services { padding-block: 58px 63px; }
  .section-head, .about-inner { grid-template-columns: 1fr; gap: 15px; }
  .section-head { margin-bottom: 24px; }
  .service, .service:nth-child(n+4) { grid-column: 1 / -1; }
  .service-art { height: 108px; }
  .client-work { padding-block: 52px; }
  .client-work-grid { grid-template-columns: 1fr; }
  .about { padding-block: 50px; }
  .about-copy { order: -1; margin-bottom: 13px; }
  .about-brand { min-height: 250px; }
  .contact { padding-block: 45px; }
  .contact-inner { flex-direction: column; align-items: flex-start; gap: 18px; }
  .contact-locations { grid-template-columns: 1fr; gap: 12px; margin-top: 26px; }
  .footer-inner { padding-block: 19px; align-items: flex-start; flex-direction: column; gap: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.enquiry-form { margin-top: 34px; padding: clamp(20px, 4vw, 40px); border: 1px solid #6c548699; border-radius: 8px; background: #ffffff08; }
.enquiry-form h3 { margin: 0 0 24px; font-size: 1.35rem; }
.enquiry-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.enquiry-field { display: grid; min-width: 0; gap: 7px; }
.enquiry-field-full { grid-column: 1 / -1; }
.enquiry-field label { color: #f2e8ff; font-size: .95rem; font-weight: 600; }
.enquiry-field input, .enquiry-field select, .enquiry-field textarea { width: 100%; min-height: 47px; padding: 10px 13px; border: 1px solid #8b73a3; border-radius: 5px; background: #251540; color: #fff; font: inherit; }
.enquiry-field textarea { min-height: 120px; resize: vertical; }
.enquiry-field input::placeholder, .enquiry-field textarea::placeholder { color: #c7b8d6; }
.enquiry-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; margin-top: 21px; }
.enquiry-actions .button { border: 0; cursor: pointer; }
.enquiry-actions .button:disabled { opacity: .7; cursor: wait; }
.enquiry-actions p, .contact .enquiry-status { margin: 0; font-size: .9rem; }
.contact .enquiry-status:not(:empty) { margin-top: 16px; }
.enquiry-status[data-state="error"] { color: #ffbecd; }
@media (max-width: 600px) {
  .enquiry-grid { grid-template-columns: 1fr; gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .service-art, .service-art svg, .service-art svg * { animation: none !important; transform: none !important; }
  .service-art-playing .scene-moving { visibility: hidden; }
  .service-art-playing .scene-ball-rest { visibility: visible; }
}

.enquiry-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
