/* ==========================================================================
   Enterprise components (ent-*): the new page structure.
   Tokens (--brand, --ink, --surface-dark, --line, ...) come from main.css.
   Grid: 1200px content width, spacing in steps of 8px.
   ========================================================================== */

:root {
  --ent-width: 1200px;
  --ent-gutter: max(24px, calc((100% - var(--ent-width)) / 2));
  --ent-radius: 16px;
  --ent-muted: #4B5563;
  --ent-alt: #F3F5F8;
}

.ent-container {
  width: 100%;
  max-width: calc(var(--ent-width) + 48px);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Type ---------- */
.ent-eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--brand-strong);
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ent-eyebrow--dark {
  color: #FF8A70;
}

.ent-title {
  margin: 0;
  max-width: 760px;
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.015em;
}

.ent-lead {
  margin: 16px 0 0;
  max-width: 640px;
  color: var(--ent-muted);
  font-size: 18px;
  line-height: 1.6;
}

/* ---------- Buttons and links ---------- */
.ent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ent-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.ent-btn--primary {
  background: var(--cta-bg);
  color: #fff;
}

.ent-btn--primary:hover {
  background: var(--cta-bg-hover);
  color: #fff;
}

.ent-btn--ghost-dark {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.ent-btn--ghost-dark:hover {
  border-color: #fff;
  color: #fff;
}

.ent-btn--sm {
  min-height: 48px;
  align-self: flex-start;
}

.ent-link {
  color: var(--brand-strong);
  font-family: "Space Grotesk", sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

.ent-link::after {
  content: " →";
}

.ent-link--light {
  color: #FF8A70;
}

/* ---------- Hero ---------- */
.ent-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 40%, rgba(241, 91, 64, 0.16), transparent 42%),
    var(--ink);
  color: #fff;
}

.ent-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
  min-height: 600px;
  padding-top: 72px;
  padding-bottom: 72px;
}

.ent-hero__title {
  margin: 0 0 24px;
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(38px, 4.4vw, 60px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.ent-hero__sub {
  margin: 0 0 32px;
  max-width: 540px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.6;
}

.ent-hero__visual {
  display: flex;
  justify-content: center;
}

.ent-hero__visual img {
  width: 100%;
  max-width: 520px;
  height: auto;
}

/* ---------- Proof: numbers + client logos ---------- */
.ent-proof {
  padding: 64px 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.ent-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ent-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 24px;
  border-left: 1px solid var(--line);
}

.ent-stat:first-child {
  padding-left: 0;
  border-left: 0;
}

.ent-stats .ent-stat__value {
  display: block;
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(32px, 3vw, 44px);
  font-weight: 700;
  line-height: 1.1;
}

.ent-stat__title {
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
}

.ent-stat__label {
  color: var(--ent-muted);
  font-size: 14px;
}

.ent-logos__label {
  margin: 56px 0 24px;
  color: var(--ent-muted);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
}

.ent-logos {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  align-items: center;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ent-logos li {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
}

.ent-logos img {
  max-width: 100%;
  max-height: 44px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.7;
  transition: filter 0.2s ease, opacity 0.2s ease;
}

.ent-logos img:hover {
  filter: none;
  opacity: 1;
}

/* ---------- Sections ---------- */
.ent-section {
  padding: 112px 0;
  background: #fff;
}

.ent-section--alt {
  background: var(--ent-alt);
}

.ent-head {
  margin-bottom: 56px;
}

.ent-head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.ent-grid {
  display: grid;
  gap: 24px;
}

.ent-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* ---------- Cards ---------- */
.ent-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--ent-radius);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ent-card--link:hover {
  border-color: rgba(241, 91, 64, 0.55);
  box-shadow: 0 16px 40px rgba(14, 25, 30, 0.08);
  color: var(--ink);
}

.ent-card__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 8px;
}

.ent-card__title {
  margin: 0;
  color: inherit;
  font-family: "Space Grotesk", sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
}

.ent-card__text {
  flex: 1;
  margin: 0;
  color: var(--ent-muted);
  font-size: 16px;
  line-height: 1.6;
}

.ent-card--dark {
  border-color: var(--surface-dark);
  background: var(--surface-dark);
  color: #fff;
}

.ent-card--dark .ent-card__text {
  color: rgba(255, 255, 255, 0.75);
}

/* ---------- Process ---------- */
.ent-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.ent-step {
  position: relative;
  padding-top: 24px;
  border-top: 2px solid var(--line);
}

.ent-step:first-child {
  border-top-color: var(--brand);
}

.ent-step__num {
  display: block;
  margin-bottom: 16px;
  color: var(--brand-strong);
  font-family: "Space Grotesk", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.ent-step__title {
  margin: 0 0 8px;
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.ent-step__text {
  margin: 0;
  color: var(--ent-muted);
  font-size: 16px;
  line-height: 1.6;
}

/* ---------- Case studies ---------- */
.ent-cases {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 24px;
}

.ent-cases__side {
  display: grid;
  gap: 24px;
}

.ent-feature {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 40px;
  border-radius: var(--ent-radius);
  background:
    radial-gradient(circle at 100% 0%, rgba(241, 91, 64, 0.18), transparent 50%),
    var(--surface-dark);
  color: #fff;
  text-decoration: none;
}

.ent-feature:hover {
  color: #fff;
}

.ent-feature__brand {
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
  font-weight: 600;
}

.ent-feature__brand img {
  width: 56px;
  height: 56px;
  padding: 6px;
  border-radius: 12px;
  background: #fff;
  object-fit: contain;
}

.ent-feature__title {
  margin: 0;
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(24px, 2.2vw, 30px);
  font-weight: 700;
  line-height: 1.2;
}

.ent-feature__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: auto 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.ent-feature__metrics dt {
  color: #FF8A70;
  font-family: "Space Grotesk", sans-serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.1;
}

.ent-feature__metrics dd {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  line-height: 1.45;
}

.ent-case img {
  width: auto;
  height: 36px;
  max-width: 120px;
  margin-bottom: 8px;
  object-fit: contain;
  object-position: left center;
}

/* ---------- Why us + certifications ---------- */
.ent-point {
  padding-top: 24px;
  border-top: 2px solid var(--brand);
}

.ent-point__title {
  margin: 0 0 12px;
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
}

.ent-point__text {
  margin: 0;
  color: var(--ent-muted);
  font-size: 16px;
  line-height: 1.65;
}

.ent-certs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 64px;
  padding: 24px 32px;
  border: 1px solid var(--line);
  border-radius: var(--ent-radius);
  background: #fff;
}

.ent-certs__label {
  margin: 0;
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 18px;
  font-weight: 700;
}

.ent-certs__list {
  display: flex;
  align-items: center;
  gap: 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ent-certs__list img {
  width: auto;
  height: 64px;
  object-fit: contain;
}

/* ---------- Closing call to action ---------- */
.ent-cta {
  padding: 88px 0;
  background:
    radial-gradient(circle at 90% 120%, rgba(241, 91, 64, 0.22), transparent 45%),
    var(--surface-dark);
  color: #fff;
}

.ent-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.ent-cta__title {
  margin: 0 0 12px;
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.15;
}

.ent-cta__text {
  margin: 0;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.6;
}

.ent-cta__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.ent-cta__phone {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.ent-cta__phone:hover {
  color: #FF8A70;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .ent-hero__grid {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .ent-hero__visual {
    display: none;
  }

  .ent-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ent-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 40px;
  }

  .ent-cases {
    grid-template-columns: 1fr;
  }

  .ent-cases__side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ent-logos {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    row-gap: 24px;
  }

  .ent-cta__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .ent-cta__actions {
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .ent-section {
    padding: 72px 0;
  }

  .ent-head {
    margin-bottom: 32px;
  }

  .ent-head--split {
    flex-direction: column;
    align-items: flex-start;
  }

  .ent-hero__title {
    font-size: 36px;
  }

  .ent-hero__sub,
  .ent-lead,
  .ent-cta__text {
    font-size: 16px;
  }

  .ent-actions .ent-btn {
    width: 100%;
  }

  .ent-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 32px;
  }

  .ent-stat:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .ent-grid--3,
  .ent-cases__side {
    grid-template-columns: 1fr;
  }

  .ent-steps {
    grid-template-columns: 1fr;
    row-gap: 32px;
  }

  .ent-card,
  .ent-feature {
    padding: 24px;
  }

  .ent-feature__metrics {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ent-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ent-certs {
    flex-direction: column;
    align-items: flex-start;
  }

  .ent-certs__list {
    gap: 24px;
  }
}

/* ---------- Header: slim, aligned to the content grid ---------- */
.site-header {
  background: rgba(255, 255, 255, 0.92) !important;
  border-bottom: 1px solid var(--line);
  box-shadow: none;
}

.site-header--desktop .header-row {
  max-width: var(--ent-width);
  height: 72px;
  margin: 0 auto;
  padding: 0;
}

@media (max-width: 1290px) {
  .site-header--desktop .header-row {
    margin: 0 24px;
  }
}

.site-header--desktop .brand img {
  width: 150px;
  height: auto;
}

.nav ul {
  gap: 28px;
}

.nav a,
.nav span {
  font-size: 16px;
  font-weight: 600;
}

.nav-actions {
  gap: 28px;
}

.site-header .btn-cta {
  height: 44px;
  padding: 0 20px;
  font-size: 15px;
}

.menu__dropdown {
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(14, 25, 30, 0.1);
}

.menu__dropdown a {
  border-radius: 8px;
}

.menu__divider {
  margin-top: 6px;
  border-top: 1px solid var(--line);
  border-radius: 0 0 8px 8px !important;
}

/* ---------- Footer: plain navy, no decorative background ---------- */
.site-footer {
  background: var(--ink);
}

.site-footer h3 {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-col a {
  font-size: 15px;
  line-height: 1.5;
}

.footer-col ul {
  gap: 12px;
}

.footer-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom,
.footer-bottom a,
.footer-bottom p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

/* footer links: drop the decorative chevron so links line up with their headings */
.footer-col li {
  gap: 0;
}

.footer-col li > svg {
  display: none;
}

/* ---------- Inner page header (replaces the photo banners) ---------- */
.section11 {
  min-height: 0;
  padding: 96px 24px 88px;
  background:
    radial-gradient(circle at 85% 0%, rgba(241, 91, 64, 0.18), transparent 40%),
    var(--ink) !important;
}

.section11-overlay {
  position: static;
  width: 100%;
  max-width: var(--ent-width);
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  text-align: left;
}

.section11-content {
  align-items: flex-start;
  gap: 16px;
}

.section11-title,
.section11-maintitle {
  margin: 0;
  max-width: 820px;
  color: #fff;
  text-align: left;
}

.section11-subtitle {
  max-width: 680px;
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  text-align: left;
}

.section11-subtitle br {
  display: none;
}

.section11 + .partners-section,
.section11 + .section12,
.section11 + .contact-section,
.section11 + .product-grid,
.section11 + .advisory-section,
.section11 + .terms-wrapper {
  padding-top: 96px;
}

/* ---------- Service page hero + stats strip ---------- */
.ent-pagehero {
  padding: 96px 0 88px;
  background:
    radial-gradient(circle at 85% 0%, rgba(241, 91, 64, 0.18), transparent 40%),
    var(--ink);
  color: #fff;
}

.ent-pagehero .advisor-service-copy {
  max-width: 760px;
}

.ent-pagehero .advisor-service-kicker {
  padding: 0;
  background: none;
  color: #FF8A70;
  letter-spacing: 0.12em;
}

.ent-pagehero .advisor-service-title {
  color: #fff;
}

.ent-pagehero .advisor-service-subtitle {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.6;
}

.ent-pagehero .service-btn {
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid var(--cta-bg);
  background: var(--cta-bg);
  color: #fff;
  font-size: 19px;
}

.ent-pagehero .advisor-service-secondary {
  border-color: rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
}

.ent-pagehero .advisor-service-secondary:hover {
  border-color: #fff;
  background: transparent;
}

.ent-proof--page {
  padding: 48px 0;
}

.ent-proof--page .advisor-stats-frame {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.ent-proof--page .advisor-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.ent-proof--page .advisor-stat-heading {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 24px;
  border-left: 1px solid var(--line);
  text-align: left;
}

.ent-proof--page .advisor-stat-heading:first-child {
  padding-left: 0;
  border-left: 0;
}

.ent-proof--page .advisor-stat-number {
  color: var(--ink);
  font-size: clamp(30px, 2.8vw, 40px);
}

.ent-proof--page .advisor-stat-title {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
}

.ent-proof--page + .advisory-section {
  padding-top: 96px;
}

@media (max-width: 640px) {
  .section11,
  .ent-pagehero {
    padding: 64px 24px 56px;
  }

  .ent-pagehero {
    padding-left: 0;
    padding-right: 0;
  }

  .ent-proof--page .advisor-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 32px;
  }

  .ent-proof--page .advisor-stat-heading:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .section11 + .partners-section,
  .section11 + .section12,
  .section11 + .contact-section,
  .section11 + .product-grid,
  .section11 + .advisory-section,
  .section11 + .terms-wrapper,
  .ent-proof--page + .advisory-section {
    padding-top: 64px;
  }
}

/* ---------- Company ---------- */
.section12-card-title {
  color: var(--ink);
  font-size: 28px;
}

/* the decorative code image adds nothing; the story reads better as one column */
.section13-image-wrapper {
  display: none;
}

.section13-container {
  display: block;
  max-width: 760px;
}

.section13-text {
  max-width: none;
}

#partners .ent-logos {
  margin-top: 8px;
}

/* Story: left-aligned on the grid */
.section13-container {
  margin: 0;
}

/* Values: three quiet columns instead of shouting caps */
.section14-wrapper {
  padding: 56px;
  border-radius: var(--ent-radius);
}

.section14-item {
  align-items: flex-start;
  padding: 0 32px;
  text-align: left;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.section14-item:first-child {
  padding-left: 0;
  border-left: 0;
}

.section14-title {
  font-size: 24px;
  line-height: 1.25;
  text-transform: none;
}

.section14-text {
  color: rgba(255, 255, 255, 0.75);
  font-size: 16px;
  line-height: 1.6;
}

.section14-divider {
  display: none;
}

/* Investments and "Join us": plain navy, no texture photos */
.section5,
.section-join {
  background: var(--ink) !important;
}

/* Leadership: two founders side by side, natural photos */
.section15-wrapper {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 360px));
  justify-content: center;
  gap: 32px;
}

.founder-card {
  width: 100%;
}

.founder-border {
  padding: 0;
  border: 0;
  border-radius: var(--ent-radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.founder-image {
  border-radius: 0;
  background-blend-mode: normal !important;
  background-color: transparent;
}

.founder-info {
  position: static;
  width: 100%;
  padding: 20px 0 0;
  gap: 4px;
  background: none;
  box-shadow: none;
}

/* FAQ: one readable column, no tinted photo */
.section16-image {
  display: none;
}

.section16-faqs {
  max-width: 800px;
  margin: 0 auto;
}

@media (max-width: 760px) {
  .section14-wrapper {
    padding: 32px 24px;
  }

  .section14-item {
    padding: 24px 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .section14-item:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .section15-wrapper {
    grid-template-columns: minmax(0, 360px);
  }
}

.footer-col h3 {
  margin-left: 0;
}

/* Products: two actions that fit on one line */
.product-card .btn-demo,
.product-card .btn-learn {
  padding: 14px 16px;
  white-space: nowrap;
}

/* Contact: the form starts right under the page header */
.section11 + .contact-section {
  padding-top: 72px;
}

/* Clients map: neutral land, brand orange only for the countries we serve */
#worldMap path {
  fill: #DCE2EA;
  stroke: #FFFFFF;
}

#worldMap path:first-of-type {
  fill: #F3F5F8;
}

#worldMap .country {
  fill: var(--brand);
}

.map-container {
  border: 1px solid var(--line);
  border-radius: var(--ent-radius);
}

/* Blog and career pages on the same 1200px grid */
@media (min-width: 1025px) {
  .breadcrumb-container,
  .blog-container {
    max-width: none;
    padding-left: max(24px, calc((100% - var(--ent-width)) / 2));
    padding-right: max(24px, calc((100% - var(--ent-width)) / 2));
  }
}

.blog-card .blog-image {
  max-height: 380px;
}

/* phones: every block uses the same 24px side margin as the header and hero */
@media (max-width: 1024px) {
  .advisory-section,
  .case-study__hero,
  .case-study__content,
  .section12,
  .section13,
  .section15,
  .section16,
  .partners-section,
  .contact-section,
  .product-grid,
  .usecase-showcase,
  .careers-section,
  .breadcrumb-container,
  .blog-container {
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* light-gold logos disappear once greyed out */
.ent-logos img[src*="century21"],
.partner-card img[src*="century21"] {
  filter: grayscale(1) brightness(0.55);
}

/* Long translations (e.g. Italian CTAs) must wrap instead of widening the page */
.ent-hero__grid > *,
.ent-cta__inner > *,
.ent-card {
  min-width: 0;
}

@media (max-width: 640px) {
  .ent-btn {
    max-width: 100%;
    padding: 12px 20px;
    white-space: normal;
    text-align: center;
    line-height: 1.25;
  }

  .ent-cta__actions {
    width: 100%;
  }
}

/* ==========================================================================
   Company page: left-aligned headings, alternating white / light grey bands,
   one navy accent band (investments) before the closing CTA.
   ========================================================================== */
html body {
  background-color: var(--ent-alt) !important;
}

.section12,
.section13,
.section14,
.section15,
.section16,
.section-join {
  padding-top: 112px;
  padding-bottom: 112px;
}

.section12 { background: #fff; text-align: left; }
.section13 { background: var(--ent-alt); }
.section14 { background: #fff; }
.section15 { background: var(--ent-alt); }
.section-join { background: #fff !important; }
.section16 { background: var(--ent-alt); }

/* section labels on Company use the same quiet eyebrow as Home */
.section13-tag,
.section16-tag,
.section15 .section9-tag {
  display: inline-block;
  margin-bottom: 16px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--brand-strong);
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* About: heading block on the left, stats underneath */
.section12-title,
.section12-desc {
  max-width: 760px;
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

.section12-desc {
  margin-bottom: 56px;
  color: var(--ent-muted);
  font-size: 18px;
  line-height: 1.6;
}

.section12-title br {
  display: none;
}

.section12-card {
  max-width: none;
  min-height: 0;
  gap: 12px;
  background: var(--ent-alt);
  border-color: transparent;
  box-shadow: none;
}

/* Story: title left, text right */
.section13-container {
  max-width: none;
}

.section13-text {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-rows: auto 1fr;
  column-gap: 64px;
}

.section13-tag {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
}

.section13-title {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
}

.section13-desc {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
  color: var(--ent-muted);
  font-family: "Inter", sans-serif;
  font-size: 17px;
  line-height: 1.75;
}

/* Values card spans the grid */
.section14 {
  display: block;
}

/* Investments: links, not three competing buttons */
.investment-btn {
  height: auto;
  padding: 0;
  border: 0;
  background: none !important;
  color: #FF8A70;
  font-size: 16px;
}

.investment-btn::after {
  content: " →";
}

.investment-btn:hover {
  color: #fff;
}

/* Leadership: heading and cards start on the grid edge */
.section15 {
  align-items: stretch;
}

.section15-header {
  align-items: flex-start;
  text-align: left;
}

.section15-wrapper {
  justify-content: start;
}

/* Join: a slim row instead of another dark band */
.section-join {
  height: auto;
  padding-top: 72px;
  padding-bottom: 72px;
  border-top: 1px solid var(--line);
}

.join-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: var(--ent-width);
  margin: 0 auto;
  text-align: left;
}

.join-content h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(24px, 2.4vw, 32px);
}

/* FAQ: heading left, questions right (same as the service pages) */
.section16 {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: 64px;
  align-items: start;
}

.section16-header {
  margin: 0;
  text-align: left;
}

.section16-title {
  text-align: left;
}

.section16-content {
  display: block;
}

.section16-faqs {
  max-width: none;
  margin: 0;
}

@media (max-width: 900px) {
  .section13-text,
  .section16 {
    grid-template-columns: 1fr;
  }

  .section13-desc {
    grid-column: 1;
    grid-row: 3;
    margin-top: 24px;
  }

  .section16-header {
    margin-bottom: 32px;
  }

  .join-content {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .section12,
  .section13,
  .section14,
  .section15,
  .section16 {
    padding-top: 72px;
    padding-bottom: 72px;
  }
}

.section16-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* old phone rules centred the story; keep it on the left edge like every other block */
.section13-text,
.section13-title,
.section13-desc,
.section12-card {
  text-align: left;
  align-items: flex-start;
}

@media (max-width: 900px) {
  .section13-text {
    align-items: start;
    justify-items: start;
  }
}

/* ---------- Leadership: intro left, two people right ---------- */
.ent-team {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: 64px;
}

.ent-team__intro .ent-lead {
  margin-bottom: 24px;
}

.ent-team__people {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ent-person {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--ent-radius);
  background: #fff;
}

.ent-person__photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.ent-person__body {
  padding: 20px 24px 24px;
  border-top: 3px solid var(--brand);
}

.ent-person__name {
  margin: 0;
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
}

.ent-person__role {
  margin: 4px 0 12px;
  color: var(--ent-muted);
  font-size: 15px;
}

.ent-person__link {
  color: var(--brand-strong);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.ent-person__link::after {
  content: " →";
}

.ent-person__link:hover {
  color: var(--ink);
}

@media (max-width: 900px) {
  .ent-team {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 480px) {
  .ent-team__people {
    grid-template-columns: 1fr;
  }
}


/* Company stats: same pattern as the Home and service-page numbers */
.section12-stats {
  margin-top: 8px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
  align-items: start;
}

.section12-stats .ent-stat__value {
  display: block;
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(32px, 3vw, 44px);
  font-weight: 700;
  line-height: 1.1;
}

.section12-stats .ent-stat__label {
  margin-top: 4px;
  font-size: 15px;
  line-height: 1.55;
}

/* ==========================================================================
   Exact symmetry: equal columns, separators centred in the gutter,
   one vertical rhythm (112px content sections, 96px bands).
   ========================================================================== */
:root {
  --ent-gutter-col: 48px;
}

/* Stat rows (Home, Company, service pages) */
.ent-stats,
.ent-proof--page .advisor-stats-grid {
  gap: var(--ent-gutter-col);
  align-items: stretch;
}

.ent-stat,
.ent-stat:first-child,
.ent-proof--page .advisor-stat-heading,
.ent-proof--page .advisor-stat-heading:first-child {
  position: relative;
  padding: 0;
  border-left: 0;
}

.ent-stat + .ent-stat::before,
.ent-proof--page .advisor-stat-heading + .advisor-stat-heading::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--ent-gutter-col) / -2);
  width: 1px;
  background: var(--line);
}

/* Values: three equal columns */
.section14-wrapper {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--ent-gutter-col);
  padding: 56px;
}

.section14-item,
.section14-item:first-child {
  position: relative;
  padding: 0;
  border: 0;
}

.section14-item + .section14-divider + .section14-item::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--ent-gutter-col) / -2);
  width: 1px;
  background: rgba(255, 255, 255, 0.12);
}

/* Story text fills its column to the grid edge */
.section13-desc {
  max-width: none;
  width: auto;
}

/* Vertical rhythm */
.section11,
.ent-pagehero,
.ent-cta {
  padding-top: 96px;
  padding-bottom: 96px;
}

.section11 + .section12,
.section5 {
  padding-top: 112px;
  padding-bottom: 112px;
}

.section-join {
  padding-top: 72px;
  padding-bottom: 72px;
}

@media (max-width: 760px) {
  .section14-wrapper {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 32px 24px;
  }

  .section14-item,
  .section14-item:first-child {
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .section14-item:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .section14-item + .section14-divider + .section14-item::before {
    content: none;
  }
}

@media (max-width: 640px) {
  .ent-stats,
  .ent-proof--page .advisor-stats-grid {
    row-gap: 32px;
  }

  /* two per row: no separator before the first item of each row */
  .ent-stat:nth-child(odd)::before,
  .ent-proof--page .advisor-stat-heading:nth-child(odd)::before {
    content: none;
  }

  .section11,
  .ent-pagehero,
  .ent-cta,
  .section11 + .section12,
  .section5 {
    padding-top: 72px;
    padding-bottom: 72px;
  }
}

.join-btn {
  display: inline-flex;
  align-items: center;
  height: 52px;
  padding: 0 28px;
  line-height: 1;
}

/* hairlines drawn inside the box so padding stays exactly equal top and bottom */
.ent-proof {
  border-bottom: 0;
  box-shadow: inset 0 -1px 0 var(--line);
}

.section-join {
  border-top: 0;
  box-shadow: inset 0 1px 0 var(--line);
}

@media (max-width: 1024px) {
  .section5,
  .section-join {
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* Investments: every description occupies exactly four lines */
.investment-desc {
  --desc-lh: 1.6;
  font-size: 16px;
  line-height: var(--desc-lh);
  min-height: calc(4 * var(--desc-lh) * 1em);
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

.investment-logo[src*="logo-alpineedge"] {
  filter: none;
  object-fit: contain;
}

.investment-desc {
  text-wrap: pretty;
}

/* ---------- About: "at a glance" fact sheet ---------- */
.ent-glance__lead {
  margin: 0 0 32px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.65;
}

.ent-facts {
  margin: 0;
  border-top: 1px solid var(--line);
}

.ent-facts__row {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.ent-facts dt {
  color: var(--ent-muted);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ent-facts dd {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .ent-facts__row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* ---------- Certifications: one equal card per vendor ---------- */
.ent-certs-block {
  margin-top: 64px;
}

.ent-certs-block__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.ent-certs-block .ent-certs__label {
  margin: 0;
  font-size: 22px;
}

.ent-certs-block__lead {
  margin: 0;
  max-width: 560px;
  color: var(--ent-muted);
  font-size: 15px;
  text-align: right;
}

.ent-certs-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.ent-cert {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--ent-radius);
  background: #fff;
}

.ent-cert__logo {
  display: block;
  width: auto;
  height: 28px;
  max-width: 140px;
  object-fit: contain;
  object-position: left center;
}

.ent-cert__count {
  margin: 20px 0 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--brand-strong);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ent-cert__list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
}

.ent-cert__list--chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ent-cert__list--chips li {
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--ent-alt);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

@media (max-width: 1024px) {
  .ent-certs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .ent-certs-block__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .ent-certs-block__lead {
    text-align: left;
  }
}

/* stacked logos (icon over wordmark) need more height to read at the same visual weight */
.ent-cert__logo[src*="vendor-cisco"] {
  height: 36px;
  margin-top: -4px;
  margin-bottom: -4px;
}

.ent-cert__logo[src*="vendor-databricks"] {
  height: 40px;
  margin-top: -6px;
  margin-bottom: -6px;
}

/* ==========================================================================
   Home: one column system shared by every row
   (4 cols = 282px, 3 cols = 384px, 8 logos = 129px, all with 24px gutters)
   ========================================================================== */
:root {
  --ent-gutter-col: 24px;
}

.ent-logos {
  gap: var(--ent-gutter-col);
}

.ent-cases {
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: var(--ent-gutter-col);
}

.ent-hero__visual {
  justify-content: flex-end;
}

.ent-proof:not(.ent-proof--page) {
  padding-top: 96px;
  padding-bottom: 96px;
}

/* FAQ on Home follows the grey "why" band, so it sits on white */
.ent-faq-home {
  background: #fff;
}

@media (max-width: 1024px) {
  .ent-cases {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .ent-proof:not(.ent-proof--page) {
    padding-top: 72px;
    padding-bottom: 72px;
  }
}

/* Split sections and the case-study row sit on the 3-column grid:
   left = 1 column (384px), right = 2 columns (792px), 24px gutter */
.ent-cases,
.section13-text,
.ent-team,
.section16 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--ent-gutter-col);
}

.ent-feature { grid-column: 1 / span 2; }
.ent-cases__side { grid-column: 3; }

.section13-tag,
.section13-title { grid-column: 1; }
.section13-desc { grid-column: 2 / span 2; }

.ent-team__intro { grid-column: 1; }
.ent-team__people { grid-column: 2 / span 2; }

.section16-header { grid-column: 1; }
.section16-content { grid-column: 2 / span 2; }

@media (max-width: 1024px) {
  .ent-cases {
    grid-template-columns: 1fr;
  }

  .ent-feature,
  .ent-cases__side {
    grid-column: auto;
  }
}

@media (max-width: 900px) {
  .section13-text,
  .ent-team,
  .section16 {
    grid-template-columns: 1fr;
  }

  .section13-tag,
  .section13-title,
  .section13-desc,
  .ent-team__intro,
  .ent-team__people,
  .section16-header,
  .section16-content {
    grid-column: 1;
  }

  .section13-desc {
    grid-row: 3;
  }
}

/* FAQ heading block stays compact at the top of its column */
.section16-header {
  align-self: start;
  justify-content: flex-start;
  gap: 0;
  height: auto;
}

.section16-header .section16-tag {
  margin-bottom: 16px;
}

.section16-header .section16-title {
  margin: 0;
}

/* ==========================================================================
   Home order: hero / logos / services / numbers / why / process / cases /
   certifications / FAQ / CTA - backgrounds alternate navy, white, grey
   ========================================================================== */

/* Client logos: slim band right under the hero */
.ent-logobar {
  padding: 56px 0;
  background: #fff;
  box-shadow: inset 0 -1px 0 var(--line);
}

.ent-logobar .ent-logos__label {
  margin: 0 0 32px;
}

/* Numbers: a navy statement band */
.ent-numbers {
  padding: 96px 0;
  background:
    radial-gradient(circle at 85% 0%, rgba(241, 91, 64, 0.16), transparent 45%),
    var(--ink);
  color: #fff;
}

.ent-stats--dark .ent-stat__value {
  color: #fff;
  font-size: clamp(40px, 4vw, 56px);
}

.ent-stats--dark .ent-stat__title {
  color: #fff;
}

.ent-stats--dark .ent-stat__label {
  color: rgba(255, 255, 255, 0.65);
}

.ent-stats--dark .ent-stat + .ent-stat::before {
  background: rgba(255, 255, 255, 0.14);
}

/* Section head with a short line on the right */
.ent-head__aside {
  max-width: 384px;
  margin: 0;
  color: var(--ent-muted);
  font-size: 16px;
  line-height: 1.6;
}

@media (max-width: 640px) {
  .ent-logobar {
    padding: 48px 0;
  }

  .ent-numbers {
    padding: 72px 0;
  }

  .ent-stats--dark .ent-stat:nth-child(odd)::before {
    content: none;
  }
}

/* Case studies: three identical cards on the 3-column grid */
.ent-cases--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ent-cases--three .ent-feature {
  grid-column: auto;
  padding: 32px;
}

.ent-cases--three .ent-feature__title {
  font-size: 22px;
  line-height: 1.3;
}

.ent-cases--three .ent-feature__metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ent-cases--three .ent-feature__metrics dt {
  font-size: 30px;
}

@media (max-width: 1024px) {
  .ent-cases--three {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .ent-cases--three .ent-feature__metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* same metric block height in every card, so the result rows line up */
.ent-cases--three .ent-feature__metrics {
  min-height: 132px;
  align-content: start;
}

/* ==========================================================================
   Home consistency pass
   ========================================================================== */

/* every section heading on one size */
.section16-title {
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.015em;
}

/* one button height */
.ent-btn--sm {
  min-height: 52px;
}

/* hero copy spans 2 of the 3 grid columns, the visual 1: headline fits in 3 lines */
.ent-hero__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--ent-gutter-col);
  min-height: 0;
  padding-top: 64px;
  padding-bottom: 64px;
}

.ent-hero__copy {
  grid-column: 1 / span 2;
}

.ent-hero__visual {
  grid-column: 3;
}

.ent-hero__visual img {
  max-width: 384px;
}

.ent-hero__sub {
  max-width: 600px;
}

/* logo band slimmer so it lands inside the first screen */
.ent-logobar {
  padding: 40px 0;
}

.ent-logobar .ent-logos__label {
  margin-bottom: 24px;
}

@media (max-width: 1024px) {
  .ent-hero__grid {
    grid-template-columns: 1fr;
  }

  .ent-hero__copy {
    grid-column: 1;
  }
}

.ent-cta__title {
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.015em;
}

/* footer office line in the same typeface as the email lines */
.footer-contact li {
  font-family: "Inter", sans-serif;
}

/* ---------- Booking modal (HubSpot meetings) ---------- */
.booking-open,
.booking-open body {
  overflow: hidden;
}

.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.booking-modal[hidden] {
  display: none;
}

.booking-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 25, 30, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.booking-modal__dialog {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(960px, 100%);
  height: min(760px, calc(100vh - 48px));
  overflow: hidden;
  border-radius: var(--ent-radius);
  background: #fff;
  box-shadow: 0 32px 80px rgba(14, 25, 30, 0.35);
  animation: booking-in 0.2s ease-out;
}

@keyframes booking-in {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.booking-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
}

.booking-modal__title {
  margin: 0;
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 20px;
  font-weight: 700;
}

.booking-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.booking-modal__close:hover {
  border-color: var(--brand);
  color: var(--brand-strong);
}

.booking-modal__body {
  position: relative;
  flex: 1;
}

.booking-modal__loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  color: var(--ent-muted);
  font-size: 15px;
}

.booking-modal__frame {
  position: relative;
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.booking-modal.is-loaded .booking-modal__frame {
  opacity: 1;
}

.booking-modal.is-loaded .booking-modal__loading {
  display: none;
}

@media (max-width: 640px) {
  .booking-modal {
    padding: 0;
  }

  .booking-modal__dialog {
    width: 100%;
    height: 100%;
    border-radius: 0;
  }
}

/* HubSpot draws the calendar 15px below the top of its frame and lets it run to the bottom;
   the same 15px below it keeps the calendar centred between the divider and the modal edge */
.booking-modal__body {
  padding-bottom: 15px;
}

/* exact fit for the HubSpot calendar: 73px header + 15px + 674px calendar + 15px */
.booking-modal__dialog {
  height: min(777px, calc(100vh - 48px));
}

/* ---------- Footer on the shared 4-column grid (282px, 24px gutter) ---------- */
@media (min-width: 1025px) {
  .footer-inner {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: var(--ent-gutter-col);
  }
}

.site-footer {
  padding-top: 96px;
}

.footer-brand .footer-desc {
  max-width: none;
}

/* bottom row: copyright and legal links on one baseline, equal space above and below */
.footer-bottom {
  align-items: center;
  margin-top: 64px;
  padding: 32px 0;
}

.footer-bottom p,
.footer-links,
.footer-links a {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 20px;
}

.footer-links {
  display: flex;
  gap: 32px;
}

.footer-bottom {
  border-top: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

@media (max-width: 640px) {
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-top: 48px;
    padding: 32px 0;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 12px 24px;
  }

  .site-footer {
    padding-top: 72px;
    padding-bottom: 0;
  }
}

/* ==========================================================================
   Footer: four equal columns on the 282px grid, every column starts
   on the same line and holds a similar amount of content
   ========================================================================== */
.ent-footer {
  padding: 96px 0 0;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  font-family: "Inter", sans-serif;
}

.ent-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: var(--ent-gutter-col);
  row-gap: 48px;
  align-items: start;
}

/* the logo and the column headings share one top line and one height */
.ent-footer__logo,
.ent-footer__title {
  display: flex;
  align-items: center;
  height: 32px;
  margin: 0 0 24px;
}

.ent-footer__logo img {
  display: block;
  width: auto;
  height: 32px;
}

.ent-footer__title {
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ent-footer__desc {
  max-width: 282px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.6;
}

.ent-footer__social {
  display: flex;
  gap: 12px;
  margin: 0;
}

.ent-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.ent-footer__social a:hover {
  border-color: var(--brand);
  background: rgba(241, 91, 64, 0.12);
}

.ent-footer__social svg {
  width: 16px;
  height: 16px;
}

.ent-footer__col ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ent-footer a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  transition: color 0.2s ease;
}

.ent-footer a:hover {
  color: #FF8A70;
}

.ent-footer__col li a {
  font-size: 15px;
  line-height: 24px;
}

.ent-footer__contact {
  display: grid;
  gap: 12px;
  margin: 0 0 20px;
}

.ent-footer__contact dt {
  color: #FF8A70;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 16px;
  text-transform: uppercase;
}

.ent-footer__contact dd {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  line-height: 24px;
}

.ent-footer__book {
  font-size: 15px;
}

.ent-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 72px;
  padding: 32px 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.ent-footer__bottom p,
.ent-footer__legal a {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 20px;
}

.ent-footer__legal {
  display: flex;
  gap: 32px;
}

@media (max-width: 1024px) {
  .ent-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .ent-footer {
    padding-top: 72px;
  }

  .ent-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 40px;
  }

  .ent-footer__brand,
  .ent-footer__grid > .ent-footer__col:last-child {
    grid-column: 1 / -1;
  }

  .ent-footer__desc {
    max-width: none;
  }

  .ent-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-top: 48px;
  }

  .ent-footer__legal {
    flex-wrap: wrap;
    gap: 12px 24px;
  }
}

.ent-footer .ent-footer__book {
  color: #FF8A70;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.ent-footer .ent-footer__book:hover {
  color: #fff;
}

/* ==========================================================================
   Service pages: same section system as Home and About
   ========================================================================== */
.ent-split {
  background: #fff;
}

.ent-split.ent-split--alt {
  background: var(--ent-alt);
}

.ent-split .section16-header .ent-eyebrow {
  margin-bottom: 16px;
}

.ent-split .section16-header .ent-lead {
  margin-top: 16px;
}

/* six process steps: 3 x 2 on the 384px columns */
.ent-steps--grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  row-gap: 48px;
}

.ent-steps--grid .ent-step:nth-child(-n + 3) {
  border-top-color: var(--line);
}

.ent-steps--grid .ent-step:first-child {
  border-top-color: var(--brand);
}

/* case study: one wide card, story left (2 cols), results right (1 col) */
.ent-case-wide {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--ent-gutter-col);
  align-items: stretch;
  padding: 40px;
}

.ent-case-wide__main {
  grid-column: 1 / span 2;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ent-case-wide__main .ent-link {
  margin-top: auto;
}

.ent-case-wide .ent-feature__metrics {
  grid-column: 3;
  grid-template-columns: 1fr;
  align-content: center;
  margin: 0;
  padding: 0 0 0 var(--ent-gutter-col);
  border-top: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

/* service hero copy spans two grid columns */
.ent-pagehero .advisor-service-copy {
  max-width: 792px;
}

@media (max-width: 1024px) {
  .ent-steps--grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ent-case-wide {
    grid-template-columns: 1fr;
  }

  .ent-case-wide__main,
  .ent-case-wide .ent-feature__metrics {
    grid-column: 1;
  }

  .ent-case-wide .ent-feature__metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 24px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }
}

@media (max-width: 640px) {
  .ent-steps--grid {
    grid-template-columns: 1fr;
    row-gap: 32px;
  }

  .ent-case-wide {
    padding: 24px;
  }
}

/* ---------- Products: three equal cards on the 384px columns ---------- */
.ent-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--ent-gutter-col);
  align-items: stretch;
}

.ent-product {
  display: flex;
  flex-direction: column;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--ent-radius);
  background: #fff;
}

.ent-product__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 40px;
  margin-bottom: 24px;
}

.ent-product__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.ent-product__logo img {
  display: block;
  height: 28px;
  width: auto;
}

.ent-product__logo--stoa img {
  height: 40px;
}

.ent-product__logo--stoa span {
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.ent-product__logo small {
  align-self: flex-end;
  color: var(--ent-muted);
  font-size: 12px;
  line-height: 1;
}

.ent-product__category {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--ent-alt);
  color: var(--ent-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ent-product__title {
  margin: 0 0 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
}

.ent-product__desc {
  min-height: calc(4 * 1.6em);
  margin: 0 0 24px;
  color: var(--ent-muted);
  font-size: 16px;
  line-height: 1.6;
}

.ent-product__features {
  display: grid;
  gap: 10px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}

.ent-product__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
}

.ent-product__check {
  flex: 0 0 16px;
  color: var(--brand-strong);
}

.ent-product__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
}

.ent-product__actions .ent-btn {
  font-size: 17px;
}

/* the header label on dark backgrounds */
.section11 .ent-eyebrow--dark {
  padding: 0;
  background: none;
  font-size: 13px;
}

@media (max-width: 1024px) {
  .ent-products {
    grid-template-columns: 1fr;
    max-width: 600px;
  }
}

@media (max-width: 640px) {
  .ent-product {
    padding: 24px;
  }

  .ent-product__actions {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
}

/* every card row (top, title, description, features, actions) lines up across the three cards */
@supports (grid-template-rows: subgrid) {
  .ent-products {
    grid-template-rows: repeat(5, auto);
    row-gap: 0;
  }

  .ent-product {
    display: grid;
    grid-row: span 5;
    grid-template-rows: subgrid;
  }

  .ent-product__desc {
    min-height: 0;
  }

  .ent-product__actions {
    align-self: end;
  }

  @media (max-width: 1024px) {
    .ent-products {
      grid-template-rows: none;
      row-gap: var(--ent-gutter-col);
    }

    .ent-product {
      display: flex;
      grid-row: auto;
    }
  }
}

@media (max-width: 640px) {
  .ent-products {
    max-width: none;
  }

  .ent-product__top {
    flex-wrap: wrap;
    height: auto;
    row-gap: 12px;
  }
}

.ent-product__logo small {
  white-space: nowrap;
}

/* product cards never grow wider than their column */
.ent-products > *,
.ent-product > * {
  min-width: 0;
}

.ent-product__top {
  flex-wrap: wrap;
  height: auto;
  min-height: 40px;
  row-gap: 12px;
}

.ent-product__category {
  white-space: normal;
}

.ent-product__by {
  margin-left: 6px;
  color: var(--ent-muted);
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
}

/* product cards: logo row, then category eyebrow, then name (6 aligned rows) */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 1025px) {
    .ent-products {
      grid-template-rows: repeat(6, auto);
    }

    .ent-product {
      grid-row: span 6;
    }
  }
}

.ent-product__top {
  flex-wrap: nowrap;
  height: 40px;
  margin-bottom: 24px;
  padding-bottom: 0;
}

.ent-product .ent-product__category {
  display: block;
  margin: 0 0 8px;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: none;
  color: var(--brand-strong);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  white-space: normal;
}

.ent-product__title {
  padding-top: 0;
  border-top: 0;
}

.ent-product__actions .ent-link {
  white-space: nowrap;
}

@media (max-width: 1200px) {
  .ent-product__actions .ent-btn {
    padding: 0 20px;
    font-size: 16px;
  }
}

@media (max-width: 1279px) {
  .ent-product__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    text-align: center;
  }
}

/* actions stacked at every width: identical in every card and language */
.ent-product__actions {
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  text-align: center;
}

.ent-product__actions .ent-btn {
  width: 100%;
}

/* list keeps its own spacing even when the row is taller in a neighbouring card */
.ent-product__features {
  align-content: start;
}

/* ==========================================================================
   Case-study / product detail template (9 pages): same system as the site
   ========================================================================== */
.case-study__hero {
  padding-top: 96px;
  padding-bottom: 168px;
}

.case-study__content {
  padding: 0 !important;
}

/* every block = one full-width band, content on the 1200px grid, backgrounds alternate */
.case-study__content > section {
  margin: 0;
  padding: 112px max(24px, calc((100% - var(--ent-width)) / 2));
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: #fff;
}

.case-study__content > section:nth-of-type(even) {
  background: var(--ent-alt);
}

.case-study__content > section::before,
.case-study__section::before {
  content: none !important;
  display: none !important;
}

.case-study__content > section:first-child {
  padding-top: 112px;
}

/* headings */
.case-study__section-heading,
.case-study__story-block {
  max-width: none;
}

.case-study__section-heading h2,
.case-study__story-block h2,
.case-study__cta h2 {
  color: var(--ink);
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.015em;
}

.case-study__section-heading {
  margin-bottom: 56px;
}

.case-study__kicker,
.case-study__section-heading > p:first-child {
  color: var(--brand-strong);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* stat panel overlapping the hero: 4 x 282 on the grid */
.case-study__metrics {
  width: min(var(--ent-width), calc(100% - 48px));
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--ent-gutter-col);
  padding: 40px 0;
  border-radius: var(--ent-radius);
}

.case-study__metric {
  position: relative;
  padding: 0 24px;
}

.case-study__metric + .case-study__metric::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--ent-gutter-col) / -2);
  width: 1px;
  background: var(--line);
}

.case-study__metric strong {
  color: var(--ink);
}

/* overview: 4 equal cards */
.case-study__overview-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--ent-gutter-col);
}

.case-study__overview-item {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--ent-radius);
  background: #fff;
  box-shadow: none;
}

.case-study__overview-item h3 {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.3;
}

/* story: two equal halves of the grid */
.case-study__story-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--ent-gutter-col);
  padding: 0;
}

section.case-study__story-grid {
  padding-top: 112px;
  padding-bottom: 112px;
}

.case-study__story-block {
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: var(--ent-radius);
  background: #fff;
  box-shadow: none;
}

.case-study__story-block--accent {
  border-color: var(--ink);
  background: var(--ink);
}

.case-study__story-block--accent h2 {
  color: #fff;
}

.case-study__story-block--accent .case-study__kicker {
  color: #FF8A70;
}

/* steps: same as the process rows on Home */
.case-study__steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--ent-gutter-col);
}

.case-study__step {
  padding: 24px 0 0;
  border: 0;
  border-top: 2px solid var(--line);
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.case-study__step:first-child {
  border-top-color: var(--brand);
}

.case-study__step > span {
  display: block;
  width: auto;
  height: auto;
  margin-bottom: 16px;
  padding: 0;
  border-radius: 0;
  background: none;
  color: var(--brand-strong);
  font-family: "Space Grotesk", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.case-study__step h3 {
  color: var(--ink);
  font-size: 20px;
}

/* gallery: two equal halves */
.case-study__image-pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--ent-gutter-col);
}

/* closing call to action: a navy band like the rest of the site */
.case-study__content > section.case-study__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-top: 96px;
  padding-bottom: 96px;
  background:
    radial-gradient(circle at 90% 120%, rgba(241, 91, 64, 0.22), transparent 45%),
    var(--ink);
}

.case-study__cta h2 {
  color: #fff;
}

@media (max-width: 1024px) {
  .case-study__metrics,
  .case-study__overview-grid,
  .case-study__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 32px;
  }

  .case-study__metric:nth-child(odd)::before {
    content: none;
  }

  .case-study__story-grid,
  .case-study__image-pair {
    grid-template-columns: 1fr;
  }

  .case-study__content > section.case-study__cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .case-study__content > section,
  section.case-study__story-grid {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .case-study__overview-grid,
  .case-study__steps {
    grid-template-columns: 1fr;
  }

  .case-study__story-block {
    padding: 24px;
  }
}

.case-study__metrics {
  border: 0;
  box-shadow: 0 0 0 1px var(--line), 0 16px 40px rgba(14, 25, 30, 0.08);
}

.case-study {
  background: #fff;
}

.case-study__step {
  min-height: 0;
  height: auto;
}

.case-study__content > section.case-study__cta {
  margin: 0 !important;
}

.case-study__content > section:last-child {
  margin-bottom: 0 !important;
}

.case-study__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 17px;
  font-weight: 700;
}

.case-study__button--primary {
  background: var(--cta-bg);
  color: #fff;
}

.case-study__button--primary:hover {
  background: var(--cta-bg-hover);
}

.case-study__button--secondary {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
}

.case-study__content {
  gap: 0 !important;
  row-gap: 0 !important;
}

/* ==========================================================================
   Product detail pages: hero (text | screenshot), numbers, features,
   steps, best fit (list | screenshot), CTA
   ========================================================================== */
.ent-producthero__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--ent-gutter-col);
  align-items: center;
}

.ent-producthero__brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 8px 0 24px;
}

.ent-producthero .ent-product__logo {
  padding: 8px 14px 8px 8px;
  border-radius: 12px;
  background: #fff;
}

.ent-producthero .ent-product__logo:not(.ent-product__logo--stoa) {
  padding: 12px 16px;
}

.ent-producthero__category {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ent-producthero__title {
  margin: 0 0 20px;
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(34px, 3.6vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.ent-producthero__intro {
  margin: 0 0 32px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 1.6;
}

.ent-producthero__shot,
.ent-fit__shot {
  margin: 0;
  overflow: hidden;
  border-radius: var(--ent-radius);
  background: #fff;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.35);
}

.ent-producthero__shot img,
.ent-fit__shot img {
  display: block;
  width: 100%;
  height: auto;
}

.ent-proof--product {
  padding: 64px 0;
}

.ent-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ent-grid--4 .ent-card .ent-step__num {
  margin-bottom: 8px;
}

/* best fit: list on 1 column, screenshot on 2 */
.ent-fit {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--ent-gutter-col);
  align-items: center;
}

.ent-fit__copy {
  grid-column: 1;
}

.ent-fit__shot {
  grid-column: 2 / span 2;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(14, 25, 30, 0.1);
}

.ent-fit__list {
  display: grid;
  gap: 16px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.ent-fit__list li {
  display: flex;
  gap: 12px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
}

.ent-fit__list svg {
  flex: 0 0 16px;
  margin-top: 4px;
  color: var(--brand-strong);
}

@media (max-width: 1024px) {
  .ent-producthero__grid,
  .ent-fit {
    grid-template-columns: 1fr;
  }

  .ent-fit__copy,
  .ent-fit__shot {
    grid-column: 1;
  }

  .ent-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .ent-proof--product {
    padding: 48px 0;
  }
}

a.ent-eyebrow {
  text-decoration: none;
}

a.ent-eyebrow:hover {
  color: #fff;
}


/* headings promoted from h3 to h2 for a correct outline keep their look */
/* TEXT STYLE */ .usecase-showcase__card h2 {
  color: var(--ink);
  margin: 0 0 10px 0;
  font-weight: 500;
  font-size: 36px;
  font-family: "Space Grotesk", sans-serif;
  line-height: 40px;
}
.usecase-showcase__card h2 {
    font-size: 28px;
  }
.career-card h2 {
  font-weight: 600;
  font-size: 32px;
  margin: 0;
}
.career-card h2 {
    font-size: 26px;
  }
 .advisory-grid .service-card h2,  .usecase-showcase__card h2 {
  font-size: 24px;
  line-height: 1.25;
  font-weight: 700;
}

/* ---------- Compact product pages (no screenshots) ---------- */
.ent-producthero__grid {
  grid-template-columns: minmax(0, 1fr);
}

.ent-producthero__copy {
  max-width: 792px;
}

.ent-producthero {
  padding-top: 88px;
  padding-bottom: 88px;
}

.ent-producthero__intro {
  max-width: 588px;
}

/* how it works + built for: two equal halves of the grid */
.ent-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--ent-gutter-col);
  align-items: stretch;
}

.ent-duo__col--card {
  padding: 40px;
  border-radius: var(--ent-radius);
  background: var(--ent-alt);
}

.ent-title--sm {
  font-size: clamp(26px, 2.4vw, 32px);
}

.ent-duo .ent-eyebrow {
  display: block;
}

.ent-steps--list {
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 32px;
}

.ent-steps--list .ent-step {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  column-gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.ent-steps--list .ent-step:first-child {
  border-top: 1px solid var(--line);
}

.ent-steps--list .ent-step__num {
  grid-row: span 2;
  margin: 2px 0 0;
}

.ent-steps--list .ent-step__title {
  margin-bottom: 4px;
  font-size: 18px;
}

.ent-steps--list .ent-step__text {
  font-size: 15px;
}

.ent-duo .ent-fit__list {
  margin-top: 32px;
}

@media (max-width: 1024px) {
  .ent-duo {
    grid-template-columns: 1fr;
    row-gap: 48px;
  }
}

@media (max-width: 640px) {
  .ent-producthero {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .ent-duo__col--card {
    padding: 24px;
  }
}

/* both halves start their heading on the same line */
.ent-duo__col:not(.ent-duo__col--card) {
  padding-top: 40px;
}

@media (max-width: 1024px) {
  .ent-duo__col:not(.ent-duo__col--card) {
    padding-top: 0;
  }
}

/* ---------- Product pages: plain-language hero with illustration ---------- */
.ent-producthero__grid--ill {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--ent-gutter-col);
  align-items: center;
}

.ent-producthero__grid--ill .ent-producthero__copy {
  max-width: none;
}

.ent-producthero__for {
  margin: -16px 0 32px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
}

.ent-producthero__for strong {
  margin-left: 6px;
  color: #fff;
  font-weight: 600;
}

.ent-producthero__ill {
  margin: 0;
}

.ent-producthero__ill img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 1024px) {
  .ent-producthero__grid--ill {
    grid-template-columns: 1fr;
  }

  .ent-producthero__ill {
    max-width: 520px;
  }
}

/* ---------- Case studies list: six identical cards, rows aligned ---------- */
.ent-casegrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--ent-gutter-col);
}

.ent-casecard {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--ent-radius);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ent-casecard:hover {
  border-color: rgba(241, 91, 64, 0.55);
  box-shadow: 0 16px 40px rgba(14, 25, 30, 0.08);
  color: var(--ink);
}

.ent-casecard__logo {
  display: flex;
  align-items: center;
  height: 56px;
  margin-bottom: 24px;
}

/* sizes are set per logo (equal visual weight) through width/height attributes */
.ent-casecard__logo img {
  max-width: 100%;
  object-fit: contain;
}

.ent-casecard__client {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--brand-strong);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ent-casecard__title {
  margin: 8px 0 24px;
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.ent-casecard__metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 16px;
  margin: 0 0 24px;
}

.ent-casecard__metrics dt {
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
}

.ent-casecard__metrics dd {
  margin: 4px 0 0;
  color: var(--ent-muted);
  font-size: 14px;
  line-height: 1.45;
}

.ent-casecard .ent-link {
  margin-top: auto;
}

/* rows line up across cards in the same row */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 1025px) {
    .ent-casegrid {
      grid-template-rows: repeat(2, repeat(5, auto));
      grid-auto-rows: auto;
      row-gap: 0;
    }

    .ent-casecard {
      display: grid;
      grid-row: span 5;
      grid-template-rows: subgrid;
      margin-bottom: var(--ent-gutter-col);
    }

    .ent-casecard .ent-link {
      align-self: end;
    }
  }
}

@media (max-width: 1024px) {
  .ent-casegrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .ent-casecard {
    padding: 24px;
  }
}

/* ---------- Case study page: hero facts, story columns, results ---------- */
.ent-casehero__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--ent-gutter-col);
  align-items: center;
}

.ent-casehero .advisor-service-kicker {
  display: inline-block;
  text-decoration: none;
}

.ent-casehero .advisor-service-kicker:hover {
  color: #fff;
}

.ent-casefacts {
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--ent-radius);
  background: rgba(255, 255, 255, 0.04);
}

.ent-casefacts__client {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.ent-casefacts__logo {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 112px;
  height: 72px;
  padding: 12px;
  border-radius: 12px;
  background: #fff;
}

.ent-casefacts__logo img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
}

.ent-casefacts__name {
  margin: 0 0 4px;
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
}

.ent-casefacts__meta {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 1.5;
}

.ent-casefacts__list {
  margin: 0;
}

.ent-casefacts__list > div {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.ent-casefacts__list > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.ent-casefacts__list dt {
  color: #FF8A70;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.9;
  text-transform: uppercase;
}

.ent-casefacts__list dd {
  margin: 0;
  color: #fff;
  font-size: 16px;
  line-height: 1.5;
}

.ent-casestory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--ent-gutter-col);
}

.ent-casestory__item {
  min-width: 0;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: var(--ent-radius);
  background: #fff;
}

.ent-casestory__title {
  margin: 12px 0 16px;
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
}

.ent-casestory__text {
  margin: 0 0 12px;
  color: var(--ent-muted);
  font-size: 16px;
  line-height: 1.65;
}

.ent-casestory__text:last-child {
  margin-bottom: 0;
}

.ent-checks,
.ent-tags {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.ent-checks li {
  position: relative;
  padding: 12px 0 12px 32px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
}

.ent-checks li:first-child {
  border-top: 0;
}

.ent-checks li::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.6 2.5L13 6.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}

.ent-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ent-tags li {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--ent-alt);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}

.ent-cta__actions--stack {
  align-items: stretch;
}

@media (max-width: 1024px) {
  .ent-casehero__grid,
  .ent-casestory {
    grid-template-columns: 1fr;
  }

  .ent-casehero__grid {
    gap: 40px;
  }
}

@media (max-width: 640px) {
  .ent-casefacts,
  .ent-casestory__item {
    padding: 24px;
  }

  .ent-casefacts__list > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .ent-casestory__title {
    font-size: 24px;
  }
}

.ent-caseresults {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--ent-gutter-col);
  align-items: start;
}

.ent-caseresults__head .ent-title {
  margin-top: 12px;
}

.ent-caseresults__label {
  margin: 40px 0 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ent-caseresults__head .ent-tags li {
  background: #fff;
}

.ent-caseresults__list {
  padding: 16px 40px;
  border: 1px solid var(--line);
  border-radius: var(--ent-radius);
  background: #fff;
}

.ent-caseresults__list .ent-checks {
  margin: 0;
}

.ent-caseresults__list .ent-checks li {
  padding-top: 20px;
  padding-bottom: 20px;
}

.ent-caseresults__list .ent-checks li::before {
  top: 23px;
}

@media (max-width: 1024px) {
  .ent-caseresults {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 640px) {
  .ent-caseresults__list {
    padding: 8px 24px;
  }
}

/* case titles are full sentences: section-title scale keeps the hero compact */
.ent-casehero .advisor-service-title {
  font-size: clamp(32px, 3.1vw, 44px);
  line-height: 1.15;
}

/* ---------- Blog list: category chips, text-only article cards ---------- */
.ent-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}

.ent-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.ent-chip:hover {
  border-color: var(--brand);
  color: var(--ink);
}

.ent-chip[aria-current="page"] {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.ent-chip__count {
  color: var(--ent-muted);
  font-size: 13px;
  font-weight: 600;
}

.ent-chip[aria-current="page"] .ent-chip__count {
  color: rgba(255, 255, 255, 0.65);
}

.ent-posts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--ent-gutter-col);
}

.ent-post {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: var(--ent-radius);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ent-post:hover {
  border-color: rgba(241, 91, 64, 0.55);
  box-shadow: 0 16px 40px rgba(14, 25, 30, 0.08);
  color: var(--ink);
}

.ent-post__meta {
  color: var(--brand-strong);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ent-post__title {
  margin: 12px 0 16px;
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
}

.ent-post__text {
  margin: 0 0 24px;
  color: var(--ent-muted);
  font-size: 16px;
  line-height: 1.65;
}

.ent-post .ent-link {
  margin-top: auto;
}

.ent-post--featured {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--ent-gutter-col);
  padding: 48px;
}

.ent-post__col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ent-post--featured .ent-post__title {
  margin-bottom: 0;
  font-size: 32px;
  line-height: 1.2;
}

.ent-post--featured .ent-post__text {
  font-size: 18px;
}

/* Subscribe band (blog) */
.ent-subscribe {
  padding: 96px 0;
  background:
    radial-gradient(circle at 90% 120%, rgba(241, 91, 64, 0.22), transparent 45%),
    var(--surface-dark);
  color: #fff;
}

.ent-subscribe__inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--ent-gutter-col);
  align-items: center;
}

.ent-subscribe .section10-form {
  display: flex;
  gap: 12px;
  width: 100%;
  max-width: none;
  margin: 0;
}

.ent-subscribe .section10-form input {
  flex: 1;
  min-width: 0;
  height: 52px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 16px;
}

.ent-subscribe .section10-form input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.ent-subscribe .section10-form button {
  flex-shrink: 0;
  height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  white-space: nowrap;
}

.ent-subscribe .section10-form button:hover {
  background: var(--brand-hover);
}

.ent-subscribe .section10-msg {
  min-height: 24px;
  margin: 12px 0 0 20px;
}

@media (max-width: 1024px) {
  .ent-subscribe__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 760px) {
  .ent-posts,
  .ent-post--featured {
    grid-template-columns: 1fr;
  }

  .ent-post--featured {
    gap: 0;
  }

  .ent-post--featured .ent-post__title {
    margin-bottom: 16px;
    font-size: 26px;
  }
}

@media (max-width: 640px) {
  .ent-post,
  .ent-post--featured {
    padding: 24px;
  }

  .ent-subscribe {
    padding: 72px 0;
  }

  .ent-subscribe .section10-form {
    flex-direction: column;
  }
}

/* ---------- Blog article: one centred reading column (8 of 12 columns) ---------- */
.ent-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ent-crumbs a {
  color: #FF8A70;
  text-decoration: none;
}

.ent-crumbs a:hover {
  color: #fff;
}

.ent-crumbs span {
  color: rgba(255, 255, 255, 0.4);
}

/* hero copy sits on the same centred axis as the article column */
.ent-articlehero .section11-content {
  width: 100%;
  max-width: 792px;
  margin-left: auto;
  margin-right: auto;
}

.ent-articlehero__meta {
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
}

.ent-article {
  max-width: 792px;
  margin: 0 auto;
}

.ent-article__h2 {
  margin: 56px 0 16px;
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
}

.ent-article__h2:first-child {
  margin-top: 0;
}

.ent-article__p,
.ent-article__body p {
  margin: 0 0 20px;
  color: #3A4652;
  font-size: 18px;
  line-height: 1.8;
}

@media (max-width: 640px) {
  .ent-article__h2 {
    margin-top: 40px;
    font-size: 24px;
  }

  .ent-article__p,
  .ent-article__body p {
    font-size: 17px;
  }
}

.ent-article__body p:last-child {
  margin-bottom: 0;
}

.ent-articlehero__note {
  margin: 12px 0 0;
  padding-left: 12px;
  border-left: 2px solid #FF8A70;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 1.5;
}

/* ==========================================================================
   Motion: light, smooth, never blocking content
   ========================================================================== */
:root {
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Scroll reveal (classes set by main.js only when motion is allowed) */
.motion-ready [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s var(--ease-out) var(--reveal-delay, 0ms),
    transform 0.6s var(--ease-out) var(--reveal-delay, 0ms);
}

.motion-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Page heroes rise in on load */
@keyframes ent-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.ent-hero__copy > *,
.ent-hero__visual,
.ent-producthero__grid > *,
.ent-pagehero .advisor-service-copy > *,
.ent-casefacts,
.section11-content > * {
  animation: ent-rise 0.7s var(--ease-out) both;
}

.ent-hero__copy > :nth-child(2),
.ent-pagehero .advisor-service-copy > :nth-child(2),
.section11-content > :nth-child(2) {
  animation-delay: 0.08s;
}

.ent-hero__copy > :nth-child(3),
.ent-pagehero .advisor-service-copy > :nth-child(3),
.section11-content > :nth-child(3) {
  animation-delay: 0.16s;
}

.ent-hero__copy > :nth-child(n + 4),
.ent-pagehero .advisor-service-copy > :nth-child(n + 4),
.section11-content > :nth-child(n + 4),
.ent-hero__visual,
.ent-producthero__grid > :nth-child(2),
.ent-casefacts {
  animation-delay: 0.24s;
}

/* Header settles with a soft shadow once the page scrolls */
.site-header {
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(14, 25, 30, 0.07);
}

/* Buttons: gentle lift */
.ent-btn,
.service-btn,
.join-btn {
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s var(--ease-out),
    box-shadow 0.2s ease;
}

.ent-btn:hover,
.service-btn:hover,
.join-btn:hover {
  transform: translateY(-1px);
}

.ent-btn--primary:hover,
.service-btn:not(.advisor-service-secondary):hover {
  box-shadow: 0 10px 24px rgba(241, 91, 64, 0.28);
}

.ent-btn:active,
.service-btn:active {
  transform: none;
}

/* Linked cards lift slightly; their arrow nudges forward */
.ent-casecard,
.ent-post,
.ent-card--link,
.ent-case-card,
.ent-chip {
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s var(--ease-out),
    background-color 0.25s ease,
    color 0.25s ease;
}

.ent-casecard:hover,
.ent-post:hover,
.ent-card--link:hover,
.ent-case-card:hover {
  transform: translateY(-4px);
}

.ent-link::after {
  display: inline-block;
  transition: transform 0.25s var(--ease-out);
}

.ent-link:hover::after,
.ent-casecard:hover .ent-link::after,
.ent-post:hover .ent-link::after,
.ent-card--link:hover .ent-link::after,
.ent-case-card:hover .ent-link::after {
  transform: translateX(4px);
}

/* FAQ answers open smoothly */
.faq-item .faq-answer {
  transition: opacity 0.3s ease;
}

@media (prefers-reduced-motion: reduce) {
  .motion-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .ent-casecard:hover,
  .ent-post:hover,
  .ent-card--link:hover,
  .ent-case-card:hover,
  .ent-btn:hover,
  .service-btn:hover {
    transform: none;
  }
}
