:root {
  --bg: #FFFFFF;
  --ink: #111111;
  --muted: #555555;
  --line: #111111;
  --soft: #F4F4F2;
  --gold: #E6BD79;
  --on-ink: #FFFFFF;
  --on-ink-dim: #B5B5B5;
  --sans: "Noto Sans TC", "PingFang TC", "Noto Sans CJK TC", "Microsoft JhengHei", sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1240px;
  --ease: cubic-bezier(.2,.7,.2,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 1rem; line-height: 1.8; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 300; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.measure { max-width: 40em; }

/* ---------- 進場：Logo 上下合體，再上下分開 ---------- */
.intro { position: fixed; inset: 0; z-index: 200; cursor: pointer; overflow: hidden; }
.intro-panel {
  position: absolute; left: 0; right: 0; height: 50.5%;
  background: var(--ink);
  animation: .95s cubic-bezier(.7,0,.2,1) 2.5s forwards;
}
.intro-panel.p-top { top: 0; animation-name: panelUp; }
.intro-panel.p-bot { bottom: 0; animation-name: panelDown; }
.intro-stage {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
}
.intro-logo { width: clamp(110px, 16vw, 168px); color: #E6BD79; overflow: visible; }
.intro-logo .half-a { transform: translateY(-55vh); opacity: 0; animation: aIn 1.15s cubic-bezier(.16,1,.3,1) .2s forwards, aOut .95s cubic-bezier(.7,0,.2,1) 2.5s forwards; }
.intro-logo .half-b { transform: translateY(55vh); opacity: 0; animation: bIn 1.15s cubic-bezier(.16,1,.3,1) .2s forwards, bOut .95s cubic-bezier(.7,0,.2,1) 2.5s forwards; }
.intro-text { text-align: center; opacity: 0; animation: fadeIn .7s var(--ease) 1.3s forwards, fadeOut .4s var(--ease) 2.4s forwards; }
.intro-name { font-family: var(--serif); font-weight: 600; font-size: clamp(26px, 3.6vw, 36px); letter-spacing: .4em; text-indent: .4em; color: var(--on-ink); margin: 0; line-height: 1.3; }
.intro-role { font-size: var(--step--1); letter-spacing: .2em; color: var(--on-ink-dim); margin: 10px 0 0; }
@keyframes aIn { to { transform: translateY(0); opacity: 1; } }
@keyframes bIn { to { transform: translateY(0); opacity: 1; } }
@keyframes aOut { from { transform: translateY(0); opacity: 1; } to { transform: translateY(-60vh); opacity: 1; } }
@keyframes bOut { from { transform: translateY(0); opacity: 1; } to { transform: translateY(60vh); opacity: 1; } }
@keyframes panelUp { to { transform: translateY(-101%); } }
@keyframes panelDown { to { transform: translateY(101%); } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes fadeOut { from { opacity: 1; } to { opacity: 0; } }
.intro { animation: introGone 0s linear 3.5s forwards; }
@keyframes introGone { to { visibility: hidden; } }
.intro-seen .intro, .intro.done { display: none; }


/* ---------- 頁首 ---------- */
.top { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 2px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 72px; max-width: none; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-logo { width: 22px; height: 30px; color: var(--ink); }
.brand-name { font-weight: 900; font-size: 1.05rem; letter-spacing: .04em; }
.brand-name span { font-weight: 700; margin-left: 6px; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-size: .95rem; padding: 4px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--ink); }
.btn { display: inline-block; text-decoration: none; font-weight: 700; font-size: .95rem; padding: 13px 24px; border: 2px solid var(--ink); transition: background .2s, color .2s; }
.btn-solid { background: var(--ink); color: #fff; }
.btn-solid:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn-line:hover { background: var(--ink); color: #fff; }
.top .btn { padding: 9px 18px; }
.top .btn[aria-current="page"] { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.tag { display: inline-block; background: var(--gold); color: var(--ink); font-weight: 700; font-size: .9rem; padding: 5px 12px; }

/* ---------- 首頁主視覺（雜誌封面） ---------- */
.hero { display: grid; grid-template-columns: minmax(300px, 34%) 1fr; border-bottom: 2px solid var(--line); min-height: calc(100vh - 72px); }
.hero-photo { border-right: 2px solid var(--line); overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.hero-body { padding: clamp(36px, 5vw, 64px) var(--gutter) 0; display: flex; flex-direction: column; }
.hero h1 { font-size: clamp(72px, 11vw, 168px); font-weight: 900; line-height: .95; letter-spacing: -.02em; margin: 28px 0 0; }
.hero h1 small { font-size: .22em; font-weight: 700; letter-spacing: .04em; margin-left: .3em; vertical-align: .2em; }
.hero-claim { font-size: clamp(24px, 2.6vw, 36px); font-weight: 700; line-height: 1.4; margin: 24px 0 0; }
.hero-lead { color: var(--muted); max-width: 36em; margin: 18px 0 0; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 40px; }
.hero-nums { list-style: none; margin: auto 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 2px solid var(--line); }
.hero-nums li { padding: 20px 12px 26px 0; display: flex; flex-direction: column; }
.hero-nums span { font-size: .85rem; color: var(--muted); }
.hero-nums strong { font-size: clamp(26px, 2.6vw, 40px); font-weight: 900; line-height: 1.15; }
.hero-nums small { font-size: .9rem; font-weight: 500; margin-left: 3px; }

/* ---------- 區塊共用 ---------- */
section.block { padding: clamp(56px, 8vw, 104px) 0; }
section.block + section.block { padding-top: 0; }
.block h2 { font-size: clamp(28px, 3.4vw, 44px); font-weight: 900; line-height: 1.25; margin: 0 0 clamp(24px, 3vw, 40px); padding-top: 18px; border-top: 2px solid var(--line); }
.block h3, h2.h3 { font-size: 1.2rem; font-weight: 700; line-height: 1.5; margin: 0 0 8px; padding: 0; border: 0; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; border-top: 2px solid var(--line); padding-top: 18px; margin-bottom: clamp(24px, 3vw, 40px); }
.section-head h2 { border: 0; padding: 0; margin: 0; }
.more { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--gold); }
.more:hover { background: var(--gold); }
.summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-left: 1px solid #ddd; }
.summary > div { padding: 4px 24px 8px; border-right: 1px solid #ddd; }
.summary > div:first-child { padding-left: 0; } .summary { border-left: 0; }
.summary p { margin: 0; color: var(--muted); }

/* ---------- 內頁頁首 ---------- */
.page-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(28px, 4vw, 48px); }
.page-hero h1 { font-size: clamp(44px, 6vw, 80px); font-weight: 900; line-height: 1.1; letter-spacing: -.01em; margin: 0 0 18px; }
.page-hero p { margin: 0; max-width: 40em; font-size: 1.15rem; color: var(--muted); }
.page-hero .sub { margin-top: 8px; font-size: .95rem; }

/* 關於 */
.about-grid { display: grid; grid-template-columns: 340px 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.portrait { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border: 2px solid var(--line); }
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-text p { margin: 0 0 1.1em; font-size: 1.08rem; }

/* 數字（內頁） */
.numbers { background: var(--soft); padding: clamp(32px, 5vw, 56px) 0; }
.numbers ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.numbers li { display: flex; flex-direction: column; }
.numbers span { font-size: .85rem; color: var(--muted); }
.numbers strong { font-size: clamp(26px, 2.6vw, 38px); font-weight: 900; line-height: 1.2; }
.numbers strong small { font-size: .9rem; font-weight: 500; margin-left: 3px; }

/* 專業領域 */
.field { display: grid; grid-template-columns: minmax(220px, 340px) 1fr; gap: clamp(20px, 4vw, 56px); padding: 32px 0; border-top: 2px solid var(--line); }
.field:last-child { border-bottom: 2px solid var(--line); }
.field h2.h3, .field h3 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 900; }
.field p { margin: 0; max-width: 36em; }

/* 服務 */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--line); border-bottom: 2px solid var(--line); }
.service { display: flex; flex-direction: column; gap: 14px; padding: 28px 28px 32px; border-right: 1px solid #ccc; }
.service:first-child { padding-left: 0; } .service:last-child { border-right: 0; padding-right: 0; }
.service-head h2 { font-size: 1.5rem !important; font-weight: 900; border: 0; padding: 0; margin: 0 !important; }
.service dl { margin: 0; display: grid; gap: 8px; }
.service dt { font-size: .85rem; font-weight: 700; color: var(--muted); }
.service dd { margin: 0 0 6px; }
.service .btn { align-self: flex-start; margin-top: auto; }

/* 經歷 */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 150px 1fr; gap: 28px; padding: 22px 0; border-top: 1px solid #ccc; }
.timeline li:first-child { border-top: 0; }
.timeline time { font-weight: 900; font-size: 1.15rem; }
.timeline p { margin: 0; color: var(--muted); }
.phases h3 { margin-bottom: 4px; }
.name-group { margin-top: clamp(28px, 4vw, 44px); }
.name-group > p { margin: 0 0 14px; color: var(--muted); }
.name-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.name-grid li { padding: 18px 12px; text-align: center; font-weight: 500; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.name-grid-note { margin-top: 12px; font-size: .85rem; color: var(--muted); }
.role-list { margin: 0; }
.role-list > div { display: grid; grid-template-columns: minmax(180px, 280px) 1fr; gap: 24px; padding: 14px 0; border-top: 1px solid #ccc; }
.role-list > div:last-child { border-bottom: 1px solid #ccc; }
.role-list dt { font-weight: 700; }
.role-list dd { margin: 0; }
.name-group ul:not([class]) { margin: 0; padding-left: 1.2em; }

/* 文章 */
.articles { list-style: none; margin: 0; padding: 0; }
.articles li { border-top: 1px solid #ccc; }
.articles li:last-child { border-bottom: 1px solid #ccc; }
.articles a { display: grid; grid-template-columns: 150px 1fr; gap: 24px; padding: 22px 0; text-decoration: none; }
.articles h3, .articles h2.h3 { margin: 0; font-size: 1.2rem; font-weight: 700; }
.articles a:hover h3, .articles a:hover h2 { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; }
.articles .src { font-size: .85rem; color: var(--muted); }

/* 聯絡 */
.contact { background: var(--ink); color: #fff; }
.contact h1 { color: #fff; }
.contact .mail { display: inline-block; font-size: clamp(32px, 6vw, 72px); font-weight: 900; text-decoration: none; border-bottom: 4px solid var(--gold); line-height: 1.3; margin-top: 8px; }
.contact .mail:hover { color: var(--gold); }
.contact-btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 40px 0 28px; }
.contact .btn { border-color: #fff; color: #fff; }
.contact .btn:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.contact .note { color: var(--on-ink-dim); }

/* 底部橫幅、頁尾 */
.cta-band { background: var(--ink); color: #fff; padding: clamp(48px, 7vw, 88px) 0; }
.cta-band .wrap { display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; justify-content: space-between; }
.cta-band .claim { display: flex; flex-direction: column; gap: 8px; }
.cta-band .claim p { margin: 0; font-size: clamp(24px, 3vw, 38px); font-weight: 900; line-height: 1.35; }
.cta-band .claim small { color: var(--on-ink-dim); font-size: .95rem; }
.cta-band .btn { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.cta-band .btn:hover { background: #fff; border-color: #fff; }
footer { background: var(--ink); color: var(--on-ink-dim); border-top: 1px solid #333; padding: 24px 0; font-size: .85rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; }
.social { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid currentColor; border-radius: 50%; transition: background .2s, color .2s; }
.social a:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.social svg { width: 18px; height: 18px; }
.foot-links { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.contact .social { margin-top: 14px; }

/* ---------- 手機 ---------- */
@media (max-width: 900px) {
  .top .wrap { flex-wrap: wrap; height: auto; padding-top: 12px; padding-bottom: 8px; gap: 10px; }
  .top .btn { margin-left: auto; }
  .nav { order: 3; width: 100%; margin: 0; flex-wrap: wrap; gap: 4px 18px; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-photo { border-right: 0; border-bottom: 2px solid var(--line); aspect-ratio: 4 / 3; }
  .hero-nums { grid-template-columns: repeat(2, 1fr); }
  .summary { grid-template-columns: 1fr; }
  .summary > div { padding: 16px 0; border-right: 0; border-bottom: 1px solid #ddd; }
  .about-grid { grid-template-columns: 1fr; }
  .portrait { max-width: 320px; }
  .numbers ul { grid-template-columns: repeat(2, 1fr); }
  .field { grid-template-columns: 1fr; gap: 8px; }
  .services { grid-template-columns: 1fr; }
  .service { padding: 24px 0; border-right: 0; border-bottom: 1px solid #ccc; }
  .service:last-child { border-bottom: 0; }
  .timeline li, .articles a, .role-list > div { grid-template-columns: 1fr; gap: 4px; }
  .name-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .intro { display: none; }
}
.hero-nums strong { font-size: clamp(22px, 2.1vw, 34px); white-space: nowrap; }
.hero-nums small { font-size: .8rem; }
.page-hero + section.block { padding-top: clamp(16px, 2vw, 24px); }
.page-hero { border-bottom: 2px solid var(--line); margin-bottom: clamp(24px, 3vw, 40px); }
.hero-body .tag { align-self: flex-start; }

/* ===== 2026-10-15 v3：首頁電影海報風格＋深色頁首條 ===== */
:root { --night: #1B1D1F; --night-2: #232528; --night-text: #E9E7E2; --night-dim: #BDB8AF; --serif: "Noto Serif TC", "Noto Serif CJK TC", "Songti TC", serif; }
.top { background: var(--night); color: var(--night-text); border-bottom: 1px solid #2E3033; }
.brand-logo { color: var(--gold); }
.nav a { color: var(--night-dim); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--night-text); border-bottom-color: var(--gold); }
.top .btn { background: var(--gold); border-color: var(--gold); color: var(--night); }
.top .btn:hover, .top .btn[aria-current="page"] { background: transparent; color: var(--gold); }

.hero-c { position: relative; display: block; min-height: calc(100vh - 72px); max-height: 980px; background: var(--night); color: var(--night-text); overflow: hidden; border: 0; }
.hero-bg { position: absolute; top: 0; right: 0; width: 62%; height: 100%; object-fit: cover; object-position: center 12%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, var(--night) 38%, rgba(27,29,31,.55) 62%, rgba(27,29,31,.08)); }
.hero-inner { position: relative; z-index: 1; padding-top: clamp(80px, 16vh, 180px); padding-bottom: 120px; max-width: var(--max); }
.eyebrow { display: flex; align-items: center; gap: 14px; color: var(--gold); font-size: .95rem; margin: 0; }
.eyebrow i { width: 48px; height: 1px; background: var(--gold); flex: none; }
.hero-c h1 { font-family: var(--serif); font-weight: 900; font-size: clamp(36px, 4.8vw, 68px); line-height: 1.3; letter-spacing: 0; margin: 26px 0 0; max-width: 14em; }
.hero-c .hero-lead { color: var(--night-dim); font-size: clamp(1rem, 1.3vw, 1.2rem); max-width: 28em; margin-top: 28px; }
.hero-c .hero-actions { margin: 40px 0 0; }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--night); }
.btn-gold:hover { background: transparent; color: var(--gold); }
.btn-ghost { border-color: var(--gold); color: var(--gold); }
.btn-ghost:hover { background: var(--gold); color: var(--night); }
.hero-vname { position: absolute; right: var(--gutter); bottom: 56px; z-index: 1; margin: 0; writing-mode: vertical-rl; font-family: var(--serif); font-size: 30px; letter-spacing: .5em; color: var(--night-text); }
.hero-band { background: var(--night-2); color: var(--night-text); }
.hero-band .hero-nums { border-top: 0; margin: 0; }
.hero-band .hero-nums span { color: var(--night-dim); }
.hero-band .hero-nums strong { color: var(--night-text); }
.hero-band .hero-nums small { color: var(--night-dim); }

/* 標題改用襯線，呼應首頁 */
.page-hero h1, .block h2, .section-head h2, .cta-band .claim p, .contact h1 { font-family: var(--serif); font-weight: 900; }

@media (max-width: 900px) {
  .hero-c { min-height: 0; max-height: none; }
  .hero-bg { position: relative; width: 100%; height: auto; aspect-ratio: 4 / 3; object-position: center 15%; }
  .hero-shade { top: auto; height: 40%; bottom: auto; top: calc(75vw - 40%); background: linear-gradient(0deg, var(--night), transparent); display: none; }
  .hero-inner { padding-top: 32px; padding-bottom: 48px; }
  .hero-vname { display: none; }
  .nav a { color: var(--night-dim); }
}
@media (max-width: 900px) { .hero-c h1 { font-size: 29px; } .eyebrow i { width: 24px; } }
