/* ============================================================================
   Mynavi TechTus Vietnam — v2 shared component styles
   Ported from 05-mockups/v2/{vi,jp}/*.html <style> + inline styles.
   Token-only: every colour/size/spacing/radius/duration uses design-system
   tokens (--c-* --fs-* --sp-* --r-* --shadow-* --dur-* --ease --gutter
   --container). Raw values allowed: rgba(255,255,255,…)/rgba(0,0,0,…)
   overlays + structural dimensions with no token.
   Order: chrome → contact/forms → hero → cards → pager → faq → trust →
          archive/article → utilities → responsive.
   ============================================================================ */

/* ---------------------------------------------------------------------------
   1. CHROME (footer extras, section-head lead, breadcrumb refinements)
   --------------------------------------------------------------------------- */
.footer-about {
  margin: var(--sp-6) 0 var(--sp-5);
  max-width: 360px;
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
  color: var(--c-ink-3);
}
.footer-badges { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.footer-bottom-links { display: flex; flex-wrap: wrap; gap: var(--sp-6); }

.section-head__lead {
  /* flex: 0 1 400px; */
  margin: 0;
  font-size: var(--fs-base);
  line-height: var(--lh-relaxed);
  color: var(--c-ink-3);
}

.breadcrumb a { color: var(--c-ink-4); }
.breadcrumb a:hover { color: var(--c-cyan); opacity: 1; }
.breadcrumb [aria-current="page"] { color: var(--c-ink); font-weight: var(--fw-semibold); }

/* ---------------------------------------------------------------------------
   2. CONTACT / FORMS
   --------------------------------------------------------------------------- */
.contact-panel {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  border-radius: var(--r-2xl);
  overflow: hidden;
  border: var(--border-hairline);
}
.contact-panel__aside {
  flex: 1 1 380px;
  min-width: 0;
  background: var(--c-cyan);
  color: var(--c-on-dark);
  padding: clamp(32px, 5vw, 56px);
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
}
.contact-panel__form {
  flex: 1.4 1 460px;
  min-width: 0;
  background: var(--c-bg);
  padding: clamp(32px, 5vw, 56px);
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}
.contact-panel__row { display: flex; flex-wrap: wrap; gap: var(--sp-4); }
.contact-panel__row > .field-label { flex: 1 1 200px; }

.contact-list {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, .2);
}
.contact-row {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  padding: var(--sp-3) 0;
  border-bottom: 1px solid rgba(255, 255, 255, .2);
  font-size: var(--fs-base);
  list-style: none;
}
.contact-meta {
  margin-top: auto;
  font-size: var(--fs-sm);
  line-height: var(--lh-loose);
  color: var(--c-on-dark);
  font-style: normal;
}

.field-label {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
}
.req { color: var(--c-danger); font-size: var(--fs-2xs); }

.field-consent {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  font-size: var(--fs-xs);
  line-height: var(--lh-normal);
  color: var(--c-ink-3);
  cursor: pointer;
}
.field-consent input { flex: none; margin-top: 3px; accent-color: var(--c-cyan); }
.field-consent a { color: var(--c-cyan); text-decoration: underline; }

.form-status {
  font-size: var(--fs-sm);
  line-height: var(--lh-normal);
  color: var(--c-ink-3);
}
.form-status--error { color: var(--c-danger); }

.upload-box {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  min-height: var(--control-lg);
  padding: 0 var(--sp-4);
  border: 1px dashed var(--c-line-strong);
  border-radius: var(--r-field);
  color: var(--c-ink-4);
  font-size: var(--fs-sm);
  cursor: pointer;
  transition: border-color var(--dur-2) var(--ease), color var(--dur-2) var(--ease),
    background-color var(--dur-2) var(--ease);
}
.upload-box:hover { border-color: var(--c-cyan); color: var(--c-ink-3); }
.upload-box:focus-within { border-color: var(--c-cyan); box-shadow: var(--shadow-focus); }
.upload-box.is-dragover,
.upload-box.has-file { border-color: var(--c-cyan); color: var(--c-ink-2); }
.upload-box.is-dragover { border-style: solid; background: var(--c-cyan-wash); }
/* đặt sau .is-dragover để lỗi luôn thắng khi vừa kéo vừa lỗi */
.upload-box.is-invalid { border-color: var(--c-danger); }
/* Tên tệp chỉ để đọc — click xuyên xuống input bên dưới để chọn lại */
.upload-box__file {
  position: relative;
  z-index: 1;
  display: none;
  align-items: baseline;
  gap: var(--sp-2);
  min-width: 0;
  pointer-events: none;
}
.upload-box.has-file .upload-box__file { display: flex; }
.upload-box.has-file .upload-box__text { display: none; }
.upload-box__text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.upload-box__text--error { color: var(--c-danger); font-weight: var(--fw-medium); }
.upload-box__name {
  min-width: 0;
  overflow: hidden;
  font-weight: var(--fw-medium);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.upload-box__size { flex-shrink: 0; color: var(--c-ink-4); font-size: var(--fs-xs); }
.upload-box__clear {
  position: relative;
  z-index: 2;
  display: none;
  flex-shrink: 0;
  margin-left: auto;
  padding: 0 var(--sp-1);
  border: 0;
  background: none;
  color: var(--c-ink-4);
  font-size: var(--fs-xl);
  line-height: 1;
  cursor: pointer;
}
.upload-box.has-file .upload-box__clear { display: block; }
.upload-box__clear:hover { color: var(--c-danger); }
.upload-box input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

/* ---------------------------------------------------------------------------
   3. HERO (home VI collage / JP video + careers collage)
   --------------------------------------------------------------------------- */
.hero {
  background: var(--c-cyan);
  color: var(--c-on-dark);
  overflow: hidden;
  padding: 0 var(--gutter);
}
.hero-inner { max-width: var(--container); margin: 0 auto; }

.hero-body {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  align-items: center;
  gap: var(--sp-12);
  padding: var(--sp-18) 0 var(--sp-16);
}
/* JP home: copy left / video right */
html[lang="ja"] .hero-body { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
/* VI home collage pushes the media column to the top */
.hero-body:has(.hero-media) { align-items: start; }

.hero-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--sp-7);
  min-width: 0;
}
.hero-eyebrow {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: var(--r-pill);
  padding: var(--sp-2) var(--sp-4);
  font-size: var(--fs-xs);
  color: var(--c-on-dark);
}
.hero-title {
  margin: 0;
  font-size: clamp(40px, 5.3vw, 64px);
  font-weight: var(--fw-semibold);
  line-height: 1.16;
  letter-spacing: var(--ls-tight);
}
.hero-lead {
  margin: 0;
  max-width: 500px;
  font-size: var(--fs-md);
  line-height: var(--lh-relaxed);
  color: var(--c-on-dark);
  font-weight: var(--fw-light);
}
.hero-details {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 168px;
  align-items: end;
  gap: var(--sp-6);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-10);
}
.btn--light {
  min-height: var(--control-field);
  padding: 0 var(--sp-6);
  border-radius: var(--r-pill);
  background: var(--c-on-dark);
  color: var(--c-cyan);
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
}
.btn--light:hover { opacity: .8; }
.btn--ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--control-field);
  padding: 0 var(--sp-6);
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, .45);
  color: var(--c-on-dark);
  font-size: var(--fs-base);
  font-weight: var(--fw-medium);
  transition: background var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease);
}
.btn--ghost:hover { opacity: 1; background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .7); }

/* VI home collage */
.hero-media { position: relative; min-width: 0; display: flex; flex-direction: column; }
.hero-collage { position: relative; height: 430px; min-width: 0; z-index: 1; }
.hero-media .hero-collage { margin-top: var(--sp-30); }
.hero-team-frame {
  position: absolute;
  left: 36%;
  top: 76px;
  width: 66%;
  height: 340px;
  overflow: hidden;
  border-radius: var(--r-xl);
  /* clip-path: polygon(72px 0, 100% 0, 100% 100%, 0 100%, 0 72px); */
  rotate: 6deg;
  transform-origin: 50% 100%;
  pointer-events: auto;
  transition: translate var(--dur-reveal) var(--ease) 0.3s, rotate var(--dur-reveal) var(--ease) 0.35s, transform var(--dur-1) var(--ease);
}
.hero-team-frame:hover { transform: scale(1.05); z-index: 20; }
.hero-team-frame img {
  position: absolute;
  left: 0;
  top: -90px;
  width: 100%;
  height: 430px;
  object-fit: cover;
  pointer-events: none;
}
.hero-event-photo {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--r-xl);
  pointer-events: auto;
  transition: translate var(--dur-reveal) var(--ease) 0.35s, transform var(--dur-1) var(--ease);
}
.hero-event-photo:hover { transform: scale(1.05); z-index: 20; }
.hero-note {
  position: absolute;
  left: -10px;
  top: 60px;
  width: min(236px, 54%);
  padding: var(--sp-5);
  background: var(--c-surface-2);
  color: var(--c-ink);
  border-radius: var(--r-xl);
  rotate: -6deg;
  z-index: 2;
  box-shadow: var(--shadow-xl);
  pointer-events: auto;
  transform-origin: 50% 100%;
  transition: translate var(--dur-reveal) var(--ease) 0.25s, rotate var(--dur-reveal) var(--ease) 0.25s, transform var(--dur-1) var(--ease);
}
.hero-note:hover { transform: scale(1.05); z-index: 20; }

/* Hero reveal: 2 card xoay từ 0deg vào góc nghiêng + trượt ngang nhẹ (note sang trái,
   frame sang phải) khi vào viewport; ảnh event trượt lên 15px. */
.hero.reveal:not(.is-visible) .hero-note { rotate: 0deg; translate: 15px 0; }
.hero.reveal:not(.is-visible) .hero-team-frame { rotate: 0deg; translate: -15px 0; }
.hero.reveal:not(.is-visible) .hero-event-photo { translate: 0 15px; }
@media (prefers-reduced-motion: reduce) {
  .hero.reveal .hero-note,
  .hero.reveal .hero-team-frame,
  .hero.reveal .hero-event-photo { transition: none; }
}
.hero-note__head { display: flex; justify-content: space-between; align-items: center; }
.hero-note__since {
  font-size: var(--fs-2xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-eyebrow);
  color: var(--c-cyan);
}
.hero-note__year {
  background: var(--c-focus);
  color: var(--c-ink);
  font-size: var(--fs-2xl);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-tight);
  border-radius: var(--r-pill);
  padding: var(--sp-1) var(--sp-4);
}
.hero-note__text {
  margin: var(--sp-4) 0 0;
  font-size: var(--fs-xs);
  line-height: var(--lh-normal);
  color: var(--c-ink-3);
}
.hero-note__stat { display: flex; gap: var(--sp-2); margin-top: var(--sp-4); }
.hero-note__stat-value {
  font-size: var(--fs-4xl);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-tight);
  line-height: var(--lh-none);
}
.hero-note__stat-label {
  font-size: var(--fs-2xs);
  line-height: var(--lh-snug);
  color: var(--c-ink-3);
  align-self: flex-end;
}
.hero-note__line {
  margin: var(--sp-5) 0 0;
  font-size: var(--fs-xl);
  font-weight: var(--fw-medium);
  line-height: var(--lh-snug);
}
.hero-note__cta {
  display: inline-flex;
  align-items: center;
  min-height: var(--sp-9);
  margin-top: var(--sp-4);
  padding: 0 var(--sp-4);
  border-radius: var(--r-pill);
  background: var(--c-ink);
  color: var(--c-on-dark);
  font-size: var(--fs-2xs);
  font-weight: var(--fw-semibold);
}

/* doodle arrow (VI: in collage · JP: in copy) */
.hero-doodle { position: absolute; }
.hero-collage .hero-doodle { right: -42px; top: 250px; }
.hero-copy .hero-doodle { right: -40px; top: calc(50% - 28px); }

/* JP home video */
.hero-video {
  flex: 1 1 520px;
  min-width: 0;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--c-ink);
}
.hero-video video { display: block; width: 100%; height: 100%; object-fit: cover; }

/* office thumbnail */
.hero-lab {
  position: relative;
  align-self: end;
  justify-self: end;
  width: 168px;
  height: 108px;
  border-radius: var(--r-lg);
  overflow: hidden;
  transform: rotate(-6deg);
  pointer-events: auto;
  transition: transform var(--dur-1) var(--ease);
}
.hero-lab:hover { transform: rotate(-6deg) scale(1.05); z-index: 20; }
.hero-lab img { width: 100%; height: 100%; object-fit: cover; }
.hero-lab-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: var(--sp-4) var(--sp-3) var(--sp-2);
  background: linear-gradient(transparent, rgba(0, 0, 0, .72));
  color: var(--c-on-dark);
  font-size: var(--fs-2xs);
  line-height: var(--lh-snug);
  font-weight: var(--fw-medium);
}

/* careers collage */
.hero-shot { position: absolute; overflow: hidden; border-radius: var(--r-xl); }
.hero-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-shot-main {
  right: 0;
  top: var(--sp-4);
  width: 78%;
  height: 352px;
  clip-path: polygon(72px 0, 100% 0, 100% 100%, 0 100%, 0 72px);
  z-index: 1;
}
.hero-shot-float {
  left: 0;
  bottom: 0;
  width: 46%;
  height: 186px;
  transform: rotate(-6deg);
  border: 6px solid var(--c-on-dark);
  box-shadow: var(--shadow-xl);
  z-index: 3;
  pointer-events: auto;
  transition: transform var(--dur-1) var(--ease);
}
.hero-shot-float:hover { transform: rotate(-6deg) scale(1.05); }
.hero-chip {
  position: absolute;
  left: 2%;
  top: 0;
  z-index: 4;
  background: var(--c-surface-2);
  color: var(--c-ink);
  border-radius: var(--r-lg);
  padding: var(--sp-4) var(--sp-5);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}
.hero-chip b {
  font-size: var(--fs-3xl);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-tight);
  line-height: var(--lh-none);
}
.hero-chip b span { color: var(--c-cyan); }
.hero-chip small { font-size: var(--fs-2xs); color: var(--c-ink-3); line-height: var(--lh-snug); }

/* ---------------------------------------------------------------------------
   4. EDITORIAL CARDS / ROWS
   --------------------------------------------------------------------------- */
.case-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  padding: clamp(48px, 7vw, 88px) 0;
  border-top: var(--border-hairline);
}
.case-row.flip .case-media { order: 2; }
.case-media { position: relative; min-width: 0; }
.case-imgwrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--r-xl);
  clip-path: polygon(0 0, calc(100% - 56px) 0, 100% 56px, 100% 100%, 0 100%);
}
.case-imgwrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-5) var(--ease);
}
.case-row:hover .case-imgwrap img { transform: scale(1.05); }
.case-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wider);
  color: var(--c-cyan);
}
.case-tag::before { content: ""; width: 26px; height: 2px; background: var(--c-cyan); flex: none; }
.case-client {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wider);
  color: var(--c-ink-4);
}
.case-title {
  margin: var(--sp-3) 0 0;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: var(--fw-medium);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
}
.case-excerpt {
  margin: var(--sp-4) 0 0;
  max-width: 54ch;
  font-size: var(--fs-base);
  line-height: var(--lh-relaxed);
  color: var(--c-ink-3);
}
.case-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-6);
  margin-top: var(--sp-8);
  padding-top: var(--sp-6);
  border-top: var(--border-strong);
}
.case-metrics b {
  display: block;
  font-size: clamp(19px, 2vw, 24px);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-tight);
  color: var(--c-cyan);
}
.case-metrics span {
  display: block;
  margin-top: var(--sp-2);
  font-size: var(--fs-xs);
  line-height: var(--lh-normal);
  color: var(--c-ink-4);
}
.case-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--control-md);
  height: var(--control-md);
  margin-top: var(--sp-8);
  border: 1px solid var(--c-line-strong);
  border-radius: 50%;
  color: var(--c-cyan);
  transition: border-color var(--dur-2) var(--ease), background var(--dur-2) var(--ease);
}
.case-row:hover .case-arrow { border-color: var(--c-cyan); background: var(--c-cyan-soft); }

.case-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: var(--sp-6);
}
.case-card {
  display: flex;
  flex-direction: column;
  background: var(--c-bg);
  border: var(--border-hairline);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: box-shadow var(--dur-3) var(--ease), border-color var(--dur-3) var(--ease);
}
.case-card:hover { opacity: 1; box-shadow: var(--shadow-card); border-color: var(--c-cyan); }
.case-card__thumb { position: relative; height: 240px; overflow: hidden; }
.case-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-3) var(--ease); }
.case-card:hover .case-card__thumb img { transform: scale(1.05); }
.case-card__tag {
  position: absolute;
  left: var(--sp-4);
  top: var(--sp-4);
  background: rgba(13, 15, 20, .72);
  color: var(--c-on-dark);
  border-radius: var(--r-pill);
  padding: 6px var(--sp-3);
  font-size: var(--fs-2xs);
  font-weight: var(--fw-semibold);
}
.case-card__arrow {
  position: absolute;
  right: var(--sp-4);
  top: var(--sp-4);
  width: var(--control-sm);
  height: var(--control-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .85);
  color: var(--c-ink);
}
.case-card__body { padding: var(--sp-7) var(--sp-7) 0; flex: 1; }
/* Cards whose body ends in text (related articles/events, no metrics) need a
   bottom inset; case-study cards end in `.case-metrics` and stay untouched. */
.case-card__body:not(:has(.case-metrics)) { padding-bottom: var(--sp-7); }
.case-card__title {
  margin: 10px 0 var(--sp-3);
  font-size: var(--fs-2xl);
  font-weight: var(--fw-medium);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-normal);
}
.case-card .case-metrics {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5) 0 var(--sp-7);
  border-top: var(--border-hairline);
  grid-template-columns: none;
}
.case-card .case-metrics > div:last-child { text-align: right; }
.case-card .case-metrics b { font-size: var(--fs-sm); font-weight: var(--fw-medium); }
.case-card .case-metrics span { margin-top: var(--sp-1); font-size: var(--fs-2xs); }

/* ---------------------------------------------------------------------------
   5. PAGER
   --------------------------------------------------------------------------- */
.pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  margin-top: clamp(40px, 6vw, 64px);
  padding-top: clamp(28px, 4vw, 40px);
  border-top: var(--border-hairline);
}
.pager a,
.pager span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--control-sm);
  min-height: var(--control-sm);
  padding: 0 var(--sp-3);
  border-radius: var(--r-pill);
  font-size: var(--fs-base);
  font-weight: var(--fw-medium);
  color: var(--c-ink-2);
}
.pager a { border: var(--border-hairline); transition: border-color var(--dur-2) var(--ease), background var(--dur-2) var(--ease), color var(--dur-2) var(--ease); }
.pager a:hover { opacity: 1; border-color: var(--c-cyan); color: var(--c-cyan); }
.pager a[aria-current="page"] { background: var(--c-cyan); border-color: var(--c-cyan); color: var(--c-on-dark); font-weight: var(--fw-bold); }
.pager--borderless { border-top: 0; padding-top: 0; }
.pager .pager-prev,
.pager .pager-next { border: var(--border-hairline); padding: 0 var(--sp-4); gap: var(--sp-2); }
.pager .is-disabled { opacity: .45; }
.pager .pager-dots { color: var(--c-muted); min-width: auto; padding: 0 var(--sp-1); }

/* ---------------------------------------------------------------------------
   6. FAQ
   --------------------------------------------------------------------------- */
.faq-list .faq-item { border-top: 1px solid var(--c-line-strong); }
.faq-list .faq-item:last-of-type { border-bottom: 1px solid var(--c-line-strong); }
.faq-item summary {
  width: 100%;
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  padding: var(--sp-5) 0;
  text-align: left;
  cursor: pointer;
  color: var(--c-ink);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__no {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--c-cyan);
  width: 36px;
  flex: none;
}
.faq-item__q { flex: 1; font-size: var(--fs-xl); font-weight: var(--fw-medium); }
.faq-icon {
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--c-line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
}
.faq-icon svg { display: block; width: 16px; height: 16px; }
.faq-icon__v { transform-box: fill-box; transform-origin: center; transition: transform .2s ease; }
.faq-item[open] .faq-icon__v { transform: scaleY(0); }
.faq-item__a {
  margin: 0;
  padding: 0 56px var(--sp-6) 56px;
  font-size: var(--fs-base);
  line-height: var(--lh-relaxed);
  color: var(--c-ink-3);
}

/* ---------------------------------------------------------------------------
   7. TRUST ROW
   --------------------------------------------------------------------------- */
.trust-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  border-top: 1px solid rgba(255, 255, 255, .2);
}
.trust-item { padding: var(--sp-6) var(--sp-6) var(--sp-7) 0; }
.trust-item + .trust-item { padding-left: var(--sp-6); border-left: 1px solid rgba(255, 255, 255, .2); }
.trust-item__label {
  font-size: var(--fs-2xs);
  letter-spacing: var(--ls-eyebrow);
  color: var(--c-on-dark-2);
  font-weight: var(--fw-semibold);
}
.trust-item__value { margin-top: var(--sp-2); font-size: var(--fs-md); font-weight: var(--fw-medium); }

/* ---------------------------------------------------------------------------
   8. ARCHIVE / ARTICLE HERO + ARTICLE BODY
   --------------------------------------------------------------------------- */
.archive-hero { padding: var(--sec-y-lg) var(--gutter) var(--sp-12); }
.archive-hero .breadcrumb { margin-bottom: var(--sp-7); }
.archive-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: end;
}
/* Title/lead carry the shared home `.section-title` / `.section-head__lead`
   (see parts/v2/archive-hero.php) so archive heros match the home section heads;
   only the layout spacing lives here. */
.archive-hero__title { margin: var(--sp-6) 0 0; }
.archive-hero__lead { margin: 0 0 var(--sp-2); }

.article-hero { padding: var(--sec-y-lg) var(--gutter) var(--sp-7); }
.article-hero .breadcrumb { margin-bottom: var(--sp-7); }
.cs-title {
  margin: var(--sp-4) 0 0;
  font-size: clamp(30px, 4.6vw, 60px);
  font-weight: var(--fw-medium);
  line-height: 1.16;
  letter-spacing: var(--ls-tight);
}
.cs-fig { margin: clamp(40px, 6vw, 72px) 0 0; }
.cs-fig .case-imgwrap { aspect-ratio: 16 / 9; }
.cs-article {
  margin-top: clamp(40px, 6vw, 72px);
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: var(--lh-loose);
  color: var(--c-ink-3);
}
.cs-article p { margin: 0 0 var(--sp-6); font-size: var(--fs-base); }
.cs-article p:last-child { margin-bottom: 0; }
.cs-article h2 {
  margin: var(--sp-9) 0 var(--sp-4);
  font-size: clamp(21px, 2.4vw, 28px);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-tight);
  color: var(--c-ink);
}
.cs-article h3 {
  margin: var(--sp-6) 0 var(--sp-3);
  font-size: clamp(17px, 1.8vw, 20px);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-normal);
  color: var(--c-ink);
}
/* Detail body sections are immediately followed by the related grid, whose own
   top margin is the intended gap. Drop the section rhythm there so the two do
   not stack into a double gap. */
.section--bottom:has(+ .cs-related) { padding-bottom: clamp(var(--sp-6), 3vw, var(--sp-10)); }
.cs-related { margin: clamp(64px, 9vw, 104px) 0; }
.cs-related-head { margin-bottom: clamp(20px, 3vw, 32px); }
.cs-related-head h2 {
  margin: var(--sp-4) 0 0;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-tight);
}
.cs-detail-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 5vw, 64px);
  margin-top: clamp(36px, 5vw, 56px);
  padding-top: clamp(24px, 4vw, 36px);
  border-top: var(--border-strong);
}
.cs-detail-metrics .v {
  font-size: clamp(24px, 3.2vw, 40px);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-tight);
  color: var(--c-cyan);
}
.cs-detail-metrics .l {
  margin-top: var(--sp-3);
  font-size: var(--fs-sm);
  line-height: var(--lh-normal);
  color: var(--c-ink-4);
}

/* ---------------------------------------------------------------------------
   9. UTILITIES
   --------------------------------------------------------------------------- */
.clip-corner { clip-path: polygon(0 0, calc(100% - 56px) 0, 100% 56px, 100% 100%, 0 100%); }
.stagger > *:nth-child(2) { transition-delay: var(--dur-1); }
.stagger > *:nth-child(3) { transition-delay: var(--dur-2); }
.stagger > *:nth-child(4) { transition-delay: var(--dur-3); }
.stagger > *:nth-child(5) { transition-delay: var(--dur-4); }
.stagger > *:nth-child(6) { transition-delay: var(--dur-5); }

/* ---------------------------------------------------------------------------
   10. RESPONSIVE (640 / 768 / 900 / 1024)
   --------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .hero-body,
  html[lang="ja"] .hero-body {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--sp-10);
    padding: var(--sp-14) 0 var(--sp-10);
  }
  .hero-collage { height: 360px; max-width: 520px; width: 100%; justify-self: center; }
  .hero-media,
  .hero-video { width: 100%; max-width: 520px; justify-self: center; }
  .hero-copy .hero-doodle { right: 180px; top: auto; bottom: var(--sp-9); }
  .case-row { grid-template-columns: minmax(0, 1fr); gap: var(--sp-6); }
  .case-row.flip .case-media { order: 0; }
  .archive-hero__grid { grid-template-columns: minmax(0, 1fr); gap: var(--sp-7); }
}

@media (max-width: 768px) {
  html[lang="vi"] .hero-body {
    gap: var(--sp-20);
  }
  html[lang="vi"] .language-switch::before { content: "日本語 ↗"; }
  html[lang="ja"] .language-switch::before { content: "Tiếng Việt ↗"; }
  .contact-panel { flex-direction: column; }
  .contact-panel__aside,
  .contact-panel__form { flex-basis: auto; }
}

@media (max-width: 640px) {
  .hero-collage { height: 390px; }
  .hero-media .hero-collage { margin-top: var(--sp-20); }
  .hero-team-frame { left: auto; right: 0; top: var(--sp-20); width: 62%; height: 310px; }
  .hero-team-frame img { top: calc(var(--sp-20) * -1); height: 390px; }
  .hero-note { width: 200px; padding: var(--sp-5); top: var(--sp-14); left: var(--sp-2); }
  .hero-details { grid-template-columns: minmax(0, 1fr); }
  .hero-title { font-size: var(--fs-5xl); }
  .hero-collage .hero-doodle { display: none; }
  .hero-lab { display: none; }
  .trust-item { border-left: 0; padding: var(--sp-5) 0; }
  .trust-item + .trust-item { border-top: 1px solid rgba(255, 255, 255, .2); }
  .contact-panel__row > .field-label { flex-basis: 100%; }
  .faq-item__a { padding: 0 0 var(--sp-6) 0; }
  .cs-detail-metrics { grid-template-columns: minmax(0, 1fr); }
}
