:root{--black:#070605;--white:#f5eee7;--gold:#e4b86f;--line:#c8975b;--serif:'Bodoni Moda','Noto Serif TC','Times New Roman',serif;--zh:'Noto Serif TC',serif;--sans:'Noto Sans TC',sans-serif}
*{box-sizing:border-box}
html{background:var(--black)}
body{margin:0;background:var(--black);color:var(--white);font-family:var(--sans);font-weight:300}
.work-page{position:relative;isolation:isolate;min-height:100svh;overflow:hidden;background:#070605}
.work-background{position:absolute;inset:0;z-index:-3;background:url('assets/hero-main.png') center top/cover no-repeat;overflow:hidden}
.work-background video{display:block;width:100%;height:100%;object-fit:cover;object-position:center top}
.work-shade{position:absolute;inset:0;z-index:-2;background:linear-gradient(180deg,rgba(0,0,0,.03) 0%,rgba(0,0,0,.04) 28%,rgba(0,0,0,.18) 42%,rgba(7,6,5,.84) 58%,#070605 74%,#070605 100%),linear-gradient(90deg,rgba(0,0,0,.18),transparent 72%)}
.work-page:before,.work-page:after{content:'';position:absolute;z-index:-1;left:-18%;right:-18%;height:190px;border:1px solid rgba(224,145,63,.55);border-radius:50%;filter:drop-shadow(0 0 12px rgba(219,117,36,.42));transform:rotate(-5deg);pointer-events:none}
.work-page:before{top:54%;border-width:2px 0 0}
.work-page:after{bottom:1%;border-width:2px 0 0;transform:rotate(5deg)}
.nav{position:relative;z-index:4;height:82px;padding:env(safe-area-inset-top) 22px 0;display:flex;align-items:center;justify-content:space-between}
.logo{color:#fff;text-decoration:none;font:500 31px/1 var(--serif);letter-spacing:.11em;text-shadow:0 3px 18px #000}
.logo span{color:#d9c2a4}
.menu{width:44px;height:44px;padding:8px 1px;border:0;background:none;display:flex;flex-direction:column;justify-content:center;gap:6px}
.menu span{display:block;width:29px;height:1px;margin-left:auto;background:#e9bd72}
.work-content{width:min(100% - 30px,900px);margin:0 auto;padding-top:18px;padding-bottom:calc(38px + env(safe-area-inset-bottom));animation:work-content-rise 1.28s cubic-bezier(.18,.72,.16,1) both}
.hero-copy{text-shadow:0 3px 22px #000}
.hero-copy>p{margin:0 0 10px;color:#e1b06c;font-size:8px;letter-spacing:.31em;white-space:nowrap}
.hero-copy h1{margin:0;font:400 clamp(43px,12.8vw,82px)/.92 var(--serif);letter-spacing:-.045em;white-space:nowrap}
.hero-copy h2{margin:12px 0 0;font:400 clamp(34px,9.4vw,58px)/1.12 var(--zh);letter-spacing:.09em}
.hero-copy>i{display:block;width:34px;height:2px;margin:20px 0 18px;background:#e6b55f;box-shadow:0 0 8px rgba(230,181,95,.35)}
.hero-copy h3{margin:0;font:300 14px/1.7 var(--zh);letter-spacing:.08em}
.contact-actions{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin-top:42px}
.contact{height:70px;border:1px solid rgba(232,172,103,.9);border-radius:16px;display:flex;align-items:center;justify-content:center;gap:13px;color:#fff;text-decoration:none;background:linear-gradient(120deg,rgba(9,7,5,.92),rgba(21,13,8,.76));box-shadow:0 0 13px rgba(220,116,35,.12),inset 0 1px 0 rgba(255,222,178,.08);transition:transform .22s ease,box-shadow .22s ease}
.contact:active{transform:scale(.975)}
.contact b{font:400 clamp(15px,4.2vw,25px)/1 var(--zh);letter-spacing:.04em;white-space:nowrap}
.contact-icon{display:block;width:40px;height:40px;background-image:url('assets/work-contact-icons.png');background-repeat:no-repeat;background-size:auto 36px;background-position-y:center}
.line-symbol{background-position-x:left}
.email-symbol{background-position-x:right}
.project-types{margin-top:46px}
.project-heading{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:14px}
.project-heading i{height:1px;background:linear-gradient(90deg,transparent,rgba(245,238,231,.75))}
.project-heading i:last-child{background:linear-gradient(90deg,rgba(245,238,231,.75),transparent)}
.project-heading h2{margin:0;color:#e8bd74;font:400 15px/1 var(--zh);letter-spacing:.2em;white-space:nowrap}
.project-grid{display:grid;grid-template-columns:repeat(4,1fr);margin-top:30px}
.project-grid>div{position:relative;display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center}
.project-grid>div+div:before{content:'';position:absolute;left:0;top:9px;width:1px;height:38px;background:rgba(224,184,118,.7)}
.project-grid svg{width:28px;height:28px;fill:none;stroke:#fff;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.project-grid span{font:300 10px/1.3 var(--zh);letter-spacing:.08em;white-space:nowrap;color:#eee6de}
footer{margin-top:90px;text-align:center;color:#e4b86f;font:400 10px/1 var(--serif);letter-spacing:.42em}
footer i{font-style:normal;margin:0 12px}
.reveal{opacity:0;transform:translateY(16px);transition:opacity .75s ease,transform .75s ease}
.reveal.visible{opacity:1;transform:none}
@keyframes work-content-rise{0%{opacity:0;transform:translateY(62svh)}62%{opacity:1}100%{opacity:1;transform:translateY(0)}}
html.embedded,html.embedded body,html.embedded .work-page{background:transparent}
html.embedded .work-background{display:none}
@media(max-width:370px){.work-content{width:min(100% - 22px,900px);padding-top:10px}.hero-copy h1{font-size:39px}.hero-copy h3{font-size:12px}.contact{height:62px}.contact-icon{width:35px;height:35px;background-size:auto 32px}.contact b{font-size:13px}.project-grid span{font-size:8.5px}.project-grid svg{width:25px;height:25px}}
@media(min-width:700px){.nav{height:96px;padding-left:5vw;padding-right:5vw}.logo{font-size:39px}.work-background{background-size:auto 100%;background-position:center top}.work-page:after{bottom:-2%}.work-content{padding-top:30px}.hero-copy{max-width:760px}.hero-copy>p{font-size:12px}.hero-copy h3{font-size:20px}.contact-actions{max-width:830px;gap:22px}.contact{height:92px;border-radius:22px}.contact-icon{width:54px;height:54px;background-size:auto 49px}.project-heading h2{font-size:21px}.project-grid svg{width:38px;height:38px}.project-grid span{font-size:14px}footer{font-size:14px;margin-top:120px}.contact:hover{transform:translateY(-2px);box-shadow:0 0 20px rgba(220,116,35,.26)}}
@media(prefers-reduced-motion:reduce){.work-content{animation:none}.reveal{opacity:1;transform:none;transition:none}.contact{transition:none}}
