/* 青舟 · MODCO WES — website v0.2
   Shares the deck's look: black ground, white type, 青 teal accent, colour imagery.
   System fonts only: no web-font CDNs, so pages load fast inside mainland China. */

:root {
  --bg: #000;
  --bg-alt: #0b0b0b;
  --card: #161616;
  --line: #262626;
  --text: #fff;
  --soft: #d6d6d6;
  --grey: #9a9a9a;
  --dim: #6a6a6a;
  --qing: #3fb8c4;
  --serif-en: Georgia, "Times New Roman", serif;
  --sans-en: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --sans-zh: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", sans-serif;
  --head: var(--sans-zh);
  --body: var(--sans-zh);
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
}
html.lang-en { --head: var(--serif-en); --body: var(--sans-en); }

/* Language switching: both languages live in the HTML (indexable; content needs no JS). */
html.lang-zh .en, html.lang-en .zh { display: none !important; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--body); font-size: 17px; line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
html.lang-zh body { letter-spacing: 0.02em; }
img { max-width: 100%; display: block; }
a { color: inherit; }
em { font-style: normal; color: var(--qing); }
h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1.25; }
html.lang-zh h1, html.lang-zh h2 { font-weight: 600; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--qing); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 820px; }
.center { text-align: center; }
.cols-2, .cols-3 { display: grid; gap: clamp(16px, 2.5vw, 28px); }
@media (min-width: 760px) {
  .cols-2 { grid-template-columns: repeat(2, 1fr); }
  .cols-3 { grid-template-columns: repeat(3, 1fr); }
}
.split { align-items: center; gap: clamp(32px, 6vw, 72px); }

/* Placeholders: dim and bracketed, so they can't be mistaken for real claims (same rule as the deck). */
.ph { color: var(--dim); font-size: 0.92em; }
.ph-box { display: grid; place-items: center; color: var(--dim); border: 1px dashed var(--dim); font-size: 14px; }
.muted { color: var(--grey); font-size: 15px; }

.draft-ribbon { background: #2a2208; color: #e9c46a; text-align: center; font: 13px/1.4 var(--sans-zh); padding: 6px var(--gutter); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 20px;
  padding: 12px var(--gutter);
  background: rgba(0, 0, 0, 0.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand img { width: 36px; height: 36px; }
.brand-zh { font-family: var(--sans-zh); font-weight: 700; font-size: 20px; letter-spacing: 0.08em; }
.brand-en { font-family: var(--sans-en); font-size: 12px; letter-spacing: 0.3em; color: var(--grey); }
.nav-links { display: flex; gap: 28px; font-size: 15px; }
.nav-links a { text-decoration: none; color: var(--grey); transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-links .nav-cta { color: var(--qing); }
.lang-switch { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang-switch button { background: none; border: 0; color: var(--grey); cursor: pointer; font: 600 13px/1 var(--sans-en); padding: 8px 12px; min-width: 40px; }
.lang-switch button[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; width: 42px; height: 38px; cursor: pointer; position: relative; }
.menu-btn .bars, .menu-btn .bars::before, .menu-btn .bars::after { position: absolute; left: 11px; width: 18px; height: 2px; background: var(--text); content: ""; transition: transform .2s; }
.menu-btn .bars { top: 18px; }
.menu-btn .bars::before { left: 0; top: -6px; }
.menu-btn .bars::after { left: 0; top: 6px; }
.menu-btn[aria-expanded="true"] .bars { background: transparent; }
.menu-btn[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 899px) {
  .menu-btn { display: block; }
  .brand-en { display: none; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: #000; border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
}

/* ---------- Buttons and links ---------- */
.btn { display: inline-block; text-decoration: none; padding: 13px 26px; border-radius: 999px; font-size: 16px; transition: background .2s, color .2s, border-color .2s; }
.btn-primary { background: var(--qing); color: #001417; font-weight: 600; }
.btn-primary:hover { background: #63cbd5; }
.btn-ghost { border: 1px solid var(--dim); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); }
.text-link { color: var(--qing); text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.links-row { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 24px; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: calc(100vh - 100px); min-height: calc(100svh - 100px);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; padding: 56px var(--gutter) 24px;
  background: radial-gradient(ellipse at 50% 35%, rgba(63, 184, 196, 0.11), transparent 62%);
}
.hero-inner { margin: auto 0; }
.hero-crest { width: clamp(150px, 22vw, 230px); height: auto; margin: 0 auto 26px; }
.wordmark-zh { font-family: var(--sans-zh); font-weight: 700; font-size: clamp(52px, 8vw, 76px); line-height: 1.1; letter-spacing: 0.12em; }
.wordmark-en { font-family: var(--sans-en); color: var(--grey); font-size: 15px; letter-spacing: 0.2em; margin-top: 10px; }
.hero-tag { font-family: var(--head); font-size: clamp(20px, 2.6vw, 26px); margin-top: 26px; font-weight: 400 !important; }
.hero-line { color: var(--grey); font-size: clamp(16px, 1.8vw, 18px); margin-top: 8px; }
.scroll-cue { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; text-decoration: none; color: var(--grey); margin-top: 32px; animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(6px); } }
.hero-foot { color: var(--dim); font-size: 13px; margin-top: 28px; }

/* ---------- Page head (inner pages) ---------- */
.page-head { padding: clamp(64px, 10vw, 120px) 0 clamp(32px, 5vw, 56px); background: radial-gradient(ellipse at 15% 0%, rgba(63, 184, 196, 0.09), transparent 55%); }
.page-head h1 { font-family: var(--head); font-size: clamp(34px, 5.4vw, 58px); line-height: 1.2; max-width: 900px; }
.page-head .sub { color: var(--grey); font-family: var(--head); font-size: clamp(18px, 2.2vw, 22px); margin-top: 20px; max-width: 780px; line-height: 1.55; }
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.jump a { text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; font-size: 14px; color: var(--grey); }
.jump a:hover { color: var(--text); border-color: var(--dim); }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section.tight-top { padding-top: clamp(16px, 3vw, 32px); }
.section-alt { background: var(--bg-alt); }
.sec-head { margin-bottom: clamp(32px, 5vw, 52px); max-width: 860px; }
.sec-head h2 { font-family: var(--head); font-size: clamp(28px, 4.2vw, 44px); }
.sec-head .sub { font-family: var(--head); color: var(--grey); font-size: clamp(17px, 2vw, 21px); margin-top: 14px; line-height: 1.55; }
.big-head { font-family: var(--head); font-size: clamp(32px, 5vw, 52px); margin-bottom: 28px; }
.mid-head { font-family: var(--head); font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 22px; }
.eyebrow { font-family: var(--sans-en); font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey); margin-bottom: 12px; }
html.lang-zh .eyebrow { font-family: var(--sans-zh); letter-spacing: 0.1em; font-size: 14px; }
.eyebrow.accent { color: var(--qing); }
.prose p { color: var(--soft); margin-bottom: 1.1em; }
.prose p:last-child { margin-bottom: 0; }
.closer { font-family: var(--head); font-size: clamp(22px, 3vw, 32px); line-height: 1.4; margin-top: clamp(40px, 6vw, 60px); text-align: center; }
.closer.small { font-size: clamp(20px, 2.4vw, 26px); }

/* Pillars (home) */
.pillars { margin-top: clamp(40px, 6vw, 64px); }
.pillar { border-left: 2px solid var(--qing); padding-left: 20px; }
.pillar h3 { font-family: var(--head); font-size: 21px; margin-bottom: 8px; }
.pillar p { color: var(--grey); font-size: 16px; }

/* Link cards */
.link-card { display: flex; flex-direction: column; text-decoration: none; background: var(--card); border-radius: var(--radius); padding: 28px 26px; border-top: 2px solid var(--qing); transition: background .2s, transform .2s; }
.link-card:hover { background: #1d1d1d; transform: translateY(-2px); }
.link-card h3 { font-family: var(--head); font-size: 24px; margin-bottom: 12px; }
.link-card p { color: var(--grey); font-size: 16px; flex: 1; }
.link-card .more { color: var(--qing); font-size: 15px; margin-top: 20px; }

/* Facts strip */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 32px 0; }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.num { font-family: var(--serif-en); font-size: clamp(40px, 5.4vw, 60px); line-height: 1.05; color: var(--qing); }
.cap { color: var(--grey); font-size: 15px; line-height: 1.5; margin-top: 6px; }
.trust-label { margin-top: clamp(40px, 6vw, 60px); }

/* Logos */
.logo-strip { overflow: hidden; padding: 8px 0 40px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-track { display: flex; align-items: center; gap: 56px; width: max-content; animation: marquee 120s linear infinite; }
.logo-track img { height: 34px; width: auto; opacity: 0.75; }
.logo-strip:hover .logo-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 36px 28px; align-items: center; justify-items: center; }
.logo-grid img { max-height: 40px; max-width: 130px; width: auto; opacity: 0.8; }
@media (prefers-reduced-motion: reduce) {
  .logo-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); gap: 28px 44px; }
  .scroll-cue { animation: none; }
  html { scroll-behavior: auto; }
}

/* Crest panel */
.crest-panel { display: grid; place-items: center; }
.crest-panel img { width: clamp(180px, 26vw, 300px); height: auto; filter: drop-shadow(0 0 60px rgba(63, 184, 196, 0.18)); }

/* About: founder */
.founder { display: grid; gap: clamp(32px, 5vw, 64px); }
@media (min-width: 900px) { .founder { grid-template-columns: 300px 1fr; align-items: start; } .founder-card { position: sticky; top: 100px; } }
.founder-card { background: var(--card); border-radius: var(--radius); padding: 28px; }
.portrait-lg { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); margin-bottom: 20px; }
.founder-card .name { font-family: var(--head); font-size: 24px; }
.founder-card .name-alt { color: var(--grey); font-size: 15px; }
.founder-card .role { color: var(--qing); font-size: 14px; margin: 6px 0 16px; letter-spacing: 0.06em; }
.bio-list { list-style: none; padding: 0; margin: 0 0 14px; font-size: 14px; color: var(--soft); }
.bio-list li { padding: 8px 0; border-top: 1px solid var(--line); }
.founder-note { max-width: 680px; }
.founder-note p { font-size: 18px; line-height: 1.8; }
.signature { font-family: var(--head); color: var(--text) !important; margin-top: 2em !important; }
.poem { margin: 28px 0 0; padding: 18px 22px; border-left: 2px solid var(--qing); font-family: var(--sans-zh); font-size: 20px; letter-spacing: 0.08em; color: var(--text); }
.poem cite { display: block; font-style: normal; font-size: 13px; color: var(--grey); margin-top: 8px; letter-spacing: 0.04em; }

/* About: roles */
.role-split { display: grid; gap: 16px; }
.role-box { background: var(--card); border-radius: var(--radius); padding: 22px 24px; }
.role-box ul, .ticks { list-style: none; margin: 0; padding: 0; }
.role-box li, .ticks li { padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--soft); font-size: 16px; }
.role-box li:last-child, .ticks li:last-child { border-bottom: 0; }
.role-box li::before, .ticks li::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--qing); margin-right: 12px; vertical-align: 2px; }

/* Cards */
.card { background: var(--card); border-radius: var(--radius); padding: 26px 24px 28px; border-top: 2px solid var(--qing); }
.card p { color: var(--soft); }
.card-name { font-family: var(--sans-en); font-weight: 700; font-size: 13px; letter-spacing: 0.12em; color: var(--text) !important; margin-bottom: 10px; }
html.lang-zh .card-name { font-family: var(--sans-zh); }
.card .ph { margin-top: 10px; }

/* Services */
.service-row { display: grid; gap: 20px; padding: clamp(36px, 5vw, 56px) 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.service-row:first-child { border-top: 0; }
@media (min-width: 900px) { .service-row { grid-template-columns: 320px 1fr; gap: 56px; } }
.service-label h2 { font-family: var(--head); font-size: clamp(28px, 3.4vw, 38px); }
.service-body > p { color: var(--soft); font-size: 18px; margin-bottom: 22px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { background: var(--card); border-radius: var(--radius); padding: 26px 22px; }
.step-num { font-family: var(--serif-en); color: var(--qing); font-size: 34px; line-height: 1; margin-bottom: 14px; }
.steps h3 { font-family: var(--head); font-size: 21px; margin-bottom: 10px; }
.steps p:not(.step-num) { color: var(--grey); font-size: 15px; }

/* Work: cases */
.case-grid { display: grid; gap: 24px; }
@media (min-width: 760px) { .case-grid { grid-template-columns: repeat(2, 1fr); } }
.case { background: var(--card); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.case > img, .case-logo { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.case-logo { display: grid; place-items: center; padding: 12%; }
.case-logo-red { background: #d2051e; }
.case-logo img { max-height: 100%; width: auto; }
.case-body { padding: 24px 24px 28px; }
.case .route { color: var(--grey); font-size: 14px; }
.case h2 { font-family: var(--sans-en); font-size: 15px; font-weight: 700; letter-spacing: 0.12em; color: var(--qing); margin: 4px 0 8px; }
html.lang-zh .case h2 { font-family: var(--sans-zh); }
.case-line { font-family: var(--head); font-size: 19px; line-height: 1.45; }
.swr { margin: 18px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 14px; }
.swr dt { color: var(--grey); }
.swr dd { margin: 0; }

/* Contact */
.contact-card { display: grid; gap: 24px; align-items: center; background: var(--card); border-radius: 8px; padding: 26px; }
@media (min-width: 560px) { .contact-card { grid-template-columns: auto 1fr; } }
.qr-img { width: 200px; height: 200px; background: #fff; padding: 12px; border-radius: 8px; justify-self: center; }
.contact-card .name { font-size: 20px; font-weight: 600; }
.contact-card .role { color: var(--grey); font-size: 15px; margin-bottom: 12px; }
.qr-hint { font-size: 15px; color: var(--soft); margin-bottom: 10px; }
.mail { color: var(--qing); text-decoration: none; font-size: 17px; }
.mail:hover { text-decoration: underline; }
/* QR hints: one of three shows, chosen by the classes set in the page <head>. */
.hint-wechat, .hint-phone { display: none; }
html.is-touch .hint-desk { display: none; }
html.is-touch .hint-phone { display: inline; }
html.in-wechat .hint-phone, html.in-wechat .hint-desk { display: none; }
html.in-wechat .hint-wechat { display: inline; }
.qr-img { -webkit-touch-callout: default; }
.wechat-id { margin-bottom: 4px; }
.wechat-id b { font-family: var(--sans-en); letter-spacing: 0.02em; }
.wechat-id, .mail-row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.copy-btn { background: none; border: 1px solid var(--dim); border-radius: 999px; color: var(--soft); font: 13px/1 var(--body); padding: 9px 14px; min-height: 36px; cursor: pointer; }
.copy-btn:hover { border-color: var(--text); color: var(--text); }
.copy-btn.done { border-color: var(--qing); color: var(--qing); }
.contact-card .muted { margin-top: 10px; }
.contact-page { display: grid; gap: clamp(32px, 5vw, 56px); align-items: start; }
@media (min-width: 960px) { .contact-page { grid-template-columns: 1.1fr 1fr; } }
.next-steps { padding-left: 1.2em; margin: 0 0 20px; color: var(--soft); }
.next-steps li { margin-bottom: 14px; padding-left: 6px; }
.next-steps b { color: var(--text); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; position: relative; font-family: var(--head); font-size: 19px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; color: var(--qing); font-size: 24px; font-family: var(--sans-en); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--soft); padding: 0 0 22px; }

/* Contact CTA block (end of pages) */
.cta { position: relative; overflow: hidden; padding: clamp(72px, 10vw, 120px) 0; border-top: 1px solid var(--line); }
.cta-crest { position: absolute; right: -280px; top: 50%; width: 760px; transform: translateY(-50%); opacity: 0.45; pointer-events: none; }
.cta-inner { position: relative; display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .cta-inner { grid-template-columns: 1fr 1.1fr; } }
.cta h2 { font-family: var(--head); font-size: clamp(36px, 5.4vw, 58px); line-height: 1.2; }
.alt-line { color: var(--dim); margin-top: 12px; }
.cta .sub { font-family: var(--head); color: var(--grey); font-size: clamp(18px, 2.2vw, 21px); margin-top: 22px; }
.cta-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cta-links.center { justify-content: center; }

/* Floating contact button and dialog */
.float-contact {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 30;
  transition: opacity .25s, transform .25s;
  background: var(--qing); color: #001417; border: 0; border-radius: 999px;
  padding: 13px 20px; font: 600 15px/1 var(--body); cursor: pointer;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
}
body[data-page="contact"] .float-contact { display: none; }
/* Hidden while the contact block or footer is on screen: the QR code and email are already in view there. */
.float-contact.is-hidden { opacity: 0; transform: translateY(16px); pointer-events: none; }
.contact-dialog { border: 1px solid var(--line); border-radius: 10px; padding: 0; background: var(--card); color: var(--text); max-width: min(560px, calc(100vw - 32px)); }
.contact-dialog::backdrop { background: rgba(0, 0, 0, 0.7); }
.contact-dialog .contact-card { padding: 34px 26px 26px; }
.dialog-close { position: absolute; top: 6px; right: 10px; background: none; border: 0; color: var(--grey); font-size: 28px; cursor: pointer; z-index: 1; }

/* 404 */
.notfound { min-height: 60vh; display: grid; align-items: center; }
.nf-crest { margin: 0 auto 28px; opacity: 0.9; }
.notfound h1 { margin: 0 auto; }
.notfound .sub { margin: 18px auto 0; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 48px 0 90px; font-size: 14px; color: var(--grey); }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; } }
.footer .brand { margin: 0; }
.footer-tag { margin-top: 10px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a, .footer-contact a { text-decoration: none; color: var(--grey); display: inline-block; padding: 6px 0; }
.footer-links { gap: 0 !important; }
.footer-contact p { margin-bottom: 2px !important; }
.footer-links a:hover, .footer-contact a:hover { color: var(--text); }
.footer-contact p { margin-bottom: 8px; }
.footer-legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--dim); }

/* ---------- Phones ----------
   Most Chinese partners will open the site on a phone, often inside WeChat. Touch targets are at least ~40px,
   nothing important sits under the floating button, and the first screen is not crowded. */
.text-link { display: inline-block; padding: 8px 0; }
.mail { display: inline-block; padding: 6px 0; }
@media (max-width: 899px) {
  .lang-switch button { padding: 12px 13px; }
  .menu-btn { width: 44px; height: 42px; }
  .menu-btn .bars { top: 20px; left: 13px; }
  .portrait-lg { max-width: 240px; }
}
@media (max-width: 759px) {
  .hero { padding-bottom: 88px; }          /* keeps the hero's last line clear of the floating button */
  .float-contact { right: 14px; padding: 13px 18px; }
  .footer { padding-bottom: 40px; }
  .contact-card { padding: 22px 20px; }
  .qr-img { width: 210px; height: 210px; }
}
/* Pop-up on phones: a bigger close target, and a slightly smaller QR so the whole card fits on short screens. */
.dialog-close { width: 44px; height: 44px; top: 2px; right: 2px; }
@media (max-width: 759px) { .contact-dialog .qr-img { width: 180px; height: 180px; } .contact-dialog .contact-card { padding: 40px 20px 20px; gap: 16px; } }

/* ---------- Deck v4 sections (2026-11-21) ---------- */
/* Who we work with (home) */
.who-grid { display: grid; gap: clamp(28px, 5vw, 56px); }
@media (min-width: 900px) { .who-grid { grid-template-columns: 1fr 1.25fr; align-items: start; } }
.who-line { font-family: var(--head); font-size: clamp(22px, 2.8vw, 30px); line-height: 1.4; margin-bottom: 18px; }
.who-exp { margin: 28px 0 6px; }
.who-cats { color: var(--soft); font-size: 16px; }
.compare { display: grid; gap: 16px; }
@media (min-width: 560px) { .compare { grid-template-columns: 1fr 1fr; } }
.role-box-plain li { color: var(--grey); }
.role-box-plain li::before { background: var(--dim); }
.role-box-accent { border: 1px solid var(--qing); }
/* Team boxes (about) */
.role-box h3 { font-family: var(--head); font-size: 22px; margin-bottom: 8px; }
/* Common hurdles (services): three columns on wide screens, stacked on phones */
.hurdles { border-top: 1px solid var(--line); }
.hurdle-row { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.hurdle-row h3 { font-family: var(--sans-en); font-size: 14px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--qing); }
html.lang-zh .hurdle-row h3 { font-family: var(--sans-zh); font-size: 16px; letter-spacing: 0.04em; }
.hurdle-q { color: var(--grey); font-size: 16px; }
.hurdle-a { color: var(--text); }
.hurdle-head { display: none; }
@media (min-width: 900px) {
  .hurdle-row { grid-template-columns: 200px 1fr 1.15fr; gap: 24px; align-items: center; }
  .hurdle-head { display: grid; padding: 0 0 10px; }
  .hurdle-head p { font-family: var(--sans-en); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey); }
  html.lang-zh .hurdle-head p { font-family: var(--sans-zh); }
  .hurdle-head p.accent { color: var(--qing); }
  .hurdles { border-top: 0; }
  .hurdle-head { border-bottom: 1px solid var(--line); }
}
.hurdle-a { padding-left: 26px; position: relative; }
.hurdle-a::before { content: "→"; color: var(--qing); position: absolute; left: 0; }
@media (min-width: 900px) { .hurdle-a::before { color: var(--dim); } .hurdle-head p.accent { padding-left: 26px; } }
.nw { white-space: nowrap; }
