/* Archivo (SIL Open Font License 1.1) — self-hosted variable font, weights 400-900. Source: Google Fonts, Archivo v25. */
@font-face{font-family:'Archivo';font-style:normal;font-weight:400 900;font-display:swap;src:url('fonts/archivo-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Archivo';font-style:normal;font-weight:400 900;font-display:swap;src:url('fonts/archivo-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}

/* AMOUFY — shared chrome (top bar, header, mobile menu, footer, buttons). Loaded by EVERY page, including the animated home page,
   so nothing here may rely on global resets: box-sizing is scoped to the chrome's own elements. */

:root {
  --navy: #090088;
  --orange: #FFA71A;
  --deep: #0B0A2E;
  --light: #F4F4FA;
  --ink: #0B0B12;
  --text: #44445c;
  --muted: #55556B;
  --link: #2B2BE0;
  --line: #D9D9EA;
  --danger: #B00020;
  --pad: 56px;
  --maxw: 1440px;
  --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}


.topbar, .topbar *, .site-header, .site-header *, .mobile-menu, .mobile-menu *, .site-footer, .site-footer *, .btn { box-sizing: border-box; }
.topbar, .site-header, .mobile-menu, .site-footer { font-family: var(--font); line-height: 1.5; }
.topbar ul, .site-header ul, .mobile-menu ul { margin: 0; padding: 0; list-style: none; }
.topbar a, .site-header a, .mobile-menu a, .site-footer a { text-decoration: none; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--orange); color: var(--navy); padding: 10px 16px; font-weight: 800; z-index: 200; }
.skip:focus { left: 8px; top: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* ---------- top bar ---------- */
.topbar { background: var(--deep); color: #fff; font-size: 11px; letter-spacing: .12em; font-weight: 600; text-transform: uppercase; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 36px; }
.topbar a { color: inherit; text-decoration: none; opacity: .92; transition: color .2s, opacity .2s; }
.topbar a:hover { color: var(--orange); opacity: 1; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; }
.topbar__right { display: flex; align-items: center; gap: 22px; }
.topbar .lang { font-size: 11px; }
.topbar .lang a { padding: 2px 6px; }
.topbar__label { opacity: .6; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 90; background: var(--navy); color: #fff; box-shadow: 0 6px 30px rgba(9, 0, 136, .25); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: inline-flex; flex-direction: column; gap: 6px; color: inherit; text-decoration: none; flex: none; }
.brand img { display: block; height: 28px; width: auto; }
.brand__slogan { font-size: 9.5px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--orange); line-height: 1; white-space: nowrap; }
.nav { display: flex; gap: 24px; font-size: 11px; letter-spacing: .12em; font-weight: 600; text-transform: uppercase; }
.nav a { color: inherit; text-decoration: none; opacity: .92; padding-bottom: 2px; border-bottom: 2px solid transparent; transition: color .2s; white-space: nowrap; }
.nav a:hover { color: var(--orange); }
.nav a[aria-current="page"] { color: var(--orange); border-bottom-color: var(--orange); opacity: 1; }
.header-actions { display: flex; align-items: center; gap: 18px; flex: none; }
.lang { display: flex; align-items: center; gap: 0; font-size: 11px; font-weight: 700; letter-spacing: .1em; }
.lang a { color: inherit; text-decoration: none; opacity: .65; padding: 4px 6px; transition: color .2s, opacity .2s; }
.lang a:hover { color: var(--orange); opacity: 1; }
.lang a[aria-current="true"] { color: var(--orange); opacity: 1; border-bottom: 2px solid var(--orange); }
.lang span { opacity: .35; }
.burger { display: none; width: 44px; height: 44px; padding: 0; margin: -8px -8px -8px 0; background: none; border: 0; cursor: pointer; color: var(--orange); }
.burger span { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px auto; transition: transform .25s; }

/* ---------- buttons ---------- */
.btn { display: inline-block; background: var(--orange); color: var(--navy); padding: 10px 20px; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; border: 0; cursor: pointer; transition: background .25s, color .25s; white-space: nowrap; }
.btn:hover { background: #fff; }
.btn--lg { padding: 17px 32px; font-size: 13px; letter-spacing: .08em; white-space: normal; text-align: center; max-width: 100%; }   /* long labels (translations!) must wrap, never widen the page */
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--deep); }
.btn--block { display: block; width: 100%; text-align: center; padding: 18px 20px; font-size: 13px; }
.header-actions .btn { padding: 10px 20px; }

/* ---------- mobile menu ---------- */
.mobile-menu { position: fixed; inset: 0; z-index: 100; background: var(--navy); color: #fff; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; overflow-y: auto; }
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.menu-open { overflow: hidden; }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; padding: 14px var(--pad); }
.mobile-menu__close { width: 44px; height: 44px; background: none; border: 0; color: var(--orange); font-size: 30px; line-height: 1; cursor: pointer; }
.mobile-menu nav { padding: 20px var(--pad); counter-reset: m; }
.mobile-menu nav a { counter-increment: m; display: flex; align-items: baseline; gap: 14px; color: #fff; text-decoration: none; font-size: clamp(26px, 7vw, 36px); font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, .15); }
.mobile-menu nav a::before { content: counter(m, decimal-leading-zero); color: var(--orange); font-size: 13px; font-weight: 800; letter-spacing: .1em; }
.mobile-menu nav a[aria-current="page"] { color: var(--orange); }
.mobile-menu__foot { padding: 12px var(--pad) 40px; display: flex; flex-direction: column; gap: 18px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.mobile-menu__foot a { color: #fff; text-decoration: none; }
.mobile-menu__foot .lang { font-size: 13px; }

/* ---------- footer ---------- */
.site-footer { background: var(--deep); color: #fff; font-size: 10px; letter-spacing: .1em; font-weight: 600; text-transform: uppercase; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 24px; padding-top: 22px; padding-bottom: 22px; }
.site-footer a { color: inherit; text-decoration: none; opacity: .8; }
.site-footer a:hover { color: var(--orange); opacity: 1; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer__copy { opacity: .7; }


/* ---------- chrome responsive ---------- */
@media (max-width: 1239px) {
  .nav, .header-actions .btn { display: none; }
  .burger { display: block; }
}
@media (max-width: 899px) {
  :root { --pad: 20px; }
  .topbar { font-size: 10px; letter-spacing: .08em; }
  .topbar__label { display: none; }
  .topbar .lang { display: none; }
}
:lang(zh-Hans), :lang(zh) { --font: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans CJK SC', 'Source Han Sans SC', system-ui, sans-serif; }
:lang(zh-Hans) .nav, :lang(zh-Hans) .btn, :lang(zh-Hans) .topbar { text-transform: none; letter-spacing: .04em; }
@media (prefers-reduced-motion: reduce) { .site-header *, .mobile-menu, .topbar *, .btn { transition: none !important; } }
