@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./assets/instrument-sans-latin-400-normal.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --background: #fff;
  --text: #111;
  --muted: #666;
  --border: #dededb;
  --sans: "Instrument Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  --frame-width: 1360px;
  --page-gutter: clamp(20px, 5vw, 72px);
  --header-height: 128px;
}

*, *::before, *::after { box-sizing: border-box; }
html { min-width: 320px; background: var(--background); color: var(--text); font-family: var(--sans); font-synthesis: none; }
body { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; margin: 0; }
main { flex: 1; }
a { color: inherit; text-decoration: none; text-underline-offset: .25em; }
a:hover { color: var(--muted); }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; }
img, video { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 1px solid var(--text); outline-offset: 5px; }
::selection { background: var(--text); color: var(--background); }
.frame { width: min(100%, var(--frame-width)); padding-inline: var(--page-gutter); margin-inline: auto; }
.site-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; min-height: var(--header-height); padding-top: 34px; padding-bottom: 30px; }
.brand { display: block; flex: 0 1 280px; }
.brand img { width: 280px; height: auto; }
.about-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; margin-top: -9px; white-space: nowrap; font-size: 14px; }
.about-link[aria-current="page"] { text-decoration: underline; }
.home, .about { padding-top: 20px; }
.studio-film { margin: 0; }
.studio-film video { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; background: #f5f5f5; }
.home-page { background: #111; }
.home-page .site-header { position: absolute; z-index: 5; inset: 0 0 auto; color: #fff; mix-blend-mode: difference; }
.home-page .brand img { filter: invert(1); }
.home-page .about-link:hover { color: #fff; }
.home-page .home { flex: none; width: 100%; height: 100vh; height: 100svh; padding: 0; }
.home-page .studio-film { position: relative; width: 100%; height: 100%; }
.home-page .studio-film video { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; background: #111; }
.home-page .video-error { position: absolute; z-index: 4; left: var(--page-gutter); right: var(--page-gutter); bottom: 72px; margin: 0; padding: 12px 16px; color: #fff; background: rgb(0 0 0 / .7); }
.home-page :focus-visible { outline-color: currentColor; }
.video-start { position: absolute; z-index: 4; top: 50%; left: 50%; transform: translate(-50%, -50%); min-height: 48px; padding: 12px 24px; border: 1px solid rgba(255,255,255,.5); border-radius: 0; background: rgba(0,0,0,.7); color: #fff; font-size: 14px; cursor: pointer; }
.video-error { color: var(--muted); font-size: 14px; line-height: 1.8; }
.video-error a { text-decoration: underline; }
.about article { width: 100%; }
.about-introduction, .contact-section { display: grid; grid-template-columns: minmax(160px, 1fr) minmax(0, 3fr); gap: 64px; }
h1 { margin: 0; font-size: 22px; font-weight: 400; line-height: 1.4; letter-spacing: 0; }
.company-intro { min-width: 0; max-width: 720px; }
.company-intro p { margin: 0; }
.company-intro__english { font-size: 18px; line-height: 1.75; letter-spacing: 0; }
.company-intro .company-intro__chinese { margin-top: 28px; font-size: 17px; line-height: 1.85; }
.company-intro strong { font-weight: 500; }
.contact-section { margin-top: 88px; padding-top: 32px; border-top: 1px solid var(--border); }
.contact-section h2 { margin: 0; font-size: 22px; line-height: 1.4; font-weight: 400; }
.contact-details { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; font-size: 15px; line-height: 1.8; }
.contact-details h3 { margin: 0 0 16px; color: var(--muted); font-size: 12px; font-weight: 400; line-height: 1.5; }
.contact-channels { display: grid; gap: 28px; }
.contact-details address { margin: 0; font-style: normal; }
.contact-details a { display: inline-block; margin-top: -8px; padding-block: 8px; overflow-wrap: anywhere; font-size: 20px; }
.contact-details a:hover { text-decoration: underline; }
.site-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin-top: 112px; padding-top: 28px; padding-bottom: 32px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 10px 14px; transform: translateY(-160%); background: var(--text); color: var(--background); font-size: 13px; }
.skip-link:focus { transform: translateY(0); }
@media (max-width: 1024px) {
  .about-introduction, .contact-section { grid-template-columns: 160px minmax(0, 1fr); gap: 40px; }
  .contact-details { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  :root { --page-gutter: 20px; --header-height: 96px; }
  .site-header { gap: 24px; padding-top: 23px; padding-bottom: 24px; }
  .brand { flex-basis: 210px; }
  .brand img { width: 210px; }
  .about-link { gap: 6px; font-size: 13px; margin-top: -8px; }
  .home, .about { padding-top: 8px; }
  h1 { font-size: 21px; }
  .about-introduction, .contact-section { grid-template-columns: 1fr; gap: 32px; }
  .company-intro__english { font-size: 17px; line-height: 1.75; }
  .company-intro .company-intro__chinese { font-size: 16px; line-height: 1.85; }
  .company-intro .company-intro__chinese { margin-top: 28px; }
  .contact-section { gap: 28px; margin-top: 56px; padding-top: 24px; }
  .contact-section h2 { font-size: 21px; }
  .site-footer { flex-direction: column; margin-top: 72px; }
}
@media (max-width: 380px) {
  .site-header { gap: 18px; }
  .brand { flex-basis: 178px; }
  .brand img { width: 178px; }
}
