:root {
  /* ----------------------------------------------------
	/* Colours */
  /* Pages */
  --col-bg: var(--col-white);
  --col-bg-light: #f6f9fc;
  --col-bg-nav: var(--col-white);
  --col-bg-grey: #f6f6f6;
  --col-bg-hero: #041128;
  --col-primary: #ff642a;
  --col-secondary: #344176;
  --col-dark-grey: #3c4357;
  --col-light-grey: #c7c7c7;
  --col-dark-blue: #0a2540;
  --col-dark-orange: #c93a00;
  --col-white: #fff;

  --col-orange-wash-1: #ffefea;
  --col-orange-wash-2: #fffaf9;
  --col-blue-wash-1: #eef3ff;

  /* Text */
  --col-menu-txt: #273340;
  --col-muted: #67727d;
  /* Notifications */
  --col-ok: #7bd88f;
  --col-bad: #ff6b6b;
  /* Lines */
  --col-line: #1f2b52;
  --col-border-cards: #e3e8ee;

  /* Gradients */
  --grad-orange: linear-gradient(45deg, #ff642a, #c93a00);
  --grad-blue: linear-gradient(90deg, #091234, #162150);

  /* ----------------------------------------------------
	/* TYPOGRAPHY TOKENS */
  --font-sans: "Roboto";

  /* Special Text */
  --hero-head-txt: 300 60px/70px var(--font-sans);
  --hero-body-txt: 300 18px/28px var(--font-sans);

  /* Headings */
  --h1-font: 300 60px/1.16667 var(--font-sans);
  --h2-font: 500 42px/1.16667 var(--font-sans);
  --h3-font: 400 24px/1 var(--font-sans);
  --h4-font: 400 20px/1.2 var(--font-sans);
  --h5-font: 400 18px/1.5556 var(--font-sans);

  /* Body */
  --body-font: 400 15px/22px var(--font-sans);
  --list-font: 400 16px var(--font-sans);

  /* Tracking amounts */
  --tracking--035: -0.35px;
  --tracking-100: 1px;
  --tracking-015: 0.15px;
  --tracking-020: 0.2px;
  --tracking-040: 0.4px;
  --tracking-050: 0.5px;

  /* Cards */
  --card-header-font: 500 18px/28px var(--font-sans);
  --trackin-0-2: 0.2px;

  --card-sub-font: 500 12px/24px var(--font-sans);
  --card-sub-track: 0.4px;

  --card-body-font: 400 14px/22px var(--font-sans);

  /* ----------------------------------------------------
	/* Client Carousel - Easy knobs */
  --ticker-speed: 50s;
  /* lower = faster, e.g., 40s or 30s */
  --logo-gap: 12px;
  --logo-size: 200px;
  --feather-width: 96px;
  /* adjust fade width */
  --feather-color: #fff;

  /* ----------------------------------------------------
	/* Image dots for larger screens */
  --dots-size: 1px;
  --dots-gap: 12px;
  --dots-color-dark: rgba(255, 255, 255, 0.04);
  --dots-color-light: rgba(0, 0, 0, 0.04);

  /* ----------------------------------------------------
	/* Pillar SVG height and width */
  --pillar-h: 196px;
}

/* ELEMENT MAPPINGS */
:where(h1),
.h1 {
  font: var(--h1-font);
  letter-spacing: var(--tracking-100);
  margin: 0;
}

:where(h2),
.h2 {
  font: var(--h2-font);
  letter-spacing: var(--tracking--035);
  margin: 0;
}

:where(h3),
.h3 {
  font: var(--h3-font);
  letter-spacing: var(--tracking-020);
  margin: 0;
}

:where(h4),
.h4 {
  font: var(--h4-font);
  line-height: 1.5;
  margin: 0;
}

:where(h5),
.h5 {
  font: var(--h5-font);
  letter-spacing: var(--tracking-040);
  margin: 0;
}

@media (max-width: 768px) {
  :where(h1),
  .h1 {
    font-size: 52px;
  }

  :where(h2),
  .h2 {
    font-size: 36px;
  }
}

@media (max-width: 512px) {
  :where(h1),
  .h1 {
    font-size: 42px;
  }

  :where(h2),
  .h2 {
    font-size: 28px;
  }
}

:where(p) {
  font: var(--body-font);
  margin: 0;
}

:where(ul) {
  list-style-type: disc;
  margin-block-start: 8px;
  margin-block-end: 0;
  padding-inline-start: 24px;
}

:where(li) {
  font: var(--list-font);
  line-height: 1.6;
  padding-left: 8px;
  margin: 0;
}

li::marker {
  color: var(--col-primary);
  /* Color for the bullet point only */
}

:where(small) {
  font: 400 12px/18px var(--font-sans);
  margin: 0;
}

.highlight {
  text-decoration: underline;
  text-underline-offset: 0.5em;
  text-decoration-color: var(--col-primary);
  text-decoration-thickness: 3px;
}

/* ------------------------------------------------------------------------------
/* GENERAL STYLING */

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  overscroll-behavior: none;
}

body {
  margin: 0;
  font-family: "Roboto";
  padding-top: calc(var(--nav-offset) + env(safe-area-inset-top, 0px));
  background: var(--col-bg);
}

.card-link {
  text-decoration: none;
}

.section {
  width: 100%;
  margin: 0;
  padding: 0;
}

.container {
  width: 1140px;
  max-width: 100%;
  padding-inline: 1.5rem;
  margin: 0 auto;
}

.bg-grey {
  background-color: var(--col-bg-grey);
}

.bg-blue {
  background-color: var(--col-bg-light);
}

.bg-orange {
  background-color: var(--col-orange-wash-2);
}

/* ------------------------------------------------------------------ 
/* ------ 404 Error Styles ------ */

.error-404-hero {
  background: var(--grad-blue);
  min-height: 546px;
  padding: 200px 24px 96px;
  margin-top: -100px;
}

.error-404-header {
  color: var(--col-white);
}

.error-404-header h1 {
  color: var(--col-orange-wash-2);
  font-size: 52px;
}

.error-404-header h2 {
  color: var(--col-primary);
  padding-bottom: 42px;
  font-size: 42px;
}

.error-404-links {
  margin: 0 48px;
}
.error-404-links h3 {
  margin: 63px 0 36px;
  font-size: 28px;
  color: var(--col-secondary);
}
.error-404-links h5 {
  font-size: 18px;
  color: var(--col-secondary);
}

/* ------------------------------------------------------------------ 
/* ------ Cards and Feature Cards ------ */

.feature-cards {
  --column-count: 3;
  --image-height: 212px;
  display: grid;
  grid-template-columns: repeat(var(--column-count), 1fr);
  justify-content: center;
  margin: 48px 0;
  gap: 24px;
}

.training-cards {
  --column-count: 4;
  --image-height: 150px;
}

.feature-card-container {
  container-type: inline-size;
  height: 100%;
}

.feature-card {
  height: 100%;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-align: left;
  border-radius: 10px;
  background-color: #fff;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.05),
    0 8px 32px rgba(17, 122, 255, 0.05);
}

.feature-card-image {
  min-height: var(--image-height);
  background-size: cover;
  background-position: center;
}

.feature-card-text {
  padding: 24px 30px;
  flex: auto;
}

.feature-card--title {
  color: var(--col-dark-blue);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0px;
  text-transform: uppercase;
}

.feature-card p {
  padding-top: 12px;
  font-size: 13px;
  font-weight: 400;
  line-height: 18px;
  color: #5f5f5d;
  line-clamp: 6;
  -webkit-line-clamp: 6;
}

@media (max-width: 1024px) {
  .feature-cards {
    --column-count: 1;
    flex-direction: column;
    padding-inline: 8px;
  }

  .feature-card-image {
    flex-basis: 30vw;
    min-width: 30vw;
  }
}

@container (min-width: 512px) {
  .feature-card {
    flex-direction: row;
  }
}

.team-cards {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(214px, 100%), 1fr));
  column-gap: 1rem;
  row-gap: 4rem;
}

.team-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-wrap: pretty;
}

.team-card-headshot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 124px;
  height: 124px;
}

.team-card-headshot img {
  width: 100%;
  border-radius: 50%;
}

.team-card h3 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.15px;
  line-height: 18px;
  padding-top: 24px;
  color: var(--col-secondary);
}

.team-card h4 {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 11px;
  padding-top: 9px;
  color: var(--col-primary);
}

.team-card h5 {
  font-size: 15px;
  line-height: 1.5;
  padding-top: 9px;
  color: var(--col-secondary);
}

.card-social {
  display: flex;
  margin-top: 16px;
  gap: 6px;
}

.card-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background-color: var(--col-light-grey);
  border-radius: 6px;
  transition: background-color 0.3s ease-in-out;
}

.card-social-icon:hover {
  background-color: var(--col-primary);
}

.card-social-icon img {
  width: 18px;
}

/* ------ Page Titles  ------ */
.pg-title-2 small {
  color: var(--col-primary);
  font-weight: 600;
  padding-bottom: 18px;
}

.pg-title-2 h2 {
  font-weight: 600;
  line-height: 1.75;
  text-wrap: balance;
}

.pg-title-2 p {
  padding-top: 20px;
  width: 600px;
}

/* ------ ICONS  ------ */

.icons {
  width: 24px;
  height: 24px;
}

.card__open {
  position: absolute;
  right: 12px;
  bottom: 12px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

/* reveal on hover & keyboard focus */
.card:hover .card__open,
.card:focus-within .card__open,
.card:focus-visible .card__open {
  opacity: 1;
}

/* ------------------------------------------------------------------ 
/* ------ Main Display  ------ */

.display {
  position: relative;
  padding-top: 96px;
  overflow: hidden;
  text-align: center;
  color: var(--col-white);
  background-color: var(--col-bg-hero);
}

/* ------ Background video (fills the section, content centered) ------ */
.display .bg-video,
.display img {
  position: absolute;
  top: 50px;
  left: 0;
  right: 0;
  margin-inline: auto;
  margin-top: auto;
  max-width: 100%;
  height: 100%;
  min-height: 100%;
  object-position: center center;
  object-fit: cover;
  z-index: 0;
  will-change: transform;
  opacity: 1;
}

.display img {
  --img-opacity-duration: 0.3s;
  opacity: 0;
  transition: opacity var(--img-opacity-duration) ease-in-out;
}

.display img.visible {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .display img {
    --img-opacity-duration: 0s;
    opacity: 1;
  }
}

.display .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: 1fr var(--pillar-h);
  justify-items: center;
  align-items: start;
}

.hero-copy {
  width: 100%;
  display: grid;
  justify-items: center;
}

.display h1 {
  max-width: 700px;
  color: var(--col-white);
  justify-self: center;
  margin: 0;
  text-wrap: balance;
}

.display h5 {
  max-width: 740px;
  font: var(--hero-body-txt);
  letter-spacing: 0.45px;
  color: var(--text);
  justify-self: center;
  margin: 0;
  margin-bottom: 2rem;
  padding-top: 52px;
}

/* ------------------------------------------------------------------ 
/* ------ Services Section ------ */

.services {
  text-align: center;
  align-items: center;
  color: var(--col-secondary);
  /* TODO: If we want uniform height, we need to render all tab panels, rather
  than using JS to inject different content. */
  /* height: 274px; */
  margin-bottom: 90px;
  padding: 0;
}

.services p {
  width: 850px;
  max-width: 100%;
  font-size: 15px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0.5px;
  color: var(--text);
  justify-self: center;
  margin: 0;
  padding-top: 42px;
  padding-bottom: 30px;
  text-wrap: balance;
}

.action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  width: 250px;
  height: 40px;
  background-color: var(--col-primary);
  color: var(--col-white);
  text-decoration: none;
}

.action-button span {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 1.25px;
}

/* ------------------------------------------------------------------ 
/* ------ Image-based pillar icons ------ */

@media (max-width: 768px) {
  :root {
    --pillar-h: 150px;
  }
}

@media (max-width: 512px) {
  :root {
    --pillar-h: 120px;
  }
}

:root {
  --bp-transition-duration: 0.3s;
}

.five-pillars {
  height: var(--pillar-h);
  display: flex;
  position: relative;
  width: 100%;
}

.pillar {
  flex: 20%;
  cursor: pointer;
  padding: 0;
  margin: 0;
  background-color: transparent;
  border-radius: 6px;
  border: none;
  outline: none;
  overflow: hidden;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;

  transition: filter var(--bp-transition-duration) ease;
}

.pillar span {
  flex: none;
}

.pillar .pillar__icon {
  width: 100%;
  max-width: 160px;
  aspect-ratio: 0.825;
  background-size: 600%;
  background-repeat: no-repeat;
  background-position: 0% 0%;

  transition: background-position var(--bp-transition-duration) steps(5);
}

.pillar.no-exit-transition:not(.active) .pillar__icon {
  --bp-transition-duration: 0s;
}

.pillar.active {
  filter: brightness(0) invert(1);
}

.pillar.active .pillar__icon {
  background-position: 100% 0%;
}

.pillar:focus-visible {
  outline: 2px solid var(--col-dark-orange);
  outline-offset: -4px;
}

.pillar:where(:hover, :focus-visible) {
  transform: translateY(-1px) scale(1.025);
}

.pillar-indicator {
  position: absolute;
  bottom: 0;
  left: 0;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid var(--col-white);
  transition: left var(--bp-transition-duration) ease-in-out;
  pointer-events: none;
  will-change: left;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --bp-transition-duration: 0s;
  }

  .pillar.active .pillar__icon {
    background-position: 0% 0% !important;
  }

  .pillar:where(:hover, :focus-visible) {
    transform: none;
  }
}

/* ------ Accessibility: reduce animation if requested ------ */
@media (prefers-reduced-motion: reduce) {
  .display .bg-video {
    transform: none !important;
  }

  .display .bg-video {
    display: none;
  }
}

/* ------------------------------------------------------------------ 
/* ------ EnergyPlus section styles ------ */
.energyplus-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 56px 0;
}

@media (min-width: 768px) {
  .energyplus-content {
    flex-direction: row;
  }
}

.energyplus-content img {
  width: 350px;
  max-width: 100%;
  padding: 0 56px;
}

.energyplus-txt {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0 63px 24px;
  color: var(--col-dark-blue);
  border-left: 2px solid var(--col-border-cards);
  word-break: break-word;
}

.energyplus-title {
  letter-spacing: 0.5px;
  line-height: 2;
  text-wrap: balance;
}

/* ------------------------------------------------------------------ 
/* ------ Mission section styles ------ */
.mission {
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--col-secondary);
  padding: 72px 0;
  background-color: var(--col-bg);
}

.mission h1 {
  text-wrap: balance;
}

/* ------------------------------------------------------------------ 
/* ------ Clients Section ------ */

.clients-quote {
  display: flex;
  /* Layered backgrounds: ladder SVG (top, fixed) + gradient (bottom) */
  background-image: url("/images-v2/big-ladder.svg"), var(--grad-orange);
  background-repeat: no-repeat, no-repeat;
  background-position: center, center;
  background-size:
    auto 1290px,
    cover;
  background-attachment: fixed, scroll;
  /* ladder stays static relative to viewport */
  height: 430px;
}

.bg-orange-grad {
  background: linear-gradient(45deg, #ff642a, #c93a00);
  background: var(--grad-orange);
}

.clients-quote .container {
  display: grid;
  place-items: center;
  min-height: 430px;
}

.clients-quote-txt {
  margin-inline: auto;
  text-align: center;
  color: var(--col-white);
  display: grid;
  gap: 8px;
}

.clients-quote-txt h2 {
  margin-bottom: 20px;
}

.clients-quote-description {
  width: 700px;
  max-width: 100%;
  justify-self: center;
  width: min(100%, 700px);
}

/* CAROUSEL */

.clients-list h4 {
  margin: 0;
  padding-top: 80px;
  justify-self: center;
  color: var(--col-muted);
}

/* Container keeps heading + ticker stacked */
.section.clients-list .container {
  gap: 16px;
  align-items: start;
  min-height: 430px;
}

/* The viewport that hides overflow */
.logos-viewport {
  overflow: hidden;
  width: 100%;
  position: relative;
  transform: translateY(-4px);
}

/* Feathered white edges */
.logos-viewport::before,
.logos-viewport::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: var(--feather-width);
  pointer-events: none;
  z-index: 2;
}

.logos-viewport::before {
  left: 0;
  background: linear-gradient(
    to right,
    var(--feather-color),
    rgba(255, 255, 255, 0)
  );
}

.logos-viewport::after {
  right: 0;
  background: linear-gradient(
    to left,
    var(--feather-color),
    rgba(255, 255, 255, 0)
  );
}

/* The moving track (sequence is duplicated once in PHP) */
.logos-track {
  display: flex;
  align-items: center;
  gap: var(--logo-gap);
  width: max-content;
  /* shrink-wrap to content so -50% equals exactly one sequence */
  animation: ticker var(--ticker-speed) linear infinite;
  will-change: transform;
}

/* Pause on hover */
.logos-viewport:hover .logos-track {
  animation-play-state: paused;
}

/* Each logo item occupies a fixed square; image scales to fit */
.logo-item {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--logo-size);
  height: var(--logo-size);
}

.logo-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: grayscale(100%);
  transition: filter 500ms ease;
}

.logo-item:hover img,
.logo-item:focus-within img {
  filter: none;
  opacity: 1;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }

  /* because we output the list twice */
}

/* Respect user motion preferences */
@media (prefers-reduced-motion: reduce) {
  .logos-track {
    animation: none;
  }
}

/* Responsive tweaks (keep the same precise sizing) */
@media (max-width: 768px) {
  :root {
    --logo-gap: 12px;
    --logo-size: 200px;
  }
}

/* ------------------------------------------------------------------ 
/* ------ Training Philosophy section styles ------ */
.training-areas {
  text-align: center;
  padding-block: 72px;
}

.training-subtitle {
  justify-self: center;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.4px;
  line-height: 28px;
  padding-top: 20px;
  color: #5f5f5d;
}

.training-bg-1 {
  background-image: url("/images-v2/training-01.jpg");
}

.training-bg-2 {
  background-image: url("/images-v2/training-02.jpg");
}

.training-bg-3 {
  background-image: url("/images-v2/training-03.jpg");
}

.training-bg-4 {
  background-image: url("/images-v2/training-04.jpg");
}

.workshop-list {
  padding-block: 56px;
}

.training-groups {
  display: flex;
}

.training-group-info {
  display: flex;
  align-items: center;
}

.training-group-logo {
  display: flex;
  width: 150px;
  justify-content: center;
}

.training-group-logo img {
  max-width: 80px;
  max-height: 64px;
}

@media (max-width: 768px) {
  .training-group-logo {
    justify-content: flex-end;
    width: 84px;
    padding-inline-end: 1rem;
  }
}

.training-group-bracket {
  --curly-bracket-thickness: 0.25rem;
  --curly-bracket-color: var(--col-primary);
  width: calc(8 * var(--curly-bracket-thickness));
  position: relative;
  flex: none;
}

.training-group-bracket div {
  width: calc(4 * var(--curly-bracket-thickness));
  height: calc(4 * var(--curly-bracket-thickness));
  position: absolute;
}

.training-group-bracket div:nth-child(1) {
  top: 0;
  left: 0;
  margin-left: calc(3 * var(--curly-bracket-thickness));
  width: calc(50% + var(--curly-bracket-thickness));
  height: calc(50% - 3.5 * var(--curly-bracket-thickness));
  background-color: transparent;
  border-top: var(--curly-bracket-thickness) solid var(--curly-bracket-color);
  border-left: var(--curly-bracket-thickness) solid var(--curly-bracket-color);
  border-top-left-radius: calc(4 * var(--curly-bracket-thickness))
    calc(5 * var(--curly-bracket-thickness));
}

.training-group-bracket div:nth-child(2) {
  top: calc(50% - 3.5 * var(--curly-bracket-thickness));
  left: 0;
  background-color: transparent;
  border-bottom: var(--curly-bracket-thickness) solid var(--curly-bracket-color);
  border-right: var(--curly-bracket-thickness) solid var(--curly-bracket-color);
  border-bottom-right-radius: calc(4 * var(--curly-bracket-thickness))
    calc(5 * var(--curly-bracket-thickness));
}

.training-group-bracket div:nth-child(3) {
  top: calc(50% - 0.5 * var(--curly-bracket-thickness));
  left: 0;
  background-color: transparent;
  border-top: var(--curly-bracket-thickness) solid var(--curly-bracket-color);
  border-right: var(--curly-bracket-thickness) solid var(--curly-bracket-color);
  border-top-right-radius: calc(4 * var(--curly-bracket-thickness))
    calc(5 * var(--curly-bracket-thickness));
}

.training-group-bracket div:nth-child(4) {
  bottom: 0;
  left: 0;
  margin-left: calc(3 * var(--curly-bracket-thickness));
  width: calc(50% + var(--curly-bracket-thickness));
  height: calc(50% - 3.5 * var(--curly-bracket-thickness));
  background-color: transparent;
  border-bottom: var(--curly-bracket-thickness) solid var(--curly-bracket-color);
  border-left: var(--curly-bracket-thickness) solid var(--curly-bracket-color);
  border-bottom-left-radius: calc(4 * var(--curly-bracket-thickness))
    calc(5 * var(--curly-bracket-thickness));
}

.training-workshop-group {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 36px;
}

.training-workshop-list {
  display: flex;
  flex-direction: column;
  gap: 42px;
  padding-bottom: 36px;
}

.training-list-title {
  text-align: left;
  font-size: 28px;
  padding-bottom: 32px;
}

.training-workshop {
  display: flex;
  flex-direction: column;
  text-align: left;
  padding-inline: 24px;
  gap: 8px;
}

@media (max-width: 768px) {
  .training-workshop {
    padding-inline-end: 0;
  }
}

.training-workshop h1 {
  color: var(--col-primary);
  font-weight: 400;
}

.training-workshop h3 {
  color: var(--col-dark-blue);
  font-size: 22px;
  font-weight: 500;
}

.training-workshop p {
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
  color: var(--col-dark-grey);
}

.philosophy {
  text-align: center;
  padding-top: 72px;
  padding-bottom: 110px;
}

.philosophy-title {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 1px;
  line-height: 2;
  text-transform: uppercase;
  text-align: center;
  margin: 0 0 8px;
  text-wrap: balance;
}

.philosophy-subtitle {
  justify-self: center;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.4px;
  line-height: 28px;
  padding-top: 20px;
  color: #5f5f5d;
  text-wrap: balance;
}

.philosophy-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-content: center;
  margin-top: 48px;
  padding: 0 30px;
  gap: 20px;
}

.philosophy-card {
  overflow: hidden;
  background-color: white;
  position: relative;
  isolation: isolate;
  text-align: left;
  padding: 34px;
  border-radius: 12px;
}

.philosophy-card-title {
  color: var(--col-dark-blue);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.67px;
  text-transform: uppercase;
  padding-top: 100px;
}

.philosophy-card p {
  padding-top: 12px;
  font-size: 13px;
  font-weight: 400;
  line-height: 18px;
  color: #5f5f5d;
  line-clamp: 6;
  -webkit-line-clamp: 6;
}

.philosophy-card::before {
  content: attr(data-number);
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  color: var(--col-orange-wash-1);
  transition: color 0.25s ease-in-out;
  /* opacity: 0.1; */
  font-size: 10.5rem;
  font-weight: bold;
  z-index: -1;
  translate: -17% -30%;
}

.philosophy-card:hover::before {
  color: #fee2dd;
}

@media (max-width: 768px) {
  .philosophy-cards {
    grid-template-columns: 1fr;
  }

  .philosophy-card-title {
    padding-top: 0;
    padding-left: 140px;
  }

  .philosophy-card p {
    padding-left: 140px;
  }
}

/* ------------------------------------------------------------------ 
/* ------ DOTS OVERLAY ------*/
.with-dots {
  position: relative;
}

.with-dots::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: radial-gradient(
    var(--dots-color-dark) var(--dots-size),
    transparent var(--dots-size)
  );
  background-size: var(--dots-gap) var(--dots-gap);
}

.with-dots > .container {
  position: relative;
  z-index: 1;
}

/* keeps text above dots */
/* Light variant */
.with-dots.is-light::after {
  background-image: radial-gradient(
    var(--dots-color-light) var(--dots-size),
    transparent var(--dots-size)
  );
}

@media (max-width: 640px) {
  .with-dots::after {
    display: none;
  }
}

/* ------------------------------------------------------------------ 
/* ------------------------------------------------------------------
   Footer section styles
------------------------------------------------------------------- */

.footer {
  display: block;
  /* section wrapper */
}

/* Layout: grid for better responsiveness */
.footer-content {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  min-height: 320px;
  /* was fixed height; allow content to grow */
}

/* Stack at smaller widths */
@media (max-width: 900px) {
  .footer-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .footer-content {
    grid-template-columns: 1fr;
  }
}

.footer-block {
  padding-top: 50px;
  /* remove fixed width; let grid control sizing */
}

.footer-block h5 {
  text-transform: uppercase;
  color: var(--col-muted);
}

.footer-block p {
  color: var(--col-muted);
  line-height: 24px;
  margin: 0;
  /* tighten default p spacing in footer */
}

/* ---------------------------------------------------------------
   Lists (Software / Navigate)
---------------------------------------------------------------- */
.foot-software-links,
.foot-nav-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.foot-software-links {
  padding-top: 24px;
}

.foot-software-links li {
  padding-bottom: 6px;
}

.foot-nav-links {
  padding-top: 24px;
  column-count: 2;
  column-gap: 0;
  margin-right: 100px;
}

@media (max-width: 900px) {
  .foot-nav-links {
    column-count: 1;
    margin-right: 0;
  }
}

.foot-nav-links li {
  padding-bottom: 20px;
  break-inside: avoid;
}

.footer-block li {
  font-size: 15px;
  font-weight: 400;
  color: var(--col-primary);
}

/* Footer links */
.footer-block a {
  text-decoration: none;
  color: var(--col-primary);
  position: relative;
  display: inline-block;
}

/* Inline links */
.inline-links a,
.inline-links a:visited {
  position: relative;
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  color: inherit;
}

/* Animated underline from center (links never wrap) */
.foot-software-links a::after,
.foot-nav-links a::after,
.foot-txt-1-line a::after,
.foot-txt-2-line a::after,
.inline-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 200ms ease;
}

.foot-software-links a:hover::after,
.foot-nav-links a:hover::after,
.foot-txt-1-line a:hover::after,
.foot-txt-2-line a:hover::after,
.foot-software-links a:focus-visible::after,
.inline-links a:hover::after,
.foot-nav-links a:focus-visible::after,
.foot-txt-1-line a:focus-visible::after,
.foot-txt-2-line a:focus-visible::after {
  transform: translateX(-50%) scaleX(1);
}

/* Keyboard focus ring */
.footer-block a:focus-visible {
  outline: 2px solid var(--col-accent, #4c9ffe);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ---------------------------------------------------------------
   Contact rows (email / phone / address)
---------------------------------------------------------------- */
.foot-contact-links {
  padding-top: 24px;
}

/* icons in contact rows (not social) */
.foot-txt-1-line .footer-connect-icon,
.foot-txt-2-line .footer-connect-icon {
  padding-right: 12px;
  opacity: 0.33;
}

.foot-txt-1-line {
  display: flex;
  align-items: center;
  line-height: 24px;
  padding-bottom: 12px;
}

.foot-txt-1-line a {
  color: var(--col-muted);
}

.foot-txt-2-line {
  display: flex;
  align-items: flex-start;
  line-height: 24px;
  padding-bottom: 12px;
}

/* ---------------------------------------------------------------
   Social chips
---------------------------------------------------------------- */
.foot-social-media {
  display: flex;
  gap: 16px;
  padding-top: 14px;
  align-items: center;
}

.social-chip {
  width: 36px;
  height: 36px;
  padding: 6px;
  background-color: var(--col-muted);
  border-radius: 4px;
  box-sizing: border-box;
  transition: background-color 160ms ease;
}

.social-chip:hover {
  background-color: var(--col-primary);
}

/* social icon image (no right padding) */
.social-chip .footer-connect-icon {
  padding: 0;
  width: 24px;
  height: 24px;
  display: block;
  opacity: 1;
}

/* ---------------------------------------------------------------
   Legal
---------------------------------------------------------------- */
.footer-legal {
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
  color: var(--col-muted);
  justify-self: center;
  padding: 30px 0 36px;
}

#footer-legal,
#footer-update {
  margin: 0.125rem 0;
}

/* ---------------------------------------------------------------
   Motion preferences
---------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .social-chip,
  .foot-software-links a::after,
  .foot-nav-links a::after,
  .foot-txt-1-line a::after,
  .foot-txt-2-line a::after {
    transition: none;
  }
}

/* ---------------------------------------------------------------
   Motion preferences
---------------------------------------------------------------- */

/* ------ Hero Image Section ------ */

.hero-bg {
  background-color: var(--col-bg-hero);
  padding: 0;
}

.hero-image {
  display: flex;
  flex-direction: column;
  color: var(--col-white);
  width: 1140px;
  max-width: 100%;
  justify-content: center;
  gap: 20px;
  padding: 2.5rem 1rem;
}

.hero-txt-center {
  text-align: center;
  align-items: center;
}

.hero-txt-left {
  text-align: left;
  align-items: start;
  padding-left: 72px;
}

.hero-software {
  background: url(/images-v2/hero-software.png) no-repeat center center;
  background-size: cover;
  min-height: 300px;
}

@media (max-width: 512px) {
  .hero-software {
    display: none;
  }
}

.hero-app {
  background: url(/images-v2/hero-software.png) no-repeat center center;
  background-size: cover;
  height: 200px;
  align-content: center;
}

.hero-training {
  background: url(/images-v2/hero-training.png) no-repeat center center;
  background-size: cover;
  min-height: 450px;
}

.hero-support {
  background: url(/images-v2/hero-training.png) no-repeat center center;
  background-size: cover;
  min-height: 450px;
}

.hero-resources {
  background: url(/images-v2/hero-resources.png) no-repeat center center;
  background-size: cover;
  min-height: 300px;
}

.hero-consulting {
  background: url(/images-v2/hero-consulting.png) no-repeat center center;
  background-size: cover;
  min-height: 450px;
}

.hero-about {
  background: url(/images-v2/hero-about.png) no-repeat center center;
  background-size: cover;
  min-height: 450px;
  padding-top: 120px;
}

.app-text {
  display: flex;
  color: var(--col-white);
  column-gap: 12px;
  flex-wrap: wrap;
}

.app-text h1 {
  width: auto;
  font-weight: 300;
  line-height: 1.4;
}

.app-text a {
  text-decoration: none;
  color: var(--col-white);
}

.hero-image h1 {
  max-width: 842px;
  font-weight: 300;
  text-wrap: balance;
}

.hero-image h5 {
  max-width: 820px;
  text-wrap: balance;
  font-weight: 300;
}

/* ---- Hero Support----- */
.hero-image-support {
  display: flex;
  column-gap: 1rem;
  row-gap: 2rem;
  text-align: left;
  align-items: center;
  color: var(--col-white);
  min-height: 450px;
  width: 1140px;
  max-width: 100%;
  background: url(/images-v2/hero-support.png) no-repeat center center;
  background-size: cover;
  z-index: 0;
  padding-block: 2.5rem;
  justify-content: space-between;
  text-wrap: balance;
}

@media (max-width: 1024px) {
  .hero-image-support {
    flex-wrap: wrap;
  }
}

.hero-image-support h5 {
  padding-top: 16px;
  font-weight: 300;
}

.support-chip-logo {
  display: flex;
  width: 50px;
  height: 50px;
  background-color: var(--col-white);
  border-radius: 25px;
  justify-content: center;
  align-items: center;
}

.support-chip-logo img {
  width: 32px;
  height: auto;
}

/* ---------------------------------------------------------------
	Consulting section styles
---------------------------------------------------------------- */
.consulting-what {
  max-width: 900px;
}

.consulting-title {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.5px;
  line-height: 2;
  text-transform: uppercase;
  text-align: center;
  margin: 0 0 8px;
  text-wrap: balance;
}

.consult-bg-1 {
  background-image: url("/images-v2/consult-bg-01.png");
}

.consult-bg-2 {
  background-image: url("/images-v2/consult-bg-02.png");
}

.consult-bg-3 {
  background-image: url("/images-v2/consult-bg-03.png");
}

.approach-block {
  display: flex;
  padding-block: 52px;
  justify-content: space-between;
}

.approach-title {
  color: var(--col-bg-hero);
  padding-block: 36px;
}

.approach-title h2 {
  font-weight: 600;
}

.approach-title p {
  padding-top: 16px;
}

.approach-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.approach-card {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas: "icon" "title" "text";
  align-items: center;
  text-align: center;
  max-width: 265px;
  padding: 12px;
  color: var(--col-muted);
}

.approach-card-icon {
  justify-self: center;
  grid-area: icon;
  display: flex;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: var(--col-orange-wash-1);
  align-items: center;
  justify-content: center;
}

.approach-card-icon img {
  width: 36px;
  height: 36px;
}

.approach-card h5 {
  grid-area: title;
  font-weight: 600;
  padding: 16px 0 6px;
}

.approach-card small {
  grid-area: text;
  line-height: 16px;
}

@media (max-width: 1024px) {
  .approach-block {
    flex-direction: column;
  }

  .approach-rail {
    grid-template-columns: 1fr;
  }

  .approach-card {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "icon title"
      "null text";
    text-align: start;
    max-width: 512px;
    column-gap: 1rem;
    row-gap: 0.25rem;
    margin-inline: auto;
  }

  .approach-card-icon {
    justify-self: flex-start;
    align-self: flex-start;
  }

  .approach-card h5 {
    padding: 0;
  }
}

.centered {
  justify-content: center;
}

/* ---------------------------------------------------------------
	About section styles
---------------------------------------------------------------- */

.about-team {
  padding-top: 24px;
  padding-bottom: 56px;
  border-bottom: 2px solid var(--col-border-cards);
}

.about-team-header {
  display: flex;
  flex-direction: column;
  gap: 36px;
  text-align: center;
  color: var(--col-dark-blue);
  padding: 48px;
}

.about-text-block {
  display: flex;
  justify-content: center;
  text-align: center;
  padding: 32px 0 120px;
  color: var(--col-dark-blue);
}

.about-text-block h4 {
  line-height: 32px;
  width: 720px;
}

.about-hist-block {
  display: flex;
  text-align: left;
  height: 290px;
  background: url(/images-v2/2009.svg) no-repeat left top;
  color: var(--col-dark-blue);
  padding: 36px;
  align-items: center;
  justify-content: flex-end;
  background-size: contain;
}

.about-hist-block p {
  width: 495px;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

.about-do-block {
  padding-block: 52px;
}

.about-do-title {
  padding-left: 32px;
  color: var(--col-bg-hero);
}

.about-do-title h2 {
  font-weight: 600;
}

.about-do-title p {
  padding-top: 16px;
}

.about-do-rail {
  display: flex;
  padding-top: 36px;
  justify-content: space-evenly;
  flex-wrap: wrap;
}

.about-do-card {
  padding: 12px;
  color: var(--col-muted);
  flex: auto;
  flex-basis: 100%;
}

@media (min-width: 512px) {
  .about-do-card {
    flex-basis: 50%;
  }
}

@media (min-width: 768px) {
  .about-do-card {
    flex-basis: 33%;
  }
}

@media (min-width: 1139px) {
  .about-do-card {
    flex-basis: 0%;
  }
}

.about-do-card-icon {
  display: flex;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: var(--col-orange-wash-1);
  align-items: center;
  justify-content: center;
}

.about-do-card-icon img {
  width: 36px;
  height: 36px;
}

.about-do-card h5 {
  font-weight: 600;
  padding: 16px 0 3px;
}

.about-do-card p {
  font-size: 12px;
  line-height: 16px;
  max-width: 218px;
  text-wrap: pretty;
}

@media (max-width: 511px) {
  .about-do-card p {
    max-width: 50ch;
  }
}

.about-join {
  display: flex;
  justify-content: space-between;
  padding: 64px;
  gap: 1rem;
}

@media (max-width: 896px) {
  .about-join {
    flex-direction: column-reverse;
  }
}

.about-join-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--col-bg-hero);
}

.about-join-title small {
  color: var(--col-primary);
  font-weight: 600;
  padding-bottom: 18px;
}

.about-join-title h2 {
  font-weight: 600;
  line-height: 1.75;
}

.about-join-title p {
  padding-top: 20px;
  max-width: 600px;
}

.xtra-padding {
  padding-top: 24px;
}

.about-join-image {
  min-width: 150px;
  width: 22em;
  aspect-ratio: 1;
  border-radius: 18px;
  overflow: hidden;
  object-fit: cover;
  object-position: right;
  flex: none;
  align-self: center;
}

/* ---------------------------------------------------------------
   BANNERS - EXCEPT Bruce Banner
---------------------------------------------------------------- */

.banners {
  display: flex;
  min-height: 300px;
  width: 1140px;
  max-width: 100%;
  margin: 62px 0;
  border-radius: 20px;
  align-self: center;
  justify-self: center;
  padding: 50px 62px;
  background-size: cover;
  background-position: center;
}

.banner-dark {
  color: var(--col-white);
}

.banner-light {
  color: var(--col-dark-blue);
  border: solid 2px var(--col-blue-wash-1);
}

.banner-bg-1 {
  background-image: url(/images-v2/banner-1.svg);
}

.banner-bg-2 {
  background-image: url(/images-v2/banner-2.svg);
}

.banner-bg-3 {
  background-image: url(/images-v2/banner-3.png);
  background-position: right;
}

.banner-bg-4 {
  background: url(/images-v2/banner-4.svg) no-repeat center center;
  background-size: cover;
  background-position: right;
}

@media (max-width: 768px) {
  .banner-bg-4 {
    flex-direction: column-reverse;
  }
  .banner-bg-4 .banner-logo-feat {
    flex-basis: 120px;
  }
}

.text-width-short {
  max-width: 600px;
}

.text-width-long {
  max-width: 664px;
}

.banner-txt-title {
  font-weight: 400;
  letter-spacing: 1px;
  font-size: 26px;
  line-height: 1.75;
  text-wrap: balance;
}

.banner-txt-body {
  font-weight: 300;
  font-size: 16px;
  line-height: 24px;
  padding: 20px 0;
}

.banner-logo {
  padding-bottom: 12px;
}

.banner-logo img {
  height: 36px;
}

.banner-logo-feat {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  flex-basis: 224px;
  /* width: 424px;
  height: 300px; */
}

.banner-logo-feat img {
  min-width: 120px;
  max-width: 224px;
  /*filter: drop-shadow(0px 6px 18px rgba(0, 0, 0, 0.25));*/
}

/* ---------------------------------------------------------------
   BUTTONS - 
---------------------------------------------------------------- */
.fab-rounded {
  display: flex;
  height: 48px;
  width: 336px;
  color: var(--col-white);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.5px;
  text-decoration: none;
  background-color: var(--col-primary);
  border: none;
  border-radius: 100px;
  cursor: pointer;
  align-items: center;
  flex-direction: row;
  justify-content: center;
  gap: 6px;
}

.fab-rounded:hover {
  background-color: var(--col-dark-orange);
}

.button-row {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.button-fab {
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  color: var(--col-white);
  display: flex;
  align-items: center;
  background-color: var(--col-primary);
  padding: 9px 16px;
  border-radius: 6px;
  gap: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.button-fab:hover {
  background-color: var(--col-dark-orange);
}

.button-fab:visited {
  color: var(--col-white);
}

.button-fab img {
  filter: brightness(0) invert(1);
}

.button-more {
  font-size: 16px;
  font-weight: 400;
  color: var(--col-primary);
  display: flex;
  align-items: center;
  text-decoration: none;
  padding: 9px 16px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.button-more:hover {
  color: var(--col-dark-orange);
}

.button-outline {
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  color: var(--col-primary);
  display: flex;
  align-items: center;
  background-color: none;
  padding: 9px 16px;
  border-radius: 6px;
  border: 2px solid var(--col-primary);
  gap: 6px;
  cursor: pointer;
  transition: border 0.3s ease;
}

/* =============================================
   =============================================
   =============================================
   Software App Detail Page Styles
   =============================================
   =============================================
   ============================================= */

/* --- Utility classes used by SSR shell & JS hydration --- */
.visually-hidden {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.hide {
  display: none !important;
}

.muted {
  opacity: 0.65;
}

.empty-state {
  text-align: center;
  padding: 48px 16px;
}

/* Minimal hero + meta helpers referenced by the shell */
.app-hero {
  background: center/cover no-repeat;
  border-radius: 8px;
  min-height: 220px;
}

.meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.meta-chip {
  border: 1px solid var(--app-border-color, #e3e8ee);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
}

/* -----------------------------------------------
   Section tokens (scoped so we don't affect portfolio)
   ----------------------------------------------- */
.app-shell {
  --app-border-color: #e3e8ee;
  --app-txt-title-grey: #67727d;
  --app-col-platform: #6e6e6e;
  display: flex;
  gap: 24px;
}

.page-app-text {
  display: flex;
  color: var(--col-white);
  z-index: 5;
  column-gap: 6px;
  flex-wrap: wrap;
}

.page-app-text h1 {
  font-weight: 300;
  line-height: 1.4;
}

.page-app-text a {
  text-decoration: none;
  color: var(--col-white);
}

.left-column-content {
  width: 430px;
  max-width: 100%;
  flex: 0 0 430px;
  padding: 24px 0;
}

.info-download {
  padding: 24px 36px;
  border: solid 1px var(--app-border-color);
  border-radius: 8px;
}

.app-logo-title {
  display: flex;
  align-items: center;
}

.app-logo {
  width: 100px;
  height: 100px;
}

.app-logo img {
  width: 100px;
}

.app-title-subtitle {
  padding-left: 12px;
}

.app-title-subtitle h4 {
  font-size: 26px;
  font-weight: 600;
  line-height: 26px;
  color: var(--col-dark-blue);
}

.app-title-subtitle p {
  font-size: 14px;
  font-weight: 400;
  line-height: 16px;
  font-style: italic;
  color: var(--col-primary);
  padding-top: 3px;
}

.info-platforms-block {
  display: flex;
  padding: 20px 24px 0;
  gap: 40px;
}

.info-platforms-type {
  display: flex;
  color: var(--app-col-platform);
  width: fit-content;
  align-items: center;
  flex-direction: column;
  gap: 6px;
}

.info-platforms-type img {
  width: 18px;
  height: auto;
}

.info-platforms-type small {
  font-size: 12px;
  line-height: 18px;
  font-weight: 400;
  letter-spacing: -0.5px;
}

.info-divider {
  margin: 24px 0;
  height: 1px;
  width: auto;
  background-color: var(--app-border-color);
}

.app-description {
  color: var(--col-dark-blue);
  font-size: 14px;
  line-height: 20px;
}

.download-button-spacer {
  display: flex;
  margin: 36px 0;
  justify-content: center;
  align-items: center;
}

/* ---- Section wrappers ---- */
.app-section-block {
  margin: 0;
}

.app-section-block__title h5 {
  font-size: 18px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 0.5px;
  color: var(--app-txt-title-grey);
  padding: 36px 0 16px 12px;
  /*margin: 0 0 8px;*/
}

.app-section-block__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 12px;
  border: solid 1px var(--app-border-color);
  border-radius: 8px;
}

/* Announcements previously had a bordered box; preserve that look */
.app-section-block--announcements .app-section-block__list {
  padding: 24px 12px;
  border: solid 1px var(--app-border-color);
  border-radius: 8px;
}

/* ============================================
   Base CHIP styles (new generic classes)
   ============================================ */
.chip {
  display: flex;
  width: auto;
  background-color: var(--col-white);
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s ease-in;
}

.chip.is-disabled {
  opacity: 0.6;
  cursor: default;
  pointer-events: none;
}

.chip--resource {
  height: 72px;
}

.chip--announcement {
  height: 52px;
}

.chip:hover {
  background-color: var(--col-orange-wash-2);
}

.chip.is-disabled:hover {
  background-color: var(--col-white);
}

.chip:focus-visible {
  outline: 2px solid var(--col-primary);
  outline-offset: 2px;
}

.chip__icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.chip__text {
  color: var(--col-dark-blue);
  align-self: center;
}

.chip__title {
  font-size: 18px;
  font-weight: 600;
  line-height: 18px;
  margin: 0;
}

.chip__desc {
  font-size: 12px;
  font-weight: 400;
  line-height: 12px;
  padding-top: 4px;
  margin: 0;
  opacity: 1;
}

.chip__open {
  opacity: 0;
  display: flex;
  width: 48px;
  height: 100%;
  justify-content: center;
  margin-left: auto;
  transition: opacity 0.25s ease-in;
}

.chip__open .icon {
  width: 24px;
  height: auto;
  display: block;
}

.chip:hover .chip__open {
  opacity: 1;
}

.chip--resource .chip__icon {
  width: 86px;
  height: auto;
}

.chip--resource .chip__icon img {
  width: 36px;
  height: 36px;
  display: block;
}

/* Announcement */
.chip--announcement .chip__icon {
  width: 52px;
  height: auto;
}

.chip--announcement .chip__icon img {
  width: 24px;
  height: 24px;
  display: block;
}

.chip--announcement .chip__title {
  font-size: 16px;
  line-height: 18px;
}

.resources-chip-icon {
  /* maps to .chip__icon; keep for legacy HTML if any */
  display: flex;
  width: 86px;
  height: auto;
  align-items: center;
  justify-content: center;
}

.resources-chip-icon img {
  width: 36px;
  height: 36px;
}

.resources-chip-text {
  color: var(--col-dark-blue);
  align-self: center;
}

.resources-chip-text h5 {
  font-size: 18px;
  font-weight: 600;
  line-height: 18px;
  margin: 0;
}

.resources-chip-text p {
  font-size: 12px;
  font-weight: 400;
  line-height: 12px;
  padding-top: 4px;
  margin: 0;
}

.resources-chip-open {
  opacity: 0;
  display: flex;
  width: 48px;
  height: 100%;
  justify-content: center;
  margin-right: 0;
  margin-left: auto;
  transition: opacity 0.25s ease-in;
}

.resources-chip:hover .resources-chip-open {
  opacity: 1;
}

.resources-chip-open img {
  width: 24px;
  height: auto;
  display: block;
}

/* ------ Announcements (legacy selectors retained) ------ */
/* The old wrapper .app-announcements-block is replaced by
   .app-section-block--announcements .app-section-block__list (above) */

.announcement-chip {
  /* maps to .chip.chip--announcement */
  display: flex;
  width: auto;
  height: 52px;
  background-color: var(--col-white);
}

.announcement-chip-icon {
  /* maps to .chip__icon; keep for legacy */
  display: flex;
  width: 52px;
  height: auto;
  align-items: center;
  justify-content: center;
}

.announcement-chip-icon img {
  width: 24px;
  height: 24px;
}

.announcement-chip-text {
  color: var(--col-dark-blue);
  align-self: center;
}

.announcement-chip-text h5 {
  font-size: 16px;
  font-weight: 600;
  line-height: 18px;
  margin: 0;
}

.announcement-chip-text p {
  font-size: 12px;
  font-weight: 400;
  line-height: 12px;
  padding-top: 4px;
  margin: 0;
}

.announcement-chip:hover {
  background-color: var(--col-orange-wash-2);
}

/* ------------------------------
   RIGHT COLUMN
   -------------------------------- */
.right-column-content {
  width: 686px;
  flex: 0 0 686px;
}

.app-feat-image-frame {
  margin-top: 24px;
  padding: 12px;
  border: solid 1px var(--app-border-color);
  border-radius: 8px;
}

.app-feat-image-frame img {
  width: -webkit-fill-available;
}

.app-feat-image-ref {
  padding-top: 12px;
}

.app-feat-image-ref p {
  font-size: 12px;
  font-weight: 400;
  line-height: 12px;
  font-style: italic;
  justify-self: center;
  color: #273340;
  opacity: 0.5;
}

/* ------ Call Outs ------ */
.call-out {
  --col-callout-blue-bg: #eefaff;
  --col-callout-blue-bright: #0078ad;
  display: flex;
  border-radius: 0 6px 6px 0;
  margin: 48px 0;
  padding-block: 24px;
}

.call-out-txt {
  align-self: center;
  margin: 0 48px 0 12px;
  text-wrap: balance;
  max-width: 60ch;
}

.call-out h5 {
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0.4px;
}

.call-out-info {
  color: var(--col-dark-blue);
  background-color: var(--col-callout-blue-bg);
  border-left: solid 4px var(--col-callout-blue-bright);
}

.call-out-primary {
  color: var(--col-dark-orange);
  background-color: var(--col-orange-wash-1);
  border-left: solid 4px var(--col-primary);
}

.call-out-icon {
  display: flex;
  align-items: center;
  width: 92px;
  height: 100%;
  justify-content: center;
}

.call-out-icon-36px {
  display: flex;
  align-items: center;
  justify-content: center;
}

.call-out-icon-36px img {
  width: 36px;
  height: auto;
  margin: 0 24px;
}

.call-out-icon img {
  width: 48px;
  height: auto;
}

.call-out-logo {
  align-self: center;
  align-content: center;
  padding: 0px 24px;
  min-width: 173px;
  height: 100%;
}

.call-out-logo img {
  height: 32px;
  width: auto;
}

.right-content-block {
  display: flex;
  flex-direction: column;
  margin: 0 12px;
  gap: 24px;
}

.right-content-block-title {
  display: flex;
  flex-direction: column;
  color: var(--col-dark-blue);
}

.right-content-block-title h4 {
  width: fit-content;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-bottom: var(--col-primary) solid 3px;
  padding-top: 24px;
}

.right-content-block-title p {
  padding-top: 20px;
  line-height: 1.5;
  color: var(--col-dark-blue);
}

.right-content-block-title small {
  padding-top: 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

/* ------ KEY FEATURES ------ */

.key-features-container {
  border-left: solid 2px var(--app-border-color);
  height: auto;
}

.key-feature-block {
  color: var(--col-dark-blue);
  padding-bottom: 24px;
  opacity: 0.65;
  transition: opacity 0.35s ease-in-out;
  cursor: default;
}

.key-feature-block:hover {
  opacity: 1;
}

.key-feature-block:hover h5 {
  border-left-color: var(--col-primary);
}

.key-feature-block h5 {
  border-left: solid 2px var(--app-border-color);
  padding-left: 24px;
  margin-left: -2px;
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
  transition: border-color 0.35s ease-in;
}

.key-feature-block p {
  font-size: 16px;
  line-height: 24px;
  padding-left: 24px;
}

/* ------------------------------
   DOWNLOAD PAGE
   -------------------------------- */
.pg-hero-bg {
  background-color: var(--col-bg-hero);
}

.pg-hero-app-image {
  display: flex;
  height: 200px;
  width: 1140px;
  background: url(/images-v2/software.png) no-repeat center center;
  background-size: cover;
  align-items: center;
  z-index: 0;
}

.download-container {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  max-width: 1140px;
  margin: 0 auto;
  align-content: center;
  padding-inline: 1.5rem;
}

.download-app {
  --app-border-color: #e3e8ee;
  --app-txt-title-grey: #67727d;
  --app-col-platform: #6e6e6e;
  display: flex;
  max-width: 500px;
  flex-direction: column;
  margin-top: 28px;
}

.download-app-title h4 {
  font-size: 18px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0.5px;
  color: var(--app-txt-title-grey);
  padding: 12px;
}

.download-app-notes {
  margin: 0 12px 12px;
}

.download-app-notes p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--col-dark-blue);
}

.download-app-block {
  display: flex;
  flex-direction: column;
  padding: 12px;
  border: solid 1px var(--app-border-color);
  border-radius: 8px;
  gap: 12px;
}

/* ------ Download Chips ------ */
.download-app-chip {
  display: flex;
  width: auto;
  height: 72px;
  background-color: var(--col-white);
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.25s ease-in;
  text-decoration: none;
}

.download-app-chip:hover {
  background-color: var(--col-orange-wash-2);
}

.download-app-chip-icon {
  display: flex;
  width: 86px;
  height: auto;
  align-items: center;
  justify-content: center;
}

.download-app-chip-icon img {
  width: 30px;
  height: auto;
}

.download-app-chip-text {
  color: var(--col-dark-blue);
  align-self: center;
}

.download-app-chip-text h5 {
  font-size: 18px;
  font-weight: 600;
  line-height: 18px;
}

.download-app-chip-text p {
  font-size: 12px;
  font-weight: 400;
  line-height: 12px;
  padding-top: 4px;
}

.download-app-chip-download {
  opacity: 0;
  display: flex;
  width: 48px;
  height: 100%;
  justify-content: center;
  margin-right: 0;
  margin-left: auto;
  transition: opacity 0.25s ease-in;
}

.download-app-chip:hover .download-app-chip-download {
  opacity: 1;
}

.download-app-chip-download img {
  width: 24px;
  height: auto;
}

@media (max-width: 1200px) {
  .app-shell {
    flex-direction: column;
  }

  .left-column-info,
  .right-column-content {
    width: 100%;
    flex: 0 0 auto;
  }
}

/*----------------------------------------
------- SUPPORT PAGE ----------------------
------------------------------------------*/

.support {
  padding: 72px 0;
}

.support-main-text {
  text-align: left;
  padding: 36px 100px;
}

.support-title {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 1px;
  line-height: 2;
  text-transform: uppercase;
  margin: 0 0 8px;
  text-wrap: balance;
}

.support-body {
  max-width: 880px;
  color: #5f5f5d;
}

.support-body p {
  padding-top: 28px;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.4px;
  line-height: 28px;
}

.support-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-content: center;
  margin-bottom: 63px;
  padding: 0 30px;
  gap: 20px;
}

.support-card {
  text-align: left;
  width: 346px;
  padding: 34px;
  border-radius: 12px;
  background-color: var(--col-white);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  cursor: pointer;
  transition: box-shadow 0.2s ease;
  text-decoration: none;
}

.support-card:hover {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.support-card:hover .button-card img {
  opacity: 1;
}

.button-card img {
  opacity: 1;
}

.support-card-logo {
  display: flex;
  padding: 12px;
  padding-bottom: 36px;
  height: 130px;
}

.support-card-logo img {
  max-height: 100%;
  max-width: 100%;
}

.support-card-title {
  color: var(--col-dark-blue);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.67px;
  text-transform: uppercase;
}

.support-card p {
  padding-top: 12px;
  font-size: 13px;
  font-weight: 400;
  line-height: 18px;
  color: #5f5f5d;
  line-clamp: 5;
  -webkit-line-clamp: 5;
}

@media (max-width: 1141px) {
  .support-cards {
    grid-template-columns: 1fr;
  }

  .support-card {
    margin-inline: auto;
    width: min(100%, calc(346px * 2));
  }

  .support-card-logo img {
    max-width: 50%;
  }
}

.button-card {
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  color: var(--col-primary);
  display: flex;
  align-items: center;
  background-color: var(--col-white);
  padding-top: 18px;
  gap: 6px;
  cursor: pointer;
}

.button-card img {
  opacity: 0;
  width: 24px;
  height: 24px;
  transition: opacity 0.3s ease;
}

/* ----- LINKS ----- */

.support-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
  gap: 24px;
  column-count: 3;
  column-gap: 24px;
}

.links-col-header {
  color: var(--col-dark-blue);
  padding: 42px 12px 8px;
}

.links-col-header small {
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.support-link-chip {
  display: flex;
  flex-direction: column;
  padding: 8px;
  background-color: var(--col-white);
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
  text-wrap: pretty;
  text-decoration: none;
  color: inherit;
}

.support-link-chip:hover {
  background-color: var(--col-orange-wash-1);
}

.support-link-chip p {
  font-size: 14px;
  font-weight: 500;
  padding-right: 4px;
  padding-left: 8px;
}

.support-link-chip small {
  padding-left: 44px;
  color: #67727d;
}

.link-chip-header {
  display: flex;
  align-items: center;
  height: 36px;
  margin-bottom: -3px;
}

.training-ad-image {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  height: 174px;
  background: url("/images-v2/ad-training.png") center/cover no-repeat;
  padding: 27px 21px;
  border-radius: 8px;
}

.training-ad-image h3 {
  font-weight: 600;
  color: var(--col-white);
  letter-spacing: 0.4px;
  line-height: 28px;
}

.training-ad-body {
  padding: 12px 14px;
}

.live-now-line {
  display: flex;
  align-items: center;
  color: var(--col-primary);
}

.live-now-line small {
  font-weight: 500;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 6px;
  background-color: var(--col-primary);
  margin-right: 6px;
}

.training-ad-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.link-chip-ad {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.link-chip-ad p {
  font-size: 14px;
  color: black;
  font-weight: 600;
  letter-spacing: 0.4px;
  padding-right: 4px;
  transition: color 0.2s ease-in-out;
}

.link-chip-ad:hover p {
  color: var(--col-primary);
}
