/* Modern typography: restrained weights, open counters, consistent Chinese text. */
@font-face {
  font-family: Manrope;
  src: url('/assets/manrope-variable.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}

@font-face {
  font-family: 'Noto Sans SC';
  src: url('/assets/noto-sans-sc-subset.woff2?v=3') format('woff2');
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}

@font-face {
  font-family: 'Noto Sans TC';
  src: url('/assets/noto-sans-tc-subset.woff2?v=3') format('woff2');
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}

/* Use the Traditional Chinese glyph forms without changing the Latin typeface. */
html[lang="zh-HK"] {
  --display: Manrope, 'Noto Sans TC', 'Noto Sans SC', 'PingFang TC', 'Microsoft JhengHei', sans-serif;
  --chinese: 'Noto Sans TC', 'Noto Sans SC', 'PingFang TC', 'Microsoft JhengHei', sans-serif;
  --body: Manrope, 'Noto Sans TC', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'PingFang TC', 'Microsoft JhengHei', sans-serif;
}

body { font-weight: 400; line-height: 1.8; }
h1, h2, h3 { font-synthesis: none; }
.site-header { height: 80px; }
.brand-mark { font-size: 37px; font-weight: 500; letter-spacing: -.065em; }
.brand-name { font-size: 12px; font-weight: 500; letter-spacing: .22em; }
.desktop-nav { font-size: 14px; font-weight: 500; letter-spacing: .055em; }
.eyebrow { font-weight: 500; letter-spacing: .18em; }
.button, .text-button { font-weight: 500; letter-spacing: .045em; }

/* The photograph starts below the header. Its crop keeps the head in view. */
.hero-visual { top: 84px; }
.hero-photo {
  object-position: center calc(40px - 7vw);
  transform-origin: center top;
}
.hero-content { padding-top: clamp(164px, 20vh, 190px); }
.hero-intro { margin-bottom: 22px; }
.hero-english {
  font-size: clamp(80px, 8.8vw, 142px);
  font-weight: 500;
  font-style: normal;
  line-height: 1.12;
  letter-spacing: -.05em;
  margin-left: -3px;
  white-space: nowrap;
}
.hero-chinese {
  font-size: clamp(34px, 3.05vw, 47px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .12em;
  margin-top: 18px;
}
.hero-message { margin-top: 28px; }
.hero-message p {
  font-size: clamp(24px, 2.1vw, 32px);
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: .035em;
}
.hero-note { letter-spacing: .025em; }

.section-title, .about .section-title, .contact h2 {
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -.015em;
}
.section-title { font-size: clamp(32px, 3.2vw, 49px); }
.about .section-title { font-size: clamp(30px, 2.9vw, 44px); }
.contact h2 { font-size: clamp(34px, 3.4vw, 52px); }
.about-intro, .education, .roles, .contact-heading, .contact-details { min-width: 0; }
.about-description, .platform-description, .service-body p { line-height: 1.9; }
.education h3 { font-size: 21px; font-weight: 500; line-height: 1.6; }
.degree-label { font-size: 12px; font-weight: 500; letter-spacing: .02em; }
.roles dt { font-weight: 500; }
.roles dt small { font-weight: 400; }
.roles dd { color: #6e5c63; }
.latin { font-size: 16px; }
.about-word {
  font-size: clamp(100px, 12.5vw, 190px);
  font-weight: 400;
  letter-spacing: -.065em;
  line-height: 1.1;
  z-index: 0;
}
.about-visual figure { position: relative; }
.about-visual figcaption span:last-child { font-size: 17px; letter-spacing: -.025em; }

.service h3 { font-size: clamp(23px, 1.85vw, 29px); font-weight: 500; }
.service-number { font-size: 17px; font-weight: 400; letter-spacing: -.03em; }
.art-word { font-size: clamp(64px, 6.5vw, 100px); font-weight: 400; letter-spacing: -.055em; }
.service-tags { font-size: 13px; letter-spacing: .015em; }
.platform h3 { font-size: 64px; font-weight: 500; letter-spacing: -.055em; }
.platform h3 span { font-size: 23px; font-weight: 500; letter-spacing: .025em; }
.platform-monogram { font-size: 25px; letter-spacing: -.05em; }
.platform-role { font-size: 14px; }
.display-title {
  font-size: clamp(75px, 8.5vw, 135px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.06em;
}
.gallery-statement { font-size: clamp(25px, 2.55vw, 39px); font-weight: 500; letter-spacing: -.015em; }
.gallery-item h3 { font-size: 21px; font-weight: 500; line-height: 1.65; }
.gallery-item figcaption > span { font-size: 13px; letter-spacing: .035em; }
.contact-signature { font-size: 77px; font-weight: 400; letter-spacing: -.055em; line-height: 1.25; }
.contact-person { font-size: 23px; font-weight: 500; }
.contact-person span { font-size: 19px; font-weight: 400; letter-spacing: -.035em; }
.contact-value { font-family: var(--display); font-size: 28px; font-weight: 400; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.footer-brand { font-size: 24px; font-weight: 500; letter-spacing: -.04em; }
.platform-dialog h2 { font-size: 36px; font-weight: 500; line-height: 1.5; letter-spacing: -.025em; }
.platform-services dt { font-size: 21px; font-weight: 500; }
.lightbox-count { font-size: 14px; }

@media (min-width: 768px) and (max-width: 1023px) {
  .hero-english { font-size: 10.8vw; }
  .hero-chinese { font-size: 36px; }
  .hero-message p { font-size: 27px; }
  .service h3 { font-size: 22px; }
  .education h3 { font-size: 19px; }
  .degree-label { letter-spacing: 0; font-size: 12px; }
  .contact-value { font-size: 24px; }
}

@media (max-width: 767px) {
  .site-header { height: 75px; }
  .brand-mark { font-size: 31px; }
  .brand-name { font-size: 11px; letter-spacing: .17em; }
  .hero-visual { top: 75px; }
  .hero-photo { object-position: 50% top; }
  .hero-content { padding: 0 24px; }
  .hero-intro { margin-bottom: 16px; font-size: 12px; letter-spacing: .14em; }
  .hero-english {
    font-size: clamp(52px, 19vw, 88px);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -.05em;
    margin-left: -2px;
  }
  .hero-chinese { font-size: 30px; margin-top: 11px; letter-spacing: .1em; }
  .hero-message { margin-top: 17px; }
  .hero-message p { font-size: 22px; line-height: 1.7; letter-spacing: .025em; }
  .hero-content > .button { margin-top: 23px; }
  .hero-note { font-size: 11px; }
  .mobile-menu nav > a { font-size: 25px; font-weight: 500; }
  .mobile-menu nav span { font-size: 16px; font-weight: 400; letter-spacing: -.015em; }
  .section-title, .about .section-title { font-size: 29px; line-height: 1.55; }
  .about-word { font-size: clamp(70px, 25vw, 112px); top: 0; }
  .about-visual { padding-top: 78px; }
  .education h3 { font-size: 19px; }
  .degree-label { font-size: 12px; letter-spacing: 0; }
  .roles dt { font-size: 15px; }
  .roles dd { font-size: 13px; }
  .service h3 { font-size: 22px; }
  .service-number { font-size: 16px; }
  .art-word { font-size: clamp(52px, 17vw, 76px); }
  .platforms .section-title { font-size: 28px; }
  .platform h3 { font-size: 58px; }
  .platform h3 span { font-size: 22px; }
  .display-title { font-size: clamp(50px, 18vw, 88px); letter-spacing: -.05em; }
  .gallery-statement { font-size: 24px; line-height: 1.6; }
  .gallery-item h3 { font-size: 20px; }
  .contact h2 { font-size: 30px; }
  .contact-signature { font-size: clamp(52px, 19vw, 88px); margin-top: 27px; }
  .contact-person { font-size: 21px; }
  .contact-person span { font-size: 18px; }
  .contact-value { font-size: 25px; letter-spacing: -.02em; }
  .footer-brand { font-size: 24px; }
  .platform-dialog h2 { font-size: 29px; }
  .platform-services dt { font-size: 20px; }
}

@media (max-width: 767px) and (max-height: 740px) {
  .hero-intro { margin-bottom: 12px; }
  .hero-english { font-size: clamp(52px, 18vw, 76px); }
  .hero-chinese { font-size: 28px; margin-top: 8px; }
  .hero-message { margin-top: 12px; }
  .hero-message p { font-size: 20px; line-height: 1.65; }
  .hero-content > .button { margin-top: 17px; }
}

@media (max-width: 374px) {
  .service h3 { font-size: 20px; }
  .section-title, .about .section-title, .platforms .section-title { font-size: 26px; }
  .education h3 { font-size: 17px; }
  .contact h2 { font-size: 27px; }
  .contact-value { font-size: 22px; }
  .roles dt { font-size: 14px; }
  .roles dd { font-size: 12px; }
}
