/* Concept stories share the case template; content is allowed to grow naturally. */
.case-project-page #content .section-label{gap:18px}
.case-project-page #content .section-label b{width:42px;flex-shrink:0}
.case-concept-page #content .hero-metric strong{font-size:clamp(18px,1.7vw,30px);line-height:1.3}
.case-concept-page #content [data-od-id="case-main-photo"]{height:auto}
.case-concept-page .case-concept-note{display:grid;grid-template-columns:1.2fr 1fr;gap:24px;margin-top:28px;padding:24px 0 0;border-top:1px solid var(--border);font-size:14px;line-height:1.65;color:var(--muted-dark)}
.case-concept-page .case-concept-note p{margin:0}
.case-concept-page .case-concept-note strong{display:block;margin-bottom:6px;color:var(--ink,#252a23);font-size:16px;font-weight:500}
.case-concept-page .case-concept-note a{text-decoration:underline;text-underline-offset:3px}
.case-concept-page #content [data-od-id="case-brief"]{height:auto}
.case-concept-page #content :is(.case-brief-task,.case-brief-solution){height:auto;min-height:0}
.case-concept-page #content .case-brief-solution{padding-bottom:32px}
.case-concept-page #content [data-od-id="case-gallery"] .case-gallery-card img{position:absolute;inset:0;width:100%;height:100%;max-width:100%;object-fit:cover;object-position:center}
.case-concept-page #content .case-gallery-caption{max-width:calc(100% - 32px);font-size:11px;line-height:1.4}
.case-concept-page #content .case-stage-phase{font-size:inherit;letter-spacing:inherit}
@media(min-width:768px){
  .case-concept-page #content .case-brief-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}
  .case-concept-page #content :is(.case-brief-task,.case-brief-solution,.case-task-content){width:100%;min-width:0}
  .case-concept-page #content :is(.case-task-copy,.case-solution-copy,.case-task-list){width:100%;max-width:100%}
  .case-concept-page #content :is([data-od-id="case-timeline"],[data-od-id="case-team"],[data-od-id="case-related"]){height:auto;padding-block:80px}
  .case-concept-page #content :is(.case-timeline-inner,.case-team-inner,.case-related-inner){height:auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px 48px}
  .case-concept-page #content :is(.case-timeline-inner,.case-team-inner,.case-related-inner)>.section-label{position:static;grid-column:1/-1}
  .case-concept-page #content :is(.case-timeline-title,.case-team-title,.case-related-title){position:static;width:auto;margin:0}
  .case-concept-page #content .case-timeline-grid{position:static;width:100%;margin:0;grid-column:2;grid-row:2;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(156px,auto)}
  .case-concept-page #content .case-team-copy{position:static;width:auto;margin:0;align-self:end;max-width:630px}
  .case-concept-page #content .case-team-grid{position:static;width:100%;grid-column:1/-1;margin:16px 0 0;grid-template-columns:repeat(4,minmax(0,1fr))}
  .case-concept-page #content .case-team-card h3{font-size:clamp(23px,2vw,36px);line-height:1.2}
  .case-concept-page #content .case-related-all{position:static;grid-column:2;grid-row:1;justify-self:end}
  .case-concept-page #content .case-related-title{grid-column:1/-1}
  .case-concept-page #content .case-related-grid{position:static;grid-column:1/-1;width:100%;margin:0;grid-template-columns:repeat(3,minmax(0,1fr))}
  .case-concept-page #content .case-related-media{height:auto;aspect-ratio:1.8}
  .case-concept-page #content .case-related-media img{width:100%;height:100%;object-fit:cover}
  .case-concept-page #content [data-od-id="case-quote"]{height:auto;padding-block:80px}
  .case-concept-page #content .case-quote-inner{height:auto;padding-top:0;grid-template-columns:minmax(50px,.3fr) minmax(0,2fr) minmax(180px,.7fr)}
  .case-concept-page #content .case-quote-text{width:auto;font-size:clamp(26px,2.1vw,40px);line-height:1.5}
  .case-concept-page #content .case-quote-author{width:auto}
}
@media(min-width:768px) and (max-width:1100px){
  .case-concept-page #content .case-team-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .case-concept-page #content .case-timeline-inner{grid-template-columns:minmax(0,1fr)}
  .case-concept-page #content .case-timeline-grid{grid-column:1;grid-row:auto}
}
@media(max-width:767px){
  .case-concept-page .case-concept-note{grid-template-columns:minmax(0,1fr);gap:16px;margin-top:20px;padding-top:20px;font-size:12px}
  .case-concept-page .case-concept-note strong{font-size:14px}
  .case-concept-page #content .hero-metric strong{font-size:20px}
}

/* Current homepage cases use one approved full-frame image per object. */
.case-project-page #content .case-main-photo-media{height:auto;aspect-ratio:auto}
.case-project-page #content .case-main-photo-media .case-main-photo-image{position:static;display:block;width:100%;height:auto;object-fit:contain;transform:none;transition:none}
.case-project-page #content .case-photo-arrow:disabled{cursor:default;pointer-events:none}
.case-project-page #content .case-task-item{height:auto;min-height:54px;padding-block:16px}
.case-project-page #content .case-task-item strong{min-width:0}
.case-project-page #content .case-team-card{height:auto;min-height:0}
.case-project-page #content .case-team-card h3{overflow-wrap:anywhere}
@media(min-width:768px){
  .case-project-page #content .hero-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}
  .case-project-page #content .hero-metric{min-width:0}
  .case-project-page #content .case-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:767px){
  .case-project-page #content .case-related-grid{grid-template-columns:minmax(0,1fr)}
}

/* Compact desktop (100%): match the spacing rhythm of the wider 75% layout. */
@media(min-width:1280px) and (max-width:1599px){
  .inner-page #content [data-od-id="case-brief"]{height:auto}
  .inner-page #content [data-od-id="case-brief"] .case-brief-grid{gap:24px;align-items:stretch}
  .inner-page #content [data-od-id="case-brief"] :is(.case-brief-task,.case-brief-solution){height:auto;min-height:0}
  .inner-page #content [data-od-id="case-brief"] .case-brief-solution{padding:36px 32px}
  .inner-page #content [data-od-id="case-brief"] .case-brief-title{margin-top:24px}
  .inner-page #content [data-od-id="case-brief"] .case-solution-title{margin-top:34px}
  .inner-page #content [data-od-id="case-brief"] .case-task-copy{margin-top:22px}
  .inner-page #content [data-od-id="case-brief"] .case-solution-copy{margin-top:18px}
  .inner-page #content [data-od-id="case-brief"] .case-task-list{margin-top:26px}
  .inner-page #content [data-od-id="case-brief"] .case-solution-list{margin-top:16px}
  .inner-page #content [data-od-id="case-brief"] .case-task-item{height:auto;min-height:44px;padding-block:12px}
  .inner-page #content [data-od-id="case-brief"] .case-solution-item{height:auto;min-height:28px}
}

/* Compact desktop (100%): shorten only the stage cards, retaining their text and top inset. */
@media(min-width:1280px) and (max-width:1599px){
  .inner-page #content [data-od-id="case-timeline"] .case-timeline-grid{grid-auto-rows:minmax(104px,auto)}
  .case-concept-page #content [data-od-id="case-timeline"] .case-timeline-grid{grid-auto-rows:minmax(128px,auto)}
}
