.ai-project-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.ai-project-card { display: flex; flex-direction: column; padding: 0; min-width: 0; overflow: hidden; text-align: left; color: #fff; background: #181818; border: 1px solid #ffffff12; border-radius: 18px; font: inherit; cursor: pointer; transition: border-color .2s, transform .2s; }
.ai-project-card:hover { border-color: #ffb40070; transform: translateY(-3px); }
.ai-project-card:focus-visible, .ai-project-modal button:focus-visible, .ai-source-link:focus-visible { outline: 2px solid #ffb400; outline-offset: 3px; }
.ai-project-preview { position: relative; display: flex; width: 100%; aspect-ratio: 16/9; overflow: hidden; background: #090909; }
.ai-project-preview img { width: 100%; height: 100%; object-fit: cover; min-width: 0; }
.ai-project-count { position: absolute; right: 12px; bottom: 12px; border-radius: 5px; padding: 3px 8px; background: #000c; color: #fff; font-size: 11px; }
.ai-project-copy { display: flex; flex-direction: column; align-items: flex-start; padding: 20px 22px; }
.ai-project-copy .collection-kicker { font-size: 10px; margin-bottom: 9px; }
.ai-project-copy > strong { display: block; font-size: 26px; line-height: 1.2; }
.ai-project-summary { font-size: 13px; line-height: 1.65; color: #bdbdbd; margin: 12px 0; }
.ai-project-open-label { color: #ffb400; font-size: 12px; font-weight: 600; margin-top: auto; }
.ai-project-series { grid-column: 1/-1; flex-direction: row; align-items: center; }
.ai-project-series .ai-project-preview { width: 42%; flex-shrink: 0; aspect-ratio: 16/9; }
.ai-project-series .ai-project-preview img { width: 33.333%; object-position: center; }
body.ai-project-open { overflow: hidden; }
body.ai-expanded-open { overflow: hidden; }
.ai-video-controls { display: flex; justify-content: flex-end; margin: 0 0 12px; }
.ai-fullscreen-button { border: 1px solid #ffb40088; border-radius: 8px; padding: 9px 14px; background: #1b1b1b; color: #ffb400; cursor: pointer; font: inherit; font-size: 13px; }
.ai-fullscreen-button[hidden] { display: none; }
.ai-detail-player:fullscreen, .ai-short-player:fullscreen { width: 100vw !important; height: 100vh !important; max-width: none; aspect-ratio: auto; border-radius: 0; background: #000; }
.ai-expanded-player { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #000; }
.ai-expanded-stage { position: absolute; inset: 55px 0 0; }
.ai-expanded-stage iframe { width: 100%; height: 100%; border: 0; }
.ai-expanded-close { position: absolute; top: 8px; right: 16px; width: 40px; height: 40px; color: #fff; background: #222; border: 1px solid #888; border-radius: 50%; font-size: 26px; cursor: pointer; }
.ai-shorts-section { margin-top: 38px; padding-top: 28px; border-top: 1px solid #ffffff20; }
.ai-shorts-section h3 { color: #fff; font-size: 27px; margin: 0 0 10px; }
.ai-shorts-intro { color: #bbb; font-size: 14px; line-height: 1.7; max-width: 720px; margin-bottom: 22px; }
.ai-shorts-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.ai-inline-short { min-width: 0; border: 1px solid #ffffff18; border-radius: 14px; background: #181818; overflow: hidden; }
.ai-short-player { position: relative; width: 100%; aspect-ratio: 9/16; background: #000; }
.ai-short-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ai-short-poster { display: block; position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: #000; cursor: pointer; }
.ai-short-poster img { width: 100%; height: 100%; object-fit: cover; }
.ai-short-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); padding: 12px 22px; background: #ffb400; color: #111; border-radius: 28px; font-size: 16px; font-weight: 600; white-space: nowrap; }
.ai-short-copy { padding: 18px; }
.ai-short-copy h4 { font-size: 18px; margin: 0 0 8px; }
.ai-short-duration { color: #ffb400; font-size: 12px; }
.ai-short-copy p { color: #bbb; font-size: 12px; line-height: 1.7; margin-top: 12px; }
.ai-shorts-credit { color: #999; font-size: 11px; margin-top: 18px; line-height: 1.6; }
@media(max-width:650px) { .ai-shorts-grid { grid-template-columns: minmax(0,1fr); } .ai-inline-short { width: 100%; max-width: 360px; margin: auto; } }
.ai-project-modal { width: min(1100px,calc(100% - 40px)); max-width: none; max-height: calc(100dvh - 40px); margin: auto; padding: 0; overflow: auto; overscroll-behavior: contain; border: 1px solid #ffffff20; border-radius: 20px; background: #121212; color: #fff; box-shadow: 0 30px 100px #000a; }
.ai-project-modal::backdrop { background: #000d; }
.ai-detail-toolbar { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 28px; background: #141414; border-bottom: 1px solid #ffffff12; }
.ai-detail-toolbar h3 { margin: 5px 0 0; font-size: 26px; line-height: 1.2; }
.ai-detail-toolbar .collection-kicker { font-size: 10px; margin: 0; }
.ai-detail-toolbar button { flex: 0 0 42px; width: 42px; height: 42px; border: 1px solid #ffffff20; border-radius: 50%; background: #222; color: #fff; font-size: 28px; cursor: pointer; }
.ai-detail-content { padding: 24px 28px 28px; }
.ai-video-layout { display: flex; align-items: flex-start; justify-content: center; gap: 28px; }
.ai-detail-player { position: relative; flex: 1 1 auto; width: 100%; aspect-ratio: 16/9; background: #000; border-radius: 10px; overflow: hidden; }
.ai-detail-player.is-portrait { flex: 0 1 auto; width: min(320px,100%); aspect-ratio: 9/16; }
.ai-detail-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ai-external-video { display: block; position: absolute; inset: 0; color: #fff; }
.ai-external-video img { width: 100%; height: 100%; object-fit: cover; }
.ai-external-play { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); padding: 12px 20px; border-radius: 30px; white-space: nowrap; background: #ffb400; color: #111; font-size: 14px; font-weight: 700; box-shadow: 0 4px 24px #0008; }
.ai-clip-list { width: 340px; flex-shrink: 0; display: grid; gap: 12px; }
.ai-clip { display: flex; align-items: center; gap: 16px; width: 100%; padding: 12px; text-align: left; border: 1px solid #ffffff16; border-radius: 12px; background: #1b1b1b; color: #fff; cursor: pointer; }
.ai-clip.is-active { border-color: #ffb400; background: #ffb4000a; }
.ai-clip img { width: 48px; height: 72px; border-radius: 5px; object-fit: cover; }
.ai-clip strong { display: block; font-size: 14px; line-height: 1.5; }
.ai-clip small { display: block; color: #aaa; font-size: 12px; margin-top: 4px; }
.ai-detail-copy { margin-top: 24px; max-width: 790px; }
.ai-detail-copy h4 { font-size: 17px; margin: 0 0 10px; }
.ai-detail-copy p { color: #ccc; line-height: 1.7; font-size: 14px; margin: 0 0 14px; }
.ai-detail-copy .ai-credit { color: #888; font-size: 11px; }
.ai-credit:empty { display: none; }
.ai-source-link { color: #ffb400; font-size: 12px; }
.ai-detail-links { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.ai-supporting-assets { margin-top: 32px; padding-top: 24px; border-top: 1px solid #ffffff18; }
.ai-asset-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.ai-asset-grid figure { margin: 0; }
.ai-asset-grid img { width: 100%; border-radius: 10px; }
.ai-asset-grid figcaption { font-size: 12px; color: #aaa; margin-top: 10px; }
@media(max-width:650px) {
 .ai-project-grid { grid-template-columns: minmax(0,1fr); gap: 18px; }
 .ai-project-series { flex-direction: column; }
 .ai-project-series .ai-project-preview { width: 100%; }
 .ai-project-copy { width: 100%; padding: 20px; }
 .ai-project-copy > strong { font-size: 24px; }
 .ai-project-modal { width: calc(100% - 20px); max-height: calc(100dvh - 20px); border-radius: 16px; }
 .ai-detail-toolbar { padding: 18px 16px; }
 .ai-detail-toolbar h3 { font-size: 22px; }
 .ai-detail-content { padding: 18px 14px 24px; }
 .ai-video-layout { flex-direction: column; align-items: center; gap: 18px; }
 .ai-detail-player.is-portrait { width: min(270px,100%); }
 .ai-clip-list { width: 100%; gap: 8px; }
 .ai-clip { padding: 9px; gap: 12px; }
 .ai-clip img { width: 32px; height: 48px; }
 .ai-clip strong { font-size: 12px; }
 .ai-detail-copy p { font-size: 13px; }
 .ai-asset-grid { grid-template-columns: minmax(0,1fr); }
}
@media(prefers-reduced-motion:reduce) { .ai-project-card { transition: none; } }

.ai-project-featured { grid-column: 1/-1; flex-direction: row; align-items: center; border-color: #ffb40055; }
.ai-project-documents { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; padding: 16px; border: 1px solid #ffb40070; border-radius: 12px; background: #ffb4000a; }
.ai-project-documents[hidden] { display: none; }
.ai-document-heading { flex: 1 1 440px; }
.ai-document-heading h4 { margin: 6px 0 10px; font-size: 23px; }
.ai-document-description { margin: 0 0 10px; max-width: 680px; color: #ccc; font-size: 13px; line-height: 1.65; }
.ai-document-meta { color: #aaa; font-size: 11px; line-height: 1.6; display: block; }
.ai-document-heading .collection-kicker { font-size: 10px; }
.ai-document-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.ai-document-buttons a { font-size: 13px; font-weight: 600; padding: 10px 14px; border-radius: 7px; text-decoration: none; }
.ai-document-open { background: #ffb400; color: #111; }
.ai-document-open:hover { background: #ffd064; color: #111; }
.ai-document-download { color: #ffb400; border: 1px solid #ffb40066; }
.ai-project-featured .ai-project-preview { width: 58%; flex-shrink: 0; }
.ai-project-featured .ai-project-preview img { object-fit: contain; }
.ai-project-featured .ai-project-copy { padding: 24px; }
.ai-project-featured .ai-project-count { position: static; margin: 0 0 18px; background: #ffffff09; color: #ccc; }
.ai-project-portrait-cover { grid-column: 1/-1; flex-direction: row; align-items: center; gap: 18px; }
.ai-project-portrait-cover .ai-project-preview { width: 260px; max-width: 40%; flex-shrink: 0; aspect-ratio: 9/16; }
.ai-project-portrait-cover .ai-project-preview img { object-fit: contain; }
.ai-project-portrait-cover .ai-project-copy { flex: 1; max-width: 650px; }
.ai-project-portrait-cover .ai-project-count { position: static; margin: 0 0 18px; color: #ccc; }
@media(max-width:650px) {
 .ai-project-portrait-cover { flex-direction: column; gap: 0; }
 .ai-project-portrait-cover .ai-project-preview { width: 100%; max-width: 100%; }
}
.ai-project-featured .ai-project-copy > strong { font-size: clamp(25px,2.5vw,36px); }
.ai-tools { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 16px; padding: 0; }
.ai-tools[hidden] { display: none; }
.ai-tools li { padding: 5px 11px; background: #ffffff09; border: 1px solid #ffffff20; border-radius: 20px; color: #ddd; font-size: 12px; }
.ai-clip.is-landscape img { width: 96px; height: 54px; object-fit: contain; }
.ai-detail-copy [data-ai-role-heading] { margin-top: 22px; color: #ffb400; }
.ai-asset-card { padding: 16px; border: 1px solid #ffffff18; border-radius: 12px; background: #191919; }
.ai-asset-card > a { display: flex; height: 220px; justify-content: center; background: #101010; border-radius: 8px; overflow: hidden; }
.ai-asset-card img { height: 100%; width: 100%; object-fit: contain; }
.ai-asset-card figcaption strong { display: block; color: #eee; font-size: 15px; }
.ai-asset-description { display: block; margin-top: 6px; }
.ai-asset-actions { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 14px; }
@media(max-width:800px) {
 .ai-project-featured { flex-direction: column; }
 .ai-project-featured .ai-project-preview { width: 100%; }
 .ai-project-featured .ai-project-copy { width: 100%; padding: 20px; }
}
