/* chinesemarketer.co
   Erica's own look, carried over from her Manus site: warm paper, lacquer red, soft gold, sand and ink bands,
   DM Sans for text, Playfair Display for the big section titles, and the system serif (New York on Apple
   devices, Georgia elsewhere) for headings and numbers, exactly as the Manus site set them. Text keeps the
   browser's own smoothing, as on the Manus site (forcing antialiased smoothing makes it look thinner on a Mac).
   One light theme by design: it is her brand look, so every colour is set explicitly. */
:root {
  --page: #f7f4ed;
  --ink: #201e1c;
  --red: #782015;
  --red-text: #a21f17;
  --gold: #f1d878;
  --on-gold: #461b12;
  --on-red: #f7e7a9;
  --sand: #eee2c9;
  --cream: #fffaf1;
  --card: #fff8ed;
  --muted: #625c57;
  --eyebrow: #716a63;
  --faint: #7d756d;
  --nav: #5d5853;
  --light: #fff8ed;
  --line: rgba(32, 30, 28, .1);
  --line-strong: rgba(32, 30, 28, .16);
  --card-line: #d9c9b9;
  --serif: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  --display: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --zh: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", "WenQuanYi Zen Hei", sans-serif;
  --zh-serif: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", "SimSun", serif;
  --ease: cubic-bezier(.23, 1, .32, 1);
  --gutter: 1.25rem;
  color-scheme: light;
}
@media (min-width: 640px) { :root { --gutter: 2rem; } }
@media (min-width: 1024px) { :root { --gutter: 2.5rem; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.5;
}
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, figure, fieldset { margin: 0; padding: 0; }
h1, h2, h3 { font-weight: 400; text-wrap: balance; }
p { text-wrap: pretty; }
ul, ol { list-style: none; }
strong, b { font-weight: 700; }
button, input, select, textarea { font: inherit; color: inherit; margin: 0; }
::selection { color: var(--on-gold); background: var(--gold); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.on-dark :focus-visible, .hero :focus-visible, .bg-red :focus-visible, .cta-band :focus-visible, .site-footer :focus-visible { outline-color: var(--gold); }
.zh, [lang|="zh"] { font-family: var(--zh); }
h1 .zh, h2 .zh, h3 .zh, .serif .zh { font-family: var(--zh-serif); }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 60;
  background: var(--ink); color: var(--light); padding: 10px 16px; font-size: 14px; border-radius: 999px;
}
.skip:focus { top: 12px; }

.wrap {
  max-width: 1440px;
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

/* Type */
.eyebrow { font-size: .65rem; font-weight: 700; line-height: 1.5; letter-spacing: .17em; text-transform: uppercase; color: var(--eyebrow); }
.eyebrow.red { color: var(--red-text); }
.eyebrow.gold { color: var(--gold); }
.eyebrow.line { display: flex; align-items: center; gap: .75rem; font-size: .625rem; letter-spacing: .18em; }
.eyebrow.line::before { content: ""; flex: none; width: 2.25rem; height: 1px; background: currentColor; }
.section-title {
  margin-top: 1rem;
  font-family: var(--display); font-weight: 500;
  font-size: clamp(2.9rem, 5.2vw, 5.8rem); line-height: .94; letter-spacing: -.065em;
}
.title-serif { margin-top: 1rem; font-family: var(--serif); font-size: 2.25rem; line-height: 1; letter-spacing: -.055em; }
@media (min-width: 640px) { .title-serif { font-size: 3rem; } }
.big-title { margin-top: 1rem; max-width: 40rem; font-family: var(--serif); font-size: clamp(2.8rem, 5vw, 5.5rem); line-height: .92; letter-spacing: -.06em; }
.lede { margin-top: 1.5rem; max-width: 34rem; font-size: 1rem; line-height: 1.75rem; color: var(--muted); }
.on-dark .lede { color: rgba(255, 248, 237, .68); }
.intro { font-size: .875rem; line-height: 1.75rem; color: #66605b; }
.on-dark .intro { color: rgba(255, 248, 237, .62); }
.stack { display: grid; gap: 1rem; }
.text-link { color: var(--red-text); text-decoration: underline; text-decoration-color: rgba(162, 31, 23, .35); text-underline-offset: 3px; }
.text-link:hover { text-decoration-color: currentColor; }
.on-dark .text-link { color: var(--gold); text-decoration-color: rgba(241, 216, 120, .45); }

/* Icons (drawn inline, stroke follows the text colour) */
.i { width: 1rem; height: 1rem; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  border: 1px solid transparent; border-radius: 999px; padding: 1rem 1.75rem;
  font-size: .75rem; line-height: 1rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; text-align: center;
  cursor: pointer;
  transition: transform .16s var(--ease), box-shadow .16s var(--ease), background-color .16s var(--ease), border-color .16s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(37, 24, 16, .17); }
.btn:active { transform: scale(.97); }
.btn:disabled { cursor: wait; opacity: .7; transform: none; box-shadow: none; }
.btn-gold { background: var(--gold); color: var(--on-gold); }
.btn-red { background: var(--red); color: var(--on-red); }
.btn-line { border-color: rgba(255, 248, 237, .4); color: var(--light); }
.btn-line:hover { border-color: var(--light); background: rgba(255, 255, 255, .1); box-shadow: none; }
.btn-line-red { border-color: var(--red); color: var(--red); }
.btn-line-red:hover { background: rgba(120, 32, 21, .06); box-shadow: none; }
.btn-sm { padding: .75rem 1.25rem; letter-spacing: .08em; }
.btn-block { width: 100%; }
.btns { display: flex; flex-direction: column; gap: .75rem; }
@media (min-width: 640px) { .btns { flex-direction: row; flex-wrap: wrap; align-items: center; } }

.arrow-link { display: inline-flex; align-items: center; gap: .5rem; font-size: .75rem; line-height: 1rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red-text); }
.arrow-link.small { font-size: .625rem; }
.arrow-link.gold, .on-dark .arrow-link { color: var(--gold); }
.arrow-link .i { transition: transform .16s var(--ease); }
.arrow-link:hover .i, .help-card:hover .arrow-link .i { transform: translateX(4px); }
.stretch::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

.pill { display: inline-flex; align-items: center; width: fit-content; border-radius: 999px; background: var(--gold); color: var(--on-gold); padding: .25rem .75rem; font-size: .625rem; line-height: 1rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 45; background: var(--page); }
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 244, 237, .92);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .5rem; }
.brand-mark {
  display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--red); color: var(--gold); font-family: var(--zh); font-size: 11px; font-weight: 700; line-height: 1;
  transition: transform .2s var(--ease);
}
.brand:hover .brand-mark { transform: rotate(12deg); }
.brand-word { font-family: var(--serif); font-size: 1.05rem; letter-spacing: -.04em; }
.brand-word span { color: var(--red); }
.nav-link { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--nav); transition: color .16s ease-out; }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--red); }
.header-actions { display: flex; align-items: center; gap: .75rem; }
.nav-toggle {
  display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%;
  border: 1px solid rgba(32, 30, 28, .15); background: transparent; cursor: pointer; color: var(--ink);
}
.nav-toggle .i { width: 19px; height: 19px; }
.nav-toggle .i-close, .nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }
.header-cta { display: none; }

@media (max-width: 767px) {
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    background: var(--page);
    padding: 1.25rem max(var(--gutter), env(safe-area-inset-right, 0px)) 1.5rem max(var(--gutter), env(safe-area-inset-left, 0px));
    box-shadow: 0 24px 40px rgba(38, 25, 15, .08);
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { display: grid; gap: 1rem; }
  .site-nav .nav-link { font-size: 1.125rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--ink); }
  .site-nav .nav-link[aria-current="page"] { color: var(--red); }
  .nav-cta { margin-top: .25rem; }
  .no-js .nav-toggle { display: none; }
  .no-js .header-row { flex-wrap: wrap; }
  .no-js .site-nav { display: block; position: static; width: 100%; padding: 0 0 .25rem; border: 0; box-shadow: none; background: none; }
  .no-js .site-nav ul { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
  .no-js .site-nav .nav-link { font-size: .95rem; }
}
@media (min-width: 768px) {
  .site-nav ul { display: flex; align-items: center; gap: 2rem; }
  .nav-cta, .nav-toggle { display: none; }
  .header-cta { display: inline-flex; }
}

/* Sections */
.sec { padding-block: 5rem; border-bottom: 1px solid var(--line); }
.sec-md { padding-block: 4rem; border-bottom: 1px solid var(--line); }
@media (min-width: 1024px) { .sec { padding-block: 7rem; } .sec-md { padding-block: 5rem; } }
.bg-page { background: var(--page); }
.bg-sand { background: var(--sand); }
.bg-cream { background: var(--cream); }
.bg-ink { background: var(--ink); color: var(--light); border-bottom-color: rgba(255, 255, 255, .06); }
.bg-red, .hero {
  background-color: var(--red);
  background-image: linear-gradient(100deg, rgba(55, 14, 10, .16), transparent 42%, rgba(62, 16, 10, .14)),
    repeating-linear-gradient(88deg, transparent 0 106px, rgba(255, 240, 184, .05) 107px 109px);
  color: var(--light);
}
.bg-red { border-bottom-color: rgba(32, 30, 28, .2); }
.sec-head { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .sec-head.split { grid-template-columns: minmax(0, 1fr) 470px; align-items: end; } }
.head-narrow { max-width: 42rem; }
.head-mid { max-width: 48rem; }
.head-wide { max-width: 64rem; }
.sub-copy { margin-top: 1.5rem; max-width: 42rem; font-size: 1rem; line-height: 1.75rem; color: var(--muted); }

/* Hero (red) */
.hero { position: relative; isolation: isolate; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-grid {
  position: absolute; inset: 0; z-index: -1; opacity: .3; pointer-events: none;
  background-image: linear-gradient(rgba(255, 248, 237, .5) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 248, 237, .5) 1px, transparent 1px);
  background-size: 78px 78px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 74%); mask-image: linear-gradient(90deg, #000, transparent 74%);
}
/* The homepage hero text sits near the top, with no decorative circle beside it (Erica, 25 Oct) */
.hero-inner { position: relative; display: grid; align-items: end; padding-top: 4rem; padding-bottom: 3.5rem; }
@media (min-width: 1024px) { .hero-inner { grid-template-columns: minmax(0, 1fr) 360px; padding-top: 6rem; padding-bottom: 5rem; } }
.hero-copy { max-width: 56rem; min-width: 0; }
/* The homepage tagline reads larger than the other labels (Erica, 25 Oct) */
.hero .eyebrow.line { align-items: center; gap: .875rem; font-size: .8125rem; line-height: 1.45; letter-spacing: .15em; }
.hero .eyebrow.line::before { width: 2.25rem; }
@media (min-width: 640px) { .hero .eyebrow.line { gap: 1rem; font-size: 1rem; } .hero .eyebrow.line::before { width: 3rem; } }
@media (min-width: 1024px) { .hero .eyebrow.line { font-size: 1.125rem; letter-spacing: .16em; } .hero .eyebrow.line::before { width: 3.5rem; } }
/* On phones a two-part label breaks at its dot instead of starting the second line with it */
@media (max-width: 639px) { .eyebrow .sep { display: block; height: 0; overflow: hidden; } }
.hero h1 { margin-top: 1.75rem; max-width: 1040px; font-family: var(--serif); font-size: clamp(2.35rem, 4.7vw, 5rem); line-height: 1.02; letter-spacing: -.035em; }
.hero .sub { margin-top: 2rem; max-width: 42rem; font-size: 1rem; line-height: 1.75rem; color: rgba(255, 248, 237, .8); }
.hero .btns { margin-top: 2.5rem; }
.hero .fine { margin-top: 1rem; max-width: 42rem; font-size: .75rem; line-height: 1.25rem; color: rgba(255, 248, 237, .55); }
.gold-text { color: var(--gold); }
@media (min-width: 640px) { .hero .sub { font-size: 1.125rem; } }
.strip {
  position: relative; display: flex; flex-wrap: wrap; gap: .75rem 2rem;
  border-top: 1px solid rgba(255, 248, 237, .2); padding-block: 1rem;
  font-size: .625rem; line-height: 1rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 248, 237, .75);
}

/* Local page hero: text only, no portrait (Erica, 25 Oct) */
.hero-local h1 { font-size: clamp(2.6rem, 5.4vw, 5.6rem); line-height: .98; letter-spacing: -.045em; }

/* Dark hero (services) */
.hero-dark { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: var(--light); }
.hero-dark .hero-grid { opacity: .15; }
.hero-dark .inner { position: relative; padding-block: 6rem 5rem; }
@media (min-width: 1024px) { .hero-dark .inner { padding-block: 7rem 6.5rem; } }
.hero-dark h1 { margin-top: 1.5rem; max-width: 60rem; font-family: var(--serif); font-size: clamp(3.3rem, 7.2vw, 7.3rem); line-height: .9; letter-spacing: -.075em; }
.hero-dark .sub { margin-top: 2rem; max-width: 48rem; font-size: 1rem; line-height: 1.75rem; color: rgba(255, 248, 237, .68); }
@media (min-width: 640px) { .hero-dark .sub { font-size: 1.125rem; } }
.hero-dark .btns { margin-top: 2.5rem; }

/* Notice pages (thanks, 404) */
.notice-inner { position: relative; display: grid; align-content: end; gap: 0; min-height: min(78vh, 680px); padding-block: 6rem 4.5rem; }
.notice-title { margin-top: 1.5rem; font-family: var(--serif); font-size: clamp(3.3rem, 7.2vw, 7.3rem); line-height: .9; letter-spacing: -.075em; }
.notice-inner .sub { margin-top: 1.75rem; }
.notice-inner .btns { margin-top: 2.5rem; }

/* At a glance */
.creds { display: grid; gap: 1.5rem 1rem; }
@media (min-width: 768px) { .creds { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cred { border-top: 1px solid rgba(32, 30, 28, .14); padding-top: 1rem; }
.cred b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.875rem; line-height: 2.25rem; color: var(--red); }
.cred > span { display: block; margin-top: .5rem; max-width: 22rem; font-size: .75rem; line-height: 1.1rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
/* Brands Erica has worked with: her media kit logos, redrawn in one colour (Erica, 25 Oct).
   Each logo's width comes from --w (set in build.py so the logos weigh the same); --k scales the row. */
.logos { display: grid; gap: 1.25rem; margin-bottom: 3rem; }
@media (min-width: 1024px) { .logos { grid-template-columns: 13rem minmax(0, 1fr); align-items: center; gap: 2rem; margin-bottom: 3.5rem; } }
.logos .label { font-size: .75rem; line-height: 1.1rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--eyebrow); }
.logo-list { --k: .66; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: center; justify-items: center; gap: 1.75rem .75rem; }
@media (min-width: 640px) { .logo-list { --k: .85; gap: 2rem 1.5rem; } }
@media (min-width: 1024px) { .logo-list { --k: 1; display: flex; justify-content: space-between; gap: 2rem; } }
.logo-list li { display: flex; min-width: 0; }
.logo-list img { display: block; width: calc(var(--w) * var(--k) * 1px); max-width: 100%; height: auto; opacity: .85; }
.svc .logos { grid-template-columns: none; gap: 1rem; margin: 1.5rem 0 0; }
.svc .logo-list { --k: .8; display: grid; gap: 1.75rem 1rem; }
/* The homepage logos sit close under the hero, so they show before the first scroll on a laptop */
.glance { padding-top: 2.5rem; }
@media (min-width: 1024px) { .glance { padding-top: 2.75rem; } }

/* Cards */
.cards { display: grid; gap: 1rem; margin-top: 2.5rem; }
@media (min-width: 768px) { .cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } .cards.four, .cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.help-card {
  position: relative; display: flex; flex-direction: column; min-height: 235px; min-width: 0;
  border: 1px solid var(--line); border-radius: 1.5rem; background: var(--page); padding: 1.5rem;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.help-card:hover { transform: translateY(-4px); box-shadow: 0 24px 45px rgba(38, 25, 15, .1); }
.help-card .top { display: flex; align-items: center; justify-content: space-between; color: var(--red); }
.help-card .num { font-family: var(--serif); font-size: 1.5rem; line-height: 2rem; }
.help-card .top .i { width: 20px; height: 20px; }
.help-card h3 { padding-top: 3.25rem; font-family: var(--serif); font-size: 1.5rem; line-height: 2rem; letter-spacing: -.04em; }
.help-card .kicker { margin-top: .35rem; font-size: .625rem; line-height: 1rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red-text); }
.help-card .pill { margin-top: .5rem; }
.help-card .copy { margin-top: .75rem; font-size: .875rem; line-height: 1.5rem; color: var(--muted); }
.help-card .arrow-link { margin-top: auto; padding-top: 1.25rem; }

.num-card { min-width: 0; border: 1px solid var(--line); border-radius: 1.7rem; background: var(--page); padding: 1.75rem; }
.num-card.cream { background: var(--cream); }
.num-card .n { display: block; font-family: var(--serif); font-size: 2.25rem; line-height: 2.5rem; color: var(--red); }
.num-card h3 { margin-top: 3rem; font-family: var(--serif); font-size: 1.875rem; line-height: 1.12; letter-spacing: -.05em; }
.cards.four .num-card h3 { font-size: 1.625rem; }
.num-card p { margin-top: 1rem; font-size: .875rem; line-height: 1.5rem; color: #68605a; }

/* Principles (dark band) */
.principles { display: grid; gap: 1.5rem 1rem; margin-top: 2rem; }
@media (min-width: 768px) { .principles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.principles li { border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 1rem; }
.principles .n { font-family: var(--serif); font-size: 1.25rem; line-height: 1.75rem; color: var(--gold); }
.principles p { margin-top: .75rem; max-width: 24rem; font-family: var(--serif); font-size: 1.5rem; line-height: 1.25; letter-spacing: -.03em; color: rgba(255, 248, 237, .9); }

/* About */
.about { display: grid; gap: 3.5rem; }
@media (min-width: 1024px) { .about { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 5rem; } }
.portrait { position: relative; width: 100%; max-width: 500px; margin-inline: auto; align-self: start; }
@media (min-width: 1024px) { .portrait { margin-inline: 0; } }
.portrait::before { content: ""; position: absolute; left: -.75rem; top: -.75rem; width: 100%; height: 100%; border: 1px solid var(--gold); border-radius: 1.7rem; }
.portrait img { position: relative; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 30%; border-radius: 1.7rem; filter: grayscale(8%); }
.portrait .badge {
  position: absolute; right: 1.25rem; bottom: -1.25rem; max-width: 220px;
  border-radius: 1rem; background: var(--red); padding: 1rem; color: var(--light);
  font-family: var(--serif); font-size: 1.25rem; line-height: 1.25;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .12), 0 8px 10px -6px rgba(0, 0, 0, .12);
}
.about-copy { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding-block: 1rem; }
.prose { display: grid; gap: 1.25rem; max-width: 48rem; margin-top: 1.75rem; }
.prose p { font-size: 1rem; line-height: 2rem; color: var(--muted); }
.prose .lead { font-family: var(--serif); font-size: 1.5rem; line-height: 1.35; letter-spacing: -.03em; color: var(--ink); }
.about-copy .btns { margin-top: 2.5rem; }

/* Proof */
.note-link {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2rem;
  border: 1px solid rgba(120, 32, 21, .2); border-radius: 1.35rem; background: var(--page); padding: 1.25rem 1.5rem;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.note-link:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(38, 25, 15, .08); }
.note-link .label { display: block; font-size: .625rem; line-height: 1rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red-text); }
.note-link .text { display: block; margin-top: .4rem; font-family: var(--serif); font-size: 1.5rem; line-height: 1.3; letter-spacing: -.035em; }
.note-link .go { flex: none; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--red); color: var(--gold); }

/* Chinese intro */

/* Closing band (red) */
.cta-band { padding-block: 4rem; }
.cta-band .wrap { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .cta-band .wrap { grid-template-columns: minmax(0, 1fr) auto; align-items: end; } }
.cta-band h2 { margin-top: 1rem; max-width: 48rem; font-family: var(--serif); font-size: clamp(2.8rem, 5vw, 5.5rem); line-height: .9; letter-spacing: -.065em; }
.cta-band h2.long { max-width: 58rem; font-size: clamp(2rem, 3.7vw, 3.75rem); line-height: 1.02; letter-spacing: -.045em; }
.cta-band .btn { justify-self: start; }

/* Services */
.svc-list { display: grid; gap: 1.25rem; }
.svc {
  display: grid; gap: 2.25rem; scroll-margin-top: 6rem;
  border: 1px solid var(--card-line); border-radius: 1.7rem; background: var(--cream); padding: 1.75rem;
}
@media (min-width: 640px) { .svc { padding: 2.25rem; } }
@media (min-width: 1024px) { .svc { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; padding: 3rem; } }
.svc.dark { background: var(--ink); color: var(--light); border-color: var(--ink); }
.svc.sand { background: var(--sand); border-color: rgba(120, 32, 21, .14); }
.svc-main, .svc-side { min-width: 0; }
.svc .num { display: block; font-family: var(--serif); font-size: 2.25rem; line-height: 1; color: var(--red); }
.svc.dark .num { color: var(--gold); }
.svc .tags { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; margin-top: 1.75rem; }
.svc h2 { margin-top: .9rem; font-family: var(--serif); font-size: 2.25rem; line-height: 1.04; letter-spacing: -.055em; }
@media (min-width: 640px) { .svc h2 { font-size: 2.75rem; } }
.svc .platforms { margin-top: 1rem; font-size: .8125rem; line-height: 1.4rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--red-text); }
.svc.dark .platforms { color: var(--gold); }
.svc .for { margin-top: 1.25rem; max-width: 34rem; font-size: 1rem; line-height: 1.75rem; color: var(--muted); }
.svc.dark .for { color: rgba(255, 248, 237, .68); }
.svc-side .for:first-child { margin-top: 0; }
.ticks { display: grid; gap: .85rem; font-size: .9375rem; line-height: 1.5rem; color: var(--muted); }
.svc.dark .ticks { color: rgba(255, 248, 237, .75); }
.ticks li { position: relative; padding-left: 1.6rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .72rem; width: .8rem; height: 1px; background: var(--red); }
.svc.dark .ticks li::before { background: var(--gold); }
.svc .proof { margin-top: 1.75rem; border-top: 1px solid var(--line-strong); padding-top: 1.25rem; font-size: .875rem; line-height: 1.5rem; color: var(--ink); }
.svc.dark .proof { border-top-color: rgba(255, 255, 255, .15); color: rgba(255, 248, 237, .85); }
.svc .case { margin-top: 1.25rem; border: 1px solid var(--line-strong); border-radius: 1.1rem; background: var(--cream); padding: 1.1rem 1.25rem; }
.svc .case .label { font-size: .625rem; line-height: 1rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red-text); }
.svc .case b { display: block; margin-top: .3rem; font-family: var(--serif); font-weight: 400; font-size: 1.375rem; line-height: 1.25; letter-spacing: -.035em; color: var(--ink); }
.svc .case b .zh { font-family: var(--zh-serif); letter-spacing: 0; }
.svc .case p:last-child { margin-top: .4rem; font-size: .875rem; line-height: 1.5rem; color: var(--muted); }
.svc.dark .case { border-color: rgba(255, 255, 255, .15); background: rgba(255, 255, 255, .05); }
.svc.dark .case .label { color: var(--gold); }
.svc.dark .case b { color: var(--light); }
.svc.dark .case p:last-child { color: rgba(255, 248, 237, .75); }
.svc .btns { margin-top: 2rem; }
.chips { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.5rem; }
.chip { border: 1px solid rgba(32, 30, 28, .14); border-radius: 999px; background: var(--page); padding: .75rem 1.25rem; font-size: .875rem; line-height: 1.25rem; font-weight: 500; }

/* Local page */
.promise { border: 1px solid rgba(120, 32, 21, .18); border-radius: 1.35rem; background: var(--sand); padding: 1.5rem; }
@media (min-width: 640px) { .promise { padding: 2rem 2.25rem; } }
.promise p { max-width: 66rem; font-family: var(--serif); font-size: 1.5rem; line-height: 1.38; letter-spacing: -.035em; }
@media (min-width: 1024px) { .promise p { font-size: 1.875rem; } }
.promise strong { font-weight: 600; color: var(--red); }
.includes { display: grid; gap: 1rem; margin-top: 3rem; }
@media (min-width: 768px) { .includes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.include { display: flex; align-items: center; gap: 1rem; min-width: 0; border: 1px solid var(--line); border-radius: 1.35rem; background: var(--page); padding: 1.1rem 1.4rem; font-size: 1rem; line-height: 1.5rem; }
.include .dot { flex: none; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--red); color: var(--gold); }
.include .dot .i { width: 18px; height: 18px; }
.include.gold { background: var(--gold); color: var(--on-gold); border-color: transparent; font-weight: 700; }
.include.gold .dot { background: var(--on-gold); }
@media (min-width: 768px) { .include.gold { grid-column: 1 / -1; } }
.clients { display: grid; gap: 1rem; margin-top: 3rem; }
@media (min-width: 768px) { .clients { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.client { display: flex; flex-direction: column; min-height: 17rem; min-width: 0; border: 1px solid rgba(255, 255, 255, .15); border-radius: 1.7rem; background: rgba(255, 255, 255, .04); padding: 1.75rem; }
@media (min-width: 640px) { .client { padding: 2.25rem; } }
.client h3 { font-family: var(--serif); font-size: 2.25rem; line-height: 1.05; letter-spacing: -.055em; }
.client p { margin-top: 1rem; max-width: 30rem; font-size: 1rem; line-height: 1.75rem; color: rgba(255, 248, 237, .7); }
.client .arrow-link { margin-top: auto; padding-top: 2rem; overflow-wrap: anywhere; }
.cycle { display: grid; gap: 2.25rem 1.5rem; margin-top: 3rem; }
@media (min-width: 640px) { .cycle { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .cycle { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cycle li { min-width: 0; border-top: 1px solid rgba(32, 30, 28, .16); padding-top: 1rem; }
.cycle .n { font-family: var(--serif); font-size: 1.25rem; line-height: 1.75rem; color: var(--red); }
.cycle b { display: block; margin-top: .75rem; font-family: var(--serif); font-weight: 400; font-size: 1.875rem; line-height: 1.1; letter-spacing: -.05em; }
.cycle p { margin-top: .5rem; max-width: 24rem; font-size: .875rem; line-height: 1.5rem; color: var(--muted); }
.why { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .why { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 4rem; align-items: start; } }
.why .arrow-link { margin-top: 2rem; }
.reasons { display: grid; gap: 1.75rem; }
.reasons li { border-top: 1px solid rgba(255, 248, 237, .22); padding-top: 1.25rem; }
.reasons strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.625rem; line-height: 1.2; letter-spacing: -.035em; }
.reasons p { margin-top: .6rem; max-width: 36rem; font-size: .9375rem; line-height: 1.6rem; color: rgba(255, 248, 237, .75); }
.faq-grid { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .faq-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 4rem; } }
.faq { border-top: 1px solid var(--line-strong); min-width: 0; }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding-block: 1.25rem; cursor: pointer; list-style: none;
  font-family: var(--serif); font-size: 1.375rem; line-height: 1.3; letter-spacing: -.03em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--red); }
.faq .plus { flex: none; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border: 1px solid rgba(32, 30, 28, .15); border-radius: 50%; color: var(--red); transition: transform .2s var(--ease), background-color .2s, border-color .2s; }
.faq details[open] .plus { transform: rotate(45deg); background: var(--red); border-color: var(--red); color: var(--gold); }
.faq .answer { max-width: 42rem; padding-bottom: 1.5rem; font-size: 1rem; line-height: 1.75rem; color: var(--muted); }

/* Forms */
.split { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .split { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 4rem; } }
.split > * { min-width: 0; }
.form-card { border-radius: 1.7rem; background: var(--card); color: var(--ink); padding: 1.5rem; }
@media (min-width: 640px) { .form-card { padding: 2.25rem; } }
.form { display: grid; gap: 1.25rem; }
.two-up { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .two-up { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: grid; gap: .55rem; min-width: 0; border: 0; }
.field > label, .field > legend { padding: 0; font-size: .63rem; line-height: 1rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #625b55; }
.field > legend { margin-bottom: .55rem; }
.opt { font-weight: 500; letter-spacing: .04em; text-transform: none; color: var(--faint); }
.field > input, .field > select, .field > textarea {
  width: 100%; border: 1px solid rgba(32, 30, 28, .16); border-radius: .75rem; background: transparent;
  padding: .86rem .9rem; font-size: 1rem; line-height: 1.4; color: var(--ink);
  transition: border-color .16s ease-out, box-shadow .16s ease-out;
}
@media (min-width: 640px) { .field > input, .field > select, .field > textarea { font-size: .9rem; } }
.field > input:focus, .field > select:focus, .field > textarea:focus { border-color: var(--red); outline: none; box-shadow: 0 0 0 3px rgba(120, 32, 21, .12); }
.field > input::placeholder, .field > textarea::placeholder { color: #a29a91; }
.field > textarea { min-height: 8rem; resize: vertical; }
.field > select {
  -webkit-appearance: none; appearance: none; padding-right: 2.6rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23782015' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9rem center; background-size: 16px;
}
.choices { display: flex; flex-wrap: wrap; gap: .5rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: inline-flex; align-items: center; border: 1px solid rgba(32, 30, 28, .16); border-radius: 999px;
  padding: .6rem 1rem; font-size: .875rem; line-height: 1.25rem; cursor: pointer;
  transition: background-color .16s ease-out, border-color .16s ease-out, color .16s ease-out;
}
.choice span:hover { border-color: var(--red); }
.choice input:checked + span { background: var(--red); border-color: var(--red); color: var(--on-red); }
.choice input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.form .btn { width: 100%; margin-top: .25rem; padding-block: 1.05rem; }
.form-note { font-size: .8125rem; line-height: 1.35rem; color: var(--faint); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* Contact page */
.contact-page { position: relative; isolation: isolate; overflow: hidden; }
.contact-page .hero-grid { opacity: .12; }
.contact-aside { display: grid; gap: .6rem; margin-top: 2.5rem; border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 1.5rem; }
.contact-aside .email a { font-family: var(--serif); font-size: 1.5rem; line-height: 1.3; letter-spacing: -.03em; color: var(--light); border-bottom: 1px solid rgba(241, 216, 120, .55); overflow-wrap: anywhere; }
.contact-aside .email a:hover { color: var(--gold); }
.contact-aside .zh { color: rgba(255, 248, 237, .7); }
.socials { display: grid; gap: .5rem; margin-top: .75rem; font-size: .875rem; line-height: 1.4rem; color: rgba(255, 248, 237, .65); }
.socials a:hover { color: var(--gold); }

/* Sticky quote button (phones, local page) */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  padding: .75rem max(var(--gutter), env(safe-area-inset-right, 0px)) calc(.75rem + env(safe-area-inset-bottom, 0px)) max(var(--gutter), env(safe-area-inset-left, 0px));
  background: rgba(247, 244, 237, .94); border-top: 1px solid var(--line);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  transition: transform .22s ease, visibility 0s linear 0s;
}
.sticky-cta .btn { width: 100%; }
.sticky-cta.is-hidden { transform: translateY(110%); visibility: hidden; transition: transform .22s ease, visibility 0s linear .22s; }
.has-sticky .site-footer { padding-bottom: 4.75rem; }
@media (min-width: 768px) { .sticky-cta { display: none; } .has-sticky .site-footer { padding-bottom: 0; } }

/* Footer */
.site-footer { background: var(--ink); color: var(--light); }
.footer-grid { display: grid; gap: 3rem; padding-block: 3.5rem; }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1.1fr 1.1fr; padding-block: 4.5rem; } }
.footer-word { font-family: var(--serif); font-size: 1.5rem; letter-spacing: -.05em; }
.footer-word span { color: var(--gold); }
.footer-about { margin-top: 1.25rem; max-width: 24rem; font-size: .875rem; line-height: 1.5rem; color: rgba(255, 248, 237, .55); }
.footer-cols { display: grid; gap: 2rem; font-size: .875rem; }
@media (min-width: 480px) { .footer-cols { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } }
.footer-h { font-size: .625rem; line-height: 1rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.footer-links { display: grid; gap: .75rem; margin-top: 1rem; font-size: .875rem; line-height: 1.4rem; color: rgba(255, 248, 237, .65); overflow-wrap: anywhere; }
.footer-links a { transition: color .16s ease-out; }
.footer-links a:hover { color: var(--gold); }
.footer-follow .arrow-link { margin-top: 1.75rem; }
.footer-base {
  display: flex; flex-direction: column; gap: .5rem;
  border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 1.25rem;
  font-size: .625rem; line-height: 1rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 248, 237, .4);
}
@media (min-width: 640px) { .footer-base { flex-direction: row; justify-content: space-between; } }

/* Motion */
@keyframes rise-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.reveal { animation: rise-in .62s var(--ease) both; }
.reveal-1 { animation-delay: 80ms; }
.reveal-2 { animation-delay: .15s; }
.reveal-3 { animation-delay: .22s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; }
}
