/* tiia-case-study.css
   Case-study page layout: hero, meta strip, body sections, images, callouts, outcomes, tags, prev/next.
   Extracted from the tiiawork pages, unchanged. Site-specific colour
   overrides belong in a site.css loaded AFTER this file. */

.cs-section h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(1.5rem, 2.4vw, 2rem); color: var(--white); margin-bottom: 1.4rem; padding-bottom: 1rem; border-bottom: 0.5px solid var(--rule); display: flex; align-items: center; gap: 0.8rem; }
.cs-section h3 em { font-style: italic; color: var(--gold); }
.cs-label-img { display: none; }
.cs-gallery { display: flex; flex-direction: column; gap: 0; margin: 0 0 1rem; }
.cs-gallery figure.cs-image { margin: 1.6rem auto; }
.cs-final-cta { text-align: center; padding: 4rem 3rem 5rem; border-top: 0.5px solid var(--rule); margin-top: 2rem; }
.cs-final-cta .btn-contact { margin: 0 0.5rem; }
@media (max-width: 768px) {
  .cs-final-cta { padding: 3rem 1.5rem 3.5rem; }
}
/* ── CASE STUDY HERO ── */
.cs-hero { padding: 9rem 3rem 3.5rem; text-align: center; }
.cs-hero-inner { max-width: 860px; margin: 0 auto; }
.cs-client { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--red); margin-bottom: 1.3rem; }
.cs-title { font-family: var(--serif); font-weight: 300; font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1.05; letter-spacing: -0.01em; color: var(--white); margin-bottom: 1.6rem; }
.cs-subtitle { font-size: 1rem; font-weight: 300; line-height: 1.8; color: var(--off); max-width: 56ch; margin: 0 auto; }
/* Hero image (full bleed) */
.cs-hero-image { margin: 0 0 0; }
.cs-hero-image img { width: 100%; display: block; filter: brightness(0.88) saturate(0.92); }
figure.cs-image { margin: 3rem auto; max-width: 900px; padding: 0 3rem; }
/* Full-bleed treatment for a hero image only — it must directly follow
   the hero. The earlier version used a general sibling selector, which
   also caught the first in-body figure on pages that have no hero image
   and blew it out to full width. */
.cs-hero + figure.cs-image { margin-top: 0; max-width: none; padding: 0; }
figure.cs-image img { width: 100%; display: block; filter: brightness(0.9) saturate(0.92); transition: filter 0.4s; border-radius: 0; }
figure.cs-image:hover img { filter: brightness(1); }
figure.cs-image figcaption { font-size: 0.75rem; color: var(--dim); margin-top: 0.9rem; text-align: center; font-style: italic; }
.cs-image-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; max-width: 900px; margin: 3rem auto; padding: 0 3rem; }
.cs-image-pair figure.cs-image { margin: 0; max-width: none; padding: 0; }
.cs-image-placeholder { background: var(--ink-2); border: 0.5px dashed var(--rule); padding: 4rem 2rem; display: flex; flex-direction: column; align-items: center; gap: 0.8rem; color: var(--dim); font-size: 0.78rem; text-align: center; }
.ph-icon { font-size: 1.8rem; opacity: 0.6; }
/* Meta strip */
.cs-meta { border-top: 0.5px solid var(--rule); border-bottom: 0.5px solid var(--rule); padding: 2rem 3rem; margin-top: 3rem; }
.cs-meta-inner { max-width: 900px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 2.5rem; list-style: none; justify-content: center; }
.meta-item dt { font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.3rem; }
.meta-item dd { font-size: 0.88rem; color: var(--off); font-weight: 300; }
/* Body sections */
.cs-body { max-width: 760px; margin: 0 auto; padding: 4.5rem 3rem 2rem; }
.cs-section { margin-bottom: 3.5rem; }
.cs-section h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(1.5rem, 2.4vw, 2rem); color: var(--white); margin-bottom: 1.4rem; padding-bottom: 1rem; border-bottom: 0.5px solid var(--rule); }
.cs-section h2 em { font-style: italic; color: var(--gold); }
.cs-section p { font-size: 0.92rem; line-height: 1.9; color: var(--off); margin-bottom: 1.2rem; font-weight: 300; }
.cs-section p strong { color: var(--white); font-weight: 500; }
.cs-section ul { margin: 1.2rem 0 1.2rem 0; padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.cs-section li { font-size: 0.9rem; line-height: 1.7; color: var(--off); padding-left: 1.4rem; position: relative; }
.cs-section li::before { content: '—'; position: absolute; left: 0; color: var(--gold); }
.callout { border-left: 1.5px solid var(--gold); background: rgba(201,162,39,0.05); padding: 1.4rem 1.8rem; margin: 1.8rem 0; }
.callout p { margin-bottom: 0; font-size: 0.88rem; color: var(--off); }
.callout p strong { color: var(--gold); }
/* Outcomes */
.outcomes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 1.5rem; }
.outcome-card { border: 0.5px solid var(--rule); padding: 1.8rem 1.5rem; display: flex; flex-direction: column; gap: 0.9rem; transition: border-color 0.3s, background 0.3s; }
.outcome-card:hover { border-color: var(--gold-dim); background: rgba(201,162,39,0.03); }
.outcome-num { font-family: var(--serif); font-size: 2rem; color: var(--gold); line-height: 1; }
.outcome-label { font-size: 0.82rem; line-height: 1.65; color: var(--off); }
/* Tags */
.tag-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.2rem; }
.tag { font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); border: 0.5px solid var(--gold-dim); padding: 0.4rem 0.9rem; }
/* Prev/next */
.cs-nav { border-top: 0.5px solid var(--rule); padding: 2.5rem 3rem; display: flex; justify-content: space-between; align-items: center; max-width: 900px; margin: 0 auto; }
.cs-nav a { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); text-decoration: none; transition: color 0.2s; }
.cs-nav a:hover { color: var(--gold); }
@media (max-width: 768px) {
  .cs-hero { padding: 7rem 1.5rem 2.5rem; }
  figure.cs-image, .cs-hero + figure.cs-image { padding: 0 1.5rem; }
  .cs-image-pair { grid-template-columns: 1fr; padding: 0 1.5rem; }
  .cs-meta { padding: 1.5rem; }
  .cs-meta-inner { gap: 1.5rem; justify-content: flex-start; }
  .cs-body { padding: 3rem 1.5rem 1rem; }
  .outcomes-grid { grid-template-columns: 1fr; }
  .cs-nav { padding: 2rem 1.5rem; flex-direction: column; gap: 1rem; }
}
