/* The Case Gallery uses a paired set of equal-height linked cards. */
.case-gallery {
  background: radial-gradient(ellipse at 86% 10%, rgba(75, 64, 92, .18), transparent 28%), #261e36;
  padding: clamp(64px, 8vw, 108px) 0 52px;
}
.gallery-wrap { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.gallery-intro::before {
  content: ""; display: block; width: 50px; height: 5px; background: #d7f66b; margin-bottom: 32px;
}
.gallery-intro h1 {
  font-size: clamp(2.125rem, 3.5vw, 3rem); font-weight: 700; line-height: 1.13;
  letter-spacing: -.035em; margin: 0; max-width: 1100px; color: #fff;
}
.gallery-intro > p { margin: 24px 0 0; color: #d7d0e0; font-size: clamp(1.1rem, 1.55vw, 1.35rem); line-height: 1.55; }
.gallery-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 54px; }
.gallery-card {
  display: flex; flex-direction: column; border: 1px solid #51475f; border-radius: 16px; overflow: hidden;
  color: #fff; background: #372d48; text-decoration: none; transition: border-color .15s ease;
}
.gallery-card:hover, .gallery-card:focus-visible { border-color: #d7f66b; }
.gallery-card:focus-visible, .gallery-actions a:focus-visible { outline: 3px solid #d7f66b; outline-offset: 4px; }
.gallery-image { width: 100%; height: auto; display: block; aspect-ratio: 2.31; object-fit: cover; }
.gallery-card-body { display: flex; flex: 1; flex-direction: column; padding: 28px; }
.gallery-name { font-weight: 700; margin: 0 0 3px; line-height: 1.4; }
.gallery-industry { color: #d7d0e0; font-size: .875rem; line-height: 1.4; margin: 0; }
.gallery-card h2 { font-size: clamp(1.4rem, 2vw, 1.68rem); line-height: 1.24; letter-spacing: -.015em; margin: 24px 0; }
.gallery-copy { margin: 0 0 32px; color: #d7d0e0; line-height: 1.55; }
.gallery-capability { margin: auto 0 16px; color: #d7f66b; font-size: .875rem; line-height: 1.45; font-weight: 700; }
.gallery-learn, .gallery-actions a {
  display: inline-flex; justify-content: center; align-items: center; gap: .7em;
  background: #d7f66b; color: #261e36; font-weight: 700; border-radius: 9px; min-height: 52px;
  padding: 10px 23px; line-height: 1.3; text-decoration: none;
}
.gallery-closing { padding: 70px 24px 80px; border-block: 1px solid #40364f; text-align: center; background: linear-gradient(#2d243d,#261e36); }
.gallery-closing h2 { max-width: 930px; margin: 0 auto; font-size: clamp(1.65rem, 3vw, 2.5rem); line-height: 1.22; letter-spacing: -.03em; }
.gallery-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.gallery-actions a { border: 1px solid #d7f66b; }
.gallery-actions a:last-child { background: #261e36; color: #fff; }
.gallery-actions a:hover, .gallery-card:hover .gallery-learn { filter: brightness(1.06); }


.legal-doc { color: #d7d0e0; width: min(900px, calc(100% - 48px)); margin: 0 auto; padding: clamp(64px, 6.8vw, 100px) 0 80px; }
.legal-doc h1 { color: #fff; font-size: clamp(2.75rem, 5vw, 4.3rem); line-height: 1.08; margin: 0; letter-spacing: -.04em; }
.legal-doc p, .legal-doc li { font-size: 1rem; line-height: 1.78; }
.legal-doc p { margin: 1.2em 0 0; max-width: 810px; }
.legal-doc .legal-date { margin: 17px 0 34px; font-size: .9rem; }
.legal-intro { padding-bottom: clamp(40px, 4.4vw, 65px); }
.legal-section { padding: clamp(38px, 4.6vw, 68px) 0; border-top: 1px solid #493e57; }
.legal-section:last-child { padding-bottom: 0; }
.legal-section h2 { display: flex; align-items: baseline; gap: 24px; margin: 0 0 22px; font-size: clamp(1.5rem, 2vw, 1.68rem); letter-spacing: -.025em; line-height: 1.24; color: white; }
.legal-number { color: #d7f66b; font-size: .74rem; letter-spacing: .1em; font-weight: 800; }
.legal-doc ul { padding-left: clamp(24px, 5vw, 54px); max-width: 810px; margin: 20px 0; list-style: square; }
.legal-doc li + li { margin-top: 9px; }
.legal-doc li::marker { color: #d7f66b; }
.legal-doc a { color: inherit; text-decoration: underline; text-underline-offset: .15em; }
.legal-doc a:hover { color: #d7f66b; }
@media (max-width: 700px) {
  .gallery-wrap, .legal-doc { width: calc(100% - 40px); }
  .gallery-cards { grid-template-columns: 1fr; margin-top: 35px; }
  .gallery-intro h1 br { display: none; }
  .gallery-card-body { padding: 22px; }
  .gallery-closing { padding: 50px 20px; }
  .legal-section h2 { gap: 13px; }
}
@media (prefers-reduced-motion: reduce) { .gallery-card { transition: none; } }
