/* The original wordmark uses Vn.AVantH. The local declaration activates it
   automatically once the licensed font is installed on the production device. */
@font-face {
  font-family: "Vn.AVantH";
  src: local("Vn.AVantH");
  font-display: swap;
}

.brand,
.footer-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: auto;
  overflow: visible;
}

.brand-mark {
  display: block;
  width: 32px;
  height: 36px;
  flex: 0 0 32px;
  background: transparent url("assets/amigo-original-mark.svg") center / contain no-repeat;
  filter: none;
}

.brand-name {
  display: block;
  color: #fff;
  line-height: 1;
  letter-spacing: .025em;
}

.brand-name strong,
.brand-name small {
  font-family: "Vn.AVantH", "ITC Avant Garde Gothic Pro", "Century Gothic", Arial, sans-serif;
  font-weight: 700;
}

.brand-name strong { font-size: 15px; white-space: nowrap; }

.brand-name small {
  display: none;
}

.footer-wordmark {
  margin-bottom: 22px;
}

.spatial-journey {
  height: 260vh;
  background: #111411;
  position: relative;
}

.journey-sticky {
  height: 100vh;
  position: sticky;
  top: 0;
  overflow: hidden;
  color: #fff;
  background: #111411;
}

.journey-frame {
  position: absolute;
  inset: 0;
  opacity: 0;
  overflow: hidden;
  transition: opacity .75s ease;
}

.journey-frame.active {
  opacity: 1;
}

.journey-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.24);
  filter: saturate(.88) contrast(1.05);
  transition: transform .18s linear;
  will-change: transform;
}

.journey-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(7,9,8,.86) 0%, rgba(7,9,8,.48) 35%, rgba(7,9,8,.05) 72%), linear-gradient(0deg, rgba(7,9,8,.6), transparent 48%);
}

.journey-copy {
  position: absolute;
  left: 8vw;
  top: 50%;
  width: min(520px, 72vw);
  transform: translateY(-50%);
  z-index: 1;
}

.journey-copy h2 {
  margin: 0 0 27px;
  font: 500 clamp(3.8rem, 8vw, 8.2rem)/.84 var(--serif);
  letter-spacing: -.07em;
}

.journey-copy > p:last-child {
  max-width: 340px;
  margin: 0;
  color: rgba(255,255,255,.76);
  font-size: 14px;
  line-height: 1.8;
}

.journey-progress {
  display: grid;
  gap: 12px;
  position: absolute;
  right: 5.2vw;
  top: 50%;
  transform: translateY(-50%);
}

.journey-progress span {
  display: block;
  width: 2px;
  height: 42px;
  background: rgba(255,255,255,.38);
  transition: background .3s ease, transform .3s ease;
}

.journey-progress span.active {
  background: #fff;
  transform: scaleY(1.5);
}

.journey-caption {
  position: absolute;
  bottom: 5vh;
  right: 5.2vw;
  z-index: 1;
  display: grid;
  justify-items: end;
  gap: 5px;
  text-align: right;
}

.journey-caption b {
  color: var(--warm);
  font: 18px var(--serif);
}

.journey-caption span {
  font: 10px var(--mono);
  color: rgba(255,255,255,.78);
  text-transform: uppercase;
}

.form-status {
  min-height: 20px;
  color: #306440;
  font-size: 12px;
  line-height: 1.5;
  margin: 10px 0 0;
}

.project-group-heading {
  display: grid;
  grid-template-columns: 34px minmax(180px, .9fr) minmax(220px, 1.1fr);
  align-items: baseline;
  gap: 16px;
  max-width: 100%;
  margin: 8px 0 24px;
  color: #151816;
}

.project-group-heading span {
  color: var(--warm);
  font: 12px var(--mono);
}

.project-group-heading strong {
  font: 600 18px/1.2 var(--sans);
  letter-spacing: -.02em;
}

.project-group-heading i {
  color: #676d66;
  font: 13px/1.6 var(--sans);
  font-style: normal;
}

.project-group-heading-fnb {
  grid-column: 1 / -1;
  margin: 44px 0 2px;
  padding-top: 24px;
  border-top: 1px solid rgba(20, 27, 23, .16);
}

.zalo-contact {
  display: grid;
  gap: 6px;
  margin: 30px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid rgba(20, 27, 23, .18);
}

.zalo-contact p {
  margin: 0 0 3px;
  color: #70756f;
  font: 10px var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.zalo-contact a {
  width: fit-content;
  color: #151816;
  font: 600 15px/1.35 var(--sans);
  letter-spacing: .02em;
  text-decoration: none;
}

.zalo-contact a:first-of-type { color: #3e6d51; }

.zalo-contact a:hover { text-decoration: underline; }

@media (max-width: 800px) {
  .brand-mark { width: 27px; height: 31px; flex-basis: 27px; }
  .brand-name strong { font-size: 12px; }
  .spatial-journey { height: 230vh; }
  .journey-copy { left: 6vw; width: 82vw; top: auto; bottom: 15%; transform: none; }
  .journey-copy h2 { font-size: clamp(3.5rem, 16vw, 5.4rem); }
  .journey-progress { right: 6vw; top: 23%; }
  .journey-progress span { height: 30px; }
  .journey-caption { right: 6vw; bottom: 7vh; max-width: 190px; }
  .project-group-heading { grid-template-columns: 26px 1fr; gap: 8px; }
  .project-group-heading i { grid-column: 2; font-size: 12px; }
}
