/* Vizon Chartered Accountants — premium edition
   System fonts only (Google Fonts is blocked in mainland China). */

:root {
  --ink: #0d1624;
  --navy: #13233b;
  --navy-2: #1b2f4d;
  --ivory: #f6f2ea;
  --paper: #fcfbf8;
  --gold: #b08d57;
  --gold-2: #cdb185;
  --text: #1c2330;
  --muted: #5b6372;
  --muted-on-dark: #a9b3c2;
  --line: #e3dccf;
  --line-dark: rgba(255,255,255,.12);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 16px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
section { padding: 120px 0; }
section[id] { scroll-margin-top: 72px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; color: inherit; letter-spacing: -.01em; }
h1 { font-size: clamp(40px, 5.6vw, 72px); line-height: 1.06; }
h2 { font-size: clamp(32px, 3.8vw, 50px); line-height: 1.12; }
h3 { font-size: 23px; line-height: 1.3; }
h1 em, h2 em { font-style: italic; color: var(--gold-2); }
h2 em { color: var(--gold); }
p { margin: 0 0 1.1em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px; border-radius: 2px;
  font: 600 14px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background .25s, color .25s, border-color .25s;
}
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #9a7a48; }
.btn-line { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-line:hover { border-color: var(--gold-2); color: var(--gold-2); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--ink); }
.btn .arrow { transition: transform .25s; }
.btn:hover .arrow { transform: translateX(4px); }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  color: #fff; transition: background .3s, box-shadow .3s, padding .3s;
  padding: 22px 0;
}
.site-header.scrolled { background: rgba(13,22,36,.96); box-shadow: 0 1px 0 var(--line-dark); padding: 12px 0; }
@supports (backdrop-filter: blur(8px)) { .site-header.scrolled { background: rgba(13,22,36,.85); backdrop-filter: blur(10px); } }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1; }
.brand-name { font: italic 400 30px/1 var(--serif); letter-spacing: .01em; }
.brand-sub { font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-2); margin-top: 6px; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a { text-decoration: none; font-size: 14px; letter-spacing: .04em; color: rgba(255,255,255,.82); transition: color .2s; }
.nav a:hover { color: #fff; }
.nav .lang-switch { border: 1px solid rgba(255,255,255,.3); padding: 7px 14px; border-radius: 2px; font-size: 13px; }
.nav .lang-switch:hover { border-color: var(--gold-2); color: var(--gold-2); }
.nav .nav-cta { background: var(--gold); color: #fff; padding: 10px 18px; border-radius: 2px; font-weight: 600; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.nav .nav-cta:hover { background: #9a7a48; color: #fff; }
.menu-toggle { display: none; background: none; border: 1px solid rgba(255,255,255,.35); color: #fff; padding: 9px 14px; border-radius: 2px; font: 600 13px var(--sans); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 600px at 85% 20%, #22395c 0%, transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--ink) 70%);
  color: #fff; padding: 170px 0 0;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 88px 88px; mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: end; }
.hero-copy { padding-bottom: 110px; }
.hero .lead { font-size: 19px; line-height: 1.7; color: var(--muted-on-dark); max-width: 560px; margin: 28px 0 40px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-portrait { position: relative; align-self: end; }
.hero-portrait img { width: 100%; height: auto; max-height: 620px; object-fit: cover; object-position: top; filter: saturate(.9) contrast(1.02); -webkit-mask-image: linear-gradient(to bottom, #000 75%, transparent 100%); mask-image: linear-gradient(to bottom, #000 75%, transparent 100%); }
.hero-portrait::before { content: ""; position: absolute; left: -22px; top: 40px; bottom: 80px; width: 1px; background: linear-gradient(var(--gold), transparent); }
.portrait-caption { position: absolute; left: 0; bottom: 48px; background: rgba(13,22,36,.82); border-left: 2px solid var(--gold); padding: 14px 18px; }
.portrait-caption strong { display: block; font: 400 19px/1.2 var(--serif); }
.portrait-caption span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); }

.cred-bar { position: relative; z-index: 2; background: var(--ink); border-top: 1px solid var(--line-dark); color: #fff; }
.cred-bar ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.cred-bar li { padding: 26px 24px; border-left: 1px solid var(--line-dark); display: flex; flex-direction: column; gap: 4px; }
.cred-bar li:first-child { border-left: 0; padding-left: 0; }
.cred-bar strong { font: 400 18px/1.3 var(--serif); }
.cred-bar span { font-size: 12.5px; color: var(--muted-on-dark); letter-spacing: .03em; }

/* About */
.about { background: var(--paper); }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: start; }
.about-body { font-size: 17.5px; color: #39404c; }
.pull {
  margin: 44px 0 0; padding: 30px 0 0; border-top: 1px solid var(--line);
  font: italic 400 26px/1.45 var(--serif); color: var(--navy);
}
.pull cite { display: block; margin-top: 14px; font: normal 600 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

/* Services */
.services { background: var(--ivory); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 70px; }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service { padding: 44px 38px 40px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: transparent; transition: background .3s; position: relative; }
.service:hover { background: var(--paper); }
.service::after { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--gold); transition: width .35s; }
.service:hover::after { width: 100%; }
.service .num { font: 400 15px/1 var(--serif); color: var(--gold); letter-spacing: .1em; }
.service h3 { margin: 18px 0 16px; }
.service ul { list-style: none; margin: 0; padding: 0; color: var(--muted); font-size: 15.5px; }
.service li { padding: 7px 0; border-top: 1px dashed rgba(0,0,0,.08); }
.service li:first-child { border-top: 0; }

/* Specialist band */
.specialist { background: var(--navy); color: #fff; padding: 100px 0; }
.spec-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.spec-grid p { color: var(--muted-on-dark); font-size: 17px; margin-top: 22px; }
.spec-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.spec-item { background: var(--navy); padding: 32px 28px; }
.spec-item .abbr { font: 400 40px/1 var(--serif); color: var(--gold-2); }
.spec-item .full { display: block; margin-top: 10px; font-size: 14.5px; color: #dbe1ea; }

/* Team */
.team { background: var(--paper); }
.lead-member { display: grid; grid-template-columns: 420px 1fr; gap: 70px; align-items: center; margin-bottom: 90px; }
.lead-member .photo { aspect-ratio: 3 / 4; overflow: hidden; background: #ddd; position: relative; }
.lead-member .photo::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(255,255,255,.35); pointer-events: none; }
.lead-member .photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.post-noms { font-size: 13px; letter-spacing: .16em; color: var(--gold); text-transform: uppercase; margin: 10px 0 4px; }
.role { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.lead-member h3 { font-size: 40px; }
.lead-member .bio { margin-top: 26px; font-size: 17px; color: #39404c; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.tags li { font-size: 12.5px; letter-spacing: .05em; border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; color: var(--navy); background: #fff; }
.member-mail { display: inline-block; margin-top: 18px; font-size: 14.5px; color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--gold); }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.member .photo { aspect-ratio: 3 / 4; overflow: hidden; background: #e9e6df; margin-bottom: 22px; }
.member .photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; filter: grayscale(1) contrast(1.03); transition: filter .5s, transform .8s; }
.member:hover .photo img, .member:focus-within .photo img { filter: grayscale(0); transform: scale(1.03); }
.member h3 { font-size: 22px; }
.member .post-noms { font-size: 11.5px; margin: 6px 0 2px; }
.member details { margin-top: 14px; font-size: 15px; color: var(--muted); }
.member summary { cursor: pointer; list-style: none; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); font-weight: 600; display: inline-flex; gap: 8px; align-items: center; }
.member summary::-webkit-details-marker { display: none; }
.member summary::after { content: "+"; color: var(--gold); font-size: 17px; line-height: 1; }
.member details[open] summary::after { content: "–"; }
.member details p { margin: 12px 0 0; }

/* Contact */
.contact { background: var(--ink); color: #fff; }
.contact .section-head p { color: var(--muted-on-dark); }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; }
.contact-details dl { margin: 0; }
.contact-details dt { font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-2); margin-top: 30px; }
.contact-details dt:first-child { margin-top: 0; }
.contact-details dd { margin: 8px 0 0; font: 400 19px/1.5 var(--serif); color: #fff; }
.contact-details dd a { text-decoration: none; border-bottom: 1px solid rgba(205,177,133,.5); }
.contact-details dd a:hover { color: var(--gold-2); }
.contact-details dd small { font: 14px var(--sans); color: var(--muted-on-dark); }

form[data-contact] { background: var(--paper); color: var(--text); padding: 48px; }
form[data-contact] h3 { font-size: 28px; margin-bottom: 26px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { margin-bottom: 22px; }
.field label { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; font-weight: 600; }
.field input, .field textarea {
  width: 100%; font: 16px var(--sans); color: var(--text);
  border: 0; border-bottom: 1px solid #cfc7b8; background: transparent; padding: 10px 0; border-radius: 0;
  transition: border-color .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--gold); }
.field textarea { min-height: 120px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.form-status { margin-top: 16px; font-size: 15px; min-height: 1.4em; }
.form-status.ok { color: #2d6a3e; }
.form-status.err { color: #a03a2a; }
.privacy-note { font-size: 13px; color: var(--muted); margin: 14px 0 0; }

/* Footer */
.site-footer { background: var(--ink); color: var(--muted-on-dark); border-top: 1px solid var(--line-dark); padding: 44px 0; font-size: 13.5px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 40px; align-items: center; }
.site-footer .brand-name { color: #fff; font-size: 24px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-legal { flex-basis: 100%; border-top: 1px solid var(--line-dark); padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}

/* Chinese typography tweaks */
:lang(zh) h1 { line-height: 1.22; letter-spacing: .01em; }
:lang(zh) h2 { line-height: 1.3; }
:lang(zh) .eyebrow { letter-spacing: .3em; }

/* Responsive */
@media (max-width: 1080px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .lead-member { grid-template-columns: 340px 1fr; gap: 50px; }
}
@media (max-width: 900px) {
  section { padding: 84px 0; }
  .menu-toggle { display: inline-block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--ink); padding: 8px 28px 22px; display: none; border-top: 1px solid var(--line-dark); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
  .nav .lang-switch, .nav .nav-cta { margin-top: 14px; text-align: center; border-bottom: 0; }
  .site-header.menu-open { background: var(--ink); }
  .hero { padding-top: 130px; }
  .hero-grid, .about-grid, .section-head, .spec-grid, .contact-grid, .lead-member { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { padding-bottom: 20px; }
  .hero-portrait { max-width: 420px; }
  .hero-portrait::before { display: none; }
  .cred-bar ul { grid-template-columns: 1fr 1fr; }
  .cred-bar li { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-dark); }
  .cred-bar li:nth-child(-n+2) { border-top: 0; }
  .lead-member .photo { max-width: 380px; }
  .section-head { margin-bottom: 44px; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .service-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .spec-list { grid-template-columns: 1fr 1fr; }
  .spec-item { padding: 24px 18px; }
  .spec-item .abbr { font-size: 32px; }
  .two-col { grid-template-columns: 1fr; gap: 0; }
  form[data-contact] { padding: 30px 20px; }
  .lead-member h3 { font-size: 32px; }
  .member h3 { font-size: 19px; }
  .brand-name { font-size: 26px; }
  .hero .lead { font-size: 17px; }
  .pull { font-size: 22px; }
}
:lang(zh) h1 em, :lang(zh) h2 em { font-style: normal; }
:lang(zh) h1 { font-size: clamp(34px, 4.4vw, 58px); }
