/* New 3 Limited. Plain CSS, no build step. */
:root {
  --ink: #141414;
  --ink-2: #3d3d3d;
  --muted: #767676;
  --line: #e7e5e2;
  --paper: #ffffff;
  --paper-2: #f7f6f4;
  --accent: #e2692a;      /* from the New3 wordmark, slightly deepened for contrast */
  --accent-ink: #b4501a;  /* text-size accent, AA on white */
  --max: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(88px, 11vw, 168px);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial,
          "PingFang TC", "PingFang HK", "PingFang SC", "Noto Sans TC", "Noto Sans CJK TC",
          "Noto Sans HK", "Noto Sans SC", "Noto Sans CJK SC", "Microsoft JhengHei", "Microsoft YaHei",
          "Source Han Sans TC", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "palt" 0;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[lang="en"] p, p[lang="en"], [lang="en"] li { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; }
.nw { white-space: nowrap; }
a.inline { text-decoration: underline; text-decoration-color: var(--line); text-decoration-thickness: 1px; text-underline-offset: 4px; color: var(--ink); transition: text-decoration-color .15s; }
a.inline:hover { text-decoration-color: currentColor; }
::selection { background: #fbe3d4; }

/* Language switching: Traditional Chinese is the default; English via toggle. */
:root[data-lang="en"] body [lang="zh-Hant-HK"] { display: none !important; }
:root:not([data-lang="en"]) body [lang="en"] { display: none !important; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 12px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 4px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: inline-flex; align-items: center; }
.brand img { width: 92px; height: auto; }
.nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); }
.nav ul { display: flex; gap: clamp(20px, 2.8vw, 36px); }
.nav a { font-size: 14px; color: var(--ink-2); letter-spacing: .02em; transition: color .15s; }
.nav a:hover { color: var(--ink); }
.lang-toggle {
  appearance: none; border: 1px solid var(--line); background: transparent; color: var(--ink);
  font: inherit; font-size: 12px; letter-spacing: .06em; line-height: 1;
  padding: 8px 12px; border-radius: 999px; cursor: pointer; transition: border-color .15s, background .15s;
  min-width: 52px;
}
.lang-toggle:hover { border-color: var(--ink); }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: url("img/clouds.jpg") center 30% / cover no-repeat;
  opacity: .55;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 45%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 45%, transparent 100%);
  pointer-events: none;
}
.hero .wrap { position: relative; padding-top: clamp(96px, 14vw, 200px); padding-bottom: clamp(96px, 12vw, 176px); }
.eyebrow { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 28px; }
.eyebrow [lang="zh-Hant-HK"] { letter-spacing: .2em; }
.hero h1 { font-size: clamp(46px, 7.4vw, 104px); line-height: 1.08; font-weight: 600; letter-spacing: -0.025em; }
.hero h1 [lang="zh-Hant-HK"] { letter-spacing: .02em; }
.hero h1 .accent { display: block; color: var(--accent); font-weight: 500; letter-spacing: -0.01em; margin-top: .08em; }
.hero .lede { max-width: 38em; margin-top: clamp(32px, 4vw, 48px); font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); line-height: 1.8; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 44px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: #fff; font-size: 15px; letter-spacing: .02em;
  padding: 14px 24px; border-radius: 999px; transition: background .15s, transform .15s;
}
.btn:hover { background: #000; }
.btn .arrow, .link .arrow { transition: transform .2s ease; }
.btn:hover .arrow, .link:hover .arrow { transform: translateX(3px); }
.link { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--ink); border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link:hover { color: var(--accent-ink); }

/* Sections */
.section { padding: var(--section) 0; border-top: 1px solid var(--line); scroll-margin-top: 72px; }
.section.tint { background: var(--paper-2); border-top-color: transparent; }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 32px); }
.label { grid-column: 1 / span 3; font-size: 13px; letter-spacing: .12em; color: var(--muted); padding-top: .55em; }
.label .num { color: var(--accent); margin-right: 10px; font-variant-numeric: tabular-nums; }
.body { grid-column: 4 / span 9; }
.h2 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.22; letter-spacing: -0.02em; }
.h2 [lang="zh-Hant-HK"] { letter-spacing: .02em; }
.statement { font-size: clamp(20px, 2.1vw, 27px); line-height: 1.7; color: var(--ink); font-weight: 400; max-width: 34em; margin: 0; }
.statement[lang="en"] { line-height: 1.6; letter-spacing: -0.005em; }
.sub { margin-top: 24px; color: var(--ink-2); max-width: 40em; font-size: clamp(17px, 1.4vw, 19px); }

/* Services list */
.services { margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); }
.service { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px; padding: clamp(32px, 4vw, 48px) 0; border-bottom: 1px solid var(--line); }
.service h3 { font-size: clamp(20px, 1.8vw, 24px); }
.service h3 small { display: block; font-size: 13px; font-weight: 400; color: var(--muted); letter-spacing: .06em; margin-top: 6px; }
.service p { color: var(--ink-2); max-width: 40em; }
.service p:last-child { margin-bottom: 0; }
.service .note { font-size: 14px; color: var(--muted); }
.service .lead { color: var(--ink); }

.callout {
  margin-top: clamp(40px, 5vw, 64px);
  display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap;
  padding: clamp(28px, 3.4vw, 40px); background: var(--paper-2); border-radius: 4px;
}
.callout h3 { font-size: 18px; margin-bottom: 6px; }
.callout p { margin: 0; color: var(--ink-2); max-width: 36em; }

/* Product */
.product { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px; margin-top: clamp(56px, 7vw, 96px); }
.product .kicker { font-size: 13px; letter-spacing: .12em; color: var(--muted); }
.product h3 { font-size: clamp(26px, 2.6vw, 34px); margin-top: 10px; }
.product p { color: var(--ink-2); max-width: 40em; }

/* Advisory */
.quote { font-size: clamp(34px, 4.8vw, 64px); line-height: 1.2; letter-spacing: -0.02em; font-weight: 600; max-width: 14em; }
.quote [lang="zh-Hant-HK"] { letter-spacing: .02em; line-height: 1.3; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: clamp(48px, 6vw, 80px); }
.facts h3, .areas-title { font-size: 13px; letter-spacing: .12em; color: var(--muted); font-weight: 400; margin-bottom: 14px; }
.facts p { margin: 0; color: var(--ink); }
.facts ul li { padding: 2px 0; }
.areas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.area { border-top: 1px solid var(--ink); padding-top: 22px; }
.area .n { font-size: 13px; color: var(--accent); font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.area h4 { font-size: 18px; margin: 10px 0 12px; line-height: 1.45; }
.area p { color: var(--ink-2); font-size: 15.5px; line-height: 1.75; margin: 0; }
.areas-wrap { margin-top: clamp(48px, 6vw, 80px); }
.book { margin-top: clamp(48px, 6vw, 80px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: end; }
.book p { margin: 0; color: var(--ink-2); }
.book .about-line { font-size: 15px; color: var(--muted); margin-top: 18px; }
.book .about-line a { color: var(--ink); border-bottom: 1px solid var(--line); }
.book .about-line a:hover { border-color: var(--ink); }
.book .actions { margin-top: 0; justify-content: flex-end; }

/* About New 3 + Founder (merged section) */
.about .statement { margin-bottom: 0; }
.about .founder { margin-top: clamp(56px, 7vw, 96px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); scroll-margin-top: 72px; }

/* Founder */
.founder { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.portrait { position: sticky; top: 104px; }
.portrait img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 2px; background: #c9ccd1; }
.founder h2 { font-size: clamp(34px, 4vw, 52px); letter-spacing: -0.02em; }
.founder h2 .alt { color: var(--muted); font-weight: 400; margin-left: .3em; }
.founder .role { margin-top: 10px; color: var(--ink-2); }
.founder .title { display: inline-block; margin-top: 18px; font-size: 14px; letter-spacing: .04em; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); }
.bio { margin-top: clamp(28px, 3vw, 40px); color: var(--ink-2); max-width: 38em; }
.bio .lead { color: var(--ink); font-size: clamp(17px, 1.4vw, 19px); }
.roles { margin: 8px 0 1.4em; border-top: 1px solid var(--line); }
.roles li { padding: 14px 0 14px 22px; border-bottom: 1px solid var(--line); position: relative; }
.roles li::before { content: ""; position: absolute; left: 3px; top: calc(14px + .8em); width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

/* Contact */
.contact-list { margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.contact-list li { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.contact-list .k { font-size: 13px; letter-spacing: .1em; color: var(--muted); }
.contact-list .v { font-size: clamp(17px, 1.5vw, 20px); }
.contact-list a.v, .contact-list .v a { border-bottom: 1px solid transparent; transition: border-color .15s, color .15s; }
.contact-list a.v:hover, .contact-list .v a:hover { border-bottom-color: currentColor; color: var(--accent-ink); }
.contact-list .addr > span { display: block; }
.contact-list .addr .map { display: inline-block; margin-top: 10px; font-size: 14px; color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 96px) 0 48px; font-size: 13.5px; color: var(--muted); }
.footer-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.footer-top img { width: 132px; }
.footer-nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-nav a:hover { color: var(--ink); }
.disclaimer { margin: 40px 0 0; padding-top: 24px; border-top: 1px solid var(--line); line-height: 1.7; }
.disclaimer span { display: block; max-width: 60em; }
.legal { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 4px 24px; }

/* Responsive */
@media (max-width: 960px) {
  .label { grid-column: 1 / -1; margin-bottom: 20px; padding-top: 0; }
  .body { grid-column: 1 / -1; }
  .areas { grid-template-columns: 1fr; gap: 0; }
  .area { padding: 22px 0 28px; }
  .book { grid-template-columns: 1fr; }
  .book .actions { justify-content: flex-start; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .header-inner { height: auto; padding-top: 14px; padding-bottom: 12px; flex-wrap: wrap; row-gap: 10px; }
  .brand img { width: 78px; }
  .nav { display: contents; }
  .nav ul { order: 3; width: 100%; justify-content: space-between; gap: 12px; padding-top: 8px; border-top: 1px solid var(--line); }
  .nav a { font-size: 14px; }
  .lang-toggle { order: 2; }
  .section, .about .founder { scroll-margin-top: 108px; }
  .service, .product { grid-template-columns: 1fr; gap: 12px; }
  .facts { grid-template-columns: 1fr; gap: 32px; }
  .founder { grid-template-columns: 1fr; }
  .portrait { position: static; max-width: 300px; }
  .contact-list li { grid-template-columns: 1fr; gap: 4px; }
  .callout { flex-direction: column; align-items: flex-start; }
  .hero h1 .accent { font-size: .78em; }
}
@media print {
  .site-header, .lang-toggle { display: none; }
  .section { padding: 32px 0; }
}

/* Featured services (consulting, technology) */
.features { margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--ink); }
.feature { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px; padding: clamp(40px, 5vw, 64px) 0; border-bottom: 1px solid var(--line); }
.feature-head .n { display: block; font-size: 13px; letter-spacing: .08em; color: var(--accent); font-variant-numeric: tabular-nums; margin-bottom: 14px; }
.feature-head h3 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.25; letter-spacing: -0.015em; }
.feature-head h3 [lang="zh-Hant-HK"] { letter-spacing: .03em; }
.feature-body .lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.65; color: var(--ink); margin-bottom: .9em; }
.feature-body p { color: var(--ink-2); max-width: 40em; }
.scope-title { font-size: 13px; letter-spacing: .12em; color: var(--muted) !important; margin: 28px 0 4px; }
.scope { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; margin-bottom: 24px; }
.scope li { position: relative; padding: 13px 0 13px 18px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 16px; line-height: 1.5; }
.scope li::before { content: ""; position: absolute; left: 1px; top: calc(13px + .62em); width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.outcome { margin: 0; font-size: 15.5px; }

/* Investing, shown last and small */
.minor { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px; margin-top: clamp(56px, 7vw, 96px); padding-top: 28px; border-top: 1px solid var(--line); }
.minor h3 { font-size: 15px; font-weight: 600; color: var(--ink-2); letter-spacing: .04em; }
.minor p { margin: 0; font-size: 14.5px; line-height: 1.75; color: var(--muted); max-width: 44em; }

@media (max-width: 760px) {
  .feature, .minor { grid-template-columns: 1fr; gap: 12px; }
  .feature-head { margin-bottom: 8px; }
  .scope { grid-template-columns: 1fr; }
}
.scope li:last-child:nth-child(odd) { grid-column: 1 / -1; }
