/* ===== Junlitoo brand: colours and type follow the business card ===== */
:root {
  --ink: #141210;
  --ink-2: #1c1915;
  --ink-3: #26221c;
  --paper: #faf8f3;
  --paper-2: #f1ece1;
  --text: #1d1a15;
  --muted: #6d6658;
  --muted-light: #a69e8e;
  --gold: #c79a3a;
  --gold-soft: #e2c47e;
  --gold-deep: #94701f;
  --line-dark: rgba(199, 154, 58, .26);
  --line-light: rgba(29, 26, 21, .13);
  --max: 1180px;
  --font: "Jost", "Noto Sans TC", "PingFang HK", "Microsoft JhengHei", sans-serif;
  --font-zh: "Noto Sans TC", "PingFang HK", "Microsoft JhengHei", sans-serif;
  --chamfer: polygon(22px 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%, 0 22px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.7; font-weight: 400;
  color: var(--paper); background: var(--ink);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--gold); }
h1, h2, h3 { font-weight: 400; line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ===== Language switching ===== */
html[data-lang="en"] [lang="zh-Hant"],
html[data-lang="zh-Hant"] [lang="en"] { display: none; }
html[data-lang="zh-Hant"] body { letter-spacing: .03em; }

/* ===== Logo mark (cut lines take the background colour) ===== */
.mark { width: 22px; height: auto; display: block; --cut: var(--ink); }
.mark polygon { fill: var(--gold); }
.mark line { stroke: var(--cut); stroke-width: 9; }
.mark-dark polygon { fill: var(--ink); }
.mark-dark { --cut: #fff; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; font: inherit; font-size: .82rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: background .25s, color .25s, border-color .25s;
}
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-line { color: var(--gold-soft); border-color: var(--line-dark); background: rgba(199, 154, 58, .06); }
.btn-line:hover { background: rgba(199, 154, 58, .16); }
.btn-dark { background: var(--ink); color: var(--gold-soft); }
.btn-dark:hover { background: var(--ink-3); }
.btn-outline { color: var(--text); border-color: var(--line-light); background: transparent; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-deep); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(20, 18, 16, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(199, 154, 58, .14);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand .mark { width: 20px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-en { font-size: .95rem; font-weight: 500; letter-spacing: .28em; color: var(--gold); }
.brand-zh { font-family: var(--font-zh); font-size: .66rem; letter-spacing: .42em; color: var(--muted-light); }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a {
  color: #d9d2c3; text-decoration: none; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  position: relative; padding: 6px 0;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.site-nav a:hover { color: var(--gold-soft); }
.site-nav a:hover::after { transform: scaleX(1); }
.site-nav .nav-cta { color: var(--gold); border: 1px solid var(--line-dark); padding: 7px 16px; }
.site-nav .nav-cta::after { display: none; }
.lang-switch {
  font: inherit; font-size: .78rem; letter-spacing: .08em; color: var(--muted-light);
  background: none; border: 0; border-left: 1px solid var(--line-dark); padding: 4px 0 4px 20px; cursor: pointer;
}
.lang-switch:hover { color: var(--gold-soft); }
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; padding: 10px 8px; }
.nav-toggle span { display: block; height: 1px; background: var(--gold); margin: 6px 0; transition: transform .3s; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden;
  min-height: calc(100vh - 68px); min-height: calc(100svh - 68px);
  display: flex; align-items: center; padding: 72px 0 96px;
  background:
    radial-gradient(ellipse 60% 50% at 50% 42%, rgba(199, 154, 58, .14), transparent 70%),
    linear-gradient(180deg, var(--ink) 0%, #100e0c 100%);
}
.hero-pattern {
  position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: repeating-linear-gradient(-45deg, rgba(199, 154, 58, .05) 0 1px, transparent 1px 46px);
  -webkit-mask-image: radial-gradient(ellipse at center, transparent 30%, #000 75%);
          mask-image: radial-gradient(ellipse at center, transparent 30%, #000 75%);
}
.hero-inner { position: relative; text-align: center; width: 100%; }
.lockup { width: min(680px, 100%); height: auto; display: block; margin: 0 auto; overflow: visible; }
.lockup .slab polygon { fill: var(--gold); }
.lockup .slab line { stroke: var(--ink); stroke-width: 9; }
.lockup text { dominant-baseline: central; fill: var(--gold); }
.lockup .t-en { font-family: "Jost", sans-serif; font-size: 3.881px; font-weight: 500; letter-spacing: .854px; }
.lockup .t-zh { font-family: var(--font-zh); font-size: 2.646px; font-weight: 400; letter-spacing: 1.058px; }
.lockup-cut text { fill: var(--ink); }
.hero-motto {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin: 8px 0 30px; font-size: .78rem; letter-spacing: .3em; color: var(--gold-soft);
}
.hero-motto::before, .hero-motto::after { content: ""; width: 48px; height: 1px; background: var(--line-dark); }
.hero-motto .dot { color: var(--gold); }
.hero-lead { max-width: 600px; margin: 0 auto 34px; color: #cfc7b7; font-weight: 300; font-size: 1.08rem; }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; width: 1px; height: 46px; background: var(--line-dark); overflow: hidden; }
.scroll-cue span { position: absolute; left: 0; top: -16px; width: 1px; height: 16px; background: var(--gold); animation: drip 2.4s ease-in-out infinite; }
@keyframes drip { to { top: 46px; } }

/* Hero entrance: the logo grows out from its centre (CSS below). The English
   name slides in from the left edge of the window and the Chinese from the
   right; main.js moves those, since CSS motion breaks the clipped lettering. */
.slab-grow { transform-box: fill-box; transform-origin: center; }
.js .lockup:not(.play) .slab-grow,
.js .hero:not(.play) .hero-motto,
.js .hero:not(.play) .hero-lead,
.js .hero:not(.play) .actions { opacity: 0; }
.lockup.play .slab-grow { animation: grow 1.3s cubic-bezier(.16, .8, .24, 1) both; }
.lockup.play.settled .slab-grow { animation: none; }
.hero.play .hero-motto, .hero.play .hero-lead, .hero.play .actions { animation: fade-up 1s 1.9s both; }
.hero.play .hero-lead { animation-delay: 2.05s; }
.hero.play .actions { animation-delay: 2.2s; }
@keyframes grow { from { opacity: 0; transform: scale(0) rotate(-12deg); } 40% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ===== Market reference (inside the converter section) ===== */
.market-ref { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line-dark); }
.ticker-label { margin: 0 0 6px; display: flex; flex-direction: column; line-height: 1.4; }
.ticker-label strong { font-weight: 500; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.ticker-label small { font-size: .74rem; color: var(--muted-light); }
.ticker-widget { min-height: 72px; }

/* ===== Sections ===== */
.section { padding: 112px 0; position: relative; }
.section-dark { background: var(--ink); color: var(--paper); }
.section-light { background: var(--paper); color: var(--text); }
.kicker {
  display: flex; align-items: center; gap: 14px; margin: 0 0 22px;
  font-size: .76rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--gold);
}
.section-light .kicker { color: var(--gold-deep); }
.kicker .num { font-size: .72rem; padding-right: 14px; border-right: 1px solid currentColor; opacity: .8; }
.display { font-size: clamp(2.1rem, 4.8vw, 3.5rem); font-weight: 300; letter-spacing: -.01em; }
html[data-lang="zh-Hant"] .display { font-family: var(--font-zh); font-weight: 300; letter-spacing: .04em; }
.lead { font-size: 1.05rem; font-weight: 300; max-width: 620px; }
.section-dark .lead { color: #cfc7b7; }
.section-light .lead { color: var(--muted); }
.note { font-size: .82rem; color: var(--muted-light); margin-top: 28px; }
.section-light .note { color: var(--muted); }
.section-head { margin-bottom: 56px; }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: start; }
/* Principles: an editorial list. Each row has a dark tile cut like the logo,
   holding the Chinese character in gold. */
.pillars { display: grid; border-top: 1px solid var(--line-light); }
.pillar {
  display: grid; grid-template-columns: 72px 1fr; column-gap: 28px; align-items: start;
  padding: 30px 0; border-bottom: 1px solid var(--line-light);
}
.pillar h3 { font-size: 1.3rem; font-weight: 500; letter-spacing: .04em; margin: 4px 0 .3em; }
.pillar p { margin: 0; color: var(--muted); max-width: 460px; }
.pillar-zh {
  grid-row: span 2; width: 72px; height: 72px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-zh); font-size: 2rem; font-weight: 400; line-height: 1;
  color: var(--gold-soft); background: var(--ink);
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
  transition: background .3s, color .3s;
}
.pillar:hover .pillar-zh { background: var(--gold); color: var(--ink); }

/* ===== Team (roles, no names or photos) ===== */
.team { background: var(--paper-2); }
.roles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.role {
  position: relative; display: flex; flex-direction: column; padding: 30px 26px 28px;
  background: var(--paper); border: 1px solid var(--line-light);
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.role:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: 0 16px 40px -26px rgba(29, 26, 21, .45); }
.role-tile {
  width: 56px; height: 56px; margin-bottom: 22px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-zh); font-size: 1.6rem; color: var(--gold-soft); background: var(--ink);
  clip-path: polygon(13px 0, 100% 0, 100% calc(100% - 13px), calc(100% - 13px) 100%, 0 100%, 0 13px);
  transition: background .3s, color .3s;
}
.role:hover .role-tile { background: var(--gold); color: var(--ink); }
.role-steps { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); margin: 0 0 6px; }
.role h3 { font-size: 1.2rem; font-weight: 500; margin-bottom: .4em; }
.role p:last-child { margin: 0; color: var(--muted); font-size: .94rem; }
.team-facts {
  list-style: none; margin: 40px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light);
}
.team-facts li { display: flex; flex-direction: column; gap: 4px; padding: 22px 22px 22px 0; }
.team-facts li + li { padding-left: 22px; border-left: 1px solid var(--line-light); }
.team-facts strong { font-weight: 500; font-size: 1.02rem; color: var(--text); }
.team-facts li > span { font-size: .84rem; color: var(--muted); }

/* ===== Products ===== */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.product { background: var(--ink); padding: 36px 32px 34px; transition: background .3s; display: grid; grid-template-rows: 112px auto auto 1fr; }
.product .bar { align-self: end; }
.product:hover { background: var(--ink-2); }
.product h3 { font-size: 1.25rem; font-weight: 500; margin: 26px 0 4px; }
.product .spec { font-size: .78rem; letter-spacing: .16em; color: var(--gold); text-transform: uppercase; margin-bottom: 14px; }
.product p:last-child { color: #bdb5a5; font-size: .95rem; margin: 0; font-weight: 300; }

/* Gold bars drawn in CSS */
.bar {
  position: relative; height: 96px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  font-size: .74rem; font-weight: 500; letter-spacing: .2em; color: rgba(60, 40, 6, .62);
  background: linear-gradient(135deg, #f0d48d 0%, #c79a3a 38%, #e9c978 58%, #a77c25 100%);
  clip-path: var(--chamfer); overflow: hidden;
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.bar::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 45%, transparent 60%);
  transform: translateX(-120%); transition: transform .9s ease;
}
.product:hover .bar { transform: translateY(-4px); }
.product:hover .bar::after { transform: translateX(120%); }
.bar-kilo { width: 64%; }
.bar-tael { width: 44%; height: 104px; font-family: var(--font-zh); }
.bar-std { width: 84%; height: 88px; clip-path: polygon(8% 0, 92% 0, 100% 100%, 0 100%); }
.bar-small { width: 32%; height: 112px; }
.bar-coin { width: 96px; height: 96px; border-radius: 50%; clip-path: none; box-shadow: inset 0 0 0 5px rgba(120, 84, 14, .35); }
.bar-grain { background: none; clip-path: none; flex-direction: row; flex-wrap: wrap; width: 150px; gap: 8px; justify-content: flex-start; align-content: center; }
.bar-grain::after { display: none; }
.bar-grain i { width: 18px; height: 15px; border-radius: 50% 46% 52% 48%; background: radial-gradient(circle at 35% 30%, #f6dea0, #c79a3a 55%, #8f6a1c); }
.bar-grain i:nth-child(2n) { width: 14px; height: 13px; }
.bar-grain i:nth-child(3n) { width: 20px; height: 17px; }

/* ===== Steps ===== */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 1px; background: var(--line-light); }
.step { position: relative; padding: 0 24px 0 0; }
.step-num {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; margin-bottom: 26px; font-size: .82rem; font-weight: 500; letter-spacing: .08em;
  background: var(--paper); color: var(--gold-deep); border: 1px solid var(--gold);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}
.step:hover .step-num { background: var(--gold); color: var(--ink); }
.step h3 { font-size: 1.2rem; font-weight: 500; margin-bottom: .35em; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ===== Converter ===== */
.converter-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.converter { background: var(--ink-2); border: 1px solid var(--line-dark); padding: 34px; clip-path: var(--chamfer); }
.conv-inputs { display: grid; grid-template-columns: .9fr 1fr 1.25fr; gap: 14px; margin-bottom: 26px; }
.field { display: flex; flex-direction: column; gap: 7px; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; }
.section-dark .field { color: var(--muted-light); }
.section-light .field { color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; letter-spacing: normal; text-transform: none;
  padding: 11px 13px; border-radius: 0; width: 100%;
  border: 1px solid var(--line-light); background: #fff; color: var(--text);
}
.section-dark .field input, .section-dark .field select { background: var(--ink); color: var(--paper); border-color: var(--line-dark); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: -1px; }
.conv-results { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 0 0 1px; background: var(--line-dark); }
.conv-results div { background: var(--ink-2); padding: 16px 18px; }
.conv-results dt { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-light); }
.conv-results dd { margin: 4px 0 0; font-size: 1.35rem; font-weight: 300; font-variant-numeric: tabular-nums; color: var(--paper); word-break: break-all; }
.conv-fine {
  display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 2px 16px;
  margin-top: 18px; padding: 20px 22px; background: linear-gradient(135deg, rgba(199, 154, 58, .2), rgba(199, 154, 58, .06));
  border-left: 3px solid var(--gold);
}
.conv-fine > span { font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); }
.conv-fine strong { font-size: 1.7rem; font-weight: 400; color: var(--gold-soft); font-variant-numeric: tabular-nums; grid-row: span 2; text-align: right; }
.conv-fine small { color: var(--muted-light); font-variant-numeric: tabular-nums; }

/* Live spot value */
.conv-live { margin-top: 18px; padding: 20px 22px; border: 1px solid var(--line-dark); background: var(--ink); }
.live-head { display: flex; align-items: center; gap: 10px; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); }
.live-head small { margin-left: auto; letter-spacing: .04em; text-transform: none; color: var(--muted-light); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #5bbf7a; box-shadow: 0 0 0 0 rgba(91, 191, 122, .6); animation: pulse 2s infinite; }
.conv-live.is-offline .live-dot { background: #b0563b; animation: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(91, 191, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(91, 191, 122, 0); } }
.live-values { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 14px 0 8px; }
.live-values div { display: flex; flex-direction: column; }
.live-values span { font-size: .72rem; letter-spacing: .16em; color: var(--muted-light); }
.live-values strong { font-size: 1.6rem; font-weight: 400; color: var(--paper); font-variant-numeric: tabular-nums; white-space: nowrap; transition: color .6s; }
.live-values strong.flash { color: var(--gold-soft); transition: none; }
.live-rates { font-size: .8rem; color: var(--muted-light); margin: 0 0 6px; font-variant-numeric: tabular-nums; }
.live-note { font-size: .74rem; color: #7d7566; margin: 0; }

/* ===== Insights ===== */
.insights-home { background: var(--ink-2); border-top: 1px solid var(--line-dark); }
.insights-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.insights-head .display { margin: 0; }
.insight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.insight-card {
  display: flex; flex-direction: column; padding: 30px 28px; text-decoration: none; color: var(--paper);
  background: var(--ink); border: 1px solid var(--line-dark); clip-path: var(--chamfer);
  transition: background .3s, border-color .3s, transform .3s;
}
.insight-card:hover { background: var(--ink-3); border-color: var(--gold); transform: translateY(-3px); }
.insight-cat { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; }
.insight-card h3 { font-size: 1.3rem; font-weight: 400; margin-bottom: .5em; }
html[data-lang="zh-Hant"] .insight-card h3 { font-family: var(--font-zh); }
.insight-card p { color: #bdb5a5; font-size: .92rem; font-weight: 300; flex: 1; }
.insight-more { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); }

/* Article pages */
.article-hero {
  padding: 88px 0 64px; border-bottom: 1px solid var(--line-dark);
  background: radial-gradient(ellipse 50% 70% at 80% 20%, rgba(199, 154, 58, .12), transparent 70%), var(--ink);
}
.narrow { max-width: 780px; }
.back-link { display: inline-block; margin-bottom: 28px; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-light); text-decoration: none; }
.back-link:hover { color: var(--gold); }
.article-hero .display { margin: 0; }
.article-hero .lead { color: #cfc7b7; margin-top: 18px; }
.article-body { padding: 72px 0 96px; }
.prose { color: #3d382f; font-size: 1.04rem; line-height: 1.85; }
.prose .intro { font-size: 1.2rem; font-weight: 300; color: var(--text); margin-bottom: 1.6em; }
.prose h2 { font-size: 1.35rem; font-weight: 500; color: var(--text); margin: 1.8em 0 .5em; }
.prose a { color: var(--gold-deep); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.prose .formula { font-size: 1.05rem; padding: 16px 20px; background: var(--paper-2); border-left: 3px solid var(--gold); color: var(--text); }
.prose .disclaimer { font-size: .84rem; color: var(--muted); margin-top: 2em; }
.prose table { width: 100%; border-collapse: collapse; font-size: .9rem; margin: 1em 0 1.5em; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line-light); }
.prose th { font-weight: 500; color: var(--text); background: var(--paper-2); }
.prose td:first-child { font-weight: 500; color: var(--text); }
.article-cta { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 48px; padding: 26px 28px; background: var(--paper-2); clip-path: var(--chamfer); }
.article-cta p { margin: 0; font-size: 1.05rem; color: var(--text); }
.more-title { font-size: 1.6rem; font-weight: 300; margin-bottom: 30px; }
.insights-list { padding-top: 72px; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.namecard {
  margin-top: 34px; padding: 30px 32px; background: #fff;
  box-shadow: 0 18px 50px -24px rgba(29, 26, 21, .35); border: 1px solid var(--line-light);
}
.namecard-top { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 20px; border-bottom: 1px solid rgba(199, 154, 58, .45); }
.namecard-top .mark { width: 26px; }
.nc-name { font-size: 1.6rem; font-weight: 500; margin: 0; line-height: 1.2; }
.nc-name-zh { font-family: var(--font-zh); font-size: 1.15rem; letter-spacing: .3em; margin: 2px 0 6px; }
.nc-role { font-size: .72rem; letter-spacing: .2em; color: var(--muted); margin: 0; }
.namecard-body { display: grid; grid-template-columns: auto 1fr; gap: 28px; padding-top: 20px; }
.nc-lines { list-style: none; margin: 0; padding: 0; font-size: .92rem; line-height: 2; }
.nc-lines a { color: var(--text); text-decoration: none; }
.nc-lines a:hover { color: var(--gold-deep); }
.nc-lines .gold-link { color: var(--gold-deep); }
.nc-address { font-style: normal; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; line-height: 1.75; color: #3d382f; }
.nc-address .zh { display: block; margin-top: 8px; font-family: var(--font-zh); text-transform: none; letter-spacing: .04em; font-size: .85rem; }
.quick-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

.enquiry { background: var(--paper-2); padding: 38px 36px; clip-path: var(--chamfer); }
.enquiry h3 { font-size: 1.4rem; font-weight: 500; margin-bottom: .3em; }
.form-note { font-size: .84rem; color: var(--muted); }
.chips { border: 0; padding: 0; margin: 6px 0 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 9px; padding: 0; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips label > span { display: inline-block; padding: 7px 14px; font-size: .86rem; border: 1px solid var(--line-light); background: #fff; transition: all .2s; }
.chips input:checked + span { background: var(--ink); color: var(--gold-soft); border-color: var(--ink); }
.chips input:focus-visible + span { outline: 2px solid var(--gold); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.enquiry > .field { margin-bottom: 18px; }
.enquiry textarea { resize: vertical; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.enquiry-summary {
  display: none; white-space: pre-wrap; font: inherit; font-size: .85rem; margin: 18px 0 0;
  padding: 14px 16px; background: #fff; border-left: 3px solid var(--gold);
}
.enquiry-summary.show { display: block; }

/* ===== Footer ===== */
.site-footer { background: #0e0c0a; color: var(--muted-light); padding: 56px 0 40px; border-top: 1px solid var(--line-dark); font-size: .84rem; }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: end; }
.footer-brand { display: flex; gap: 16px; align-items: center; }
.footer-brand .mark { width: 34px; --cut: #0e0c0a; }
.footer-brand p { margin: 0; line-height: 1.5; }
.f-name { color: var(--gold); letter-spacing: .26em; font-weight: 500; }
.f-name-zh { font-family: var(--font-zh); letter-spacing: .4em; font-size: .78rem; }
.f-motto { font-size: .66rem; letter-spacing: .32em; color: #6f6758; margin-top: 4px !important; }
.footer-address { font-style: normal; line-height: 1.8; }
.footer-meta { display: flex; flex-direction: column; gap: 4px; text-align: right; }
.footer-meta a { color: var(--muted-light); }
.footer-meta a:hover { color: var(--gold); }

/* ===== Simple page (privacy) ===== */
.page { padding: 96px 0 112px; }
.page .container { max-width: 780px; }
.page h2 { font-size: 1.25rem; font-weight: 500; margin-top: 2em; }
.page p, .page li { color: var(--muted); }

/* ===== Scroll reveal ===== */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ===== Responsive ===== */
@media (max-width: 1020px) {
  .products, .insight-grid, .roles, .team-facts { grid-template-columns: repeat(2, 1fr); }
  .team-facts li:nth-child(3) { padding-left: 0; border-left: 0; }
  .team-facts li:nth-child(n+3) { border-top: 1px solid var(--line-light); }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .steps::before { left: 23px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .step { display: grid; grid-template-columns: 48px 1fr; column-gap: 22px; padding: 0; }
  .step-num { grid-row: span 2; margin: 0; }
  .about-grid, .converter-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner { grid-template-columns: 1fr; align-items: start; gap: 22px; }
  .footer-meta { text-align: left; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); border-bottom: 1px solid var(--line-dark); padding: 8px 24px 18px; display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid rgba(199, 154, 58, .1); }
  .site-nav a::after { display: none; }
  .site-nav .nav-cta { border: 0; border-bottom: 1px solid rgba(199, 154, 58, .1); padding: 14px 0; }
  .lang-switch { border: 0; padding: 14px 0 0; text-align: left; }
  .insight-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 80px 0; }
  .hero { padding: 48px 0 88px; }
  .hero-motto { font-size: .68rem; letter-spacing: .2em; gap: 10px; }
  .hero-motto::before, .hero-motto::after { width: 22px; }
  .products, .roles, .team-facts { grid-template-columns: 1fr; }
  .team-facts li, .team-facts li + li { padding: 16px 0; border-left: 0; }
  .team-facts li + li { border-top: 1px solid var(--line-light); }
  .conv-inputs, .form-row { grid-template-columns: 1fr; }
  .converter, .enquiry { padding: 26px 20px; }
  .namecard { padding: 24px 20px; }
  .namecard-body { grid-template-columns: 1fr; gap: 14px; }
  .pillar { grid-template-columns: 56px 1fr; column-gap: 18px; padding: 24px 0; }
  .pillar-zh { width: 56px; height: 56px; font-size: 1.6rem; }
  .conv-fine { grid-template-columns: 1fr; }
  .live-values { grid-template-columns: 1fr; gap: 10px; }
  .live-head { flex-wrap: wrap; }
  .live-head small { margin-left: 0; width: 100%; }
  .conv-fine strong { grid-row: auto; text-align: left; }
}
