/* ============================================================
   AHZENJ LIMITED — ahzenj.com
   Premium B2B, bilingual EN / 简体中文 single-page.
   Palette: ink #0F1419 · warm gold #C8A24B · warm paper #FBF9F4
   Type: Geist (UI) + Geist Mono (labels), self-hosted (OFL).
   ============================================================ */

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/css/fonts/geist-variable.woff2") format("woff2");
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/css/fonts/geist-mono-variable.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
  --ink: #0F1419;
  --ink-2: #1A2129;
  --ink-soft: #2A323C;
  --gold: #C8A24B;
  --gold-deep: #A8842F;
  --gold-soft: rgba(200, 162, 75, 0.12);
  --paper: #FBF9F4;
  --paper-2: #F4F1EA;
  --paper-3: #EFEBE1;
  --white: #FFFFFF;
  --grey: #5E6670;
  --grey-2: #767E89;
  --grey-3: #9AA1AC;
  --line: #E6E1D6;
  --line-2: #EFEBE1;
  --line-dark: #2A323C;
  --radius: 16px;
  --radius-lg: 26px;
  --radius-pill: 999px;
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-sm: 0 1px 2px rgba(15, 20, 25, 0.04), 0 6px 18px rgba(15, 20, 25, 0.05);
  --shadow-md: 0 16px 48px rgba(15, 20, 25, 0.10);
  --shadow-gold: 0 10px 28px rgba(200, 162, 75, 0.30);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", Roboto, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  letter-spacing: -0.015em;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* Chinese reading rhythm — looser line-height on zh */
html[lang="zh-Hans"] body { letter-spacing: 0; line-height: 1.7; }

/* ---------- Bilingual visibility ---------- */
/* Both strings live in the DOM; CSS reveals the active language.       */
/* Inline pre-paint script sets html[lang] before first paint → no flash. */
[data-lang] { display: none; }
html[lang="en"] [data-lang="en"] { display: revert; }
html[lang="zh-Hans"] [data-lang="zh"] { display: revert; }
/* inline runs (spans inside a sentence) */
span[data-lang], b[data-lang], em[data-lang], a[data-lang] { display: none; }
html[lang="en"] span[data-lang="en"],
html[lang="en"] b[data-lang="en"],
html[lang="en"] em[data-lang="en"],
html[lang="en"] a[data-lang="en"] { display: inline; }
html[lang="zh-Hans"] span[data-lang="zh"],
html[lang="zh-Hans"] b[data-lang="zh"],
html[lang="zh-Hans"] em[data-lang="zh"],
html[lang="zh-Hans"] a[data-lang="zh"] { display: inline; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 104px 0; }
.section.soft { background: var(--paper-2); }

/* ---------- Section heading ---------- */
.sec-head { max-width: 760px; margin: 0 auto 60px; text-align: center; }
.sec-label {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--white);
  font-family: "Geist Mono", monospace;
  font-size: 11.5px; font-weight: 500; color: var(--gold-deep);
  text-transform: uppercase; letter-spacing: 0.16em;
  margin-bottom: 22px; box-shadow: var(--shadow-sm);
}
.sec-label .sq { width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }
h1, .h1 { font-size: clamp(38px, 6vw, 70px); line-height: 1.04; font-weight: 600; letter-spacing: -0.04em; }
h2, .h2 { font-size: clamp(28px, 4vw, 44px); line-height: 1.1; font-weight: 600; letter-spacing: -0.035em; }
h3 { font-weight: 600; letter-spacing: -0.025em; }
.sec-head p { margin-top: 18px; font-size: clamp(16px, 1.5vw, 18px); color: var(--grey); line-height: 1.6; }
.sec-head.left { text-align: left; margin-left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  font-weight: 500; font-size: 15px; letter-spacing: -0.01em;
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn .arrow { width: 15px; height: 11px; transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: var(--shadow-gold); font-weight: 600; }
.btn-gold:hover { transform: translateY(-2px); background: #D4B05E; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { transform: translateY(-2px); background: #000; box-shadow: var(--shadow-md); }
.btn-ghost { background: var(--white); color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--gold); box-shadow: var(--shadow-sm); }
.btn-ghost-light { background: transparent; color: var(--paper); border: 1px solid rgba(244,241,234,0.28); }
.btn-ghost-light:hover { transform: translateY(-2px); border-color: var(--gold); color: #fff; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  padding: 15px 0;
  background: rgba(251,249,244,0.78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(230,225,214,0.7);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 30px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: 30px; }
.nav-menu a { font-size: 15px; font-weight: 500; color: var(--ink); opacity: .82; transition: opacity .2s, color .2s; }
.nav-menu a:hover { opacity: 1; color: var(--gold-deep); }
.nav-right { display: flex; align-items: center; gap: 12px; }

/* language toggle */
.lang-toggle { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-pill); overflow: hidden; background: var(--white); }
.lang-toggle button { padding: 7px 13px; font-size: 12.5px; font-weight: 600; color: var(--grey-2); letter-spacing: 0.01em; transition: background .2s, color .2s; }
.lang-toggle button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }
.mobile-menu { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 86px 0 84px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 84% 4%, rgba(200,162,75,0.16) 0%, rgba(200,162,75,0) 60%),
    radial-gradient(40% 40% at 8% 0%, rgba(15,20,25,0.05) 0%, rgba(15,20,25,0) 60%);
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: "Geist Mono", monospace; font-size: 12px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.18em; color: var(--gold-deep);
  margin-bottom: 24px;
}
.hero-eyebrow .ln { width: 28px; height: 1px; background: var(--gold); }
.hero h1 { max-width: 15ch; }
.hero h1 .accent { color: var(--gold-deep); }
.hero .lede { max-width: 52ch; margin-top: 24px; font-size: clamp(16.5px, 1.6vw, 19px); color: var(--grey); line-height: 1.62; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; margin-top: 36px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 44px; padding-top: 30px; border-top: 1px solid var(--line); }
.hero-trust .ti { display: flex; flex-direction: column; gap: 3px; }
.hero-trust .ti .v { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.hero-trust .ti .k { font-size: 13px; color: var(--grey-2); }

/* hero visual card */
.hero-card {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-lg);
  padding: 34px 34px 30px;
  box-shadow: var(--shadow-md);
  position: relative; overflow: hidden;
  border: 1px solid var(--line-dark);
}
.hero-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 80% at 90% -10%, rgba(200,162,75,0.34) 0%, rgba(200,162,75,0) 55%);
}
.hero-card .hc-top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 26px; }
.hero-card .hc-top .badge { font-family: "Geist Mono", monospace; font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--gold); border: 1px solid rgba(200,162,75,0.4); border-radius: var(--radius-pill); padding: 5px 12px; }
.hero-card .hc-top .loc { font-family: "Geist Mono", monospace; font-size: 11.5px; color: rgba(244,241,234,0.6); letter-spacing: 0.06em; }
.hero-steps { position: relative; z-index: 1; display: flex; flex-direction: column; }
.hero-steps .hs {
  display: flex; align-items: center; gap: 14px; padding: 14px 0;
  border-bottom: 1px solid rgba(244,241,234,0.10);
}
.hero-steps .hs:last-child { border-bottom: none; }
.hero-steps .hs .n { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-family: "Geist Mono", monospace; font-size: 12px; font-weight: 600; color: var(--gold); border: 1px solid rgba(200,162,75,0.45); }
.hero-steps .hs .t { font-size: 14.5px; color: rgba(244,241,234,0.92); letter-spacing: -0.01em; }
.hero-visual { position: relative; padding-right: 26px; padding-bottom: 26px; }
.hero-stamp {
  position: absolute; right: 0; bottom: 0; z-index: 2;
  width: 104px; height: 104px; border-radius: 50%;
  display: grid; place-items: center; text-align: center; padding: 10px;
  background: var(--gold); color: var(--ink);
  font-family: "Geist Mono", monospace; font-size: 9.5px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em; line-height: 1.35;
  box-shadow: var(--shadow-md); border: 3px solid var(--paper);
}

/* ---------- Marquee strip ---------- */
.strip { background: var(--ink); color: var(--paper); padding: 20px 0; overflow: hidden; }
.strip .container { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: center; }
.strip .chip { font-family: "Geist Mono", monospace; font-size: 12.5px; letter-spacing: 0.06em; color: rgba(244,241,234,0.72); display: inline-flex; align-items: center; gap: 10px; }
.strip .chip .sq { width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  padding: 30px 28px 30px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  position: relative;
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line); }
.svc .num { font-family: "Geist Mono", monospace; font-size: 12px; color: var(--gold-deep); letter-spacing: 0.1em; }
.svc .ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold-deep); margin: 14px 0 18px; }
.svc .ic svg { width: 23px; height: 23px; }
.svc h3 { font-size: 18px; margin-bottom: 9px; }
.svc p { font-size: 14.5px; color: var(--grey); line-height: 1.6; }

/* ---------- How we work (timeline) ---------- */
.flow { max-width: 980px; margin: 0 auto; }
.flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 24px 22px 26px;
}
.step .n { font-family: "Geist Mono", monospace; font-size: 12px; font-weight: 600; color: var(--ink); background: var(--paper-3); border-radius: var(--radius-pill); width: 30px; height: 30px; display: grid; place-items: center; margin-bottom: 16px; }
.step h4 { font-size: 15.5px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 7px; }
.step p { font-size: 13.5px; color: var(--grey); line-height: 1.55; }
.step.accent { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.step.accent .n { background: rgba(200,162,75,0.18); color: var(--gold); }
.step.accent p { color: rgba(244,241,234,0.72); }

/* ---------- Sectors ---------- */
.sectors { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; max-width: 920px; margin: 0 auto; }
.sector {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 15px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--white);
  font-size: 15px; font-weight: 500; letter-spacing: -0.01em;
  transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.sector:hover { transform: translateY(-2px); border-color: var(--gold); box-shadow: var(--shadow-sm); }
.sector .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

/* ---------- Why AHZENJ ---------- */
.why-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.why-list { display: grid; gap: 14px; }
.why-item { display: flex; gap: 16px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.why-item .ic { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold-deep); }
.why-item .ic svg { width: 20px; height: 20px; }
.why-item h4 { font-size: 16.5px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 5px; }
.why-item p { font-size: 14px; color: var(--grey); line-height: 1.55; }
.why-aside { position: relative; }
.why-quote {
  background: var(--ink); color: var(--paper);
  border-radius: var(--radius-lg); padding: 40px 38px;
  position: relative; overflow: hidden; box-shadow: var(--shadow-md);
}
.why-quote::before { content: ""; position: absolute; inset: 0; background: radial-gradient(90% 70% at 100% 0%, rgba(200,162,75,0.30) 0%, rgba(200,162,75,0) 55%); }
.why-quote .q { position: relative; z-index: 1; font-size: clamp(22px, 2.6vw, 30px); font-weight: 600; line-height: 1.28; letter-spacing: -0.03em; }
.why-quote .q .hl { color: var(--gold); }
.why-quote .meta { position: relative; z-index: 1; margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(244,241,234,0.14); font-family: "Geist Mono", monospace; font-size: 12px; letter-spacing: 0.06em; color: rgba(244,241,234,0.66); }

/* ---------- About ---------- */
.about-wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: start; }
.about-body p { font-size: clamp(16px, 1.5vw, 17.5px); color: var(--grey); line-height: 1.68; }
.about-body p + p { margin-top: 18px; }
.about-body strong { color: var(--ink); font-weight: 600; }
.about-card { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); padding: 30px 32px; box-shadow: var(--shadow-sm); }
.about-card h4 { font-family: "Geist Mono", monospace; font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--gold-deep); margin-bottom: 20px; }
.about-card dl { display: grid; gap: 0; }
.about-card .row { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line-2); }
.about-card .row:last-child { border-bottom: none; }
.about-card dt { font-size: 13.5px; color: var(--grey-2); flex: 0 0 auto; }
.about-card dd { font-size: 13.5px; color: var(--ink); font-weight: 500; text-align: right; }

/* ---------- Contact ---------- */
.contact { background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 110% at 50% -20%, rgba(200,162,75,0.26) 0%, rgba(200,162,75,0) 58%); }
.contact .container { position: relative; z-index: 1; }
.contact .sec-label { background: rgba(244,241,234,0.06); border-color: rgba(244,241,234,0.16); color: var(--gold); }
.contact h2 { color: var(--paper); }
.contact .lede { max-width: 56ch; margin: 18px auto 0; text-align: center; color: rgba(244,241,234,0.74); font-size: clamp(16px, 1.6vw, 19px); line-height: 1.6; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 40px; }
.contact-mail {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 38px auto 0; padding: 18px 26px;
  border: 1px solid rgba(244,241,234,0.18); border-radius: var(--radius);
  background: rgba(244,241,234,0.04); width: fit-content;
  font-family: "Geist Mono", monospace; font-size: clamp(15px, 2vw, 19px); letter-spacing: 0.02em; color: var(--paper);
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.contact-mail:hover { border-color: var(--gold); transform: translateY(-2px); }
.contact-mail .ic { color: var(--gold); display: grid; place-items: center; }
.contact-mail .ic svg { width: 20px; height: 20px; }
.contact-note { text-align: center; margin-top: 26px; font-size: 13.5px; color: rgba(244,241,234,0.5); }

/* ---------- Footer ---------- */
.site-footer { padding: 64px 0 40px; background: var(--paper-2); border-top: 1px solid var(--line); }
.footer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.footer-brand img { height: 30px; margin-bottom: 16px; }
.footer-brand p { max-width: 42ch; font-size: 14px; color: var(--grey); line-height: 1.65; }
.footer-cols { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-col h5 { font-family: "Geist Mono", monospace; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--grey-3); margin-bottom: 15px; font-weight: 500; }
.footer-col a, .footer-col span { display: block; font-size: 14.5px; color: var(--ink); opacity: .82; margin-bottom: 11px; transition: opacity .2s, color .2s; }
.footer-col a:hover { opacity: 1; color: var(--gold-deep); }
.footer-bottom { margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line-2); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom .legal { font-size: 13px; color: var(--grey-2); letter-spacing: -0.005em; }
.footer-bottom .legal b { color: var(--ink); font-weight: 600; }
.footer-bottom .disc { font-size: 12.5px; color: var(--grey-3); max-width: 60ch; }

/* ---------- reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 520px; }
  .why-wrap { grid-template-columns: 1fr; gap: 40px; }
  .about-wrap { grid-template-columns: 1fr; gap: 36px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .nav-menu { display: none; }
  .nav-burger { display: flex; }
  .nav-right .btn { display: none; }
  .mobile-menu { display: none; position: fixed; inset: 62px 0 auto 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 18px 24px 26px; z-index: 49; box-shadow: var(--shadow-md); }
  .mobile-menu.open { display: block; }
  .mobile-menu a { display: block; padding: 13px 0; font-size: 17px; font-weight: 500; border-bottom: 1px solid var(--line-2); }
  .mobile-menu .btn { display: inline-flex; margin-top: 16px; width: 100%; }
  .section { padding: 76px 0; }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .flow-grid { grid-template-columns: 1fr; }
  .container { padding: 0 18px; }
  .section { padding: 64px 0; }
  .hero { padding: 60px 0 64px; }
  .hero-trust { gap: 20px; }
}
