/* Project case: one shared measure for headings, prose, figures and local contents. */
.project-preview .case-shell,.project-preview .case-prose{width:min(760px,calc(100% - 40px));max-width:760px;margin-inline:auto}
.project-preview .case-title-block h1{letter-spacing:-.04em}
.project-preview .case-title-block h1{font-size:clamp(30px,4.1vw,54px);line-height:1.45}
.project-crew{margin-top:30px}
.project-stat{border-top:1px solid var(--case-rule);padding-top:28px;margin-bottom:24px}
.project-stat .project-stat-label{font-size:12px;letter-spacing:.1em;margin:0 0 6px;color:var(--case-muted)}
.project-stat .project-stat-value{font-size:clamp(34px,5vw,56px);font-weight:400;letter-spacing:-.035em;line-height:1.45;margin:0;color:var(--case-ink)}
.project-stat-value span{font-size:15px;letter-spacing:0;margin-left:15px;color:var(--case-muted)}
.project-video{margin-top:28px;margin-bottom:0}
.project-video video{display:block;width:100%;height:auto;background:#141613;aspect-ratio:16/9}
.project-video figcaption{font-size:11px;color:var(--case-muted);margin-top:12px}
#showcase-characters,#showcase-props,#showcase-storyboards{padding-top:28px}
.project-preview #introduction .project-links{margin-top:20px}
.project-preview #introduction .project-links>li{border:0;padding:0}
.project-preview #introduction .project-links a{font-size:14px}
.project-preview .case-skip{z-index:60}
.project-preview main{padding-bottom:100px}
.project-section{padding-top:82px;scroll-margin-top:100px}
.project-section:first-of-type{padding-top:26px}
.project-section .case-prose>h2{font-size:27px;font-weight:400;letter-spacing:-.035em;line-height:1.6;margin:0 0 26px}
.project-section .case-prose p{color:var(--case-muted)}
.project-section-image{padding-top:66px}
.project-section-image>.case-prose{margin-bottom:32px}
.project-figure{max-width:1080px}
.project-figure-wide{max-width:1320px}
.project-figure-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-items:start}
.project-figure figcaption{display:block;text-align:left;font-size:11px;line-height:1.9;margin-top:12px}
.project-decisions{list-style:none;padding:0;margin-top:0;margin-bottom:0}
.project-decisions>li{display:grid;grid-template-columns:28px minmax(0,1fr);gap:22px;padding-top:28px;margin-top:30px;border-top:1px solid var(--case-rule)}
.project-decisions>li:first-child{margin-top:0}
.project-decision-number{font-size:10px;line-height:2.6;letter-spacing:.06em;font-variant-numeric:tabular-nums;color:var(--case-muted)}
.project-decisions h3{font-size:18px;font-weight:400;line-height:1.7;letter-spacing:-.015em;margin:0 0 12px}
.project-decisions p{font-size:15px}
.project-links{list-style:none;padding:0;margin-top:32px;margin-bottom:0}
.project-links>li{padding:19px 0 22px;border-top:1px solid var(--case-rule)}
.project-links>li:last-child{padding-bottom:0}
.project-links a{display:inline-flex;align-items:baseline;gap:12px;font-size:16px;font-weight:400;line-height:1.8;text-decoration:underline;text-decoration-color:var(--case-rule);text-underline-offset:5px}
.project-links a:hover{text-decoration-color:var(--case-ink)}
.project-links a>span{font-size:13px;color:var(--case-muted)}
.project-links p{font-size:13px;line-height:1.95;margin-top:9px}
.project-references{margin-top:18px;font-size:11px;color:var(--case-muted)}
.project-references summary{width:fit-content;cursor:pointer}
.project-references ul{list-style:none;padding:8px 0 0;margin:0}
.project-references li{margin:7px 0;line-height:1.8}
.project-references a{text-decoration:underline;text-underline-offset:3px}
.project-feedback{margin-top:36px;border:1px solid var(--case-rule);border-radius:5px;padding:22px;background:var(--case-wash)}
.project-feedback-heading{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:23px}
.project-feedback h3{font-size:18px;line-height:1.5;font-weight:400;margin:0}
.project-feedback-heading>span{font-size:11px;white-space:nowrap;color:var(--case-muted)}
.project-feedback ol{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px}
.project-feedback li{position:relative;min-width:0}
.project-feedback li:not(:last-child)::after{content:'→';position:absolute;right:-15px;top:29px;color:var(--site-yellow,#FBB034);font-size:14px}
.project-feedback small{font-size:10px;color:var(--case-muted)}
.project-feedback h4{font-size:13px;font-weight:500;margin:6px 0 8px;line-height:1.5}
.project-feedback li p{font-size:11px;line-height:1.85;color:var(--case-muted);margin:0}
.project-feedback-return{font-size:12px;line-height:1.85;color:var(--case-ink);margin:21px 0 0;border-top:1px dashed var(--site-yellow,#FBB034);padding-top:12px}
.project-feedback-metrics{display:flex;flex-wrap:wrap;gap:6px 16px;border-top:1px solid var(--case-rule);padding-top:14px;margin-top:16px;font-size:11px;color:var(--case-muted)}
.project-feedback-metrics>span:first-child{color:var(--case-ink)}
@media(max-width:640px){.project-feedback{padding:18px}.project-feedback-heading{align-items:start}.project-feedback h3{font-size:17px}.project-feedback ol{grid-template-columns:1fr;gap:17px;padding-left:14px;border-left:1px dashed var(--site-yellow,#FBB034)}.project-feedback li{display:grid;grid-template-columns:22px minmax(0,1fr);gap:3px 8px}.project-feedback h4{margin:0}.project-feedback small{grid-row:1/3;line-height:2}.project-feedback li p{grid-column:2}.project-feedback li:not(:last-child)::after{display:none}}
.project-preview .case-lightbox{z-index:100}
.project-journey{margin-top:8px;margin-bottom:46px}
.project-journey ol{list-style:none;padding:20px 0;margin:0;display:flex;flex-wrap:wrap;gap:18px 36px;border-top:1px solid var(--case-rule);border-bottom:1px solid var(--case-rule)}
.project-journey li{display:flex;align-items:center}
.project-journey a{display:flex;gap:11px;align-items:baseline;font-size:13px;text-decoration:none}
.project-journey small{font-size:10px;color:var(--case-muted)}
.project-journey a:hover{color:var(--case-accent)}
.project-journey a:focus-visible{outline:2px solid var(--case-accent);outline-offset:6px}
@media(max-width:760px){
  .project-journey{margin-top:0;margin-bottom:24px}
  .project-journey ol{gap:15px 20px;padding:17px 0}
  .project-journey a{gap:7px;font-size:11px}
  .project-preview main{padding-bottom:64px}
  .project-section{padding-top:57px;scroll-margin-top:80px}
  .project-section:first-of-type{padding-top:17px}
  .project-section .case-prose{width:calc(100% - 40px)}
  .project-section .case-prose>h2{font-size:23px;margin-bottom:21px}
  .project-section-image{padding-top:43px}
  .project-section-image>.case-prose{margin-bottom:24px}
  .project-figure figcaption{font-size:10px;line-height:1.85;margin-top:11px}
  .project-decisions>li{grid-template-columns:22px minmax(0,1fr);gap:12px;padding-top:22px;margin-top:24px}
  .project-decision-number{font-size:9px;line-height:2.8}
  .project-decisions h3{font-size:17px;margin-bottom:10px}
  .project-decisions p{font-size:14px}
  .project-links{margin-top:25px}
  .project-links a{font-size:15px}
  .project-links p{font-size:12px}
}
@media(max-width:640px){.project-figure-pair{grid-template-columns:1fr;gap:24px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.case-image-button img{transition:none}.case-revealed{animation:none}}
@media print{.project-preview .pk-header,.project-preview .case-skip{display:none}.project-preview main{padding-bottom:30px}.project-section{padding-top:35px}.project-section .case-prose,.project-figure{width:100%}}

/* Repository screenshot opens this case before the reading contents. */
#repository .project-links{margin-top:18px}
#repository .project-links>li{border:0;padding:0}
#repository .project-links a{font-size:13px}
.project-journey{margin-top:40px}
#introduction{padding-top:20px}
@media(max-width:760px){.project-journey{margin-top:28px}#introduction{padding-top:16px}}

/* Keep the generated shot next to its full prompt comparison. */
#prompt-result{padding-top:24px}
#prompt-result .project-video{margin-top:0}

/* Optional editorial components; independent of the global site navigation. */
.aigc-component{--aigc-yellow:var(--site-yellow,#FBB034);--aigc-yellow-ink:var(--site-yellow,#FBB034);margin-top:32px;color:var(--case-ink,var(--site-ink,#303030))}
.aigc-component h3{font-size:18px;font-weight:400;line-height:1.6;letter-spacing:-.015em;margin:0 0 23px}
.aigc-component-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:24px}
.aigc-component-heading h3,.aigc-component-heading h4{margin:0}
.aigc-component button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
.aigc-component button:focus-visible,.aigc-component summary:focus-visible{outline:2px solid var(--aigc-yellow-ink);outline-offset:4px}
.aigc-component .aigc-component-note{font-size:12px;line-height:1.95;color:var(--case-muted,var(--site-muted,#777));margin:15px 0 0}
.aigc-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.aigc-workflow{border:1px solid var(--case-rule,var(--site-line,#d5d5d5));padding:24px 22px 18px;border-radius:4px;background:var(--case-wash,var(--site-surface,#ebebeb))}
.aigc-workflow .aigc-motion-toggle{font-size:10px;color:var(--case-muted,var(--site-muted,#777));white-space:nowrap;padding:5px 0;min-height:32px;text-decoration:underline;text-underline-offset:4px}
.aigc-workflow-steps{display:grid;grid-template-columns:repeat(var(--aigc-step-count),minmax(0,1fr));gap:21px;list-style:none;margin:0;padding:0}
.aigc-workflow-steps li{position:relative;min-width:0}
.aigc-workflow-steps li:not(:last-child)::after{content:'';position:absolute;left:34px;right:-14px;top:15px;height:1px;background:repeating-linear-gradient(90deg,var(--aigc-yellow) 0 5px,transparent 5px 10px);background-size:10px 1px;animation:aigc-dash-forward 2.8s linear infinite;animation-play-state:paused}
.aigc-step-number{display:grid;place-items:center;width:30px;height:30px;border:1px solid var(--aigc-yellow);border-radius:50%;font-size:10px;font-variant-numeric:tabular-nums;color:var(--case-ink,var(--site-ink,#303030))}
.aigc-workflow h4{font-size:13px;line-height:1.6;font-weight:500;margin:14px 0 8px}
.aigc-workflow li p{font-size:11px;line-height:1.9;color:var(--case-muted,var(--site-muted,#777));margin:0}
.aigc-workflow-return{position:relative;padding-top:15px;margin:25px 0 0;font-size:12px;line-height:1.9;color:var(--case-muted,var(--site-muted,#777))}
.aigc-workflow-return::before{content:'';position:absolute;top:0;left:0;right:0;height:1px;background:repeating-linear-gradient(90deg,var(--aigc-yellow) 0 5px,transparent 5px 10px);background-size:10px 1px;animation:aigc-dash-return 2.8s linear infinite;animation-play-state:paused}
.aigc-workflow-return>span{color:var(--aigc-yellow-ink);font-size:17px;margin-right:5px}
.aigc-workflow[data-aigc-motion='running'] .aigc-workflow-steps li::after,.aigc-workflow[data-aigc-motion='running'] .aigc-workflow-return::before{animation-play-state:running}
@keyframes aigc-dash-forward{to{background-position:20px 0}}
@keyframes aigc-dash-return{to{background-position:-20px 0}}
.aigc-comparison-table{width:100%;border-collapse:collapse;table-layout:fixed;text-align:left;font-size:13px;line-height:1.9}
.aigc-comparison-label-col{width:18%}
.aigc-comparison-table th,.aigc-comparison-table td{padding:16px 14px 16px 0;vertical-align:top;border-bottom:1px solid var(--case-rule,var(--site-line,#d5d5d5));overflow-wrap:anywhere}
.aigc-comparison-table th:last-child,.aigc-comparison-table td:last-child{padding-right:0}
.aigc-comparison-table thead th{font-size:11px;font-weight:400;color:var(--case-muted,var(--site-muted,#777));border-top:1px solid var(--case-rule,var(--site-line,#d5d5d5));padding-top:12px;padding-bottom:12px}
.aigc-comparison-table thead th:last-child{color:var(--aigc-yellow-ink)}
.aigc-comparison-table tbody th{font-weight:500}
.aigc-comparison-table td{color:var(--case-muted,var(--site-muted,#777))}
.aigc-comparison-table td:last-child{color:var(--case-ink,var(--site-ink,#303030))}
.aigc-prompt-toolbar{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:28px 0 12px;font-size:12px}
.aigc-prompt-toolbar p{margin:0;color:var(--case-muted,var(--site-muted,#777))}
.aigc-prompt-toolbar button{font-size:11px;min-height:36px;padding:7px 0;text-decoration:underline;text-underline-offset:4px}
.aigc-prompt-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}
.aigc-prompt{min-width:0;border-top:1px solid var(--case-rule,var(--site-line,#d5d5d5));border-bottom:1px solid var(--case-rule,var(--site-line,#d5d5d5))}
.aigc-prompt summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:14px;padding:16px 0;font-size:13px;line-height:1.6}
.aigc-prompt summary::-webkit-details-marker{display:none}
.aigc-prompt-summary-state{font-size:11px;color:var(--case-muted,var(--site-muted,#777))}
.aigc-prompt-summary-state::after{content:'展开 +'}
.aigc-prompt[open] .aigc-prompt-summary-state::after{content:'收起 −'}
.aigc-prompt-content{border-top:1px solid var(--case-rule,var(--site-line,#d5d5d5));padding:18px 0 23px}
.aigc-prompt pre{font:inherit;font-size:12px;line-height:2;white-space:pre-wrap;overflow-wrap:anywhere;word-break:normal;margin:0;color:var(--case-muted,var(--site-muted,#777));tab-size:2}
.aigc-observations{border-top:1px solid var(--case-rule,var(--site-line,#d5d5d5));padding-top:26px}
.aigc-observation-badge{font-size:10px;color:var(--case-muted,var(--site-muted,#777));white-space:nowrap}
.aigc-observation-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:46px}
.aigc-observation-series{min-width:0}
.aigc-observation-value{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:14px}
.aigc-observation-value>span{font-size:12px;color:var(--case-muted,var(--site-muted,#777))}
.aigc-observation-value p{margin:0;white-space:nowrap;font-size:11px;color:var(--case-muted,var(--site-muted,#777))}
.aigc-observation-value strong{font-size:32px;font-weight:400;line-height:1.2;letter-spacing:-.035em;font-variant-numeric:tabular-nums;color:var(--case-ink,var(--site-ink,#303030))}
.aigc-observation-blocks{display:flex;gap:6px}
.aigc-observation-block{flex:1;min-width:0;aspect-ratio:1;border:1px solid var(--case-rule,var(--site-line,#d5d5d5));background:var(--case-wash,var(--site-surface,#ebebeb));border-radius:2px}
.aigc-observation-block.is-solid,.aigc-observation-legend .is-solid{background:var(--aigc-yellow);border-color:var(--aigc-yellow)}
.aigc-observation-block.is-range,.aigc-observation-legend .is-range{background:none;border:1.5px solid var(--aigc-yellow-ink)}
.aigc-observation-legend{display:flex;flex-wrap:wrap;gap:8px 20px;font-size:10px;line-height:1.8;color:var(--case-muted,var(--site-muted,#777));margin:18px 0 0}
.aigc-observation-legend>span{display:flex;align-items:center;gap:7px}
.aigc-observation-legend i{width:9px;height:9px;display:inline-block;border-radius:1px}
.aigc-heuristic{margin-top:32px;padding-top:24px;border-top:1px solid var(--case-rule,var(--site-line,#d5d5d5))}
.aigc-heuristic h4{font-size:15px;font-weight:400;line-height:1.6;margin:0}
.aigc-heuristic .aigc-component-heading{margin-bottom:18px}
.aigc-heuristic-bar{display:flex;height:7px;gap:3px;overflow:hidden;border-radius:1px}
.aigc-heuristic-bar>span:first-child{background:var(--aigc-yellow)}
.aigc-heuristic-bar>span:last-child{background:var(--case-ink,var(--site-ink,#303030));opacity:.55}
.aigc-heuristic-labels{display:grid;grid-template-columns:7fr 3fr;gap:20px;margin-top:14px}
.aigc-heuristic-labels p{margin:0;display:flex;align-items:baseline;flex-wrap:wrap;gap:2px 10px}
.aigc-heuristic-labels strong{font-size:23px;font-weight:400;letter-spacing:-.025em;font-variant-numeric:tabular-nums}
.aigc-heuristic-labels span{font-size:11px;color:var(--case-muted,var(--site-muted,#777))}
html[data-theme='dark'] .aigc-component{--aigc-yellow-ink:var(--site-yellow,#FBB034)}
@media(max-width:640px){
 .aigc-component{margin-top:26px}
 .aigc-component h3{font-size:16px}
 .aigc-component-heading{align-items:flex-start;flex-wrap:wrap;gap:6px 14px;margin-bottom:21px}
 .aigc-workflow{padding:20px 18px 16px}
 .aigc-workflow-steps{grid-template-columns:1fr;gap:25px}
 .aigc-workflow-steps li{display:grid;grid-template-columns:30px minmax(0,1fr);gap:5px 15px}
 .aigc-step-number{grid-row:1/3}
 .aigc-workflow h4{margin:2px 0 0;font-size:13px}
 .aigc-workflow li p{grid-column:2;font-size:12px}
 .aigc-workflow-steps li:not(:last-child)::after{left:14px;right:auto;top:36px;bottom:-19px;width:1px;height:auto;background:repeating-linear-gradient(180deg,var(--aigc-yellow) 0 5px,transparent 5px 10px);background-size:1px 10px;animation-name:aigc-dash-down}
 .aigc-comparison-table{font-size:12px}
 .aigc-comparison-label-col{width:20%}
 .aigc-comparison-table th,.aigc-comparison-table td{padding:13px 10px 13px 0}
 .aigc-prompt-pair{grid-template-columns:1fr;gap:12px}
 .aigc-prompt pre{font-size:13px}
 .aigc-observation-pair{grid-template-columns:1fr;gap:25px}
 .aigc-observation-block{max-height:34px;aspect-ratio:auto;height:32px}
 .aigc-heuristic-labels{grid-template-columns:1fr 1fr}
 .aigc-heuristic-labels p{display:block}
 .aigc-heuristic-labels span{display:block;margin-top:3px}
}
@keyframes aigc-dash-down{to{background-position:0 20px}}
@media(prefers-reduced-motion:reduce){.aigc-workflow-steps li::after,.aigc-workflow-return::before{animation:none!important}.aigc-motion-toggle{display:none!important}}
@media print{.aigc-component button{display:none!important}.aigc-workflow-steps li::after,.aigc-workflow-return::before{animation:none!important}.aigc-component{break-inside:avoid}.aigc-prompt-pair{display:block}.aigc-prompt{margin-top:18px}}

.aigc-refinement{margin-top:30px;padding-top:24px;border-top:1px solid var(--case-rule,var(--site-line,#d5d5d5))}
.aigc-refinement h4{font-size:15px;font-weight:400;line-height:1.6;margin:0}
.aigc-refinement .aigc-component-heading{margin-bottom:8px}
.aigc-refinement-scope{font-size:12px;line-height:1.9;color:var(--case-muted,var(--site-muted,#777));margin:0 0 24px}
.aigc-refinement-row{margin-top:19px}
.aigc-refinement-row>div:first-child{display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin-bottom:10px;font-size:12px;color:var(--case-muted,var(--site-muted,#777))}
.aigc-refinement-row strong{font-size:19px;font-weight:400;white-space:nowrap;color:var(--case-ink,var(--site-ink,#303030))}
.aigc-refinement-track{height:8px;background:var(--case-wash,var(--site-surface,#ebebeb));border-radius:1px;overflow:hidden}
.aigc-refinement-track>span{display:block;height:100%;background:var(--case-ink,var(--site-ink,#303030));opacity:.5}
.aigc-refinement-row.is-improved .aigc-refinement-track>span{background:var(--site-yellow,#FBB034);opacity:1}
.aigc-refinement-change{font-size:12px;color:var(--case-muted,var(--site-muted,#777));margin:24px 0 0;display:flex;align-items:baseline;gap:12px}
.aigc-refinement-change strong{font-size:28px;line-height:1.4;font-weight:400;color:var(--case-ink,var(--site-ink,#303030))}
