@font-face {
  font-family: "Noto Sans SC";
  src: url("fonts/noto-sans-sc.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans TC";
  src: url("fonts/noto-sans-tc.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans JP";
  src: url("fonts/noto-sans-jp.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans KR";
  src: url("fonts/noto-sans-kr.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #fff;
  --white: #fff;
  --ink: #151a24;
  --muted: #515c6a;
  --navy: #263650;
  --accent: #37527b;
  --line: #d9dee5;
  --soft: #edf0f4;
  --typeface: "Noto Sans SC";
  --sans: var(--typeface), system-ui, sans-serif;
}

html:lang(zh-TW) { --typeface: "Noto Sans TC"; }
html:lang(ja) { --typeface: "Noto Sans JP"; }
html:lang(ko) { --typeface: "Noto Sans KR"; }

* { box-sizing: border-box; }
html { scroll-padding-top: 92px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.75 var(--sans);
}
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, summary:focus-visible {
  outline: 2px solid #4269a5;
  outline-offset: 4px;
}
h1, h2, h3, p, figure, ol, ul { margin: 0; }
h2, h3 { line-height: 1.35; }
h2 {
  font-size: clamp(1.8rem, 3.1vw, 2.95rem);
  font-weight: 600;
  letter-spacing: -.037em;
}
h3 { font-size: 1.05rem; font-weight: 620; }
.shell { width: min(1184px, calc(100% - 112px)); margin-inline: auto; }
.skip {
  position: fixed;
  inset: 12px auto auto 12px;
  z-index: 5;
  padding: 8px 14px;
  background: var(--white);
  transform: translateY(-160%);
}
.skip:focus { transform: none; }

.site-header {
  position: sticky;
  z-index: 2;
  top: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-inner, .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.header-inner { min-height: 71px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1.045rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}
.brand img { flex: none; width: 33px; height: 33px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.header-inner nav { margin-inline-start: auto; }
.language-picker { flex: none; }
.language-picker select {
  min-height: 38px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 20px;
  font-size: .815rem;
  cursor: pointer;
}
nav, .footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(15px, 3.1vw, 42px);
}
nav a, .footer-links a { font-size: .83rem; text-decoration: none; }
nav a:hover, .footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav-contact { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: min(690px, 74svh);
  overflow: hidden;
  padding-block: 108px 120px;
  text-align: center;
}
.hero-particles {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  mask-image: radial-gradient(ellipse 43% 43% at 50% 47%, #0002 31%, #000 100%);
  pointer-events: none;
}
.motion-control {
  position: absolute;
  right: clamp(19px, 4vw, 58px);
  bottom: 18px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
}
.motion-control:hover { background: var(--soft); }
.motion-control::before {
  width: 9px;
  height: 11px;
  border-inline: 2px solid currentColor;
  box-sizing: border-box;
  content: "";
}
.motion-control[aria-pressed="true"]::before {
  width: 10px;
  border: 0;
  background: currentColor;
  clip-path: polygon(10% 0, 100% 50%, 10% 100%);
}
.motion-control:focus-visible { outline-offset: 2px; }
.hero-copy { max-width: 900px; }
.hero h1 {
  font-size: clamp(2.25rem, 5.95vw, 5.5rem);
  font-weight: 590;
  line-height: 1.17;
  letter-spacing: -.042em;
}
.hero h1 span { display: block; }
.hero h1 span:last-child { color: var(--navy); }
.hero p {
  max-width: 550px;
  margin: 23px auto 0;
  color: var(--muted);
  font-size: clamp(.92rem, 1.25vw, 1.02rem);
  line-height: 1.85;
  text-wrap: pretty;
}
.hero-actions, .form-end {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.hero-actions { justify-content: center; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  font-size: .875rem;
  text-decoration: none;
}
.primary { background: var(--ink); color: var(--white); }
.primary:hover { background: var(--navy); }
.primary:disabled { opacity: .6; cursor: wait; }
.secondary { background: var(--white); border-color: var(--line); }
.secondary:hover { background: var(--soft); }
.email-link {
  color: var(--accent);
  font-weight: 650;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.section { padding-block: 76px; }
.services { padding-top: 46px; border-top: 1px solid var(--line); }
.section-heading { max-width: 475px; }
.section-heading p {
  max-width: 37ch;
  margin-top: 12px;
  color: var(--muted);
  font-size: .925rem;
}
.service-grid, .steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 29px;
}
.service-grid article {
  display: flex;
  flex-direction: column;
  padding: 26px 25px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f6f8fd;
}
.service-grid article:nth-child(2) { background: #f7f7fb; }
.service-grid article:nth-child(3) { background: #f8f7f4; }
.service-grid p, .steps p { margin-top: 10px; color: var(--muted); }
.service-grid p { margin-bottom: 18px; }
.service-grid p, .steps p, .ai-list p, .case-list p { font-size: .9rem; }
.service-grid ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: auto;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
  color: var(--accent);
  font-size: .79rem;
  list-style: none;
}

.ai-band { border-block: 1px solid var(--line); }
.ai-layout {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(24px, 6vw, 84px);
}
.ai-list {
  display: grid;
  gap: 12px;
}
.ai-list article {
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f7f8fc;
}
.ai-list p { margin-top: 7px; color: var(--muted); }

.cases-band { background: #f4f6fb; }
.case-layout, .project-layout {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 6vw, 84px);
}
.case-layout { align-items: center; }
.studio-image {
  overflow: hidden;
  margin-top: 23px;
  border-radius: 14px;
  background: #e5e9f2;
  aspect-ratio: 16 / 10;
}
.studio-image img { width: 100%; height: 100%; object-fit: cover; }
.case-list { border-top: 1px solid var(--line); }
.case-list p { color: var(--muted); }
.case-list article {
  display: grid;
  grid-template-columns: minmax(8em, .7fr) minmax(0, 1.3fr);
  gap: 6px 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.case-list h3 { font-size: .985rem; }

.steps { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 0; }
.steps li {
  margin-inline-start: 1.4rem;
  padding: 12px 15px 0 3px;
  border-top: 1px solid var(--line);
}
.steps li::marker { color: var(--accent); font-weight: 650; }

.project-band { background: var(--soft); }
.project-layout { align-items: start; }
.email-link { display: inline-block; margin-top: 17px; overflow-wrap: anywhere; }
form {
  padding: clamp(17px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fields label { display: grid; align-content: start; gap: 6px; min-width: 0; font-size: .855rem; font-weight: 600; }
.fields .wide { grid-column: 1 / -1; }
select, input[type="email"], textarea {
  display: block;
  width: 100%;
  min-height: 43px;
  padding: 9px 10px;
  border: 1px solid #a9b1bf;
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 400;
}
textarea { resize: vertical; }
textarea::placeholder { color: #626d7a; }
.form-note {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px 12px;
  margin-top: 16px;
  color: var(--muted);
  font-size: .83rem;
}
.form-note label { display: flex; align-items: baseline; gap: 7px; }
.form-note input { flex: none; margin: 0; accent-color: var(--accent); }
.form-note a, .policy a { color: var(--accent); text-underline-offset: 3px; }
.policy { max-width: 750px; }
.policy h1 { margin-top: 16px; }
.policy p, .policy ul { margin-top: 18px; }
.form-end { margin-top: 19px; }
.form-end p { color: var(--muted); font-size: .85rem; overflow-wrap: anywhere; }

.site-footer { border-top: 1px solid var(--line); }
.footer-inner { padding-block: 25px; }
.footer-inner p { margin-top: 6px; color: var(--muted); font-size: .79rem; }
.footer-links { justify-content: flex-end; gap: 9px 24px; color: var(--muted); }
.footer-links a { font-size: .79rem; }

@media (max-width: 1000px) {
  .shell { width: min(1184px, calc(100% - 64px)); }
  .hero { padding-block: 88px 94px; }
  .section { padding-block: 58px; }
  .service-grid article { padding: 20px 17px; }
  .case-list article { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 24px; }
  .shell { width: calc(100% - 38px); }
  .site-header { position: static; }
  .header-inner { min-height: 63px; gap: 8px 15px; flex-wrap: wrap; padding-block: 10px; }
  .brand { font-size: 1.03rem; }
  .brand img { width: 30px; height: 30px; }
  nav { gap: 10px 16px; }
  nav a { font-size: .8rem; }
  .case-layout, .project-layout, .ai-layout { grid-template-columns: 1fr; gap: 24px; }
  .hero { min-height: 440px; padding-block: 70px 78px; }
  .hero-particles { opacity: .94; }
  .hero p { margin-top: 16px; }
  .hero-actions { margin-top: 21px; }
  .studio-image { aspect-ratio: 3 / 2; }
  .section { padding-block: 45px; }
  .service-grid { grid-template-columns: 1fr; gap: 10px; margin-top: 20px; }
  .service-grid p { margin-bottom: 14px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; margin-top: 20px; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 14px; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 440px) {
  .header-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  .brand { line-height: 1.25; white-space: normal; }
  .header-inner nav { grid-row: 2; grid-column: 1 / -1; margin-inline-start: 0; }
  .language-picker { grid-row: 1; grid-column: 2; }
  .nav-contact { padding: 3px 8px; }
  .fields { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy h1, .hero-copy > p, .hero-actions {
    animation: arrive .8s cubic-bezier(.22, .61, .36, 1) both;
  }
  .hero-copy > p { animation-delay: .12s; }
  .hero-actions { animation-delay: .22s; }
  .entered { animation: rise .52s cubic-bezier(.22, .61, .36, 1) both; }
  .button { transition: background-color .2s, border-color .2s, transform .2s; }
  .button:hover { transform: translateY(-2px); }
}

@keyframes arrive {
  from { opacity: .24; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes rise {
  from { opacity: .58; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
