.hero-copy {
  --hero-role-size: clamp(1.45rem, 2.55vw, 2.35rem);
}
.hero-name {
  display: flex;
  align-items: flex-end;
  gap: .045em;
  width: max-content;
  margin: .65rem 0 .85rem;
  color: #0a0a0a;
  font-size: calc(var(--hero-role-size) * 2.83);
  line-height: .95;
}
.hero-given-name {
  letter-spacing: -.013em;
  -webkit-text-stroke: .055em currentColor;
}
.hero-family-name {
  margin-bottom: .62em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--body);
  font-size: .29em;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.018em;
}
.hero-copy .hero-role { font-size: var(--hero-role-size); }
.hero-role .display-lettering:last-child { letter-spacing: .077em; }

.hero-experience {
  display: inline-block;
  margin-top: 1rem;
  padding: .35rem .7rem;
  border: 1px solid #dce3ec;
  border-radius: 8px;
  background: #ebf0f6;
  color: #35475e;
  font-size: .84rem;
  font-weight: 700;
}

.footer-grid {
  align-items: center;
  padding: clamp(1.3rem, 4.2vw, 3rem);
}
.footer-grid h2 {
  margin: .55rem 0 0;
  font-size: clamp(2.25rem, 4.2vw, 4rem);
  text-wrap: balance;
}
.footer-grid .kicker {
  margin: 0;
  color: #2b5279;
}
.footer-grid .contact-item {
  border-color: #cad5df;
  border-radius: 5px;
  background: #fffffff5;
}
.footer-grid .contact-item :is(.button, .contact-detail) { color: #23496e; }

.silk-feature {
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(1rem, 3.3vw, 2.6rem);
  padding: clamp(1.1rem, 3vw, 2.2rem);
}
.silk-feature .featured-copy {
  align-self: start;
  padding: 0;
}
.silk-media .card-image { border-radius: 12px; }
.silk-media img { aspect-ratio: 16 / 9; filter: none; }
.silk-table-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
  margin-top: .65rem;
  padding: .58rem .8rem;
  border: 1px solid #dce4ef;
  border-radius: 10px;
  background: #edf2f8;
  color: #2b4668;
  font-size: .85rem;
  font-weight: 700;
  text-decoration: none;
}
.silk-table-link:hover { background: #e3eaf4; text-decoration: underline; }

.stat-grid dd, .project-views, .project-metric { color: #254c70; }
#du-an .metric { display: flex; flex-wrap: wrap; gap: .27rem .35rem; margin-top: .32rem; }
.project-metric {
  padding: .07rem .38rem;
  background: #e7eef5;
  border-radius: 5px;
  white-space: nowrap;
}

.capability-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-top: 1.9rem;
}
.capability-header .process-heading { margin: 0; }
.capability-controls {
  display: flex;
  align-items: center;
  gap: .55rem;
}
.capability-controls[hidden] { display: none; }
.capability-controls button {
  display: grid;
  place-items: center;
  border: 1px solid #d6dce3;
  border-radius: 9px;
  background: #f1f4f7;
  color: #253445;
  width: 41px;
  height: 41px;
  font: inherit;
  cursor: pointer;
}
.capability-controls button:hover { background: #e7edf4; }
.capability-controls button[aria-disabled="true"] { opacity: .48; cursor: default; }
.capability-position { color: var(--muted); white-space: nowrap; font-size: .82rem; font-variant-numeric: tabular-nums; }

.capabilities {
  display: flex;
  overflow-x: auto;
  gap: .85rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #a1aab6 #eef0f3;
}
.capabilities:focus-visible {
  outline: 2px solid #53647b;
  outline-offset: 3px;
  border-radius: 16px;
}
.capability-pair {
  flex: 0 0 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem;
  padding-bottom: .4rem;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.capability-pair > div {
  position: relative;
  overflow: hidden;
  min-width: 0;
  padding: clamp(.8rem, 3vw, 1.45rem);
  border: 1px solid #525d69;
  border-radius: 16px;
  background: linear-gradient(150deg, #526172 0%, #3b4653 43%, #2c343f 100%);
  box-shadow: inset 0 1px 0 #ffffff36;
}
.capability-pair > div:nth-child(even) {
  background: linear-gradient(150deg, #535d69 0%, #404954 43%, #303741 100%);
}
.capabilities dt {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: #fff;
  line-height: 1.28;
}
.capability-icon {
  flex: none;
  width: 38px;
  height: 38px;
  padding: 8px;
  border: 1px solid #ffffff38;
  border-radius: 10px;
  background: #ffffff16;
  color: #eef4fd;
}
.capabilities dd { margin-top: .68rem; color: #edf1f6; }
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  .capability-pair > div::after {
    position: absolute;
    inset: 0;
    pointer-events: none;
    content: "";
    background: linear-gradient(108deg, transparent 30%, #ffffff31 49%, transparent 67%);
    transform: translateX(-110%);
  }
  .capability-pair > div:hover::after { animation: capability-shine 620ms ease-out both; }
}
@keyframes capability-shine {
  from { transform: translateX(-110%); }
  to { transform: translateX(110%); }
}

.footer-grid,
.thanks-panel,
.services .service-grid {
  border: 1px solid #cbd6e0;
  border-radius: 9px;
  background-color: #fbfdff;
  background-image:
    linear-gradient(106deg, #ffffff24, #ffffffe6 70%, #ffffff45),
    url("assets/nep-gap-giay.svg");
  background-position: center;
  background-size: auto, 168px 168px;
}
.thanks-panel,
.services .service-grid {
  background-image:
    linear-gradient(106deg, #ffffff24, #ffffffcf 56%, #ffffffdb),
    url("assets/nep-gap-giay.svg");
}
.footer-grid h2 .display-lettering,
.thanks-panel h2 {
  color: #28517a;
  letter-spacing: -.027em;
}
.thanks-copy { color: #243341; }
.thanks-copy strong { color: #21486e; }
@supports (background-clip: text) {
  .footer-grid h2 .display-lettering,
  .thanks-panel h2 {
    background-image: linear-gradient(123deg,
      #254e78 0 22%, #426e97 22% 37%, #2d5a85 37% 52%,
      #527ca2 52% 65%, #2a537f 65% 82%, #416c94 82% 100%);
    background-clip: text;
    color: transparent;
  }
  .thanks-panel h2 {
    background-image: linear-gradient(123deg,
      #375f85 0 22%, #5882a8 22% 37%, #386990 37% 52%,
      #547ea4 52% 67%, #2b567d 67% 82%, #4e789f 82% 100%);
  }
}
@media (forced-colors: active) {
  .footer-grid h2 .display-lettering,
  .thanks-panel h2 {
    background-image: none;
    color: CanvasText;
  }
}

@media (max-width: 680px) {
  .silk-feature { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .capability-header { gap: .45rem; }
  .capability-controls { gap: .3rem; }
  .capability-controls button { width: 37px; height: 37px; }
  .capabilities dt { align-items: flex-start; flex-direction: column; gap: .5rem; font-size: .87rem; }
  .capabilities dd { margin-top: .46rem; }
}

.services > .section-top {
  justify-content: flex-start;
  margin-bottom: clamp(5.5rem, 8.5vw, 7.5rem);
}
.services #tieu-de-dich-vu {
  font-size: clamp(1.4rem, 4.75vw, 4rem);
  text-align: left;
}
.services .service-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.25rem);
  padding: 0 clamp(1.2rem, 4vw, 3.25rem) clamp(1.5rem, 3.5vw, 2.75rem);
  overflow: visible;
}
.services .service-grid article {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
}
.services .service-grid article::before {
  display: block;
  width: 2.15rem;
  height: 3px;
  margin-bottom: .9rem;
  background: #456d93;
  content: "";
}
.services .service-grid h3 {
  font-size: clamp(1.25rem, 1.75vw, 1.65rem);
  line-height: 1.25;
}
.services .service-grid p {
  font-size: .94rem;
  line-height: 1.65;
}
.service-portrait {
  align-self: start;
  min-width: 0;
  margin-top: -24%;
}
.service-portrait img {
  height: auto;
  object-fit: contain;
}
@media (max-width: 790px) {
  .services .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
  .service-portrait {
    grid-column: 1 / -1;
    grid-row: 1;
    width: min(100%, 22rem);
    margin-top: calc(-.24 * min(100%, 22rem));
    justify-self: center;
  }
}
@media (max-width: 520px) {
  .services > .section-top { margin-bottom: clamp(4.1rem, 17vw, 5.5rem); }
  .services .service-grid { grid-template-columns: minmax(0, 1fr); gap: 1.45rem; }
}


.hero-profile {
  grid-template-columns: minmax(0, .95fr) repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 8px;
  border: 1px solid #cad7e3;
  border-radius: 23px;
  background: linear-gradient(128deg, #dce7f0, #c7d6e4);
  box-shadow: 0 12px 27px #2c48651a;
}
.profile-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(.95rem, 2.05vw, 1.6rem);
  border-radius: 15px;
  background: linear-gradient(145deg, #edf4fa, #dce8f2);
  color: #172b40;
}
.profile-card:last-child {
  background: linear-gradient(145deg, #e5eff7, #d3e2ee);
}
.profile-current {
  color: #fff;
  background: linear-gradient(148deg, #365b7c, #203a55 68%, #192f47);
}
.profile-card h2 {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .75rem;
  font-size: clamp(1.05rem, 1.6vw, 1.4rem);
  line-height: 1.24;
  text-transform: none;
}
.profile-items {
  display: grid;
  gap: .4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.profile-item {
  display: flex;
  align-items: center;
  gap: .58rem;
  min-height: 2.7rem;
  padding: .45rem .7rem;
  border: 1px solid #a4b8cb36;
  border-radius: 8px;
  background: #bacfe070;
  color: inherit;
  font-size: .91rem;
  font-weight: 700;
  line-height: 1.35;
}
.profile-current .profile-item {
  flex: 1;
  padding: .65rem .8rem;
  border-color: #e7f3ff38;
  background: linear-gradient(155deg, #e7f3ff24, #e7f3ff0b);
  font-family: var(--head);
  font-size: clamp(1.55rem, 3vw, 2.7rem);
  letter-spacing: -.034em;
}
.profile-icon {
  flex: none;
  width: 1.15rem;
  height: 1.15rem;
  color: #101111;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.profile-heading-icon { color: inherit; }
@media (max-width: 730px) {
  .hero-profile { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile-current { grid-column: 1 / -1; }
}
@media (max-width: 380px) {
  .profile-card { padding: .7rem; }
  .profile-item { padding-inline: .45rem; font-size: .83rem; }
}

@media (prefers-reduced-motion: no-preference) {
  .profile-card {
    --profile-light: #6e9bc23d;
    --profile-sheen: #ffffffa6;
    --profile-delay: 0ms;
    position: relative;
    isolation: isolate;
    overflow: hidden;
  }
  .profile-card:nth-child(2) { --profile-delay: 100ms; }
  .profile-card:nth-child(3) { --profile-delay: 200ms; }
  .profile-current {
    --profile-light: #77acd233;
    --profile-sheen: #bfddf020;
  }
  .profile-card::before,
  .profile-card::after {
    position: absolute;
    z-index: -1;
    inset: 0;
    pointer-events: none;
    content: "";
  }
  .profile-card::before {
    background:
      linear-gradient(112deg, transparent 28%, var(--profile-sheen) 51%, transparent 74%),
      linear-gradient(135deg, var(--profile-light), transparent 88%);
    background-size: 240% 100%, 100% 100%;
    opacity: 0;
  }
  .profile-card[data-revealed]::before {
    animation: profile-sheen 880ms cubic-bezier(.22, 1, .36, 1) var(--profile-delay);
  }
  .profile-card::after {
    background: radial-gradient(ellipse at top right, var(--profile-light), transparent 75%);
    box-shadow: inset 0 0 0 1px var(--profile-light);
    border-radius: inherit;
    opacity: 0;
    transition: opacity 250ms ease;
  }
}

@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  .profile-card:hover::after { opacity: 1; }
  .profile-item { transition: border-color 220ms ease, box-shadow 220ms ease; }
  .profile-item:hover {
    border-color: var(--profile-light);
    box-shadow: inset 0 1px 0 #ffffff50;
  }
}

@keyframes profile-sheen {
  0% { opacity: 0; background-position: 100% 0, 0 0; }
  24% { opacity: .95; }
  55% { opacity: .72; }
  100% { opacity: 0; background-position: 0 0, 0 0; }
}

.process {
  gap: .85rem .95rem;
  list-style: none;
}
.process li {
  display: grid;
  position: relative;
  min-width: 0;
  border: 0;
  padding: 0 0 0 clamp(3rem, 5vw, 4rem);
}
.process-number {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 0 .035em .045em;
  font: 700 clamp(7rem, 10.1vw, 8.9rem)/.82 var(--head);
  transform: scaleX(.74);
  transform-origin: left bottom;
  letter-spacing: -.07em;
  font-variant-numeric: tabular-nums;
  color: #0c0d10;
  -webkit-text-stroke: .045em currentColor;
}
.process-caption {
  display: grid;
  align-content: center;
  min-height: 5.5rem;
  margin-top: 1.75rem;
  padding: .65rem .7rem;
  border: 1px solid #bac8d5;
  border-radius: 8px;
  background: #fff;
}
@media (min-width: 681px) and (max-width: 950px) {
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 580px) {
  .process-number { font-size: 6.6rem; }
}
@media (max-width: 410px) {
  .process { grid-template-columns: minmax(0, 1fr); }
}

.language-link {
  padding: .35em .55em;
  border: 1px solid var(--stroke);
  border-radius: 6px;
  font-size: .78em;
  letter-spacing: .04em;
}
