/* Project detail pages, hero, facts panel, narrative blocks, outcome band.
   Extracted from case-mount-lawley.html so all project-*.html pages share one source. */
/* Case study hero */
  .case-hero {
    position: relative;
    height: 70vh;
    min-height: 540px;
    overflow: hidden;
    background: var(--forest);
  }
  .case-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .case-hero__scrim {
    position: absolute;
    inset: 0;
    /* Weighted towards the bottom so the tag + title stay legible over light
       subjects (pale facades, grass, sky) as well as dark ones. */
    background: linear-gradient(180deg, rgba(11,42,30,0.18) 0%, rgba(11,42,30,0.06) 42%, rgba(11,42,30,0.55) 78%, rgba(11,42,30,0.82) 100%);
  }

  /* Title block over the bottom of hero */
  .case-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0 var(--gutter) 56px;
    color: var(--bone);
    z-index: 2;
  }
  .case-title__back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--bone);
    text-decoration: none;
    margin-bottom: 32px;
    padding: 12px 22px;
    border: 1.5px solid var(--bone);
    border-radius: 999px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    background: rgba(241, 242, 234, 0.08);
    transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out);
  }
  .case-title__back:hover {
    background: var(--bone);
    color: var(--forest);
  }
  .case-title__back svg { transition: transform 0.3s var(--ease-out); }
  .case-title__back:hover svg { transform: translateX(-4px); }
  .case-title__tag {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #a5d0b8;
    margin-bottom: 16px;
  }
  .case-title__name {
    font-family: var(--sans-forma);
    font-size: clamp(40px, 5.5vw, 72px);
    line-height: 1.05;
    font-weight: 500;
    letter-spacing: -0.015em;
    color: var(--bone);
    max-width: 18ch;
    margin: 0;
  }

  /* Quick facts side-panel */
  .case-facts {
    border-top: 1px solid var(--ink-mute);
    padding-top: 28px;
  }
  .case-facts__label {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-mute);
    margin-bottom: 6px;
  }
  .case-facts__value {
    font-family: var(--sans-forma);
    font-size: 20px;
    line-height: 1.3;
    color: var(--forest);
    font-weight: 500;
  }
  .case-facts__row + .case-facts__row {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e2e3e0;
  }

  /* Narrative blocks */
  .case-block { padding-top: 64px; }
  .case-block:first-child { padding-top: 0; }
  .case-block__eyebrow {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-mute);
    margin-bottom: 16px;
  }
  .case-block__heading {
    font-family: var(--sans-forma);
    font-size: 36px;
    line-height: 1.2;
    font-weight: 500;
    color: var(--forest);
    margin-bottom: 24px;
  }
  .case-block__heading .italic { font-style: normal; }
  .case-block__body {
    font-size: 18px;
    line-height: 1.65;
    color: #414944;
    max-width: 60ch;
  }
  .case-block__body + .case-block__body { margin-top: 16px; }

  /* Editorial image */
  .case-image {
    margin: 64px 0;
    border: 1px solid var(--ink-mute);
    overflow: hidden;
  }
  .case-image img {
    width: 100%;
    height: auto;
    display: block;
  }
  .case-image__caption {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-mute);
    margin-top: 12px;
    padding: 0 4px;
  }

  /* Outcome highlight band, forest green */
  .case-yield {
    background: var(--forest);
    color: var(--bone);
    padding: clamp(56px, 7vw, 96px) clamp(28px, 4vw, 64px);
    margin-top: 64px;
  }
  .case-yield__eyebrow {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #a5d0b8;
    margin-bottom: 16px;
  }
  .case-yield__heading {
    font-family: var(--sans-forma);
    font-size: clamp(32px, 4vw, 44px);
    line-height: 1.15;
    font-weight: 500;
    color: var(--bone);
    margin-bottom: 24px;
  }
  .case-yield__heading .italic { font-style: normal; }
  .case-yield__body {
    font-size: 18px;
    line-height: 1.65;
    color: rgba(241, 242, 234, 0.85);
    max-width: 60ch;
  }

  /* Sticky facts column on desktop */
  @media (min-width: 900px) {
    .case-facts-col { position: sticky; top: 120px; align-self: start; }
  }
