/* About section — asymmetric editorial composition */
.about-showcase {
  padding: clamp(4.5rem, 8vw, 7.5rem) 0 0;
  background-color: #fffdf9;
  background-image:
    linear-gradient(rgba(41, 37, 36, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(41, 37, 36, 0.035) 1px, transparent 1px);
  background-size: 52px 52px;
}

.about-showcase__orb {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(2px);
}

.about-showcase__orb--top {
  top: -9rem;
  right: -8rem;
  width: 26rem;
  height: 26rem;
  background: radial-gradient(circle, rgba(0, 123, 255, 0.14), rgba(0, 123, 255, 0) 68%);
}

.about-showcase__orb--bottom {
  bottom: 3rem;
  left: -10rem;
  width: 28rem;
  height: 28rem;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.12), rgba(245, 158, 11, 0) 68%);
}

.about-showcase__index {
  position: absolute;
  top: 0.75rem;
  right: clamp(1rem, 4vw, 4rem);
  color: rgba(0, 123, 255, 0.055);
  font: 900 clamp(8rem, 20vw, 18rem) / 1 "Hanken Grotesk", sans-serif;
  letter-spacing: -0.09em;
  pointer-events: none;
  user-select: none;
}

.about-heading {
  position: relative;
  display: grid;
  grid-template-columns: minmax(9rem, 0.8fr) minmax(0, 2.2fr) minmax(8rem, 0.65fr);
  align-items: end;
  gap: 2rem;
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
  border-bottom: 1.5px solid #292524;
}

.about-heading__meta,
.about-story__kicker {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #292524;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.about-heading__meta i,
.about-story__kicker i {
  width: 1.5rem;
  height: 2px;
  flex: 0 0 auto;
  background: #007bff;
}

.about-heading__title {
  max-width: 50rem;
  margin: 0;
  color: #292524;
  font: 900 clamp(2.5rem, 5.2vw, 5.25rem) / 0.94 "Hanken Grotesk", sans-serif;
  letter-spacing: -0.055em;
}

.about-heading__title span { color: #007bff; }

.about-heading__note {
  justify-self: end;
  margin: 0;
  color: #78716c;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.65;
  letter-spacing: 0.12em;
  text-align: right;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
  padding: clamp(3.5rem, 6vw, 6rem) 0;
}

.about-visual {
  position: relative;
  max-width: 31rem;
  padding: 1.35rem 1.35rem 0 0;
}

.about-visual__backdrop {
  position: absolute;
  inset: 0 0 4rem 12%;
  border-radius: 2rem 2rem 4.5rem 2rem;
  background: linear-gradient(145deg, #1687ff 0%, #006be6 58%, #004fae 100%);
  box-shadow: 0 34px 70px rgba(0, 94, 204, 0.2);
  transform: rotate(4deg);
}

.about-visual__backdrop::after {
  content: '';
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: inherit;
}

.about-visual__sticker {
  position: absolute;
  top: 11%;
  right: -2.75rem;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border: 1.5px solid #292524;
  background: #fff;
  box-shadow: 5px 5px 0 rgba(41, 37, 36, 0.16);
  color: #292524;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  transform: rotate(5deg);
}

.about-visual__sticker i {
  width: 0.35rem;
  height: 0.35rem;
  background: #f59e0b;
  transform: rotate(45deg);
}

.about-slider { position: relative; z-index: 2; }

.about-slider__frame {
  position: relative;
  overflow: hidden;
  border: 0.55rem solid #fff;
  border-radius: 1.5rem 1.5rem 4rem 1.5rem;
  background: #e7e5e4;
  box-shadow: 0 24px 60px rgba(41, 37, 36, 0.18);
  cursor: pointer;
  transition: transform 120ms ease;
}

.about-slider__frame:active { transform: scale(0.995); }

.about-slider__frame:focus-visible {
  outline: 3px solid rgba(0, 123, 255, 0.55);
  outline-offset: 4px;
}

.about-slider__slides {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 36rem;
}

.about-slider__slides::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  height: 32%;
  pointer-events: none;
  background: linear-gradient(to top, rgba(18, 25, 35, 0.66), transparent);
}

.about-slider__caption {
  position: absolute;
  right: 1.25rem;
  bottom: 1.15rem;
  left: 1.25rem;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.11em;
}

.about-slider__caption-count { color: #93c5fd; }

.about-slider__dot:focus-visible,
.about-action:focus-visible {
  outline: 3px solid rgba(0, 123, 255, 0.4);
  outline-offset: 3px;
}

.about-slider__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.75rem;
}

.about-slider__dot {
  position: relative;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  background: transparent !important;
}

.about-slider__dot span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: #d6d3d1;
  transform: translate(-50%, -50%);
  transition: width 220ms ease, background-color 220ms ease;
}

.about-slider__dot[aria-selected="true"] span { width: 1.75rem; background: #007bff; }
.about-story { min-width: 0; }

.about-story__kicker { margin-bottom: 1.5rem; color: #007bff; }

.about-story__quote {
  margin: 0 0 2rem;
  color: #292524;
  font: 900 clamp(2.25rem, 4vw, 4.35rem) / 0.98 "Hanken Grotesk", sans-serif;
  letter-spacing: -0.05em;
}

.about-story__quote span { display: block; }

.about-story__quote-accent { position: relative; width: fit-content; color: #007bff; }

.about-story__quote-accent::after {
  content: '';
  position: absolute;
  right: -0.06em;
  bottom: -0.06em;
  left: -0.06em;
  height: 0.1em;
  border-radius: 999px;
  background: #f59e0b;
  opacity: 0.7;
  transform: rotate(-1deg);
}

.about-story__copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  color: #57534e;
  font-size: 0.94rem;
  line-height: 1.8;
}

.about-story__copy p {
  margin: 0;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 2rem 0 0;
  padding: 0;
  border-top: 1px solid #d6d3d1;
  border-bottom: 1px solid #d6d3d1;
  list-style: none;
}

.about-values li { position: relative; display: grid; align-items: start; padding: 1rem 0.75rem; }
.about-values li + li { border-left: 1px solid #d6d3d1; }

.about-values span {
  display: block;
  margin-bottom: 0.5rem;
  color: #007bff;
  font: 700 0.62rem / 1 "JetBrains Mono", monospace;
}

.about-values strong {
  display: flex;
  align-items: center;
  color: #292524;
  /* Dùng flex + height cố định để khóa tuyệt đối baseline của 3 từ:
     - height: 1.5rem cứng → 3 <strong> cùng cao
     - align-items: center → text nằm giữa, baseline thẳng hàng
     - Bỏ qua hoàn toàn descender (g, y, p, q) của "Chủ động". */
  height: 1.5rem;
  font: 800 1rem / 1rem "Hanken Grotesk", sans-serif;
}
.about-values small { display: block; margin-top: 0.25rem; color: #78716c; font-size: 0.85rem; }

.about-story__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.about-action {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.7rem 1.15rem;
  border: 1px solid;
  border-radius: 0.75rem;
  font-size: 0.86rem;
  font-weight: 700;
  transition: color 200ms ease, border-color 200ms ease, background-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}

.about-action:hover { transform: translateY(-2px); }
.about-action svg { width: 1rem; height: 1rem; transition: transform 200ms ease; }

.about-action--primary {
  border-color: #007bff;
  background: #007bff;
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 123, 255, 0.22);
}

.about-action--primary:hover { background: #005dcc; box-shadow: 0 14px 28px rgba(0, 91, 204, 0.26); }
.about-action--primary:hover svg { transform: translateY(2px); }

.about-action--secondary { border-color: #d6d3d1; background: rgba(255, 255, 255, 0.78); color: #292524; }
.about-action--secondary:hover { border-color: #007bff; color: #007bff; }
.about-action--secondary:hover svg { transform: translateX(3px); }

.about-marquee {
  display: flex;
  min-height: 3.5rem;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  margin-inline: calc(50% - 50vw);
  padding: 0.8rem max(1.5rem, calc((100vw - 80rem) / 2));
  overflow: hidden;
  background: #007bff;
  color: #fff;
  white-space: nowrap;
  font: 800 clamp(0.68rem, 1.1vw, 0.9rem) / 1 "Hanken Grotesk", sans-serif;
  letter-spacing: 0.1em;
}

.about-marquee i {
  width: 0.6rem;
  height: 0.6rem;
  flex: 0 0 auto;
  background: #fff;
  transform: rotate(45deg);
}

@media (max-width: 1023px) {
  .about-heading { grid-template-columns: 1fr auto; }
  .about-heading__title { grid-column: 1 / -1; grid-row: 2; }
  .about-heading__note { grid-column: 2; grid-row: 1; }
  .about-layout { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 3rem; }
  .about-story__copy { grid-template-columns: 1fr; gap: 1rem; }
}

@media (max-width: 767px) {
  .about-showcase { padding-top: 4rem; background-size: 36px 36px; }
  .about-heading { gap: 1rem; }
  .about-heading__note { display: none; }
  .about-heading__title {
    max-width: 100%;
    font-size: clamp(2.15rem, 10.2vw, 3.6rem);
    line-height: 1;
    overflow-wrap: anywhere;
  }
  .about-heading__title span { display: block; }
  .about-layout { grid-template-columns: 1fr; padding-block: 3rem 4rem; }
  .about-visual { width: min(100%, 28rem); margin-inline: auto; padding-right: 0; }
  .about-visual__sticker { right: 0.75rem; max-width: calc(100% - 1.5rem); }
  .about-story__quote { font-size: clamp(2.2rem, 11vw, 3.5rem); }
}

@media (max-width: 479px) {
  .about-heading__meta { gap: 0.45rem; font-size: 0.62rem; }
  .about-heading__meta i { width: 0.85rem; }
  .about-visual__sticker { top: 8%; right: 0.85rem; gap: 0.35rem; padding: 0.6rem 0.7rem; font-size: 0.52rem; }
  .about-slider__frame { border-width: 0.4rem; border-radius: 1.25rem 1.25rem 3rem 1.25rem; }
  .about-values { grid-template-columns: 1fr; }
  .about-values li { grid-template-columns: 2rem 1fr; align-items: center; }
  .about-values li + li { border-top: 1px solid #d6d3d1; border-left: 0; }
  .about-values span { grid-row: 1 / 3; margin: 0; }
  .about-values small { grid-column: 2; }
  .about-story__actions, .about-action { width: 100%; }
  .about-marquee { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .about-slider__frame,
  .about-slider__dot span,
  .about-action,
  .about-action svg { transition: none; }
}
