:root {
  --paper: #f3f0e9;
  --paper-strong: #e9e4da;
  --ink: #1c211f;
  --ink-soft: #5f665f;
  --line: rgba(28, 33, 31, 0.18);
  --sage: #7f8d7e;
  --warm: #b88a58;
  --night: #17201d;
  --white: #f8f6f0;
  --max: 1240px;
  --gutter: clamp(22px, 5vw, 76px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }
img, video { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: #c9d0c3; color: #111; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 8px 14px;
  background: var(--night);
  color: var(--white);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: 76px;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, height .3s ease;
}
.site-header.scrolled {
  height: 64px;
  background: rgba(243, 240, 233, .88);
  border-color: var(--line);
  backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  font: 600 11px/1 Arial, sans-serif;
  letter-spacing: .08em;
}
.brand-name { font: 600 11px/1 Arial, sans-serif; letter-spacing: .18em; }
.nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 42px); }
.nav a {
  text-decoration: none;
  font-size: 13px;
  letter-spacing: .08em;
  transition: opacity .2s ease;
}
.nav a:hover { opacity: .55; }
.nav-contact { padding-bottom: 2px; border-bottom: 1px solid currentColor; }

.hero {
  position: relative;
  min-height: 100svh;
  padding: clamp(130px, 18vh, 190px) var(--gutter) 70px;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, .65fr);
  grid-template-rows: 1fr auto;
  gap: 48px clamp(40px, 8vw, 120px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent calc(100% - 1px), rgba(28,33,31,.06) 0) 0 0 / 25% 100%,
    linear-gradient(180deg, rgba(255,255,255,.24), transparent 45%);
  opacity: .7;
}
.hero-glow {
  position: absolute;
  width: 58vw;
  height: 48vw;
  right: -22vw;
  top: -20vw;
  background: radial-gradient(ellipse, rgba(207, 178, 135, .38), rgba(243,240,233,0) 68%);
  transform: rotate(-18deg);
  filter: blur(2px);
}
.hero-copy, .hero-note, .hero-index { position: relative; z-index: 1; }
.eyebrow {
  margin: 0 0 28px;
  font: 600 11px/1.4 Arial, sans-serif;
  letter-spacing: .24em;
}
.hero h1 {
  margin: 0;
  max-width: 800px;
  font-family: "Noto Serif TC", "Songti TC", "PMingLiU", serif;
  font-size: clamp(46px, 7vw, 98px);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -.04em;
}
.hero h1 em { color: var(--sage); font-style: normal; }
.hero-intro {
  max-width: 670px;
  margin: 40px 0 0;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.55vw, 19px);
  line-height: 1.95;
  text-wrap: pretty;
}
.hero-actions { margin-top: 42px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 25px;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: .08em;
}
.button-primary { background: var(--ink); color: var(--white); }
.text-link { text-underline-offset: 5px; font-size: 14px; }

.hero-note { align-self: center; border-top: 1px solid var(--ink); }
.note-label { margin: 16px 0 24px; font: 600 10px Arial, sans-serif; letter-spacing: .2em; }
.hero-note ol { margin: 0; padding: 0; list-style: none; }
.hero-note li {
  display: grid;
  grid-template-columns: 34px 64px 1fr;
  gap: 9px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.hero-note li span { color: var(--warm); font: 500 10px Arial, sans-serif; }
.hero-note li strong { font-size: 17px; font-weight: 500; }
.hero-note li small { color: var(--ink-soft); font-size: 13px; }
.hero-index { grid-column: 1 / -1; color: var(--ink-soft); font: 500 9px Arial, sans-serif; letter-spacing: .26em; }

.work-section { padding: clamp(90px, 12vw, 160px) var(--gutter); }
.section-heading {
  max-width: var(--max);
  margin: 0 auto clamp(75px, 10vw, 130px);
  display: grid;
  grid-template-columns: minmax(180px, .6fr) 1.5fr;
  gap: 40px;
  align-items: start;
}
.section-heading h2 {
  margin: 0;
  font-family: "Noto Serif TC", "Songti TC", "PMingLiU", serif;
  font-size: clamp(34px, 4.2vw, 60px);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -.025em;
}
.project {
  max-width: var(--max);
  margin: 0 auto clamp(120px, 15vw, 200px);
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, .75fr);
  gap: clamp(42px, 7vw, 95px);
  align-items: center;
}
.project:last-child { margin-bottom: 20px; }
.project-reverse { grid-template-columns: minmax(300px, .75fr) minmax(0, 1.55fr); }
.project-reverse .project-media { grid-column: 2; }
.project-reverse .project-copy { grid-row: 1; grid-column: 1; }
.project-media {
  position: relative;
  overflow: hidden;
  background: #101311;
  box-shadow: 0 24px 60px rgba(28, 33, 31, .12);
}
.project-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,.16);
  pointer-events: none;
}
.project-media video { width: 100%; height: auto; background: #101311; }
.project-copy { position: relative; }
.project-number {
  position: absolute;
  right: 0;
  top: -32px;
  color: rgba(28,33,31,.12);
  font: 400 clamp(60px, 7vw, 104px)/1 Arial, sans-serif;
}
.project-type { margin: 0 0 18px; color: var(--warm); font: 600 10px Arial, sans-serif; letter-spacing: .2em; }
.project h3 {
  position: relative;
  margin: 0;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--ink);
  font-family: "Noto Serif TC", "Songti TC", "PMingLiU", serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 400;
  line-height: 1.45;
}
.project-lead { margin: 25px 0 26px; color: var(--ink-soft); font-size: 16px; line-height: 1.9; }
.project-facts { margin: 0; }
.project-facts > div {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.project-facts dt { color: var(--ink-soft); font-size: 12px; letter-spacing: .08em; }
.project-facts dd { margin: 0; font-size: 14px; }
.project-note { margin: 18px 0 0; color: var(--ink-soft); font-size: 11px; line-height: 1.8; }
.project-contribution {
  margin: 24px 0 0;
  padding-left: 15px;
  border-left: 2px solid var(--warm);
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.85;
}

.data-block { margin-top: 28px; padding: 20px; background: var(--paper-strong); }
.data-block > p { margin: 0 0 18px; font-size: 12px; }
.data-block > p span { display: block; margin-top: 2px; color: var(--ink-soft); font-size: 10px; }
.data-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.data-grid div { border-left: 1px solid var(--line); padding-left: 12px; }
.data-grid strong { display: block; font: 500 clamp(18px, 2vw, 25px)/1.2 Arial, sans-serif; }
.data-grid span { color: var(--ink-soft); font-size: 10px; }
.evidence-trigger {
  margin-top: 15px;
  padding: 0 0 5px;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .05em;
  cursor: pointer;
}
.evidence-trigger:hover { color: var(--warm); }

.dialog-open { overflow: hidden; }
.evidence-dialog {
  width: min(1180px, calc(100vw - 36px));
  max-height: calc(100vh - 36px);
  margin: auto;
  padding: 0;
  border: 0;
  background: #f4f1ea;
  color: var(--ink);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .35);
}
.evidence-dialog::backdrop { background: rgba(9, 14, 12, .78); backdrop-filter: blur(5px); }
.evidence-panel { position: relative; padding: clamp(28px, 5vw, 68px); }
.evidence-close {
  position: sticky;
  top: 0;
  z-index: 2;
  float: right;
  width: 42px;
  height: 42px;
  margin: -8px -8px 0 20px;
  border: 1px solid var(--line);
  background: rgba(244,241,234,.92);
  color: var(--ink);
  font: 300 26px/1 Arial, sans-serif;
  cursor: pointer;
}
.evidence-header { max-width: 760px; margin-bottom: 38px; }
.evidence-header .eyebrow { margin-bottom: 13px; color: var(--warm); }
.evidence-header h2 {
  margin: 0 0 12px;
  font-family: "Noto Serif TC", "Songti TC", serif;
  font-size: clamp(27px, 3.4vw, 44px);
  font-weight: 400;
  line-height: 1.4;
}
.evidence-header > p:last-child { margin: 0; color: var(--ink-soft); font-size: 13px; }
.evidence-figure { margin: 0 0 34px; }
.evidence-scroll { overflow-x: auto; overscroll-behavior-inline: contain; }
.evidence-overview-crop {
  width: 100%;
  overflow: hidden;
  background: #222;
}
.evidence-overview-crop img {
  width: 100%;
  max-width: 100%;
  height: auto;
}
.evidence-audience { width: 100%; min-width: 820px; height: auto; }
.evidence-figure figcaption { margin-top: 10px; color: var(--ink-soft); font-size: 11px; letter-spacing: .03em; }
.evidence-scroll-hint { display: none; margin: -12px 0 10px; color: var(--warm); font-size: 11px; }
.evidence-note { margin: 12px 0 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 11px; }

.project-portrait { grid-template-columns: minmax(300px, .85fr) minmax(300px, .8fr); justify-content: center; max-width: 1000px; }
.portrait-stage {
  min-height: 690px;
  display: grid;
  place-items: center;
  padding: 36px;
  background:
    radial-gradient(circle at 70% 20%, rgba(184,138,88,.25), transparent 30%),
    linear-gradient(145deg, #27302d, #111714);
}
.portrait-stage video { width: min(100%, 360px); max-height: 640px; object-fit: contain; box-shadow: 0 20px 50px rgba(0,0,0,.28); }

.method-section {
  padding: clamp(90px, 11vw, 150px) var(--gutter);
  background: var(--night);
  color: var(--white);
}
.section-heading-light { margin-bottom: 70px; }
.section-heading-light .eyebrow { color: #aeb8ae; }
.method-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(248,246,240,.32);
  border-bottom: 1px solid rgba(248,246,240,.32);
}
.method-grid li { min-height: 210px; padding: 24px; border-right: 1px solid rgba(248,246,240,.16); }
.method-grid li:last-child { border-right: 0; }
.method-grid span { color: #c2a277; font: 500 10px Arial, sans-serif; }
.method-grid h3 { margin: 55px 0 6px; font-size: 21px; font-weight: 500; }
.method-grid p { margin: 0; color: #aeb8ae; font-size: 13px; }
.method-statement { max-width: 750px; margin: 55px auto 0; text-align: center; color: #c8cec7; font-family: "Noto Serif TC", "Songti TC", serif; font-size: clamp(18px, 2vw, 25px); line-height: 1.8; }

.about-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(90px, 12vw, 160px) 0;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(45px, 8vw, 120px);
}
.about-title h2 { margin: 0; font-family: "Noto Serif TC", "Songti TC", serif; font-size: clamp(34px, 4vw, 56px); font-weight: 400; line-height: 1.3; }
.about-title h2 span { color: var(--ink-soft); font: 500 12px Arial, sans-serif; letter-spacing: .24em; }
.about-copy { padding-top: 42px; border-top: 1px solid var(--ink); }
.about-copy p { margin: 0 0 24px; color: var(--ink-soft); max-width: 660px; }
.about-copy .about-lead { color: var(--ink); font-family: "Noto Serif TC", "Songti TC", serif; font-size: clamp(21px, 2.4vw, 30px); line-height: 1.7; }
.about-tags { margin: 35px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.about-tags li { padding: 7px 13px; border: 1px solid var(--line); border-radius: 100px; color: var(--ink-soft); font-size: 12px; }

.contact-section {
  position: relative;
  margin: 0 var(--gutter) clamp(28px, 4vw, 56px);
  padding: clamp(70px, 9vw, 120px);
  overflow: hidden;
  background: #d9d1c2;
}
.contact-section::after {
  content: "";
  position: absolute;
  width: 50%;
  aspect-ratio: 1;
  right: -14%;
  top: -40%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,249,233,.8), transparent 68%);
}
.contact-section h2 { position: relative; z-index: 1; margin: 0 0 42px; max-width: 850px; font-family: "Noto Serif TC", "Songti TC", serif; font-size: clamp(34px, 4.5vw, 64px); font-weight: 400; line-height: 1.4; }
.contact-mail { position: relative; z-index: 1; display: inline-block; font: 500 clamp(16px, 1.8vw, 22px) Arial, sans-serif; text-underline-offset: 8px; }

.site-footer {
  min-height: 100px;
  padding: 0 var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font: 500 9px Arial, sans-serif;
  letter-spacing: .16em;
}

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 58px; }
  .hero-note { max-width: 600px; }
  .section-heading { grid-template-columns: 1fr; gap: 10px; }
  .section-heading .eyebrow { margin-bottom: 10px; }
  .project, .project-reverse, .project-portrait { grid-template-columns: 1fr; max-width: 760px; }
  .project-reverse .project-media, .project-reverse .project-copy { grid-column: 1; }
  .project-reverse .project-media { grid-row: 1; }
  .project-reverse .project-copy { grid-row: 2; }
  .project-copy { max-width: 620px; }
  .portrait-stage { min-height: 660px; }
  .method-grid { grid-template-columns: repeat(2, 1fr); }
  .method-grid li:nth-child(2) { border-right: 0; }
  .method-grid li:nth-child(-n+2) { border-bottom: 1px solid rgba(248,246,240,.16); }
  .about-section { margin-inline: var(--gutter); grid-template-columns: 1fr; gap: 20px; }
  .about-copy { padding-top: 30px; }
}

@media (max-width: 640px) {
  .site-header { height: 66px; }
  .brand-name { display: none; }
  .nav { gap: 15px; }
  .nav a { font-size: 12px; }
  .nav a:nth-child(3) { display: none; }
  .hero { padding-top: 120px; }
  .hero h1 { font-size: clamp(44px, 13vw, 64px); }
  .hero-intro { margin-top: 30px; }
  .hero-note li { grid-template-columns: 30px 54px 1fr; }
  .work-section { padding-inline: 20px; }
  .project { gap: 32px; margin-bottom: 110px; }
  .project-number { top: -25px; }
  .project h3 { padding-right: 28px; }
  .data-grid { gap: 5px; }
  .data-grid div { padding-left: 8px; }
  .evidence-dialog { width: calc(100vw - 20px); max-height: calc(100vh - 20px); }
  .evidence-panel { padding: 24px 20px 32px; }
  .evidence-header { margin-bottom: 28px; }
  .evidence-audience { min-width: 760px; }
  .evidence-scroll-hint { display: block; }
  .portrait-stage { min-height: 560px; padding: 25px; }
  .portrait-stage video { max-height: 520px; }
  .method-section { padding-inline: 20px; }
  .method-grid { grid-template-columns: 1fr 1fr; }
  .method-grid li { min-height: 170px; padding: 18px; }
  .method-grid h3 { margin-top: 35px; }
  .about-section { margin-inline: 22px; }
  .contact-section { margin-inline: 0; margin-bottom: 0; padding: 70px 24px; }
  .contact-section h2 br { display: none; }
  .site-footer { min-height: 120px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, video, .hero-actions, .contact-section { display: none !important; }
  body { background: white; color: black; }
  .hero { min-height: auto; padding-top: 50px; }
  .project-media { min-height: 250px; background-size: cover; }
  .reveal { opacity: 1; transform: none; }
}
