/* ACWL Consultants — site styles
   Blue + white professional palette; black text */

:root {
  /* Blue + white system; --ink = black text; --gold* aliases = blue accents (legacy names) */
  --ink: #111111;
  --ink-soft: #1A1A1A;
  --ink-muted: #2C2C2C;
  --cream: #FFFFFF;
  --cream-deep: #EEF4FA;
  --paper: #FFFFFF;
  --white: #FFFFFF;
  --gold: #1B6BB5;
  --gold-deep: #0E4F8A;
  --gold-soft: rgba(27, 107, 181, 0.12);
  --gold-line: rgba(27, 107, 181, 0.35);
  --muted: #3A4654;
  --line: rgba(17, 17, 17, 0.08);
  --line-strong: rgba(17, 17, 17, 0.14);
  --bg: var(--cream);
  --navy: #0B3D6E;
  --navy-deep: #072A4D;
  --navy-soft: #0E4F8A;
  --teal: var(--gold);
  --teal-dark: var(--gold-deep);
  --teal-soft: var(--gold-soft);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 4px 28px rgba(11, 61, 110, 0.06);
  --shadow-lg: 0 20px 50px rgba(11, 61, 110, 0.12);
  --shadow-lift: 0 12px 36px rgba(11, 61, 110, 0.1);
  --max: 1160px;
  --font: "Instrument Sans", "Noto Sans TC", system-ui, -apple-system, "Segoe UI",
    "PingFang TC", "Microsoft JhengHei", sans-serif;
  --font-display: "Instrument Sans", "Noto Sans TC", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--gold-deep);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--navy);
}

/* Header — translucent sticky */
.site-header {
  background: var(--cream-deep);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 900;
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.15rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}

.brand:hover {
  text-decoration: none;
  color: var(--ink);
}

.brand-logo {
  display: block;
  height: 72px;
  width: auto;
  max-width: min(700px, 80vw);
  object-fit: contain;
}

.brand-zh {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.brand-en {
  font-size: 0.68rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.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;
}

.nav-toggle {
  display: none;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  cursor: pointer;
  font-family: inherit;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--ink-muted);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.4rem 0.75rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  border-radius: 0;
  background: transparent;
  transition: color 0.2s var(--ease);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.15rem;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.site-nav a:hover {
  background: transparent;
  color: var(--ink);
  text-decoration: none;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.site-nav a.active {
  background: transparent;
  color: var(--ink);
  font-weight: 600;
}

.site-nav a.active::after {
  transform: scaleX(1);
}

.site-nav a.active:hover {
  background: transparent;
  color: var(--ink);
}

/* Layout */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4.5rem 0;
}

.section-tight {
  padding: 3rem 0;
}

.section-alt {
  background: var(--cream-deep);
}

.section-navy {
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.section-navy::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 100% 50%, rgba(27, 107, 181, 0.12), transparent 60%),
    radial-gradient(ellipse 40% 60% at 0% 100%, rgba(27, 107, 181, 0.06), transparent 50%);
  pointer-events: none;
}

.section-navy > .wrap {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.85rem;
}

.section-navy .eyebrow {
  color: #A8D0F0;
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 0.85rem;
  font-weight: 600;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

.section-navy h1,
.section-navy h2,
.section-navy h3 {
  color: var(--white);
}

h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.25rem);
  letter-spacing: -0.035em;
  font-weight: 600;
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  letter-spacing: -0.025em;
}

h3 {
  font-size: 1.08rem;
  letter-spacing: -0.01em;
}

.lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 38rem;
  margin: 0 0 1.75rem;
  line-height: 1.75;
  font-weight: 400;
}

.section-navy .lead {
  color: rgba(255, 255, 255, 0.78);
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 0.875rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  transition:
    background 0.25s var(--ease),
    color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  box-shadow: 0 4px 16px rgba(11, 61, 110, 0.2);
}

.btn-primary:hover {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(11, 61, 110, 0.28);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-secondary:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.section-navy .btn-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.section-navy .btn-secondary:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.btn-ghost {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
  font-weight: 600;
}

.btn-ghost:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

/* Cards & grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.35rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.55rem;
  box-shadow: var(--shadow);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: var(--gold-line);
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.card a.card-link {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 0.1rem;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.card a.card-link:hover {
  color: var(--gold-deep);
  border-color: var(--gold-deep);
  text-decoration: none;
}

.card-icon {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold-deep);
  border: 1px solid var(--gold-line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  margin-bottom: 1.1rem;
}

/* Chips / tags */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition:
    border-color 0.25s var(--ease),
    background 0.25s var(--ease),
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.chip:hover {
  border-color: var(--gold);
  background: var(--gold-soft);
  color: var(--ink);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.chip-version {
  font-weight: 500;
  color: var(--muted);
  font-size: 0.78rem;
}

.tag {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  background: transparent;
  color: var(--ink-muted);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease);
}

.tag:hover {
  border-color: var(--gold);
  color: var(--ink);
  background: var(--gold-soft);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

/* Hero — asymmetric editorial */
.hero {
  padding: 5rem 0 4.5rem;
  background:
    radial-gradient(ellipse 55% 50% at 95% 5%, rgba(27, 107, 181, 0.14), transparent 55%),
    radial-gradient(ellipse 40% 45% at 5% 90%, rgba(27, 107, 181, 0.06), transparent 50%),
    linear-gradient(180deg, var(--paper) 0%, var(--cream) 100%);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-copy h1 {
  max-width: 14ch;
}

.hero-panel {
  background: rgba(11, 61, 110, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--white);
  border-radius: 20px;
  padding: 2rem 1.85rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.18);
  position: relative;
}

.hero-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.5rem;
  right: 1.5rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.6;
}

.hero-panel h3 {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  color: #A8D0F0;
}

.hero-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-panel li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.92rem;
}

.hero-panel li:last-child {
  border-bottom: none;
}

.hero-panel .std-name {
  font-weight: 500;
  letter-spacing: 0.02em;
}

.hero-panel .std-ver {
  color: #A8D0F0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

/* Why us */
.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.checklist li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.checklist li:hover {
  border-color: var(--gold-line);
  box-shadow: var(--shadow);
}

.checklist .tick {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold-deep);
  border: 1px solid var(--gold-line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  margin-top: 0.1rem;
}

/* News teaser / article */
.news-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.85rem;
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.news-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
  border-color: var(--gold-line);
}

.news-badge {
  background: var(--navy);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: 0.4rem 0.65rem;
  border-radius: 6px;
  text-transform: uppercase;
}

.news-meta {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.45rem;
  letter-spacing: 0.02em;
}

.news-card h3 {
  margin-bottom: 0.5rem;
}

.news-card .card-link {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 0.1rem;
}

.news-card .card-link:hover {
  color: var(--gold-deep);
}


/* Contact strip */
.contact-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.5rem 0;
}

.contact-strip a {
  color: #A8D0F0;
}

.contact-strip a:hover {
  color: var(--white);
}

/* Stages */
.stages {
  display: grid;
  gap: 0.85rem;
  counter-reset: stage;
}

.stage {
  counter-increment: stage;
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  gap: 1.15rem;
  align-items: start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.3rem;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.stage:hover {
  border-color: var(--gold-line);
  box-shadow: var(--shadow);
  transform: translateX(4px);
}

.stage::before {
  content: counter(stage, decimal-leading-zero);
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.stage h3 {
  margin: 0.2rem 0 0.3rem;
  font-size: 1rem;
}

.stage p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Standards blocks */
.std-block {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.85rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.std-block:hover {
  border-color: var(--gold-line);
  box-shadow: var(--shadow-lift);
}

.std-block header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1rem;
  margin-bottom: 0.95rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.std-block header h3 {
  margin: 0;
}

.std-ver-pill {
  background: var(--gold-soft);
  color: var(--gold-deep);
  border: 1px solid var(--gold-line);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
}

.std-note {
  font-size: 0.85rem;
  color: #0E4F8A;
  background: rgba(27, 107, 181, 0.12);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.85rem;
  margin: 0.85rem 0;
}

.std-meta {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.95rem;
}

.std-meta dt {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold-deep);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0;
}

.std-meta dd {
  margin: 0.15rem 0 0;
  color: var(--ink);
  font-size: 0.95rem;
}

.callout {
  background: var(--cream-deep);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.15rem 1.35rem;
  margin: 1.35rem 0;
  font-size: 0.95rem;
}

.callout strong {
  color: var(--ink);
}

/* Forms */
.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.85rem;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  font: inherit;
  padding: 0.75rem 0.95rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--cream-deep);
  color: var(--ink);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--gold-soft);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.checkbox-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.15rem;
}

.checkbox-grid label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--ink);
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0;
}

.form-hint {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.85rem;
}

.form-status {
  margin-top: 1rem;
  font-size: 0.9rem;
  line-height: 1.5;
  min-height: 1.35em;
}

.form-status[hidden] {
  display: none;
}

.form-status.is-error {
  color: #9b1c1c;
  font-weight: 600;
}

.form-status.is-success {
  color: #1b5e3b;
  font-weight: 600;
}

.form-group input.is-invalid,
.form-group textarea.is-invalid {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.15);
}

/* Contact layout */
.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.75rem;
  align-items: start;
}

.hq-card address {
  font-style: normal;
  line-height: 1.85;
}

.hq-card a {
  font-weight: 600;
}

/* Map */
.map-section {
  margin-top: 3rem;
}

.map-frame {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  position: relative;
}

.map-frame--photo {
  padding: 0.85rem;
  background: var(--cream-deep);
}

.map-stage {
  position: relative;
  width: 100%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #fff;
  line-height: 0;
}

.map-base {
  width: 100%;
  height: auto;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

.map-caption {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0.95rem 0 0;
}

#coverage-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  background: transparent;
  pointer-events: none;
}

#coverage-map .map-dot,
#coverage-map .map-dot-wrap {
  pointer-events: auto;
}

.map-dot {
  cursor: pointer;
  transition: r 0.15s ease;
}

.map-dot:hover,
.map-dot:focus {
  outline: none;
}

#coverage-map .map-dot.hq,
.map-dot.hq {
  fill: #F5C518;
  stroke: #FFFFFF;
  stroke-width: 2.75;
  filter: drop-shadow(0 2px 4px rgba(90, 70, 0, 0.45));
}

#coverage-map .map-dot.city,
.map-dot.city {
  fill: #E8B923;
  stroke: #FFFFFF;
  stroke-width: 1.75;
  filter: drop-shadow(0 1px 2px rgba(90, 70, 0, 0.35));
}

#coverage-map .map-dot-pulse,
.map-dot-pulse {
  fill: rgba(245, 197, 24, 0.4);
  stroke: none;
  pointer-events: none;
}

.map-tooltip {
  position: absolute;
  pointer-events: none;
  background: var(--navy);
  color: var(--white);
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, -120%);
  transition: opacity 0.12s;
  z-index: 5;
  border: 1px solid rgba(27, 107, 181, 0.35);
}

.map-tooltip.visible {
  opacity: 1;
}

.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1.15rem;
  margin-top: 0.85rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.legend-dot.hq {
  background: #F5C518;
  box-shadow: 0 0 0 2px #FFFFFF, 0 0 0 3px #B8860B;
}

.legend-dot.city {
  background: #E8B923;
}

.city-lists {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.15rem;
  margin-top: 1.35rem;
}

/* Keep Headquarters…North America on one row at desktop widths */
@media (min-width: 901px) {
  .city-lists {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.city-lists h4 {
  margin: 0 0 0.45rem;
  font-size: 0.82rem;
  color: var(--ink);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}

.city-lists ul {
  margin: 0;
  padding: 0 0 0 1.1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Page header */
.page-header {
  padding: 3.5rem 0 2.25rem;
  background:
    radial-gradient(ellipse 50% 80% at 90% 0%, rgba(27, 107, 181, 0.12), transparent 55%),
    var(--paper);
  border-bottom: 1px solid var(--line);
}

.page-header .lead {
  margin-bottom: 0;
}

.page-header h1 {
  max-width: 18ch;
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.72);
  padding: 3.5rem 0 1.75rem;
  margin-top: 0;
  font-size: 0.9rem;
  border-top: 1px solid rgba(61, 155, 232, 0.28);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.site-footer h4 {
  color: var(--white);
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.2s var(--ease);
}

.site-footer a:hover {
  color: var(--gold);
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
}


/* Article body */
.article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.25rem 2.15rem;
  box-shadow: var(--shadow);
  max-width: 46rem;
}

.article p {
  margin: 0 0 1.1rem;
}

.archive-note {
  margin-top: 2.25rem;
  padding: 1.15rem 1.25rem;
  background: var(--cream-deep);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid,
  .contact-layout,
  .grid-4,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 0.85rem;
    gap: 0.15rem;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 0.65rem 0.5rem;
  }

  .site-nav a::after {
    display: none;
  }

  .site-nav a.active {
    color: var(--gold-deep);
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .news-card {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    max-width: none;
  }

  .section {
    padding: 3.25rem 0;
  }

  .hero {
    padding: 3.25rem 0 2.75rem;
  }
}

@media (max-width: 560px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 2.75rem 0;
  }

  .hero {
    padding: 2.5rem 0 2rem;
  }

  .page-header {
    padding: 2.5rem 0 1.75rem;
  }

  h1 {
    font-size: clamp(1.85rem, 8vw, 2.4rem);
  }
}


/* ——— Media enrichment (logos / photos) ——— */

.hero-photo {
  position: relative;
  min-height: 28rem;
  padding: 5.5rem 0 4.75rem;
  background-color: var(--navy-deep);
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center 35%;
  color: var(--white);
  overflow: hidden;
}

.hero-photo .hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(7, 42, 77, 0.92) 0%, rgba(11, 61, 110, 0.78) 48%, rgba(11, 61, 110, 0.55) 100%),
    linear-gradient(180deg, rgba(7, 42, 77, 0.35) 0%, transparent 40%, rgba(7, 42, 77, 0.55) 100%);
  pointer-events: none;
}

.hero-photo > .wrap {
  position: relative;
  z-index: 1;
}

.hero-photo .eyebrow {
  color: #A8D0F0;
}

.hero-photo h1 {
  color: var(--white);
}

.hero-photo .lead {
  color: rgba(255, 255, 255, 0.88);
}

.hero-photo .btn-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.06);
}

.hero-photo .btn-secondary:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.hero-photo .btn-primary {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.hero-photo .btn-primary:hover {
  background: #A8D0F0;
  border-color: #A8D0F0;
  color: var(--navy-deep);
}

.page-header-photo {
  position: relative;
  padding: 4.25rem 0 3rem;
  background-color: var(--navy-deep);
  background-image: var(--page-hero);
  background-size: cover;
  background-position: center;
  border-bottom: none;
  color: var(--white);
  overflow: hidden;
}

.page-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(7, 42, 77, 0.9) 0%, rgba(11, 61, 110, 0.72) 55%, rgba(11, 61, 110, 0.55) 100%);
  pointer-events: none;
}

.page-header-inner {
  position: relative;
  z-index: 1;
}

.page-header-photo .eyebrow {
  color: #A8D0F0;
}

.page-header-photo h1 {
  color: var(--white);
  max-width: 18ch;
}

.page-header-photo .lead {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 0;
}

.card.card-media {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-media-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--cream-deep);
}

.card-media-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s var(--ease);
}

.card.card-media:hover .card-media-img img {
  transform: scale(1.05);
}

.card-media .card-body {
  padding: 1.25rem 1.35rem 1.45rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-media .card-icon {
  margin-bottom: 0.75rem;
}

.industry-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
}

.industry-tile {
  margin: 0;
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--navy);
  box-shadow: var(--shadow);
}

.industry-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s var(--ease);
}

.industry-tile:hover img {
  transform: scale(1.06);
}

.industry-tile figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.6rem 0.7rem 0.7rem;
  background: linear-gradient(transparent, rgba(7, 42, 77, 0.88));
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.news-card-media {
  grid-template-columns: 200px 1fr;
  gap: 1.35rem;
  align-items: stretch;
  padding: 1rem;
}

.news-thumb {
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--cream-deep);
  min-height: 140px;
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-card-media > div:last-child {
  padding: 0.5rem 0.65rem 0.5rem 0;
}

.split-visual {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.split-visual-media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  background: var(--cream-deep);
}

.split-visual-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.media-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.media-row-compact {
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.media-row-item {
  margin: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--cream-deep);
  box-shadow: var(--shadow);
  position: relative;
}

.media-row-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s var(--ease);
}

.media-row-item:hover img {
  transform: scale(1.04);
}

.media-row-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.25rem 0.75rem 0.55rem;
  background: linear-gradient(transparent, rgba(7, 42, 77, 0.85));
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.article-hero {
  margin: -0.25rem -0.25rem 1.35rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 21 / 9;
  background: var(--cream-deep);
}

.article-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hq-visual {
  margin: 0 0 1rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--cream-deep);
}

.hq-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 0.65rem;
  text-decoration: none;
}

.footer-logo {
  display: block;
  height: 28px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  opacity: 0.95;
}

.footer-brand-zh {
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.08em;
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .industry-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .split-visual,
  .news-card-media {
    grid-template-columns: 1fr;
  }

  .media-row,
  .media-row-compact {
    grid-template-columns: 1fr 1fr;
  }

  .news-thumb {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }

  .hero-photo {
    min-height: 0;
    padding: 3.5rem 0 3rem;
  }

  .brand-logo {
    height: 60px;
  }
}

@media (max-width: 560px) {
  .industry-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .media-row,
  .media-row-compact {
    grid-template-columns: 1fr;
  }

  .brand-logo {
    height: 52px;
    max-width: min(440px, 78vw);
  }
}


/* Language switcher (top-right) */
.header-inner {
  flex-wrap: wrap;
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  flex-shrink: 0;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-left: auto;
}
.lang-switch a {
  color: var(--muted);
  text-decoration: none;
  padding: 0.28rem 0.45rem;
  border-radius: 4px;
  line-height: 1.2;
}
.lang-switch a:hover {
  color: var(--navy);
  background: rgba(27, 107, 181, 0.08);
  text-decoration: none;
}
.lang-switch a.active {
  color: var(--navy);
  background: rgba(27, 107, 181, 0.12);
}
.lang-switch .lang-sep {
  color: var(--line);
  font-weight: 400;
  user-select: none;
  padding: 0 0.05rem;
}
@media (min-width: 901px) {
  .header-inner {
    flex-wrap: nowrap;
  }
  .header-inner .brand { order: 1; }
  .header-inner .site-nav {
    order: 2;
    margin-left: auto;
  }
  .header-inner .lang-switch {
    order: 3;
    margin-left: 1rem;
  }
}
@media (max-width: 900px) {
  .header-inner .brand { order: 1; }
  .header-inner .lang-switch {
    order: 2;
    margin-left: auto;
    margin-right: 0.4rem;
  }
  .header-inner .nav-toggle { order: 3; }
  .header-inner .site-nav { order: 4; width: 100%; }
}

/* EN capitalization: sentence case (no forced ALL CAPS) */
html[lang="en"] .eyebrow,
html[lang="en"] .hero-panel h3,
html[lang="en"] .news-badge,
html[lang="en"] .std-meta dt,
html[lang="en"] .form-group label,
html[lang="en"] .city-lists h4,
html[lang="en"] .site-footer h4,
html[lang="en"] .brand-en {
  text-transform: none;
  letter-spacing: 0.04em;
}
html[lang="en"] .news-badge {
  letter-spacing: 0.08em;
}

/* EN desktop nav: 2 rows (3+3) — Services/Coverage/Contact on one row.
   3-column grid forces Home/About/Standards then Services/Coverage/Contact.
   Typography slightly tightened so the block fits beside the wide logo.
   ZH layouts + mobile hamburger unchanged (this rule is lang=en + min-width 901). */
@media (min-width: 901px) {
  html[lang="en"] .site-nav {
    display: grid;
    grid-template-columns: repeat(3, max-content);
    column-gap: 0.05rem;
    row-gap: 0.1rem;
    justify-content: end;
    align-items: center;
  }
  html[lang="en"] .site-nav a {
    font-size: 0.76rem;
    padding: 0.35rem 0.48rem;
    letter-spacing: 0.04em;
  }
  html[lang="en"] .site-nav a::after {
    left: 0.48rem;
    right: 0.48rem;
  }
}


/* Honeypot — hide from humans, leave for bots */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.form-grid > .form-hint.full {
  grid-column: 1 / -1;
  margin-top: 0;
  margin-bottom: 0;
}
.req-mark {
  color: #b33;
  font-weight: 600;
}
