:root {
  color-scheme: light;
  --bg: #f7f7f4;
  --paper: #fff;
  --ink: #151612;
  --muted: #555850;
  --rule: #cecec6;
  --accent: #d6f939;
  --accent-ink: #3f5300;
  --shell: 1336px;
  --gutter: clamp(18px, 4.7vw, 76px);
  --sans: "Inter", "Helvetica Neue", "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; color: var(--ink); background: var(--bg); font: 1rem/1.6 var(--sans); }
body:has(dialog[open]) { overflow: hidden; }
img { display: block; width: 100%; }
button, input, select { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
button, select { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
p, h1, h2, h3 { margin: 0; }
:focus-visible { outline: 2px solid #526b00; outline-offset: 4px; }
.shell { width: min(var(--shell), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link { position: fixed; z-index: 10; top: 12px; left: 12px; background: var(--accent); padding: 10px 16px; }

.site-header { position: sticky; top: 0; z-index: 2; background: var(--bg); border-bottom: 1px solid var(--rule); }
.header-inner { min-height: 66px; display: flex; align-items: center; justify-content: space-between; }
.wordmark { display: inline-block; font-size: 1.25rem; font-weight: 900; letter-spacing: -.045em; line-height: 1; }
.wordmark span { color: #597300; }
.site-nav { display: flex; align-items: center; gap: clamp(16px, 3.1vw, 42px); }
.site-nav a { min-height: 44px; padding-inline: 4px; display: grid; place-items: center; font-size: .9375rem; font-weight: 700; }
.site-nav a:hover, .back-top:hover { text-decoration: underline; text-underline-offset: 5px; }

.hero { padding-block: clamp(47px, 6vw, 88px) 0; }
.hero-intro {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: clamp(24px, 5.4vw, 78px);
  align-items: end;
  padding-bottom: clamp(27px, 4vw, 57px);
}
.personal-name {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 1rem;
  font-weight: 800;
}
.personal-name span {
  font-size: .875rem;
  color: var(--muted);
  font-weight: 500;
  padding-left: 12px;
  border-left: 1px solid #acafa2;
}
.personal-name b { font-weight: inherit; white-space: nowrap; }
.signature-en, .signature-zh { transform-origin: top left; }
.hero-identity, .director-intro > div:first-child { min-width: 0; container-type: inline-size; }
.hero h1 {
  font: 900 clamp(3.6rem, 10.8vw, 10rem)/1.03 var(--sans);
  font-size: clamp(2rem, 30cqi, 10rem);
  letter-spacing: -.052em;
  margin-left: -.035em;
}
.hero h1, .director-intro h1 { width: max-content; white-space: nowrap; word-break: keep-all; }
.signature-dot {
  display: inline-block; width: .145em; height: .145em; border-radius: 50%;
  margin-left: .065em; vertical-align: .015em; background: #a4c000;
}
.hero-copy { padding-bottom: 1px; }
.hero-copy h2 { font-size: clamp(1.4rem, 2.2vw, 2rem); line-height: 1.17; letter-spacing: -.035em; font-weight: 850; }
.hero-copy h2 span { display: block; }
.hero-copy p { margin-top: 11px; color: var(--muted); max-width: 26em; font-size: 1rem; text-wrap: pretty; }
.primary-button, .secondary-button {
  min-height: 44px; display: inline-flex; align-items: center; justify-content: center;
  padding: 7px 18px; border: 1px solid var(--ink); font-size: .95rem; font-weight: 750;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.primary-button { margin-top: 18px; border-color: var(--accent); background: var(--accent); }
.primary-button:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.secondary-button { background: transparent; }
.secondary-button:hover { background: var(--accent); border-color: #779500; }

.feature-grid { display: grid; grid-template-columns: 1.19fr 1fr; gap: clamp(11px, 1.8vw, 26px); }
.feature-tile { min-width: 0; background: #191c16; color: #f6f7f0; display: flex; flex-direction: column; }
.feature-link { display: block; min-width: 0; }
.feature-tile :focus-visible { outline-color: var(--accent); outline-offset: -4px; }
.feature-media { background: #252722; height: clamp(180px, 23vw, 320px); overflow: hidden; }
.feature-media img { height: 100%; object-fit: cover; object-position: center 48%; }
.feature-mv .feature-media img { object-position: 57% 48%; }
.feature-media img, .cover img { transition: transform .36s cubic-bezier(.2,.65,.35,1); }
.feature-link:hover img, .project-link:hover img { transform: scale(1.035); }
.feature-caption { display: flex; flex: 1; align-items: center; justify-content: space-between; gap: 9px 12px; padding: 14px clamp(12px, 1.55vw, 23px) 16px; }
.feature-label { color: #d0d4c8; font-size: .875rem; font-weight: 600; }
.feature-label strong { color: var(--accent); }
.feature-label span { color: #a3ad8e; padding-inline: 2px; }
.feature-caption h3 { font-size: clamp(1.15rem, 2vw, 1.6rem); line-height: 1.3; margin-top: 3px; letter-spacing: -.035em; }
.feature-caption h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.feature-watch {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex-shrink: 0; min-height: 44px;
  border: 1px solid #737966; background: #24281e; padding-inline: 13px; font-size: .875rem; font-weight: 700;
  white-space: nowrap; transition: color .18s, background .18s, border-color .18s;
}
.feature-watch:hover, .feature-watch:focus-visible { color: var(--ink); background: var(--accent); border-color: var(--accent); outline-color: #4c6000; }
.play-icon {
  width: 0; height: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent;
  border-left: 8px solid currentColor; display: inline-block; margin-left: 2px;
}


.work-section { padding-block: clamp(50px, 6.6vw, 98px) clamp(54px, 7vw, 105px); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 21px; }
.section-heading h2, .about-inner h2 { font-size: clamp(2.25rem, 4.7vw, 4.45rem); font-weight: 850; line-height: 1.13; letter-spacing: -.075em; }
.search-box { display: flex; width: min(100%, 253px); min-height: 44px; align-items: center; gap: 10px; border-bottom: 1px solid #898d7e; padding: 0 3px; }
.search-box:focus-within { border-color: #4f6500; box-shadow: 0 1px 0 #4f6500; }
.search-icon { display: block; width: 13px; height: 13px; border: 1.5px solid var(--muted); border-radius: 50%; position: relative; flex-shrink: 0; margin-right: 4px; }
.search-icon::after { content: ""; width: 5px; height: 1.5px; background: var(--muted); position: absolute; top: 9px; left: 9px; transform: rotate(45deg); transform-origin: 0 50%; }
.search-box input { border: 0; outline: none; background: transparent; padding: 8px 0; min-width: 0; width: 100%; color: var(--ink); }
.search-box input::placeholder { color: var(--muted); opacity: 1; }

.filters { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; margin-top: 23px; padding-bottom: 13px; border-bottom: 1px solid var(--rule); }
.filter-primary { display: flex; gap: 5px; }
.filter-primary button {
  min-height: 44px; font-size: .9375rem; font-weight: 700; padding: 7px 15px; border: 0;
  border-radius: 24px; background: transparent; color: var(--muted); white-space: nowrap;
}
.filter-primary button:hover { color: var(--ink); background: #e9eadf; }
.filter-primary button[aria-pressed="true"] { color: var(--ink); background: var(--accent); }
.role-control { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .9375rem; white-space: nowrap; }
.role-control select {
  appearance: none; min-height: 44px; min-width: 131px; border: 1px solid var(--rule); border-radius: 0;
  padding: 6px 34px 6px 11px; color: var(--ink); background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m4 6 4 4 4-4' stroke='%23363a2e' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 16px; background-repeat: no-repeat; background-position: right 10px center;
}
.results-header { min-height: 49px; display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--muted); font-size: .875rem; }
.text-button { background: none; border: 0; min-height: 44px; color: var(--accent-ink); padding: 4px 0 4px 8px; font-size: .875rem; font-weight: 700; }
.text-button:hover { text-decoration: underline; }

.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px clamp(16px, 2.15vw, 32px); }
.project-card { display: flex; flex-direction: column; min-width: 0; border-bottom: 1px solid var(--rule); }
.project-link { display: flex; flex: 1; flex-direction: column; }
.project-link:focus-visible { outline-offset: 4px; }
.cover { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: #242722; }
.cover img { height: 100%; object-fit: cover; object-position: var(--position, center); }
.cover-placeholder {
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 3px;
  padding: 21px; background: #e3e6d7; color: var(--ink);
}
.cover-name { font-size: clamp(1.6rem, 4.8vw, 4rem); font-weight: 900; line-height: 1; letter-spacing: -.07em; }
.cover-note { margin-top: 8px; color: var(--muted); font-size: .875rem; }
.card-copy { padding: 14px 1px 0; display: flex; flex: 1; flex-direction: column; }
.card-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 8px; color: var(--muted); font-size: .875rem; }
.card-credit { color: var(--accent-ink); font-weight: 800; }
.meta-divider { display: inline-block; width: 1px; height: .78em; background: #a5a797; }
.card-title { margin-top: 4px; font-size: clamp(1.1rem, 1.55vw, 1.4rem); font-weight: 800; letter-spacing: -.045em; line-height: 1.35; }
.card-summary { margin-top: 6px; margin-bottom: 9px; line-height: 1.56; color: var(--muted); }
.card-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 5px; }
.card-action, .card-watch { font-size: .875rem; font-weight: 750; display: inline-flex; align-items: center; min-height: 44px; gap: 7px; }
.card-action:hover { text-decoration: underline; text-underline-offset: 4px; }
.card-watch { color: var(--accent-ink); padding-inline: 11px; background: #e7ebdb; transition: background .18s; }
.card-watch:hover { background: var(--accent); }
.load-area { display: flex; justify-content: center; }
.load-area:has(button:not([hidden])) { padding-top: 32px; }
.empty-state { padding: 44px 16px; text-align: center; border: 1px dashed #afb2a5; color: var(--muted); }
.empty-state h3 { margin-bottom: 6px; color: var(--ink); }

.about-section { background: #1b1e15; color: #f6f7f0; }
.about-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 26px; padding-block: clamp(43px, 6vw, 80px); }
.about-inner h2 span { color: var(--accent); }
.about-lead { max-width: 40em; color: #d1d5c7; margin-top: 13px; line-height: 1.76; text-wrap: balance; }
.about-lead span { display: block; }
.about-inner .primary-button { color: var(--ink); white-space: nowrap; }
.about-inner .primary-button:hover { color: var(--paper); border-color: var(--accent); }
.footer-inner { min-height: 113px; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding-block: 22px; }
.footer-inner p { margin-top: 4px; }
.footer-inner p, .footer-contact, .back-top { color: var(--muted); font-size: .875rem; }
.footer-contact { display: flex; flex-wrap: wrap; gap: 5px 14px; }
.back-top { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; }

dialog { padding: 0; width: min(720px, calc(100% - 24px)); max-width: none; max-height: min(88dvh, 810px); border: 1px solid #8a8e81; color: var(--ink); background: var(--bg); overscroll-behavior: contain; }
dialog::backdrop { background: rgba(10,13,6,.68); }
.detail-bar { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding-left: clamp(15px, 3vw, 29px); background: var(--bg); border-bottom: 1px solid var(--rule); font-size: .875rem; font-weight: 750; }
.close-button { display: grid; place-items: center; width: 48px; min-height: 48px; margin-right: 3px; padding: 0; border: 0; background: transparent; }
.close-button:hover { background: var(--accent); }
.close-button:focus-visible { outline-offset: -4px; }
.close-button span { width: 20px; height: 2px; background: var(--ink); transform: rotate(45deg); }
.close-button span::after { content: ""; display: block; width: 100%; height: 100%; background: inherit; transform: rotate(90deg); }
.detail-visual { margin: 0; }
.detail-visual .cover:not(.cover-placeholder) { aspect-ratio: auto; }
.detail-visual .cover img { height: auto; }
.detail-visual figcaption { color: var(--muted); font-size: .8125rem; padding: 7px clamp(16px, 4vw, 33px) 0; }
.detail-copy { padding: 19px clamp(16px, 4vw, 33px) 28px; }
.detail-copy h2 { margin-block: 5px 13px; font-size: clamp(1.75rem, 4.6vw, 2.65rem); line-height: 1.2; font-weight: 850; letter-spacing: -.055em; }
.detail-copy p { color: var(--muted); }
.detail-copy .detail-meta { color: var(--accent-ink); font-size: .875rem; font-weight: 700; }
.detail-copy h3 { margin: 16px 0 4px; font-size: 1rem; }
.detail-duties { margin-top: 4px; }
.detail-watch { margin-top: 18px; border-top: 1px solid var(--rule); padding-top: 12px; }
.detail-watch h3 { margin-top: 0; }
.detail-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }

@media (max-width: 920px) {
  .hero-intro { grid-template-columns: 1.25fr 1fr; gap: 20px; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 650px) {
  html { scroll-padding-top: 66px; }
  .header-inner { min-height: 53px; }
  .hero { padding-top: 35px; }
  .hero-intro { grid-template-columns: 1fr; gap: 26px; padding-bottom: 23px; }
  .hero-copy h2 { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: .38em; font-size: 1.24rem; }
  .hero-copy p { margin-top: 8px; }
  .primary-button { margin-top: 13px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-media { height: auto; aspect-ratio: 16 / 9; }
  .feature-caption { padding: 9px 9px 10px; align-items: flex-start; flex-direction: column; gap: 7px; }
  .feature-watch { margin-top: auto; padding-inline: 8px; min-height: 44px; }
  .feature-label { font-size: .875rem; line-height: 1.35; display: block; }
  .feature-caption h3 { font-size: 1rem; margin-top: 4px; }
  .section-heading { flex-direction: column; align-items: stretch; gap: 12px; }
  .search-box { width: 100%; }
  .filters { margin-top: 13px; flex-wrap: wrap; gap: 6px; }
  .filter-primary button { padding-inline: 11px; }
  .role-control { margin-left: auto; }
  .project-grid { grid-template-columns: 1fr; gap: 22px; }
  .card-title { font-size: 1.35rem; }
  .about-inner { flex-direction: column; align-items: flex-start; gap: 9px; }
  .footer-inner { flex-wrap: wrap; gap: 8px 15px; }
  .footer-contact { flex-basis: 100%; order: 1; }
}

@media (max-width: 440px) {
  .feature-grid { grid-template-columns: 1fr; gap: 15px; }
  .feature-media { aspect-ratio: 2.08 / 1; }
  .feature-caption { flex-direction: row; align-items: center; padding: 10px 12px; }
  .feature-caption h3 { font-size: 1.125rem; }
  .feature-watch { margin-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

.site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: #779500; text-underline-offset: 6px; }
.director-page { padding-block: clamp(39px, 6vw, 87px) clamp(46px, 6.5vw, 94px); }
.director-intro { display: grid; grid-template-columns: .77fr 1.23fr; gap: clamp(24px, 4.7vw, 70px); align-items: center; }
.director-intro h1 {
  font-size: clamp(3rem, 7.5vw, 7.5rem); font-size: clamp(2rem, 27cqi, 7.5rem);
  font-weight: 900; line-height: .96; letter-spacing: -.077em; margin-left: -.045em;
}
.director-role { margin-top: 15px; font-size: clamp(1.125rem, 2vw, 1.6rem); font-weight: 800; }
.director-role span { color: var(--accent-ink); padding-inline: .2em; }
.director-education-link {
  border-left: 1px solid var(--rule); padding: 6px 0 6px 12px; color: var(--accent-ink);
  font-size: .875rem; font-weight: 700; text-decoration: underline; text-underline-offset: 4px;
}
.director-education-link:hover { color: var(--ink); }
.director-line { margin-top: clamp(16px, 2.2vw, 29px); font-size: clamp(1.23rem, 2.1vw, 1.75rem); font-weight: 800; line-height: 1.4; letter-spacing: -.035em; text-wrap: balance; }
.director-lead { margin-top: 7px; max-width: 28em; color: var(--muted); text-wrap: pretty; line-height: 1.7; }
.director-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 3px 15px; margin-top: 17px; }
.director-actions .primary-button { margin-top: 0; }
.director-actions .inline-link { margin-top: 0; }
.director-photos {
  container-type: inline-size;
  display: grid; grid-template-columns: minmax(0, 1.42fr) minmax(0, .92fr);
  gap: clamp(7px, 1.4vw, 19px); align-items: stretch; margin: 0; min-width: 0;
}
.director-photo { margin: 0; border-bottom: 1px solid var(--rule); }
.director-photo img { height: clamp(116px, 24vw, 345px); height: clamp(116px, 47cqw, 345px); object-fit: cover; }
.director-photo-esports img { object-position: 50% 38%; }
.director-photo figcaption { color: var(--muted); font-size: .875rem; padding: 7px 1px 9px; }
.onset-link { position: relative; display: block; overflow: hidden; cursor: zoom-in; }
.expand-mark {
  position: absolute; bottom: 8px; right: 8px; width: 28px; height: 28px;
  background: rgb(20 23 18 / 78%); color: white; transition: background .2s, color .2s;
}
.expand-mark::before, .expand-mark::after {
  content: ""; position: absolute; width: 7px; height: 7px; border: solid currentColor;
}
.expand-mark::before { top: 6px; right: 6px; border-width: 1.5px 1.5px 0 0; }
.expand-mark::after { left: 6px; bottom: 6px; border-width: 0 0 1.5px 1.5px; }
.onset-link:is(:hover, :focus-visible) .expand-mark { background: var(--accent); color: var(--ink); }
#photo-dialog { width: max-content; max-width: min(960px, calc(100% - 24px)); max-height: 94dvh; }
.photo-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-left: 13px; }
.photo-bar h2 { font-size: 1rem; line-height: 1.35; }
#photo-full { width: auto; height: auto; max-width: 100%; max-height: min(70dvh, 720px); margin-inline: auto; }
.photo-switch { width: 100%; min-height: 44px; border: 0; background: var(--ink); color: white; font-size: .9375rem; }
.photo-switch:is(:hover, :focus-visible) { background: var(--accent); color: var(--ink); }
.photo-switch:focus-visible { outline-offset: -3px; }
.director-career { margin-top: clamp(39px, 5vw, 70px); }
.director-section-heading { border-bottom: 1px solid var(--ink); display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; column-gap: 18px; padding-bottom: 10px; }
.director-section-heading h2 { font-size: clamp(1.65rem, 3.1vw, 2.9rem); line-height: 1.24; letter-spacing: -.055em; }
.director-section-heading p { color: var(--muted); font-size: .9375rem; }
.director-feature {
  display: grid; grid-template-columns: minmax(180px, .72fr) minmax(0, 1.28fr); align-items: center;
  gap: 18px clamp(26px, 6vw, 90px); margin-block: 16px 23px; padding: clamp(19px, 4.5vw, 57px);
  background: #191c16; color: #f6f7f0;
}
.director-feature-scale { font-size: 1rem; font-weight: 750; }
.director-feature-scale strong {
  color: var(--accent); font-size: clamp(4rem, 9vw, 8rem); font-weight: 850;
  line-height: .85; letter-spacing: -.07em; margin-right: .08em;
}
.director-feature-scale p:first-child { white-space: nowrap; }
.director-feature-scale p + p { margin-top: 12px; color: #d0d4c8; }
.director-feature-copy { border-left: 1px solid #535749; padding-left: clamp(18px, 3.2vw, 52px); }
.director-feature-copy h3 { font-size: clamp(1.25rem, 2.4vw, 2.2rem); line-height: 1.3; letter-spacing: -.035em; }
.director-feature-copy p { margin-top: 9px; max-width: 31em; color: #d0d4c8; text-wrap: pretty; }
.director-feature .inline-link { margin-top: 5px; color: var(--accent); }
.director-feature .inline-link:hover { color: var(--paper); }
.director-feature :focus-visible { outline-color: var(--accent); }
.director-career-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px clamp(18px, 3.5vw, 46px); }
.director-career-grid article { display: flex; align-items: flex-start; flex-direction: column; }
.director-career-grid h3 { margin-bottom: 6px; font-size: 1.16rem; }
.director-career-grid p { color: var(--muted); text-wrap: pretty; }
.director-notes { margin-top: clamp(30px, 5vw, 70px); }
.notes-layout {
  display: grid;
  grid-template-columns: minmax(0, .68fr) minmax(0, 1.32fr);
  grid-template-areas: "copy frames" "watch frames";
  column-gap: clamp(28px, 5.5vw, 80px);
  margin-top: clamp(18px, 2.2vw, 30px);
}
.notes-copy { grid-area: copy; align-self: end; }
.notes-copy h3 { font-size: clamp(1.45rem, 3vw, 2.65rem); line-height: 1.24; letter-spacing: -.05em; }
.notes-copy p { margin-top: 12px; max-width: 25em; color: var(--muted); text-wrap: pretty; }
.notes-layout .notes-watch { grid-area: watch; justify-self: start; align-self: start; margin-top: 12px; }
.notes-frames {
  grid-area: frames; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start; gap: clamp(12px, 1.35vw, 20px);
}
.notes-frames figure { min-width: 0; margin: 0; }
.notes-frames img { width: 100%; height: auto; aspect-ratio: 3 / 4; }
.notes-frames figcaption { padding-top: 9px; }
.notes-frames figcaption p { color: var(--muted); margin-top: 4px; line-height: 1.6; }
@media (max-width: 780px) {
  .notes-layout { grid-template-columns: 1fr; grid-template-areas: "copy" "frames" "watch"; row-gap: 16px; }
  .notes-copy p { max-width: 34em; }
  .notes-layout .notes-watch { margin-top: 0; }
}
@media (max-width: 560px) {
  .notes-frames { grid-template-columns: 1fr; gap: 14px; }
  .notes-frames figure {
    display: grid; grid-template-columns: clamp(76px, 25vw, 125px) minmax(0, 1fr);
    align-items: center; column-gap: 14px;
  }
  .notes-frames figure + figure { padding-top: 14px; border-top: 1px solid var(--rule); }
  .notes-frames figcaption { padding-top: 0; }
}
.director-education { margin-top: clamp(30px, 5vw, 70px); }
.director-degrees {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(20px, 5vw, 65px);
  margin: 0; padding: 0; list-style: none;
}
.director-degrees li { padding-block: 14px; border-bottom: 1px solid var(--rule); }
.director-degrees h3 { font-size: 1.16rem; }
.director-degrees p { margin-top: 2px; color: var(--muted); }
.inline-link {
  color: var(--accent-ink); font-size: .9375rem; font-weight: 700; display: inline-flex; align-items: center;
  min-height: 44px; margin-top: auto; text-decoration: underline; text-underline-offset: 4px;
}
.inline-link:hover { color: var(--ink); }
.director-footer { border-top: 1px solid var(--rule); }

@media (max-width: 650px) {
  .director-intro, .director-feature, .director-career-grid, .director-degrees { grid-template-columns: 1fr; }
  .director-feature-copy { border-top: 1px solid #535749; border-left: 0; padding: 16px 0 0; }
  .director-section-heading { align-items: flex-start; flex-direction: column; gap: 5px; }
}

.nav-contact, .footer-contact-button {
  min-height: 44px; padding: 6px 14px; border: 1px solid var(--ink); background: var(--ink);
  color: var(--paper); font-weight: 750; font-size: .875rem; line-height: 1.3; white-space: nowrap;
}
.nav-contact:hover, .footer-contact-button:hover { background: var(--accent); color: var(--ink); }
.footer-contact { align-items: center; }
.footer-contact-button { background: transparent; color: var(--ink); }

#contact-dialog { width: min(398px, calc(100% - 24px)); }
.contact-sheet { position: relative; text-align: center; padding: 27px 17px 22px; }
.contact-sheet .close-button { position: absolute; top: 3px; right: 3px; }
.contact-sheet h2 { font-size: clamp(1.45rem, 4.5vw, 1.85rem); font-weight: 850; }
.contact-code {
  display: block; width: min(100%, 272px, 52dvh); height: auto; aspect-ratio: 1;
  margin: 17px auto 12px;
}
.contact-sheet p { color: var(--muted); }

@media (max-width: 650px) {
  .site-nav { gap: clamp(4px, 2.3vw, 14px); }
  .site-nav a { padding-inline: 2px; font-size: .875rem; }
  .nav-contact { padding-inline: 7px; min-height: 40px; }
  .director-photos { margin-top: 3px; }
  .director-photo figcaption { line-height: 1.4; }
}

.feature-media { position: relative; }
.feature-media::before, .feature-media::after {
  content: ""; position: absolute; z-index: 1; pointer-events: none; width: clamp(16px, 7%, 34px); height: 16px;
  border: solid var(--accent); opacity: 0; transition: transform .24s ease-out, opacity .2s;
  filter: drop-shadow(0 1px 2px rgb(0 0 0 / .32));
}
.feature-media::before { top: 12px; left: 12px; border-width: 2px 0 0 2px; transform: translate(-4px, -4px); }
.feature-media::after { bottom: 12px; right: 12px; border-width: 0 2px 2px 0; transform: translate(4px, 4px); }
.feature-link:is(:hover, :focus-visible)::before, .feature-link:is(:hover, :focus-visible)::after {
  opacity: 1; transform: none;
}

#project-dialog { width: min(768px, calc(100% - 24px)); }
.detail-visual { animation: reveal-frame .22s ease-out; }
@keyframes reveal-frame { from { opacity: .52; } to { opacity: 1; } }
.detail-watch-note { margin-top: 9px; font-size: .875rem; }
.detail-reel {
  position: sticky; bottom: 0; z-index: 1; background: #191c16; color: #f7f7f2;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(49px, .27fr) minmax(0, 1fr);
  align-items: stretch; gap: 5px; padding-inline: 5px; border-top: 1px solid #4f5743;
}
.reel-step {
  border: 0; background: transparent; color: inherit; font-size: .875rem; display: grid;
  align-content: center; gap: 2px; min-width: 0; min-height: 60px; padding: 6px clamp(7px, 2vw, 15px); text-align: left;
}
.reel-step:last-child { text-align: right; }
.reel-step:disabled { color: #a1a697; cursor: default; }
.reel-step span { color: #c3c8ba; }
.reel-step strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.reel-step:not(:disabled):hover, .reel-step:focus-visible { background: #30362a; }
.reel-step:focus-visible { outline-color: var(--accent); outline-offset: -3px; }
.reel-center {
  position: relative; display: flex; flex-wrap: wrap; gap: 2px 5px; justify-content: center;
  align-items: center; align-content: center; padding: 5px 2px 8px; font-size: .75rem; white-space: nowrap;
}
.reel-label { color: var(--accent); font-weight: 700; }
#reel-position { font-variant-numeric: tabular-nums; }
.reel-track { position: absolute; bottom: 8px; inset-inline: 4px; height: 2px; background: #535b46; }
#reel-fill { display: block; height: 100%; background: var(--accent); transition: width .22s ease; }

@media (prefers-reduced-motion: reduce) {
  .detail-visual { animation: none; }
}

.detail-bar-actions { display: flex; align-items: center; gap: 5px; }
.detail-play-button {
  display: inline-flex; justify-content: center; align-items: center; gap: 8px;
  min-height: 44px; padding-inline: 12px; color: var(--ink); background: var(--accent);
  font-size: .875rem; white-space: nowrap; transition: background .18s, color .18s;
}
.detail-play-button:hover { background: var(--ink); color: var(--paper); }
.detail-play-button:focus-visible { outline-offset: 0; }

@media (prefers-reduced-motion: no-preference) {
  #photo-dialog[open] .photo-sheet { animation: focus-in .28s ease-out; }
  @keyframes focus-in { from { opacity: .62; transform: translateY(3px); } to { opacity: 1; transform: none; } }
}

@media (forced-colors: active) {
  .signature-dot { background: currentColor; }
}
