:root{--black:#050505;--white:#f5f1ea;--gold:#a77b58;--serif:'Bodoni Moda','Noto Serif TC','Times New Roman',serif;--sans:'Noto Sans TC',sans-serif;--script:'Allura','Segoe Script',cursive}
*{box-sizing:border-box}html{background:var(--black);scroll-behavior:smooth}body{margin:0;background:var(--black);color:var(--white);font-family:var(--sans);font-weight:300}.hero{position:relative;width:100%;min-height:100svh;overflow:hidden;background:#050505;isolation:isolate}.portrait{position:absolute;inset:0;z-index:-3;background:#050505 url('assets/hero-main.png') center 42%/cover no-repeat}.shade{position:absolute;inset:0;z-index:-2;background:linear-gradient(180deg,rgba(0,0,0,.04) 0%,rgba(0,0,0,.03) 30%,rgba(3,3,3,.28) 50%,rgba(3,3,3,.78) 75%,#050505 100%),linear-gradient(90deg,rgba(0,0,0,.16),transparent 55%,rgba(0,0,0,.06));pointer-events:none}.hero:after{content:'';position:absolute;inset:0;z-index:5;pointer-events:none;opacity:.035;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}.nav{height:86px;padding:env(safe-area-inset-top) 25px 0;display:flex;align-items:center;justify-content:space-between;position:relative;z-index:4}.logo{color:#fff;text-decoration:none;font:500 34px/1 var(--serif);letter-spacing:.12em;text-shadow:0 2px 18px #000}.logo span{color:#c5b9aa}.menu{width:44px;height:44px;border:0;background:transparent;padding:8px 2px;display:flex;flex-direction:column;justify-content:center;gap:6px}.menu span{display:block;width:29px;height:1px;margin-left:auto;background:#fff;transition:transform .3s,opacity .3s}.menu[aria-expanded=true] span:first-child{transform:translateY(7px) rotate(45deg)}.menu[aria-expanded=true] span:nth-child(2){opacity:0}.menu[aria-expanded=true] span:last-child{transform:translateY(-7px) rotate(-45deg)}.hero-panel{position:absolute;z-index:2;left:50%;top:47%;width:min(100% - 34px,680px);text-align:center;transform:translate(-50%,8vh);opacity:0;animation:float-to-center 1.35s cubic-bezier(.2,.72,.2,1) .16s forwards}.eyebrow{margin:0 0 8px;display:flex;justify-content:center;align-items:center;gap:13px;font-size:10px;letter-spacing:.42em;font-weight:400}.eyebrow i{display:block;width:34px;height:1px;background:rgba(255,255,255,.7)}h1{font:400 clamp(48px,14.5vw,76px)/.88 var(--serif);letter-spacing:-.04em;margin:0;white-space:nowrap;text-shadow:0 3px 24px rgba(0,0,0,.65)}h1 em{font-style:normal}.signature{margin:8px 0;font:400 clamp(30px,9.3vw,47px)/1 var(--script);white-space:nowrap;text-shadow:0 2px 16px #000}.divider{display:block;width:36px;height:1px;margin:16px auto 14px;background:rgba(255,255,255,.8)}.tagline{margin:0;font-size:15px;line-height:1.8;letter-spacing:.1em;text-shadow:0 2px 12px #000}.hero-actions{margin-top:22px}.hero-actions a{text-decoration:none;-webkit-tap-highlight-color:transparent}.main-action,.secondary-action{transition:transform .25s ease,box-shadow .25s ease,background-color .25s}.main-action:active,.secondary-action:active{transform:scale(.975)}.main-action{height:76px;border-radius:40px;padding:0 22px;display:grid;grid-template-columns:48px 1fr 32px;align-items:center;color:#111;background:linear-gradient(100deg,#fffdfa,#f2eee8);box-shadow:0 0 25px rgba(183,113,62,.42),inset 0 0 0 1px rgba(255,255,255,.8)}.main-action>svg:first-child{width:37px;height:37px;fill:none;stroke:#111;stroke-width:1.7}.main-action span,.secondary-action span{display:flex;flex-direction:column;text-align:left}.main-action b{font-size:18px;letter-spacing:.08em;font-weight:500}.main-action small,.secondary-action small{font-size:10px;letter-spacing:.08em;margin-top:2px}.arrow{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.4}.secondary-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:13px}.secondary-action{height:68px;border:1px solid rgba(192,135,91,.72);border-radius:20px;padding:0 12px;display:grid;grid-template-columns:34px 1fr 23px;align-items:center;color:#fff;background:rgba(3,3,3,.54)}.secondary-action>svg:first-child{width:30px;height:30px;fill:none;stroke:#fff;stroke-width:1.5}.secondary-action b{font-size:14px;letter-spacing:.05em;font-weight:400}.secondary-action small{color:#dfd9d1}.destination{position:fixed;left:50%;bottom:calc(18px + env(safe-area-inset-bottom));z-index:10;transform:translate(-50%,20px);opacity:0;padding:8px 15px;border-radius:30px;background:rgba(5,5,5,.8);border:1px solid rgba(167,123,88,.55);backdrop-filter:blur(12px);font-size:9px;letter-spacing:.16em;transition:.3s;pointer-events:none}.destination.show{opacity:1;transform:translate(-50%,0)}
@keyframes float-to-center{0%{opacity:0;transform:translate(-50%,12vh)}65%{opacity:1}100%{opacity:1;transform:translate(-50%,-2%)}}
@media(max-height:740px){.hero{min-height:740px}.hero-panel{top:43%}.nav{height:72px}.main-action{height:68px}.secondary-action{height:62px}.hero-actions{margin-top:15px}.divider{margin:10px auto}.signature{margin:4px 0}.tagline{font-size:13px}}
@media(min-width:700px){.hero{min-height:100svh}.portrait{background-size:auto 100%;background-position:center}.hero:before{content:'';position:absolute;inset:-3%;z-index:-4;background:url('assets/hero-main.png') center/cover no-repeat;filter:blur(24px) brightness(.35);transform:scale(1.04)}.hero-panel{width:min(92vw,680px);top:43%}.nav{padding-left:5vw;padding-right:5vw}.main-action:hover,.secondary-action:hover{transform:translateY(-2px)}.main-action:hover{box-shadow:0 0 32px rgba(183,113,62,.58)}h1{font-size:76px}.signature{font-size:46px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.hero-panel,.hero-copy,.hero-actions{opacity:1;transform:none;animation:none}.hero-panel{transform:translateX(-50%)}.main-action,.secondary-action{transition:none}}

/* Motion hero background; the original portrait remains as a loading fallback. */
.portrait{overflow:hidden;background:#050505 url('assets/hero-main.png') center 42%/cover no-repeat}
.hero-video{display:block;width:100%;height:100%;object-fit:cover;object-position:center 42%;background:#050505}
@media(min-width:700px){.portrait{background-size:cover;background-position:center}.hero-video{object-position:center center}}

/* The copy floats upward and remains fixed near the top; actions stay lower. */
.hero-panel{top:18%;opacity:1;transform:translateX(-50%);animation:none}
.hero-copy{opacity:0;transform:translateY(30vh);animation:copy-float-up 1.65s cubic-bezier(.18,.72,.16,1) .18s forwards}
.hero-actions{margin-top:24vh;opacity:0;transform:translateY(22px);animation:actions-arrive .75s ease 1.12s forwards}
@keyframes copy-float-up{0%{opacity:0;transform:translateY(32vh)}35%{opacity:1}100%{opacity:1;transform:translateY(0)}}
@keyframes actions-arrive{to{opacity:1;transform:translateY(0)}}
@media(max-height:740px){.hero-panel{top:15%}.hero-actions{margin-top:20vh}}
@media(min-width:700px){.hero-panel{top:15%}.hero-actions{margin-top:25vh}}

/* Typography matched to the supplied reference: Song-style Chinese, Didone Latin, fine signature. */
h1{font-family:'Noto Serif TC','Songti TC','PMingLiU',serif;font-weight:400;letter-spacing:-.055em}
h1 em{font-family:'Bodoni Moda','Didot','Bodoni 72',serif;font-weight:400;letter-spacing:-.065em}
.signature{font-family:'Allura','Snell Roundhand','Segoe Script',cursive;font-weight:400;letter-spacing:.005em}
.eyebrow{font-family:'Noto Sans TC',sans-serif;font-weight:300}

/* Arrow-free button layout. */
.main-action{grid-template-columns:48px 1fr;padding-right:34px}
.secondary-action{grid-template-columns:34px 1fr;padding-right:16px}

/* Keep the copy clear of the face and anchor the choices at the bottom. */
.hero-panel{top:0;bottom:0;height:auto;pointer-events:none}
.hero-copy{position:absolute;top:9.5%;left:0;width:100%}
.hero-actions{position:absolute;left:0;right:0;bottom:calc(5svh + env(safe-area-inset-bottom));margin:0;transform:none;animation:actions-fade .7s ease 1.12s forwards;pointer-events:auto}
@keyframes actions-fade{to{opacity:1}}
@media(max-height:740px){.hero-copy{top:8%}.hero-actions{bottom:24px}}
@media(min-width:700px){.hero-copy{top:8.5%}.hero-actions{bottom:6svh}}

/* MY UNIVERSE floats upward over the homepage. */
.universe-overlay{position:fixed;inset:0;z-index:50;background:#050403;transform:translateY(102%);visibility:hidden;transition:transform .72s cubic-bezier(.2,.78,.18,1),visibility 0s linear .72s;box-shadow:0 -18px 60px rgba(0,0,0,.5)}
.universe-overlay.open{transform:translateY(0);visibility:visible;transition:transform .72s cubic-bezier(.2,.78,.18,1)}
.universe-overlay iframe{display:block;width:100%;height:100%;border:0;background:#050403}
.universe-close{position:absolute;z-index:3;top:calc(12px + env(safe-area-inset-top));right:13px;width:40px;height:40px;border:1px solid rgba(201,151,104,.5);border-radius:50%;background:rgba(5,4,3,.7);backdrop-filter:blur(8px)}
.universe-close span{position:absolute;left:10px;top:19px;width:18px;height:1px;background:#f4eee7}.universe-close span:first-child{transform:rotate(45deg)}.universe-close span:last-child{transform:rotate(-45deg)}
body.universe-open{overflow:hidden}
@media(prefers-reduced-motion:reduce){.universe-overlay{transition:none}}

/* Fade the universe in place instead of moving an entire window. */
.universe-overlay{transform:scale(1.012);opacity:0;filter:blur(7px);transition:opacity .55s ease,filter .55s ease,transform .65s cubic-bezier(.2,.72,.2,1),visibility 0s linear .65s}
.universe-overlay.open{transform:scale(1);opacity:1;filter:blur(0);transition:opacity .55s ease,filter .55s ease,transform .65s cubic-bezier(.2,.72,.2,1)}

/* Lift mobile choices above browser bottom toolbars. */
@media(max-width:699px){.hero-actions{bottom:max(calc(8svh + env(safe-area-inset-bottom)),64px)}}
@media(max-width:699px) and (max-height:740px){.hero-actions{bottom:54px}}

/* ABOUT XINX opens as a soft cinematic fade over the homepage. */
.about-overlay{position:fixed;inset:0;z-index:55;background:#080809;visibility:hidden;transform:scale(1.012);opacity:0;filter:blur(7px);transition:opacity .55s ease,filter .55s ease,transform .65s cubic-bezier(.2,.72,.2,1),visibility 0s linear .65s}
.about-overlay.open{visibility:visible;transform:scale(1);opacity:1;filter:blur(0);transition:opacity .55s ease,filter .55s ease,transform .65s cubic-bezier(.2,.72,.2,1)}
.about-overlay iframe{display:block;width:100%;height:100%;border:0;background:#080809}
.about-close{position:absolute;z-index:3;top:calc(12px + env(safe-area-inset-top));right:13px;width:40px;height:40px;border:1px solid rgba(201,151,104,.5);border-radius:50%;background:rgba(5,4,3,.7);backdrop-filter:blur(8px)}
.about-close span{position:absolute;left:10px;top:19px;width:18px;height:1px;background:#f4eee7}.about-close span:first-child{transform:rotate(45deg)}.about-close span:last-child{transform:rotate(-45deg)}
body.about-open{overflow:hidden}
@media(prefers-reduced-motion:reduce){.about-overlay{transition:none}}

/* WORK WITH ME uses the same soft fade while preserving the homepage design. */
.work-overlay{position:fixed;inset:0;z-index:60;background:#080809;visibility:hidden;transform:scale(1.012);opacity:0;filter:blur(7px);transition:opacity .55s ease,filter .55s ease,transform .65s cubic-bezier(.2,.72,.2,1),visibility 0s linear .65s}
.work-overlay.open{visibility:visible;transform:scale(1);opacity:1;filter:blur(0);transition:opacity .55s ease,filter .55s ease,transform .65s cubic-bezier(.2,.72,.2,1)}
.work-overlay iframe{display:block;width:100%;height:100%;border:0;background:#080809}
.work-close{position:absolute;z-index:3;top:calc(12px + env(safe-area-inset-top));right:13px;width:40px;height:40px;border:1px solid rgba(201,151,104,.5);border-radius:50%;background:rgba(5,4,3,.7);backdrop-filter:blur(8px)}
.work-close span{position:absolute;left:10px;top:19px;width:18px;height:1px;background:#f4eee7}.work-close span:first-child{transform:rotate(45deg)}.work-close span:last-child{transform:rotate(-45deg)}
body.work-open{overflow:hidden}

/* 2026 homepage editorial layout */
.home-v2{min-height:100svh;overflow:hidden;background:#050403}
.home-v2 .portrait{inset:0;background:#050403 url('assets/hero-main.png') center top/cover no-repeat}
.home-v2 .hero-video{object-fit:cover;object-position:center top}
.home-v2 .shade{background:linear-gradient(180deg,rgba(0,0,0,.05) 0%,rgba(0,0,0,.06) 28%,rgba(0,0,0,.13) 48%,rgba(2,2,2,.66) 68%,#050403 88%,#050403 100%),linear-gradient(90deg,rgba(0,0,0,.34),transparent 62%,rgba(0,0,0,.04))}
.home-v2 .nav{height:78px;padding:env(safe-area-inset-top) 22px 0}
.home-v2 .logo{font-size:31px}
.home-v2 .menu span{background:#e3b46e;height:1px;width:30px}
.home-content{position:relative;z-index:2;width:min(100% - 28px,980px);margin:0 auto;padding:22px 0 calc(24px + env(safe-area-inset-bottom));animation:home-enter .9s ease both}
.home-copy{width:100%;max-width:690px;text-align:left;text-shadow:0 3px 20px rgba(0,0,0,.8)}
.home-eyebrow{display:flex;align-items:center;gap:14px;margin:0 0 11px;font-size:10px;font-weight:400;letter-spacing:.42em;color:#e4b878}
.home-eyebrow i{display:block;width:31px;height:1px;background:#e4b878}
.home-copy h1{margin:0;font:400 clamp(48px,14.2vw,86px)/.92 var(--serif);letter-spacing:-.04em;white-space:nowrap}
.home-copy h1 em{font-style:normal;color:#fff}
.home-signature{margin:8px 0 0;font:400 clamp(31px,9vw,56px)/1 var(--script);color:#efc37f;white-space:nowrap}
.home-rule{display:block;width:67px;height:1px;margin:18px 0 30px;background:linear-gradient(90deg,#fff0c5,#e0953b,transparent);box-shadow:0 0 12px #bd6c24}
.home-tagline{margin:0;color:#f6f0e8;font:400 16px/1.8 var(--serif);letter-spacing:.08em}
.home-rule.short{width:29px;margin:22px 0 0;box-shadow:none}
.social-links{display:flex;align-items:center;justify-content:center;gap:clamp(22px,8vw,52px);margin:clamp(150px,24svh,280px) auto 25px}
.social-links a{display:grid;place-items:center;width:34px;height:34px;color:#fff;text-decoration:none;filter:drop-shadow(0 2px 8px rgba(0,0,0,.75));transition:transform .2s ease,color .2s ease}
.social-links a:hover{color:#e3b46e;transform:translateY(-2px)}
.social-links a:active{transform:scale(.92)}
.social-links svg{width:27px;height:27px;overflow:visible;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.social-links .fill{fill:currentColor;stroke:none}
.social-links a:nth-child(2) svg,.social-links a:nth-child(5) svg{fill:currentColor;stroke:none}
.social-links a:nth-child(3) svg>path:first-child{fill:currentColor;stroke:none}
.social-links a:nth-child(3) .cut{fill:#050403;stroke:none}
.social-links a:nth-child(4) svg{stroke-width:1.65}
.feature-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;width:100%}
.feature-card{position:relative;isolation:isolate;display:flex;align-items:flex-end;aspect-ratio:1/1.12;overflow:hidden;border:1px solid rgba(225,174,99,.9);border-radius:9px;color:#fff;text-decoration:none;background-color:#0a0705;box-shadow:inset 0 0 0 1px rgba(255,220,160,.08),0 5px 20px rgba(0,0,0,.25);transition:transform .24s ease,border-color .24s ease,box-shadow .24s ease}
.feature-card:before{content:'';position:absolute;inset:0;z-index:-2;background-image:url('assets/home-card-strip.png');background-repeat:no-repeat;background-size:auto 100%;filter:saturate(.93) brightness(.92);transition:transform .35s ease,filter .35s ease}
.feature-card.universe-card:before{background-position:left center}
.feature-card.about-card:before{background-position:center center}
.feature-card.work-card:before{background-position:right center}
.feature-card:after{content:'';position:absolute;inset:20% 0 0;z-index:-1;background:linear-gradient(180deg,transparent,rgba(0,0,0,.28) 30%,rgba(0,0,0,.92) 100%)}
.feature-card:hover{transform:translateY(-3px);border-color:#f1c889;box-shadow:0 8px 24px rgba(138,76,29,.28)}
.feature-card:hover:before{transform:scale(1.025);filter:saturate(1) brightness(1)}
.feature-card:active{transform:scale(.98)}
.feature-card>span{display:flex;flex-direction:column;width:100%;padding:12px 11px 13px;text-align:left}
.feature-card b{font:500 clamp(11px,3.35vw,23px)/1.05 var(--serif);letter-spacing:.02em;color:#f3cf93;white-space:nowrap}
.feature-card strong{margin-top:7px;font:400 clamp(12px,3.7vw,25px)/1.2 var(--serif);letter-spacing:.08em}
.feature-card small{margin-top:8px;font:300 clamp(7px,2.15vw,14px)/1.45 var(--sans);letter-spacing:.02em;white-space:nowrap}
.home-footer{text-align:center;padding:28px 0 0;color:#e0b370}
.home-footer p{margin:0;font:400 11px/1.4 var(--serif);letter-spacing:.34em;white-space:nowrap}
.home-footer p i{font-style:normal;padding:0 .45em}
.home-footer>span{display:block;width:41px;height:1px;margin:19px auto;background:#f4e9da}
.home-footer small{display:block;color:#f5efe8;font:300 9px/1 var(--sans);letter-spacing:.18em}
@keyframes home-enter{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}

@media(max-width:370px){
  .home-v2 .nav{height:68px}.home-content{width:min(100% - 20px,980px);padding-top:12px}
  .home-copy h1{font-size:44px}.home-signature{font-size:28px}.home-tagline{font-size:14px}
  .social-links{margin-top:125px;margin-bottom:18px;gap:20px}.social-links a{width:30px;height:30px}.social-links svg{width:24px;height:24px}
  .feature-cards{gap:6px}.feature-card>span{padding:9px 7px 10px}.feature-card b{font-size:10px}.feature-card strong{font-size:11px}.feature-card small{font-size:6.5px}
  .home-footer{padding-top:20px}.home-footer p{font-size:9px}
}
@media(min-width:700px){
  .home-v2 .nav{height:94px;padding-left:5vw;padding-right:5vw}.home-v2 .logo{font-size:38px}
  .home-content{padding-top:35px}.home-copy{margin-left:1vw}.home-eyebrow{font-size:13px}.home-tagline{font-size:21px}
  .social-links{margin-top:clamp(180px,24svh,340px)}.social-links svg{width:32px;height:32px}
  .feature-cards{gap:16px}.feature-card{border-radius:14px;aspect-ratio:1.08/1}.feature-card>span{padding:20px 22px 23px}.home-footer p{font-size:14px}
}
@media(prefers-reduced-motion:reduce){.home-content{animation:none}.feature-card,.feature-card:before,.social-links a{transition:none}}

/* Reference-match corrections: loaded fonts, original icon artwork, single baked-in card frame. */
.home-copy h1{font-family:'Bodoni Moda','Noto Serif TC',serif;color:#efc281}
.home-copy h1 em{font-family:'Bodoni Moda','Times New Roman',serif;color:#fff}
.home-signature{font-family:'Allura','Segoe Script',cursive;font-weight:400;letter-spacing:.005em}
.social-links a{width:38px;height:38px;background-image:url('assets/social-icons.png');background-repeat:no-repeat;background-size:auto 68px;background-position-y:center}
.social-links a svg{display:none}
.social-links a:nth-child(1){background-position-x:75%}
.social-links a:nth-child(2){background-position-x:25%}
.social-links a:nth-child(3){background-position-x:50%}
.social-links a:nth-child(4){background-position-x:0}
.social-links a:nth-child(5){background-position-x:100%}
.feature-card{aspect-ratio:1/1;border:0;border-radius:10px;box-shadow:none;background-color:transparent}
.feature-card:before{filter:none}
.feature-card:hover{border-color:transparent;box-shadow:0 8px 24px rgba(138,76,29,.2)}
.feature-card>span{padding:10px 10px 12px}
.feature-card b{font-size:clamp(10px,2.75vw,21px);letter-spacing:0}
.feature-card strong{font-size:clamp(11px,3vw,23px);letter-spacing:.04em;white-space:nowrap}
.feature-card small{font-size:clamp(6.5px,1.8vw,13px)}
@media(max-width:370px){.social-links a{width:34px;height:34px;background-size:auto 62px}.feature-card{aspect-ratio:1/1}.feature-card b{font-size:9px}.feature-card strong{font-size:10px}.feature-card small{font-size:6px}}
@media(min-width:700px){.feature-card{aspect-ratio:1/1}.feature-card>span{padding:17px 18px 20px}}

/* Compact social row for the updated LINE / TikTok / YouTube / Instagram / Facebook artwork. */
.social-links{gap:16px}
.social-links a{width:30px;height:30px;background-size:auto 56px}
@media(max-width:370px){.social-links{gap:13px}.social-links a{width:27px;height:27px;background-size:auto 52px}}
@media(min-width:700px){.social-links{gap:24px}.social-links a{width:34px;height:34px;background-size:auto 64px}}

/* Keep the home motion background visible beneath the WORK WITH ME overlay. */
.work-overlay,.work-overlay iframe{background:transparent}

/* WORK WITH ME keeps only the live hero video; home foreground exits and returns softly. */
.home-v2>.nav,.home-content{transition:opacity .48s ease,transform .68s cubic-bezier(.2,.72,.2,1),filter .48s ease}
body.work-open .home-v2>.nav,body.work-open .home-content{opacity:0;transform:translateY(-24px);filter:blur(5px);pointer-events:none}
@media(prefers-reduced-motion:reduce){.home-v2>.nav,.home-content{transition:none}body.work-open .home-v2>.nav,body.work-open .home-content{transform:none;filter:none}}

/* Black-gold glass navigation panel. */
.site-menu-backdrop{position:fixed;inset:0;z-index:88;visibility:hidden;opacity:0;background:rgba(4,3,2,.43);backdrop-filter:blur(9px) brightness(.62);transition:opacity .42s ease,visibility 0s linear .42s}
.site-menu-panel{position:fixed;z-index:89;top:86px;right:14px;width:min(calc(100% - 28px),390px);max-height:calc(100svh - 104px);overflow:auto;padding:25px 20px 30px;border:1px solid rgba(238,174,91,.9);border-radius:34px 8px 34px 34px;background:linear-gradient(145deg,rgba(25,16,10,.96),rgba(7,6,5,.97));box-shadow:0 0 28px rgba(219,109,26,.28),inset 0 0 45px rgba(168,86,30,.08);visibility:hidden;opacity:0;transform:translate(24px,-10px) scale(.98);transition:opacity .42s ease,transform .55s cubic-bezier(.2,.75,.16,1),visibility 0s linear .55s}
body.menu-open .site-menu-backdrop,body.menu-open .site-menu-panel{visibility:visible;opacity:1;transition-delay:0s}
body.menu-open .site-menu-panel{transform:none}
.site-menu-head{display:flex;align-items:flex-start;justify-content:space-between;padding:0 3px 20px}
.site-menu-head>div{display:flex;flex-direction:column}.site-menu-head b{font:400 37px/1 var(--serif);letter-spacing:.1em}.site-menu-head small{margin-top:8px;color:#ddc4a5;font-size:8px;letter-spacing:.38em}
.site-menu-close{position:relative;width:38px;height:38px;border:0;background:transparent}.site-menu-close span{position:absolute;left:7px;top:18px;width:27px;height:1px;background:#fff}.site-menu-close span:first-child{transform:rotate(45deg)}.site-menu-close span:last-child{transform:rotate(-45deg)}
.site-menu-links{display:flex;flex-direction:column}.site-menu-links a{position:relative;display:grid;grid-template-columns:52px 1px 1fr;align-items:center;gap:14px;min-height:78px;padding:10px 14px;color:#f7efe6;text-decoration:none;border-bottom:1px solid rgba(210,164,111,.18);transition:background .22s ease,box-shadow .22s ease,transform .22s ease}.site-menu-links a:before{content:'';grid-column:2;width:1px;height:38px;background:rgba(223,180,119,.62)}.site-menu-links a.active{margin-bottom:4px;border:1px solid #efb263;border-radius:42px;background:linear-gradient(110deg,rgba(225,139,51,.38),rgba(62,42,27,.56));box-shadow:0 0 17px rgba(255,151,55,.45),inset 0 0 20px rgba(255,196,107,.12)}
.site-menu-links a:hover{background:rgba(176,102,42,.13)}.site-menu-links a:active{transform:scale(.985)}.site-menu-links a[aria-disabled=true]{opacity:.68}
.site-menu-links svg{grid-column:1;width:35px;height:35px;justify-self:center;fill:none;stroke:#f1cd91;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.site-menu-links a>span{grid-column:3;display:flex;flex-direction:column}.site-menu-links b{font:400 22px/1.25 'Noto Serif TC',serif;letter-spacing:.08em}.site-menu-links small{margin-top:7px;color:#e0c29b;font-size:8px;letter-spacing:.38em}
@media(min-width:700px){.site-menu-panel{top:105px;right:5vw;width:460px;padding:34px 28px 42px}.site-menu-head b{font-size:45px}.site-menu-links a{min-height:92px;grid-template-columns:62px 1px 1fr}.site-menu-links b{font-size:27px}.site-menu-links svg{width:42px;height:42px}}
@media(prefers-reduced-motion:reduce){.site-menu-backdrop,.site-menu-panel,.site-menu-links a{transition:none}}

/* Compact mobile menu using the supplied six-icon artwork. */
.site-menu-panel{top:72px;right:12px;width:min(82vw,320px);max-height:calc(100svh - 86px);padding:18px 14px 22px;border-radius:26px 7px 26px 26px}
.site-menu-head{padding:0 2px 12px}.site-menu-head b{font-size:29px}.site-menu-head small{margin-top:5px;font-size:6.5px;letter-spacing:.3em}.site-menu-close{width:32px;height:32px}.site-menu-close span{left:6px;top:15px;width:22px}
.site-menu-links a{grid-template-columns:38px 1px 1fr;gap:10px;min-height:57px;padding:6px 9px}.site-menu-links a.active{border-radius:30px}.site-menu-links a:before{height:29px}.site-menu-links a:after{content:'';grid-column:1;grid-row:1;width:29px;height:29px;justify-self:center;background-image:url('assets/menu-icons.png');background-repeat:no-repeat;background-size:300% 200%}
.site-menu-links a:nth-child(1):after{background-position:0 0}.site-menu-links a:nth-child(2):after{background-position:50% 0}.site-menu-links a:nth-child(3):after{background-position:100% 0}.site-menu-links a:nth-child(4):after{background-position:0 100%}.site-menu-links a:nth-child(5):after{background-position:50% 100%}.site-menu-links a:nth-child(6):after{background-position:100% 100%}
.site-menu-links svg{display:none}.site-menu-links b{font-size:16px;letter-spacing:.06em}.site-menu-links small{margin-top:4px;font-size:6.5px;letter-spacing:.3em}
@media(max-width:370px){.site-menu-panel{width:min(84vw,300px);padding:15px 12px 18px}.site-menu-links a{min-height:52px}.site-menu-links b{font-size:15px}.site-menu-links a:after{width:26px;height:26px}}
@media(min-width:700px){.site-menu-panel{top:95px;right:5vw;width:390px;padding:26px 22px 32px}.site-menu-head b{font-size:38px}.site-menu-links a{min-height:72px;grid-template-columns:48px 1px 1fr}.site-menu-links a:after{width:36px;height:36px}.site-menu-links b{font-size:22px}.site-menu-links small{font-size:8px}}

/* Keep every menu icon, divider and label on one shared vertical centre line. */
.site-menu-links a{grid-template-rows:1fr}
.site-menu-links a:after{grid-row:1;align-self:center}
.site-menu-links a:before{grid-row:1;align-self:center}
.site-menu-links a>span{grid-row:1;align-self:center;justify-content:center}

/* LINE is rendered as a standalone mark so it stays complete and matches the other icons. */
.social-links a:nth-child(4){background-image:none}
.social-links a:nth-child(4) .line-icon{display:block;width:27px;height:27px;overflow:visible;fill:currentColor;stroke:none}
.social-links a:nth-child(4) .line-icon text{fill:#050403;font:700 5.15px/1 Arial,sans-serif;letter-spacing:-.18px}
@media(max-width:370px){.social-links a:nth-child(4) .line-icon{width:25px;height:25px}}
@media(min-width:700px){.social-links a:nth-child(4) .line-icon{width:30px;height:30px}}

/* Final supplied LINE artwork and slightly higher opening typography. */
.home-copy{position:relative;top:-18px}
.social-links a:nth-child(4){background-image:url('assets/line-icon.png');background-size:27px 27px;background-position:center;background-repeat:no-repeat}
.social-links a:nth-child(4) .line-icon{display:none}
@media(max-width:370px){.home-copy{top:-14px}.social-links a:nth-child(4){background-size:25px 25px}}
@media(min-width:700px){.home-copy{top:-22px}.social-links a:nth-child(4){background-size:30px 30px}}
@media(prefers-reduced-motion:reduce){.work-overlay{transition:none}}
