/* ══════════════════════════════════════════════
   LOCAL FONTS — @font-face（全部 woff2，2026-05-27 移除 biantiao 死 .ttf fallback）
   ══════════════════════════════════════════════ */
@font-face {
    font-family: 'SmileySans';
    src: url('../fonts/SmileySans-Oblique.ttf.woff2') format('woff2');
    font-display: swap;
}
@font-face {
    font-family: 'BianTiao';
    src: url('../fonts/biantiao.woff2') format('woff2');
    font-display: swap;
    font-style: normal;
}
/* LuoHei 絡黑體 — variable font，2026-05-18 從 atelier-anchor/luohei-variable 取得 LuoHeiVF.woff2 */
@font-face {
    font-family: 'LuoHei';
    src: url('../fonts/LuoHeiVF.woff2') format('woff2-variations'),
         url('../fonts/LuoHeiVF.woff2') format('woff2');
    font-display: swap;
    font-weight: 100 900;
    font-style: normal;
}
/* 芫荽 Iansui by ButTaiwan（即 Coriander，2026-05-18 從本地 TTF 用 fontTools 轉 WOFF2） */
@font-face {
    font-family: 'Coriander';
    src: url('../fonts/Iansui-Regular.woff2') format('woff2');
    font-display: swap;
}
/* jf 粉圓 OpenHuninn 2.0 by justfont（2026-05-18 從本地 TTF 用 fontTools 轉 WOFF2） */
@font-face {
    font-family: 'OpenHuninn';
    src: url('../fonts/jf-openhuninn-2.0.woff2') format('woff2');
    font-display: swap;
}
/* jf 粉圓 OpenHuninn 1.1（舊版，僅供回溯選用） */
@font-face {
    font-family: 'OpenHuninn1';
    src: url('../fonts/jf-openhuninn-1.1.woff2') format('woff2');
    font-display: swap;
}

:root {
    --font-hero_line1:   'BianTiao', 'Noto Sans TC', sans-serif;
    --font-hero_line2:   'BianTiao', 'Noto Sans TC', sans-serif;
    --font-hero_line3:   'BianTiao', 'Noto Sans TC', sans-serif;
    --font-hero_tagline: 'LuoHei', 'Noto Serif TC', serif;
    --font-nav_logo:     'BianTiao', 'Noto Sans TC', sans-serif;
    --font-body_text:    'Noto Serif TC', serif;
}

.walkup-homepage * { box-sizing: border-box; margin: 0; padding: 0; }
body.walkup-homepage {
    font-family: var(--font-body_text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* NAV */
#site-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 1rem 2.5rem;
    transition: background 0.35s ease, backdrop-filter 0.35s ease;
}
.nav-transparent { background: transparent; }
.nav-solid {
    background: rgba(8,8,8,0.88);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-inner {
    max-width: 1280px; margin: 0 auto;
    display: -webkit-box; display: -ms-flexbox; display: flex;
    -webkit-box-align: center; -ms-flex-align: center; align-items: center;
    -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between;
    gap: 2rem;
}
.nav-logo { font-family: var(--font-nav_logo); font-size: 1.1rem; color: #fff; text-decoration: none; opacity: 0; -webkit-transform: translateY(-4px); transform: translateY(-4px); transition: opacity 0.4s ease, -webkit-transform 0.4s ease; transition: opacity 0.4s ease, transform 0.4s ease; white-space: nowrap; min-width: 8ch; }
.nav-solid .nav-logo { opacity: 1; -webkit-transform: translateY(0); transform: translateY(0); }
.nav-menu { display: -webkit-box; display: -ms-flexbox; display: flex; list-style: none; gap: 2rem; }
.nav-menu a { color: rgba(255,255,255,0.85); text-decoration: none; font-size: 0.9rem; letter-spacing: 0.05em; -webkit-transition: color 0.2s; transition: color 0.2s; }
.nav-menu a:hover { color: #fff; }

/* HERO */
#hero {
    height: 100vh; min-height: 600px;
    background-size: cover; background-position: 85% center;
    background-repeat: no-repeat; background-color: #111;
    position: relative; display: -webkit-box; display: -ms-flexbox; display: flex;
    -webkit-box-align: center; -ms-flex-align: center; align-items: center;
}
@supports (min-height: 100dvh) { #hero { height: 100dvh; } }
#hero::before {
    content: ''; position: absolute; inset: 0;
    background: -webkit-linear-gradient(left, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.85) 35%, rgba(0,0,0,0.55) 55%, rgba(0,0,0,0.15) 72%, transparent 82%);
    background: linear-gradient(to right, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.85) 35%, rgba(0,0,0,0.55) 55%, rgba(0,0,0,0.15) 72%, transparent 82%);
    pointer-events: none;
}
.hero-text { position: relative; z-index: 1; padding-left: clamp(1.5rem,6vw,6rem); max-width: 70%; color: #fff; }
.hero-line1 { font-family: var(--font-hero_line1); font-size: clamp(2.4rem,4.8vw,4.8rem); line-height: 1.2; min-height: 1.3em; }
.hero-line2 { font-family: var(--font-hero_line2); font-size: clamp(2.4rem,4.8vw,4.8rem); line-height: 1.2; min-height: 1.3em; margin-top: 0.2em; }
.hero-line3 { font-family: var(--font-hero_line3); font-size: clamp(1.6rem,3.2vw,3.2rem); line-height: 1.2; margin-top: 0.4em; opacity: 0.92; }
.hero-tagline { font-family: var(--font-hero_tagline); font-size: clamp(0.8rem,1.1vw,1rem); letter-spacing: 0.18em; opacity: 0.75; margin-top: 1.4em; color: rgba(255,255,255,0.85); }
.cursor { display: inline-block; margin-left: 1px; -webkit-animation: cursor-blink 0.75s step-end infinite; animation: cursor-blink 0.75s step-end infinite; }
@-webkit-keyframes cursor-blink { 0%,100%{opacity:1} 50%{opacity:0} }
@keyframes cursor-blink { 0%,100%{opacity:1} 50%{opacity:0} }
.luohei-hint { position: fixed; bottom: 5rem; right: 1.5rem; font-size: 0.7rem; color: rgba(255,255,255,0.85); letter-spacing: 0.08em; pointer-events: none; z-index: 8889; opacity: 0; white-space: nowrap; background: rgba(0,0,0,0.55); padding: 4px 10px; border-radius: 6px; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); -webkit-transition: opacity 0.5s; transition: opacity 0.5s; }
@media (max-width: 768px) { .luohei-hint { bottom: 4rem; right: 1rem; font-size: 0.65rem; } }
.luohei-hint.visible { opacity: 1; }

/* HERO BUTTONS */
.hero-buttons { display: -webkit-box; display: -ms-flexbox; display: flex; gap: 1rem; margin-top: 2.25rem; -ms-flex-wrap: wrap; flex-wrap: wrap; }
.hero-btn { display: inline-block; padding: 0.75rem 1.75rem; font-size: 1rem; font-weight: 500; text-decoration: none; letter-spacing: 0.05em; -webkit-transition: all 0.3s ease; transition: all 0.3s ease; cursor: pointer; line-height: 1; }
.hero-btn-primary { background: rgba(255,255,255,0.95); color: #111; }
.hero-btn-primary:hover { background: #fff; -webkit-transform: translateY(-2px); transform: translateY(-2px); }
.hero-btn-outline { border: 1px solid rgba(255,255,255,0.65); color: rgba(255,255,255,0.9); background: transparent; }
.hero-btn-outline:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,0.08); -webkit-transform: translateY(-2px); transform: translateY(-2px); }

/* SCROLL INDICATOR */
.scroll-indicator { position: absolute; bottom: 2rem; left: 50%; -webkit-transform: translateX(-50%); transform: translateX(-50%); pointer-events: none; z-index: 5; }
.scroll-arrow { display: block; width: 2rem; height: 2rem; color: rgba(255,255,255,0.45); -webkit-animation: scroll-bounce 2.5s ease-in-out infinite; animation: scroll-bounce 2.5s ease-in-out infinite; }
@-webkit-keyframes scroll-bounce { 0%,100%{-webkit-transform:translateY(0);transform:translateY(0);opacity:0.4} 50%{-webkit-transform:translateY(8px);transform:translateY(8px);opacity:0.9} }
@keyframes scroll-bounce { 0%,100%{transform:translateY(0);opacity:0.4} 50%{transform:translateY(8px);opacity:0.9} }

/* 全頁分區 */
html { scroll-behavior: smooth; }
.fp-section {
    min-height: 100vh;
    display: -webkit-box; display: -ms-flexbox; display: flex;
    -webkit-box-align: center; -ms-flex-align: center; align-items: center;
    padding: 6rem 8vw; position: relative;
    background: #111; color: #fff; -webkit-box-sizing: border-box; box-sizing: border-box; gap: 4rem;
}
@supports (min-height: 100dvh) { .fp-section { min-height: 100dvh; } }

/* CAREER SECTION */
.career-section { background: #0e0e0e; -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; -webkit-box-align: center; -ms-flex-align: center; align-items: center; }
.career-left { -webkit-box-flex: 1; -ms-flex: 1 1 50%; flex: 1 1 50%; min-width: 280px; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; }
.career-text { -webkit-box-flex: 0; -ms-flex: 0 0 auto; flex: 0 0 auto; width: min(520px, 46%); min-width: 240px; text-align: left; }
.career-text p { margin: 0 0 0.2rem; line-height: 1.25; font-weight: 700; color: #fff; }
.career-line1 { font-size: clamp(1.4rem,3vw,2.2rem);   font-family: BianTiao,'Noto Sans TC',sans-serif; font-weight: 400 !important; }
.career-line2 { font-size: clamp(1.7rem,3.8vw,2.8rem); font-family: BianTiao,'Noto Sans TC',sans-serif; font-weight: 400 !important; }
.career-line3 { font-size: clamp(1.2rem,2.6vw,2rem);   font-family: BianTiao,'Noto Sans TC',sans-serif; font-weight: 400 !important; color: rgba(255,255,255,0.75); }
.career-line4 { font-size: clamp(0.85rem,1.8vw,1.1rem); color: rgba(255,255,255,0.5); font-family: LuoHei,sans-serif; font-weight: 400; letter-spacing: 0.05em; margin-top: 0.5rem; }

/* SHOWCASE CAROUSEL */
.career-showcase { width: 100%; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; gap: 0.75rem; }
.sc-wrapper { -webkit-box-flex: 1; -ms-flex: 1; flex: 1; overflow: hidden; position: relative; }
.sc-track { display: -webkit-box; display: -ms-flexbox; display: flex; gap: 0.75rem; will-change: transform; }
.sc-item {
    -ms-flex-negative: 0; flex-shrink: 0;
    width: 100%; min-width: 100%;
    aspect-ratio: 16/10;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    position: relative; overflow: hidden; cursor: pointer;
}
.sc-item img,.sc-item video { width: 100%; height: 100%; -o-object-fit: cover; object-fit: cover; display: block; -webkit-transition: -webkit-transform 0.35s ease; transition: -webkit-transform 0.35s ease; transition: transform 0.35s ease; }
.sc-item:hover img,.sc-item:hover video { -webkit-transform: scale(1.04); transform: scale(1.04); }
.sc-overlay {
    position: absolute; inset: 0;
    background: -webkit-linear-gradient(bottom, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.25) 50%, transparent 75%);
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.25) 50%, transparent 75%);
    display: -webkit-box; display: -ms-flexbox; display: flex;
    -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column;
    -webkit-box-pack: end; -ms-flex-pack: end; justify-content: flex-end;
    -webkit-box-align: start; -ms-flex-align: start; align-items: flex-start;
    padding: 1rem 1.1rem; -webkit-transition: background 0.3s ease; transition: background 0.3s ease;
}
.sc-item:hover .sc-overlay { background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.35) 55%, rgba(0,0,0,0.08) 80%); }
.sc-title { color: #fff; font-size: 0.9rem; font-weight: 600; letter-spacing: 0.06em; text-shadow: 0 1px 4px rgba(0,0,0,0.8); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.sc-count { display: inline-block; margin-top: 0.3rem; background: rgba(255,255,255,0.2); color: rgba(255,255,255,0.85); font-size: 0.7rem; padding: 0.15rem 0.45rem; border-radius: 20px; letter-spacing: 0.04em; }
.showcase-arrow { -ms-flex-negative: 0; flex-shrink: 0; background: transparent; border: 1px solid rgba(255,255,255,0.25); color: rgba(255,255,255,0.6); width: 2.4rem; height: 2.4rem; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; cursor: pointer; -webkit-transition: all 0.25s; transition: all 0.25s; padding: 0; }
.showcase-arrow:hover { border-color: rgba(255,255,255,0.7); color: #fff; }
.showcase-arrow svg { width: 1.1rem; height: 1.1rem; }

/* RESUME */
.resume-section { -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; background: #161616; text-align: center; }
.resume-content { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; -webkit-box-align: center; -ms-flex-align: center; align-items: center; gap: 2rem; }
.resume-text { font-size: clamp(1.1rem,2.5vw,1.7rem); color: rgba(255,255,255,0.8); margin: 0; letter-spacing: 0.03em; line-height: 1.6; }
.resume-download-btn { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; width: 4rem; height: 4rem; border: 1.5px solid rgba(255,255,255,0.35); border-radius: 50%; color: rgba(255,255,255,0.6); -webkit-transition: all 0.3s; transition: all 0.3s; text-decoration: none; }
.resume-download-btn:hover { border-color: #fff; color: #fff; -webkit-transform: translateY(4px); transform: translateY(4px); background: rgba(255,255,255,0.05); }
.resume-download-btn svg { width: 1.75rem; height: 1.75rem; }
/* 第三畫面背景影片（桌機並排 / 手機單支） */
.resume-section.has-bg-video { position: relative; overflow: hidden; }
.resume-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: -webkit-box; display: -ms-flexbox; display: flex; z-index: 0; }
.resume-bg-video { -webkit-box-flex: 1; -ms-flex: 1 1 0px; flex: 1 1 0; width: 0; height: 100%; -o-object-fit: cover; object-fit: cover; display: block; }
.resume-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.40); z-index: 1; }
/* 網點覆蓋（halftone）：小圓點規則覆蓋讓影片印刷化、不突兀 */
.resume-overlay::after { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: radial-gradient(circle, rgba(0,0,0,0.75) 0.9px, transparent 1.3px); background-size: 4px 4px; pointer-events: none; }
.resume-section.has-bg-video .resume-content { position: relative; z-index: 2; }
/* 手機：只顯示第二支（中間那支）背景影片；只有一支時退回顯示該支 */
@media (max-width: 768px) { .resume-bg-video { display: none; } .resume-bg-video:nth-child(2), .resume-bg-video:only-child { display: block; } }

/* CONTACT */
.contact-section { -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; background: #0d0d0d; }
.contact-content { width: 100%; max-width: 520px; }
.contact-title { font-size: clamp(1.8rem,4vw,3rem); font-weight: 700; margin: 0 0 2rem; }
.contact-form { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; gap: 1.2rem; }
.contact-section .form-group input,
.contact-section .form-group textarea {
    width: 100%; -webkit-box-sizing: border-box; box-sizing: border-box;
    background: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    color: #fff !important; -webkit-text-fill-color: #fff !important;
    padding: 0.85rem 1.1rem; font-size: 1rem; outline: none; font-family: inherit;
}
.contact-section .form-group input::-webkit-input-placeholder,
.contact-section .form-group textarea::-webkit-input-placeholder { color: rgba(255,255,255,0.35) !important; opacity: 1 !important; }
.contact-section .form-group input::-moz-placeholder,
.contact-section .form-group textarea::-moz-placeholder { color: rgba(255,255,255,0.35) !important; opacity: 1 !important; }
.contact-section .form-group input::placeholder,
.contact-section .form-group textarea::placeholder { color: rgba(255,255,255,0.35) !important; opacity: 1 !important; }
.contact-section .form-group input:focus,
.contact-section .form-group textarea:focus { background: rgba(255,255,255,0.07) !important; border-color: rgba(255,255,255,0.5) !important; outline: none !important; -webkit-box-shadow: none !important; box-shadow: none !important; }
.contact-section .form-group textarea { resize: vertical; min-height: 7.5rem; }
.form-submit { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; gap: 1.5rem; -ms-flex-wrap: wrap; flex-wrap: wrap; }
.submit-btn { padding: 0.8rem 2.5rem; background: #fff; color: #111; font-size: 1rem; font-weight: 600; border: none; cursor: pointer; letter-spacing: 0.05em; -webkit-transition: all 0.3s; transition: all 0.3s; }
.submit-btn:hover { background: rgba(255,255,255,0.88); -webkit-transform: translateY(-2px); transform: translateY(-2px); }
.form-status { font-size: 0.88rem; margin: 0; color: rgba(255,255,255,0.55); }

/* FOOTER / MAIN */
#main-content { max-width: 1100px; margin: 0 auto; padding: 5rem 2rem; }
#site-footer { background: #0a0a0a; color: rgba(255,255,255,0.45); font-size: 0.8rem; letter-spacing: 0.05em; }
.footer-inner { max-width: 1280px; margin: 0 auto; padding: 2rem 2.5rem; text-align: center; }

/* LIGHTBOX — 多圖版 */
.wlb-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,0.92); z-index: 9999;
    -webkit-box-align: center; -ms-flex-align: center; align-items: center;
    -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center;
    padding: 2rem; -webkit-box-sizing: border-box; box-sizing: border-box;
}
.wlb-wrap { position: relative; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; -webkit-box-align: center; -ms-flex-align: center; align-items: center; gap: 1rem; flex: 1 1 0; min-width: 0; max-width: min(86vw, 1200px); }
.wlb-close { position: absolute; top: -2.75rem; right: 0; background: transparent; border: none; color: rgba(255,255,255,0.6); font-size: 1.4rem; cursor: pointer; padding: 0.25rem 0.5rem; line-height: 1; -webkit-transition: color 0.2s; transition: color 0.2s; }
.wlb-close:hover { color: #fff; }
.wlb-media img,.wlb-media video { display: block; max-width: 100%; max-height: 80vh; -o-object-fit: contain; object-fit: contain; }
.wlb-inner { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; gap: 0.75rem; }
.wlb-nav {
    -webkit-flex-shrink: 0; -ms-flex-negative: 0; flex-shrink: 0;
    background: rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.25);
    color: rgba(255,255,255,0.7); font-size: 1.8rem; line-height: 1;
    width: 2.8rem; height: 2.8rem;
    display: -webkit-box; display: -ms-flexbox; display: flex;
    -webkit-box-align: center; -ms-flex-align: center; align-items: center;
    -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center;
    cursor: pointer; -webkit-transition: all 0.2s; transition: all 0.2s;
    padding: 0; border-radius: 50%;
}
.wlb-nav:hover { background: rgba(0,0,0,0.75); color: #fff; border-color: rgba(255,255,255,0.6); }
.wlb-dots { display: -webkit-box; display: -ms-flexbox; display: flex; gap: 0.5rem; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -ms-flex-wrap: wrap; flex-wrap: wrap; }
.wlb-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.3); border: none; cursor: pointer; padding: 0; -webkit-transition: background 0.2s, -webkit-transform 0.2s; transition: background 0.2s, -webkit-transform 0.2s; transition: background 0.2s, transform 0.2s; }
.wlb-dot.active,.wlb-dot:hover { background: rgba(255,255,255,0.9); -webkit-transform: scale(1.25); transform: scale(1.25); }
.wlb-cap { margin: 0; color: rgba(255,255,255,0.55); font-size: 0.82rem; letter-spacing: 0.04em; text-align: center; font-family: LuoHei,'Noto Sans TC',sans-serif; }

/* RWD 手機 */
@media (max-width: 768px) {
    #site-nav { padding: 0.85rem 1.25rem; }
    /* 手機：完整展示人物臉部與身體，標題與按鈕推到底部 */
    #hero { background-position: center top !important; background-size: auto 100vh !important; background-repeat: no-repeat !important; -webkit-box-align: end; -ms-flex-align: end; align-items: flex-end; padding-bottom: 6vh; padding-top: 0; }
    /* 標題下半暗、人物上半亮 */
    #hero::before { background: -webkit-linear-gradient(top, transparent 0%, rgba(0,0,0,0.05) 35%, rgba(0,0,0,0.30) 55%, rgba(0,0,0,0.70) 75%, rgba(0,0,0,0.92) 100%); background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.05) 35%, rgba(0,0,0,0.30) 55%, rgba(0,0,0,0.70) 75%, rgba(0,0,0,0.92) 100%); }
    .hero-text { padding-left: 1.5rem; padding-right: 1.5rem; max-width: 100%; }
    .hero-line1,.hero-line2 { font-size: clamp(1.9rem,8vw,2.6rem); }
    .hero-line3 { font-size: clamp(1.3rem,5.5vw,1.8rem); }
    .hero-tagline { font-size: 0.78rem; letter-spacing: 0.12em; }
    .hero-btn { padding: 0.65rem 1.2rem; font-size: 0.9rem; }
    .nav-menu { gap: 1.2rem; }
    .nav-menu a { font-size: 0.8rem; }
    .fp-section { -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; padding: 5rem 6vw; gap: 2rem; }
    .career-section { -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; }
    .career-text { order: 1; width: 100%; min-width: 0; }
    .career-left { order: 2; width: 100%; -webkit-box-flex: 0; -ms-flex: none; flex: none; min-width: 0; }
    .sc-item { min-width: 100% !important; }
    .wlb-prev { left: -2.2rem; }
    .wlb-next { right: -2.2rem; }

    /* 手機版 Career 文字縮小，防止換行 */
    .career-line1 { font-size: clamp(1.15rem,5.5vw,1.6rem); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .career-line2 { font-size: clamp(1.3rem,6vw,1.8rem);   white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .career-line3 { font-size: clamp(1rem,4.5vw,1.4rem);   white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

    /* Resume 垂直居中 */
    .resume-section { -webkit-box-align: center; -ms-flex-align: center; align-items: center; }
    .resume-content { gap: 2.5rem; }
    .resume-text { font-size: clamp(1rem,4.5vw,1.4rem); }
    .resume-download-btn { width: 5rem; height: 5rem; }
    .resume-download-btn svg { width: 2rem; height: 2rem; }

    /* Contact 垂直居中 */
    .contact-content { max-width: 100%; }
}
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-text { max-width: 60%; }
    .hero-line1,.hero-line2 { font-size: clamp(2rem,4vw,3.4rem); }
    .hero-line3 { font-size: clamp(1.4rem,2.8vw,2.4rem); }
    .career-text { width: min(440px,46%); }
}

/* ── Mic Button ─────────────────────────────────────── */
#walkup-mic-btn {
    position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 8888;
    width: 3rem; height: 3rem; border-radius: 50%;
    background: rgba(255,255,255,0.95); border: 1px solid rgba(255,255,255,0.6);
    color: #111;
    display: -webkit-box; display: -ms-flexbox; display: flex;
    -webkit-box-align: center; -ms-flex-align: center; align-items: center;
    -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center;
    cursor: pointer; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.45), 0 0 0 4px rgba(255,255,255,0.08);
    -webkit-transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s; transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
    padding: 0;
}
#walkup-mic-btn:hover { background: #fff; color: #000; border-color: rgba(255,255,255,1); -webkit-transform: translateY(-2px) scale(1.05); transform: translateY(-2px) scale(1.05); }
#walkup-mic-btn.wlb-mic-on { background: rgba(220,60,60,0.95); color: #fff; border-color: rgba(255,200,200,0.8); box-shadow: 0 4px 14px rgba(220,60,60,0.55), 0 0 0 4px rgba(220,60,60,0.18); }
#walkup-mic-btn svg { pointer-events: none; }
@media (max-width: 768px) { #walkup-mic-btn { bottom: 1rem; right: 1rem; width: 2.5rem; height: 2.5rem; } }
/* ── Nav logo mark（品牌 CIS 動畫，JS 驅動 2026-06-17）── */
.nav-logo { display: -webkit-inline-box; display: -ms-inline-flexbox; display: inline-flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; gap: 0.5rem; }
.nav-logo-mark { height: 1.6rem; width: auto; -ms-flex: 0 0 auto; flex: 0 0 auto; display: block; position: relative; top: 0; }
@media (max-width: 768px) { .nav-logo-mark { height: 1.45rem; } }
