/* Reusable industry pages — extends content-page + service-page patterns */
.industry-page {
  --ind-hero-min: clamp(420px, 56vh, 600px);
}

.industry-page .svc-hero {
  min-height: var(--ind-hero-min);
}

.industry-page .svc-hero-grid {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.72fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
}

.industry-page .svc-hero-copy-col {
  max-width: 640px;
}

.industry-page .svc-hero h1 {
  font-size: clamp(30px, 4.4vw, 58px);
  line-height: 1.04;
}

.industry-page .svc-hero-copy {
  margin-top: clamp(14px, 2vw, 20px);
  max-width: 46ch;
  font-size: clamp(15px, 1.55vw, 17px);
  line-height: 1.62;
}

.industry-page .svc-hero-actions {
  margin-top: clamp(20px, 2.8vw, 28px);
  gap: 12px;
}

.industry-page .svc-hero-visual {
  align-self: center;
  min-height: clamp(220px, 30vw, 340px);
  max-height: 340px;
  border-radius: clamp(18px, 2.4vw, 24px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.industry-page .svc-hero-visual img,
.industry-page .svc-hero-visual video,
.industry-page .svc-hero-visual .svc-hero-video {
  min-height: clamp(220px, 30vw, 340px);
  max-height: 340px;
  object-fit: cover;
  object-position: center;
}

.industry-page .svc-hero-trust {
  margin-top: clamp(16px, 2.5vw, 24px);
}

.industry-page .intro-copy p {
  margin: 0 0 clamp(12px, 1.8vw, 16px);
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.65;
  color: rgba(11, 18, 32, 0.72);
}

.industry-page .intro-copy p:last-child {
  margin-bottom: 0;
}

.industry-page .head-grid > div > p,
.industry-page .ind-more-lead,
.industry-page .faq-lead {
  margin-top: clamp(12px, 1.8vw, 16px);
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.65;
  color: rgba(11, 18, 32, 0.68);
}

.industry-page .section-ctas {
  margin-top: clamp(28px, 4vw, 44px);
}

.industry-page .ind-section-tight {
  padding-top: clamp(48px, 8vw, 88px);
  padding-bottom: clamp(48px, 8vw, 88px);
}

/* What we deliver — work carousel */
.industry-page .ind-work-sec .ind-work-lead {
  margin: clamp(12px, 2vw, 18px) 0 0;
  max-width: 58ch;
  line-height: 1.65;
  color: rgba(11, 18, 32, 0.68);
}

.industry-page .ind-work-shell {
  margin-top: clamp(32px, 4.5vw, 52px);
}

.industry-page .ind-work-viewport {
  overflow: hidden;
  border-radius: clamp(22px, 3vw, 32px);
  outline: none;
}

.industry-page .ind-work-viewport:focus-visible {
  box-shadow: 0 0 0 3px rgba(24, 48, 96, 0.22);
}

.industry-page .ind-work-track {
  display: flex;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.industry-page .ind-work-card {
  flex: 0 0 100%;
  min-width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 0;
  min-height: clamp(380px, 42vw, 520px);
  border: 1px solid rgba(11, 18, 32, 0.1);
  border-radius: clamp(22px, 3vw, 32px);
  overflow: hidden;
  background: #f7f8fb;
  box-shadow: 0 24px 60px rgba(11, 18, 32, 0.08);
}

.industry-page .ind-work-card-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(12px, 1.8vw, 18px);
  padding: clamp(28px, 4vw, 48px);
  background: #fff;
  border-right: 1px solid rgba(11, 18, 32, 0.08);
}

.industry-page .ind-work-card-index {
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(11, 18, 32, 0.45);
}

.industry-page .ind-work-card-tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(202, 14, 53, 0.08);
  color: var(--red, #ca0e35);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.industry-page .ind-work-card-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--ink, #0b1220);
}

.industry-page .ind-work-card-text {
  margin: 0;
  max-width: 42ch;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.65;
  color: rgba(11, 18, 32, 0.68);
}

.industry-page .ind-work-card-cta {
  align-self: flex-start;
  margin-top: clamp(8px, 1.2vw, 14px);
}

.industry-page .ind-work-card-media {
  position: relative;
  margin: 0;
  min-height: 100%;
  overflow: hidden;
  background: var(--ink, #0b1220);
}

.industry-page .ind-work-card-media img,
.industry-page .ind-work-card-media video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: clamp(280px, 38vw, 520px);
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.industry-page .ind-work-card[aria-current="true"] .ind-work-card-media img,
.industry-page .ind-work-card[aria-current="true"] .ind-work-card-media video {
  transform: scale(1.02);
}

.industry-page .ind-work-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 20px);
  margin-top: clamp(20px, 3vw, 28px);
}

.industry-page .ind-work-bar .circle {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border-color: rgba(11, 18, 32, 0.16);
  color: var(--ink, #0b1220);
  background: #fff;
  box-shadow: 0 10px 24px rgba(11, 18, 32, 0.08);
  transition:
    background 0.28s ease,
    color 0.28s ease,
    border-color 0.28s ease,
    transform 0.28s ease;
}

.industry-page .ind-work-bar .circle:hover,
.industry-page .ind-work-bar .circle:focus-visible {
  background: var(--ink, #0b1220);
  color: #fff;
  border-color: var(--ink, #0b1220);
  transform: translateY(-1px);
}

.industry-page .ind-work-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1;
  max-width: 220px;
}

.industry-page .ind-work-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(11, 18, 32, 0.18);
  cursor: pointer;
  transition:
    width 0.28s ease,
    background 0.28s ease,
    transform 0.28s ease;
}

.industry-page .ind-work-dot.is-active {
  width: 28px;
  background: var(--red, #ca0e35);
}

.industry-page .ind-work-dot:hover {
  transform: scale(1.08);
}

.industry-page .ind-work-count {
  margin: 0;
  min-width: 72px;
  text-align: center;
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(11, 18, 32, 0.52);
}

.industry-page #work {
  scroll-margin-top: 100px;
}

@media (max-width: 960px) {
  .industry-page .ind-work-card {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  .industry-page .ind-work-card-copy {
    border-right: 0;
    border-bottom: 1px solid rgba(11, 18, 32, 0.08);
    order: 2;
  }

  .industry-page .ind-work-card-media {
    order: 1;
    min-height: clamp(220px, 52vw, 320px);
  }

  .industry-page .ind-work-card-media img,
  .industry-page .ind-work-card-media video {
    min-height: clamp(220px, 52vw, 320px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .industry-page .ind-work-track {
    transition: none;
  }

  .industry-page .ind-work-card-media img,
  .industry-page .ind-work-card-media video {
    transition: none;
  }
}

/* Capabilities — dark section */
.industry-page .ind-caps-dark .title {
  color: #fff;
}

.industry-page .ind-caps-dark .svc-caps {
  margin-top:40px;
  border-color: rgba(255, 255, 255, 0.12);
}

.industry-page .ind-caps-dark .svc-cap {
  border-color: rgba(255, 255, 255, 0.12);
  background: transparent;
}

.industry-page .ind-caps-dark .svc-cap:hover {
  background: rgba(255, 255, 255, 0.04);
}

.industry-page .ind-caps-dark .svc-cap span {
  color: rgba(255, 255, 255, 0.42);
}

.industry-page .ind-caps-dark .svc-cap h3 {
  color: #fff;
}

.industry-page .ind-caps-dark .svc-cap p {
  color: rgba(255, 255, 255, 0.68);
}

/* More industries */
.industry-page .ind-more-lead {
  max-width: 58ch;
}

.industry-page .ind-more-shell {
  margin-top: clamp(28px, 4vw, 44px);
}

.industry-page .ind-more-viewport {
  overflow: visible;
}

.industry-page .ind-more-bar {
  display: none;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 20px);
  margin-top: clamp(16px, 3vw, 24px);
}

.industry-page .ind-more-bar .circle {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border-color: rgba(11, 18, 32, 0.16);
  color: var(--ink, #0b1220);
  background: #fff;
  box-shadow: 0 10px 24px rgba(11, 18, 32, 0.08);
  transition:
    background 0.28s ease,
    color 0.28s ease,
    border-color 0.28s ease,
    transform 0.28s ease;
}

.industry-page .ind-more-bar .circle:hover,
.industry-page .ind-more-bar .circle:focus-visible {
  background: var(--ink, #0b1220);
  color: #fff;
  border-color: var(--ink, #0b1220);
  transform: translateY(-1px);
}

.industry-page .ind-more-count {
  margin: 0;
  min-width: 72px;
  text-align: center;
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(11, 18, 32, 0.52);
}

.industry-page .ind-more-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 20px);
}

.industry-page .ind-more-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid rgba(24, 48, 96, 0.12);
  border-radius: 24px;
  padding: 10px;
  overflow: hidden;
  background: var(--paper, #f7f7f2);
  color: var(--ink);
  box-shadow: 0 4px 16px rgba(11, 18, 32, 0.03);
  transition:
    opacity 0.45s var(--ease),
    transform 0.35s var(--ease),
    border-color 0.3s ease,
    box-shadow 0.35s ease;
}

.industry-page .ind-more-card:focus-within {
  border-color: var(--red);
  box-shadow: 0 14px 28px rgba(11, 18, 32, 0.1);
}

@media (hover: hover) and (pointer: fine) {
  .industry-page .ind-more-card:hover {
    border-color: var(--red);
    transform: translateY(-5px);
    box-shadow: 0 18px 32px rgba(11, 18, 32, 0.1);
  }

  .industry-page .ind-more-card:hover .ind-more-card-media img {
    transform: scale(1.045);
  }
}

.industry-page .ind-more-card-media {
  aspect-ratio: 8 / 5;
  border-radius: 16px;
  overflow: hidden;
  background: var(--paper);
}

.industry-page .ind-more-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}

.industry-page .ind-more-card:focus-within .ind-more-card-media img {
  transform: scale(1.04);
}

.industry-page .ind-more-card-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: clamp(18px, 2vw, 24px) 14px 14px;
}

.industry-page .ind-more-card-copy h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.industry-page .ind-more-card-cta {
  margin-top: auto;
}

.industry-page .ind-more-card-description {
  margin: 0 0 12px;
  color: rgba(11, 18, 32, 0.7);
  font-size: 15px;
  line-height: 1.65;
  text-wrap: pretty;
}

@media (prefers-reduced-motion: reduce) {
  .industry-page .ind-more-card,
  .industry-page .ind-more-card:hover,
  .industry-page .ind-more-card .ind-more-card-media img {
    transition: none;
    transform: none;
  }
}

@media (max-width: 1024px) {
  .industry-page .svc-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(24px, 4vw, 32px);
  }

  .industry-page .svc-hero-visual {
    max-width: min(100%, 520px);
    margin-inline: auto;
    width: 100%;
  }

  .industry-page .ind-more-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .industry-page {
    --ind-hero-min: auto;
  }

  .industry-page .svc-hero {
    min-height: 0;
    padding-bottom: clamp(24px, 5vw, 36px);
  }

  .industry-page .svc-hero-visual {
    min-height: clamp(200px, 48vw, 260px);
    max-height: 260px;
  }

  .industry-page .svc-hero-visual img,
  .industry-page .svc-hero-visual video,
  .industry-page .svc-hero-visual .svc-hero-video {
    min-height: clamp(200px, 48vw, 260px);
    max-height: 260px;
  }

  .industry-page .svc-hero h1 {
    font-size: clamp(28px, 8vw, 40px);
  }

  .industry-page .svc-hero-copy {
    font-size: 15px;
  }

  .industry-page .svc-hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .industry-page .ind-work-card-title {
    font-size: clamp(22px, 6vw, 30px);
  }

  .industry-page .ind-work-card-copy {
    padding: clamp(22px, 5vw, 28px);
  }

  .industry-page .ind-more-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-inline: calc(var(--gutter, 20px) * -1);
    padding-inline: var(--gutter, 20px);
    padding-block: 8px 24px;
  }

  .industry-page .ind-more-viewport::-webkit-scrollbar {
    display: none;
  }

  .industry-page .ind-more-viewport:focus-visible {
    box-shadow: 0 0 0 3px rgba(24, 48, 96, 0.18);
    border-radius: 18px;
  }

  .industry-page .ind-more-grid {
    display: flex;
    gap: 12px;
    margin-top: 0;
    grid-template-columns: unset;
  }

  .industry-page .ind-more-card {
    flex: 0 0 86%;
    min-width: 86%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .industry-page .ind-more-bar {
    display: flex;
  }
}

@media (max-width: 640px) {
  .industry-page .ind-work-bar {
    flex-wrap: wrap;
  }

  .industry-page .ind-work-dots {
    order: 3;
    flex: 1 1 100%;
    max-width: none;
    margin-top: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .industry-page .svc-hero.is-ready .svc-hero-visual {
    animation: none;
  }

  .industry-page .ind-work-track {
    transition: none;
  }

  .industry-page .ind-work-card-media img,
  .industry-page .ind-work-card-media video {
    transition: none;
  }
}
