@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@500;600&display=swap");

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+TC:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;1,500&display=swap');
:root{--paper:#f1eee5;--ink:#23231d;--red:#a93226;--dark:#23231e;--line:#bcb6a7;--serif:'Playfair Display',Georgia,serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.55 'DM Sans',Arial,sans-serif}a{color:inherit;text-underline-offset:.26em}a:hover{color:var(--red)}a:focus-visible{outline:2px solid currentColor;outline-offset:5px}.wrap{width:min(1280px,100% - 9vw);margin:auto}.skip{position:absolute;top:-6rem}.skip:focus{top:.5rem;z-index:5;background:var(--paper);padding:.5rem}header .wrap,footer .wrap{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding-block:20px}header .wrap{border-bottom:1px solid var(--line)}nav{display:flex;gap:clamp(12px,3vw,42px);flex-wrap:wrap}nav a,.wordmark{text-decoration:none}.wordmark{font-weight:700;letter-spacing:.15em}.small{font-size:.72rem;letter-spacing:.15em;text-transform:uppercase;font-weight:700}.hero{padding:clamp(64px,8vw,116px) 0 clamp(48px,6vw,88px)}.hero .small{color:var(--red)}h1,h2,h3,p{margin:0}h1,h2,h3{font:400 1em/1 var(--serif)}h1{font-size:clamp(6rem,19vw,16rem);line-height:.86;letter-spacing:-.04em;margin:.16em 0 .13em}h2{font-size:clamp(1.9rem,4.1vw,3.65rem);letter-spacing:-.025em}h3{font-size:clamp(1.4rem,2.5vw,2.1rem)}.intro{display:flex;justify-content:space-between;align-items:end;gap:1.5rem}.intro p{max-width:34ch}.intro .role{font:italic clamp(2.3rem,5.3vw,5.3rem)/1 var(--serif)}.panels,.split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.panels{gap:clamp(16px,3vw,42px)}.panel{min-height:265px;padding:clamp(24px,4vw,55px);display:flex;flex-direction:column;justify-content:space-between;gap:25px;text-decoration:none;color:var(--paper);background:var(--dark)}.panel.maker{background:var(--red)}.panel:hover{color:var(--paper)}.panel:hover .arrow{transform:translate(6px,-6px)}.panel span:last-child{display:flex;align-items:end;justify-content:space-between;gap:8px}.panel strong{font:400 clamp(2.6rem,5.5vw,5.7rem)/.94 var(--serif)}.arrow{font-size:2.1rem;transition:transform .2s}.section{padding:clamp(64px,8vw,115px) 0}.section>.small,.section header>.small{color:var(--red);margin-bottom:14px}.split{gap:clamp(22px,5vw,72px);align-items:start}.section h2{margin-bottom:.68em;line-height:1.15}.body p+p{margin-top:1em}.body{max-width:64ch}.topline{border-top:1px solid var(--line)}.dark{background:var(--dark);color:var(--paper)}.dark .small{color:#e7aa96}.dark a:hover{color:#e7aa96}.link{display:inline-block;margin-top:1.2rem;font-weight:700}.credits{margin:.65rem 0 1.5rem;padding:0;list-style:none}.credits li{padding:.55rem 0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:1rem}.credits span{text-align:right;font-size:.86rem}.credits-title{margin-top:1.4rem}.video details{margin-top:1.2rem}.video summary{cursor:pointer;font-weight:700}.video iframe{display:block;width:100%;margin-top:1rem;aspect-ratio:16/9;border:0;background:#141411}.poster{background:#a93226;color:#f1eee5;position:relative;overflow:hidden;display:grid;align-content:center;min-height:clamp(275px,44vw,590px);padding:clamp(24px,5vw,76px)}.poster:before,.poster:after{content:"";position:absolute;height:160%;width:1px;background:#f1eee577;top:-30%;left:62%;transform:rotate(28deg)}.poster:after{left:68%}.poster h1,.poster h2,.poster p{position:relative;z-index:1}.poster h1,.poster h2{font-size:clamp(2.4rem,6vw,5.25rem);margin:.28em 0}.poster h1 span,.poster h2 span{font-style:italic}.maker-blurb{margin-top:28px}.question{font:italic clamp(1.65rem,3.5vw,3.25rem)/1.17 var(--serif)}blockquote{margin:0;font:400 clamp(1.8rem,3.1vw,3rem)/1.1 var(--serif)}blockquote p+p{margin-top:.6em}figcaption{margin-top:1.15rem}figure{margin:0}footer .wrap{border-top:1px solid var(--line)}@media(max-width:650px){.intro{align-items:start;flex-direction:column}.panels,.split{grid-template-columns:1fr}.panel{min-height:155px}h1{font-size:clamp(4.4rem,18vw,7.5rem)}nav{font-size:.85rem}footer .wrap{flex-wrap:wrap}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* Use the supplied photos as the two portfolio entry points. */
.panel.actor,
.panel.maker {
  min-height: 0;
  aspect-ratio: 4 / 3;
  background-color: var(--dark);
  background-image: linear-gradient(to bottom, #101010a8 0%, transparent 28%, transparent 55%, #101010db 100%), var(--panel-photo);
  background-position: center, var(--photo-position);
  background-size: cover;
}
.panel.actor {
  --panel-photo: url("images/actor-headshot.jpg");
  --photo-position: center 38%;
}
.panel.maker {
  --panel-photo: url("images/theatre-maker.jpg");
  --photo-position: center;
}
.panel:focus-visible {
  outline-color: var(--red);
}

.languages { display: flex; align-items: center; gap: .45rem; white-space: nowrap; font-size: .85rem; }
.languages a[aria-current] { font-weight: 700; text-decoration-thickness: 2px; }
header nav { margin-inline: auto 0; }
html[lang="zh-Hant"] { --serif: "Noto Sans TC", "PingFang TC", sans-serif; }
@media (max-width: 650px) {
  header .wrap { display: grid; grid-template-columns: 1fr auto; }
  header nav { grid-row: 2; grid-column: 1 / -1; margin: 0; }
  .languages { grid-row: 1; grid-column: 2; }
}

/* The supplied original filenames work alongside earlier renamed copies. */
.panel.actor,
.panel.maker {
  background-image: linear-gradient(to bottom, #101010a8, transparent 28%, transparent 55%, #101010db), var(--panel-photo), var(--original-photo);
  background-position: center, var(--photo-position), var(--photo-position);
}
.panel.actor { --original-photo: url("images/Jin-Kai Chen.jpg"); }
.panel.maker { --original-photo: url("images/DSC01894.jpg"); }

.hero h1 { font-size: clamp(2.75rem, 6.5vw, 5.75rem); line-height: 1.1; margin: .28em 0 .44em; }
html[lang="zh-Hant"] .hero h1 { font-size: clamp(2.45rem, 5.25vw, 4.35rem); font-weight: 600; letter-spacing: .04em; }
.intro .role { font-size: clamp(1.25rem, 2.3vw, 2.1rem); line-height: 1.25; }
html[lang="zh-Hant"] .intro .role { font-style: normal; }
.panel strong { font-size: clamp(1.5rem, 3vw, 2.65rem); }

.project-cover {
  position: relative;
  aspect-ratio: 3 / 2;
  background: #302821;
  color: white;
}
.cover-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top left, #140e0bd9, transparent 65%);
  pointer-events: none;
}
.cover-title {
  position: relative;
  z-index: 1;
  padding: clamp(18px, 4.4vw, 60px);
  width: fit-content;
}
.project-cover .cover-title h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.4rem, 2.8vw, 2.65rem);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.1;
  margin: .15em 0 .25em;
}
.cover-title p { font-size: clamp(.65rem, 1.2vw, .9rem); }
.cover-tools { margin: .8rem 0 0; font-size: .9rem; }
.cover-tools input { display: block; margin-top: .35rem; }

.intro .role,
html[lang="zh-Hant"] .intro .role {
  font: 500 clamp(1rem, 1.75vw, 1.45rem)/1.5 "DM Sans", "Noto Sans TC", sans-serif;
  max-width: none;
}
.intro .role span { white-space: nowrap; }
.question[lang="en"] {
  font: italic 500 clamp(.95rem, 2vw, 1.5rem)/1.45 "Playfair Display", Georgia, serif;
  white-space: nowrap;
}
.project-intro .question { margin-bottom: 1.25rem; }

.theatre-section {
  margin-top: clamp(52px, 8vw, 112px);
  background-color: #e9dfcf;
  color: var(--ink);
}
.theatre-section .section {
  padding-block: clamp(42px, 6.5vw, 92px);
}
.theatre-section .section > .small {
  color: #774632;
}
.theatre-section .split { align-items: baseline; }
.featured-project {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(24px, 4.5vw, 64px);
  align-items: center;
  margin-top: clamp(32px, 5vw, 68px);
}
.featured-cover {
  display: block;
  text-decoration: none;
}
.featured-cover:hover { color: white; }
.featured-cover .cover-title { padding: clamp(16px, 2.8vw, 36px); }
.featured-cover .cover-title h2 {
  font: 500 clamp(1.5rem, 3vw, 2.5rem)/1.12 "Playfair Display", Georgia, serif;
  margin: .2em 0 0;
}
@media (max-width: 760px) {
  .featured-project { grid-template-columns: minmax(0, 1fr); }
}

.hero.home-cover {
  display: grid;
  align-items: end;
  min-height: clamp(310px, 56.15vw, 820px);
  padding: clamp(20px, 4vw, 64px) 0;
  background: linear-gradient(to top, rgb(0 0 0 / 82%), transparent 46%),
    #111 url("images/花心臟夢黑白00546.jpg") center / cover no-repeat;
  color: var(--paper);
}
.home-cover > .wrap { margin-block: 0; }

.home-cover-copy {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas: "name studio";
  align-items: end;
  gap: clamp(10px, 4vw, 56px);
}
.home-cover-copy h1,
html[lang="zh-Hant"] .home-cover-copy h1 {
  grid-area: name;
  font-size: clamp(1.45rem, 4.4vw, 4.65rem);
  text-align: left;
  margin: 0;
}
.studio-brand {
  grid-area: studio;
  display: grid;
  justify-items: end;
  text-align: right;
  gap: .2rem;
}
.studio-brand .role {
  font: 500 clamp(.65rem, 1.05vw, .95rem)/1.4 "DM Sans", "Noto Sans TC", sans-serif;
  text-wrap: balance;
}
.studio-brand .role span { white-space: nowrap; }
.studio-logo {
  display: block;
  width: min(100%, clamp(145px, 22vw, 320px));
  height: auto;
  filter: url("#studio-logo-white");
}
.home-cover + .panels { margin-top: clamp(28px, 5vw, 72px); }
@media (max-width: 600px) {
  .hero.home-cover { background-position: 53% center; }
}

.studio-logo-filter { position: absolute; }

.about-content .about-label { margin-bottom: .65rem; color: #774632; }
#about + .theatre-section { margin-top: 0; }
#theatre-making .featured-project { margin-top: 0; }
#theatre-making .question { margin-bottom: 1rem; }

.section .project-section-title { font-size: clamp(1.5rem, 2.6vw, 2.25rem); }
.critical-response blockquote {
  font: 400 1rem/1.65 "DM Sans", Arial, sans-serif;
  max-width: 54ch;
}
.critical-response figcaption { font-size: .85rem; line-height: 1.55; }
.critical-response figcaption span { display: block; }
.production-credits { list-style: none; padding: 0; margin: 0; line-height: 1.85; }

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: clamp(8px, 1.5vw, 18px);
  white-space: nowrap;
}
.header-logo {
  display: block;
  width: clamp(60px, 8vw, 104px);
  height: auto;
  mix-blend-mode: multiply;
}
#theatre-making .featured-project {
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 4vw, 54px);
}
#theatre-making .featured-project > .body {
  max-width: 66ch;
}
#theatre-making .featured-cover {
  aspect-ratio: 8 / 5;
}
#theatre-making .featured-cover .cover-photo {
  object-position: center 40%;
}
@media (max-width: 650px) {
  #theatre-making .featured-cover { aspect-ratio: 3 / 2; }
}

#acting h3.credits-title {
  font: 700 .78rem/1.5 "DM Sans", "Noto Sans TC", sans-serif;
  letter-spacing: .1em;
}

.credits-more {
  text-align: right;
  font-size: .875rem;
  font-weight: 600;
}

.credits-scroll {
  overflow-x: auto;
  margin-block: .5rem 1.5rem;
}
.credits-table {
  width: 100%;
  min-width: 32rem;
  border-collapse: collapse;
  font-size: .875rem;
  line-height: 1.45;
}
.credits-table th,
.credits-table td {
  padding: .65rem .75rem .65rem 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.credits-table th[scope="row"] { width: 28%; font-weight: 600; }
.credits-table td:nth-child(2) { width: 23%; }
.credits-table td:nth-child(3) { width: 20%; }
.credits-table small { display: block; font-weight: 400; }

.contact-section { padding-block: clamp(20px, 3vw, 38px); }
.contact-section h2 { margin-bottom: .55rem; }
.contact-details {
  justify-content: center;

  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .4rem clamp(16px, 3vw, 38px);
}
.contact-logo {
  display: block;
  width: clamp(150px, 20vw, 250px);
  height: auto;
  mix-blend-mode: multiply;
}


html[lang="zh-Hant"] .home-cover-copy h1,
html[lang="zh-Hant"] #about h2,
html[lang="zh-Hant"] #acting h2,
html[lang="zh-Hant"] .project-section-title {
  font-family: "Noto Serif TC", "Songti TC", "PMingLiU", serif;
  font-weight: 500;
  letter-spacing: .05em;
}
.project-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 30px);
  align-items: center;
}
.project-gallery-grid img { display: block; width: 100%; height: auto; }

@media (max-width: 650px) {
  .project-gallery-grid { grid-template-columns: 1fr; }
}

.production-team.section { padding: 0; }
.production-team-photo {
  display: flex;
  flex-direction: column;
  min-height: min(66.67vw, 900px);
  background: #070707 url("images/DSC01672.jpg") center / contain no-repeat;
  color: #fff;
  padding: clamp(24px, 4vw, 64px) clamp(28px, 7vw, 112px);
}
.production-team-photo h2 { text-align: center; }
.production-team-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 44%;
  margin: auto auto 0;
  width: 100%;
  max-width: 1400px;
  padding-bottom: clamp(24px, 10vw, 150px);
}
.production-team-columns .production-credits {
  display: grid;
  align-content: start;
  gap: clamp(18px, 2.2vw, 34px);
  text-shadow: 0 1px 6px #000;
}
.production-team-columns .production-credits:last-child { text-align: right; }
.team-role,
.team-name { display: block; }
.team-role {
  font-size: clamp(.72rem, 1.1vw, .9rem);
  color: #ded7ce;
  line-height: 1.4;
  letter-spacing: .035em;
}
.team-name {
  margin-top: .25em;
  font: 500 clamp(1rem, 1.75vw, 1.45rem)/1.3 "Playfair Display", "Noto Serif TC", "Songti TC", serif;
}
@media (max-width: 700px) {
  .production-team-photo {
    min-height: 0;
    background-size: 100% auto;
    background-position: center top;
    padding: calc(66.67vw + 1.25rem) max(1rem, 5vw) 2rem;
  }
  .production-team-columns { gap: 1rem; padding: 0; }
}

.home-page > header {
  position: sticky;
  top: 0;
  z-index: 4;
  background-color: var(--paper);
}
.home-page main[id],
.home-page main section[id] {
  scroll-margin-top: 7rem;
}
@media (max-width: 650px) {
  .home-page main[id],
  .home-page main section[id] {
    scroll-margin-top: 9rem;
  }
}
