/* Industry Experience page (generated by build-industry.js; loaded only by industry-experience.html) */

.ind-visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---- hero */
.ind-hero {
  position: relative;
  padding: 150px 0 64px;
  background:
    radial-gradient(640px 360px at 88% 20%, rgba(163, 73, 164, 0.16), transparent 70%),
    radial-gradient(520px 320px at 0% 100%, rgba(48, 61, 78, 0.08), transparent 70%),
    linear-gradient(180deg, #fbf7fb, #fff);
  overflow: hidden;
}

.ind-eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(163, 73, 164, 0.12);
  color: var(--dl-purple-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.ind-hero h1 {
  margin: 0 0 16px;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 800;
  line-height: 1.12;
  color: var(--dl-ink);
}

.ind-lead {
  max-width: 600px;
  margin: 0;
  font-size: var(--fs-lead);
  line-height: 1.65;
  color: var(--dl-muted);
}

/* the proof card: how many stories back this page up */
.ind-proof {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 6px 20px;
  max-width: 420px;
  margin-left: auto;
  padding: 26px 28px;
  border-radius: 22px;
  background:
    radial-gradient(150px 150px at 100% 0%, rgba(163, 73, 164, 0.55), transparent 70%),
    linear-gradient(150deg, var(--dl-ink), #222c39);
  box-shadow: 0 22px 48px rgba(48, 61, 78, 0.22);
  color: #d6dbe1;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ind-proof strong {
  grid-row: span 2;
  font-family: "Montserrat", sans-serif;
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
  color: #fff;
}

.ind-proof span {
  font-size: 15px;
  line-height: 1.5;
}

.ind-proof em {
  font-style: normal;
  font-size: 14px;
  font-weight: 700;
  color: #e7b8e8;
}

.ind-proof em i {
  display: inline-block;
  transition: transform 0.2s ease;
}

.ind-proof:hover,
.ind-proof:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 28px 56px rgba(48, 61, 78, 0.28);
  color: #d6dbe1;
}

.ind-proof:hover em i {
  transform: translateX(3px);
}

.ind-proof:focus-visible {
  outline: 3px solid var(--dl-purple);
  outline-offset: 4px;
}

/* ---- sectors */
.ind-sectors {
  padding: 56px 0 64px;
}

.ind-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-bottom: 28px;
}

.ind-head h2,
.ind-more h2 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  color: var(--dl-ink);
}

/* the filter: three pills, no script (the grid reacts with :has; without it every sector stays visible) */
.ind-filter {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 5px;
  border: 1px solid var(--dl-line);
  border-radius: 999px;
  background: #f7f8fa;
}

.ind-filter label {
  position: relative;
  margin: 0;
  cursor: pointer;
}

.ind-filter input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}

.ind-filter span {
  display: block;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: var(--dl-muted);
  transition: background 0.2s ease, color 0.2s ease;
}

.ind-filter label:hover span {
  color: var(--dl-ink);
}

.ind-filter input:checked + span {
  background: var(--dl-purple);
  color: #fff;
  box-shadow: 0 4px 12px rgba(163, 73, 164, 0.3);
}

.ind-filter input:focus-visible + span {
  outline: 3px solid var(--dl-purple);
  outline-offset: 2px;
}

.ind-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ind-sectors:has(input[value="case"]:checked) .ind-tile:not([data-case]),
.ind-sectors:has(input[value="page"]:checked) .ind-tile:not([data-page]) {
  display: none;
}

.ind-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px 20px 20px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--dl-line);
  box-shadow: 0 6px 20px rgba(48, 61, 78, 0.06);
  scroll-margin-top: 110px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  animation: ind-in 0.35s ease backwards;
}

/* a purple accent that grows across the top on hover, as on the home page cards */
.ind-tile::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--dl-purple), var(--dl-purple-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.ind-tile:hover,
.ind-tile:focus-within,
.ind-tile:target {
  transform: translateY(-4px);
  border-color: #e3cfe4;
  box-shadow: 0 16px 34px rgba(48, 61, 78, 0.12);
}

.ind-tile:hover::before,
.ind-tile:focus-within::before,
.ind-tile:target::before {
  transform: scaleX(1);
}

@keyframes ind-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

.ind-art {
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #fff, #f4ecf4 70%);
  box-shadow: inset 0 0 0 1px rgba(163, 73, 164, 0.12);
}

.ind-art img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.ind-tile:hover .ind-art img {
  transform: scale(1.06);
}

.ind-tile h3 {
  margin: 0 0 12px;
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 800;
  text-align: center;
  color: var(--dl-ink);
}

.ind-points {
  flex: 1;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.ind-points li {
  position: relative;
  padding: 5px 0 5px 20px;
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--dl-muted);
}

.ind-points li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dl-purple);
  opacity: 0.55;
}

/* a point a case study shows: a link, with a solid dot */
.ind-proven::before {
  opacity: 1 !important;
  box-shadow: 0 0 0 3px rgba(163, 73, 164, 0.18);
}

.ind-proven a {
  color: var(--dl-ink);
  font-weight: 600;
  text-decoration: none;
  background-image: linear-gradient(var(--dl-purple), var(--dl-purple));
  background-size: 0 2px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.25s ease, color 0.2s ease;
}

.ind-proven a i {
  margin-left: 5px;
  font-size: 12px;
  color: var(--dl-purple);
}

.ind-proven a:hover,
.ind-proven a:focus-visible {
  color: var(--dl-purple-dark);
  background-size: 100% 2px;
}

.ind-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding-top: 14px;
  border-top: 1px dashed var(--dl-line);
}

.ind-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(163, 73, 164, 0.08);
  color: var(--dl-purple-dark);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.ind-links a:hover,
.ind-links a:focus-visible {
  background: var(--dl-purple);
  color: #fff;
}

.ind-links a:focus-visible,
.ind-proven a:focus-visible {
  outline: 3px solid var(--dl-purple);
  outline-offset: 2px;
}

/* ---- the other sectors, on a navy band */
.ind-more {
  padding: 56px 0;
  background:
    radial-gradient(700px 300px at 100% 0%, rgba(163, 73, 164, 0.28), transparent 65%),
    linear-gradient(160deg, var(--dl-ink), #222c39);
}

.ind-more h2 {
  margin-bottom: 24px;
  color: #fff;
}

.ind-more-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ind-more-list a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  padding: 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.ind-more-list a > i {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(163, 73, 164, 0.35);
  color: #f1d2f2;
  font-size: 20px;
}

.ind-more-list span {
  flex: 1;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 800;
}

.ind-more-list em {
  flex: none;
  white-space: nowrap;
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  color: #e7b8e8;
}

.ind-more-list em i {
  display: inline-block;
  transition: transform 0.2s ease;
}

.ind-more-list a:hover,
.ind-more-list a:focus-visible {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(231, 184, 232, 0.45);
  color: #fff;
}

.ind-more-list a:hover em i {
  transform: translateX(3px);
}

.ind-more-list a:focus-visible {
  outline: 3px solid #e7b8e8;
  outline-offset: 3px;
}

/* ---- sizes */
@media (max-width: 1199px) {
  .ind-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ind-more-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .ind-hero {
    padding: 120px 0 48px;
  }

  .ind-proof {
    margin-left: 0;
  }

  .ind-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ind-more-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* five in two columns: the last spans the row instead of sitting alone */
  .ind-more-list li:last-child:nth-child(odd) {
    grid-column: span 2;
  }
}

@media (max-width: 575px) {
  .ind-hero {
    padding: 108px 0 40px;
  }

  .ind-proof {
    padding: 22px;
  }

  .ind-proof strong {
    font-size: 52px;
  }

  .ind-sectors,
  .ind-more {
    padding: 44px 0;
  }

  .ind-filter {
    border-radius: 18px;
  }

  .ind-grid {
    grid-template-columns: 1fr;
  }

  /* one compact row per sector: icon, name, link */
  .ind-more-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .ind-more-list li:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .ind-more-list a {
    flex-direction: row;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
  }

  .ind-more-list a > i {
    flex: none;
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ind-tile,
  .ind-tile::before,
  .ind-art img,
  .ind-proof,
  .ind-proof em i,
  .ind-more-list a,
  .ind-more-list em i,
  .ind-proven a,
  .ind-links a,
  .ind-filter span {
    transition: none;
  }

  .ind-tile {
    animation: none;
  }
}
