/* Self-hosted Source Sans 3 (SIL Open Font License, see /fonts/OFL-LICENSE.txt). No Google Fonts. */
@font-face {
  font-family: "Source Sans 3"; font-style: normal; font-weight: 300; font-display: swap;
  src: url("/fonts/source-sans-3-latin-300-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/fonts/source-sans-3-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/fonts/source-sans-3-latin-600-normal.woff2") format("woff2");
}

/* Compact placeholder page, visually matched to redientcapital.com.hk:
   white page, centred column, Source Sans (light), tracked uppercase headings,
   pill controls, thin #ccc rules, Redient orange as the only accent. */
:root {
  --bg: #ffffff;
  --text: #474747;
  --text-soft: #6e6e6e;
  --rule: #cccccc;
  --brand: #fcb040;
  --brand-ink: #b9761a;
  --ok: #2e7d4f;
  --err: #b3402e;
  --font: "Source Sans 3", "Source Sans Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-weight: 300; font-size: 15.5px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--text); text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 3px; }
a:hover { color: var(--brand-ink); text-decoration-color: var(--brand); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.page { max-width: 600px; margin: 0 auto; padding: 44px 16px 28px; text-align: center; }
.rule { border: 0; border-top: 1px solid var(--rule); margin: 20px 0; }
p { margin: 0 auto 10px; color: var(--text-soft); }

/* Masthead */
.logo { display: block; width: 240px; height: auto; margin: 0 auto 12px; }
.company {
  margin: 0; font-size: 15px; font-weight: 400; line-height: 1.4;
  letter-spacing: .32em; text-indent: .32em; text-transform: uppercase; color: var(--text);
}

/* Intro + about */
.tagline { font-size: 17.5px; color: var(--text); line-height: 1.5; margin-bottom: 8px; }
.intro .about { font-size: 14px; margin: 14px auto 0; }

/* Contact */
h2 {
  margin: 0 0 8px; font-size: 13px; font-weight: 400;
  letter-spacing: .4em; text-indent: .4em; text-transform: uppercase; color: var(--text);
}
form { max-width: 460px; margin: 14px auto 0; }
.field { display: flex; gap: 8px; }
.field input {
  flex: 1; min-width: 0; height: 40px; padding: 0 18px;
  border: 1px solid var(--rule); border-radius: 999px; background: #fff;
  font: inherit; font-size: 15px; color: var(--text);
}
.field input::placeholder { color: #9a9a9a; }
.field input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(252,176,64,.22); }
.field button {
  height: 40px; padding: 0 24px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--brand); background: var(--brand); color: #3a3a3a;
  font: inherit; font-size: 11px; font-weight: 600; letter-spacing: .3em; text-indent: .3em; text-transform: uppercase;
}
.field button:hover:not(:disabled) { background: #f39f22; border-color: #f39f22; }
.field button:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.field button:disabled { opacity: .6; cursor: default; }
.consent { display: flex; gap: 8px; align-items: flex-start; justify-content: center; text-align: left; margin: 10px 4px 0; font-size: 12.5px; line-height: 1.5; color: var(--text-soft); cursor: pointer; }
.consent input { margin-top: 2px; accent-color: var(--brand); width: 14px; height: 14px; flex: none; }
.cf-turnstile { display: flex; justify-content: center; margin-top: 8px; }
.status { min-height: 1.4em; margin: 6px auto 0; font-size: 14px; }
.status:empty { min-height: 0; }
.status.success { color: var(--ok); }
.status.error { color: var(--err); }
form.done .field, form.done .consent { opacity: .45; pointer-events: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.footer p { font-size: 11.5px; line-height: 1.55; color: #8a8a8a; margin-bottom: 8px; }
.footer strong { font-weight: 600; color: var(--text); }

/* ---------- Home: two-column landscape layout ---------- */
.home .shell {
  min-height: 100vh; min-height: 100svh;
  max-width: 1120px; margin: 0 auto; padding: 48px 56px 28px;
  display: flex; flex-direction: column;
}
.home .masthead { text-align: center; padding-bottom: 28px; border-bottom: 1px solid var(--rule); }
.home .logo { width: 220px; margin-bottom: 14px; }

.split {
  flex: 1; display: grid; grid-template-columns: 1.35fr 1fr; align-items: center;
  padding: 56px 0;
}
.split p { margin: 0 0 14px; }
.split .intro { text-align: left; padding-right: 72px; }
.split .tagline { font-size: 22px; line-height: 1.45; margin-bottom: 18px; color: var(--text); }
.split .intro .about { font-size: 14.5px; margin: 22px 0 0; }

.split .contact { text-align: left; padding-left: 72px; border-left: 1px solid var(--rule); }
.split .contact h2 { text-indent: 0; margin-bottom: 12px; }
.split .contact > p { font-size: 15px; }
.split form { max-width: none; margin: 22px 0 0; }
.split form > input[type="email"] {
  display: block; width: 100%; height: 44px; padding: 0 20px;
  border: 1px solid var(--rule); border-radius: 999px; background: #fff;
  font: inherit; font-size: 15px; color: var(--text);
}
.split form > input[type="email"]::placeholder { color: #9a9a9a; }
.split form > input[type="email"]:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(252,176,64,.22); }
.split .consent { justify-content: flex-start; margin: 14px 2px 18px; }
.split form > button {
  width: 100%; height: 44px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--brand); background: var(--brand); color: #3a3a3a;
  font: inherit; font-size: 11.5px; font-weight: 600; letter-spacing: .32em; text-indent: .32em; text-transform: uppercase;
}
.split form > button:hover:not(:disabled) { background: #f39f22; border-color: #f39f22; }
.split form > button:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.split form > button:disabled { opacity: .6; cursor: default; }
.split .status { text-align: left; margin: 10px 0 0; }
.split form.done > input, .split form.done .consent { opacity: .45; pointer-events: none; }

.home .footer { border-top: 1px solid var(--rule); padding-top: 18px; text-align: center; }
.home .footer p { max-width: 900px; margin-left: auto; margin-right: auto; }

@media (max-width: 860px) {
  .home .shell { padding: 32px 20px 24px; min-height: 0; }
  .split { grid-template-columns: 1fr; padding: 32px 0; gap: 32px; }
  .split .intro { padding-right: 0; text-align: center; }
  .split .contact { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); padding-top: 28px; text-align: center; }
  .split .contact h2 { text-indent: .4em; }
  .split .consent { justify-content: center; }
  .split .status { text-align: center; }
  .split .tagline { font-size: 18px; }
}

/* Privacy / 404 */
.doc { text-align: left; }
.doc h1 { text-align: center; margin: 0 0 14px; font-size: 14px; font-weight: 400; letter-spacing: .32em; text-indent: .32em; text-transform: uppercase; }
.doc h2 { text-indent: 0; font-size: 12px; letter-spacing: .28em; margin: 18px 0 4px; }
.doc p { font-size: 14.5px; margin: 0 0 8px; }
.doc .back { text-align: center; margin-top: 20px; }
.mt { margin-top: 18px; }

@media (max-width: 480px) {
  .page { padding-top: 28px; }
  .logo { width: 200px; }
  .company { font-size: 13.5px; letter-spacing: .24em; text-indent: .24em; }
  .tagline { font-size: 16.5px; }
  .field { flex-direction: column; }
  .field input { flex: none; width: 100%; }
  .field button { width: 100%; }
}

/* No masthead: content sits in the vertical centre of the screen */
.home .shell { padding-top: 40px; }
.split { padding-top: 24px; }

/* Headline statement */
.split .tagline {
  position: relative;
  font-size: clamp(30px, 3.3vw, 46px); font-weight: 300; line-height: 1.16; letter-spacing: -0.012em;
  color: #2f2f2f; margin: 0 0 30px; padding-top: 26px; text-wrap: balance;
}
.split .tagline::before {
  content: ""; position: absolute; top: 0; left: 0; width: 56px; height: 3px; background: var(--brand); border-radius: 2px;
}
.split .tagline .accent { display: block; margin-top: 10px; color: var(--brand-ink); font-weight: 400; }
@media (max-width: 860px) {
  .split .tagline { font-size: 30px; padding-top: 22px; }
  .split .tagline::before { left: 50%; transform: translateX(-50%); }
}

/* Language toggle, top-right (same pill style as the HK site's nav) */
body { position: relative; }
.lang-toggle {
  position: absolute; top: 20px; right: 24px; z-index: 5;
  display: inline-flex; align-items: center; height: 32px; padding: 0 16px;
  border: 1px solid var(--rule); border-radius: 999px; background: #fff;
  font-size: 12.5px; font-weight: 400; letter-spacing: .08em; color: var(--text); text-decoration: none;
}
.lang-toggle:hover { border-color: var(--brand); color: var(--text); }
.lang-toggle:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
@media (max-width: 860px) {
  .lang-toggle { top: 14px; right: 14px; height: 30px; padding: 0 14px; }
  .home .shell { padding-top: 56px; }
}

/* Simplified Chinese: CJK system fonts, no extra tracking on body text */
html[lang^="zh"] body {
  font-family: "Source Sans 3", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", "Source Han Sans SC", system-ui, sans-serif;
  font-weight: 400; line-height: 1.8;
}
html[lang^="zh"] .split .tagline { font-weight: 400; letter-spacing: .02em; line-height: 1.3; }
html[lang^="zh"] .split .tagline .accent { font-weight: 500; }
html[lang^="zh"] h2, html[lang^="zh"] .doc h1 { letter-spacing: .3em; }
html[lang^="zh"] .split form > button { letter-spacing: .5em; text-indent: .5em; font-size: 13px; }
html[lang^="zh"] .footer p { line-height: 1.7; }
.split .tagline .nw { display: inline-block; }
