/* Project page: Webvolley tokens and the existing water-industry composition. */
.wv-case-hero { padding-bottom: clamp(3.5rem, 6vw, 6rem); }
.wv-case-hero__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 4vw, 4.5rem); align-items: center; }
.wv-case-hero h1 { max-width: 17ch; font-size: clamp(2.6rem, 4.3vw, 4.6rem); hyphens: none; overflow-wrap: normal; }
.wv-case-hero .wv-water-breadcrumbs ol { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.wv-case-hero .wv-water-hero__intro { font-size: clamp(1.05rem, 1.4vw, 1.16rem); }
.wv-case-hero .wv-water-hero__note { margin-top: 1.65rem; }
.wv-case-browser { min-width: 0; margin: 0; border: 1px solid var(--wv-ink); border-radius: var(--wv-radius-card); background: var(--wv-paper); box-shadow: 8px 9px 0 rgba(31, 39, 35, .1); }
.wv-case-browser__bar { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: .75rem 1rem; border-bottom: 1px solid var(--wv-line); font-size: .76rem; }
.wv-case-browser__bar > span:first-child { color: var(--wv-terracotta); letter-spacing: .15em; font-size: .6rem; }
.wv-case-browser picture, .wv-case-browser img { display: block; width: 100%; }
.wv-case-browser img { height: auto; }
.wv-case-browser figcaption { padding: .75rem 1rem; border-top: 1px solid var(--wv-line); color: var(--wv-muted); font-size: .77rem; }
.wv-case-facts { border-top: 1px solid var(--wv-line); border-bottom: 1px solid var(--wv-line); }
.wv-case-facts dl { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2rem; margin: 0; padding-block: 2rem; }
.wv-case-facts dt { margin-bottom: .5rem; color: var(--wv-terracotta); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.wv-case-facts dd { margin: 0; font-size: .95rem; line-height: 1.5; overflow-wrap: anywhere; }
.wv-case-nav { display: flex; flex-wrap: wrap; gap: .6rem 2rem; padding-top: 1.5rem; }
.wv-case-nav a { display: inline-flex; min-height: 44px; align-items: center; color: var(--wv-muted); font-size: .88rem; }
.wv-case-pages article > a { display: flex; justify-content: space-between; gap: .5rem; color: #ffdfd1; font-weight: 700; }
.wv-case-design { padding-block: var(--wv-section); background: var(--wv-paper-light); }
.wv-case-design__grid { display: grid; grid-template-columns: minmax(0, .65fr) minmax(0, 1fr); align-items: center; gap: clamp(3rem, 9vw, 9rem); }
.wv-case-design h2 { max-width: 20ch; hyphens: auto; }
.wv-case-design__grid > div > p:not(.wv-water-eyebrow) { max-width: 40rem; color: var(--wv-muted); font-size: 1.08rem; }
.wv-case-phone { width: min(100% - 1rem, 280px); margin: 0; justify-self: center; }
.wv-case-phone picture { display: block; padding: 7px; overflow: hidden; border: 1px solid var(--wv-ink); border-radius: 30px; background: var(--wv-ink); box-shadow: 8px 9px 0 rgba(31, 39, 35, .1); }
.wv-case-phone img { display: block; width: 100%; height: auto; border-radius: 23px; }
.wv-case-phone figcaption { margin-top: 1.25rem; color: var(--wv-muted); font-size: .8rem; text-align: center; }
.wv-case-evidence { padding-block: var(--wv-section); background: var(--wv-green); }
.wv-case-evidence .wv-water-eyebrow { color: var(--wv-ink); }
.wv-case-proof-image { max-width: 1060px; margin: 0 auto; }
.wv-case-proof-image picture { display: block; overflow: hidden; border: 1px solid var(--wv-ink); border-radius: var(--wv-radius-card); box-shadow: 8px 9px 0 rgba(31, 39, 35, .1); }
.wv-case-proof-image img { display: block; width: 100%; height: auto; }
.wv-case-proof-image figcaption { margin-top: 1.25rem; font-size: .86rem; }
.wv-case-evidence__note { max-width: 60rem; margin: 2rem auto 0; font-size: .9rem; }
.wv-case-table-wrap { overflow-x: auto; }
.wv-case-table { width: 100%; border-collapse: collapse; text-align: left; }
.wv-case-table caption { padding-bottom: 1rem; text-align: left; font-size: .9rem; color: var(--wv-muted); }
.wv-case-table th, .wv-case-table td { padding: 1.25rem 1.5rem 1.25rem 0; vertical-align: top; border-bottom: 1px solid var(--wv-line); }
.wv-case-table thead { border-top: 1px solid var(--wv-ink); }
.wv-case-table thead th { font-size: .85rem; }
.wv-case-table tbody th { width: 24%; font-family: var(--wv-font-display); font-size: 1.25rem; font-weight: 400; line-height: 1.3; }
.wv-case-table td { width: 38%; color: var(--wv-muted); }
.wv-case-footer { display: block; background: transparent; color: var(--wv-ink); }

@media (max-width: 1000px) {
  .wv-case-hero__grid { grid-template-columns: 1fr; gap: 3rem; }
  .wv-case-hero h1 { max-width: 23ch; font-size: clamp(2.65rem, 6.6vw, 4.5rem); }
  .wv-case-hero .wv-water-hero__intro { max-width: 43rem; }
  .wv-case-browser { width: min(100% - .6rem, 750px); }
  .wv-case-facts dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 750px) {
  .wv-case-design__grid { grid-template-columns: 1fr; gap: 3rem; }
  .wv-case-design__grid > div { grid-row: 1; }
  .wv-case-phone { width: min(65vw, 280px); }
  .wv-case-table th, .wv-case-table td { min-width: 11rem; padding-right: 1.25rem; }
}
@media (max-width: 450px) {
  .wv-case-hero h1 { max-width: 17ch; font-size: clamp(2.35rem, 9.5vw, 2.8rem); }
  .wv-case-facts dl { gap: 1.5rem; }
  .wv-case-facts dd { font-size: .88rem; }
  .wv-case-browser__bar { padding-inline: .65rem; font-size: .66rem; }
}
