/* Mobile defaults are in styles.css. These rules replace the old overlay layout. */
@media (min-width: 700px) {
  .site-shell { width: calc(100% - 56px); margin-bottom: 28px; }
  .header-inner { height: 84px; padding-inline: 13px; }
  .brand img { width: 148px; }
  .header-actions { gap: 17px; }
  .language-control { min-width: 90px; }
  .language-current { font-size: 13px; }
  .verification { padding-top: 32px; padding-bottom: 48px; }
  .verify-content { padding: 0; }
  .hero-slogan { font-size: clamp(52px,7vw,72px); max-width: 12ch; margin-bottom: 32px; }
  :lang(zh-CN) .hero-slogan { font-size: clamp(56px,6.2vw,74px); }
  .query-panel { padding: 27px 29px 23px; }
  #verify-title { font-size: 30px; }
  .official { font-size: 11px; }
  .verify-instruction { font-size: 15px; }
  .forest-visual { margin-inline: 0; border-radius: 18px; }
  .forest-visual img { aspect-ratio: 1.85; }
  .stars-distant { display: block; }
  .meteor-lane { display: block; }
  .content-width { width: calc(100% - 72px); }
  .companionship { padding: 46px 0 50px; }
  .companion-visual img { aspect-ratio: 16 / 10; }
  .companion-copy { max-width: 730px; }
  .companion-copy h3 { font-size: 42px; }
  .our-story { padding-top: 64px; }
  .story-header h2 { font-size: 48px; }
  .story-header .lead { max-width: 760px; font-size: 17px; }
  .origin { gap: 32px; padding-top: 38px; }
  .origin-visual img { aspect-ratio: 16 / 10; }
  .story-copy h3 { font-size: 38px; }
  .landscape { margin-top: 46px; padding: 32px; }
  .landscape-visual img { aspect-ratio: 16 / 10; }
  .values { padding: 46px 0; }
  .values-grid { grid-template-columns: repeat(3,minmax(0,1fr)); padding: 29px 0; }
  .value { display: block; padding: 0 20px; border-top: 0; border-left: 1px solid var(--line); }
  .value:first-child { border-left: 0; padding-left: 0; }
  .value:last-child { padding-right: 0; }
  .value > .icon { margin: 0 0 18px; }
  .footer-inner { flex-direction: row; justify-content: space-between; min-height: 77px; text-align: left; font-size: 12px; }
}
@media (min-width: 980px) {
  .site-shell { width: calc(100% - 96px); margin-top: 18px; margin-bottom: 40px; }
  .site-header { top: 0; background: #091b19dc; }
  .header-inner { padding-inline: 22px; height: 86px; }
  .verification { padding: 34px 22px 56px; }
  .verify-layout { grid-template-columns: minmax(0,1.03fr) minmax(0,.97fr); gap: 35px; align-items: center; }
  .verify-content { max-width: 640px; align-self: center; padding-bottom: 12px; }
  .hero-slogan { font-size: clamp(60px,4.8vw,86px); line-height: .94; max-width: 8.8ch; margin-bottom: 28px; }
  :lang(zh-CN) .hero-slogan { font-size: clamp(64px,4.4vw,88px); max-width: 8ch; }
  .query-panel { padding: 25px 26px 22px; max-width: 620px; }
  .forest-visual { align-self: stretch; border-radius: 18px; }
  .forest-visual picture, .forest-visual img { height: 100%; }
  .forest-visual img { aspect-ratio: 4 / 5; min-height: 570px; object-position: 62% 50%; }
  .content-width { width: calc(100% - 88px); }
  .companionship { padding: 56px 0 60px; border-radius: 20px; }
  .companion-layout { grid-template-columns: minmax(0,1.08fr) minmax(0,.92fr); gap: 48px; align-items: center; }
  .companion-visual { border-radius: 18px; }
  .companion-visual img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
  .companion-copy h3 { font-size: 48px; line-height: 1.16; margin-bottom: 20px; }
  .companion-copy .lead { font-size: 17px; line-height: 1.9; margin-bottom: 18px; }
  .companion-copy p { font-size: 16px; line-height: 1.95; }
  .companion-copy .eyebrow { font-size: 12px; line-height: 1.5; }
  .story-header h2 { font-size: 56px; line-height: 1.12; }
  .story-header .lead { font-size: 18px; }
  .origin { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 54px; padding-top: 45px; }
  .origin-visual { border-radius: 18px; }
  .origin-visual img { aspect-ratio: 1.22; }
  .story-copy h3 { font-size: 44px; line-height: 1.16; }
  .story-copy p { font-size: 16px; line-height: 1.95; }
  .story-copy .lead { font-size: 18px; line-height: 1.85; }
  .story-copy .eyebrow { font-size: 12px; line-height: 1.5; }
  .landscape { grid-template-columns: minmax(0,1.02fr) minmax(0,.98fr); gap: 44px; margin-top: 56px; padding: 42px; border-radius: 20px; }
  .landscape-copy { order: 1; }
  .landscape-visual { order: 2; border-radius: 16px; min-height: 360px; align-self: stretch; }
  .landscape-visual picture { height: 100%; }
  .landscape-visual img { height: 100%; min-height: 360px; aspect-ratio: auto; }
  .landscape-copy h3 { font-size: 44px; line-height: 1.15; margin-bottom: 16px; }
  .landscape-copy .lead { font-size: 18px; line-height: 1.85; }
  .landscape-copy p { line-height: 1.95; }
  .values { padding: 52px 0; }
  .value { padding-inline: 31px; }
  .value h3 { font-size: 30px; }
  .value-lead { font-size: 17px; }
}
@media (min-width: 1500px) {
  .verification { padding-inline: 30px; }
  .verify-layout { gap: 52px; }
  .forest-visual img { min-height: 610px; }
}
@media (max-width: 359px) {
  .site-shell { width: calc(100% - 20px); }
  .header-inner { padding-inline: 5px; }
  .brand img { width: 103px; }
  .header-actions { gap: 4px; }
  .language-control { min-width: 70px; gap: 5px; }
  #verify-title { font-size: 24px; }
  .official { font-size: 10px; letter-spacing: 0; }
  .content-width { width: calc(100% - 32px); }
}

/* Readability refinement */

#verify-title,
.companion-copy h3,
.story-copy h3,
.landscape-copy h3,
.value h3 {
  font-family:
    Georgia,
    "Noto Serif SC",
    "Source Han Serif SC",
    "Songti SC",
    serif;

  font-weight: 700;
  font-style: normal;
  letter-spacing: -0.01em;
}

/* Chinese headings */

:lang(zh-CN) #verify-title,
:lang(zh-CN) .companion-copy h3,
:lang(zh-CN) .story-copy h3,
:lang(zh-CN) .landscape-copy h3,
:lang(zh-CN) .value h3 {
  font-family:
    "Noto Serif SC",
    "Source Han Serif SC",
    "Songti SC",
    serif;

  font-weight: 700;
  font-style: normal;
  letter-spacing: 0;
}

/* Keep long Malay and Indonesian words inside the existing heading width. */
:lang(ms) .landscape-copy h3,
:lang(id) .landscape-copy h3 {
  overflow-wrap: break-word;
}
