:root {
  --ink: #16211f;
  --ink-2: #4a5a56;
  --paper: #f7f5ef;
  --paper-2: #ffffff;
  --line: #d9d4c6;
  --jade: #2f7d6d;
  --jade-2: #1f5a4e;
  --jade-soft: #e3efe9;
  --vermilion: #b8412e;
  /* Type: Source Sans 3 + Chiron Hei HK share the Source Han design lineage (matched x-height and stroke);
     Newsreader (editorial serif) for English display, Chiron Sung HK for Chinese display. Chiron = Hong Kong glyph forms. */
  --sans: "Source Sans 3", "Chiron Hei HK", -apple-system, "PingFang HK", "PingFang TC", "Segoe UI", "Microsoft JhengHei", "Noto Sans CJK TC", sans-serif;
  --serif: "Chiron Sung HK", "Songti TC", "PMingLiU", "Noto Serif CJK TC", Georgia, serif;
  --display: "Newsreader", "Chiron Sung HK", "Songti TC", Georgia, serif;
}
h1, h2 { font-family: var(--display); font-weight: 600; letter-spacing: -.005em; }
.hero .zh, h2 + .zh, .card .zh, .pkg .zh { font-family: var(--serif); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--jade-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
img { max-width: 100%; display: block; }

.wrap { width: min(1080px, 92vw); margin: 0 auto; }

/* Header */
.top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 48px; height: 48px; display:block; }
.brand b { font-weight: 700; letter-spacing: .02em; }
.brand span { display: block; font-size: 13px; color: var(--ink-2); font-family: var(--serif); }
.nav { display: flex; gap: 22px; font-size: 15px; }
.nav a { text-decoration: none; color: var(--ink-2); }
.nav a:hover { color: var(--jade-2); }
.btn {
  display: inline-block; padding: 12px 20px; border-radius: 8px;
  background: var(--jade); color: #fff !important; text-decoration: none; font-weight: 600;
}
.btn:hover { background: var(--jade-2); }
.btn.ghost { background: transparent; color: var(--jade-2) !important; border: 1.5px solid var(--jade); }

/* Hero */
.hero { padding: 64px 0 56px; border-top: 1px solid var(--line); }
.hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.1; margin: 0 0 8px; letter-spacing: -.01em; }
.hero .zh { font-family: var(--serif); font-size: clamp(22px, 3vw, 30px); color: var(--jade-2); margin: 0 0 22px; }
.hero p.lead { font-size: 20px; color: var(--ink-2); max-width: 640px; margin: 0 0 28px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .note { margin-top: 18px; font-size: 14px; color: var(--ink-2); }

/* Sections */
section { padding: 56px 0; border-top: 1px solid var(--line); }
h2 { font-size: 28px; margin: 0 0 6px; }
h2 + .zh { font-family: var(--serif); color: var(--jade-2); margin: 0 0 26px; font-size: 18px; }

.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 12px; padding: 22px;
}
.card h3 { margin: 0 0 4px; font-size: 18px; }
.card .zh { font-family: var(--serif); color: var(--jade-2); font-size: 15px; margin: 0 0 10px; }
.card p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* Packages */
.pkg { display: flex; flex-direction: column; }
.pkg .price { font-size: 30px; font-weight: 700; margin: 8px 0 2px; color: var(--ink); }
.pkg .price small { font-size: 14px; font-weight: 500; color: var(--ink-2); }
.pkg ul { margin: 12px 0 0; padding-left: 18px; color: var(--ink-2); font-size: 15px; }
.pkg li { margin: 4px 0; }
.pkg.featured { border-color: var(--jade); box-shadow: 0 0 0 3px var(--jade-soft); }
.pkg .tag { align-self: flex-start; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--jade-2); background: var(--jade-soft); padding: 3px 8px; border-radius: 999px; margin-bottom: 8px; }

/* Portfolio */
.work a { display: block; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper-2); text-decoration: none; color: var(--ink); }
.work a:hover { border-color: var(--jade); }
.work small { display: block; color: var(--ink-2); font-size: 13px; margin-top: 2px; }

/* Contact */
.contact { display: grid; gap: 28px; grid-template-columns: 1.2fr 1fr; align-items: start; }
.contact .big { font-size: 26px; font-weight: 600; }
.contact dl { margin: 0; }
.contact dt { font-size: 13px; color: var(--ink-2); text-transform: uppercase; letter-spacing: .06em; margin-top: 14px; }
.contact dd { margin: 2px 0 0; font-size: 18px; }

footer { padding: 28px 0 40px; align-items: center; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 14px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
footer .zh { font-family: var(--serif); }

@media (max-width: 720px) {
  .nav { display: none; }
  .contact { grid-template-columns: 1fr; }
  .hero { padding: 44px 0 40px; }
}

/* Primary action = vermilion (seal colour), reserved for the one thing we want clicked */
.btn.primary { background: var(--vermilion); }
.btn.primary:hover { background: #9a3524; }
.btn.primary:focus-visible { outline: 2px solid var(--vermilion); outline-offset: 2px; }

/* Home v1.3: split hero, owner card, proof strip, contact form, mobile bar */
.nav .nav-cta { padding: 9px 14px; font-size: 14px; color: #fff !important; white-space: nowrap; }
.nav { gap: 18px; font-size: 14px; flex-wrap: nowrap; }
.nav a { white-space: nowrap; }
.brand b { white-space: nowrap; }
@media (max-width: 1180px) { .nav .nav-lo { display: none; } }
@media (max-width: 900px) { .nav a:not(.nav-cta) { display: none; } }
.hero-split { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .75fr); gap: 48px; align-items: center; }
.hero-split h1 { font-size: clamp(34px, 4.5vw, 56px); line-height: 1.06; }
.hero-split p.lead { margin-bottom: 14px; }
.hero-split .cta { margin-top: 10px; }
.ticks { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: var(--ink-2); }
.ticks li { padding-left: 20px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 5px; width: 11px; height: 6px; border-left: 2px solid var(--jade); border-bottom: 2px solid var(--jade); transform: rotate(-45deg); }
.hero-split .ticks .zh { display: block; font-family: var(--serif); font-size: 13px; color: var(--ink-2); margin: 0; }
.hero-split .owner-card .zh { font-size: 15px; color: var(--ink-2); margin: 0; }
.hero-split .owner-card h3 .zh { font-size: 17px; color: var(--jade-2); }
.owner-card { background: var(--paper-2); border: 1px solid var(--line); border-radius: 16px; padding: 26px; display: flex; flex-direction: column; gap: 8px; }
.owner-card img { width: 72px; height: 72px; }
.owner-card h3 { margin: 6px 0 0; font-size: 20px; }
.owner-card h3 .zh { font-family: var(--serif); font-weight: 500; color: var(--jade-2); font-size: 17px; margin-left: 6px; }
.owner-card p { margin: 0; color: var(--ink-2); font-size: 15px; }
.owner-card p.zh { font-family: var(--serif); }
.owner-card .small { font-size: 13px; margin-top: 6px; }
section.proof { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; padding: 22px 28px; margin-top: -8px; margin-bottom: 8px; border-top: 0; background: var(--paper-2); border: 1px solid var(--line); border-radius: 12px; }
.proof div { display: flex; flex-direction: column; gap: 2px; }
.proof b { font-size: 26px; }
.proof span { font-size: 14px; color: var(--ink-2); }
.proof span .zh { display: block; font-family: var(--serif); }
.cform { display: grid; gap: 12px; margin-top: 16px; }
.cform label { display: flex; flex-direction: column; gap: 5px; font-size: 13px; color: var(--ink-2); text-transform: uppercase; letter-spacing: .05em; }
.cform label .zh { text-transform: none; letter-spacing: 0; font-family: var(--serif); margin-left: 4px; }
.cform input, .cform select, .cform textarea { font: inherit; font-size: 16px; color: var(--ink); text-transform: none; letter-spacing: 0; padding: 10px 12px; min-height: 44px; border: 1.5px solid var(--line); border-radius: 8px; background: var(--paper-2); }
.cform textarea { min-height: 84px; resize: vertical; }
.cform input:focus, .cform select:focus, .cform textarea:focus { outline: 2px solid var(--jade); outline-offset: 1px; border-color: var(--jade); }
.cform .two { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.cform button { font: inherit; font-weight: 600; border: 0; cursor: pointer; font-size: 17px; }
.cform .calc-fine { margin: 0; }
.contact dd.big-dd { font-size: 26px; font-weight: 700; }
.contact dd.big-dd a { text-decoration: none; color: var(--ink); }
footer .areas { flex-basis: 100%; font-size: 13px; }
footer .areas .zh { display: block; }
.mbar { display: none; }
@media (max-width: 720px) {
  .hero-split { grid-template-columns: 1fr; gap: 22px; }
  .owner-card { padding: 18px; }
  section.proof { grid-template-columns: 1fr 1fr; gap: 12px; padding: 16px; }
  .proof b { font-size: 20px; }
  body { padding-bottom: 84px; }
  .mbar { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; padding: 10px 14px calc(12px + env(safe-area-inset-bottom)); background: var(--paper-2); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(22,33,31,.10); }
  .mbar .btn { text-align: center; padding: 12px 10px; font-size: 15px; }
}

/* Promises + FAQ (home) */
.promise .card h3 { font-size: 17px; }
.card p .zh { display: block; font-family: var(--serif); margin-top: 6px; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--paper-2); border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; }
.faq details[open] { border-color: var(--jade); }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--jade-2); font-weight: 700; font-size: 20px; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq summary .zh { display: block; font-family: var(--serif); font-weight: 500; color: var(--jade-2); font-size: 15px; margin-top: 2px; }
.faq .a { padding: 0 0 18px; color: var(--ink-2); font-size: 15px; }
.faq .a p { margin: 0 0 8px; }
.faq .a p.zh { font-family: var(--serif); }

/* Pricing page */
.zh-body { font-family: var(--serif); }
.nav a[aria-current="page"] { color: var(--jade-2); font-weight: 600; }
.calc { display: grid; gap: 28px; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); align-items: start; }
.calc-step { border: 0; padding: 0; margin: 0 0 30px; min-width: 0; }
.calc-step legend { font-size: 18px; font-weight: 600; padding: 0; margin: 0 0 14px; }
.calc-step legend .zh { font-family: var(--serif); font-weight: 500; color: var(--jade-2); font-size: 16px; margin-left: 6px; }
.step-n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--jade); color: #fff; font-size: 14px; margin-right: 8px; vertical-align: -3px; }
.opts { display: grid; gap: 10px; }
.opts.two { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt-body { display: grid; grid-template-columns: 1fr auto; gap: 2px 14px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--paper-2); transition: border-color .15s, box-shadow .15s; }
.opt-title { grid-column: 1; font-weight: 600; }
.opt-title .zh { font-family: var(--serif); font-weight: 500; color: var(--jade-2); font-size: 14px; margin-left: 6px; }
.opt-desc { grid-column: 1; color: var(--ink-2); font-size: 14px; }
.opt-desc.zh, .opt-desc .zh { font-family: var(--serif); }
.opt-price { grid-column: 2; grid-row: 1 / span 3; align-self: start; font-weight: 700; white-space: nowrap; }
.opt:hover .opt-body { border-color: var(--jade); }
.opt input:checked + .opt-body { border-color: var(--jade); box-shadow: 0 0 0 3px var(--jade-soft); }
.opt input:focus-visible + .opt-body { outline: 2px solid var(--jade-2); outline-offset: 2px; }
.optwrap { display: grid; gap: 0; }
.why { margin: 0 6px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 10px 10px; background: var(--paper); padding: 0 14px; font-size: 14px; color: var(--ink-2); }
.why summary { cursor: pointer; padding: 8px 0; color: var(--jade-2); font-weight: 600; font-size: 13px; list-style: none; }
.why summary::-webkit-details-marker { display: none; }
.why summary::before { content: "▸ "; }
.why[open] summary::before { content: "▾ "; }
.why summary .zh { font-family: var(--serif); font-weight: 500; margin-left: 6px; }
.why p { margin: 0 0 10px; }
.why p.zh { font-family: var(--serif); }
.calc-note { margin: 14px 0 0; font-size: 14px; color: var(--ink-2); }
.calc-note .zh { display: block; font-family: var(--serif); margin-top: 4px; }
.calc-summary { position: sticky; top: 16px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.calc-summary h3 { margin: 0 0 12px; font-size: 18px; }
.calc-summary h4 { margin: 18px 0 8px; font-size: 13px; color: var(--ink-2); text-transform: uppercase; letter-spacing: .06em; }
.calc-summary .zh { font-family: var(--serif); font-weight: 500; color: var(--jade-2); font-size: .9em; }
.lines, .sched { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.lines li, .sched li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.sched li { border-bottom: 0; padding: 3px 0; color: var(--ink-2); }
.sched b { color: var(--ink); }
.total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 12px; font-size: 16px; }
.total b { font-size: 30px; }
.calc-actions { display: grid; gap: 8px; margin-top: 18px; }
.calc-actions .btn { text-align: center; font-size: 15px; cursor: pointer; font-family: inherit; }
.calc-fine { margin: 14px 0 0; font-size: 13px; color: var(--ink-2); }
.calc-fine .zh { display: block; font-family: var(--serif); margin-top: 4px; }
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 14px; }
.steps li { counter-increment: step; position: relative; padding: 18px 20px 18px 64px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 12px; }
.steps li::before { content: counter(step); position: absolute; left: 20px; top: 18px; width: 30px; height: 30px; border-radius: 50%; background: var(--jade); color: #fff; display: grid; place-items: center; font-weight: 700; }
.steps h3 { margin: 0 0 6px; font-size: 18px; }
.steps h3 .zh { font-family: var(--serif); font-weight: 500; color: var(--jade-2); font-size: 15px; margin-left: 8px; }
.steps p { margin: 0; color: var(--ink-2); font-size: 15px; }
.steps p.zh { font-family: var(--serif); margin-top: 4px; }
.plain { padding-left: 20px; color: var(--ink-2); }
.plain li { margin: 6px 0; }
.plain .zh, .lead .zh { font-family: var(--serif); }
#fit .cta, #after .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.mods-inline { display: grid; gap: 6px 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin: 16px 0 0; padding: 0; list-style: none; font-size: 15px; }
.mods-inline li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.mods-inline .zh { font-family: var(--serif); color: var(--jade-2); font-size: 14px; margin-left: 6px; }

@media (max-width: 860px) {
  .calc { grid-template-columns: 1fr; }
  .calc-summary { position: static; }
}

/* Modules list (pricing) */
.pkg .mods { list-style: none; padding: 0; margin: 4px 0 0; }
.pkg .mods li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 15px; margin: 0; }
.pkg .mods li b { white-space: nowrap; font-variant-numeric: tabular-nums; }

/* Pricing: mobile sticky estimate bar */
@media (max-width: 860px) {
  main { padding-bottom: 120px; }
  .calc-summary { position: fixed; top: auto; left: 0; right: 0; bottom: 0; z-index: 5; border-radius: 16px 16px 0 0; border-bottom: 0; box-shadow: 0 -1px 0 var(--jade), 0 -8px 24px rgba(22,33,31,.12); padding: 12px 20px 16px; max-height: 60vh; overflow: auto; }
  .calc-summary h3, .calc-summary .lines, .calc-summary h4, .calc-summary .sched, .calc-summary .calc-fine { display: none; }
  .calc-summary.open h3, .calc-summary.open .lines, .calc-summary.open h4, .calc-summary.open .sched, .calc-summary.open .calc-fine { display: block; }
  .calc-summary .total { padding-top: 0; cursor: pointer; }
  .calc-summary .total::after { content: "▴"; color: var(--ink-2); margin-left: 8px; font-size: 14px; }
  .calc-summary.open .total::after { content: "▾"; }
  .calc-actions { margin-top: 10px; }
}

/* Pricing: fit check + your part */
.fit-check { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin: 0 0 26px; }
.fit-check > div { background: var(--paper-2); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.fit-check h3 { margin: 0 0 8px; font-size: 16px; }
.fit-check h3 .zh { font-family: var(--serif); font-weight: 500; color: var(--jade-2); font-size: 14px; margin-left: 6px; }
.fit-check ul { margin: 0; padding-left: 18px; color: var(--ink-2); font-size: 15px; }
.fit-check li { margin: 5px 0; }
.fit-check .zh { font-family: var(--serif); }
.needs { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.needs li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.needs li b { white-space: nowrap; color: var(--ink-2); font-weight: 600; }
.needs .zh { font-family: var(--serif); color: var(--ink-2); }
.needs-total { margin: 12px 0 0; font-size: 15px; }
.needs-total .zh { display: block; font-family: var(--serif); color: var(--ink-2); margin-top: 4px; }
