/* Rikkei Digital — consolidated site styles. */
/* Foundations, shared components, page components, then responsive overrides. */
body {
  margin: 0;
}

/* Contact submission confirmation modal. */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}
.modal[hidden] {
  display: none !important;
}
.modal--open {
  opacity: 1;
  pointer-events: auto;
}
.modal__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  cursor: pointer;
}
.modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25);
  transform: translateY(20px) scale(0.98);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal--open .modal__dialog {
  transform: translateY(0) scale(1);
}
.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #303236;
  background: transparent;
  font: inherit;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.modal__close:hover {
  background: rgba(0, 0, 0, 0.06);
  transform: rotate(90deg);
}
.thankyou-modal__dialog {
  max-width: 520px;
  padding: 48px 40px 36px;
  text-align: center;
}
.thankyou-modal__content {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.thankyou-modal__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin-bottom: 24px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.35);
  animation: thankyou-icon-pop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
@keyframes thankyou-icon-pop {
  0% { transform: scale(0) rotate(-45deg); opacity: 0; }
  70% { transform: scale(1.15) rotate(10deg); opacity: 1; }
  100% { transform: scale(1) rotate(0); opacity: 1; }
}
.thankyou-modal__title {
  margin: 0 0 12px;
  color: #303236;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.3;
}
.thankyou-modal__subtitle {
  max-width: 440px;
  margin: 0 0 24px;
  color: #73777d;
  font-size: 15px;
  line-height: 1.6;
}
.thankyou-modal__subtitle strong {
  color: #303236;
}
.thankyou-modal__info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 24px;
  padding: 16px 20px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  text-align: left;
}
.thankyou-modal__info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #303236;
  font-size: 14px;
}
.thankyou-modal__info-item svg {
  flex-shrink: 0;
  color: #059669;
}
.thankyou-modal__btn {
  width: 100%;
  max-width: 220px;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(136, 21, 80, 0.25);
}
@media (max-width: 600px) {
  .thankyou-modal {
    padding: 16px;
  }
  .thankyou-modal__dialog {
    max-height: 90vh;
    padding: 36px 20px 28px;
    border-radius: 20px;
  }
  .thankyou-modal__icon {
    width: 68px;
    height: 68px;
  }
  .thankyou-modal__title {
    font-size: 22px;
  }
  .thankyou-modal__info {
    padding: 14px 16px;
  }
}
a {
  color: #b92329;
}
a:hover {
  color: #8e171c;
}
[data-frame] > img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
}
[data-frame="contain"] > img {
  object-fit: contain !important;
}
[data-frame="logo"] > img {
  object-fit: contain !important;
  object-position: left center !important;
}
@media (max-width: 1319px) {
  #journey-steps h3 {
    font-size: 15px !important;
  }
}
@media (max-width: 1249px) {
  #journey-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 760px) {
  #journey-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  #journey-steps h3 {
    white-space: normal !important;
  }
}
@media (max-width: 480px) {
  #journey-steps {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}
:where(
    body[data-page="blog-chi-tiet"],
    body[data-page="blog"],
    body[data-page="case-studies"],
    body[data-page="case-study-chi-tiet"],
    body[data-page="dich-vu"],
    body[data-page="index"],
    body[data-page="su-kien-tin-tuc"],
    body[data-page="ve-chung-toi"]
  )
  #hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(90, 6, 12, 0.55) 0%,
    rgba(90, 6, 12, 0.25) 40%,
    rgba(90, 6, 12, 0) 60%
  );
  pointer-events: none;
}
h1,
h2,
h3,
h4,
blockquote {
  text-wrap: balance;
}
/* Keep headings within their column; let card titles fill lines naturally. */
body :is(h1, h2, h3, h4, h5, h6):not(:where(body[data-page="ve-chung-toi"] #hero *)) {
  min-width: 0;
  max-width: 100%;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: none;
}
body :is(h3, h4, h5, h6):not(:where(body[data-page="ve-chung-toi"] #hero *)) {
  text-wrap: pretty;
}
p,
li,
figcaption {
  text-wrap: pretty;
}
:where(body[data-page="dich-vu"]) .hero-full::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(90, 6, 12, 0.55) 0%,
    rgba(90, 6, 12, 0.25) 40%,
    rgba(90, 6, 12, 0) 60%
  );
  pointer-events: none;
}

/* 1. Design tokens and shared interactions */
:root {
  --brand: #b92329;
  --brand-dark: #8e171c;
  --ink: #303437;
  --ink-2: #393939;
  --muted: #616161;
  --line: #eceaf2;
  --soft: #fff0f1;
  /* --grad: linear-gradient(113.57deg,#a91f24 0%,#881550 60%,rgba(148,16,43,.81) 100%); */
  --grad: linear-gradient(135deg, #b92329 0%, #8e171c 100%);
  --hdr-h: 100px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--hdr-h) + 12px);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
    animation: none !important;
  }
}
body {
  margin: 0;
  background: #ffffff;
  color: var(--ink);
  font-family: "Montserrat", "Noto Sans", Arial, sans-serif;
  overflow-x: hidden;
}
img {
  max-width: 100%;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--brand);
  color: #fff !important;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 12px;
}
.hdr-spacer {
  height: var(--hdr-h);
}
main {
  display: block;
}
/* ---------- Header (monday.rikkei.digital spec) ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 10px 55px;
  padding-left: max(55px, env(safe-area-inset-left, 0px));
  padding-right: max(55px, env(safe-area-inset-right, 0px));
  padding-top: calc(10px + env(safe-area-inset-top, 0px));
  transition: transform 0.3s var(--ease);
}
.site-header__inner {
  max-width: 1320px;
  margin: 0 auto;
}
.navbar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 40px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(46, 10, 12, 0.12);
  transition:
    background 0.25s,
    box-shadow 0.25s;
}
.site-header.is-scrolled .navbar {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 30px rgba(46, 10, 12, 0.14);
}
.site-header.is-hidden {
  transform: translateY(-110%);
}
.navbar__logo {
  display: block;
  flex: none;
  line-height: 0;
}
.navbar__logo img {
  height: 42px;
  width: auto;
  display: block;
}
.menu {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}
.menu__item {
  position: relative;
}
.menu__link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  background: none;
  border: 0;
  font-family: inherit;
  cursor: pointer;
}
.menu__link svg {
  transition: transform 0.2s;
}
.menu__link:hover,
.menu__item.is-current > .menu__link,
.menu__link[aria-current="page"] {
  color: var(--brand);
}
.menu__item.is-current > .menu__link::after,
.menu__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
}
.menu__item.is-open > .menu__link svg {
  transform: rotate(180deg);
}
.dd {
  position: absolute;
  top: calc(100% + 18px);
  left: -24px;
  min-width: 320px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 24px 48px rgba(46, 10, 12, 0.16);
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition:
    opacity 0.18s,
    transform 0.18s,
    visibility 0.18s;
}
.dd::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -20px;
  height: 20px;
}
.menu__item.is-open > .dd {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.dd a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--ink);
}
.dd a b {
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
}
.dd a small {
  font-size: 12px;
  line-height: 18px;
  color: var(--muted);
  font-weight: 500;
}
.dd a:hover,
.dd a:focus-visible {
  background: var(--soft);
}
.dd a:hover b,
.dd a[aria-current="page"] b {
  color: var(--brand);
}
.menu__cta {
  display: none !important;
}
.navbar__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.icon-btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid rgba(48, 52, 55, 0.12);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  cursor: pointer;
  padding: 0;
}
.icon-btn:hover {
  color: var(--brand);
  border-color: rgba(185, 35, 41, 0.35);
}
.lang-wrap {
  position: relative;
}
.lang-btn {
  height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(48, 52, 55, 0.12);
  background: rgba(255, 255, 255, 0.7);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}
.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 160px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(46, 10, 12, 0.14);
  padding: 6px;
  display: flex;
  flex-direction: column;
  z-index: 5;
}
.lang-menu button {
  all: unset;
  cursor: pointer;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.lang-menu button:hover,
.lang-menu button:focus-visible {
  background: var(--soft);
}
.lang-menu button[aria-checked="true"] {
  color: var(--brand);
}
.lang-menu button[aria-checked="true"]::after {
  content: " ✓";
}
.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 0;
  background: var(--brand);
  color: #fff;
  cursor: pointer;
  padding: 0;
}
.menu-toggle path {
  transition:
    transform 0.25s,
    opacity 0.2s;
  transform-origin: center;
}
.menu-toggle[aria-expanded="true"] .l1 {
  transform: translateY(5px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .l2 {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] .l3 {
  transform: translateY(-5px) rotate(-45deg);
}
/* ---------- Buttons: shared CTA variants and sizes ---------- */
.btn {
  --btn-bg: var(--grad);
  --btn-color: #ffffff;
  --btn-border: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  max-width: 100%;
  padding: 14px 28px;
  border: 2px solid var(--btn-border);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-color);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  cursor: pointer;
  touch-action: manipulation;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.btn--brand {
  --btn-bg: var(--grad);
  --btn-color: #ffffff;
}
.btn--outline {
  --btn-bg: transparent;
  --btn-color: var(--brand);
  --btn-border: var(--brand);
}
.btn--light {
  --btn-bg: #ffffff;
  --btn-color: var(--brand);
  --btn-border: #ffffff;
}
.btn--outline-light {
  --btn-bg: transparent;
  --btn-color: #ffffff;
  --btn-border: #ffffff;
}
.btn--small {
  min-height: 40px;
  padding: 8px 18px;
  font-size: 13px;
}
.btn--block {
  width: 100%;
}
.btn--icon,
.icon-btn {
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  flex-shrink: 0;
  border-radius: 50%;
}
.btn svg,
.icon-btn svg {
  flex-shrink: 0;
}
.btn:focus-visible,
.icon-btn:focus-visible,
[data-car-prev]:focus-visible,
[data-car-next]:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
}
.btn--outline-light:focus-visible,
.btn--light:focus-visible {
  outline-color: currentColor;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.4);
}
:is(.btn, .icon-btn, [data-car-prev], [data-car-next]):is(:disabled, [aria-disabled="true"]) {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.btn[aria-busy="true"] {
  cursor: progress;
  opacity: 0.7;
}
@media (hover: hover) {
  .btn:not(:disabled):not([aria-disabled="true"]):not([aria-busy="true"]):hover {
    color: var(--btn-color);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(142, 23, 28, 0.18);
  }
  .btn--brand:hover {
    --btn-bg: var(--brand-dark);
  }
  .btn--outline:hover {
    --btn-bg: var(--brand);
    --btn-color: #ffffff;
  }
  .btn--light:hover {
    --btn-bg: var(--soft);
    --btn-border: var(--soft);
  }
  .btn--outline-light:hover {
    --btn-bg: #ffffff;
    --btn-color: var(--brand);
  }
}
.btn:not(:disabled):not([aria-disabled="true"]):active {
  transform: translateY(0);
  box-shadow: none;
}
/* ---------- Search ---------- */
.search-panel {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(30, 10, 12, 0.45);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: calc(var(--hdr-h) + 8px) 16px 16px;
}
.search-panel__box {
  width: min(720px, 100%);
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
  padding: 16px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  max-height: calc(100vh - var(--hdr-h) - 40px);
  overflow: hidden;
}
.search-panel__field {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f7f7f7;
  color: #9c9c9c;
}
.search-panel__field input {
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  outline: none;
  width: 100%;
  min-width: 0;
}
.search-panel__box .icon-btn {
  width: 48px;
  height: 48px;
}
.search-panel__hint {
  grid-column: 1/-1;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.search-panel__hint button {
  all: unset;
  cursor: pointer;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--brand);
  font-weight: 600;
}
.search-results {
  grid-column: 1/-1;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.search-results a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--ink);
}
.search-results a:hover,
.search-results a.is-active {
  background: var(--soft);
}
.search-results b {
  font-size: 14px;
  line-height: 20px;
}
.search-results small {
  font-size: 12px;
  color: var(--muted);
}
.search-results mark {
  background: rgba(185, 35, 41, 0.15);
  color: inherit;
  border-radius: 3px;
}
.search-results .empty {
  padding: 12px;
  color: var(--muted);
  font-size: 14px;
}
/* ---------- Toast, to-top ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 160;
  transform: translate(-50%, 20px);
  background: #2e2e2e;
  color: #fff;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.25s,
    transform 0.25s;
  max-width: calc(100% - 32px);
  text-align: center;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.to-top {
  position: fixed;
  right: max(20px, env(safe-area-inset-right, 0px));
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: var(--grad);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(169, 31, 36, 0.35);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition:
    opacity 0.25s,
    transform 0.25s;
}
.to-top.show {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
/* ---------- Carousels ---------- */
[data-carousel="scroll"],
[data-carousel="gallery"],
[data-carousel="feature"] {
  scroll-behavior: smooth;
  scrollbar-width: none;
}
[data-carousel]::-webkit-scrollbar {
  display: none;
}
[data-carousel="feature"],
[data-carousel="steps"] {
  touch-action: pan-y pinch-zoom;
}
[data-carousel="gallery"],
[data-carousel="scroll"] {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y pinch-zoom;
}
[data-car-prev],
[data-car-next] {
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s,
    opacity 0.2s;
}
[data-car-prev]:hover:not(:disabled),
[data-car-next]:hover:not(:disabled) {
  background: var(--brand) !important;
  color: #fff !important;
  border-color: var(--brand) !important;
}
[data-car-prev]:disabled,
[data-car-next]:disabled {
  opacity: 0.4;
  cursor: default;
}
[data-car-dots] span {
  display: inline-block;
  cursor: pointer;
  transition:
    width 0.25s var(--ease),
    background 0.25s;
}
[data-car-dots] span.is-active {
  background: var(--brand) !important;
}
.car-ctrl-hidden {
  display: none !important;
}
/* highlight mode (all cards visible) */
[data-carousel="scroll"] > * {
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s,
    border-color 0.35s;
}
[data-carousel="scroll"].hl-mode > .is-hl {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(142, 23, 28, 0.16) !important;
  border-color: #f3b9bf !important;
}
/* testimonials highlight swaps the red card */
[data-hl="tm"] > figure {
  transition:
    background 0.35s,
    color 0.35s,
    transform 0.35s var(--ease);
}
[data-hl="tm"] > figure:not(.is-hl) {
  background: #ffffff !important;
  border-color: var(--line) !important;
}
[data-hl="tm"] > figure:not(.is-hl) blockquote {
  color: var(--ink-2) !important;
}
[data-hl="tm"] > figure:not(.is-hl) figcaption {
  border-top-color: var(--line) !important;
}
[data-hl="tm"] > figure:not(.is-hl) figcaption > span > span:first-child {
  color: var(--ink-2) !important;
}
[data-hl="tm"] > figure:not(.is-hl) figcaption > span > span:last-child {
  color: var(--muted) !important;
}
[data-hl="tm"] > figure:not(.is-hl) > div:first-child > span {
  color: var(--brand) !important;
}
[data-hl="tm"] > figure.is-hl {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%) !important;
  border-color: transparent !important;
  transform: translateY(-6px);
}
[data-hl="tm"] > figure.is-hl blockquote,
[data-hl="tm"] > figure.is-hl figcaption > span > span:first-child {
  color: #ffffff !important;
}
[data-hl="tm"] > figure.is-hl figcaption > span > span:last-child {
  color: #ffe3e6 !important;
}
[data-hl="tm"] > figure.is-hl figcaption {
  border-top-color: rgba(255, 255, 255, 0.25) !important;
}
[data-hl="tm"] > figure.is-hl > div:first-child > span {
  color: #ffd9dc !important;
}
/* journey stepper */
[data-carousel="steps"] > li {
  cursor: pointer;
}
[data-carousel="steps"] > li > div:last-child {
  transition:
    background 0.3s,
    border-color 0.3s,
    box-shadow 0.3s;
}
[data-carousel="steps"] > li > div:first-child > span:first-child {
  transition:
    width 0.3s,
    height 0.3s,
    box-shadow 0.3s;
}
/* partnerships feature slider */
[data-carousel="feature"] > figure {
  transition:
    flex-basis 0.45s var(--ease),
    opacity 0.35s,
    box-shadow 0.35s;
  cursor: pointer;
}
[data-carousel="feature"] > figure:not(.is-active) {
  flex: 0 0 calc(22% - 12px) !important;
  opacity: 0.45 !important;
  box-shadow: 0 8px 24px rgba(57, 57, 57, 0.06) !important;
  border-radius: 20px !important;
}
[data-carousel="feature"] > figure.is-active {
  flex: 0 0 calc(56% - 12px) !important;
  opacity: 1 !important;
  box-shadow: 0 20px 48px rgba(57, 57, 57, 0.12) !important;
  border-radius: 24px !important;
  cursor: default;
}
[data-carousel="feature"] > figure:not(.is-active) > div[data-frame] {
  aspect-ratio: 4/5 !important;
}
[data-carousel="feature"] > figure.is-active > div[data-frame] {
  aspect-ratio: 16/10 !important;
}
[data-carousel="feature"] figcaption {
  transition: padding 0.3s;
}
[data-carousel="feature"] > figure.is-active figcaption {
  padding: 24px 28px 28px !important;
}
[data-carousel="feature"] > figure:not(.is-active) .pc-desc {
  display: none;
}
.pc-num {
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brand);
}
.pc-title {
  font-size: 15px;
  line-height: 23px;
  color: var(--ink-2);
}
[data-carousel="feature"] > figure.is-active .pc-title {
  font-size: 18px;
  line-height: 26px;
}
.pc-desc {
  font-size: 15px;
  line-height: 24px;
  color: var(--muted);
}
[data-ptabs] button {
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}
[data-car-thumbs] > div {
  cursor: pointer;
  transition:
    opacity 0.25s,
    outline-color 0.25s;
  outline: 2px solid transparent;
  outline-offset: 2px;
}
[data-car-thumbs] > div:not(.is-active) {
  opacity: 0.55;
}
[data-car-thumbs] > div.is-active {
  outline-color: var(--brand);
  opacity: 1;
}
/* ---------- Tabs, filters, accordion ---------- */
[role="tab"],
[data-filter] button,
[data-filter] a {
  cursor: pointer;
}
[data-filter] button:not([aria-pressed="true"]):hover,
[data-ptabs] button:not([aria-selected="true"]):hover {
  border-color: var(--brand) !important;
  color: var(--brand) !important;
}
[role="tabpanel"][data-anim] {
  animation: panelIn 0.35s var(--ease);
}
@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
[data-item] {
  animation: panelIn 0.3s var(--ease);
}
[data-acc-item] {
  transition:
    background 0.25s,
    border-color 0.25s,
    box-shadow 0.25s,
    padding 0.25s;
}
[data-acc-item] > p {
  animation: panelIn 0.3s var(--ease);
}
.empty-state {
  margin: 0;
  padding: 40px 24px;
  border: 1px dashed #e2e2e6;
  border-radius: 16px;
  text-align: center;
  color: var(--muted);
  font-size: 15px;
  width: 100%;
}
[data-pager] a {
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}
[data-pager] a.is-disabled {
  opacity: 0.35;
  pointer-events: none;
}
[data-toc-nav] a {
  transition:
    color 0.2s,
    border-color 0.2s;
}
/* ---------- Cards ---------- */
.card {
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s;
}
.card[data-href] {
  cursor: pointer;
}
@media (hover: hover) {
  .card[data-href]:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 44px rgba(57, 57, 57, 0.12) !important;
  }
}
.card [data-frame] img {
  transition: transform 0.6s var(--ease);
}
@media (hover: hover) {
  .card[data-href]:hover [data-frame] img {
    transform: scale(1.04);
  }
}
/* ---------- Forms ---------- */
.contact-form input,
.contact-form select,
.contact-form textarea,
[data-newsletter] input {
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus,
[data-newsletter] input:focus {
  outline: none;
  border-color: var(--brand) !important;
  box-shadow: 0 0 0 3px rgba(185, 35, 41, 0.15);
}
.contact-form [aria-invalid="true"],
[data-newsletter] [aria-invalid="true"] {
  border-color: #d93025 !important;
  box-shadow: 0 0 0 3px rgba(217, 48, 37, 0.12);
}
.field-error {
  min-height: 0;
  font-size: 12px;
  line-height: 16px;
  color: #d93025;
  font-weight: 600;
}
.field-error:empty {
  display: none;
}
.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  padding: 32px 16px;
  width: 100%;
  animation: panelIn 0.4s var(--ease);
}
.form-success__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #e8f5ec;
  color: #1e8e3e;
  display: flex;
  align-items: center;
  justify-content: center;
}
.form-success h3 {
  margin: 0;
  font-size: 22px;
  line-height: 30px;
  color: var(--ink-2);
}
.form-success p {
  margin: 0;
  font-size: 15px;
  line-height: 24px;
  color: var(--muted);
  max-width: 420px;
}
.form-success button {
  all: unset;
  cursor: pointer;
  color: var(--brand);
  font-weight: 700;
  font-size: 14px;
  margin-top: 4px;
}
button[aria-busy="true"] {
  opacity: 0.75;
  pointer-events: none;
}
/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
[data-carousel="scroll"].hl-mode {
  padding-top: 10px !important;
}
[data-car-ctrl] {
  margin-top: 8px;
}

/* 2. Layout and responsive foundations */
/* Layout metrics aligned to the monday.rikkei.digital reference
   body 14/1.5 · container 1280 · section title 40/1.2 · lead 16/24 · buttons r10 16×42 · cards r20
   breakpoints 1366 / 1200 / 900 / 600 */
body {
  font-size: 14px;
  line-height: 1.5;
}

.wrap {
  max-width: 1280px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Sections */
.sec {
  padding-left: 24px !important;
  padding-right: 24px !important;
}

.sec--std {
  padding-top: 80px !important;
  padding-bottom: 80px !important;
}

.sec-title {
  font-size: 38px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  width: auto !important;
  max-width: 100%;
}

.sec-lead {
  font-size: 16px !important;
  line-height: 24px !important;
  font-weight: 500 !important;
}

.eyebrow {
  font-size: 12px !important;
  letter-spacing: 0.1em !important;
}

.hero-title {
  font-size: 40px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
}

.hero-lead {
  font-size: 16px !important;
  line-height: 24px !important;
  font-weight: 500 !important;
}

#hero:not(.hero--grid) {
  padding-top: 80px !important;
  padding-left: 30px !important;
  padding-right: 30px !important;
}

#top {
  height: auto !important;
}

/* Cards & grids */
.card {
  border-radius: 20px !important;
}

.card > [data-frame]:first-child {
  border-radius: 0;
}

/* Contact form: 2 columns, gap 20 × 32 */
#contact-form {
  column-gap: 32px !important;
  row-gap: 20px !important;
}

#contact-form > div {
  flex: 1 1 calc(50% - 16px) !important;
  min-width: 0;
}

#contact-form > div.form-field--full {
  flex-basis: 100% !important;
}

#contact-form input,
#contact-form select,
#contact-form textarea {
  border-color: #d5d5db !important;
  border-radius: 10px !important;
  padding: 12px 14px !important;
  font-size: 14px !important;
  width: 100%;
  box-sizing: border-box;
}

/* Footer */
footer#footer {
  background: #303437 !important;
  border-radius: 0;
  padding: 46px 0 28px !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
}

footer#footer > .wrap {
  padding: 0 60px;
}

.footer-grid {
  display: grid !important;
  grid-template-columns: minmax(160px, 1fr) 2fr;
  gap: 48px !important;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.footer-cols > div {
  flex: none !important;
}

footer#footer a {
  transition: color 0.2s;
}

footer#footer a:hover {
  color: #ffffff !important;
}

footer#footer a[aria-label]:hover {
  background: var(--brand);
  border-color: var(--brand) !important;
}

/* ---------- ≤1366 ---------- */
@media (max-width: 1366px) {
  .site-header__inner {
    max-width: 1260px;
  }
}

/* ---------- ≤1200 ---------- */
@media (max-width: 1200px) {
  .site-header {
    padding: 16px 24px;
    padding-left: max(24px, env(safe-area-inset-left, 0px));
    padding-right: max(24px, env(safe-area-inset-right, 0px));
    padding-top: calc(16px + env(safe-area-inset-top, 0px));
  }

  .navbar {
    padding: 16px 24px;
  }

  .menu {
    gap: 22px;
  }

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

@media (max-width: 1040px) {
  .lang-btn span {
    display: none;
  }

  .menu {
    gap: 18px;
  }
}

/* ---------- ≤900 ---------- */
@media (max-width: 900px) {
  .navbar {
    gap: 12px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .navbar__actions {
    margin-left: auto;
  }

  .menu {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 24px 48px rgba(46, 10, 12, 0.18);
    padding: 8px;
    max-height: calc(100vh - var(--hdr-h) - 24px);
    overflow: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
      opacity 0.2s,
      transform 0.2s,
      visibility 0.2s;
  }

  .menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .menu__item {
    border-bottom: 1px solid #f1eff4;
  }

  .menu__link {
    padding: 14px 12px;
    font-size: 15px;
    justify-content: space-between;
    width: 100%;
  }

  .menu__item.is-current > .menu__link::after,
  .menu__link[aria-current="page"]::after {
    display: none;
  }

  .dd {
    position: static;
    min-width: 0;
    box-shadow: none;
    border: 0;
    padding: 0 0 8px;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    background: transparent;
  }

  .dd::before {
    display: none;
  }

  .menu__item.is-open > .dd {
    display: flex;
  }

  .dd a {
    padding: 10px 14px;
  }

  .menu__cta {
    display: flex !important;
    margin: 12px 4px 4px;
  }

  .sec--std {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
  }

  .sec-title {
    font-size: 24px !important;
    line-height: 38px !important;
  }

  .sec-lead {
    font-size: 15px !important;
  }

  .hero-title {
    font-size: 32px !important;
  }

  #hero:not(.hero--grid) {
    padding: 40px 20px 0 !important;
  }

  #hero.hero--grid {
    padding-top: 56px !important;
    padding-bottom: 80px !important;
    min-height: 0 !important;
  }

  footer#footer > .wrap {
    padding: 0 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  /* card rows become swipeable sliders */
  [data-carousel="scroll"][data-wrap] {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
  }

  [data-carousel="scroll"][data-wrap] > * {
    flex: 0 0 min(82%, 380px) !important;
    scroll-snap-align: start;
  }

  [data-carousel="feature"] > figure,
  [data-carousel="feature"] > figure:not(.is-active),
  [data-carousel="feature"] > figure.is-active {
    flex: 0 0 82% !important;
    opacity: 1 !important;
  }

  [data-carousel="feature"] > figure > div[data-frame] {
    aspect-ratio: 16/10 !important;
  }

  [data-carousel="feature"] > figure:not(.is-active) .pc-desc {
    display: block;
  }

  [data-carousel="feature"] > figure figcaption {
    padding: 20px !important;
  }
}

/* ---------- ≤767 ---------- */
@media (max-width: 767px) {
  .sec.section-mobile-gutters {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

/* ---------- ≤600 ---------- */
@media (max-width: 600px) {
  .site-header {
    padding: 12px 16px;
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
    padding-top: calc(12px + env(safe-area-inset-top, 0px));
  }

  .navbar {
    padding: 12px 14px;
    border-radius: 16px;
  }

  .navbar__logo img {
    height: 28px;
  }

  .navbar__cta,
  .lang-wrap {
    display: none;
  }

  .sec {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .sec--std {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }

  .sec-title {
    font-size: 24px !important;
    line-height: 30px !important;
  }

  .hero-title {
    font-size: 28px !important;
  }

  #hero:not(.hero--grid) {
    padding: 36px 16px 0 !important;
  }

  #hero.hero--grid {
    margin-left: 16px !important;
    width: calc(100% - 32px) !important;
    padding-top: 40px !important;
    padding-bottom: 64px !important;
  }

  #hero .btn,
  #contact .btn,
  .sec-cta .btn {
    width: 100%;
  }

  #contact-form > div {
    flex-basis: 100% !important;
  }

  #contact form {
    padding: 24px 20px !important;
  }

  footer#footer > .wrap {
    padding: 0 20px;
  }

  .footer-cols {
    gap: 24px;
  }

  .card > div.card-padding--large {
    padding: 24px !important;
  }

  [data-hl="tm"] > figure,
  [data-carousel="scroll"][data-wrap] > * {
    flex-basis: 88% !important;
  }
}

[data-scope] label {
  flex-wrap: wrap;
  max-width: 100%;
  min-width: 0;
}

[data-scope] select {
  max-width: 100%;
  min-width: 0;
}

/* Shared partner logo animation */
#trusted .trusted-logos {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

#trusted .trusted-logos__track {
  display: flex;
  width: max-content;
  animation: trusted-logos-scroll var(--logo-duration, 45s) linear infinite;
}

#trusted .trusted-logos__group {
  flex: none;
  flex-wrap: nowrap !important;
  justify-content: flex-start !important;
  gap: 24px !important;
  width: max-content !important;
  padding-right: 24px;
}

#trusted .trusted-logos__group > * {
  flex: 0 0 140px !important;
  width: 140px !important;
}

#trusted .trusted-logos--reverse .trusted-logos__track {
  animation-direction: reverse;
}

#trusted .trusted-logos:hover .trusted-logos__track {
  animation-play-state: paused;
}

@keyframes trusted-logos-scroll {
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  #trusted .trusted-logos {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }

  #trusted .trusted-logos__track {
    animation: none;
  }

  #trusted .trusted-logos__group[aria-hidden="true"] {
    display: none !important;
  }
}

/* 3. Shared and page-specific components */
/* Page content and article layout */
.page-body {
  font-family: "Montserrat", "Noto Sans", Arial, sans-serif;
  color: var(--muted);
  background: #ffffff;
  font-size: 16px;
  line-height: 26px;
}
.article-hero {
  background:
    radial-gradient(40% 55% at 5% 40%, #f7d5da 0%, rgba(247, 213, 218, 0) 100%),
    radial-gradient(40% 50% at 95% 20%, #fbe0e3 0%, rgba(251, 224, 227, 0) 100%), #ffffff;
  padding-bottom: 56px;
}
.article-hero__section {
  padding: 56px 40px 0;
}
.article-hero__inner {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  line-height: 20px;
}
.breadcrumb__link {
  color: var(--muted);
  text-decoration: none;
}
.breadcrumb__separator {
  color: var(--muted);
}
.breadcrumb__current {
  color: var(--ink-2);
  font-weight: 600;
}
.text-eyebrow {
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}
.article-hero__title {
  margin: 0;
  font-size: 44px;
  line-height: 54px;
  font-weight: 700;
  color: var(--ink-2);
}
.page-gutters {
  padding: 0 40px;
}
.container {
  max-width: 1280px;
  margin: 0 auto;
}
.article-cover {
  width: 100%;
  aspect-ratio: 21 / 9;
  border-radius: 24px;
  overflow: hidden;
}
.article-cover__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  object-position: 50% 67.7825%;
}
.article-section {
  padding: 72px 40px 96px;
  background: #ffffff;
}
.section-stack {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.article-share-links {
  display: flex;
  gap: 8px;
}
.social-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #e2e2e6;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.article-body {
  flex: 1 1 560px;
  min-width: 0;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.article-intro {
  margin: 0;
  font-size: 20px;
  line-height: 32px;
  color: var(--ink-2);
}
.article-paragraph {
  margin: 0;
  font-size: 17px;
  line-height: 30px;
}
.text-strong {
  color: var(--ink-2);
}
.heading-lg {
  margin: 0;
  font-size: 28px;
  line-height: 36px;
  font-weight: 700;
  color: var(--ink-2);
}
.checklist {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.checklist__item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 24px;
}
.checklist__icon {
  color: var(--brand);
  display: flex;
  flex: none;
  margin-top: 1px;
}
.article-example {
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(57, 57, 57, 0.06);
  overflow: hidden;
  background: #ffffff;
}
.article-example__header {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 20px 28px;
  background: #fff4f5;
  border-bottom: 1px solid #f3d3d7;
}
.article-example__badge {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--brand);
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.article-example__heading {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.article-example__title {
  margin: 0;
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
  color: var(--ink-2);
}
.article-example__subtitle {
  font-size: 14px;
  color: var(--brand-dark);
  font-weight: 600;
}
.article-example__body {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.article-example__text {
  margin: 0;
  font-size: 16px;
  line-height: 28px;
}
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.article-example__column {
  flex: 1 1 240px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.text-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}
.bullet-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bullet-list__item {
  display: flex;
  gap: 10px;
  font-size: 14px;
  line-height: 22px;
}
.bullet-list__dot {
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  margin-top: 8px;
}
.flex-wrap-sm {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.article-note {
  flex: 1 1 260px;
  min-width: 0;
  background: #f7f6f9;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 14px;
  line-height: 22px;
}
.article-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.media-rounded {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
}
.media-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.figure-caption {
  font-size: 13px;
  text-align: center;
}
.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.article-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
}
.article-table__heading {
  text-align: left;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  background: var(--brand);
}
.article-table__cell {
  padding: 12px 14px;
  font-size: 14px;
  line-height: 22px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.article-cta {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  border-radius: 20px;
  padding: 28px 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}
.article-cta__copy {
  flex: 1 1 360px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.article-cta__title {
  font-size: 19px;
  line-height: 27px;
  font-weight: 700;
  color: #ffffff;
}
.article-cta__lead {
  font-size: 15px;
  color: #ffe3e6;
}
.article-quote {
  margin: 0;
  padding: 4px 0 4px 24px;
  border-left: 4px solid var(--brand);
  font-size: 20px;
  line-height: 32px;
  font-weight: 600;
  color: var(--ink-2);
}
.article-timeline {
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-left: 2px solid #f3d3d7;
  padding-left: 4px;
}
.media-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  color: inherit;
  text-decoration: none;
}
.article-timeline__number {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--brand);
  color: var(--brand);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.text-stack-xs {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.article-timeline__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink-2);
}
.article-timeline__text {
  font-size: 15px;
  line-height: 25px;
}
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 8px;
}
.tag {
  padding: 6px 14px;
  border-radius: 999px;
  background: #f5f4f6;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
}
.section-soft {
  padding: 96px 40px;
  background: linear-gradient(180deg, #f7f6f9 0%, #ffffff 100%);
}
.section-heading-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-end;
}
.section-heading {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 920px;
}
.heading-section {
  margin: 0;
  font-size: 36px;
  line-height: 44px;
  font-weight: 700;
  color: var(--ink-2);
  text-wrap: balance;
}
.text-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
}
.content-card {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 0;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(57, 57, 57, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
@media (max-width: 900px) and (min-width: 768px) {
  .content-card {
    flex-basis: calc((100% - 24px) / 2);
  }
}
.content-card__media {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.content-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1 1 auto;
}
.content-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  font-size: 13px;
}
.content-card__category {
  font-weight: 600;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 12px;
}
.content-card__title {
  margin: 0;
  font-size: 19px;
  line-height: 27px;
  font-weight: 600;
  color: var(--ink-2);
}
.content-card__footer {
  margin-top: auto;
  padding-top: 4px;
}
/* Newsletter and contact forms */
.newsletter-section {
  padding: 48px 40px 96px;
  background: #ffffff;
}
.newsletter {
  background: linear-gradient(135deg, #fff3f4 0%, #fbe3e6 100%);
  border-radius: 24px;
  padding: 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
}
.newsletter__copy {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.text-body {
  margin: 0;
  font-size: 16px;
  line-height: 26px;
}
.newsletter__form {
  flex: 1 1 380px;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.newsletter__input {
  flex: 1 1 220px;
  min-width: 0;
  height: 48px;
  font: inherit;
  padding: 0 16px;
  border: 1px solid #d9c9cc;
  border-radius: 10px;
  background: #ffffff;
}
.contact-section {
  background:
    radial-gradient(50% 60% at 10% 10%, #c8323a 0%, rgba(200, 50, 58, 0) 100%),
    linear-gradient(135deg, var(--brand-dark) 0%, #6a0f14 100%);
  color: #ffffff;
  padding: 96px 40px;
}
.contact-layout {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 64px;
  align-items: flex-start;
}
.contact-copy {
  flex: 1 1 440px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-eyebrow {
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fbd7e0;
}
.contact-heading {
  margin: 0;
  font-size: 36px;
  line-height: 44px;
  font-weight: 700;
  color: #ffffff;
}
.contact-lead {
  margin: 0;
  font-size: 18px;
  line-height: 28px;
  color: var(--soft);
}
.contact-benefits {
  margin: 8px 0 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #ffffff;
}
.contact-details {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e95c5c;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 15px;
}
.contact-detail {
  display: flex;
  align-items: center;
  gap: 10px;
}
.text-pre-wrap-initial {
  white-space: pre;
  background-color: initial;
}
.contact-form-panel {
  flex: 1 1 440px;
  min-width: 0;
  background: #ffffff;
  color: var(--ink-2);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  box-sizing: border-box;
}
.form-heading {
  margin: 0;
  width: 100%;
  font-size: 22px;
  line-height: 30px;
  font-weight: 700;
  color: var(--ink-2);
}
.form-field {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-label {
  font-size: 14px;
  font-weight: 600;
}

.form-required {
  color: #dc2626;
}
.form-input {
  font: inherit;
  padding: 10px 12px;
  border: 1px solid #888888;
  border-radius: 8px;
}
.form-field-wide {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-select {
  font: inherit;
  padding: 10px 12px;
  border: 1px solid #888888;
  border-radius: 8px;
  background: #ffffff;
}
.form-textarea {
  font: inherit;
  padding: 10px 12px;
  border: 1px solid #888888;
  border-radius: 8px;
  min-height: 96px;
}
.form-note {
  margin: 0;
  width: 100%;
  font-size: 12px;
  line-height: 18px;
  color: var(--muted);
}
/* Footer */
.site-footer {
  background: #2e2e2e;
  color: #ebebeb;
  padding: 64px 40px 32px;
  font-size: 14px;
  line-height: 22px;
}
.container-stack {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.footer-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}
.footer-brand {
  flex: 2 1 300px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-logo {
  width: 200px;
  height: 48px;
  overflow: hidden;
  align-self: flex-start;
}
.media-contain {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.text-reset {
  margin: 0;
}
.text-pre {
  white-space: pre;
}
.social-links {
  display: flex;
  gap: 12px;
}
.footer-social {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
}
.footer-column {
  flex: 1 1 160px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-heading {
  margin: 0 0 4px;
  font-size: 13px;
  line-height: 20px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
}
.footer-link {
  color: #ebebeb;
  text-decoration: none;
}
.footer-bottom {
  border-top: 1px solid var(--muted);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  font-size: 13px;
  color: #9c9c9c;
}
.footer-legal {
  color: #9c9c9c;
  text-decoration: none;
}
/* Blog and resource listings */
.listing-hero {
  background:
    radial-gradient(50% 70% at 90% 10%, #f9d6db 0%, rgba(249, 214, 219, 0) 100%),
    radial-gradient(40% 60% at 0% 100%, #fdedef 0%, rgba(253, 237, 239, 0) 100%), #ffffff;
  color: var(--ink-2);
  padding-bottom: 72px;
}
.listing-hero__section {
  padding: 64px 40px 0;
}
.listing-hero__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.listing-hero__title {
  margin: 0;
  font-size: 48px;
  line-height: 58px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink-2);
  max-width: 1000px;
  text-wrap: balance;
}
.listing-hero__lead {
  margin: 0;
  font-size: 18px;
  line-height: 28px;
  color: var(--muted);
  max-width: 720px;
}
.listing-hero__tools {
  display: flex;
  padding-top: 12px;
}
.search-field {
  flex: 1 1 280px;
  max-width: 420px;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 16px;
  border: 1px solid #e2e2e6;
  border-radius: 999px;
  background: #ffffff;
  color: #8a8a8a;
  box-sizing: border-box;
}
.search-input {
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 14px;
  color: var(--ink-2);
  outline: none;
  width: 100%;
  min-width: 0;
}
.section-white {
  padding: 96px 40px;
  background: #ffffff;
}
.filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filter-list :is(.filter-chip, .filter-chip--active) {
  text-decoration: none;
}
.filter-chip--active {
  background: var(--brand);
  color: #ffffff;
  border: 1px solid var(--brand);
  border-radius: 999px;
  padding: 10px 18px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  min-height: 44px;
}
.filter-chip--active:hover,
.filter-chip--active:focus-visible {
  background: var(--brand);
  color: #ffffff;
}
.filter-chip {
  background: #ffffff;
  color: var(--ink-2);
  border: 1px solid #e2e2e6;
  border-radius: 999px;
  padding: 10px 18px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  min-height: 44px;
}
.featured-card {
  flex: 1.6 1 560px;
  min-width: 0;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(57, 57, 57, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}
.featured-card__media {
  width: 100%;
  aspect-ratio: 16 / 8;
  overflow: hidden;
}
.featured-card__body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.featured-card__category {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--brand);
}
.featured-sidebar {
  flex: 1 1 360px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.featured-sidebar__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.ranked-story {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(57, 57, 57, 0.06);
  padding: 18px;
  display: flex;
  gap: 16px;
  text-decoration: none;
  align-items: center;
}
.ranked-story__number {
  font-size: 28px;
  font-weight: 800;
  color: #f0c5ca;
  width: 36px;
  flex: none;
}
.ranked-story__copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ranked-story__category {
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.ranked-story__title {
  font-size: 15px;
  line-height: 22px;
  font-weight: 600;
  color: var(--ink-2);
}
.listing-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.heading-md {
  margin: 0;
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
  color: var(--ink-2);
}
.sort-field {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}
.sort-select {
  height: 44px;
  font: inherit;
  font-size: 14px;
  padding: 0 12px;
  border: 1px solid #e2e2e6;
  border-radius: 10px;
  background: #ffffff;
}
.text-sm {
  margin: 0;
  font-size: 15px;
  line-height: 24px;
}
.load-more-row {
  display: flex;
  justify-content: center;
}
.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding-top: 16px;
}
.flex-column {
  display: flex;
  flex-direction: column;
}
.stat-value {
  font-size: 32px;
  line-height: 40px;
  font-weight: 700;
  color: var(--brand);
}
.stat-label {
  font-size: 14px;
  color: var(--brand);
}
/* Trusted logos and case studies */
.trusted-section {
  padding: 48px 40px;
}
.trusted-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}
.trusted-heading {
  margin: 0;
  font-size: 24px;
  line-height: 1.33;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: 0px;
  font-style: normal;
  font-family: "Montserrat", "Noto Sans", Arial, sans-serif;
  position: static;
  text-align: center;
}
.trusted-logos-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  width: 100%;
}
.trusted-logo {
  flex: 0 1 128px;
  width: 128px;
  min-width: 0;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
}
.trusted-logo__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background-color: #ffffff;
}
.trusted-logo--wayfindr-crop {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  object-position: 100% 52.0237%;
  object-view-box: inset(26.0945% 0% 24.0644% 0.3178%);
}
.trusted-logo--taki-crop {
  width: 128px;
  height: 64px;
  object-fit: cover;
  display: block;
  object-position: 45.079% 48.605%;
  object-view-box: inset(13.0811% 14.8473% 13.8319% 12.1866%);
  border-radius: 8px;
}
.trusted-logo--wayfindr-secondary {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  object-position: 100% 44.1146%;
  object-view-box: inset(22.0573% 0% 27.9427% 0%);
}
.trusted-logo--hapas-crop {
  width: 86px;
  height: 27px;
  object-fit: cover;
  display: block;
  object-position: 50% 49.7721%;
  object-view-box: inset(25.958% 2.1538% 26.1958% 2.1538%);
}
.filter-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
.filter-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.filter-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
}
.featured-case {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(57, 57, 57, 0.06);
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
}
.featured-case__visual {
  flex: 1.2 1 480px;
  min-width: 0;
}
.featured-case__media {
  width: 100%;
  height: 100%;
  min-height: 360px;
  overflow: hidden;
}
.featured-case__body {
  flex: 1 1 420px;
  min-width: 0;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.category-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.case-category {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
}
.case-card__media {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.case-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1 1 auto;
}
.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}
.pagination-arrow {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid #e2e2e6;
  background: #ffffff;
  color: var(--ink-2);
  text-decoration: none;
}
.pagination-current {
  min-width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  background: var(--brand);
  color: #ffffff;
}
.pagination-page {
  min-width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink-2);
  border: 1px solid #e2e2e6;
  background: #ffffff;
}
[data-ajax-listing][aria-busy="true"],
[data-ajax-blog][aria-busy="true"],
[data-ajax-news][aria-busy="true"] {
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 0.15s ease;
}
.section-glow {
  padding: 96px 40px;
  background:
    radial-gradient(40% 55% at 5% 40%, #f7d5da 0%, rgba(247, 213, 218, 0) 100%),
    radial-gradient(40% 50% at 95% 20%, #fbe0e3 0%, rgba(251, 224, 227, 0) 100%), #ffffff;
}
.section-heading-centered {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  align-items: center;
}
.section-lead {
  margin: 0;
  font-size: 18px;
  line-height: 28px;
  color: var(--muted);
}
/* Testimonials and carousel controls */
.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}
/* Testimonials need extra room for the raised card and its larger shadow. */
@media (min-width: 901px) {
  body[data-page="case-studies"] #testimonials #testimonial-carousel {
    overflow: visible;
  }
}
@media (max-width: 900px) {
  body[data-page="case-studies"] #testimonials #testimonial-carousel {
    padding: 32px 24px 64px;
    padding-top: 32px !important;
    margin: -32px -24px -64px;
    scroll-padding-inline: 24px;
  }
}
@media (max-width: 767px) {
  body[data-page="case-studies"] #testimonials #testimonial-carousel {
    padding-inline: 16px;
    margin-inline: -16px;
    scroll-padding-inline: 16px;
  }
}
.testimonial-card {
  margin: 0;
  flex: 1 1 340px;
  min-width: 0;
  background: #ffffff;
  border: 1px solid rgba(185, 35, 41, 0.12);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 12px 32px rgba(142, 23, 28, 0.08);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.testimonial-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.icon-brand {
  color: var(--brand);
  display: flex;
}
.testimonial-card__category {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
}
.testimonial-card__quote {
  margin: 0;
  font-size: 18px;
  line-height: 29px;
  font-weight: 500;
  color: var(--ink-2);
  flex: 1 1 auto;
}
.testimonial-card__author {
  display: flex;
  gap: 14px;
  align-items: center;
  border-top: 1px solid rgba(185, 35, 41, 0.12);
  padding-top: 20px;
}
.avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  flex: none;
  background: #ffffff;
  overflow: hidden;
}
.author-copy {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
}
.author-name {
  font-weight: 700;
  font-size: 16px;
  color: rgb(57, 57, 57);
}
.author-role {
  font-size: 14px;
  color: rgb(97, 97, 97);
}
.testimonial-card--featured {
  margin: 0;
  flex: 1 1 340px;
  min-width: 0;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  border: 0;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 12px 32px rgba(142, 23, 28, 0.25);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.icon-light {
  color: #ffd9dc;
  display: flex;
}
.testimonial-card__category--light {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffd9dc;
}
.testimonial-card__quote--light {
  margin: 0;
  font-size: 18px;
  line-height: 29px;
  font-weight: 500;
  color: #ffffff;
  flex: 1 1 auto;
}
.testimonial-card__author--light {
  display: flex;
  gap: 14px;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding-top: 20px;
}
.avatar--customer-crop {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  object-position: 52.0368% 20.9959%;
  object-view-box: inset(15.9179% 36.3631% 59.8966% 39.4515%);
}
.text-background-reset {
  background-color: initial;
}
.testimonial-author--light {
  color: rgb(255, 227, 230);
  font-size: 14px;
  font-weight: 700;
  text-wrap-mode: initial;
  background-color: initial;
}
.testimonial-author-name--light {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
}
.author-name-compact {
  font-size: 16px;
  font-weight: 700;
  color: rgb(57, 57, 57);
}
.testimonial-author-detail {
  font-family: Montserrat, sans-serif;
  text-wrap-mode: initial;
}
.carousel-controls-hidden {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  display: none;
}
.carousel-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}
.carousel-dot--active {
  width: 16px;
  height: 8px;
  border-radius: 4px;
  background: var(--brand);
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: #d5d5db;
}
.carousel-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #e2e2e6;
  background: #ffffff;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.case-hero {
  background:
    radial-gradient(55% 80% at 85% 20%, rgba(214, 58, 66, 0.55) 0%, rgba(214, 58, 66, 0) 100%),
    linear-gradient(135deg, #9e1b21 0%, #6a0f14 100%);
  color: #ffffff;
  padding-bottom: 72px;
}
.breadcrumb__link--light {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}
.breadcrumb__separator--light {
  color: rgba(255, 255, 255, 0.75);
}
.breadcrumb__current--light {
  color: #ffffff;
  font-weight: 600;
}
.text-eyebrow--light {
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffd9dc;
}
.case-hero__title {
  margin: 0;
  font-size: 44px;
  line-height: 54px;
  font-weight: 700;
  color: #ffffff;
  max-width: 900px;
}
.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  margin-top: 16px;
}
.case-meta__item {
  flex: 1 1 180px;
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.case-meta__label {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffd9dc;
}
.case-meta__value {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
}
.case-meta__item--divided {
  flex: 1 1 180px;
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}
.case-cover-row {
  padding: 0 40px;
  margin-top: -40px;
}
.case-cover {
  width: 100%;
  aspect-ratio: 21 / 9;
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(40, 4, 8, 0.2);
  overflow: hidden;
}

.case-article {
  flex: 1 1 560px;
  min-width: 0;
  max-width: 820px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.case-article__media {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
}
.flex-wrap-md {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.result-card {
  flex: 1 1 200px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(57, 57, 57, 0.06);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.result-value {
  font-size: 36px;
  line-height: 44px;
  font-weight: 700;
  color: var(--brand);
}
.text-caption {
  font-size: 14px;
}
.client-quote {
  margin: 0;
  background: #fff5f6;
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.client-quote__text {
  margin: 0;
  font-size: 21px;
  line-height: 32px;
  font-weight: 600;
  color: var(--ink-2);
}
.client-quote__author {
  display: flex;
  gap: 14px;
  align-items: center;
}
.client-quote__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
}
.client-quote__name {
  font-weight: 700;
  color: var(--ink-2);
}
.case-article__tags {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.case-article__tag {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
}
.case-result {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.case-result__value {
  font-size: 28px;
  line-height: 32px;
  font-weight: 700;
  color: var(--brand);
}
/* Illustrated hero foundations */
.hero-shell {
  background-color: var(--brand-dark);
  color: #ffffff;
  display: grid;
  grid-template-columns: 100%;
  grid-template-rows: auto 1fr;
  overflow: hidden;
}
.hero-background {
  grid-column: 1;
  grid-row: 1 / 3;
  position: relative;
  overflow: hidden;
  min-height: 0;
}
.hero-background__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  object-position: 100% 50%;
}
.hero-header-spacer {
  grid-column: 1;
  grid-row: 1;
}
.hero-content {
  grid-column: 1;
  grid-row: 2;
  position: relative;
  z-index: 1;
  justify-self: start;
  box-sizing: border-box;
  width: min(640px, 100% - 80px);
  margin-left: max(40px, (100% - 1280px) / 2);
  padding: 120px 0 160px;
  min-height: 560px;
  color: #ffffff;
}
/* Illustrated heroes: scoped to the pages using this layout. */
:where(body:is([data-page="index"], [data-page="dich-vu"], [data-page="giai-phap-du-lieu"], [data-page="giai-phap-trai-nghiem-khach-hang"], [data-page="giai-phap-van-hanh"])) #top #hero.hero--grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 40px;
  width: min(1280px, 100% - 80px);
  margin-inline: auto;
  justify-self: center;
  padding: 80px 0 100px;
}
:where(body:is([data-page="index"], [data-page="dich-vu"], [data-page="giai-phap-du-lieu"], [data-page="giai-phap-trai-nghiem-khach-hang"], [data-page="giai-phap-van-hanh"])) #top #hero > .flex-column {
  min-width: 0;
}
:where(body:is([data-page="index"], [data-page="dich-vu"], [data-page="giai-phap-du-lieu"], [data-page="giai-phap-trai-nghiem-khach-hang"], [data-page="giai-phap-van-hanh"])) #top .hero-visual {
  min-width: 0;
  position: relative;
  animation: hero-visual-float 7s ease-in-out infinite;
}
:where(body:is([data-page="index"], [data-page="dich-vu"], [data-page="giai-phap-du-lieu"], [data-page="giai-phap-trai-nghiem-khach-hang"], [data-page="giai-phap-van-hanh"])) #top .hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
:where(body:is([data-page="index"], [data-page="dich-vu"], [data-page="giai-phap-du-lieu"], [data-page="giai-phap-trai-nghiem-khach-hang"], [data-page="giai-phap-van-hanh"])) #top .hero-data-flow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}
.hero-data-flow__tracks {
  stroke: #ffe0da;
  stroke-width: 2;
  opacity: 0.5;
}
.hero-data-flow__packets {
  stroke: #fff8e9;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 3 19;
  filter: drop-shadow(0 0 5px #fff0d4);
}
.hero-data-flow__packets path {
  animation: hero-data-stream 2.4s linear infinite;
}
.hero-data-flow__packets path:nth-child(2) {
  animation-duration: 3.2s;
  animation-delay: -0.8s;
}
.hero-data-flow__packets path:nth-child(3) {
  animation-direction: reverse;
  animation-delay: -1.2s;
}
.hero-data-flow__packets path:nth-child(4) {
  animation-duration: 2.8s;
  animation-delay: -1.6s;
}
.hero-data-flow__nodes {
  fill: #fff8e9;
  filter: drop-shadow(0 0 8px #ffba9c);
}
.hero-data-flow__nodes circle {
  transform-box: fill-box;
  transform-origin: center;
  animation: hero-data-pulse 3s ease-in-out infinite;
}
.hero-data-flow__nodes circle:nth-child(even) {
  animation-delay: -1.5s;
}
@keyframes hero-data-stream {
  to { stroke-dashoffset: -88; }
}
@keyframes hero-data-pulse {
  0%, 100% { opacity: 0.65; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.15); }
}
@keyframes hero-visual-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
body[data-page="dich-vu"] #top #hero.hero--grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 32px;
}
body:is([data-page="giai-phap-du-lieu"], [data-page="giai-phap-trai-nghiem-khach-hang"], [data-page="giai-phap-van-hanh"]) #top {
  background-color: #fff8f9;
}
body:is([data-page="giai-phap-du-lieu"], [data-page="giai-phap-trai-nghiem-khach-hang"], [data-page="giai-phap-van-hanh"]) #top #hero.hero--grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 32px;
}
body:is([data-page="giai-phap-du-lieu"], [data-page="giai-phap-trai-nghiem-khach-hang"], [data-page="giai-phap-van-hanh"]) #top #hero .hero-title {
  width: auto;
  max-width: 100%;
}
.hero-visual--services .hero-data-flow__packets path:nth-child(5) {
  animation-duration: 4s;
  animation-delay: -2s;
}
@media (max-width: 900px) {
  body:is([data-page="giai-phap-du-lieu"], [data-page="giai-phap-trai-nghiem-khach-hang"], [data-page="giai-phap-van-hanh"]) #top #hero.hero--grid {
    grid-template-columns: minmax(0, 1fr);
  }
  :where(body:is([data-page="index"], [data-page="dich-vu"], [data-page="giai-phap-du-lieu"], [data-page="giai-phap-trai-nghiem-khach-hang"], [data-page="giai-phap-van-hanh"])) #top .hero-visual--data,
  :where(body:is([data-page="index"], [data-page="dich-vu"], [data-page="giai-phap-du-lieu"], [data-page="giai-phap-trai-nghiem-khach-hang"], [data-page="giai-phap-van-hanh"])) #top .hero-visual--customer,
  #top .hero-visual--operations {
    grid-row: 1;
    width: min(100%, 600px);
    justify-self: center;
  }
  body:is([data-page="giai-phap-du-lieu"], [data-page="giai-phap-trai-nghiem-khach-hang"], [data-page="giai-phap-van-hanh"]) #top #hero .hero-title {
    line-height: 1.25;
  }
  body[data-page="dich-vu"] #top #hero.hero--grid {
    grid-template-columns: minmax(0, 1fr);
  }
  :where(body:is([data-page="index"], [data-page="dich-vu"], [data-page="giai-phap-du-lieu"], [data-page="giai-phap-trai-nghiem-khach-hang"], [data-page="giai-phap-van-hanh"])) #top .hero-visual--services {
    grid-row: 1;
    width: min(100%, 600px);
    justify-self: center;
  }
  body[data-page="dich-vu"] #top #hero .hero-title {
    line-height: 1.25;
  }
}
@media (prefers-reduced-motion: reduce) {
  :where(body:is([data-page="index"], [data-page="dich-vu"], [data-page="giai-phap-du-lieu"], [data-page="giai-phap-trai-nghiem-khach-hang"], [data-page="giai-phap-van-hanh"])) #top .hero-data-flow { display: none; }
}
@media (max-width: 760px) {
  :where(body:is([data-page="index"], [data-page="dich-vu"], [data-page="giai-phap-du-lieu"], [data-page="giai-phap-trai-nghiem-khach-hang"], [data-page="giai-phap-van-hanh"])) #top #hero.hero--grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  :where(body:is([data-page="index"], [data-page="dich-vu"], [data-page="giai-phap-du-lieu"], [data-page="giai-phap-trai-nghiem-khach-hang"], [data-page="giai-phap-van-hanh"])) #top .hero-visual {
    grid-row: 1;
    width: min(100%, 480px);
    justify-self: center;
  }
  :where(body:is([data-page="index"], [data-page="dich-vu"], [data-page="giai-phap-du-lieu"], [data-page="giai-phap-trai-nghiem-khach-hang"], [data-page="giai-phap-van-hanh"])) #top #hero .hero-title {
    line-height: 1.25;
  }
}
.hero-copy {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hero-heading-light {
  margin: 0;
  font-size: 52px;
  line-height: 62px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #ffffff;
  text-wrap: balance;
}
.hero-lead-light {
  margin: 0;
  font-size: 18px;
  line-height: 28px;
  color: var(--soft);
  max-width: 600px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}
/* Service tabs and delivery */
.service-tab {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  flex: 1 1 180px;
  min-width: 0;
  min-height: 44px;
  padding: 20px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #ffffff;
  color: var(--ink-2);
  border: 1px solid var(--line);
}
.service-tab__number {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--brand);
}
.service-tab__icon {
  display: flex;
}
.service-tab__label {
  font-size: 16px;
  line-height: 22px;
  font-weight: 700;
  white-space: nowrap;
}
.service-tab--active {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  flex: 1 1 180px;
  min-width: 0;
  min-height: 44px;
  padding: 20px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--brand);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(185, 35, 41, 0.28);
}
.service-tab__number--active {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #ffd9dc;
}
.service-panel {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(57, 57, 57, 0.06);
  padding: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: center;
}
.service-panel__copy {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.service-panel__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brand);
}
.service-panel__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 8px;
}
.service-panel__visual {
  flex: 1 1 420px;
  min-width: 0;
}
.service-panel__media {
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: 20px;
  overflow: hidden;
}
.delivery-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
  align-items: flex-start;
}
.delivery-intro {
  flex: 1 1 360px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.delivery-heading {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 600px;
}
.delivery-features {
  flex: 1.4 1 520px;
  min-width: 0;
}
.delivery-card {
  flex: 1 1 260px;
  min-width: 0;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(57, 57, 57, 0.06);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.icon-tile-sm {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.heading-card {
  margin: 0;
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
  color: var(--ink-2);
}
.stats-panel {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(57, 57, 57, 0.06);
  display: flex;
  flex-wrap: wrap;
  padding: 16px;
}
.stat-item {
  flex: 1 1 200px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}
.stat-number {
  font-size: 56px;
  line-height: 64px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--brand);
}
.stat-caption {
  font-size: 15px;
}
.stat-item--divided {
  flex: 1 1 200px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  border-left: 1px solid var(--line);
}
.benefit-card {
  flex: 1 1 520px;
  min-width: 0;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(57, 57, 57, 0.06);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.text-note-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.text-note {
  font-size: 14px;
  line-height: 22px;
}
/* Solution pages */
.hero-shell-light {
  color: #ffffff;
  display: grid;
  grid-template-columns: 100%;
  grid-template-rows: auto 1fr;
  overflow: hidden;
}
.hero-background__image-light {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-content-dark {
  grid-column: 1;
  grid-row: 2;
  position: relative;
  z-index: 1;
  justify-self: start;
  box-sizing: border-box;
  width: min(640px, 100% - 80px);
  margin-left: max(40px, (100% - 1280px) / 2);
  padding: 120px 0 160px;
  min-height: 560px;
  color: var(--ink-2);
}
.breadcrumb__current--brand {
  color: var(--brand);
  font-weight: 600;
}
.hero-heading-dark {
  margin: 0;
  font-size: 52px;
  line-height: 62px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink-2);
  text-wrap: balance;
  width: auto;
}
.hero-lead-dark {
  margin: 0;
  font-size: 18px;
  line-height: 28px;
  color: var(--muted);
  max-width: 600px;
}
.solution-card {
  flex: 1 1 320px;
  min-width: 0;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(57, 57, 57, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.solution-card__media {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f7f1f2;
  box-shadow: 0px 2px 8px 0px #00000033;
}
.solution-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  box-shadow: 0px 2px 8px 0px #00000033;
  border-radius: 5px;
}
.solution-card__body {
  flex: 1 1 auto;
  padding: 0 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.solution-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--soft);
  color: var(--brand);
  margin-top: -26px;
  border: 4px solid #ffffff;
  box-sizing: content-box;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.solution-card__title {
  margin: 0;
  font-size: 22px;
  line-height: 30px;
  font-weight: 600;
  color: var(--ink-2);
}
.solution-card__footer {
  margin-top: auto;
  padding-top: 8px;
}
.media-cover-soft {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 5px;
}
/* Architecture and solution details */
.architecture {
  max-width: 1040px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.architecture-layer--brand {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  border: 1px solid transparent;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
}
.architecture-label--light {
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
}
.architecture-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.architecture-tag--light {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
}
.architecture-connector {
  display: flex;
  justify-content: center;
  color: var(--brand);
}
.architecture-column {
  flex: 1 1 360px;
  min-width: 0;
}
.architecture-layer--soft {
  background: #fff5f6;
  border: 1px solid #eadfe2;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
}
.architecture-label {
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.architecture-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  width: 100%;
  justify-content: center;
}
.architecture-item {
  flex: 1 1 160px;
  min-width: 0;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.architecture-layer--muted {
  background: #f5f4f6;
  border: 1px solid #eadfe2;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
}
.architecture-item--compact {
  flex: 1 1 140px;
  min-width: 0;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.split-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: center;
}
.accordion-stack {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.accordion-item--active {
  background: #ffffff;
  border: 1px solid #f3d3d7;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(142, 23, 28, 0.1);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.accordion-trigger--active {
  all: unset;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 44px;
}
.accordion-icon--active {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--brand);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.accordion-title--active {
  flex: 1 1 auto;
  font-size: 18px;
  line-height: 26px;
  font-weight: 700;
  color: var(--brand);
}
.accordion-description {
  margin: 0 0 0 56px;
  font-size: 15px;
  line-height: 24px;
}
.accordion-item {
  border-bottom: 1px solid var(--line);
  padding: 12px 24px;
}
.accordion-trigger {
  all: unset;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 44px;
  width: 100%;
}
.accordion-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.accordion-title {
  flex: 1 1 auto;
  font-size: 17px;
  line-height: 26px;
  font-weight: 600;
  color: var(--ink-2);
}
.accordion-chevron {
  color: var(--muted);
  display: flex;
}

.trusted-section--soft {
  padding: 48px 40px;
  background: linear-gradient(180deg, #f7f6f9 0%, #ffffff 100%);
}
.hero-heading-balanced {
  margin: 0;
  font-size: 52px;
  line-height: 62px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink-2);
  text-wrap: balance;
}
.section-stack-wide {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 80px;
}
.solution-row {
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
  align-items: center;
}
.solution-row__copy {
  flex: 1 1 440px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.icon-label {
  display: flex;
  align-items: center;
  gap: 12px;
}
.solution-number {
  font-size: 14px;
  font-weight: 800;
  color: var(--brand);
}
.solution-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 20px;
  border-radius: 12px;
  background: #fff5f6;
}
.solution-note__icon {
  color: var(--brand);
  display: flex;
  flex: none;
}
.solution-note__text {
  font-size: 14px;
  line-height: 22px;
  color: var(--ink-2);
}
.solution-row__visual {
  flex: 1.1 1 460px;
  min-width: 0;
}
.solution-row__media {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 24px;
  box-shadow: 0 20px 48px rgba(57, 57, 57, 0.1);
  overflow: hidden;
}
.solution-row--reverse {
  display: flex;
  flex-wrap: wrap-reverse;
  gap: 56px;
  align-items: center;
}
.text-muted-light {
  font-size: 15px;
  line-height: 22px;
  color: #ffe3e6;
}
.architecture-item--wide {
  flex: 1 1 220px;
  min-width: 0;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.architecture-caption {
  font-size: 13px;
  line-height: 20px;
  color: var(--muted);
}
.section-value-glow {
  padding: 96px 40px;
  background:
    radial-gradient(45% 60% at 90% 10%, #fbe0e3 0%, rgba(251, 224, 227, 0) 100%),
    radial-gradient(40% 60% at 0% 100%, #fdecee 0%, rgba(253, 236, 238, 0) 100%), #fffbfb;
}
.platform-card {
  flex: 1 1 520px;
  min-width: 0;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(57, 57, 57, 0.06);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.platform-logo {
  width: 180px;
  height: 48px;
  overflow: hidden;
}
.platform-logo--lark-crop {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  object-position: 41.5867% 49.2678%;
  object-view-box: inset(38.4653% 10.384% 39.6085% 7.3927%);
}
.platform-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--brand);
  font-size: 13px;
  font-weight: 600;
}
.platform-card__media {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
}
.platform-tag {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #e2e2e6;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}
.platform-logo--monday-crop {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  object-position: 84.3742% 100%;
}
.architecture-item--medium {
  flex: 1 1 200px;
  min-width: 0;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.architecture-layer--white {
  background: #ffffff;
  border: 1px solid #eadfe2;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
}
.platform-logos {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}
.platform-logo--compact {
  width: 150px;
  height: 44px;
  overflow: hidden;
}
.platform-logo--lark-compact {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  object-position: 56% 49.546%;
  object-view-box: inset(36.2376% 3.7091% 36.9018% 4.7207%);
}
.platform-logo--wide {
  width: 170px;
  height: 44px;
  overflow: hidden;
}
.platform-chip {
  padding: 6px 14px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #e2e2e6;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}
/* Outcomes and timelines */
.section-outcomes {
  padding: 96px 40px;
  background:
    radial-gradient(45% 55% at 10% 0%, #f9dce0 0%, rgba(249, 220, 224, 0) 100%),
    radial-gradient(40% 60% at 100% 90%, #fdebed 0%, rgba(253, 235, 237, 0) 100%), #ffffff;
}
.section-stack-roomy {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.outcomes-heading {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 48px;
  align-items: center;
  justify-content: space-between;
}
.outcomes-copy {
  flex: 1 1 560px;
  min-width: 0;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.outcomes-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.outcomes-timeline__item {
  flex: 1 1 260px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.outcomes-timeline__rail {
  position: relative;
  height: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.outcomes-timeline__line-right {
  position: absolute;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  background: var(--line);
  left: 50%;
  right: -12px;
}
.outcomes-timeline__dot {
  position: relative;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow:
    0 0 0 4px #ffffff,
    0 0 0 5px #f3d3d7;
}
.outcomes-timeline__card {
  flex: 1 1 auto;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  /* box-shadow: 0 8px 24px rgba(57, 57, 57, 0.06); */
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.outcomes-timeline__card:hover {
  box-shadow: 0 8px 24px rgba(57, 57, 57, 0.06);
}
.outcomes-timeline__number {
  font-size: 32px;
  line-height: 40px;
  font-weight: 800;
  color: var(--brand);
}
.outcomes-timeline__title {
  margin: 0;
  font-size: 18px;
  line-height: 26px;
  font-weight: 700;
  color: var(--ink-2);
}
.outcomes-timeline__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.outcomes-timeline__detail {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 22px;
  color: var(--muted);
}
.outcomes-timeline__icon {
  flex: none;
  display: flex;
  margin-top: 2px;
  color: #9c9c9c;
}
.outcomes-timeline__line-left {
  position: absolute;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  background: var(--line);
  left: -12px;
  right: 50%;
}
.hero-background__image-home {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  object-position: 100% 50%;
  right: auto;
  margin-left: 0px;
  margin-right: 0px;
}
.home-hero__copy {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.home-hero__title {
  margin: 0;
  font-size: 52px;
  line-height: 62px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #ffffff;
}
.home-hero__lead {
  margin: 0;
  font-size: 18px;
  line-height: 28px;
  color: var(--soft);
  max-width: 620px;
}
.home-trusted-heading {
  margin: 0;
  font-size: 24px;
  line-height: 1.33;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: 0px;
  font-style: normal;
  font-family: "Montserrat", "Noto Sans", Arial, sans-serif;
  position: static;
  text-align: left;
}
/* Homepage solution cards */
.home-solutions-section {
  padding: 96px 40px;
  opacity: 1;
  background-color: #ffffff;
}
.home-solutions-heading {
  margin: 0;
  font-size: 36px;
  line-height: 44px;
  font-weight: 700;
  color: var(--ink-2);
  max-width: 798px;
  width: auto;
}
.home-section-lead {
  margin: 0;
  font-size: 18px;
  line-height: 28px;
}
@media (max-width: 767px) {
  body[data-page="index"] :is(#solutions, #industries, #why, #cases) > .wrap {
    min-width: 0;
    gap: 32px;
  }
  body[data-page="index"] :is(#solutions, #industries, #why, #cases) .sec-title {
    width: auto;
    max-width: 100%;
  }
  body[data-page="index"] :is(#solutions, #industries, #why) > .wrap > .card-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  body[data-page="index"] #solutions .home-solution-card__body {
    padding: 20px;
    gap: 16px;
  }
  body[data-page="index"] #solutions .home-solution-card__title {
    font-size: 22px;
    line-height: 30px;
  }
  body[data-page="index"] #industries .industry-card__body {
    padding: 20px;
    gap: 12px;
  }
  body[data-page="index"] #industries .industry-card--cta {
    padding: 24px;
    min-height: 280px;
  }
  body[data-page="index"] #why .home-stats {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
  body[data-page="index"] #why .home-stat--divided {
    border-left: 0;
    border-top: 1px solid #f0dde0;
  }
  body[data-page="index"] #why .home-benefit-card {
    padding: 24px;
    gap: 16px;
  }
  body[data-page="index"] #cases .section-heading-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  body[data-page="index"] #cases #car2 {
    min-width: 0;
    max-width: 100%;
    gap: 24px;
  }
  body[data-page="index"] #cases .home-case-card__body {
    padding: 20px;
    gap: 16px;
  }
  body[data-page="index"] #cases .home-case-card__result {
    flex-wrap: wrap;
    gap: 8px 12px;
  }
}
.home-solution-card {
  flex: 1 1 520px;
  min-width: 0;
  border: 1px solid #f0e6e7;
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(57, 57, 57, 0.06);
  display: flex;
  flex-direction: column;
}
.home-card-media {
  width: 100%;
  height: 220px;
  overflow: hidden;
}
.home-solution-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.home-solution-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.home-solution-card__label {
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--brand);
}
.home-solution-card__title {
  margin: 0;
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
  color: var(--ink-2);
}
.technology-banner {
  color: #ffffff;
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  background-color: #ebebeb;
  border-style: solid;
  border-width: 1px;
  border-color: var(--soft);
}
.technology-banner__title {
  margin: 0;
  font-size: 24px;
  line-height: 1.33;
  font-weight: 600;
  color: #2e2e2e;
  letter-spacing: 0px;
  font-style: normal;
  font-family: "Montserrat", "Noto Sans", Arial, sans-serif;
}
.technology-banner__copy {
  margin: 0;
  flex: 1 1 380px;
  min-width: 0;
  color: var(--muted);
}
.technology-partners {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.technology-partners__label {
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  color: var(--brand);
}
.technology-partner-logo {
  flex: 1 1 140px;
  width: 140px;
  min-width: 0;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
}
.technology-partner-logo--lark {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  object-position: 100% 49.9115%;
  object-view-box: inset(34.3236% 0% 34.4453% 2.4026%);
}
.technology-partner-logo--byteplus {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  object-position: 50% 39.2295%;
  object-view-box: inset(14.3022% 0.3576% 22.1555% 0.3576%);
}
.home-services-section {
  background:
    radial-gradient(40% 55% at 5% 40%, #f7d5da 0%, rgba(247, 213, 218, 0) 100%),
    radial-gradient(40% 50% at 95% 20%, #fbe0e3 0%, rgba(251, 224, 227, 0) 100%), #ffffff;
  padding: 96px 40px;
  border-radius: 25px;
}
.home-services-heading {
  margin: 0;
  font-size: 36px;
  line-height: 44px;
  font-weight: 700;
  color: var(--ink-2);
}
.home-services-lead {
  margin: 0;
  font-size: 18px;
  line-height: 28px;
  max-width: 951px;
}
.journey {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.journey-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  column-gap: 0;
  row-gap: 24px;
}
.journey-step {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.journey-step__rail {
  height: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding-left: 20px;
}
.journey-step__dot--active {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 6px rgba(185, 35, 41, 0.18);
  flex: none;
}
.journey-step__line {
  flex: 1 1 auto;
  height: 1px;
  background: #e2e2e6;
}
.journey-step__card--active {
  background: #ffffff;
  border: 1px solid #f3d3d7;
  box-shadow: 0 12px 32px rgba(142, 23, 28, 0.1);
  border-radius: 20px;
  padding: 24px 16px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-grow: 1;
}
.journey-step__title--active {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
  color: var(--brand);
  white-space: normal;
}
.journey-step__text {
  margin: 0;
  font-size: 15px;
  line-height: 24px;
  color: var(--muted);
}
.journey-step__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand);
  flex: none;
}
.journey-step__card {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 20px;
  padding: 24px 16px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-grow: 1;
}
.journey-step__icon {
  color: #2e2e2e;
  display: flex;
}
.journey-step__title {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
  color: #2e2e2e;
  white-space: normal;
}
/* Industries and homepage benefits */
.industries-section {
  padding: 96px 40px;
  background-color: #f1f1f1;
}
.industries-heading {
  margin: 0;
  font-size: 36px;
  line-height: 44px;
  font-weight: 700;
  color: var(--ink-2);
  width: auto;
}
.industry-card {
  flex: 1 1 340px;
  min-width: 0;
  border: 1px solid #f0e6e7;
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(57, 57, 57, 0.06);
  text-decoration: none;
  color: var(--muted);
  display: flex;
  flex-direction: column;
}
.industry-card__media {
  width: 100%;
  height: 200px;
  overflow: hidden;
}
.industry-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.industry-card__title {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 10px;
}
.industry-card--cta {
  flex: 1 1 340px;
  min-width: 0;
  border-radius: 16px;
  overflow: hidden;
  background: var(--brand);
  text-decoration: none;
  color: var(--soft);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  gap: 12px;
  box-sizing: border-box;
  min-height: 320px;
}
.industry-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.industry-card__title--light {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
}
.industry-card__link {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}
.home-why-section {
  color: var(--muted);
  padding: 96px 40px;
  background-color: #ffffff;
}
.home-stats {
  display: flex;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(142, 23, 28, 0.08);
}
.home-stat {
  flex: 1 1 260px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}
.home-stat__number {
  font-size: 64px;
  line-height: 72px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--brand);
}
.home-stat__label {
  font-size: 15px;
  color: var(--muted);
}
.home-stat--divided {
  flex: 1 1 260px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-left: 1px solid #f0dde0;
  align-items: center;
}
.home-benefit-card {
  flex: 1 1 520px;
  min-width: 0;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(142, 23, 28, 0.08);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.home-benefit-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
}
.text-muted-reset {
  margin: 0;
  color: var(--muted);
}
.home-case-card {
  flex: 1 1 340px;
  min-width: 0;
  border: 1px solid #f0e6e7;
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(57, 57, 57, 0.06);
  display: flex;
  flex-direction: column;
}
.home-case-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}
/* Let case-card shadows extend beyond the desktop row and mobile scrollport. */
@media (min-width: 901px) {
  body[data-page="index"] #cases #car2 {
    overflow: visible;
  }
}
@media (max-width: 900px) {
  body[data-page="index"] #cases #car2 {
    max-width: none;
    padding: 24px 16px 40px;
    margin: -24px -16px -40px;
    scroll-padding-inline: 16px;
  }
}
.home-case-card__text {
  margin: 0;
  font-size: 15px;
  line-height: 24px;
  flex-grow: 1;
}
.home-case-card__result {
  display: flex;
  gap: 12px;
  align-items: baseline;
  border-top: 1px solid #ebebeb;
  padding-top: 16px;
}
.home-case-card__value {
  font-size: 28px;
  line-height: 32px;
  font-weight: 700;
  color: rgb(185, 35, 41);
}
.awards-controls-hidden {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: static;
  display: none;
}
/* Awards and newsroom */
.awards-section {
  padding: 96px 40px;
  background-color: #ffffff;
}
.awards-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 4px 4px 16px;
  scroll-snap-type: x mandatory;
}
/* Reserve room for award-card shadows without changing card alignment. */
body[data-page="index"] #awards .awards-track {
  padding: 24px 24px 40px;
  margin: -24px -24px -40px;
  scroll-padding-inline: 24px;
}
@media (max-width: 767px) {
  body[data-page="index"] #awards .awards-track {
    padding-inline: 16px;
    margin-inline: -16px;
    scroll-padding-inline: 16px;
  }
}
.award-card {
  flex: 0 0 calc((100% - 100px) / 6);
  min-width: 168px;
  box-sizing: border-box;
  scroll-snap-align: start;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 16px;
  box-shadow: 0 8px 24px rgba(57, 57, 57, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}
.award-card__media {
  width: 100%;
  height: 96px;
  overflow: hidden;
}
.award-card__title {
  margin: 0;
  font-size: 15px;
  line-height: 22px;
  font-weight: 600;
  color: var(--ink-2);
}
.award-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  object-position: 61.2992% 0%;
}
.award-card__title-compact {
  margin: 0px;
  font-size: 15px;
  line-height: 22px;
  color: var(--ink-2);
  font-weight: 600;
}
.news-hero__title {
  margin: 0;
  font-size: 48px;
  line-height: 58px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #ffffff;
  max-width: 1000px;
  text-wrap: balance;
}
.news-hero__lead {
  margin: 0;
  font-size: 18px;
  line-height: 28px;
  color: var(--soft);
  max-width: 720px;
}
.news-hero__toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
}
.news-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.news-filter--active {
  background: #ffffff;
  color: var(--brand);
  border: 1px solid #ffffff;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  min-height: 44px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
}
.news-filter {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  min-height: 44px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
}
.news-search {
  flex: 0 1 380px;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: #ffffff;
  color: #8a8a8a;
  box-sizing: border-box;
}
.news-featured {
  flex: 1.5 1 560px;
  min-width: 0;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}
.news-featured__overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 32px;
  background: linear-gradient(0deg, rgba(30, 6, 8, 0.88) 0%, rgba(30, 6, 8, 0) 100%);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.news-featured__category {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #ffd9dc;
}
.news-featured__title {
  margin: 0;
  font-size: 28px;
  line-height: 36px;
  font-weight: 700;
  color: #ffffff;
}
.news-sidebar {
  flex: 1 1 380px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.news-item__media {
  width: 140px;
  flex: none;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
}
.text-stack-sm {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.news-item__title {
  margin: 0;
  font-size: 16px;
  line-height: 23px;
  font-weight: 600;
  color: var(--ink-2);
}
.text-category-spacing {
  letter-spacing: 0.72px;
}
.news-category {
  font-weight: 600;
  color: rgb(185, 35, 41);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 12px;
}
/* About hero — preserved layout */
.about-hero-shell {
  background: #ffffff;
  color: var(--ink-2);
  display: grid;
  grid-template-columns: 100%;
  grid-template-rows: auto 1fr;
}
.about-hero {
  grid-column: 1;
  grid-row: 2;
  position: relative;
  padding: 72px 40px 96px;
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 58%, #fff4f5 58%, #fff4f5 100%);
}
.about-hero__layout {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 64px;
  align-items: flex-end;
  justify-content: space-between;
}
.about-hero__copy {
  flex: 1 1 600px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.breadcrumb__separator--muted {
  color: #9c9c9c;
}
.about-hero__badge {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #fdecee;
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}
.about-hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}
.about-hero__title {
  margin: 0;
  font-size: 52px;
  line-height: 62px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink-2);
}
.text-brand {
  color: var(--brand);
}
.about-hero__aside {
  flex: 1 1 380px;
  max-width: 480px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.about-hero__lead {
  margin: 0;
  font-size: 17px;
  line-height: 28px;
  color: var(--muted);
}
.about-hero__figure {
  margin: 0;
  position: relative;
}
.about-hero__media {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 28px;
  overflow: hidden;
  background: #f7f7f7;
  box-shadow: 0 24px 64px rgba(57, 57, 57, 0.16);
}
.about-hero__caption-old {
  position: absolute;
  left: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 24px rgba(57, 57, 57, 0.18);
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  color: var(--ink-2);
}
.status-dot-old {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
}
.about-glance-section {
  padding: 56px 40px;
  background: #ffffff;
}

/* Team gallery */
.team-gallery {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
}

.team-gallery-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.team-gallery-slide {
  flex: 0 0 100%;
  aspect-ratio: 21 / 9;
  scroll-snap-align: start;
  overflow: hidden;
}
.team-gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  object-position: 50% 41.4037%;
}
.team-gallery-thumbs {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}

.people-copy {
  flex: 1 1 440px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.people-visual {
  flex: 1 1 460px;
  min-width: 0;
}
.people-media {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 24px;
  overflow: hidden;
}
/* Ecosystem and partnerships */
.ecosystem-visual {
  flex: 1 1 480px;
  min-width: 0;
  max-width: 560px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.ecosystem-map {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
}
.ecosystem-orbit-outline {
  position: absolute;
  inset: 5%;
  border-radius: 50%;
  border: 1.5px dashed #e6bfc4;
  background: radial-gradient(circle, rgba(255, 240, 241, 0) 55%, #fff7f8 100%);
}
.ecosystem-orbit-inner {
  position: absolute;
  inset: 21%;
  border-radius: 50%;
  border: 1.5px solid #f3d3d7;
  background: #fff4f5;
}
.ecosystem-core-glow {
  position: absolute;
  inset: 35%;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  box-shadow: 0 20px 40px rgba(142, 23, 28, 0.3);
}
.ecosystem-core {
  position: absolute;
  inset: 38%;
  border-radius: 50%;
  background: #ffffff;
  padding: 4%;
  box-sizing: border-box;
  display: flex;
  z-index: 2;
}
.ecosystem-core-logo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
}
.ecosystem-node--southeast {
  position: absolute;
  left: 69.8%;
  top: 69.8%;
  width: 15%;
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #eadfe2;
  box-shadow: 0 8px 20px rgba(57, 57, 57, 0.1);
  box-sizing: border-box;
  padding: 3.2%;
  display: flex;
  z-index: 2;
}
.ecosystem-node--southwest {
  position: absolute;
  left: 30.2%;
  top: 69.8%;
  width: 15%;
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #eadfe2;
  box-shadow: 0 8px 20px rgba(57, 57, 57, 0.1);
  box-sizing: border-box;
  padding: 3.2%;
  display: flex;
  z-index: 2;
}
.ecosystem-node--northwest {
  position: absolute;
  left: 30.2%;
  top: 30.2%;
  width: 15%;
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #eadfe2;
  box-shadow: 0 8px 20px rgba(57, 57, 57, 0.1);
  box-sizing: border-box;
  padding: 3.2%;
  display: flex;
  z-index: 2;
}
.ecosystem-node--northeast {
  position: absolute;
  left: 69.8%;
  top: 30.2%;
  width: 15%;
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #eadfe2;
  box-shadow: 0 8px 20px rgba(57, 57, 57, 0.1);
  box-sizing: border-box;
  padding: 3.2%;
  display: flex;
  z-index: 2;
}
.ecosystem-node--north {
  position: absolute;
  left: 50%;
  top: 5%;
  width: 17%;
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--brand);
  box-shadow: 0 10px 24px rgba(185, 35, 41, 0.25);
  box-sizing: border-box;
  padding: 3.2%;
  display: flex;
  z-index: 2;
}
.ecosystem-node--east {
  position: absolute;
  left: 92.8%;
  top: 36.1%;
  width: 17%;
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #eadfe2;
  box-shadow: 0 8px 20px rgba(57, 57, 57, 0.1);
  box-sizing: border-box;
  padding: 3.2%;
  display: flex;
  z-index: 2;
}
.ecosystem-node--southeast-outer {
  position: absolute;
  left: 76.5%;
  top: 86.4%;
  width: 17%;
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #eadfe2;
  box-shadow: 0 8px 20px rgba(57, 57, 57, 0.1);
  box-sizing: border-box;
  padding: 3.2%;
  display: flex;
  z-index: 2;
}
.ecosystem-node--southwest-outer {
  position: absolute;
  left: 23.5%;
  top: 86.4%;
  width: 17%;
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #eadfe2;
  box-shadow: 0 8px 20px rgba(57, 57, 57, 0.1);
  box-sizing: border-box;
  padding: 3.2%;
  display: flex;
  z-index: 2;
}
.ecosystem-node-logo--crop {
  width: 53px;
  height: 51px;
  object-fit: cover;
  display: block;
  object-position: 50.4237% 15.2406%;
  object-view-box: inset(0% 27.4923% 0% 27.9623%);
}
.ecosystem-node--west {
  position: absolute;
  left: 7.2%;
  top: 36.1%;
  width: 17%;
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #eadfe2;
  box-shadow: 0 8px 20px rgba(57, 57, 57, 0.1);
  box-sizing: border-box;
  padding: 3.2%;
  display: flex;
  z-index: 2;
}
.ecosystem-copy {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ecosystem-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(57, 57, 57, 0.06);
  padding: 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.ecosystem-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.partnerships-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.partnerships-panels {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.partnerships-track {
  display: flex;
  align-items: center;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 4px 4px 12px;
  margin: -4px -4px 0;
}
.partnership-card--active {
  margin: 0;
  flex: 0 0 calc(56% - 12px);
  min-width: 280px;
  scroll-snap-align: start;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 20px 48px rgba(57, 57, 57, 0.12);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.partnership-card__caption--active {
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  line-height: 23px;
}
.partnership-card {
  margin: 0;
  flex: 0 0 calc(22% - 12px);
  min-width: 200px;
  scroll-snap-align: start;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(57, 57, 57, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  opacity: 0.45;
}
.partnership-card__media {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.partnership-card__caption {
  padding: 14px 16px 18px;
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  line-height: 23px;
}
.partnerships-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.partnerships-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}
.partnerships-dot--active {
  width: 28px;
  height: 8px;
  border-radius: 999px;
  background: var(--brand);
}
.partnerships-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #e3d9db;
}
.partnerships-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  background: #ffffff;
  color: var(--ink-2);
  border: 1px solid #e2e2e6;
}

.awards-heading {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  align-items: center;
}

/* Accordion illustrations: show the full image at its natural ratio. */
.capabilities-visual {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
}

.capabilities-visual__image {
  display: block;
  width: 100%;
  height: auto;
}

/* Alternate the loyalty row while keeping text first when the columns wrap. */
.customer-solution-row--reverse {
  flex-direction: row-reverse;
}

/* Blog article: generated, sticky table of contents. */
body:is([data-page="blog-chi-tiet"], [data-page="case-study-chi-tiet"], [data-page="news-chi-tiet"]) {
  overflow-x: clip;
}
.blog-article-layout {
  display: flex;
  align-items: stretch;
  gap: 64px;
}
.blog-article-sidebar {
  flex: 0 0 240px;
  min-width: 0;
}
.blog-article-sidebar__sticky {
  position: sticky;
  top: calc(var(--hdr-h) + 16px);
}
.article-toc {
  margin-bottom: 24px;
}
.article-share {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.article-share__title {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.article-toc__title {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 700;
}
.toc-list,
.toc-sub-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.toc-sub-list {
  padding-left: 16px;
}
.toc-list a {
  display: block;
  padding: 9px 12px;
  border-left: 2px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
}
.toc-sub-list a {
  font-size: 13px;
}
.toc-list a:hover,
.toc-list a[aria-current="location"] {
  border-left-color: var(--brand);
  background: var(--soft);
  color: var(--brand);
}
.toc-list a[aria-current="location"] {
  font-weight: 600;
}
.blog-article-content :is(h1, h2, h3) {
  /* html already reserves the fixed header via scroll-padding-top. */
  scroll-margin-top: 16px;
}
.blog-article-content > :first-child {
  margin-top: 0;
}
.blog-article-content > :last-child {
  margin-bottom: 0;
}
.blog-article-content p {
  margin: 0;
  font-size: 17px;
  line-height: 30px;
}
.blog-article-content > p:first-child {
  font-size: 20px;
  line-height: 32px;
  color: var(--ink-2);
}
.blog-article-content h2 {
  margin: 16px 0 0;
  font-size: 28px;
  line-height: 36px;
  font-weight: 700;
  color: var(--ink-2);
}
.blog-article-content h3 {
  margin: 8px 0 0;
  font-size: 22px;
  line-height: 30px;
  font-weight: 700;
  color: var(--ink-2);
}
.blog-article-content :is(ul, ol) {
  margin: 0;
  padding-left: 24px;
  font-size: 17px;
  line-height: 30px;
}
.blog-article-content li + li {
  margin-top: 8px;
}
.blog-article-content a {
  color: var(--brand);
  text-underline-offset: 3px;
}
.blog-article-content blockquote {
  margin: 0;
  padding: 20px 24px;
  border-left: 4px solid var(--brand);
  border-radius: 0 12px 12px 0;
  background: var(--soft);
  color: var(--ink-2);
  font-size: 18px;
  line-height: 30px;
}
.blog-article-content img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
  border-radius: 16px;
}
.blog-article-content table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}
.blog-article-content :is(th, td) {
  min-width: 150px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.blog-article-content th {
  background: var(--brand);
  color: #fff;
  font-weight: 700;
}
.article-toc-toggle {
  display: none;
}
.article-toc-dialog {
  width: min(560px, calc(100% - 32px));
  max-height: 75dvh;
  padding: 0;
  border: 0;
  border-radius: 20px;
  color: var(--ink);
  background: #fff;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.article-toc-dialog::backdrop {
  background: rgba(0, 0, 0, 0.45);
}
.article-toc-dialog__header {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  z-index: 1;
}
.article-toc-dialog__header h2 {
  margin: 0;
  font-size: 18px;
}
.article-toc-dialog__header button {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 8px;
  background: var(--soft);
  color: var(--brand);
  font-size: 28px;
  cursor: pointer;
}
.sort-field .sort-select {
  min-width: 160px;
  padding: 0 36px 0 14px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%23333' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.75' d='m6 8 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px 16px;
}
.article-toc-dialog nav {
  padding: 16px 20px 24px;
}
body.article-toc-open {
  overflow: hidden;
}
@media (max-width: 900px) {
  .blog-article-layout {
    flex-direction: column;
    gap: 24px;
  }
  .blog-article-sidebar {
    order: 2;
    flex: auto;
    width: 100%;
  }
  .blog-article-sidebar__sticky {
    position: static;
  }
  .article-toc {
    display: none;
  }
  .article-share {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }
  :is(#blog-content, #case-study-content).blog-article-content {
    flex: auto;
    width: 100%;
    max-width: none;
  }
  .article-toc-toggle {
    position: fixed;
    left: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    z-index: 110;
    display: block;
    padding: 12px 18px;
    border: 0;
    border-radius: 24px;
    box-shadow: 0 4px 16px rgba(57, 57, 57, 0.2);
    background: var(--brand);
    color: #fff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
  }
  .article-toc-dialog {
    margin: auto auto calc(16px + env(safe-area-inset-bottom, 0px));
  }
}

/* Rikkeisoft ecosystem: two orbits with upright satellite logos. */
#ecosystem .ecosystem-diagram {
  width: calc(100% - 48px);
  margin: 24px auto;
}
.ecosystem-orbit {
  --orbit-duration: 40s;
  position: absolute;
  inset: 0;
  z-index: 1;
  animation: ecosystem-orbit var(--orbit-duration) linear infinite;
}
.ecosystem-orbit > div {
  animation: ecosystem-counter-orbit var(--orbit-duration) linear infinite;
}
.ecosystem-orbit--outer {
  --orbit-duration: 60s;
}
.ecosystem-orbit--outer,
.ecosystem-orbit--outer > div {
  animation-direction: reverse;
}
.ecosystem-diagram:hover .ecosystem-orbit,
.ecosystem-diagram:hover .ecosystem-orbit > div {
  animation-play-state: paused;
}
@keyframes ecosystem-orbit {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes ecosystem-counter-orbit {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(-360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .ecosystem-orbit,
  .ecosystem-orbit > div {
    animation: none;
  }
}

/* About page sliders: reserve space inside the scrollport for card shadows.
   Negative margins preserve the existing alignment and spacing of the cards. */
body[data-page="ve-chung-toi"]
  :is(#partnerships [data-carousel="feature"], #awards [data-carousel="scroll"]) {
  padding: 32px 40px 64px;
  padding-top: 32px !important;
  margin: -32px -40px -64px;
  scroll-padding-inline: 40px;
}

/* About partnerships: stable card geometry prevents jumps during selection. */
#partnerships [data-carousel-stable] {
  align-items: stretch;
  scroll-snap-type: x proximity;
  overflow-anchor: none;
}
#partnerships [data-carousel-stable] > figure {
  flex: 0 0 calc((100% - 60px) / 3) !important;
  min-width: 0;
  opacity: 1 !important;
  border-radius: 24px !important;
  box-shadow: none !important;
  transition: border-color 0.25s;
  cursor: pointer;
}
#partnerships [data-carousel-stable] > figure.is-active {
  border-color: var(--brand);
  box-shadow: none !important;
}
#partnerships [data-carousel-stable] > figure > [data-frame] {
  aspect-ratio: 16 / 10 !important;
  flex: none;
  background: #f7f6f9;
}
#partnerships [data-carousel-stable] > figure > [data-frame] > img {
  object-fit: cover !important;
  object-position: center !important;
}
#partnerships [data-carousel-stable] figcaption {
  padding: 24px !important;
  transition: none;
}
#partnerships [data-carousel-stable] .pc-title {
  font-size: 18px;
  line-height: 26px;
}
#partnerships [data-carousel-stable] .pc-desc {
  display: block;
}
@media (max-width: 900px) {
  #partnerships [data-carousel-stable] > figure {
    flex-basis: 100% !important;
  }
}

/* Apply the shadow after the scrollport is clipped, so it extends beyond
   both edges without exposing adjacent cards or changing the 30px gap. */
body[data-page="ve-chung-toi"] #partnerships [data-carousel-stable] {
  padding-inline: 0;
  margin-inline: 0;
  gap: 30px;
  scroll-padding-inline: 0;
  filter: drop-shadow(0 10px 14px rgba(57, 57, 57, 0.1));
  scroll-snap-type: x mandatory;
}

/* Partnership arrows share a neutral resting state; hover indicates action. */
#partnerships :is([data-car-prev], [data-car-next]):disabled {
  background: #fff !important;
  color: var(--ink-2) !important;
  border: 1px solid #e2e2e6 !important;
  box-shadow: none;
  opacity: 0.35;
  cursor: not-allowed;
}

/* Team thumbnails: highlight the current image with an unclipped red border. */
[data-car-thumbs="car16"] > [data-frame] {
  flex: 1 0 120px;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  box-sizing: border-box;
  border: 2px solid transparent;
  outline: none;
  opacity: 0.5;
  transition:
    border-color 0.2s,
    opacity 0.2s;
}
[data-car-thumbs="car16"] > [data-frame].is-active {
  border-color: var(--brand);
  opacity: 1;
}

[data-car-thumbs="car16"] > [data-frame]:not(.is-active) {
  opacity: 0.5;
}

/* About: founders introduction and portrait cards. */
.founders {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.founders__intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.founders__heading {
  margin: 20px 0 0;
  max-width: 540px;
  color: var(--ink-2);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.3;
}
.founders__description {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
}
.founders__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.founder-card {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(57, 57, 57, 0.08);
}
.founder-card__portrait {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #fff;
}
.founder-card__portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.founder-card__portrait--pending {
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--muted);
  background: var(--soft);
  text-align: center;
}
.founder-card__info {
  padding: 24px;
}
.founder-card__info h3 {
  margin: 0 0 10px;
  color: var(--ink-2);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
}
.founder-card__info p {
  margin: 0;
  color: var(--brand);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}
@media (max-width: 900px) {
  .founders__intro {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .founders__grid {
    gap: 16px;
  }
  .founder-card__info {
    padding: 18px;
  }
  .founder-card__info h3 {
    font-size: 20px;
  }
}
@media (max-width: 600px) {
  .founders__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
.divider {
  height: 1px;
  width: 100%;
  background: linear-gradient(
    90deg,
    rgba(185, 35, 41, 0) 0%,
    #e8d3d6 15%,
    #e8d3d6 85%,
    rgba(185, 35, 41, 0) 100%
  );
}

/* Keep controls above the padded scrollport and enlarge dot hit targets. */
#partnerships [data-car-ctrl] {
  position: relative;
  z-index: 2;
  isolation: isolate;
}
#partnerships [data-car-dots][data-car-dots] {
  gap: 0;
}
#partnerships [data-car-dots][data-car-dots] > span {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  background: transparent !important;
  transition: none;
  touch-action: manipulation;
}
#partnerships [data-car-dots][data-car-dots] > span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #e3d9db;
  transition:
    width 0.2s,
    background 0.2s;
}
#partnerships [data-car-dots][data-car-dots] > span.is-active::before {
  width: 28px;
  background: var(--brand);
}
#partnerships :is([data-car-prev], [data-car-next]) {
  touch-action: manipulation;
}
@media (max-width: 600px) {
  #partnerships [data-car-ctrl] {
    flex-wrap: wrap;
    justify-content: center;
  }
  .card-grid{
    gap: 24px;
  }
}

/* Mobile content spacing across pages; hero layouts and carousels stay separate. */
@media (max-width: 767px) {
  body main .sec--std .sec-title {
    width: auto;
    max-width: 100%;
  }
  body main .sec--std > .wrap {
    min-width: 0;
    row-gap: 32px;
  }
  body main .sec--std :is(.card-grid:not([data-carousel]), .testimonial-grid:not([data-carousel])) {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  body main .sec--std :is(.delivery-layout, .service-panel, .split-layout, .solution-row) {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  body main .sec--std :is(.delivery-layout, .service-panel, .split-layout, .solution-row) > * {
    min-width: 0;
  }
  body main .sec--std .section-heading-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  body main .sec--std :is(.stats-panel, .home-stats) {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
  body main .sec--std :is(.stat-item--divided, .home-stat--divided) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  body main .sec--std :is(.delivery-card, .benefit-card, .service-panel) {
    padding: 24px;
  }
}
