/* ================================================================
   PYU 20 YEARS — TYPOGRAPHY CONTROL CENTER (V4.1)
   Chỉnh font và kích thước chữ chủ yếu tại :root bên dưới.
   Font UTM được self-host trong assets/fonts/ dưới dạng WOFF2.
   ================================================================ */
@font-face{font-family:'UTM Avo';src:url('../assets/fonts/UTM-Avo.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'UTM Avo';src:url('../assets/fonts/UTM-AvoBold.woff2') format('woff2');font-weight:700 900;font-style:normal;font-display:swap}
@font-face{font-family:'UTM Avo';src:url('../assets/fonts/UTM-AvoItalic.woff2') format('woff2');font-weight:400;font-style:italic;font-display:swap}
@font-face{font-family:'UTM Avo';src:url('../assets/fonts/UTM-AvoBold-Italic.woff2') format('woff2');font-weight:700 900;font-style:italic;font-display:swap}
@font-face{font-family:'UTM Times';src:url('../assets/fonts/UTM-Times.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'UTM Times';src:url('../assets/fonts/UTMTimesBold.woff2') format('woff2');font-weight:700 900;font-style:normal;font-display:swap}
@font-face{font-family:'UTM Times';src:url('../assets/fonts/UTM-TimesItalic.woff2') format('woff2');font-weight:400;font-style:italic;font-display:swap}
@font-face{font-family:'UTM Times';src:url('../assets/fonts/UTMTimesBold-Italic.woff2') format('woff2');font-weight:700 900;font-style:italic;font-display:swap}
@font-face{font-family:'UTM Bebas';src:url('../assets/fonts/UTM-Bebas.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'UTM Neo Sans Intel';src:url('../assets/fonts/UTM-Neo-Sans-Intel.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'UTM Neo Sans Intel';src:url('../assets/fonts/UTM-Neo-Sans-IntelBold.woff2') format('woff2');font-weight:700 900;font-style:normal;font-display:swap}
@font-face{font-family:'UTM Trajan Pro';src:url('../assets/fonts/UTM-Trajan-Pro-Bold.woff2') format('woff2');font-weight:700 900;font-style:normal;font-display:swap}

:root{
  /* 1) FONT FAMILY — đổi ở đây nếu lãnh đạo muốn thử phương án khác */
  --font-main:'UTM Avo',Arial,sans-serif;
  --font-editorial:'UTM Times',Georgia,serif;
  --font-number:'UTM Bebas','Arial Narrow',sans-serif;
  --font-alt:'UTM Neo Sans Intel',Arial,sans-serif;
  --font-ceremonial:'UTM Trajan Pro','Times New Roman',serif;

  /* 2) CỠ CHỮ TOÀN TRANG */
  --size-body:clamp(16px,1.15vw,18px);
  --size-small:13px;
  --size-kicker:12px;
  --line-body:1.72;

  /* 3) HERO */
  --size-hero-title:clamp(52px,8.4vw,132px);
  --size-hero-lead:clamp(17px,1.35vw,20px);

  /* 4) TIÊU ĐỀ TỪNG CHƯƠNG — có thể chỉnh độc lập */
  --size-title-heritage:clamp(38px,5.3vw,76px);
  --size-title-timeline:clamp(38px,5.3vw,76px);
  --size-title-rectors:clamp(38px,5.0vw,72px);
  --size-title-pillars:clamp(38px,5.3vw,76px);
  --size-title-faces:clamp(38px,5.3vw,76px);
  --size-title-video:clamp(38px,5.0vw,72px);
  --size-title-heart:clamp(40px,5.6vw,78px);
  --size-title-letter:clamp(36px,4.5vw,62px);
  --size-title-future:clamp(40px,5.5vw,80px);

  /* 5) THÀNH PHẦN ĐẶC BIỆT */
  --size-big-year:clamp(105px,19vw,260px);
  --size-founding-date:clamp(58px,8vw,108px);
  --size-timeline-year:30px;
  --size-card-title:28px;
  --size-person-name:22px;
  --size-rector-name:26px;
}

html,body,button,input,textarea,select{font-family:var(--font-main)}
body{font-size:var(--size-body);line-height:var(--line-body);font-kerning:normal;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}
.top,.brand,.top nav a,.eyebrow,.kicker,.scroll,.status,footer{font-family:var(--font-main)}
.eyebrow,.kicker{font-size:var(--size-kicker);letter-spacing:.15em}
.hero h1{font-family:var(--font-main);font-size:var(--size-hero-title);letter-spacing:-.035em;line-height:.9}
.hero h1 em{font-family:var(--font-editorial);font-weight:400;letter-spacing:-.025em}
.lead{font-size:var(--size-hero-lead);line-height:1.65}
#heritage h2{font-size:var(--size-title-heritage)}
#timeline h2{font-size:var(--size-title-timeline)}
#rectors h2{font-size:var(--size-title-rectors)}
#pillars h2{font-size:var(--size-title-pillars)}
#faces h2{font-size:var(--size-title-faces)}
.video h2{font-size:var(--size-title-video)}
#heart h2{font-size:var(--size-title-heart)}
.letter h2{font-family:var(--font-editorial);font-size:var(--size-title-letter);font-weight:400;letter-spacing:-.015em}
.future h2{font-size:var(--size-title-future)}
.chapter h2,.video h2,.future h2{font-family:var(--font-main);letter-spacing:-.025em;line-height:1.08}
.bigyear,.date,.event .yr,.timeline-meta b,.numbergrid strong,.yearghost{font-family:var(--font-number);font-weight:400;letter-spacing:.01em}
.bigyear{font-size:var(--size-big-year)}
.date{font-size:var(--size-founding-date)}
.prose p,.intro,.heart-lead,.founding p{font-size:var(--size-body);line-height:var(--line-body)}
.event .yr{font-size:var(--size-timeline-year)}
.event h3,.timeline-meta h3{font-family:var(--font-main)}
.cards h3,.storygrid h3{font-size:var(--size-card-title)}
.rector-card h3{font-size:var(--size-rector-name)}
.person-copy h3{font-size:var(--size-person-name)}

/* UTM Times dành cho các đoạn cần sắc thái tư liệu/editorial. */
.editorial{font-family:var(--font-editorial)}
/* UTM Trajan chỉ nên dùng ngắn, chữ hoa, cho chi tiết nghi lễ. */
.ceremonial{font-family:var(--font-ceremonial);text-transform:uppercase;letter-spacing:.06em}

@media(max-width:760px){
  :root{--size-timeline-year:22px;--size-person-name:21px;--size-rector-name:24px}
  .hero h1{line-height:.94}.chapter h2,.video h2,.future h2{line-height:1.1}
}

/* V4.2 hero title stability */
.hero h1{line-height:.96}.hero h1 em{line-height:1.02}
@media(max-width:760px){.hero h1{line-height:.98}.hero h1 em{line-height:1.04}}
