body > header nav a:nth-child(2) { display: inline; }
.welcome .host-role {
  font-family: 'Songti TC', 'Noto Serif TC', serif;
  font-size: clamp(1.2rem, 2.6vw, 2rem);
  letter-spacing: 0;
  margin: 0 0 16px;
}
.welcome-actions .explore-link { color: #f4dfb8; }
.profile-preview {
  grid-template-columns: minmax(0, 230px) minmax(0, 32rem);
  justify-content: center;
  padding-top: 60px;
}
.profile-preview-photo {
  display: block;
  position: relative;
  padding: 5px;

}
.profile-preview-photo > img {
  height: auto;
}
@media (max-width: 650px) {
  .profile-preview { grid-template-columns: minmax(0, 1fr); padding-top: 44px; }
  .profile-preview-photo { width: min(100%, 215px); justify-self: center; }
}
.studio-works {
  padding: 72px max(6%, calc((100% - 1160px) / 2));
  color: var(--ink);
}
.studio-heading { margin-bottom: 27px; }
.studio-heading h2 {
  font-family: 'Songti TC', Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.9rem, 4vw, 3.5rem);
  letter-spacing: -.03em;
  margin: 0;
}
.studio-heading p { color: var(--muted); margin: 9px 0 0; line-height: 1.7; }
.studio-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.studio-work {
  min-width: 0;
  display: flex;
  flex-direction: column;

}
.studio-image { position: relative; aspect-ratio: 8 / 5; min-height: 0; flex: none; padding: 5px; }
.studio-image > img { position: absolute; inset: 5px; display: block; width: calc(100% - 10px); height: calc(100% - 10px); object-fit: cover; }

.studio-book > img { object-fit: contain; }
.studio-work-copy { padding: 17px 4px 0; flex: 1; display: flex; flex-direction: column; }
.studio-work h3 { margin: 0; font-size: 1.125rem; }
.studio-work p { margin: 10px 0 13px; line-height: 1.65; color: var(--muted); }
.studio-work a, .studio-park {
  color: var(--gallery-link);
  text-decoration: underline;
  text-underline-offset: .28em;
}
.studio-work a { align-self: start; margin-top: auto; padding-block: 5px; }
.studio-park { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; line-height: 1.4; }
.studio-park > img { width: 48px; height: 48px; object-fit: cover; border-radius: 50%; }
@media (max-width: 900px) {
  .studio-grid { gap: 12px; }
}
@media (max-width: 650px) {
  body > header { gap: 8px; padding-inline: 5%; }
  body > header .brand { font-size: 17px; letter-spacing: 1px; }
  body > header .brand small { letter-spacing: 2px; font-size: 8px; }
  body > header nav { gap: 8px; white-space: nowrap; }
  body > header nav a:nth-child(2) { display: inline; }
  body > header nav a:nth-child(n+3) { display: none; }
  .studio-works { padding-block: 44px; }
  .studio-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}

/* Shared mounts and soft edges for the headquarters galleries. */
:root {
  --gallery-mount: #e8e0d0;
  --gallery-rule: #a38756;
  --gallery-link: #634922;
  --gallery-edge-x: linear-gradient(90deg, transparent, #000 2.5%, #000 97.5%, transparent);
  --gallery-edge-y: linear-gradient(transparent, #000 3%, #000 97%, transparent);
}
:root[data-theme="night"] {
  --bg: #0d0d0c;
  --ink: #f0e9dc;
  --muted: #c1b7a5;
  --gallery-mount: #1a1713;
  --gallery-rule: #9b825564;
  --gallery-link: #e4c78d;
}
[data-theme="night"] :is(
  .profile-top, .profile-end, .real-moment, .career-highlights, .publications,
  .teaching-world, .memory-world, .journey-world, .human-stories, .vision, #lightbox
) {
  background: var(--bg);
  color: var(--ink);
}
[data-theme="night"] :is(.profile-top, .vision) p:not(.eyebrow) { color: var(--muted); }
[data-theme="night"] :is(.scene-stage button > span, input, textarea, .result) {
  background: var(--gallery-mount);
  color: var(--ink);
}
[data-theme="night"] :is(.vision, .profile-end, .next-stop, body > footer) {
  border-top: 1px solid var(--gallery-rule);
}
[data-theme="night"] .welcome { background: #100f0d; }
[data-theme="night"] .welcome::after {
  background: linear-gradient(90deg, #0d0d0ce8, transparent 83%),
              linear-gradient(0deg, var(--bg), transparent 59%);
}
:is(.studio-image, .profile-preview-photo, .book-cover, .picture, .scene-stage > button,
    .scene-thumb, .hq-film-stage, .clean-panel .panel-image, .paygon-photo-frame,
    .life-story figure, .profile-top .host) {
  border: 1px solid var(--gallery-rule);
  background: var(--gallery-mount);
  border-radius: 3px;
}
:is(.studio-image, .profile-preview-photo, .book-cover, .picture, .scene-stage > button,
    .scene-thumb, .hq-film-stage, .life-story figure) > img:not(.venue-logo),
.profile-top .host .selected-portrait,
.paygon-photo-frame:not(.documentary-frame) > img,
.clean-panel .panel-image {
  -webkit-mask-image: var(--gallery-edge-x), var(--gallery-edge-y);
  mask-image: var(--gallery-edge-x), var(--gallery-edge-y);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
[data-theme="night"] .paygon-photo-frame {
  background: var(--gallery-mount);
  border-color: var(--gallery-rule);
}
.book-cover { margin: 0; position: relative; padding: 8px; max-width: 305px; }
.book-cover img { display: block; width: 100%; height: auto; object-fit: contain; }
.founder-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 16px;
  margin: 15px 0 2px;
  padding: 0;
  list-style: none;
}
.founder-links a { color: var(--gallery-link); text-decoration: underline; text-underline-offset: .25em; }
[data-theme="night"] .founder-links + .meet-link { border-color: var(--gallery-rule); }
@media (max-width: 760px) {
  .book-cover { width: min(100%, 240px); margin-inline: auto; }
}

.venue-service {
  max-width: 1060px;
  margin: 0 auto;
  padding: 58px 7%;
  border-top: 1px solid var(--gallery-rule);
}
.venue-service h2 {
  font: 500 clamp(1.7rem, 4vw, 2.6rem)/1.45 'Songti TC', serif;
  margin: 0 0 16px;
}
.venue-service p { max-width: 47em; color: var(--muted); line-height: 1.8; }
.venue-service form { display: grid; gap: 9px; max-width: 630px; margin: 28px 0; }
.venue-service label { margin-top: 8px; font-weight: 600; }
.venue-service :is(input, textarea) { width: 100%; padding: 12px; border-radius: 3px; }
.venue-service textarea { resize: vertical; }
.venue-service button { justify-self: start; margin-top: 8px; }
.venue-service .service-note { font-size: .85rem; margin: 6px 0 0; }
.letter-draft {
  max-width: 630px;
  padding: 20px;
  background: var(--gallery-mount);
  border: 1px solid var(--gallery-rule);
}
.letter-draft h3, .service-follow-up h3 { margin: 0; font-size: 1.08rem; }
#letter-text { white-space: pre-wrap; overflow-wrap: anywhere; color: var(--ink); }
.service-action { display: inline-block; padding: 8px 0; color: var(--gallery-link); text-decoration: underline; text-underline-offset: .25em; }
.service-follow-up { border-top: 1px solid var(--gallery-rule); margin-top: 36px; padding-top: 24px; }
.venue-service-link { justify-self: start; }
.detail .intro:has(.venue-service-link) { row-gap: 16px; }
