/* ==========================================================================
   N1S Sdn. Bhd. 恩壹盛国际 - design system
   Identity: navy + antique gold + ivory. Motif: the gateway arch and the
   seven-link service chain. Bilingual in place (zh primary, en secondary).
   ========================================================================== */

:root {
  --navy-950: #081426;
  --navy-900: #0C1F38;
  --navy-800: #12294A;
  --navy-700: #1A3A66;
  --gold-600: #8F6B24;
  --gold-500: #C9A24B;
  --gold-400: #DDBB6E;
  --gold-300: #EBD7A4;
  --gold-200: #F3E7C8;
  --ivory: #FAF8F2;
  --white: #FFFFFF;
  --ink: #182A3D;
  --slate: #4E617A;
  --mist: #93A6BA;
  --hairline: rgba(201, 162, 75, .38);
  --hairline-soft: rgba(201, 162, 75, .22);

  --font-display: "Marcellus", "Noto Serif SC", "Source Han Serif SC", "SimSun", serif;
  --font-body: "Mulish", "Noto Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;

  --wrap: 1140px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 10px;
  --arch: 999px 999px 14px 14px;
}

/* ---- base -------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.28;
  color: var(--ink);
  margin: 0 0 .55em;
}

h2 { text-wrap: balance; }

p { margin: 0 0 1em; }

a { color: var(--gold-600); text-decoration: none; }
a:hover { color: var(--navy-800); }

:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 2px;
  border-radius: 2px;
}

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.prose { max-width: 44rem; }
.prose--center { margin-inline: auto; }

/* language visibility (JS swaps simple strings; blocks use paired divs) */
html[lang="zh"] .lang-en { display: none !important; }
html[lang="en"] .lang-zh { display: none !important; }
/* in English mode these secondary labels would repeat the English title */
html[lang="en"] .svc__en, html[lang="en"] .trio__en { display: none; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* skip link */
.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 200;
  background: var(--gold-500);
  color: var(--navy-950);
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 700;
}
.skip:focus { left: 8px; }

/* ---- header ------------------------------------------------------------ */

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 20, 38, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline-soft);
}

.topbar__in {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 76px;
}

.brand { display: flex; align-items: center; gap: 12px; color: var(--white); }
.brand:hover { color: var(--white); }

.brand__mark { width: 44px; height: 44px; flex: none; }

.brand__names { display: flex; flex-direction: column; line-height: 1.16; }
.brand__zh {
  font-family: var(--font-display);
  font-size: 1.22rem;
  letter-spacing: .14em;
  color: var(--gold-300);
}
.brand__en {
  font-size: .72rem;
  letter-spacing: .22em;
  color: var(--mist);
  text-transform: uppercase;
}

.nav { margin-left: auto; }

.nav__list {
  display: flex;
  gap: clamp(16px, 2.4vw, 30px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__link {
  color: rgba(255, 255, 255, .82);
  font-size: .95rem;
  letter-spacing: .04em;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav__link:hover { color: var(--gold-300); }
.nav__link[aria-current="page"] {
  color: var(--gold-300);
  border-bottom-color: var(--gold-500);
}

.lang-switch {
  display: flex;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 3px;
  flex: none;
}

.lang-btn {
  font-family: var(--font-body);
  font-size: .82rem;
  letter-spacing: .06em;
  color: var(--mist);
  background: transparent;
  border: 0;
  border-radius: 999px;
  padding: 5px 13px;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.lang-btn:hover { color: var(--gold-300); }
.lang-btn[aria-pressed="true"] {
  background: var(--gold-500);
  color: var(--navy-950);
  font-weight: 700;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  color: var(--gold-300);
  padding: 8px 10px;
  cursor: pointer;
}
.nav-toggle svg { display: block; }

.top-cta { flex: none; }

/* mobile nav panel */
@media (max-width: 940px) {
  .topbar__in { min-height: 64px; }
  .brand__mark { width: 38px; height: 38px; }
  .brand__zh { font-size: 1.05rem; }
  .topbar__in .top-cta { display: none; }
  html.js .topbar__in .nav { display: none; }
  .nav-toggle { display: block; }

  html.js .topbar.open .nav {
    display: block;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--navy-950);
    border-bottom: 1px solid var(--hairline-soft);
    padding: 8px var(--gutter) 20px;
  }
  .topbar.open .nav__list {
    flex-direction: column;
    gap: 2px;
  }
  .topbar.open .nav__link {
    display: block;
    padding: 12px 4px;
    font-size: 1.02rem;
    border-bottom: 0;
  }
}
@media (min-width: 941px) {
  .topbar .lang-switch { order: 5; }
}

/* ---- buttons ----------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .03em;
  border-radius: 999px;
  padding: 13px 26px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s, box-shadow .2s, background .2s, color .2s, border-color .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--gold {
  background: linear-gradient(160deg, var(--gold-400), var(--gold-600));
  color: var(--navy-950);
  box-shadow: 0 6px 18px rgba(201, 162, 75, .28);
}
.btn--gold:hover { transform: translateY(-1px); box-shadow: 0 9px 24px rgba(201, 162, 75, .36); color: var(--navy-950); }

.btn--ghost {
  border-color: var(--hairline);
  color: var(--gold-300);
  background: transparent;
}
.btn--ghost:hover { border-color: var(--gold-400); color: var(--gold-200); background: rgba(201, 162, 75, .08); }

/* ghost buttons are designed for dark grounds; recolour them on light ones */
.notfound .btn--ghost { color: var(--gold-600); border-color: rgba(169, 129, 47, .5); }
.notfound .btn--ghost:hover { color: var(--navy-800); border-color: var(--gold-600); background: rgba(201, 162, 75, .08); }

.btn--outline-light {
  border-color: rgba(255, 255, 255, .35);
  color: var(--white);
  background: transparent;
}
.btn--outline-light:hover { border-color: var(--gold-400); color: var(--gold-200); }

/* ---- hero -------------------------------------------------------------- */

.hero {
  position: relative;
  background:
    linear-gradient(180deg, rgba(8, 20, 38, .78) 0%, rgba(8, 20, 38, .62) 45%, rgba(8, 20, 38, .92) 100%),
    var(--navy-950) url("../img/hero-kl.jpg") center 38% / cover no-repeat;
  color: var(--white);
  text-align: center;
  padding: clamp(88px, 14vh, 150px) 0 clamp(72px, 10vh, 110px);
}

.hero::after {
  /* thin gold baseline, the stage floor of the page */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-500) 30%, var(--gold-300) 50%, var(--gold-500) 70%, transparent);
}

.hero__inner { max-width: 62rem; margin-inline: auto; }

.hero__brand {
  font-family: var(--font-display);
  color: var(--gold-300);
  text-transform: uppercase;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  letter-spacing: .5em;
  text-indent: .5em; /* balance the trailing tracking */
  margin-bottom: 22px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4.6vw, 3.3rem);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 20px;
  text-wrap: balance;
}

.hero__sub {
  color: rgba(255, 255, 255, .86);
  max-width: 44rem;
  margin: 0 auto 34px;
  font-size: 1.04rem;
}

.hero__cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* the seven-link chain under the hero */
.chain {
  background: var(--navy-950);
  border-bottom: 1px solid var(--hairline-soft);
  padding: 26px 0 30px;
}

.chain__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 4px;
}

.chain__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--mist);
  font-size: .88rem;
  letter-spacing: .02em;
  white-space: nowrap;
}

.chain__num {
  font-family: var(--font-display);
  color: var(--gold-500);
  font-size: .95rem;
  min-width: 1.2em;
}

.chain__link {
  width: 18px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-600), var(--gold-400));
  flex: none;
}

/* ---- sections ---------------------------------------------------------- */

.section { padding: clamp(64px, 9vw, 104px) 0; }
.section--tight { padding: clamp(44px, 6vw, 72px) 0; }

.section--navy {
  background:
    radial-gradient(1100px 480px at 50% -80px, rgba(26, 58, 102, .55), transparent 70%),
    var(--navy-900);
  color: rgba(255, 255, 255, .88);
}
.section--navy h2, .section--navy h3 { color: var(--white); }

.section__head { margin-bottom: clamp(36px, 5vw, 56px); }
.section__head--center { text-align: center; }

.sec-sub {
  display: block;
  font-size: .95rem;
  letter-spacing: .12em;
  color: var(--gold-600);
  margin-bottom: 10px;
}
.section--navy .sec-sub { color: var(--gold-400); }

.section__head h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }

.rule {
  width: 64px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-600), var(--gold-300));
  border: 0;
  margin: 18px 0 0;
}
.section__head--center .rule { margin-inline: auto; }

/* two-column intro with arch image */
.duo {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .85fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.arch-wrap { position: relative; border-radius: var(--arch); }
.arch-wrap::after {
  content: "";
  position: absolute;
  inset: -12px;
  border: 1px solid var(--hairline);
  border-radius: inherit;
  pointer-events: none;
}

/* the gateway dome suits scenes; people photos use the soft variant so the
   curve never clips anyone's hair */
.arch {
  position: relative;
  border-radius: inherit;
  overflow: hidden;
  background: var(--navy-800);
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch-wrap--soft { border-radius: 22px 22px 14px 14px; }
/* people photos: bias the crop toward the top so hair is never clipped */
.arch-wrap--soft .arch img { object-position: 50% 12%; }

/* quiet fact list inside intro */
.facts { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 10px; }
.facts li { display: flex; gap: 12px; align-items: baseline; color: var(--slate); }
.facts .dot {
  width: 7px; height: 7px; flex: none;
  transform: rotate(45deg);
  background: var(--gold-500);
  position: relative; top: -1px;
}

/* ---- services grid (hairline blocks, no card boxes) -------------------- */

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--hairline-soft);
}

.svc {
  padding: clamp(26px, 3vw, 38px) clamp(18px, 2.4vw, 30px);
  border-bottom: 1px solid var(--hairline-soft);
  border-right: 1px solid var(--hairline-soft);
}

.svc-grid .svc:nth-child(3n) { border-right: 0; }

.svc__icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: var(--gold-400);
  background: rgba(201, 162, 75, .07);
}
.svc__icon svg { width: 24px; height: 24px; }

.svc h3 { font-size: 1.28rem; margin-bottom: 2px; }
.svc__en {
  font-size: .86rem;
  letter-spacing: .1em;
  color: var(--gold-400);
  margin-bottom: 12px;
}

.svc p { color: rgba(255, 255, 255, .78); font-size: .98rem; margin-bottom: 14px; }

.svc__scope { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.svc__scope li {
  display: flex; gap: 10px;
  font-size: .92rem;
  color: var(--mist);
  align-items: baseline;
}
.svc__scope .tick { color: var(--gold-500); flex: none; }

/* light-bg variant (services page) */
.section--light .svc-grid { border-top-color: rgba(24, 42, 61, .08); }
.section--light .svc { border-color: rgba(24, 42, 61, .08); }
.section--light .svc h3 { color: var(--ink); }
.section--light .svc__en { color: var(--gold-600); }
.section--light .svc p { color: var(--slate); }
.section--light .svc__scope li { color: var(--slate); }
.section--light .svc__icon { border-color: var(--hairline); color: var(--gold-600); background: rgba(201, 162, 75, .08); }

/* ---- journey (numbered chain - a true sequence) ------------------------- */

.journey { list-style: none; margin: 0; padding: 0; counter-reset: step; }

.journey li {
  counter-increment: step;
  position: relative;
  padding: 0 0 34px 58px;
}

.journey li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0; top: -2px;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  color: var(--gold-600);
  font-family: var(--font-display);
  font-size: .98rem;
  display: grid;
  place-items: center;
  background: var(--ivory);
  z-index: 1;
}

.journey li::after {
  content: "";
  position: absolute;
  left: 20px; top: 40px; bottom: 6px;
  width: 1px;
  background: linear-gradient(180deg, var(--gold-500), rgba(201, 162, 75, .15));
}

.journey li:last-child { padding-bottom: 0; }
.journey li:last-child::after { display: none; }

.journey h3 { font-size: 1.18rem; margin-bottom: 4px; }
.journey p { color: var(--slate); font-size: .97rem; margin: 0; max-width: 40rem; }

.section--navy .journey p { color: var(--mist); }

/* vertical rail variant used on light panels */
.journey--onlight li::before { background: var(--white); }

/* ---- brand trio (恩 壹 盛) ---------------------------------------------- */

.trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 48px);
  text-align: center;
}

.trio__char {
  font-family: var(--font-display);
  font-size: clamp(4.6rem, 9vw, 7rem);
  line-height: 1;
  background: linear-gradient(170deg, var(--gold-200), var(--gold-500) 55%, var(--gold-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 14px;
}

.trio h3 { font-size: 1.2rem; letter-spacing: .1em; margin-bottom: 6px; }
.trio__en {
  font-size: .82rem;
  letter-spacing: .24em;
  color: var(--gold-400);
  margin-bottom: 14px;
  text-transform: uppercase;
}
.trio p { color: rgba(255, 255, 255, .78); font-size: .96rem; max-width: 20rem; margin-inline: auto; }

.trio > div { position: relative; padding-top: 26px; }
.trio > div::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 46px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
}

/* ---- why-us points ------------------------------------------------------ */

.points {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 36px);
  list-style: none;
  margin: 0; padding: 0;
}

.points h3 { font-size: 1.1rem; margin-bottom: 8px; }
.points p { color: var(--slate); font-size: .95rem; margin: 0; }
.section--navy .points p { color: var(--mist); }
.points .glyph {
  font-family: var(--font-display);
  color: var(--gold-600);
  font-size: 1.5rem;
  line-height: 1;
  margin-bottom: 14px;
  display: block;
}

/* ---- team ---------------------------------------------------------------- */

.member {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: clamp(36px, 5vw, 60px) 0;
  border-top: 1px solid rgba(24, 42, 61, .1);
}
.member:first-of-type { border-top: 0; }
.member--flip { grid-template-columns: minmax(0, 1fr) 300px; }
.member--flip .member__media { order: 2; }

.member__media { width: 100%; }
.member__media .arch { aspect-ratio: 4 / 5; }
.member__role {
  display: inline-block;
  font-size: .86rem;
  letter-spacing: .1em;
  color: var(--gold-600);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 5px 16px;
  margin-bottom: 16px;
}
.member h3 { font-size: 1.7rem; margin-bottom: 4px; }
.member h3 span {
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  color: var(--slate);
  margin-left: 12px;
  letter-spacing: .08em;
}
.member__en {
  font-size: .88rem;
  letter-spacing: .12em;
  color: var(--gold-600);
  margin-bottom: 16px;
}
.member p { color: var(--slate); max-width: 40rem; }

.member__links { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 9px; }
.member__links li { display: flex; gap: 12px; align-items: center; color: var(--ink); }
.member__links svg { width: 17px; height: 17px; color: var(--gold-600); flex: none; }
.member__links a { color: var(--ink); }
.member__links a:hover { color: var(--gold-600); }

/* mini team preview on home */
.team-mini {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 44px);
}
.team-mini .member { border-top: 0; padding: 0; grid-template-columns: 210px minmax(0,1fr); gap: 26px; align-items: center; }
.team-mini .member h3 { font-size: 1.3rem; }
/* ---- contact ------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.ccard {
  border: 1px solid rgba(24, 42, 61, .12);
  border-radius: var(--radius);
  padding: 24px 26px;
  background: var(--white);
  margin-bottom: 18px;
}
.ccard h3 { font-size: 1.25rem; margin-bottom: 2px; }
.ccard .member__en { margin-bottom: 12px; }
.ccard ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 9px; }
.ccard li { display: flex; gap: 12px; align-items: center; color: var(--ink); }
.ccard li svg { width: 17px; height: 17px; color: var(--gold-600); flex: none; }
.ccard a { color: var(--ink); }
.ccard a:hover { color: var(--gold-600); }

/* form */
.form {
  background: var(--white);
  border: 1px solid rgba(24, 42, 61, .12);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 36px);
}
.form h3 { font-size: 1.35rem; margin-bottom: 18px; }

.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink);
  margin-bottom: 6px;
}
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  font-size: .97rem;
  color: var(--ink);
  background: var(--ivory);
  border: 1px solid rgba(24, 42, 61, .18);
  border-radius: 8px;
  padding: 11px 14px;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(201, 162, 75, .18);
}
.field textarea { min-height: 120px; resize: vertical; }

.form__actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-top: 20px; }
.form__alt { font-size: .88rem; color: var(--slate); }

.form-note { font-size: .82rem; color: var(--slate); margin: 14px 0 0; }

/* visit panel (no external map dependency: Google Maps is unreachable for
   many mainland-China visitors) */
.visit-panel {
  margin-top: clamp(36px, 5vw, 56px);
  background:
    radial-gradient(700px 240px at 85% -60px, rgba(26, 58, 102, .8), transparent 70%),
    var(--navy-900);
  border: 1px solid var(--hairline-soft);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, .86);
  padding: clamp(24px, 3.4vw, 40px) clamp(24px, 3.4vw, 44px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.visit-panel__main { display: flex; gap: 20px; align-items: flex-start; max-width: 46rem; }
.visit-panel__glyph {
  width: 46px; height: 46px; flex: none;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  display: grid; place-items: center;
  color: var(--gold-400);
}
.visit-panel__glyph svg { width: 22px; height: 22px; }
.visit-panel h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 6px; }
.visit-panel p { margin: 0; font-size: .97rem; color: rgba(255, 255, 255, .78); }

/* ---- CTA band ------------------------------------------------------------ */

.cta-band {
  background:
    radial-gradient(900px 300px at 50% 0%, rgba(26, 58, 102, .5), transparent 70%),
    var(--navy-950);
  border-top: 1px solid var(--hairline-soft);
  color: var(--white);
  text-align: center;
  padding: clamp(56px, 8vw, 84px) 0;
}
.cta-band h2 { color: var(--white); font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin-bottom: 12px; }
.cta-band p { color: rgba(255, 255, 255, .8); max-width: 40rem; margin: 0 auto 30px; }
.cta-band .hero__cta { justify-content: center; }

/* ---- page band (subpage hero) -------------------------------------------- */

.band {
  position: relative;
  background:
    linear-gradient(180deg, rgba(8, 20, 38, .82), rgba(8, 20, 38, .94)),
    var(--navy-950) url("../img/hero-kl.jpg") center 30% / cover no-repeat;
  color: var(--white);
  text-align: center;
  padding: clamp(64px, 10vh, 104px) 0;
  border-bottom: 1px solid var(--hairline-soft);
}
.band h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 2.9rem);
  margin-bottom: 12px;
}
.band .sec-sub { color: var(--gold-400); }
.band p.lede {
  color: rgba(255, 255, 255, .82);
  max-width: 42rem;
  margin: 14px auto 0;
}

/* ---- extended services strip --------------------------------------------- */

.extend {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 36px);
}
.extend > div {
  border-left: 2px solid var(--gold-500);
  padding: 4px 0 4px 22px;
}
.extend h3 { font-size: 1.15rem; margin-bottom: 4px; }
.extend h3 span {
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--gold-600);
  margin-left: 10px;
}
.extend p { color: var(--slate); font-size: .95rem; margin: 0; }

/* who we serve */
.aud { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); }
.aud li { border-top: 1px solid var(--hairline-soft); padding-top: 18px; }
.aud h3 { font-size: 1.12rem; margin-bottom: 6px; }
.aud p { color: var(--slate); font-size: .94rem; margin: 0; }

/* ---- footer --------------------------------------------------------------- */

.footer {
  background: var(--navy-950);
  color: var(--mist);
  border-top: 1px solid var(--hairline-soft);
  padding: clamp(48px, 6vw, 72px) 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(40px, 5vw, 60px);
}

.footer h3 {
  font-family: var(--font-body);
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--gold-400);
  margin: 0 0 16px;
}

.footer .brand__zh { color: var(--gold-300); }
.footer .brand__tag {
  margin-top: 14px;
  font-size: .88rem;
  line-height: 1.7;
  color: var(--mist);
  max-width: 22rem;
}

.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer a { color: var(--mist); font-size: .92rem; }
.footer a:hover { color: var(--gold-300); }

.footer__contact li { display: flex; gap: 10px; align-items: baseline; }
.footer__contact svg { width: 15px; height: 15px; color: var(--gold-500); flex: none; transform: translateY(2px); }

.footer__base {
  border-top: 1px solid rgba(201, 162, 75, .14);
  padding: 20px 0 26px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: space-between;
  font-size: .82rem;
  color: rgba(147, 166, 186, .75);
}

/* floating whatsapp */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: #21b358;
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(8, 20, 38, .35);
  transition: transform .15s;
}
.wa-float:hover { transform: translateY(-2px); color: var(--white); }
.wa-float svg { width: 26px; height: 26px; }

/* ---- 404 ------------------------------------------------------------------- */

.notfound { min-height: 62vh; display: grid; place-items: center; text-align: center; }
.notfound .code {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 12vw, 7.5rem);
  color: transparent;
  background: linear-gradient(170deg, var(--gold-200), var(--gold-600));
  -webkit-background-clip: text;
  background-clip: text;
  line-height: 1;
}

/* ---- motion ----------------------------------------------------------------- */

/* reveal starts hidden only when JS is confirmed present (html.js), so
   content stays visible without JavaScript */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
html.js .reveal.in { opacity: 1; transform: none; }
html.no-anim .reveal { opacity: 1; transform: none; }
html.no-anim .hero__brand, html.no-anim .hero h1, html.no-anim .hero__sub, html.no-anim .hero__cta,
html.no-anim .band h1, html.no-anim .band .sec-sub, html.no-anim .band p.lede { animation: none; }

@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hero__brand, .hero h1, .hero__sub, .hero__cta, .band h1, .band .sec-sub, .band p.lede {
  animation: rise .8s ease both;
}
.hero h1 { animation-delay: .12s; }
.hero__sub { animation-delay: .24s; }
.hero__cta { animation-delay: .36s; }
.band .sec-sub { animation-delay: 0s; }
.band p.lede { animation-delay: .12s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .hero__brand, .hero h1, .hero__sub, .hero__cta, .band h1, .band .sec-sub, .band p.lede { animation: none; }
  .btn, .wa-float, .nav__link, .lang-btn { transition: none; }
}

/* ---- responsive -------------------------------------------------------------- */

@media (max-width: 1020px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid .svc:nth-child(3n) { border-right: 1px solid var(--hairline-soft); }
  .svc-grid .svc:nth-child(2n) { border-right: 0; }
  .points { grid-template-columns: repeat(2, 1fr); }
  .aud { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .duo { grid-template-columns: 1fr; }
  .duo .arch-wrap { max-width: 480px; margin-inline: auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .member, .member--flip { grid-template-columns: 1fr; }
  .team-mini .member { grid-template-columns: 1fr; }
  .team-mini .member__media { max-width: 340px; }
  .member--flip .member__media { order: 0; }
  .member__media { max-width: 340px; }
  .team-mini { grid-template-columns: 1fr; }
  .extend { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc-grid .svc { border-right: 0 !important; }
  .points { grid-template-columns: 1fr; }
  .trio { grid-template-columns: 1fr; gap: 34px; }
  .footer__grid { grid-template-columns: 1fr; }
  .chain__item { white-space: normal; }
  .chain__link { display: none; }
  .chain__row { gap: 8px 18px; }
  .hero__cta .btn { width: 100%; justify-content: center; }
  .brand__en { letter-spacing: .14em; }
  .topbar__in { gap: 12px; }
  .brand__zh { font-size: .98rem; letter-spacing: .1em; white-space: nowrap; }
  .brand__en { font-size: .6rem; white-space: nowrap; }
}
