.cases[data-astro-cid-q7obu3qe] {
  padding-top: 64px;
}

.hero[data-astro-cid-q7obu3qe] {
  min-height: clamp(620px, 76svh, 860px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: end;
  gap: clamp(38px, 6vh, 70px);
  padding: clamp(130px, 17vh, 210px) 0 clamp(76px, 11vh, 130px);
  border-bottom: 1px solid var(--surface-5);
}

.eyebrow[data-astro-cid-q7obu3qe], .section-label[data-astro-cid-q7obu3qe] {
  margin: 0;
  color: var(--text-quiet);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.eyebrow[data-astro-cid-q7obu3qe] {
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow[data-astro-cid-q7obu3qe] span[data-astro-cid-q7obu3qe] {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

h1[data-astro-cid-q7obu3qe] {
  max-width: 15ch;
  margin: 22px 0 26px;
  font-size: clamp(54px, 7.2vw, 104px);
  line-height: .94;
  letter-spacing: -.06em;
  text-wrap: balance;
}

.lead[data-astro-cid-q7obu3qe] {
  max-width: 54ch;
  margin: 0;
  color: var(--text-muted);
  font-family: var(--font-body), system-ui, sans-serif;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.58;
}

.browse-link[data-astro-cid-q7obu3qe] {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0 0 8px;
  border-bottom: 1px solid var(--surface-6);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.browse-link[data-astro-cid-q7obu3qe]:hover {
  border-bottom-color: var(--type);
}

.browse-link[data-astro-cid-q7obu3qe] span[data-astro-cid-q7obu3qe] {
  color: var(--accent);
}

.library[data-astro-cid-q7obu3qe] {
  padding: clamp(90px, 14vh, 170px) 0;
}

.library[data-astro-cid-q7obu3qe] > header[data-astro-cid-q7obu3qe] {
  display: grid;
  grid-template-columns: .38fr 1fr;
  gap: clamp(32px, 6vw, 100px);
  margin-bottom: clamp(42px, 7vw, 82px);
  align-items: start;
}

h2[data-astro-cid-q7obu3qe] {
  max-width: 18ch;
  margin: -8px 0 0;
  font-size: clamp(40px, 5vw, 70px);
  line-height: 1;
  letter-spacing: -.052em;
  text-wrap: balance;
}

.empty[data-astro-cid-q7obu3qe] {
  padding: 40px 0;
  border-block: 1px solid var(--surface-5);
  color: var(--text-muted);
  font-family: var(--font-body), system-ui, sans-serif;
  font-size: 15px;
}

.case-grid[data-astro-cid-q7obu3qe] {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--surface-5);
}

.ledger[data-astro-cid-q7obu3qe] {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ledger[data-astro-cid-q7obu3qe] li[data-astro-cid-q7obu3qe] {
  border-bottom: 1px solid var(--surface-5);
}

.case-grid[data-astro-cid-q7obu3qe] a[data-astro-cid-q7obu3qe] {
  display: grid;
  grid-template-columns: minmax(0, .32fr) minmax(0, 1fr) minmax(0, .42fr);
  grid-template-areas: "top title bottom"
                       "identity goal bottom";
  column-gap: clamp(24px, 4vw, 74px);
  row-gap: 12px;
  min-height: 224px;
  align-items: start;
  padding: clamp(30px, 5vw, 56px) 0;
  color: inherit;
  text-decoration: none;
  transition: background-color .2s;
}

.case-grid[data-astro-cid-q7obu3qe] a[data-astro-cid-q7obu3qe]:hover {
  background: var(--surface-1);
}

.case-top[data-astro-cid-q7obu3qe] {
  grid-area: top;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--text-quiet);
  font-size: 11px;
}

.case-top[data-astro-cid-q7obu3qe] > span[data-astro-cid-q7obu3qe] {
  color: var(--accent);
}

.case-top[data-astro-cid-q7obu3qe] time[data-astro-cid-q7obu3qe] {
  font-family: var(--font-body), system-ui, sans-serif;
}

.identity[data-astro-cid-q7obu3qe] {
  grid-area: identity;
  align-self: start;
  margin: 0;
  color: var(--text-quiet);
  font-size: 11px;
  letter-spacing: .05em;
  line-height: 1.5;
}

.case-grid[data-astro-cid-q7obu3qe] h3[data-astro-cid-q7obu3qe] {
  grid-area: title;
  max-width: 23ch;
  margin: 0;
  font-size: clamp(30px, 3.3vw, 48px);
  line-height: 1.04;
  letter-spacing: -.042em;
  text-wrap: balance;
}

.goal[data-astro-cid-q7obu3qe] {
  grid-area: goal;
  max-width: 55ch;
  margin: 0;
  color: var(--text-muted);
  font-family: var(--font-body), system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

.case-bottom[data-astro-cid-q7obu3qe] {
  grid-area: bottom;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: start;
  margin: 0;
  padding: 4px 0;
  color: var(--text-muted);
  font-family: var(--font-body), system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.5;
}

.case-bottom[data-astro-cid-q7obu3qe] b[data-astro-cid-q7obu3qe] {
  color: var(--accent);
  font-size: 16px;
  transition: translate .18s;
}

.case-grid[data-astro-cid-q7obu3qe] a[data-astro-cid-q7obu3qe]:hover .case-bottom[data-astro-cid-q7obu3qe] b[data-astro-cid-q7obu3qe] {
  translate: 4px;
}

@media (width <= 900px) {
  .library[data-astro-cid-q7obu3qe] > header[data-astro-cid-q7obu3qe] {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  h2[data-astro-cid-q7obu3qe] {
    margin-top: 0;
  }

  .case-grid[data-astro-cid-q7obu3qe] a[data-astro-cid-q7obu3qe] {
    grid-template-columns: minmax(0, .29fr) minmax(0, 1fr);
    grid-template-areas: "top title"
                         "identity goal"
                         ". bottom";
    min-height: 0;
  }
}

@media (width <= 680px) {
  .hero[data-astro-cid-q7obu3qe] {
    min-height: 580px;
    padding-top: 150px;
  }

  h1[data-astro-cid-q7obu3qe] {
    font-size: clamp(46px, 12.8vw, 68px);
  }

  .case-grid[data-astro-cid-q7obu3qe] a[data-astro-cid-q7obu3qe] {
    grid-template-columns: 1fr;
    grid-template-areas: "top"
                         "identity"
                         "title"
                         "goal"
                         "bottom";
    gap: 12px;
    padding-block: 34px;
  }

  .case-grid[data-astro-cid-q7obu3qe] h3[data-astro-cid-q7obu3qe] {
    margin-top: 10px;
    font-size: clamp(31px, 8.6vw, 42px);
  }

  .case-bottom[data-astro-cid-q7obu3qe] {
    margin-top: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .case-bottom[data-astro-cid-q7obu3qe] b[data-astro-cid-q7obu3qe], .case-grid[data-astro-cid-q7obu3qe] a[data-astro-cid-q7obu3qe] {
    transition: none;
  }
}
