@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/fonts/raleway-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --yellow: #fddb3a;
  --yellow-600: #f2c80f;
  --ink: #141414;
  --ink-2: #1e1e1e;
  --ink-3: #2a2a2a;
  --text: #24262b;
  --muted: #5f6570;
  --line: #e6e4dc;
  --bg: #ffffff;
  --tint: #f7f5ee;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgb(20 20 20 / .04), 0 8px 24px rgb(20 20 20 / .06);
  --wrap: 1200px;
  --font: 'Raleway', system-ui, -apple-system, 'Segoe UI', Roboto, 'PingFang HK', 'Noto Sans TC', 'Microsoft JhengHei', sans-serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.65; font-size: 1.0625rem; -webkit-font-smoothing: antialiased; font-variant-numeric: lining-nums; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; color: var(--ink); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
sup { font-size: .55em; line-height: 0; vertical-align: super; }
.i { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 820px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--yellow); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--yellow-600); outline-offset: 3px; border-radius: 4px; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--muted); margin-bottom: .8em; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 62ch; }

/* Buttons & links */
.btn { display: inline-flex; align-items: center; gap: .55em; padding: .9em 1.4em; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; font: inherit; font-weight: 700; transition: transform .15s, background .15s, color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--yellow); color: var(--ink); }
.btn-primary:hover { background: var(--yellow-600); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); }
.btn-ghost { border-color: rgb(255 255 255 / .5); color: #fff; }
.btn-ghost:hover { background: rgb(255 255 255 / .1); }
.btn-sm { padding: .55em 1.1em; font-size: .92rem; }
.btn:disabled { opacity: .6; cursor: progress; }
.link { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--yellow); padding-bottom: 2px; }
.link:hover .i { transform: translateX(3px); }
.link .i { transition: transform .15s; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(20 20 20 / .92); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid rgb(255 255 255 / .06); }
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand img { width: 150px; height: auto; }
.site-header nav { display: flex; align-items: center; gap: 28px; }
.site-header ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-header nav ul a { color: #e9e9e9; text-decoration: none; font-weight: 600; font-size: .95rem; padding: .5em .75em; border-radius: 8px; }
.site-header nav ul a:hover, .site-header nav ul a[aria-current] { color: var(--yellow); }
.nav-toggle { display: none; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }
.nav-toggle .i { width: 28px; height: 28px; }
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .site-header nav { position: fixed; inset: var(--header-h) 0 auto 0; background: var(--ink); flex-direction: column; align-items: stretch; gap: 16px; padding: 16px 16px 24px; border-bottom: 1px solid rgb(255 255 255 / .08); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .2s; }
  .nav-open .site-header nav { transform: none; opacity: 1; visibility: visible; }
  .site-header ul { flex-direction: column; }
  .site-header nav ul a { display: block; padding: .8em .5em; font-size: 1.05rem; border-bottom: 1px solid rgb(255 255 255 / .06); border-radius: 0; }
  .site-header .btn { justify-content: center; }
}

/* Hero */
.hero { position: relative; min-height: min(88vh, 820px); display: grid; align-items: end; color: #fff; background: var(--ink) url(/media/m2-hero-poster.webp) center / cover; overflow: hidden; isolation: isolate; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(20 20 20 / .25) 0%, rgb(20 20 20 / .45) 45%, rgb(20 20 20 / .88) 100%); }
.hero-inner { padding-block: 120px 72px; }
.hero-toggle { position: absolute; right: 16px; bottom: 16px; z-index: 1; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .35); background: rgb(20 20 20 / .5); color: #fff; display: grid; place-items: center; cursor: pointer; }
.hero-toggle:hover { background: rgb(20 20 20 / .8); }
.hero-toggle .i-play, .hero-toggle[aria-pressed="true"] .i-pause { display: none; }
.hero-toggle[aria-pressed="true"] .i-play { display: block; }
.hero h1 { color: #fff; max-width: 14ch; }
.hero h1::after { content: ''; display: block; width: 72px; height: 6px; background: var(--yellow); border-radius: 3px; margin-top: 24px; }
.hero .lead { color: #e3e3e3; }
.hero .eyebrow { color: var(--yellow); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.band-awards { background: var(--ink-2); padding-block: 28px; }
.awards { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px 48px; }
.awards li { background: #fff; border-radius: 12px; padding: 10px 16px; height: 76px; display: grid; place-items: center; }
.awards img { max-height: 56px; width: auto; }

/* Sections */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-tint { background: var(--tint); }
.section-dark { background: var(--ink); color: #d8d8d8; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--yellow); }
.section-dark .lead { color: #b9b9b9; }
.section-dark .link { color: #fff; }
.section-head { margin-bottom: clamp(32px, 4vw, 48px); }
.split-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 48px); }
.split-head .section-head { margin: 0; }
.page-head { background: var(--ink); color: #fff; padding-block: clamp(64px, 9vw, 112px) clamp(48px, 6vw, 72px); position: relative; overflow: hidden; }
.page-head::before { content: ''; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgb(253 219 58 / .22), transparent 70%); }
.page-head h1 { color: #fff; max-width: 20ch; }
.page-head .eyebrow { color: var(--yellow); }
.page-head .lead { color: #c9c9c9; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chips a { color: #fff; text-decoration: none; border: 1px solid rgb(255 255 255 / .25); padding: .45em 1em; border-radius: 999px; font-weight: 600; font-size: .92rem; }
.chips a:hover { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; aspect-ratio: 4 / 3.2; }
.split-media.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.split-media.duo img { aspect-ratio: 3 / 4; }
.split-media.duo img:last-child { margin-top: 48px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }

/* Grids & cards */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; margin: 0; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card > img, .card-link img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card-body p:last-child { margin-bottom: 0; }
.card time, .meta { font-size: .85rem; font-weight: 700; color: var(--muted); letter-spacing: .04em; margin-bottom: .6em; display: block; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; }
.project h2 { font-size: 1.6rem; }
.project.compact p { font-size: .95rem; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: auto; padding-top: 12px; }
.tag { background: #fff6cc; color: #5a4700; border-radius: 999px; padding: .25em .8em; font-size: .85rem; font-weight: 700; text-decoration: none; }
.tag:hover { background: var(--yellow); color: var(--ink); }
.news h2 { font-size: 1.25rem; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; margin: 0; }
.stats > div { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column-reverse; }
.stats dt { color: #bdbdbd; font-weight: 600; }
.stats dd { margin: 0 0 6px; font-size: clamp(1.9rem, 3.2vw, 2.6rem); font-weight: 800; color: var(--yellow); display: flex; flex-direction: column; gap: 16px; line-height: 1.1; }
.stats dd img { width: 40px; height: 40px; }

/* Logos */
.logos { list-style: none; padding: 0; margin: 0 0 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 16px; }
.logos li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); height: 110px; display: grid; place-items: center; padding: 18px 22px; }
.logos img { max-height: 64px; width: auto; max-width: 100%; object-fit: contain; }

/* Tabs */
.tablist { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.tablist button { font: inherit; font-weight: 700; color: #cfcfcf; background: var(--ink-3); border: 1px solid rgb(255 255 255 / .08); padding: .7em 1.2em; border-radius: 999px; cursor: pointer; }
.tablist button[aria-selected="true"] { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.tabpanel { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; background: var(--ink-2); border: 1px solid rgb(255 255 255 / .06); border-radius: calc(var(--radius) + 6px); padding: clamp(20px, 4vw, 48px); }
.tabpanel[hidden] { display: none; }
.tabpanel-media { background: radial-gradient(circle at 50% 60%, rgb(253 219 58 / .35), transparent 65%); border-radius: var(--radius); }
.tabpanel-media img { max-height: 440px; width: auto; margin-inline: auto; }
@media (max-width: 760px) { .tabpanel { grid-template-columns: 1fr; } }
.checks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: baseline; }
.checks .i { color: var(--yellow-600); align-self: center; }
.section-dark .checks .i { color: var(--yellow); }
.checks a { font-weight: 700; }

/* Numbered list */
.numbered { list-style: none; counter-reset: n; padding: 0; margin: 0; display: grid; gap: 24px; }
.numbered li { counter-increment: n; position: relative; padding-left: 64px; }
.numbered li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: -2px; font-weight: 800; font-size: 1.4rem; color: var(--ink); background: var(--yellow); width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; }
.numbered.cols-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 32px; }
.numbered p { color: inherit; opacity: .9; }

/* Solutions modules */
.hero-figure { margin: 0; }
.hero-figure img { width: 100%; border-radius: calc(var(--radius) + 6px); }
.module { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 6vw, 80px); align-items: center; padding-block: 48px; border-top: 1px solid var(--line); }
.module:first-of-type { border-top: 0; padding-top: 0; }
.module.reverse .module-media { order: 2; }
.module-media { background: radial-gradient(circle at 50% 60%, rgb(253 219 58 / .55), transparent 68%); border-radius: var(--radius); }
.module-media img { max-height: 520px; width: auto; margin-inline: auto; }
.features { display: grid; gap: 16px; margin: 24px 0; }
.features dt { font-weight: 700; color: var(--ink); display: flex; gap: 10px; align-items: center; }
.features dt .i { color: var(--yellow-600); }
.features dd { margin: 4px 0 0 30px; color: var(--muted); }
@media (max-width: 760px) { .module { grid-template-columns: 1fr; } .module.reverse .module-media { order: 0; } }
.role { position: relative; }
.role .anchor { position: absolute; top: calc(-1 * var(--header-h) - 16px); }
.role .checks li { display: block; }
.role .checks .i { vertical-align: -.2em; margin-right: 8px; }

/* Testimonials */
.quote { flex-direction: row; }
.quote > img { width: 38%; aspect-ratio: auto; object-fit: cover; }
.quote blockquote { margin: 0 0 16px; font-size: 1.05rem; }
.quote-title { font-weight: 800; font-size: 1.3rem; color: var(--ink); }
.quote figcaption { display: flex; flex-direction: column; color: var(--muted); font-size: .95rem; margin-top: auto; }
.quote figcaption strong { color: var(--ink); }
@media (max-width: 560px) { .quote { flex-direction: column; } .quote > img { width: 100%; aspect-ratio: 16 / 9; } }

/* Values / offices */
.values { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.values li { display: flex; gap: 16px; }
.values p { color: var(--muted); margin: 0; }
.value-icon { width: 52px; height: 52px; flex: none; border-radius: 14px; background: var(--ink); display: grid; place-items: center; }
.office p { display: flex; gap: 10px; align-items: flex-start; }
.office .i { margin-top: .25em; color: var(--yellow-600); }
.office h3 { font-size: 1.4rem; margin-bottom: .2em; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 20px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--muted); }
.faq details[open] summary::after { content: '–'; }
.faq p { color: var(--muted); }

/* Contact */
.contact { background: var(--yellow); color: var(--ink); padding-block: clamp(64px, 9vw, 112px); }
.contact .eyebrow, .contact .lead { color: #4a3f10; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; font-weight: 600; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list .i { margin-top: .2em; }
.form { background: #fff; border-radius: calc(var(--radius) + 6px); padding: clamp(20px, 4vw, 36px); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; box-shadow: 0 20px 50px rgb(20 20 20 / .12); }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .9rem; }
.field input, .field textarea { font: inherit; padding: .75em .9em; border: 1.5px solid #d9d6cc; border-radius: var(--radius-sm); background: #fcfbf8; color: var(--text); width: 100%; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 4px rgb(253 219 58 / .5); }
.form-foot { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 16px; }
.form-status { margin: 0; font-weight: 600; }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

/* Article prose */
.post .page-head h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); max-width: none; }
.breadcrumb a { color: var(--yellow); font-weight: 700; text-decoration: none; }
.breadcrumb a::before { content: '← '; }
.prose { padding-block: 48px 80px; font-size: 1.08rem; line-height: 1.9; }
.prose h2 { font-size: 1.6rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.5em; }
.prose figure { margin: 2em 0; }
.prose img { border-radius: var(--radius-sm); border: 1px solid var(--line); margin-inline: auto; }
.prose pre { background: var(--ink); color: #f1f1f1; padding: 20px; border-radius: var(--radius-sm); overflow-x: auto; font-size: .9rem; line-height: 1.6; white-space: pre-wrap; }
.prose a { color: #7a6200; text-decoration-thickness: 2px; overflow-wrap: anywhere; }
.prose ul, .prose ol { padding-left: 1.3em; }

.legal-list { display: grid; gap: 12px; padding: 0; list-style: none; }
.legal-list li { padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.legal-list a:first-child { font-weight: 700; }

/* Footer */
.site-footer { background: var(--ink); color: #bdbdbd; padding-top: 72px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.site-footer h2 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 1.2em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.site-footer address { font-style: normal; }
.site-footer img { margin-bottom: 16px; }
.social { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--ink-3); color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid rgb(255 255 255 / .08); margin-top: 56px; padding-block: 24px; font-size: .88rem; }
.footer-bottom p { margin: 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
