/* ChannelForge case-study styles. */
.channelforge-showcase .detail-hero h1 { font-size: clamp(1.9rem,4.3vw,4rem); }
.cf-screenshot { margin: 0; min-width: 0; }
.cf-screenshot figcaption, .cf-video-pair figcaption { margin-top: .9rem; color: var(--muted); font-size: .8rem; line-height: 1.6; }
.cf-screenshot-grid, .cf-platforms, .cf-stack { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.2rem; }
.cf-platforms, .cf-stack { margin: 0; }
.cf-platforms > div, .cf-stack > div { border: 1px solid var(--line); padding: 1.2rem; }
.cf-platforms dt, .cf-stack dt { font-weight: 700; color: var(--text); }
.cf-platforms dd, .cf-stack dd { margin: .8rem 0 0; color: var(--muted); line-height: 1.7; }
.cf-badge { display: inline-block; padding: .2rem .5rem; margin-left: .4rem; border: 1px solid var(--line); border-radius: 4px; font-size: .65rem; color: var(--muted); vertical-align: middle; }
.cf-badge.cf-live { color: var(--accent); border-color: #77b7ff66; }
.cf-video-pair { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(0,1fr); align-items: stretch; gap: 1.2rem; }
.cf-video-pair figure { display: flex; flex-direction: column; margin: 0; min-width: 0; }
.cf-video-landscape { aspect-ratio: 16 / 9; }
.cf-video-portrait { aspect-ratio: 9 / 16; }
.cf-video-pair iframe { display: block; width: 100%; height: 100%; border: 1px solid var(--line); border-radius: 6px; background: #0b111b; }
@media (max-width: 680px) { .cf-screenshot-grid, .cf-platforms, .cf-stack, .cf-video-pair { grid-template-columns: minmax(0,1fr); } .cf-video-portrait { max-width: 320px; margin: 0 auto; } }

.cf-screenshot img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 8px; }
.cf-screenshot a { display: block; }
.cf-screenshot a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.cf-screenshot-grid > figure:first-child { grid-column: 1 / -1; }
.cf-card-visual { grid-column: 2; grid-row: 1 / -1; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #0b111b; }
.cf-card-visual img { display: block; width: 100%; height: auto; }
@media (max-width: 680px) { .cf-card-visual { grid-column: 1; grid-row: 1; } }

/* Give the landscape output a useful editorial companion beside the taller Short. */
.cf-video-pair figcaption { display: flex; flex: 1; flex-direction: column; }
.cf-output-note { flex: 1; margin-top: 1.25rem; padding: clamp(1.1rem,2vw,1.6rem); background: #0b111bcc; border: 1px solid var(--line); border-left: 2px solid var(--accent); border-radius: 6px; }
.cf-output-note .project-meta { margin: 0 0 .9rem; font-size: .63rem; color: var(--accent); }
.cf-output-note h3 { margin: 0 0 1rem; color: var(--text); font-size: clamp(1.1rem,1.7vw,1.5rem); line-height: 1.2; }
.cf-output-note > p:not(.project-meta) { margin: 0 0 .9rem; font-size: .85rem; line-height: 1.7; }
.cf-output-tags { display: flex; flex-wrap: wrap; gap: .5rem; padding-top: .35rem; }
.cf-output-tags span { padding: .3rem .5rem; color: var(--text); border: 1px solid var(--line); border-radius: 4px; font-size: .65rem; }
#sample-outputs { scroll-margin-top: 90px; }
