/* =========================================================
   LIMBEST – Home page styles
   ========================================================= */

.c-red { color: var(--red); }
.c-blue { color: var(--blue); }

.section-label {
  display: block;
  padding-bottom: 14px;
  border-bottom: 1px solid;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  line-height: 1.6;
  text-transform: uppercase;
}
.section-label--red { color: var(--red); border-color: var(--navy); }
.section-label--light { color: var(--white); font-weight: 400; border-color: rgba(255, 255, 255, .6); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--blue);
}
.text-link:hover { color: var(--red); }
.text-link--lg { font-size: 16px; }
.text-link--upper { font-size: 15px; text-transform: uppercase; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  height: clamp(560px, 48vw, 720px);
  margin-top: calc(var(--header-h) * -1);
  padding-top: var(--header-h);
  overflow: hidden;
  color: var(--white);
  background: var(--navy) url("../images/hero-bg.jpg") center / cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, rgba(10, 20, 35, .78) 0%, rgba(10, 20, 35, .58) 45%, rgba(10, 20, 35, .28) 100%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; }
.hero__content { max-width: 520px; }
.hero h1 { color: var(--white); }
.hero__text { max-width: 440px; margin-top: 16px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 24px; }
.hero__staff {
  position: absolute;
  z-index: 1;
  bottom: 0;
  right: max(var(--pad), calc((100vw - var(--max)) / 2 - 35px));
  width: min(42.7vw, 640px);
  height: auto;
}

/* =========================================================
   About
   ========================================================= */
.about {
  padding: 36px 0 56px;
  color: var(--white);
  background: var(--slate);
}
.about__body { position: relative; height: 640px; }
.about__stats { display: contents; }
.about__stat { position: absolute; left: 0; z-index: 2; }
.about__stat--served { top: 6%; }
.about__stat--years { top: 44%; }
.about__number {
  font-size: clamp(64px, 9.3vw, 104px);
  font-weight: 300;
  line-height: 1;
  color: var(--red);
}
.about__caption { margin-top: 12px; font-size: 12px; line-height: 1.5; }
.about__text { position: absolute; left: 53%; top: 8%; z-index: 2; width: 45%; }
.about__text h2 { color: var(--white); }
.about__text p { margin-top: 20px; font-size: 17px; line-height: 1.7; }

/* Map + location pin.
   All values below are percentages of the map image (johor-map.svg).
   --pin-x / --pin-y     = Head Office (Skudai) position on the map
   --johor-x / --johor-y = centre of the "JOHOR" label
   Larger X moves right, larger Y moves down. */
.about__map {
  --pin-x: 56%;
  --pin-y: 82%;
  --johor-x: 44%;
  --johor-y: 54%;
  position: absolute;
  left: 20.6%;
  top: 23%;
  width: 46%;
  z-index: 0;
}
.about__map > img { display: block; width: 100%; height: auto; max-width: none; }
.about__map-label {
  position: absolute;
  left: var(--johor-x);
  top: var(--johor-y);
  transform: translate(-50%, -50%);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 1px;
  white-space: nowrap;
  color: rgba(20, 36, 58, .55);
}
.about__pin {
  position: absolute;
  z-index: 2;
  left: var(--pin-x);
  top: var(--pin-y);
  width: calc(170.2% - var(--pin-x));
  height: 1px;
  background: rgba(255, 255, 255, .85);
}
.about__pin::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(213, 43, 48, .6);
  transform: translate(-50%, -50%);
}
.about__pin::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--white);
  transform: translate(-50%, -50%);
}
.about__pin-label {
  position: absolute;
  z-index: 2;
  right: -70.2%;
  text-align: right;
  top: calc(var(--pin-y) + 12px);
  font-size: 12px;
  line-height: 1.5;
  white-space: nowrap;
}
.about__link {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--white);
}

/* =========================================================
   Services
   ========================================================= */
.services { padding: var(--space-compact) 0 var(--space-main); }
.services__title { margin-top: 22px; color: var(--blue); }
.services__intro { max-width: 600px; margin-top: 14px; }
.services__grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 40px;
  margin-top: 36px;
}

/* Feature card (01 Fire Extinguisher).
   Everything inside is sized in "cqw" = % of the card width,
   so the layout keeps the mockup proportions at any card size. */
.service-feature {
  position: relative;
  container-type: inline-size;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  color: var(--white);
}
.service-feature__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Dark overlay – adjust the three opacity values (.5 / .38 / .28) to match the mockup */
.service-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .38) 55%, rgba(0, 0, 0, .28) 100%);
}
.service-feature__body {
  position: absolute;
  z-index: 2;
  top: 10.5cqw;
  left: 7.5cqw;
  right: 7.5cqw;
}
.service-feature__line {
  display: block;
  width: 5.9cqw;
  height: 2px;
  margin-bottom: 2.3cqw;
  background: var(--white);
}
.service-feature__no {
  font-size: clamp(22px, 6.4cqw, 38px);
  font-weight: 700;
  line-height: 1;
}
.service-feature__title {
  margin-top: 6.8cqw;
  font-size: clamp(24px, 7.3cqw, 44px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
}
.service-feature__text {
  max-width: 57cqw;
  margin: 1.3cqw 0 2.7cqw;
  font-size: clamp(12px, 3cqw, 17px);
  line-height: 1.25;
}
.service-feature__badges {
  position: absolute;
  z-index: 2;
  left: 4.8cqw;
  right: 4.8cqw;
  bottom: 8.3cqw;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 2cqw;
  height: 16cqw;
  padding: 0 2cqw;
  background: rgba(0, 0, 0, .5);
  border-radius: 1.6cqw;
}
.service-feature__badges li {
  display: flex;
  align-items: center;
  gap: 2cqw;
  font-size: clamp(10px, 2.5cqw, 14px);
  line-height: 1.3;
}
.service-feature__badges img {
  flex: none;
  width: clamp(26px, 7.5cqw, 44px);
  height: auto;
  aspect-ratio: 1 / 1;
}

.service-list { display: grid; grid-template-rows: repeat(4, 1fr); gap: 8px; }
.service-item { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.service-item__no {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--red);
}
.service-item__no::before { content: ""; width: 22px; height: 2px; background: var(--red); }
.service-item h3 { margin: 2px 0 6px; color: var(--blue); }
.service-item h3 a:hover { color: var(--red); }
.service-item__img { flex: none; width: 130px; height: 130px; object-fit: cover; border-radius: 4px; }

/* =========================================================
   Why LIMBEST
   Desktop: fixed-height stage inside the 1120px container,
   text sizes follow the global type scale (title = H1 size).
   ========================================================= */
.why {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--navy) url("../images/why-limbest-bg.jpg") left center / cover no-repeat;
}
/* Dark overlay – adjust the three opacity values (.74 / .6 / .55) to match the mockup */
.why::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 16, 30, .74) 0%, rgba(8, 16, 30, .6) 55%, rgba(8, 16, 30, .55) 100%);
}
.why__stage {
  position: relative;
  max-width: calc(var(--max) + var(--pad) * 2);
  height: clamp(560px, 48vw, 640px);
  margin: 0 auto;
}

.why__intro {
  position: absolute;
  z-index: 2;
  left: var(--pad);
  top: 56px;
  width: 40%;
}
.why__title {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--white);
}
.why__sub { max-width: 260px; margin-top: 18px; font-size: 17px; line-height: 1.5; }
.why__rule { display: block; width: 72px; height: 2px; margin: 28px 0; background: var(--red); }
.why__partner { font-size: 36px; font-weight: 600; line-height: 1.2; }
.why__for { margin-top: 14px; font-size: 17px; line-height: 1.4; }
.why__place { margin-top: 10px; font-size: 14px; letter-spacing: .5px; }

.why__list {
  position: absolute;
  z-index: 2;
  left: 54.7%;
  top: 96px;
  width: 37.5%;
  display: grid;
  grid-auto-rows: 108px;
  align-items: center;
}
.why-item { display: grid; grid-template-columns: 104px 1fr; align-items: center; }
.why-item__no { font-size: 60px; font-weight: 800; line-height: 1; color: var(--white); }
.why-item h3 { font-size: 14px; font-weight: 700; line-height: 1.4; text-transform: uppercase; color: var(--white); }
.why-item p { max-width: 340px; font-size: 14px; line-height: 1.6; }

.why__staff {
  position: absolute;
  z-index: 1;
  left: 15%;
  bottom: 0;
  height: 86%;
  width: auto;
  max-width: none;
}

/* =========================================================
   Industries
   Cards use the mockup ratio (10 : 7). Text starts at the same
   height in every card (padding-top is a % of the card width).
   ========================================================= */
.industries {
  position: relative;
  padding: var(--space-main) 0;
  background: url("../images/industries-bg.jpg") center / cover no-repeat;
}
.industries::before { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, .74); }
.industries .container { position: relative; }
.industries__eyebrow { color: var(--navy); }
.industries__title {
  margin-top: 12px;
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
}
.industries__intro { margin-top: 12px; }
.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-top: 32px; }
.industry-card {
  position: relative;
  display: block;
  aspect-ratio: 10 / 7;
  padding: 44% 20px 0;
  overflow: hidden;
  color: var(--white);
}
.industry-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.industry-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .8) 100%);
}
.industry-card h3,
.industry-card p { position: relative; z-index: 1; }
.industry-card h3 { font-size: 14px; font-weight: 700; letter-spacing: .5px; line-height: 1.4; text-transform: uppercase; color: var(--white); }
.industry-card p { margin-top: 6px; font-size: 12px; line-height: 1.5; }

/* =========================================================
   Experience & Compliance
   Fixed-height stage (like the mockup): person on the left,
   content on the right, strong dark overlay for readable text.
   ========================================================= */
.experience {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--navy) url("../images/experience-bg.jpg") center / cover no-repeat;
}
/* Dark overlay – adjust the three opacity values (.55 / .8 / .9) for more or less contrast */
.experience::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 16, 30, .55) 0%, rgba(8, 16, 30, .8) 38%, rgba(8, 16, 30, .9) 100%);
}
.experience__inner {
  position: relative;
  min-height: clamp(600px, 54vw, 640px);
  padding-top: 64px;
  padding-bottom: 64px;
}
.experience__content {
  position: relative;
  z-index: 2;
  margin-left: 42%;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .45);
}
.experience__title { margin-top: 12px; text-transform: uppercase; color: var(--white); }
.experience__text { margin-top: 20px; }
.experience__list { margin-top: 20px; border-bottom: 1px solid rgba(255, 255, 255, .85); }
.experience__list li { border-top: 1px solid rgba(255, 255, 255, .85); }
.exp-item { display: flex; align-items: center; gap: 20px; padding: 16px 0; }
.exp-item__no { flex: none; width: 88px; font-size: 46px; font-weight: 800; line-height: 1; color: var(--red); text-shadow: none; }
.exp-item__text { flex: 1; display: flex; flex-direction: column; line-height: 1.5; }
.exp-item__text strong { font-size: 14px; font-weight: 700; text-transform: uppercase; }
.exp-item__text small { font-size: 13px; }
.exp-item img { flex: none; width: 34px; height: 34px; }
.exp-item:hover .exp-item__text strong { color: #ffb3b6; }
.experience__staff {
  position: absolute;
  z-index: 1;
  left: 9%;
  bottom: 8%;
  height: 70%;
  width: auto;
  max-width: none;
}

/* =========================================================
   Trust bar
   ========================================================= */
.trust { padding: 28px 0; background: var(--grey-light); }
.trust__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.trust-item { display: flex; align-items: center; gap: 16px; }
.trust-item img { flex: none; width: 80px; height: 80px; object-fit: contain; }
.trust-item h3 { font-size: 14px; font-weight: 700; text-transform: uppercase; color: var(--blue); }
.trust-item p { margin-top: 4px; font-size: 13px; line-height: 1.5; }

/* =========================================================
   Knowledge
   ========================================================= */
.knowledge { padding: var(--space-main) 0; background: var(--grey-light); }
.knowledge__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-compact);
  align-items: end;
}
.knowledge__eyebrow { color: var(--navy); }
.knowledge__title { margin-top: 10px; font-size: clamp(30px, 3.9vw, 42px); line-height: 1.2; text-transform: uppercase; color: var(--blue); }
.knowledge__head-text { display: grid; gap: 16px; padding-bottom: 6px; }
.knowledge__head-text .lead { max-width: 460px; }

.knowledge__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; margin-top: 36px; }

/* Featured article (left) */
.article-feature img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.article-tag { font-size: 12px; font-weight: 700; line-height: 1.6; letter-spacing: .3px; text-transform: uppercase; color: var(--red); }
.article-feature .article-tag { margin-top: 24px; }
.article-feature__title { margin: 6px 0 12px; font-size: 26px; line-height: 1.3; color: var(--blue); }
.article-feature .text-link { margin-top: 20px; }

/* Side articles (right) */
.article-side { display: grid; grid-template-rows: 1fr 1fr; gap: 28px; }
.article-card { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.article-card__text { flex: 1; }
.article-card h3 { margin: 6px 0 8px; font-size: 17px; font-weight: 700; line-height: 1.4; color: var(--blue); }
.article-card .small { font-size: 14px; line-height: 1.6; }
.article-card .text-link { margin-top: 12px; font-size: 14px; }
.article-card img { flex: none; width: 42%; aspect-ratio: 16 / 10; object-fit: cover; }

@media (max-width: 900px) {
  .article-side { grid-template-rows: none; gap: 32px; }
  .article-feature__title { font-size: 24px; }
}

/* =========================================================
   Responsive – Tablet (900px)
   ========================================================= */
@media (max-width: 900px) {
  /* Hero */
  .hero {
    display: block;
    height: auto;
    padding-top: calc(var(--header-h) + 48px);
    --staff-w: min(80vw, 520px);
  }
  .hero::before { background: rgba(10, 20, 35, .6); }
  .hero__staff {
    position: relative;
    right: auto;
    display: block;
    width: var(--staff-w);
    margin: calc(var(--staff-w) * -0.3) auto 0;
  }

  /* About: text → stats → map → link */
  .about { padding: 32px 0 48px; }
  .about__body { display: flex; flex-direction: column; height: auto; }
  .about__text,
  .about__stat,
  .about__link { position: static; }
  .about__text { width: 100%; max-width: 640px; margin-top: 28px; }
  .about__stats {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 32px;
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, .18);
  }
  .about__number { font-size: clamp(40px, 12vw, 88px); }
  .about__map {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    max-width: 440px;
    margin: 40px auto 0;
  }
  .about__pin { width: calc(100% - var(--pin-x)); }
  .about__pin-label { left: auto; right: 0; top: calc(var(--pin-y) + 36px); text-align: right; }
  .about__link { margin-top: 56px; align-self: flex-start; }

  /* Services */
  .services__grid { grid-template-columns: 1fr; }
  .service-feature { width: 100%; max-width: 560px; }
  .service-list { grid-template-rows: none; gap: 24px; }
  .service-item__img { width: 110px; height: 110px; }

  /* Why: title → list → person standing at the bottom */
  .why__stage {
    display: flex;
    flex-direction: column;
    height: auto;
    max-width: none;
    padding: 56px var(--pad) 0;
  }
  .why__intro,
  .why__list,
  .why__staff { position: static; }
  .why__intro { width: 100%; }
  .why__title { font-size: 52px; line-height: .9; }
  .why__sub { max-width: 360px; margin-top: 20px; font-size: 16px; line-height: 1.5; }
  .why__rule { width: 64px; margin: 24px 0; }
  .why__partner { font-size: clamp(30px, 7vw, 36px); }
  .why__for { margin-top: 12px; font-size: 16px; }
  .why__place { margin-top: 8px; font-size: 14px; }
  .why__list { width: 100%; max-width: 640px; margin-top: 36px; grid-auto-rows: auto; }
  .why-item {
    grid-template-columns: 72px 1fr;
    column-gap: 16px;
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, .16);
  }
  .why-item:last-child { border-bottom: 1px solid rgba(255, 255, 255, .16); }
  .why-item__no { font-size: 48px; }
  .why-item h3 { font-size: 14px; }
  .why-item p { max-width: none; font-size: 14px; line-height: 1.55; }
  .why__staff { width: min(86%, 440px); height: auto; margin: 32px auto 0; }

  /* Industries */
  .industries__title { font-size: 44px; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }

  /* Experience: content first, person standing at the bottom */
  .experience::before { background: rgba(8, 16, 30, .84); }
  .experience__inner { min-height: 0; padding-top: 56px; padding-bottom: 0; }
  .experience__content { margin-left: 0; }
  .experience__staff {
    position: relative;
    left: auto;
    bottom: auto;
    display: block;
    height: 360px;
    margin: 16px auto 0;
  }

  /* Trust */
  .trust__grid { grid-template-columns: 1fr; }

  /* Knowledge */
  .knowledge__head { grid-template-columns: 1fr; align-items: start; }
  .knowledge__grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Responsive – Mobile (600px)
   ========================================================= */
@media (max-width: 600px) {
  .hero {
    padding-top: calc(var(--header-h) + 32px);
    --staff-w: min(100vw, 520px);
  }

  .about__stats { column-gap: 24px; }
  .about__map { margin-top: 32px; }
  .about__map-label { font-size: 26px; }
  .about__pin::before { width: 44px; height: 44px; }
  .about__pin::after { width: 10px; height: 10px; }
  .about__pin-label { top: calc(var(--pin-y) + 28px); font-size: 11px; }
  .about__link { margin-top: 48px; }

  .service-feature { aspect-ratio: 4 / 5; max-width: none; }
  .service-feature__badges {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    height: auto;
    padding: 14px 16px;
  }
  .service-item__img { width: 90px; height: 90px; }

  .why__stage { padding-top: 48px; }
  .why__title { font-size: 52px; }
  .why__sub { font-size: 15px; }
  .why-item { grid-template-columns: 56px 1fr; column-gap: 14px; }
  .why-item__no { font-size: 38px; }
  .why-item h3,
  .why-item p { font-size: 13px; }
  .why__staff { width: 92%; margin-top: 24px; }

  .industries__title { font-size: 34px; }
  .industry-grid { grid-template-columns: 1fr; gap: 16px; }
  .industry-card { aspect-ratio: 4 / 3; padding-top: 38%; }

  .experience__inner { padding-top: 48px; }
  .exp-item { gap: 14px; padding: 14px 0; }
  .exp-item__no { width: 52px; font-size: 34px; }
  .exp-item img { width: 30px; height: 30px; }
  .experience__staff { height: 320px; }

  .article-card { flex-direction: column-reverse; align-items: flex-start; }
  .article-card img { width: 100%; }
  .article-feature__title { font-size: 19px; }
}
/* =========================================================
   Swiss grid – desktop (≥901px)
   N 栏宽度 = calc(var(--col)*N + var(--gutter)*(N-1))
   ========================================================= */
@media (min-width: 901px) {

  /* Hero: 文字 1–6 栏,说明文字 5 栏宽 */
  .hero__content { max-width: calc(var(--col) * 6 + var(--gutter) * 5); }
  .hero__text    { max-width: calc(var(--col) * 5 + var(--gutter) * 4); }

  /* About: 数字在第1栏,地图 3–8 栏,文字 7–12 栏 */
  .about__map {
    left: calc(var(--col) * 2 + var(--gutter) * 2);
    width: calc(var(--col) * 6 + var(--gutter) * 5);
  }
  .about__pin { width: calc(170% - var(--pin-x)); }
  .about__pin-label { right: -70%; }
  .about__text {
    left: calc(var(--col) * 6 + var(--gutter) * 6);
    width: calc(var(--col) * 6 + var(--gutter) * 5);
  }

  /* Services: 介绍 1–6 栏;大卡 1–7 栏;列表 8–12 栏 */
  .services__intro { max-width: calc(var(--col) * 6 + var(--gutter) * 5); }
  .services__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter);
  }
  .service-feature { grid-column: 1 / 8; }
  .service-list    { grid-column: 8 / 13; }

  /* Why: 标题 1–5 栏,列表 7–12 栏 */
  .why__intro { width: calc(var(--col) * 5 + var(--gutter) * 4); }
  .why__list {
    left: calc(var(--pad) + var(--col) * 6 + var(--gutter) * 6);
    width: calc(var(--col) * 6 + var(--gutter) * 5);
  }

  /* Experience: 内容从第6栏开始 */
  .experience__content { margin-left: calc(var(--col) * 5 + var(--gutter) * 5); }

  /* Knowledge: 标题/文字各 6 栏;大文章 1–6,小文章 7–12 */
  .knowledge__head { column-gap: var(--gutter); }
  .knowledge__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--gutter);
  }
}
/* Mobile / tablet hero: blend the technician into the background */
@media (max-width: 900px) {
  /* Vertical overlay: lighter at the top, deeper navy at the bottom where the staff stands */
  .hero::before {
    background: linear-gradient(180deg, rgba(10, 20, 35, .55) 0%, rgba(10, 20, 35, .72) 55%, rgba(10, 20, 35, .88) 100%);
  }
  /* Soft blue glow behind the staff so he does not look pasted on */
  .hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: radial-gradient(ellipse 80% 40% at 50% 100%, rgba(38, 63, 123, .65), rgba(38, 63, 123, 0) 70%);
    pointer-events: none;
  }
  .hero__staff { filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .45)); }
}
/* Mobile: put the card title + text at the bottom of the image */
@media (max-width: 600px) {
  .industry-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 18px 20px;
  }
}
/* Desktop: slightly larger text on the Industries cards */
@media (min-width: 901px) {
  .industry-card h3 { font-size: 16px; }
  .industry-card p  { margin-top: 6px; font-size: 14px; line-height: 1.5; }
}
/* "View all industries" link below the industry grid */
.industries__more {
  margin-top: 32px;
}
/* =========================================================
   Home – Knowledge article carousel (hk-)
   Slides are rendered by js/home-knowledge.js
   ========================================================= */
.hk { margin-top: 36px; }
.hk[hidden] { display: none; }

.hk__viewport { overflow: hidden; touch-action: pan-y; }
.hk__track {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  transition: transform .5s ease;
}

/* Mobile first: image on top, text below, one column */
.hk__slide {
  flex: 0 0 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}
.hk__img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.hk__tag { font-size: 12px; font-weight: 700; line-height: 1.6; letter-spacing: .3px; text-transform: uppercase; color: var(--red); }
.hk__title { margin: 6px 0 20px; font-size: 22px; line-height: 1.3; color: var(--blue); }

/* Controls: arrows + dots */
.hk__controls { display: flex; align-items: center; gap: 12px; margin-top: 28px; }
.hk__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--navy);
  border-radius: 50%;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.hk__btn:hover { background: var(--red); border-color: var(--red); color: var(--white); }
.hk__btn:focus-visible,
.hk__dot:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.hk__dots { display: flex; align-items: center; gap: 2px; }
.hk__dot {
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.hk__dot::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  margin: auto;
  border-radius: 50%;
  background: rgba(20, 36, 58, .25);
  transition: background-color .2s, width .2s;
}
.hk__dot[aria-current="true"]::before { width: 22px; border-radius: 5px; background: var(--red); }

/* Tablet+ : keep the same single-column slide, slightly larger title */
@media (min-width: 601px) {
  .hk__title { font-size: 24px; }
}

/* Desktop Swiss grid: image 1–7, text 8–12 (same as the Services feature) */
@media (min-width: 901px) {
  .hk__slide {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter);
    align-items: end;
  }
  .hk__img  { grid-column: 1 / 8; }
  .hk__text { grid-column: 8 / 13; padding-bottom: 8px; }
  .hk__title { font-size: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .hk__track { transition: none; }
}