/* JAG Employment Services — premium, photo-led. Midnight navy + royal blue, Instrument Serif + Manrope. */
:root {
  --ink: #0a1230; --ink-2: #131d45; --ink-3: #1d2a5e;
  --blue: #2b4bdb; --blue-2: #1e36b0; --sky: #e8edff; --sky-2: #b9c6ff;
  --paper: #f6f7fb; --white: #fdfdff; --line: #e1e5ef; --muted: #535c7c;
  --wa: #11804a; --wa-2: #0c6b3d; --red: #d7262e; --bubble: #dcf8c6;
  --serif: "Playfair Display", "Noto Serif SC", Georgia, serif;
  --sans: "Manrope", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  --zh-serif: "Noto Serif SC", "Songti SC", serif;
  --zh: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --wrap: 1280px; --gutter: clamp(20px, 4vw, 56px);
  --r: 22px; --ease: cubic-bezier(.16, 1, .3, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
svg { display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; overflow-wrap: break-word; }
[lang="zh"] { font-family: var(--zh); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 16px; top: -80px; z-index: 100; padding: 10px 16px; background: var(--ink); color: var(--white); border-radius: 8px; }
.skip:focus-visible { top: 16px; }

/* type */
h1, h2 { font-family: var(--serif); letter-spacing: -0.01em; }
h1 em, h2 em, .statement__en em { font-style: italic; }
h2 { font-size: clamp(2.5rem, 4.2vw, 4.25rem); line-height: 1.02; }
h2 em { color: var(--blue); }
.overline { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; font: 600 12.5px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--sky-2); }
.overline [lang="zh"] { letter-spacing: .2em; color: inherit; opacity: .8; }
.overline--ink { color: var(--blue); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #48d17f; box-shadow: 0 0 0 4px rgba(72,209,127,.22); }
.lead { font-size: clamp(1.05rem, .4vw + .95rem, 1.25rem); line-height: 1.6; color: rgba(253,253,255,.82); max-width: 44ch; }
.lead--ink { color: var(--muted); margin-top: 18px; }
.sec-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border: 1px solid transparent; border-radius: 999px; font: 600 15.5px/1 var(--sans); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .2s var(--ease); }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn:hover svg[aria-hidden] use[href="#arrow"] { }
.btn:active { transform: translateY(1px); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--wa-2); }
.btn--light { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.35); }
.btn--light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--blue); }
.btn--wide { width: 100%; }

/* seal + brand */
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand__name { font: 700 17px/1.15 var(--sans); letter-spacing: -.01em; white-space: nowrap; }
.brand__name span { display: block; margin-top: 3px; font: 500 12.5px/1.2 var(--zh); letter-spacing: .14em; opacity: .75; }

/* nav: transparent over the hero, solid once scrolled */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; color: #fff; transition: background-color .35s var(--ease), box-shadow .35s var(--ease); }
.nav.is-scrolled { background: rgba(10,18,48,.86); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.nav__row { display: flex; align-items: center; gap: 28px; min-height: 84px; }
.nav__links { display: flex; gap: 30px; margin-left: auto; font-size: 14.5px; font-weight: 500; }
.nav__links a { text-decoration: none; color: rgba(255,255,255,.78); white-space: nowrap; transition: color .2s; }
.nav__links a:hover { color: #fff; }
.nav :focus-visible { outline-color: #fff; }
.nav__cta { min-height: 44px; padding: 0 20px; font-size: 14.5px; }

/* hero */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: #fff; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; animation: settle 14s var(--ease) both; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(10,18,48,.94) 0%, rgba(10,18,48,.78) 38%, rgba(10,18,48,.35) 70%, rgba(10,18,48,.55) 100%), linear-gradient(0deg, rgba(10,18,48,.85) 0%, transparent 35%); }
@keyframes settle { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 80px); align-items: center; min-height: min(100svh, 1000px); padding-block: 130px 72px; }
.hero h1 { font-size: clamp(3.2rem, 6.2vw, 6.4rem); line-height: .96; max-width: 11ch; }
.hero h1 em { color: var(--sky-2); }
.hero__zh { margin: 22px 0 22px; font: 600 clamp(1.3rem, 1.6vw, 1.7rem)/1.4 var(--zh-serif); letter-spacing: .18em; color: rgba(255,255,255,.92); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 34px; }
.hero__lic { font-size: 14px; color: rgba(255,255,255,.72); text-underline-offset: 4px; }
.hero__lic:hover { color: #fff; }

/* glass message builder */
.glass { position: relative; padding: clamp(22px, 2.4vw, 32px); border-radius: 26px; background: linear-gradient(160deg, rgba(255,255,255,.16), rgba(255,255,255,.06)); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(22px) saturate(1.4); -webkit-backdrop-filter: blur(22px) saturate(1.4); box-shadow: 0 40px 90px -30px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.2); }
.glass__title { font: 400 clamp(1.7rem, 2vw, 2.1rem)/1.1 var(--serif); }
.glass__sub { margin: 6px 0 20px; font-size: 14.5px; color: rgba(255,255,255,.72); }
.composer { display: grid; gap: 18px; }
.composer-q { display: grid; gap: 16px; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend { margin-bottom: 9px; font-size: 13.5px; font-weight: 600; color: rgba(255,255,255,.9); }
legend em { margin-left: 6px; font-style: normal; font-weight: 400; color: rgba(255,255,255,.6); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 15px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; background: rgba(255,255,255,.06); color: #fff; font-size: 14px; font-weight: 500; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.chip span:hover { background: rgba(255,255,255,.16); }
.chip input:checked + span { background: #fff; border-color: #fff; color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.composer-out { display: grid; gap: 12px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.16); }
.bubble { position: relative; padding: 14px 16px 10px; border-radius: 16px 4px 16px 16px; background: var(--bubble); color: #10251a; font-size: 15px; line-height: 1.5; box-shadow: 0 1px 1px rgba(0,0,0,.15); overflow-wrap: break-word; }
.bubble small { display: block; margin-top: 4px; font-size: 11.5px; color: #4a6352; text-align: right; }
.glass__note { font-size: 12.5px; color: rgba(255,255,255,.62); text-align: center; }

/* trust strip */
.trust { background: var(--ink); color: #fff; border-top: 1px solid rgba(255,255,255,.08); }
.trust__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trust__row > div { padding: 30px 24px; border-left: 1px solid rgba(255,255,255,.1); }
.trust__row > div:first-child { border-left: 0; padding-left: 0; }
.trust b { display: block; font: 400 clamp(1.5rem, 2vw, 1.9rem)/1.1 var(--serif); }
.trust b[lang="zh"] { font: 600 clamp(1.2rem, 1.6vw, 1.45rem)/1.3 var(--zh-serif); letter-spacing: .08em; }
.trust span { display: block; margin-top: 6px; font-size: 13.5px; color: rgba(255,255,255,.62); }

/* services */
.services { padding-block: clamp(88px, 10vw, 150px); background: var(--paper); }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.card { position: relative; isolation: isolate; display: flex; align-items: flex-end; aspect-ratio: 3 / 4.3; border-radius: var(--r); overflow: hidden; color: #fff; text-decoration: none; background: var(--ink-2); box-shadow: 0 30px 60px -40px rgba(10,18,48,.6); }
.card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,18,48,0) 30%, rgba(10,18,48,.55) 60%, rgba(10,18,48,.92) 100%); }
.card:hover img { transform: scale(1.06); }
.card__body { display: grid; gap: 6px; padding: 24px; }
.card__zh { font: 500 12.5px/1 var(--zh); letter-spacing: .3em; color: var(--sky-2); }
.card b { font: 400 clamp(1.6rem, 2.1vw, 2.1rem)/1.05 var(--serif); }
.card__body > span:not([class]) { font-size: 14.5px; color: rgba(255,255,255,.8); }
.card__go { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 13.5px; font-weight: 600; color: #fff; }
.card__go svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.card:hover .card__go svg { transform: translateX(4px); }

/* statement */
.statement { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(120px, 14vw, 200px); color: #fff; text-align: center; background: var(--ink); }
.statement__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.statement::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(10,18,48,.55), rgba(10,18,48,.88)); }
.statement__inner { display: grid; justify-items: center; gap: 20px; }
.statement__zh { font: 900 clamp(4rem, 11vw, 9rem)/1 var(--zh-serif); letter-spacing: .12em; }
.statement__en { max-width: 18ch; font: 400 clamp(2rem, 3.8vw, 3.6rem)/1.08 var(--serif); }
.statement__en em { color: var(--sky-2); }
.statement__small { max-width: 52ch; color: rgba(255,255,255,.75); }

/* process */
.process { padding-block: clamp(88px, 10vw, 150px); background: var(--white); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.steps li { padding: 32px 24px 0 0; position: relative; }
.steps li::before { content: ""; position: absolute; top: -1px; left: 0; width: 44px; height: 2px; background: var(--blue); }
.steps__n { display: block; font: 400 clamp(3rem, 4.4vw, 4.4rem)/1 var(--serif); color: var(--blue); }
.steps h3 { margin: 18px 0 8px; font: 700 18px/1.3 var(--sans); }
.steps p { font-size: 15px; color: var(--muted); }

/* nations */
.nations-sec { padding-block: clamp(88px, 10vw, 140px); background: var(--paper); }
.nations-sec__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.nations { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.nations li { border-bottom: 1px solid var(--line); }
.nations a { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto 24px; align-items: center; gap: 20px; padding: 20px 12px; text-decoration: none; border-radius: 14px; transition: background-color .25s; }
.nations a:hover { background: var(--white); }
.flag { width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(10,18,48,.12); overflow: hidden; }
.nations b { font: 400 clamp(1.7rem, 2.3vw, 2.2rem)/1.1 var(--serif); }
.nations [lang="zh"] { color: var(--muted); font-size: 15px; }
.nations__go { width: 22px; height: 22px; color: var(--blue); transition: transform .3s var(--ease); }
.nations a:hover .nations__go { transform: translateX(4px); }

/* licence */
.licence { padding-block: clamp(72px, 8vw, 110px); background: var(--white); }
.licence__card { padding: clamp(28px, 4vw, 56px); border-radius: 28px; color: #fff; background: radial-gradient(ellipse at 90% 0%, rgba(43,75,219,.55), transparent 55%), linear-gradient(160deg, var(--ink-2), var(--ink)); box-shadow: 0 50px 100px -50px rgba(10,18,48,.8); }
.licence__head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 28px; align-items: center; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.12); }
.licence__head .overline { margin-bottom: 8px; }
.licence h2 { font-size: clamp(2.2rem, 3.6vw, 3.4rem); }
.licence__meta { margin-top: 6px; font-size: 15px; color: rgba(255,255,255,.7); }
.licence__list { list-style: none; margin: 0; padding: 32px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 32px; }
.licence__list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: rgba(255,255,255,.88); }
.licence__list svg { width: 22px; height: 22px; flex-shrink: 0; padding: 3px; border-radius: 50%; background: rgba(72,209,127,.18); color: #6ee29b; }

/* faq */
.faq { padding-block: clamp(88px, 10vw, 140px); background: var(--white); border-top: 1px solid var(--line); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq .sec-head { position: sticky; top: 120px; }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font: 600 17.5px/1.4 var(--sans); cursor: pointer; list-style: none; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: ""; flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b4bdb' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/16px no-repeat; transition: transform .3s var(--ease); }
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list details p { padding: 0 48px 24px 0; color: var(--muted); }

/* contact */
.contact { padding-block: clamp(88px, 10vw, 140px); background: var(--ink); color: #fff; background-image: radial-gradient(ellipse at 0% 100%, rgba(43,75,219,.45), transparent 55%); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact h2 em { color: var(--sky-2); }
.contact__phone { display: inline-block; margin-top: 28px; font: 400 clamp(2.6rem, 4.6vw, 4.4rem)/1 var(--serif); text-decoration: none; font-variant-numeric: tabular-nums; }
.contact__phone:hover { color: var(--sky-2); }
.contact__sub { margin-top: 14px; max-width: 44ch; color: rgba(255,255,255,.75); }
.after { list-style: none; counter-reset: a; margin: 32px 0 0; padding: 28px 0 0; display: grid; gap: 14px; border-top: 1px solid rgba(255,255,255,.12); }
.after li { counter-increment: a; display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: baseline; color: rgba(255,255,255,.8); }
.after li::before { content: counter(a); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); font: 400 18px/1 var(--serif); color: var(--sky-2); }
.after b { color: #fff; font-weight: 600; }
.contact__mail { margin-top: 28px; font-size: 15px; color: rgba(255,255,255,.7); }
.contact__mail a { color: #fff; overflow-wrap: anywhere; }
.form { display: grid; gap: 16px; padding: clamp(24px, 3vw, 40px); border-radius: 26px; background: var(--white); color: var(--ink); box-shadow: 0 50px 100px -40px rgba(0,0,0,.6); }
.form__title { font: 400 2rem/1.1 var(--serif); margin-bottom: 4px; }
.form__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.form label { display: grid; gap: 7px; font-size: 13.5px; font-weight: 600; }
.form input:not([type="checkbox"]), .form select, .form textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #cfd5e4; border-radius: 12px; background: var(--paper); color: var(--ink); font: 400 16px/1.4 var(--sans); transition: border-color .2s, background-color .2s; }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; background: #fff; }
.form .consent { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; color: var(--muted); }
.form .consent input { width: 20px; height: 20px; margin-top: 2px; flex-shrink: 0; accent-color: var(--blue); }
.form .btn { justify-self: start; }

/* footer */
.footer { background: #060b20; color: rgba(255,255,255,.7); padding-block: 72px 40px; font-size: 14.5px; }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); color: #fff; }
.brand--lg .brand__name { font-size: 20px; }
.footer__lic { text-align: right; font: 400 1.6rem/1.1 var(--serif); color: #fff; }
.footer__lic span { display: block; margin-top: 4px; font: 400 13.5px var(--sans); color: rgba(255,255,255,.6); }
.footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding-block: 40px; }
.footer__cols nav { display: grid; gap: 10px; align-content: start; }
.footer__cols b { color: #fff; font-weight: 600; margin-bottom: 4px; }
.footer a { text-decoration: none; overflow-wrap: anywhere; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__legal { padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); }
.credits { margin-top: 10px; font-size: 12px; color: rgba(255,255,255,.45); }
.credits a { text-decoration: underline; }

/* inner pages */
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: #fff; }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(10,18,48,.95) 0%, rgba(10,18,48,.8) 45%, rgba(10,18,48,.35) 100%); }
.page-hero__inner { display: grid; justify-items: start; gap: 22px; min-height: min(78svh, 760px); align-content: center; padding-block: 140px 80px; }
.page-hero h1 { font-size: clamp(3rem, 5.6vw, 5.6rem); line-height: .98; max-width: 12ch; }
.page-hero h1 em { color: var(--sky-2); }
.page-hero .hero__zh { margin: 0; }
.sec { padding-block: clamp(80px, 9vw, 130px); }
.sec--paper { background: var(--paper); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.rows { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.rows div { padding: 28px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); }
.sec--paper .rows div { background: var(--white); }
.rows dt { font: 400 1.75rem/1.1 var(--serif); }
.rows dd { margin: 8px 0 0; color: var(--muted); font-size: 15.5px; }
.doc { max-width: 760px; display: grid; gap: 16px; padding-block: 150px 100px; }
.doc h1 { font-size: clamp(2.8rem, 5vw, 4.2rem); line-height: 1; margin-bottom: 12px; }
.doc h2 { font-size: 1.9rem; margin-top: 18px; }
.doc p, .doc li { color: var(--muted); }
.doc ul { margin: 0; padding-left: 22px; }
.doc__date { font-size: 14px; }
.page--doc .nav { background: var(--ink); }

/* phones: sticky WhatsApp bar */
.wa-bar { display: none; }

/* reveal on scroll: visible without JS and under reduced motion */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .licence__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .nav__links { display: none; }
  .hero__grid, .nations-sec__grid, .faq__grid, .contact__grid, .split { grid-template-columns: minmax(0, 1fr); }
  .hero__grid { min-height: 0; padding-block: 120px 56px; }
  .faq .sec-head { position: static; }
  .trust__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust__row > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .trust__row > div { border-top: 1px solid rgba(255,255,255,.08); }
  .licence__head { grid-template-columns: auto minmax(0, 1fr); }
  .licence__head .btn { grid-column: 1 / -1; justify-self: start; }
  .wa-bar { display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 40; align-items: center; justify-content: center; gap: 10px; min-height: 56px; border-radius: 999px; background: var(--wa); color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 18px 40px -12px rgba(0,0,0,.5); transform: translateY(160%); transition: transform .35s var(--ease); }
  .wa-bar svg { width: 22px; height: 22px; }
  .wa-bar.show { transform: none; }
  .footer { padding-bottom: 110px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav__row { min-height: 70px; gap: 12px; }
  .brand__name { font-size: 15px; }
  .brand__name span { font-size: 11px; }
  .nav__cta span { display: none; }
  .nav__cta { width: 46px; padding: 0; margin-left: auto; }
  .hero h1 { font-size: clamp(2.9rem, 12.5vw, 3.6rem); }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .card { aspect-ratio: 4 / 3.6; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li { padding-right: 0; }
  .trust__row > div { padding: 22px 12px 22px 0; }
  .nations a { grid-template-columns: 36px minmax(0, 1fr) auto; gap: 14px; padding: 16px 4px; }
  .flag { width: 36px; height: 36px; }
  .nations__go { display: none; }
  .licence__list, .rows { grid-template-columns: minmax(0, 1fr); }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .footer__cols { grid-template-columns: minmax(0, 1fr); }
  .footer__lic { text-align: left; }
  .faq__list details p { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* Chinese pages */
html[lang^="zh"] h1, html[lang^="zh"] h2 { font-family: var(--zh-serif); font-weight: 600; letter-spacing: .02em; line-height: 1.2; }
html[lang^="zh"] h1 { font-size: clamp(2.6rem, 4.6vw, 4.6rem); max-width: 9em; }
html[lang^="zh"] h1 em, html[lang^="zh"] h2 em, html[lang^="zh"] .statement__en em { font-style: normal; }
html[lang^="zh"] .hero__zh { font-family: var(--serif); font-style: italic; letter-spacing: 0; font-weight: 500; font-size: clamp(1.4rem, 1.8vw, 1.8rem); }
html[lang^="zh"] .card b, html[lang^="zh"] .nations b { font-family: var(--zh-serif); font-weight: 600; }
html[lang^="zh"] .nations b { font-size: clamp(1.5rem, 2vw, 1.9rem); color: var(--ink); }
html[lang^="zh"] body { line-height: 1.8; }

/* round 2: warmer, brighter, more alive */
:root { --gold: #c8a96a; --gold-2: #a8874a; --ivory: #f6f1e9; }
.hero::before { background: linear-gradient(100deg, rgba(10,18,48,.9) 0%, rgba(10,18,48,.62) 40%, rgba(10,18,48,.12) 72%, rgba(10,18,48,.35) 100%), linear-gradient(0deg, rgba(10,18,48,.8) 0%, transparent 30%), radial-gradient(ellipse at 70% 40%, transparent 40%, rgba(10,18,48,.35) 100%); }
.hero__bg img { filter: saturate(1.15) brightness(1.12) contrast(1.05); }
@media (min-width: 961px) { .hero__grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); } }
.glass { max-width: 470px; justify-self: end; }
.hero h1 { font-size: clamp(3.6rem, 7.4vw, 7.4rem); }
.hero h1 em, .contact h2 em, .statement__en em, .page-hero h1 em { color: #d9c08e; }
.overline { color: var(--gold); }
.dot { background: var(--gold); box-shadow: 0 0 0 4px rgba(200,169,106,.25); }
.card::before { background: linear-gradient(180deg, rgba(10,18,48,0) 28%, rgba(10,18,48,.7) 58%, rgba(10,18,48,.96) 100%); }
.card__zh { color: #e3cc9b; }
.statement__en { max-width: none; }
.services, .process, .nations-sec, .faq, .contact { padding-block: clamp(80px, 8vw, 116px); }
.process { background: var(--ivory); }
.process h2 em { color: var(--gold-2); }
.process .overline--ink { color: var(--gold-2); }
.steps { border-top: 0; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 66px; height: 1px; background: linear-gradient(90deg, var(--gold), rgba(200,169,106,.15)); }
.steps li { padding-top: 0; }
.steps li::before { display: none; }
.steps__n { position: relative; display: grid; place-items: center start; width: 132px; height: 132px; font: 400 7.2rem/1 var(--serif); color: transparent; -webkit-text-stroke: 1.4px var(--gold-2); }
.steps h3 { margin-top: 10px; }
.nations-sec { background: var(--white); }
.nations-sec .sec-head { position: sticky; top: 120px; }
.nations a:hover { background: var(--paper); }
.licence { background: var(--paper); }
.licence__card { color: var(--ink); background: var(--ivory); box-shadow: 0 40px 80px -50px rgba(10,18,48,.45); outline: 1px solid var(--gold); outline-offset: -14px; border: 1px solid rgba(200,169,106,.5); }
.licence__card .overline { color: var(--gold-2); }
.licence h2 { color: var(--ink); }
.licence__meta { color: var(--muted); }
.licence__head { border-bottom-color: rgba(168,135,74,.3); }
.licence__head .btn--light { background: transparent; color: var(--ink); border-color: var(--ink); }
.licence__head .btn--light:hover { background: var(--ink); color: #fff; }
.licence__list li { color: var(--ink); }
.licence__list svg { background: rgba(200,169,106,.2); color: var(--gold-2); }
.faq { background: var(--white); }
.after li::before { color: var(--gold); border-color: rgba(200,169,106,.5); }
.footer__mark { margin: 8px 0 32px; font: 400 clamp(5rem, 16vw, 13rem)/.9 var(--serif); color: rgba(255,255,255,.06); letter-spacing: -.02em; white-space: nowrap; overflow: hidden; }
.footer__mark [lang="zh"] { font-family: var(--zh-serif); font-weight: 900; }
.form .consent input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; border: 1.5px solid #b9c0d4; border-radius: 6px; background: #fff; display: grid; place-items: center; cursor: pointer; }
.form .consent input:checked { background: var(--ink); border-color: var(--ink); }
.form .consent input:checked::after { content: ""; width: 10px; height: 6px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: translateY(-1px) rotate(-45deg); }
.form .consent input:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
@media (max-width: 1100px) { .steps::before { display: none; } .steps__n { width: auto; height: auto; font-size: 5rem; } }
@media (max-width: 960px) { .glass { max-width: none; justify-self: stretch; } .nations-sec .sec-head { position: static; } .hero::before { background: linear-gradient(180deg, rgba(10,18,48,.72) 0%, rgba(10,18,48,.84) 45%, rgba(10,18,48,.96) 100%); } }

/* round 3: Playfair Display, calmer type, new logo */
h1, h2, h3, b, .steps__n, .contact__phone, .trust b, .footer__lic, .licence h2 { font-variant-numeric: lining-nums; }
h1, h2 { font-weight: 500; letter-spacing: -0.015em; }
h1 em, h2 em, .statement__en em { font-weight: 500; }
.hero h1 { font-size: clamp(3rem, 5.4vw, 5.6rem); line-height: 1.04; max-width: 12ch; }
h2 { font-size: clamp(2.2rem, 3.4vw, 3.5rem); line-height: 1.1; }
.hero__zh { letter-spacing: .06em; font-weight: 600; }
.statement__zh { letter-spacing: .04em; font-size: clamp(3.6rem, 9vw, 7.5rem); }
.statement__en { font-size: clamp(1.8rem, 3vw, 2.9rem); line-height: 1.15; }
.card__zh { letter-spacing: .08em; font-size: 13px; }
.card b { font-size: clamp(1.4rem, 1.8vw, 1.8rem); font-weight: 500; }
.trust b { font-size: clamp(1.3rem, 1.7vw, 1.65rem); font-weight: 500; }
.trust b[lang="zh"] { letter-spacing: .02em; }
.nations b { font-size: clamp(1.4rem, 1.9vw, 1.8rem); font-weight: 500; }
.steps__n { font-size: 6rem; -webkit-text-stroke-width: 1.2px; }
.glass__title { font-size: clamp(1.5rem, 1.7vw, 1.85rem); font-weight: 500; }
.form__title { font-size: 1.7rem; font-weight: 500; }
.contact__phone { font-size: clamp(2.3rem, 4vw, 3.8rem); font-weight: 500; letter-spacing: .01em; }
.rows dt { font-size: 1.5rem; font-weight: 500; }
.footer__lic { font-size: 1.4rem; }
.footer__mark { font-weight: 600; font-size: clamp(4rem, 13vw, 11rem); }
.overline { letter-spacing: .12em; }
/* logo */
.brand { gap: 14px; }
.logo-mark { width: 46px; height: 46px; flex-shrink: 0; }
.logo-mark--lg { width: 84px; height: 84px; color: var(--ink); }
.brand__name b { display: block; font: 600 26px/1 var(--serif); letter-spacing: .08em; }
.brand__name small { display: block; margin-top: 6px; font: 600 9.5px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; opacity: .8; }
.brand__name > span { display: block; margin-top: 5px; font: 600 11px/1 var(--zh-serif); letter-spacing: .3em; color: var(--gold); opacity: 1; }
.brand--lg .logo-mark { width: 60px; height: 60px; }
.brand--lg .brand__name b { font-size: 32px; }
@media (max-width: 640px) {
  .logo-mark { width: 38px; height: 38px; }
  .brand__name b { font-size: 22px; }
  .brand__name small { font-size: 8.5px; letter-spacing: .24em; }
  .brand__name > span { font-size: 10px; }
  .hero h1 { font-size: clamp(2.6rem, 11vw, 3.3rem); }
}

/* round 4: QA fixes — one accent, steadier type */
h2 em { color: var(--gold-2); }
.hero h2 em, .contact h2 em, .statement__en em, .page-hero h1 em, .hero h1 em { color: #d9c08e; }
.faq__list summary::after { background-color: var(--ivory); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a8874a' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E"); }
.overline--ink { color: var(--gold-2); }
.steps::before { display: none; }
.steps { border-top: 1px solid rgba(168,135,74,.35); }
.steps li { padding-top: 28px; }
.steps__n { width: auto; height: auto; display: block; font: 500 4.5rem/1 var(--serif); color: var(--gold-2); -webkit-text-stroke: 0; }
.steps h3 { margin: 14px 0 8px; font: 500 1.35rem/1.2 var(--serif); }
.brand__name small { font-size: 10.5px; letter-spacing: .18em; }
.brand__name > span { font: 500 12.5px/1 var(--zh); letter-spacing: .12em; }
.card__body > span:not([class]) { min-height: 3.2em; }
.statement__zh { font-weight: 700; }
.statement__en { text-wrap: balance; }
.chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.chip span { justify-content: center; width: 100%; text-align: center; }
.trust b[lang="zh"] { font: 500 clamp(1.2rem, 1.6vw, 1.5rem)/1.1 var(--zh-serif); letter-spacing: .02em; }
.lead [lang="zh"], .contact__sub [lang="zh"] { font-size: .94em; }
.nw { white-space: nowrap; }
.credits { color: rgba(255,255,255,.6); }
.rows dd { font-size: 16.5px; }
.band-photo { width: 100%; }
@media (max-width: 960px) { .hero__actions .btn { width: 100%; } .hero__actions { gap: 12px; } }
@media (max-width: 640px) {
  .brand__name small { display: none; }
  .steps__n { font-size: 3.5rem; }
  .steps li { padding-top: 20px; }
  .licence__card { outline: 0; }
  .licence__head .logo-mark { display: none; }
  .licence__head { grid-template-columns: minmax(0, 1fr); }
  .licence h2 { font-size: 2rem; white-space: nowrap; }
}

/* round 5: 杰 seal logo */
.brand { gap: 14px; }
.logo-mark { width: 44px; height: 44px; flex-shrink: 0; border-radius: 7px; }
.logo-mark--lg { width: 76px; height: 76px; border-radius: 11px; }
.brand--lg .logo-mark { width: 56px; height: 56px; }
.brand__name b { font: 600 27px/1 var(--serif); letter-spacing: .06em; }
.brand__name small { margin-top: 7px; font: 600 10.5px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; opacity: .8; }
.brand--lg .brand__name b { font-size: 32px; }
@media (max-width: 640px) {
  .logo-mark { width: 38px; height: 38px; }
  .brand__name b { font-size: 23px; }
}

/* round 6: full-site QA */
:root { --gold-2: #8a6d33; }
p { text-wrap: pretty; }
.trust .nw { display: inline; margin: 0; font-size: inherit; color: inherit; }
.page-hero h1 { max-width: 15ch; }
.nations__go { color: var(--gold-2); }
.nations b + span { color: var(--muted); font-size: 15px; font-weight: 400; }
.composer .chips:has(input[type="radio"]) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.composer .chips:has(input[type="radio"]) .chip span { padding: 0 8px; }
.contact__sub a, .lead a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--gold); }
@media (min-width: 961px) { .hero__actions .hero__wa { display: inline-flex; } }
@media (max-width: 960px) {
  .nav__links { display: flex; margin-left: auto; margin-right: 14px; }
  .nav__links a:not([lang]) { display: none; }
}
@media (max-width: 640px) {
  .page-hero__inner { min-height: 0; padding-block: 120px 56px; }
  .steps li { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 14px; padding-top: 18px; }
  .steps__n { grid-row: span 2; font-size: 2.6rem; }
  .steps h3 { margin-top: 2px; }
  .footer .brand__name small { display: block; }
  .licence h2 { white-space: normal; font-size: clamp(1.6rem, 8vw, 2rem); }
}
@media (max-width: 960px) { .nav__cta { margin-left: 0; } }
@media (max-width: 640px) { .steps { row-gap: 26px; } .steps li p { margin: 0; } }
/* round 7: home photos — warm, not navy, over the light tea photo */
.statement { background: #15110d; }
.statement::before { background: radial-gradient(ellipse at center, rgba(21,17,13,.5), rgba(21,17,13,.86)); }
.statement__bg { object-position: 50% 45%; }
.composer .chips:has(input[name="lang"]) { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* round 8: guides */
.guides { padding-block: clamp(88px, 10vw, 140px); background: var(--ivory); }
.guides__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; max-width: none; }
.guides__all, .guide__go { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--ink); text-decoration: none; }
.guides__all svg, .guide__go svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.guide-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.guide-list--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 24px; }
.guide { display: flex; flex-direction: column; gap: 10px; padding: 28px 26px 26px; background: var(--white); border: 1px solid var(--line); border-top: 2px solid var(--gold); border-radius: 18px; color: var(--ink); text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.guide:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(10,18,48,.35); }
.guide:hover .guide__go svg, .guides__all:hover svg { transform: translateX(4px); }
.guide:focus-visible, .guides__all:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.guide__n { font: 500 1.6rem/1 var(--serif); color: var(--gold-2); }
.guide b { font: 500 1.35rem/1.2 var(--serif); }
.guide > span:not([class]) { color: var(--muted); font-size: 15px; flex: 1; }
.guide__go { margin-top: 6px; }
.doc .overline a { color: inherit; text-decoration: none; }
.doc__lead { font-size: 1.2rem; line-height: 1.6; color: var(--ink) !important; }
.doc h2 { font-size: 1.55rem; margin-top: 26px; }
.doc ul { display: grid; gap: 8px; }
.doc__note { font-size: 15px; padding: 16px 18px; background: var(--paper); border-radius: 12px; }
.doc__note a, .doc p a { color: var(--ink); text-decoration-color: var(--gold); text-underline-offset: 3px; }
.doc__cta { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 28px; padding: 26px 28px; background: var(--ink); border-radius: 18px; }
.doc__cta p { color: #fff !important; margin: 0; font-size: 1.05rem; }
.more-guides { display: grid; gap: 10px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.more-guides a { color: var(--ink); font-weight: 500; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.doc--wide { max-width: 1100px; }
@media (max-width: 960px) { .guide-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .guide-list, .guide-list--2 { grid-template-columns: minmax(0, 1fr); } .doc__cta .btn { width: 100%; } }

/* round 9: speed + accessibility */
picture.wp { display: contents; }
.footer__mark::before { content: "JAG "; }
.footer__mark::after { content: "杰士"; font-family: var(--zh-serif); font-weight: 900; }
@media (max-width: 960px) { .nav__cta span { display: inline; position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
.overline--ink [lang="zh"] { opacity: 1; }
