/* Sourced district outlines, with directory counts rather than invented factory pins. */
.home-intro--map .hero { grid-template-columns: minmax(0,.75fr) minmax(0,1.25fr); gap: 40px; align-items: center; }
.home-intro--map .hero h1 { font-size: clamp(40px,4.2vw,62px); }
.home-intro--map .hero-copy { align-self: start; }
.hero-feature { display: grid; min-height: 490px; align-items: center; margin-bottom: 18px; }
.hero-introduction,.factory-map-focus { grid-area: 1 / 1; min-width: 0; }
.hero[data-district-focus] .hero-introduction { visibility: hidden; pointer-events: none; }
.factory-map-focus { align-self: start; color: #fffefa; }
.factory-map-focus-panel h2 { margin: 0; color: inherit; font-size: clamp(32px,3vw,46px); font-weight: 650; line-height: 1.2; letter-spacing: -.025em; }
.factory-map-focus-geometry { display: block; width: 100%; height: 210px; margin: 16px 0; overflow: visible; }
.factory-map-focus-geometry path { fill: #d2e2cc; stroke: #fffefa; stroke-width: 1.5px; vector-effect: non-scaling-stroke; }
.factory-map-focus-summary { margin: 0 0 12px; color: #dce0d5; font-size: 16px; line-height: 1.6; }
.factory-map-focus-counts { margin: 0; color: #fffefa; font-size: 13px; line-height: 1.8; font-variant-numeric: tabular-nums; }
.factory-map-focus-counts span { display: block; }
.factory-map-focus-industries { display: flex; flex-wrap: wrap; gap: 0 16px; margin-top: 9px; }
.factory-map-focus-industries a { display: inline-flex; align-items: center; min-height: 32px; color: #d2e2cc; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.factory-map-focus-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 5px; color: #fffefa; font-size: 14px; font-weight: 650; }
.factory-map-focus-link svg { width: 16px; height: 16px; }
.factory-map-focus a:focus-visible { outline: 3px solid #d2e2cc; outline-offset: 4px; }
.factory-map { min-width: 0; color: var(--surface,#fffefa); align-self: stretch; }
.factory-map-heading h2 { color: inherit; font-size: 22px; font-weight: 650; line-height: 1.4; letter-spacing: -.02em; }
.factory-map-heading p { margin: 8px 0 0; max-width: 60ch; color: #dce0d5; font-size: 14px; line-height: 1.7; }
.factory-map-stage { position: relative; }
.factory-map-geography { display: block; width: 100%; height: clamp(340px,33vw,450px); margin: 9px 0 0; overflow: visible; }
.factory-map-region { --district-fill: #d2e2cc; cursor: pointer; outline: none; }
.factory-map-region--Nanhai { --district-fill: #c5d4c1; }
.factory-map-region--Shunde { --district-fill: #aebfa4; }
.factory-map-region--Sanshui { --district-fill: #b9cdb4; }
.factory-map-region--Gaoming { --district-fill: #e8eadb; }
.factory-map-region path { fill: var(--district-fill); stroke: var(--forest,#173e35); stroke-width: 2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.factory-map-labels { pointer-events: none; }
.factory-map-label[data-preview-hidden="true"] { visibility: hidden; }
.factory-map-preview { pointer-events: none; }
.factory-map-raised { transform-box: fill-box; transform-origin: center; transform: translateY(-4px) scale(1.1); filter: drop-shadow(0 7px 7px #071d1866); }
.factory-map-raised path { fill: #fffefa; stroke: #789884; stroke-width: 2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.factory-map-membership { margin: 7px 0 0; color: #dce0d5; font-size: 12px; line-height: 1.7; font-variant-numeric: tabular-nums; }
.factory-map-label { fill: var(--forest,#173e35); stroke: var(--surface,#fffefa); stroke-width: 3px; stroke-linejoin: round; paint-order: stroke fill; font-family: inherit; font-size: 17px; font-weight: 700; letter-spacing: -.015em; }
.factory-map-region[aria-current="true"] path { fill: var(--surface,#fffefa); }
.factory-map-region:focus-visible path { stroke: #d2e2cc; stroke-width: 5px; }
.factory-map-north { fill: #dce0d5; font-size: 12px; }
.factory-map-north path { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.factory-map-districts { display: flex; flex-wrap: wrap; gap: 4px 18px; border-bottom: 1px solid #617068; padding-bottom: 10px; }
.factory-map-districts a { display: inline-flex; align-items: center; min-height: 44px; color: #dce0d5; font-size: 14px; font-weight: 600; text-underline-offset: 7px; }
.factory-map-districts a[aria-current="true"] { color: var(--surface,#fffefa); text-decoration: underline; text-decoration-thickness: 2px; }
.factory-map-panel { padding-block: 15px 0; min-width: 0; }
.factory-map-panel + .factory-map-panel { border-top: 1px solid #617068; margin-top: 16px; }
.factory-map-panel summary { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px 18px; min-height: 44px; cursor: pointer; }
.factory-map-panel summary > span:first-child { font-size: 20px; font-weight: 650; line-height: 1.4; }
.factory-map-panel summary > span:last-child { color: #dce0d5; font-size: 12px; font-variant-numeric: tabular-nums; }
.factory-map[data-factory-map-enhanced="true"] .factory-map-panel { margin-top: 0; border: 0; }
.factory-map[data-factory-map-enhanced="true"] summary { min-height: auto; cursor: default; }
.factory-map-panel summary::-webkit-details-marker { display: none; }
.factory-map-industry-summary { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px 14px; margin: 9px 0 0; color: #dce0d5; font-size: 13px; line-height: 1.7; }
.factory-map-industry-summary a { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; color: var(--surface,#fffefa); text-decoration: underline; text-underline-offset: 4px; }
.factory-map svg:not(.factory-map-geography) { width: 16px; height: 16px; flex-shrink: 0; }
.factory-map-industries { display: flex; flex-wrap: wrap; gap: 0 18px; margin-top: 2px; }
.factory-map-industries a { min-height: 40px; display: inline-flex; align-items: center; color: #d2e2cc; font-size: 13px; text-decoration: underline; text-decoration-color: #617068; text-underline-offset: 4px; }
.factory-map-businesses { list-style: none; padding: 0; margin: 5px 0 0; }
.factory-map-businesses li { min-width: 0; }
.factory-map-businesses a { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 40px; padding-block: 6px; color: var(--surface,#fffefa); font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.factory-map-businesses svg { color: #d2e2cc; }
.factory-map-directory-link { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; margin-top: 7px; font-size: 14px; font-weight: 650; color: #d2e2cc; }
.factory-map-empty { margin-top: 14px; font-size: 14px; color: #dce0d5; }
.factory-map-note { margin: 12px 0 0; max-width: 76ch; color: #dce0d5; font-size: 11px; line-height: 1.75; }
.factory-map-note a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.factory-map :is(a,summary):focus-visible { outline: 3px solid #d2e2cc; outline-offset: 4px; }
.factory-map .factory-map-region:focus-visible { outline: none; }
.factory-map ::selection { background: #d2e2cc; color: var(--forest,#173e35); }
.factory-map-announcement { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (hover:hover) and (pointer:fine) {
  .factory-map-region:hover path { fill: var(--surface,#fffefa); }
  .factory-map :is(.factory-map-businesses a,.factory-map-directory-link):hover { text-decoration: underline; text-underline-offset: 5px; }
}
@media (prefers-reduced-motion:no-preference) {
  .factory-map-region path { transition: fill 160ms var(--ease,cubic-bezier(.2,.65,.3,1)); }
  .factory-map-raised { animation: district-enlarge 200ms cubic-bezier(.16,1,.3,1) both; }
  .factory-map-focus-panel:not([hidden]) { animation: district-count-in 180ms ease-out both; }
}
@keyframes district-enlarge { from { transform: translateY(0) scale(1); } to { transform: translateY(-4px) scale(1.1); } }
@keyframes district-count-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion:reduce) { .factory-map-raised { transform: none; } }
@media (max-width:1023px) and (min-width:768px) {
  .home-intro--map .hero { grid-template-columns: minmax(0,.78fr) minmax(0,1.22fr); gap: 28px; }
  .home-intro--map .hero h1 { font-size: 40px; }
  .hero-feature { min-height: 470px; }
  .factory-map-focus-geometry { height: 180px; }
  .factory-map-geography { height: 330px; }
  .factory-map-districts { gap: 3px 15px; }
  .factory-map-districts a { font-size: 13px; }
}
@media (max-width:767px) {
  .home-intro--map .hero { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .home-intro--map .hero-copy { display: contents; }
  .home-intro--map .hero-feature,.home-intro--map .hero-introduction { display: contents; }
  .home-intro--map .factory-map-focus { display: none; }
  .home-intro--map .hero-introduction > h1 { order: 1; }
  .home-intro--map .hero-introduction > p { order: 2; }
  .home-intro--map .factory-map { order: 3; margin-top: 26px; }
  .home-intro--map .account-hero-actions { order: 4; margin-top: 26px; }
  .home-intro--map .hero-copy > .text-link { order: 5; align-self: flex-start; }
  .home-intro--map .home-procurement-links { order: 6; }
  .home-intro--map .hero-location { order: 7; }
  .home-intro--map .hero h1 { font-size: clamp(37px,9.5vw,58px); }
  .factory-map-heading h2 { font-size: 21px; }
  .factory-map-heading p { font-size: 13px; }
  .factory-map-geography { height: auto; aspect-ratio: 1.2; margin-top: 15px; }
  .factory-map-label { font-size: 20px; }
  .factory-map-districts { gap: 3px 17px; }
  .factory-map-districts a { font-size: 13px; }
  .factory-map-panel summary { gap: 5px 12px; }
  .factory-map-panel summary > span:first-child { font-size: 19px; }
}
@media (forced-colors:active) {
  .factory-map-region path { fill: Canvas; stroke: CanvasText; }
  .factory-map-label { fill: CanvasText; stroke: Canvas; }
  .factory-map-region[aria-current="true"] path { stroke: Highlight; stroke-width: 4; }
  .factory-map-region:focus-visible path { stroke: Highlight; stroke-width: 6; }
}
@media print { .factory-map-geography { max-height: 350px; } .factory-map-panel[hidden] { display: block !important; } }
