.industries-page { background: var(--paper); }
.industries-page .site-header { background: rgba(6, 21, 36, .97); backdrop-filter: blur(14px); }
.industries-page .primary-nav a.active::after { width: 100%; }
.industries-page h1,.industries-page h2,.industries-page h3 { text-wrap: balance; }

.button-outline-dark { color: var(--navy-900); border-color: rgba(7,26,43,.5); background: transparent; }
.button-outline-dark:hover { color: var(--white); border-color: var(--navy-900); background: var(--navy-900); }

.industries-hero {
  position: relative;
  overflow: hidden;
  padding: 158px 0 104px;
  background:
    radial-gradient(circle at 89% 16%, rgba(13,95,108,.11), transparent 29%),
    linear-gradient(135deg, #f5f2ea 0%, #fbfaf7 60%, #e9e3d7 100%);
}

.industries-hero-pattern {
  position: absolute;
  right: -100px;
  bottom: -205px;
  width: 580px;
  height: 580px;
  border: 1px solid rgba(13,95,108,.09);
  border-radius: 50%;
  box-shadow: 0 0 0 48px rgba(13,95,108,.026),0 0 0 96px rgba(13,95,108,.018),0 0 0 144px rgba(13,95,108,.01);
}

.industries-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(470px, .95fr);
  gap: clamp(62px, 7vw, 118px);
  align-items: center;
}

.industries-hero-copy { max-width: 760px; }
.industries-hero h1,.industry-intro h2,.groups-heading h2,.trigger-heading h2,.official-pathways h2,.regional-copy h2,.client-fit h2,.page-cta h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.05;
}

.industries-hero h1 { max-width: 760px; font-size: clamp(3.45rem, 4.8vw, 5.2rem); line-height: .99; }
.industries-hero-lead { max-width: 700px; margin: 29px 0 0; color: var(--muted); font-size: clamp(1.04rem,1.25vw,1.18rem); line-height: 1.72; }
.industries-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 14px; margin-top: 32px; }
.hero-proof span { padding: 8px 12px; color: var(--teal-700); border: 1px solid rgba(13,95,108,.22); background: rgba(255,255,255,.55); font-size: .76rem; font-weight: 700; }

/* =========================================================
   INDUSTRIES HERO IMAGE — FULL-WIDTH, NO LETTERBOX SPACE
   The current hero image is a wide panorama. Letting the image
   use its natural aspect ratio removes the white space created
   by the former fixed 8:5 frame and object-fit: contain.
   ========================================================= */

.industries-hero-visual {
  width: 100%;
  max-width: 650px;
  justify-self: end;
  align-self: center;
  margin: 0;
  overflow: hidden;

  border: 1px solid rgba(7, 26, 43, 0.1);
  border-radius: 8px;
  background: var(--white);

  box-shadow: 0 28px 78px rgba(7, 26, 43, 0.18);
}

/*
  Do not force an 8:5 box around the panoramic source image.
  The image itself now determines the height of this frame.
*/
.industries-image-frame {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  margin: 0;
  padding: 0;
  overflow: hidden;
  line-height: 0;
  background: transparent;
}

/*
  Show the complete image at its natural aspect ratio.
  display:block also removes the small inline-image baseline gap.
*/
.industries-image-frame img {
  position: static;
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: none;
  margin: 0;
  padding: 0;

  object-fit: initial;
  object-position: center;
}
.industries-hero-note { display: grid; grid-template-columns: 150px 1fr; gap: 22px; align-items: center; padding: 23px 26px; color: var(--white); background: var(--navy-900); border-top: 2px solid var(--gold-500); }
.industries-hero-note span { color: var(--teal-400); font-size: .68rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.industries-hero-note p { margin: 0; font-family: var(--serif); font-size: 1.17rem; line-height: 1.3; }

.industry-intro { background: var(--white); }
.industry-intro-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(60px,8vw,130px); align-items: end; }
.industry-intro h2 { max-width: 820px; font-size: clamp(2.8rem,3.9vw,4.5rem); }
.industry-intro-copy p { max-width: 670px; margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.7; }
.industry-intro-copy p + p { margin-top: 18px; }

.industry-groups { background: var(--paper); }
.groups-heading { max-width: 880px; margin-bottom: 48px; }
.groups-heading h2 { font-size: clamp(2.9rem,4vw,4.6rem); }
.groups-heading > p:not(.eyebrow) { max-width: 750px; color: var(--muted); }
.industry-row-list { border-top: 1px solid var(--line); }
.industry-row { display: grid; grid-template-columns: minmax(285px,.9fr) minmax(230px,.72fr) minmax(330px,1.08fr); gap: clamp(34px,4vw,64px); align-items: start; min-height: 350px; padding: 50px 44px; border: 1px solid var(--line); border-top: 0; background: rgba(255,255,255,.88); }
.industry-row:nth-child(even) { background: linear-gradient(90deg,rgba(238,233,223,.7),rgba(255,255,255,.9)); }
.industry-row-title { min-width: 0; }
.industry-row-kicker { display: flex; gap: 14px; align-items: center; }
.industry-row-kicker span { color: var(--gold-600); font-size: .7rem; font-weight: 700; letter-spacing: .17em; }
.industry-row-kicker p { margin: 0; color: var(--teal-700); font-size: .69rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.industry-row h3 { max-width: 450px; margin: 22px 0 0; font-family: var(--serif); font-size: clamp(2.05rem,2.55vw,2.9rem); font-weight: 400; line-height: 1.07; }
.industry-summary { max-width: 450px; margin: 18px 0 0; color: var(--muted); font-size: .91rem; line-height: 1.62; }
.industry-context,.industry-support { min-width: 0; padding-top: 4px; }
.industry-context h4,.industry-support h4 { margin: 0 0 15px; color: var(--ink); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; }
.industry-context p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.66; }
.industry-support { padding-left: 34px; border-left: 1px solid var(--line); }
.industry-support ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.industry-support li { position: relative; padding-left: 18px; color: var(--muted); font-size: .88rem; line-height: 1.5; }
.industry-support li::before { content: ''; position: absolute; left: 0; top: .72em; width: 7px; height: 1px; background: var(--gold-600); }
.industry-support a { display: inline-flex; gap: 10px; margin-top: 23px; color: var(--teal-700); font-size: .87rem; font-weight: 700; }
.industry-support a:hover { color: var(--gold-600); }

.engagement-triggers { padding: 94px 0; color: var(--white); background: radial-gradient(circle at 84% 48%,rgba(85,183,194,.17),transparent 28%),linear-gradient(115deg,var(--teal-700),var(--navy-950) 72%); }
.trigger-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(60px,8vw,128px); align-items: start; }
.trigger-heading h2 { max-width: 720px; font-size: clamp(2.75rem,3.8vw,4.35rem); }
.trigger-heading > p:not(.eyebrow) { max-width: 620px; color: rgba(255,255,255,.7); }
.trigger-card-grid { display: grid; grid-template-columns: repeat(2,1fr); border-top: 1px solid rgba(255,255,255,.2); border-left: 1px solid rgba(255,255,255,.2); }
.trigger-card-grid article { min-height: 160px; padding: 24px; border-right: 1px solid rgba(255,255,255,.2); border-bottom: 1px solid rgba(255,255,255,.2); }
.trigger-card-grid span { color: var(--gold-300); font-size: .7rem; font-weight: 700; letter-spacing: .14em; }
.trigger-card-grid h3 { margin: 28px 0 8px; font-family: var(--serif); font-size: 1.32rem; font-weight: 400; }
.trigger-card-grid p { margin: 0; color: rgba(255,255,255,.75); font-size: .87rem; line-height: 1.55; }

.official-pathways { background: var(--white); }
.official-pathways-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(60px,8vw,130px); align-items: center; }
.official-pathways h2 { max-width: 690px; font-size: clamp(2.65rem,3.6vw,4.1rem); }
.official-pathways-layout > div:first-child > p:not(.eyebrow) { max-width: 620px; color: var(--muted); }
.official-link-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.official-link-grid a { position: relative; min-height: 210px; display: flex; flex-direction: column; justify-content: flex-end; padding: 27px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(248,247,243,.6); transition: background .2s ease,transform .2s ease; }
.official-link-grid a:hover { transform: translateY(-2px); background: rgba(238,233,223,.7); }
.official-link-grid span { color: var(--gold-600); font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.official-link-grid strong { margin-top: 11px; font-family: var(--serif); font-size: 1.3rem; font-weight: 400; line-height: 1.15; }
.official-link-grid p { margin: 12px 0 0; color: var(--muted); font-size: .83rem; line-height: 1.5; }
.official-link-grid i { position: absolute; right: 20px; top: 18px; color: var(--teal-700); font-style: normal; font-size: 1.15rem; }

/* =========================================================
   REGIONAL SHOWCASE
   Fixed two-column composition matching the approved mockup
   ========================================================= */

.regional-showcase.section {
  position: relative;
  overflow: hidden;
  padding: 86px 0 84px;
  background:
    radial-gradient(
      circle at 18% 46%,
      rgba(255, 255, 255, 0.96) 0%,
      rgba(255, 255, 255, 0.54) 30%,
      rgba(255, 255, 255, 0) 54%
    ),
    linear-gradient(
      180deg,
      #fbfaf7 0%,
      #f7f3eb 100%
    );
}

/*
  This section intentionally uses a wider frame than the normal page content
  so the map and narrative card match the approved mockup proportions.
*/
.regional-showcase__frame.container {
  position: relative;
  width: min(1510px, calc(100% - 48px));
  max-width: none;
  min-height: 680px;
  margin-inline: auto;
  padding-inline: 0;

  display: grid;
  grid-template-columns:
    minmax(0, 1.16fr)
    minmax(560px, 0.94fr);
  gap: 0;
  align-items: center;
}

/* =========================================================
   LEFT GEOGRAPHIC MAP
   ========================================================= */

.regional-showcase__map {
  position: relative;
  align-self: stretch;
  min-width: 0;
  min-height: 680px;
  overflow: hidden;
}

.regional-showcase__map-image {
  position: absolute;
  z-index: 0;
  top: 50%;
  left: -10%;

  display: block;
  width: 124%;
  max-width: none;
  height: auto;
  margin: 0;

  transform: translateY(-50%);
  object-fit: contain;
  object-position: center;
}

/*
  White fade at the map's right edge. The map remains readable while the
  transition into the narrative panel stays soft and uncluttered.
*/
.regional-showcase__map-fade {
  position: absolute;
  z-index: 1;
  top: 0;
  right: -1px;
  bottom: 0;
  width: 38%;

  background: linear-gradient(
    90deg,
    rgba(251, 250, 247, 0) 0%,
    rgba(251, 250, 247, 0.08) 25%,
    rgba(251, 250, 247, 0.42) 58%,
    rgba(251, 250, 247, 0.84) 84%,
    #fbfaf7 100%
  );

  pointer-events: none;
}

/* =========================================================
   RIGHT NARRATIVE PANEL
   ========================================================= */

.regional-showcase__panel {
  position: relative;
  z-index: 2;

  width: 100%;
  max-width: 720px;
  min-height: 590px;
  margin-left: -18px;
  padding: 52px 56px 48px;

  display: flex;
  flex-direction: column;
  justify-content: center;

  background: rgba(255, 255, 255, 0.97);
  border-left: 3px solid var(--gold-500);

  box-shadow:
    0 26px 72px rgba(7, 26, 43, 0.11),
    0 7px 18px rgba(7, 26, 43, 0.045);

  backdrop-filter: blur(4px);
}

.regional-showcase__eyebrow {
  margin: 0 0 22px;
  color: var(--teal-700);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  line-height: 1.4;
  text-transform: uppercase;
}

.regional-showcase__panel h2 {
  max-width: 630px;
  margin: 0;
  color: var(--navy-900);
  font-family: var(--serif);
  font-size: clamp(3.35rem, 4.15vw, 4.75rem);
  font-weight: 400;
  letter-spacing: -0.042em;
  line-height: 1.03;
}

.regional-showcase__lead {
  max-width: 610px;
  margin: 30px 0 0;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.72;
}

.regional-showcase__body {
  max-width: 610px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.72;
}

.regional-showcase__link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  margin-top: 30px;
  padding-bottom: 7px;
  color: var(--teal-700);
  border-bottom: 1px solid var(--gold-500);
  font-size: 0.94rem;
  font-weight: 700;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    gap 0.2s ease;
}

.regional-showcase__link:hover {
  gap: 18px;
  color: var(--gold-600);
  border-color: var(--gold-600);
}

.regional-showcase__link:focus-visible {
  outline: 3px solid rgba(13, 95, 108, 0.3);
  outline-offset: 5px;
}

/* =========================================================
   LARGE TABLET / SMALL DESKTOP
   ========================================================= */

@media (max-width: 1180px) {
  .regional-showcase.section {
    padding: 76px 0;
  }

  .regional-showcase__frame.container {
    width: min(1120px, calc(100% - 40px));
    min-height: 620px;
    grid-template-columns:
      minmax(0, 1.03fr)
      minmax(470px, 0.97fr);
  }

  .regional-showcase__map {
    min-height: 620px;
  }

  .regional-showcase__map-image {
    left: -14%;
    width: 132%;
  }

  .regional-showcase__panel {
    min-height: 548px;
    margin-left: -10px;
    padding: 46px 46px 44px;
  }

  .regional-showcase__panel h2 {
    font-size: clamp(3rem, 4.5vw, 4.25rem);
  }
}

/* =========================================================
   TABLET
   Map above, panel overlapping the map's lower edge
   ========================================================= */

@media (max-width: 960px) {
  .regional-showcase.section {
    padding: 46px 0 70px;
  }

  .regional-showcase__frame.container {
    display: block;
    width: min(900px, calc(100% - 36px));
    min-height: 0;
  }

  .regional-showcase__map {
    width: 100%;
    min-height: 500px;
  }

  .regional-showcase__map-image {
    top: 46%;
    left: 50%;
    width: min(1120px, 126%);
    transform: translate(-50%, -46%);
  }

  .regional-showcase__map-fade {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: auto;
    height: 42%;

    background: linear-gradient(
      180deg,
      rgba(251, 250, 247, 0) 0%,
      rgba(251, 250, 247, 0.22) 42%,
      rgba(251, 250, 247, 0.75) 78%,
      #fbfaf7 100%
    );
  }

  .regional-showcase__panel {
    width: calc(100% - 56px);
    max-width: 780px;
    min-height: 0;
    margin: -72px auto 0;
    padding: 46px 48px 44px;
  }

  .regional-showcase__panel h2 {
    max-width: 660px;
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 620px) {
  .regional-showcase.section {
    padding: 26px 0 58px;
  }

  .regional-showcase__frame.container {
    width: calc(100% - 24px);
  }

  .regional-showcase__map {
    min-height: 330px;
  }

  .regional-showcase__map-image {
    top: 43%;
    width: 148%;
    transform: translate(-50%, -43%);
  }

  .regional-showcase__panel {
    width: calc(100% - 12px);
    margin-top: -40px;
    padding: 34px 26px 32px;
    border-left-width: 2px;
  }

  .regional-showcase__eyebrow {
    margin-bottom: 18px;
    font-size: 0.66rem;
    letter-spacing: 0.18em;
  }

  .regional-showcase__panel h2 {
    font-size: clamp(2.45rem, 10.5vw, 3.25rem);
    line-height: 1.05;
  }

  .regional-showcase__headline-break {
    display: none;
  }

  .regional-showcase__lead {
    margin-top: 24px;
    font-size: 1rem;
  }

  .regional-showcase__body {
    font-size: 0.94rem;
  }

  .regional-showcase__link {
    margin-top: 25px;
  }
}

.client-fit { background: var(--white); }
.client-fit-layout { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(60px,8vw,126px); align-items: start; }
.client-fit h2 { max-width: 770px; font-size: clamp(2.8rem,3.8vw,4.45rem); }
.fit-grid { display: grid; grid-template-columns: repeat(2,1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.fit-grid article { min-height: 155px; padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fit-grid span { color: var(--gold-600); font-size: .7rem; font-weight: 700; letter-spacing: .14em; }
.fit-grid p { margin: 24px 0 0; color: var(--muted); font-size: .9rem; line-height: 1.58; }

.page-cta { padding: 90px 0; color: var(--white); background: radial-gradient(circle at 88% 50%,rgba(85,183,194,.18),transparent 26%),var(--navy-900); }
.page-cta-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: end; }
.page-cta h2 { max-width: 900px; font-size: clamp(2.9rem,4vw,4.7rem); }
.page-cta-inner > div:first-child > p:not(.eyebrow) { max-width: 700px; color: rgba(255,255,255,.72); }
.page-cta-actions { display: flex; justify-content: flex-end; gap: 14px; flex-wrap: wrap; }

@media (max-width: 1160px) {
  .industries-hero-grid,.industry-intro-grid,.trigger-layout,.official-pathways-layout,.client-fit-layout,.page-cta-inner { grid-template-columns: 1fr; }
  .industries-hero-visual { max-width: 740px; justify-self: start; }
  .industry-row { grid-template-columns: minmax(260px,.88fr) minmax(0,1.12fr); }
  .industry-context { grid-column: 2; }
  .industry-support { grid-column: 2; padding-left: 0; padding-top: 22px; border-left: 0; border-top: 1px solid var(--line); }
  .official-link-grid { max-width: 900px; }
  .page-cta-actions { justify-content: flex-start; }
}

@media (max-width: 760px) {
  .industries-hero { padding: 130px 0 76px; }

  .industries-hero-visual {
    width: 100%;
    max-width: 100%;
  }

  .industries-image-frame img {
    width: 100%;
    height: auto;
  }
  .industries-hero h1 { font-size: clamp(3rem,12.5vw,4.2rem); }
  .industries-hero-actions,.page-cta-actions { flex-direction: column; }
  .industries-hero-actions .button,.page-cta-actions .button { width: 100%; }
  .industries-hero-note { grid-template-columns: 1fr; gap: 10px; }
  .industry-row { grid-template-columns: 1fr; gap: 24px; padding: 38px 24px; }
  .industry-context,.industry-support { grid-column: auto; }
  .industry-support { padding-top: 20px; border-top: 1px solid var(--line); }
  .trigger-card-grid,.official-link-grid,.fit-grid { grid-template-columns: 1fr; }
  .page-cta-inner { gap: 34px; }
}
