:root {
  --bg: #09070d;
  --surface: #121019;
  --ink: #f7f3fb;
  --muted: #aaa2b1;
  --line: rgba(255,255,255,.14);
  --hot: #e849ff;
  --warm: #ff835c;
  --page: min(1180px, calc(100% - 48px));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: "Noto Sans TC", sans-serif; font-size: 16px; line-height: 1.7; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.site-header { position: fixed; inset: 0 0 auto; z-index: 20; height: 78px; display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 0 max(24px, calc((100vw - 1180px)/2)); color: white; background: rgba(9,7,13,.88); border-bottom: 1px solid rgba(255,255,255,.1); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.brand { display: flex; align-items: center; gap: 12px; font: 700 .86rem/1 "Space Grotesk", sans-serif; letter-spacing: .12em; }
.brand-mark { display: grid; place-items: center; width: 34px; aspect-ratio: 1; border: 1px solid currentColor; border-radius: 50%; }
nav { display: flex; align-items: center; gap: 30px; font-size: .88rem; font-weight: 600; }
nav a { transition: opacity .2s ease; }
nav a:hover { opacity: .68; }
.nav-cta { border-bottom: 1px solid currentColor; }
.hero { min-height: 760px; height: 100svh; position: relative; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.hero-art, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-art { z-index: -2; width: 112%; max-width: none; object-fit: cover; object-position: center 43%; animation: reveal 1.2s cubic-bezier(.2,.8,.2,1) both; }
.hero-shade { z-index: -1; background: linear-gradient(90deg, rgba(9,7,13,.99) 0%, rgba(9,7,13,.94) 30%, rgba(9,7,13,.68) 46%, rgba(9,7,13,.18) 66%, transparent 78%), linear-gradient(0deg, var(--bg), transparent 20%); }
.hero-content { width: var(--page); margin: auto; padding-top: 76px; }
.eyebrow { margin: 0 0 20px; color: var(--hot); font: 600 .75rem/1.4 "Space Grotesk", sans-serif; letter-spacing: .18em; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 720px; margin: 0 0 24px; font: 700 clamp(3.75rem, 8vw, 7.25rem)/.94 "Space Grotesk", sans-serif; letter-spacing: .04em; }
.hero-intro { font-size: clamp(1.05rem, 1.7vw, 1.3rem); color: #d6cfd9; }
.hero-actions { display: flex; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: 0 24px; border: 1px solid transparent; border-radius: 999px; font-weight: 700; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--ink); color: var(--bg); }
.button-ghost { border-color: rgba(255,255,255,.45); }
.hero-meta { position: absolute; right: 3.5%; bottom: 36px; display: flex; gap: 18px; color: rgba(255,255,255,.56); font: 600 .7rem/1 "Space Grotesk", sans-serif; letter-spacing: .16em; writing-mode: vertical-rl; }
.section { width: var(--page); margin: auto; padding: 130px 0; }
.section-heading { display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: end; margin-bottom: 54px; }
.section-heading h2, .about h2, .contact h2 { margin-bottom: 0; font: 700 clamp(3rem, 6vw, 5.8rem)/1.08 "Space Grotesk", "Noto Sans TC", sans-serif; letter-spacing: -.055em; }
.section-heading > p { margin: 0 0 8px; color: var(--muted); max-width: 430px; }
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.work-card { min-height: 280px; position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 30px; overflow: hidden; border: 1px solid var(--line); background: #14111a; transition: transform .3s ease, border-color .3s ease; }
.work-card::before { content: ""; position: absolute; inset: auto -20% -60% auto; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(232,73,255,.25), transparent 65%); transition: transform .5s ease; }
.work-card:hover { transform: translateY(-5px); border-color: rgba(232,73,255,.75); }
.work-card:hover::before { transform: translate(-12%, -12%); }
.work-card-featured { grid-row: span 2; min-height: 578px; background: linear-gradient(145deg, rgba(232,73,255,.13), transparent 45%), #17121b; }
.work-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; filter: saturate(.7) contrast(1.1); transition: transform .6s ease, opacity .3s ease; }
.has-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(9,7,13,.96), rgba(9,7,13,.12) 70%); }
.has-media:hover .work-media { transform: scale(1.035); opacity: .52; }
.has-media .work-index, .has-media .work-copy, .has-media .arrow { z-index: 2; }
.work-index { color: var(--muted); font: 500 .82rem "Space Grotesk", sans-serif; }
.work-copy { position: relative; z-index: 1; max-width: 500px; }
.work-tag { display: block; margin-bottom: 14px; color: var(--hot); font: 600 .72rem "Space Grotesk", sans-serif; letter-spacing: .14em; }
.work-copy h3 { margin-bottom: 12px; font-size: clamp(1.6rem, 3vw, 2.5rem); line-height: 1.15; }
.work-copy p { margin-bottom: 0; color: var(--muted); }
.arrow { position: absolute; top: 28px; right: 28px; font-size: 1.5rem; }
.about { position: relative; display: grid; grid-template-columns: .72fr 1.15fr .7fr; gap: 44px; border-top: 1px solid var(--line); }
.about-number { color: #6e6873; font: 500 .72rem "Space Grotesk", sans-serif; letter-spacing: .14em; }
.portrait-wrap { min-height: 520px; margin: 0; overflow: hidden; background: var(--surface); }
.portrait-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; filter: saturate(.72) contrast(1.06); }
.about-copy h2 { margin-bottom: 34px; font-size: clamp(2.25rem, 4vw, 3.8rem); line-height: 1.15; white-space: nowrap; }
.about-copy .lead { color: var(--ink); font-size: 1.25rem; }
.about-copy > p:not(.eyebrow):not(.lead) { color: var(--muted); }
.skill-list { margin: 45px 0 0; }
.skill-list div { padding: 18px 0; border-top: 1px solid var(--line); }
.skill-list dt { margin-bottom: 4px; color: var(--muted); font-size: .75rem; }
.skill-list dd { margin: 0; font-weight: 600; }
.experience { padding-top: 70px; }
.note { font-size: .9rem; }
.career-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.career-card { padding: 34px; border: 1px solid var(--line); background: var(--surface); }
.career-card-wide { grid-column: 1 / -1; }
.career-label { color: var(--hot); font: 600 .72rem "Space Grotesk", sans-serif; letter-spacing: .16em; }
.career-card h3 { margin: 12px 0 25px; font-size: 1.8rem; }
.career-card ul { margin: 0; padding: 0; list-style: none; }
.career-card li { display: flex; justify-content: space-between; gap: 24px; padding: 14px 0; border-top: 1px solid var(--line); }
.career-card li span, .career-card > p { color: var(--muted); }
.career-card > p { margin: 24px 0 0; }
.production-list { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 40px; }
.resume-strip { margin-top: 64px; padding: 32px; display: flex; justify-content: space-between; align-items: center; color: #100d14; background: var(--hot); }
.resume-strip span { display: block; font: 600 .72rem "Space Grotesk", sans-serif; letter-spacing: .16em; }
.resume-strip strong { display: block; margin-top: 4px; font-size: 1.5rem; }
.button-light { background: #100d14; color: white; }
.contact { min-height: 700px; padding: 130px max(24px, calc((100vw - 1180px)/2)); display: flex; flex-direction: column; justify-content: center; background: linear-gradient(135deg, #1a0c20, #09070d 55%); border-top: 1px solid var(--line); }
.contact h2 { max-width: 900px; margin-bottom: 30px; }
.contact > p:not(.eyebrow) { color: var(--muted); }
.contact-mail { width: fit-content; margin-top: 30px; padding-bottom: 8px; border-bottom: 1px solid var(--hot); font-size: clamp(1.1rem, 2vw, 1.5rem); }
.contact-mail span { color: var(--hot); }
.contact-foot { display: flex; justify-content: space-between; margin-top: 130px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; }
.contact-foot div { display: flex; gap: 22px; }
@keyframes reveal { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: scale(1); } }
@media (max-width: 820px) {
  :root { --page: min(100% - 32px, 680px); }
  .site-header { height: 66px; padding-inline: 16px; }
  nav a:not(.nav-cta) { display: none; }
  .hero { min-height: 700px; }
  .hero-art { width: 125%; object-position: center 42%; }
  .hero-shade { background: linear-gradient(90deg, rgba(9,7,13,.97) 0%, rgba(9,7,13,.88) 48%, rgba(9,7,13,.28) 82%), linear-gradient(0deg, var(--bg), transparent 30%); }
  .hero-meta { display: none; }
  h1 { font-size: clamp(3.25rem, 14vw, 5rem); }
  .section { padding: 92px 0; }
  .section-heading, .about { grid-template-columns: 1fr; gap: 24px; }
  .section-heading { margin-bottom: 38px; }
  .work-grid { grid-template-columns: 1fr; }
  .work-card-featured { grid-row: auto; min-height: 380px; }
  .work-card { min-height: 260px; }
  .about-number { display: none; }
  .portrait-wrap { min-height: 560px; }
  .skill-list { margin-top: 12px; }
  .career-grid, .production-list { grid-template-columns: 1fr; }
  .career-card-wide { grid-column: auto; }
  .resume-strip { align-items: flex-start; flex-direction: column; gap: 24px; }
  .contact { min-height: 650px; }
  .contact-foot { margin-top: 90px; flex-direction: column-reverse; gap: 22px; }
}
@media (max-width: 480px) {
  .hero-actions { align-items: stretch; flex-direction: column; width: 100%; max-width: 290px; }
  .hero-intro br { display: none; }
  .career-card { padding: 26px 22px; }
  .career-card li { flex-direction: column; gap: 2px; }
  .contact-foot div { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
