/* Industries page: fully scoped so the shared stylesheet does not alter other pages. */
.industries-page {
  margin: 0;
  background: #050506;
  color: #f5f5f6;
  font-family: var(--font-sans);
}

.industries-page *,
.industries-page *::before,
.industries-page *::after {
  box-sizing: border-box;
}

.industries-page a {
  color: inherit;
  text-decoration: none;
}

.industries-header {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  height: 78px;
}

.industries-nav {
  width: min(1280px, calc(100% - 64px));
  height: 78px;
  display: flex;
  align-items: center;
  margin: auto;
}

.industries-brand {
  width: 146px;
  height: 78px;
  flex: 0 0 146px;
}

.industries-nav-links {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 0;
}

.industries-nav-links a {
  height: 78px;
}

.industries-nav-links a:nth-child(1) {
  width: 96px;
}

.industries-nav-links a:nth-child(2) {
  width: 100px;
}

.industries-nav-links a:nth-child(3) {
  width: 129px;
}

.industries-nav-links a:nth-child(4) {
  width: 91px;
}

.industries-nav-links a:nth-child(5) {
  width: 86px;
}

.industries-nav-links a:nth-child(6) {
  width: 81px;
}

.industries-nav-links a:nth-child(7) {
  width: 104px;
}

.industries-top-button {
  width: 214px;
  height: 44px;
  margin-left: auto;
  border-radius: 8px;
}

.industries-hero {
  width: 100%;
  min-height: 636px;
  background: #08090b;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 140px;
  padding-bottom: 70px;
  box-sizing: border-box;
}

.industries-hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.industries-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1200px, calc(100% - 64px));
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.industries-hero::before {
  display: none;
}

.industries-hero h1 {
  margin: 0;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: clamp(34px, 4.7vw, 68px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-align: center;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.industries-hero p {
  max-width: 1000px;
  margin: 24px auto 0;
  color: #929399;
  font-family: var(--font-sans);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.6;
  text-align: center;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

@media (max-width: 600px) {
  .industries-hero {
    min-height: 350px;
  }

  .industries-hero-inner {
    padding: 0 16px;
    width: calc(100% - 32px);
    margin: -20px auto 0;
  }

  .industries-hero h1 {
    font-size: 24px;
    line-height: 1.3;
    white-space: normal;
  }

  .industries-hero p {
    font-size: 16px;
    line-height: 1.5;
    max-width: 100%;
  }
}

.industries-list {
  padding: 100px 0 104px;
  background: #050506;
}

.industries-grid {
  width: min(1280px, calc(100% - 64px));
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 32px;
  margin: 0 auto;
}

.industries-card {
  min-height: 387px;
  display: flex;
  flex-direction: column;
  padding: 32px;
  border-radius: 22px;
  background: #111216;
}

.industries-card>img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  object-position: left center;
  margin: 0 0 31px;
}

.industries-card h2 {
  min-height: 80px;
  margin: 0;
  color: #ffffff;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 32px;
  line-height: 40px;
  letter-spacing: 0px;
}

.industries-card p {
  min-height: 72px;
  margin: 16px 0 0;
  color: #B0B0B0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0px;
}

.industries-card-bottom {
  padding-top: 16px;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, .13);
}

.industries-card-bottom a,
.industries-card-bottom a:visited {
  color: #165fff;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.industries-card-bottom a:hover,
.industries-card-bottom a:focus-visible {
  color: #3b82f6;
}

.industries-card-bottom a span {
  display: inline-block;
  margin-left: 7px;
  font-size: 20px;
  line-height: 12px;
  vertical-align: -1px;
}

.industries-footer {
  padding: 76px 0 25px;
  border-top: 1px solid rgba(255, 255, 255, .07);
  background: #050506;
}

.industries-footer-grid {
  width: min(1360px, calc(100% - 80px));
  display: grid;
  grid-template-columns: 1.28fr 1.25fr 1.25fr 1.37fr .9fr;
  gap: 30px;
  margin: 0 auto;
}

.industries-footer-brand {
  display: inline-flex;
  align-items: flex-start;
  gap: 4px;
  color: #f3f4f5;
  font-size: 19px;
  font-weight: 600;
  line-height: .9;
  letter-spacing: -.5px;
}

.industries-footer-brand>span:last-child>span {
  color: #1a68ff;
}

.industries-mark {
  position: relative;
  top: -4px;
  display: inline-block;
  color: #176aff;
  font-size: 28px;
  font-weight: 400;
  line-height: .9;
  transform: scale(1.6, 1.8);
  transform-origin: center;
}

.industries-footer-column {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.industries-footer-column b {
  margin-bottom: 8px;
  color: #e5e5e7;
  font-size: 14px;
  font-weight: 600;
}

.industries-footer-column a {
  color: #85868c;
  font-size: 14px;
  line-height: 1.2;
}

.industries-footer-column a:hover,
.industries-footer-column a:focus-visible,
.industries-card-bottom a:hover,
.industries-card-bottom a:focus-visible {
  color: #fff;
}


.industries-footer-bottom {
  width: min(1380px, calc(100% - 60px));
  display: flex;
  justify-content: space-between;
  margin: 63px auto 0;
  padding-top: 27px;
  border-top: 1px solid rgba(255, 255, 255, .05);
  color: #878991;
  font-size: 14px;
}

.industries-footer-bottom span:last-child {
  display: flex;
  gap: 29px;
}

.industries-footer-bottom a:hover,
.industries-footer-bottom a:focus-visible {
  color: #fff;
}

/* Industries reuses the same page chrome as What We Do.  These aliases deliberately
   keep the header and footer visually identical while the remainder stays scoped. */
.industries-page .wwd-header {
  position: absolute;
  z-index: 5;
  inset: 0 0 auto;
  height: 78px;
  background: transparent;
}

.industries-page .wwd-nav {
  width: min(1280px, calc(100% - 64px));
  height: 78px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0 auto;
}

.industries-page .wwd-brand {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #f6f7fa;
  font-size: 20px;
  font-weight: 600;
  line-height: .9;
  letter-spacing: -.5px;
  white-space: nowrap;
}

.industries-page .wwd-brand>span:last-child>span {
  color: #2470ff;
}

.industries-page .wwd-nav-links {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: flex-start;
  gap: 35px;
  margin-left: 16px;
}

.industries-page .wwd-nav-links a {
  position: relative;
  color: #92949a;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  white-space: nowrap;
  transition: color .2s ease;
}

.industries-page .wwd-nav-links a::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 3px;
  content: "";
  border-radius: 2px;
  background: #1f6cff;
  opacity: 0;
  transition: opacity .2s ease;
}

.industries-page .wwd-nav-links a:hover,
.industries-page .wwd-nav-links a:focus,
.industries-page .wwd-nav-links a:focus-visible,
.industries-page .wwd-nav-links a[aria-current="page"] {
  color: #fff;
}

.industries-page .wwd-nav-links a:hover::after,
.industries-page .wwd-nav-links a:focus::after,
.industries-page .wwd-nav-links a:focus-visible::after,
.industries-page .wwd-nav-links a[aria-current="page"]::after {
  opacity: 1;
}

.industries-page .wwd-top-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 214px;
  height: 44px;
  border-radius: 8px;
  background: #1f5df0;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: .02em;
  white-space: nowrap;
}

.industries-page .wwd-footer {
  padding: 44px 0 22px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: #050506;
}

.industries-page .wwd-footer-grid {
  width: min(1360px, calc(100% - 80px));
  display: grid;
  grid-template-columns: 1.25fr 1fr 1.15fr 1.15fr .8fr;
  gap: 38px;
  margin: 0 auto;
}

.industries-page .wwd-footer-grid>div:not(:first-child) {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.industries-page .wwd-footer-grid b {
  margin-bottom: 6px;
  color: #e0e1e4;
  font-size: 16px;
}

.industries-page .wwd-footer-grid a:not(.wwd-brand) {
  color: #777980;
  font-size: 14px;
  line-height: 1.25;
  transition: color .2s ease;
}

.industries-page .wwd-footer-grid a:not(.wwd-brand):hover,
.industries-page .wwd-footer-grid a:not(.wwd-brand):focus-visible {
  color: #fff;
}


.industries-page .wwd-footer-bottom {
  width: min(1360px, calc(100% - 80px));
  display: flex;
  justify-content: space-between;
  margin: 37px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .04);
  color: #858895;
  font-size: 14px;
}

.industries-page .wwd-footer-bottom a {
  color: inherit;
  transition: color .2s ease;
}

.industries-page .wwd-footer-bottom a:hover,
.industries-page .wwd-footer-bottom a:focus-visible {
  color: #fff;
}

.industries-page .wwd-footer-bottom span:last-child {
  display: flex;
  gap: 21px;
}

@media (max-width: 1050px) {
  .industries-nav-links {
    display: none;
  }

  .industries-top-button {
    margin-left: auto;
  }

  .industries-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .industries-footer-grid {
    grid-template-columns: 1.1fr 1fr 1fr;
  }

  .industries-footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {

  .industries-header,
  .industries-nav {
    height: 62px;
  }

  .industries-nav {
    width: calc(100% - 32px);
  }

  .industries-brand {
    height: 62px;
  }

  .industries-top-button {
    display: none;
  }

  .industries-hero {
    min-height: 390px;
    background-size: contain;
    background-position: center top;
  }

  .industries-list {
    padding: 52px 0;
  }

  .industries-grid {
    width: calc(100% - 34px);
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .industries-card {
    min-height: 345px;
    padding: 30px 27px 25px;
  }

  .industries-card h2 {
    font-size: 27px;
  }

  .industries-card p br {
    display: none;
  }

  .industries-footer {
    padding-top: 53px;
  }

  .industries-footer-grid {
    width: calc(100% - 40px);
    grid-template-columns: repeat(2, 1fr);
    gap: 34px 20px;
  }

  .industries-footer-bottom {
    width: calc(100% - 40px);
    flex-direction: column;
    gap: 18px;
    margin-top: 48px;
  }
}

/* Responsive counterparts for the shared What We Do page chrome on Industries. */
@media (max-width: 900px) {
  .industries-page .wwd-nav-links {
    display: none;
  }

  .industries-page .wwd-nav {
    justify-content: space-between;
  }

  .industries-page .wwd-top-button {
    margin-left: auto;
  }
}

@media (max-width: 800px) {
  .industries-page .wwd-footer-grid {
    width: calc(100% - 44px);
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 20px;
  }

  .industries-page .wwd-footer-grid>div:first-child {
    grid-column: 1 / -1;
  }

  .industries-page .wwd-footer-bottom {
    width: calc(100% - 44px);
    flex-direction: column;
    gap: 14px;
  }

  .industries-page .wwd-footer-bottom span:last-child {
    gap: 13px;
  }
}

@media (max-width: 600px) {
  .industries-page .wwd-header {
    height: 62px;
  }

  .industries-page .wwd-nav {
    width: calc(100% - 34px);
    height: 62px;
  }

  .industries-page .wwd-top-button {
    display: none;
  }
}


/* Figma Uniform Hero Typography System */
.industries-hero h1 {
  font-family: var(--font-sans) !important;
  font-size: 70px !important;
  line-height: 88px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  letter-spacing: 0px !important;
}

.industries-hero p {
  font-family: var(--font-sans) !important;
  font-size: 20px !important;
  line-height: 32px !important;
  font-weight: 400 !important;
  color: #b0b0b0 !important;
  letter-spacing: 0px !important;
}

@media (max-width: 1050px) {
  .industries-hero h1 {
    font-size: clamp(48px, 5vw, 58px) !important;
    line-height: 1.15 !important;
  }
  .industries-hero p {
    font-size: 18px !important;
    line-height: 28px !important;
  }
}

@media (max-width: 800px) {
  .industries-hero h1 {
    font-size: clamp(40px, 5.5vw, 50px) !important;
    line-height: 1.15 !important;
  }
  .industries-hero p {
    font-size: 16px !important;
    line-height: 26px !important;
  }
}

@media (max-width: 600px) {
  .industries-hero h1 {
    font-size: clamp(34px, 8vw, 42px) !important;
    line-height: 1.15 !important;
  }
  .industries-hero p {
    font-size: 14px !important;
    line-height: 22px !important;
  }
}
