/* Three consecutive screens share the existing brand and navigation. */
@font-face { font-family: 'MiSans Hero'; src: url('assets/MiSans-Heavy-hero.woff') format('woff'); font-weight: 900; font-style: normal; font-display: block; }
html { --site-header-height: 73px; }
.landing-page { --hero-align: calc(100vw * 93 / 1364); }
.landing-page .site-header .nav-shell { padding-inline: var(--hero-align); }
.landing-page .site-header { position: fixed; inset: 0 0 auto; height: var(--site-header-height); background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 4px 20px #10261d08; transition: background .22s ease, border-color .22s ease, box-shadow .22s ease, color .22s ease; }
.landing-page .site-header.is-overlay { color: #fff; background: transparent; border-bottom-color: transparent; backdrop-filter: none; box-shadow: none; }
.landing-page .site-header.is-overlay .brand img { filter: brightness(0) invert(1); }
.landing-page .site-header.is-overlay .desktop-nav a { color: #fff; }
.landing-page .site-header.is-overlay .desktop-nav a::after { background: #fff; }
.landing-page .site-header.is-overlay .nav-cta { color: #fff; background: #ffffff18; border: 1px solid #ffffffa6; }
.landing-page .site-header.is-overlay .nav-cta:hover { background: #ffffff30; }
.landing-page .site-header.is-overlay .menu-button span:not(.sr-only) { background: #fff; }
.landing-page .site-header .mobile-nav { color: var(--ink); }
.landing-page .mobile-nav { position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100dvh - var(--site-header-height)); overflow-y: auto; box-shadow: 0 16px 24px #10261d14; }
.landing-page .home-section { position: relative; height: calc(100vh - var(--site-header-height)); height: calc(100dvh - var(--site-header-height)); min-height: 0; max-height: none; scroll-margin-top: var(--site-header-height); }
.landing-page .hero { height: 100vh; height: 100dvh; scroll-margin-top: 0; padding-top: var(--site-header-height); }
.landing-page .hero-media video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; filter: brightness(.79) saturate(.88) contrast(1.04); }
.landing-page .hero-media::after { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(ellipse at center, transparent 45%, #00000024 100%), repeating-linear-gradient(0deg, #0000000e 0, #0000000e 1px, transparent 1px, transparent 3px); }
.landing-page .hero::after { content: ''; position: absolute; inset: 0 0 auto; height: clamp(120px, 20vh, 200px); background: linear-gradient(180deg, #07221880, #07221800); pointer-events: none; }
.hero-messages { --copy-unit: calc(100vw / 1364 * .956521739); position: absolute; z-index: 3; top: calc(100dvh * 239 / 655); left: var(--hero-align); width: calc(900 * var(--copy-unit)); height: calc(184 * var(--copy-unit)); color: #fff; font-family: 'MiSans Hero', 'MiSans', sans-serif; font-weight: 900; font-synthesis: none; }
.hero-message { position: absolute; z-index: 2; top: 0; left: 0; padding-left: calc(20 * var(--copy-unit)); }
.hero-message[hidden] { display: none; }
.hero-accent { position: absolute; z-index: 3; top: 0; left: 0; width: calc(7 * var(--copy-unit)); height: calc(var(--active-rule-height, 130) * var(--copy-unit)); }
.hero-accent-segment { position: absolute; top: calc(var(--segment) * 25%); left: 0; width: 100%; height: calc(25% + .2px); background: #f00; transform-origin: center; }
.hero-accent-sweep { position: absolute; z-index: 1; left: 0; top: calc(-2 * var(--copy-unit)); height: calc(3 * var(--copy-unit)); width: calc(90 * var(--copy-unit)); background: #f00; opacity: 0; transform-origin: left center; }
.hero-message-copy { transform: translateY(calc(-4.9 * var(--copy-unit))); }
.hero-message-second .hero-message-copy { transform: translateY(calc(-4.95 * var(--copy-unit))); }
.hero-message-english { margin: 0; font-size: calc(46 * var(--copy-unit)); line-height: calc(51.2 * var(--copy-unit)); letter-spacing: 0; }
.hero-message-second .hero-message-english { line-height: calc(53.05 * var(--copy-unit)); }
.hero-message-second .hero-message-english .hero-message-line:nth-child(2) { position: relative; left: calc(-2 * var(--copy-unit)); }
.hero-message-second .hero-message-english .hero-message-line:nth-child(3) { position: relative; left: calc(-1 * var(--copy-unit)); }
.hero-message-line { display: block; width: calc(var(--reference-width) * var(--copy-unit)); white-space: pre; backface-visibility: hidden; }
.hero-message-line > span { display: inline-block; transform: scaleX(var(--line-fit, 1)); transform-origin: left center; }
.hero-message-chinese { margin: calc(7.6 * var(--copy-unit)) 0 0 calc(2 * var(--copy-unit)); font-size: calc(23.5 * var(--copy-unit)); line-height: calc(28 * var(--copy-unit)); letter-spacing: 0; }
.hero-message-second .hero-message-chinese { margin-top: calc(3.75 * var(--copy-unit)); margin-left: var(--copy-unit); }
.scroll-cue { position: absolute; z-index: 5; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); transform: translateX(-50%); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: #fff; }
.scroll-cue-icon { display: block; width: 32px; height: 32px; overflow: visible; filter: drop-shadow(0 2px 4px #0006); animation: scroll-cue-drift 2.4s ease-in-out infinite; }
.scroll-cue:hover .scroll-cue-icon, .scroll-cue:focus-visible .scroll-cue-icon { animation-play-state: paused; opacity: 1; }
@keyframes scroll-cue-drift { 0%, 100% { transform: translateY(-3px); opacity: .65; } 50% { transform: translateY(4px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .scroll-cue-icon { animation: none; } }
.landing-page .section-inner { height: 100%; padding: clamp(24px, 4.5vh, 56px) var(--site-gutter); overflow: auto; }
.about-section { background: var(--surface); }
.about-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.landing-page .sub-kicker { margin: 0 0 16px; color: var(--green-dark); font-size: 13px; font-weight: 800; letter-spacing: .1em; }
.landing-page .sub-hero-copy > h2 { font-size: clamp(36px, 4.5vw, 60px); line-height: 1.15; letter-spacing: -.045em; margin: 0 0 22px; }
.landing-page .about-mission, .landing-page .public-intro .sub-hero-copy > p:not(.sub-kicker) { font-size: 17px; line-height: 1.8; color: var(--muted); margin: 0 0 22px; max-width: 620px; }
.landing-page .about-public-boundary { font-size: 13px; color: var(--muted); line-height: 1.7; margin: 16px 0 0; max-width: 440px; }
.landing-page .about-path { margin: 0; min-width: 0; }
.landing-page .about-path-step { padding: clamp(12px, 2.1vh, 22px) 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.landing-page .about-path-public { background: var(--green-soft); }
.landing-page .about-path-label { margin: 0 0 5px; color: var(--green-dark); font-size: 12px; font-weight: 750; }
.landing-page .about-path-step h3 { font-size: clamp(19px, 1.8vw, 24px); line-height: 1.3; margin: 0 0 7px; }
.landing-page .about-path-step > p:not(.about-path-label) { font-size: 14px; line-height: 1.7; color: var(--muted); margin: 0; }
.landing-page .about-public-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.landing-page .about-public-links a { font-size: 13px; font-weight: 650; color: var(--green-dark); border: 1px solid var(--line); border-radius: 7px; padding: 5px 10px; background: var(--white); }
.landing-page .about-public-links a::after { content: ' ↗'; }
.landing-page .about-path-connector { height: clamp(8px, 1.4vh, 16px); width: 1px; background: var(--green); margin: 0 auto; }
.landing-page .about-ability-list { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; margin: 9px 0 0; font-size: 12px; font-weight: 650; }
.landing-page .about-path-family { border-left: 3px solid var(--green-dark); }
.public-section { background: var(--white); }
.public-layout { display: grid; grid-template-rows: minmax(0, 1fr) auto auto; gap: clamp(18px, 3vh, 36px); }
.public-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 5vw, 72px); min-height: 0; }
.public-hero-photo { min-height: 0; height: min(100%, 42dvh); overflow: hidden; border-radius: var(--radius); }
.public-hero-photo img { height: 100%; width: 100%; object-fit: cover; }
.learning-links { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.learning-links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); font-size: 15px; font-weight: 700; }
.learning-links a:hover, .about-public-links a:hover { color: var(--green-dark); border-color: var(--green); }
.learning-links a:first-child { background: var(--green-soft); }
.screen-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.screen-footer a { white-space: nowrap; font-weight: 700; color: var(--green-dark); }
@media (max-width: 980px) and (min-width: 641px) {
  .landing-page { --hero-align: 24px; }
  .landing-page .sub-hero-copy > h2 { font-size: 38px; }
  .about-layout { gap: 24px; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
  .learning-links { gap: 8px; }
  .learning-links a { padding: 18px 12px; font-size: 13px; }
}
@media (max-width: 640px) {
  html { --site-header-height: 65px; }
  .landing-page { --hero-align: 24px; }
  .landing-page .hero { align-items: end; }
  .hero-messages { --copy-unit: calc((100vw - 64px) / 865); left: 24px; }
  .landing-page .section-inner { padding-block: 22px; }
  .about-layout { grid-template-columns: 1fr; align-content: center; align-items: start; gap: 18px; }
  .landing-page .sub-kicker { margin-bottom: 8px; font-size: 12px; }
  .landing-page .sub-hero-copy > h2 { font-size: 30px; margin-bottom: 12px; }
  .landing-page .about-mission, .landing-page .public-intro .sub-hero-copy > p:not(.sub-kicker) { font-size: 14px; line-height: 1.65; margin-bottom: 12px; }
  .landing-page .about-public-cta { font-size: 13px; padding: 9px 16px; }
  .landing-page .about-public-boundary { font-size: 11px; margin-top: 9px; }
  .landing-page .about-path-step { padding: 12px 15px; border-radius: 12px; }
  .landing-page .about-path-label { font-size: 10px; margin-bottom: 3px; }
  .landing-page .about-path-step h3 { font-size: 17px; margin-bottom: 4px; }
  .landing-page .about-path-step > p:not(.about-path-label) { font-size: 12px; line-height: 1.55; }
  .landing-page .about-public-links { margin-top: 7px; gap: 6px; }
  .landing-page .about-public-links a { font-size: 11px; padding: 4px 8px; }
  .landing-page .about-ability-list { margin-top: 6px; font-size: 11px; gap: 6px 16px; }
  .landing-page .about-path-connector { height: 8px; }
  .public-layout { gap: 18px; grid-template-rows: minmax(0, 1fr) auto auto; }
  .public-intro { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); gap: 14px; }
  .public-hero-photo { height: 100%; max-height: 25dvh; }
  .learning-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .learning-links a { font-size: 13px; padding: 12px; }
  .learning-links a:first-child { grid-column: 1 / -1; }
  .screen-footer { align-items: start; font-size: 10px; padding-top: 12px; gap: 16px; }
}
@media (prefers-color-scheme: dark) {
  .landing-page .sub-kicker, .landing-page .about-path-label, .landing-page .about-public-links a, .screen-footer a { color: #72e4a8; }
}
