
/* HAI VU ACHIEVEMENT REDESIGN V5
   Institutional – Academic – Premium
   This page is intentionally rebuilt, not patched section-by-section.
*/

body.hv-achievement-v5 {
  --hv5-ink: #18384f;
  --hv5-muted: #5c7180;
  --hv5-navy: #123f5b;
  --hv5-line: rgba(24,56,79,.13);
  --hv5-soft: #f7f5ef;
  --hv5-white: #fff;
  background: #fff;
  color: var(--hv5-ink);
}

/* Restore a full institutional header scale on this page. */
body.hv-achievement-v5 > header:first-of-type,
body.hv-achievement-v5 header.hv-site-header {
  min-height: 78px !important;
  background: rgba(255,255,255,.98) !important;
  border-bottom: 1px solid rgba(24,56,79,.08) !important;
  box-shadow: none !important;
}

body.hv-achievement-v5 > header:first-of-type > *,
body.hv-achievement-v5 header.hv-site-header > * {
  width: min(1220px, calc(100% - 48px)) !important;
  max-width: 1220px !important;
  margin-inline: auto !important;
}

body.hv-achievement-v5 header img {
  width: 48px !important;
  height: 48px !important;
  object-fit: contain !important;
}

body.hv-achievement-v5 header nav a {
  font-size: 14px !important;
  font-weight: 500 !important;
}

body.hv-achievement-v5 .hv-brand-copy-hidden {
  display: revert !important;
}

/* Core layout */
.hv5-wrap {
  width: min(1220px, calc(100% - 48px));
  margin-inline: auto;
}

.hv5-main {
  overflow: clip;
}

.hv5-section {
  padding: 104px 0;
}

.hv5-section + .hv5-section {
  border-top: 1px solid rgba(24,56,79,.06);
}

.hv5-eyebrow {
  display: block;
  margin: 0 0 14px;
  color: #8d6738;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 650;
  letter-spacing: .06em;
}

.hv5-main h1,
.hv5-main h2,
.hv5-main h3,
.hv5-main p {
  margin-top: 0;
}

.hv5-main h1 {
  margin-bottom: 24px;
  max-width: 660px;
  font-size: clamp(46px, 4.2vw, 56px);
  line-height: 1.08;
  letter-spacing: -.035em;
  font-weight: 620;
}

.hv5-main h2 {
  margin-bottom: 22px;
  max-width: 760px;
  font-size: clamp(32px, 3vw, 40px);
  line-height: 1.16;
  letter-spacing: -.025em;
  font-weight: 620;
}

.hv5-main h3 {
  margin-bottom: 10px;
  font-size: clamp(22px, 2vw, 26px);
  line-height: 1.28;
  font-weight: 600;
}

.hv5-main p {
  color: var(--hv5-muted);
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.68;
}

.hv5-lead {
  max-width: 620px;
}

/* Hero 45 / 55 */
.hv5-hero {
  padding: 92px 0 104px;
  background: linear-gradient(90deg, #fbfaf6 0%, #f7fafb 100%);
}

.hv5-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(52px, 6vw, 86px);
  align-items: center;
}

.hv5-hero-copy {
  padding-right: 8px;
}

.hv5-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

.hv5-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 17px;
  border: 1px solid rgba(18,63,91,.22);
  border-radius: 999px;
  color: var(--hv5-navy);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.hv5-link-primary {
  color: #fff;
  background: var(--hv5-navy);
  border-color: var(--hv5-navy);
}

.hv5-hero-media {
  margin: 0;
}

.hv5-hero-frame {
  overflow: hidden;
  aspect-ratio: 3 / 2;
  border-radius: 14px;
  background: #e8edf0;
}

.hv5-hero-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 42%;
}

.hv5-caption {
  margin-top: 12px;
  color: #71818c;
  font-size: 13px;
  line-height: 1.55;
}

/* Intro + three academic principles, no cards */
.hv5-intro {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  gap: clamp(52px, 7vw, 96px);
  align-items: start;
}

.hv5-intro-copy p {
  max-width: 650px;
}

.hv5-principles {
  margin-top: 64px;
  border-top: 1px solid var(--hv5-line);
}

.hv5-principle {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--hv5-line);
}

.hv5-principle-index {
  color: #a67b45;
  font-size: 14px;
  letter-spacing: .06em;
}

.hv5-principle p {
  max-width: 720px;
  margin-bottom: 0;
}

/* Editorial split */
.hv5-editorial {
  background: #fbfaf6;
}

.hv5-editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  gap: clamp(56px, 7vw, 96px);
  align-items: center;
}

.hv5-portrait {
  margin: 0;
}

.hv5-portrait-frame {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-height: 650px;
  border-radius: 12px;
  background: #eee7df;
}

.hv5-portrait-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 42%;
}

.hv5-detail-list {
  margin: 34px 0 0;
  padding: 0;
  border-top: 1px solid var(--hv5-line);
}

.hv5-detail {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 28px;
  padding: 20px 0;
  border-bottom: 1px solid var(--hv5-line);
}

.hv5-detail dt {
  color: var(--hv5-ink);
  font-size: 14px;
  font-weight: 650;
}

.hv5-detail dd {
  margin: 0;
  color: var(--hv5-muted);
  font-size: 16px;
  line-height: 1.62;
}

/* Full width photographic evidence */
.hv5-evidence-head {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 34px;
}

.hv5-evidence-head p {
  max-width: 650px;
  margin-bottom: 4px;
}

.hv5-wide-image {
  margin: 0;
}

.hv5-wide-frame {
  overflow: hidden;
  aspect-ratio: 16 / 7.6;
  border-radius: 12px;
  background: #e9ecee;
}

.hv5-wide-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 45%;
}

/* Closing section */
.hv5-closing {
  padding-top: 88px;
  padding-bottom: 96px;
}

.hv5-closing-inner {
  max-width: 840px;
}

.hv5-closing p {
  max-width: 760px;
}

/* Footer cleanup / correct width */
body.hv-achievement-v5 footer > * {
  width: min(1220px, calc(100% - 48px)) !important;
  max-width: 1220px !important;
  margin-inline: auto !important;
}

/* Responsive */
@media (max-width: 960px) {
  .hv5-hero-grid,
  .hv5-intro,
  .hv5-editorial-grid,
  .hv5-evidence-head {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .hv5-hero-media {
    order: 2;
  }

  .hv5-portrait-frame {
    max-width: 620px;
  }

  .hv5-wide-frame {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 720px) {
  .hv5-wrap {
    width: min(100% - 32px, 1220px);
  }

  .hv5-section {
    padding: 64px 0;
  }

  .hv5-hero {
    padding: 62px 0 68px;
  }

  .hv5-main h1 {
    font-size: clamp(36px, 10vw, 42px);
  }

  .hv5-main h2 {
    font-size: clamp(30px, 8vw, 34px);
  }

  .hv5-principle,
  .hv5-detail {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hv5-principle {
    padding: 22px 0;
  }

  .hv5-detail {
    padding: 18px 0;
  }

  .hv5-hero-frame {
    aspect-ratio: 4 / 3;
  }

  .hv5-portrait-frame {
    aspect-ratio: 4 / 5;
  }

  .hv5-wide-frame {
    aspect-ratio: 4 / 3;
  }

  body.hv-achievement-v5 > header:first-of-type > *,
  body.hv-achievement-v5 header.hv-site-header > *,
  body.hv-achievement-v5 footer > * {
    width: min(100% - 32px, 1220px) !important;
  }
}
