:root {
  color-scheme: light;
  --canvas: linear-gradient(180deg, #fafbfe 0%, #eef3fb 100%);
  --surface: rgba(255, 255, 255, 0.78);
  --surface-solid: #ffffff;
  --surface-soft: rgba(255, 255, 255, 0.58);
  --surface-border: rgba(15, 23, 42, 0.08);
  --surface-border-strong: rgba(31, 111, 235, 0.16);
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #7b8aa3;
  --primary-50: #eef4ff;
  --primary-100: #dbe9ff;
  --primary-400: #4a8dff;
  --primary-500: #1f6feb;
  --primary-900: #0d2d63;
  --warm-50: #fff6e8;
  --warm-100: #ffe5bb;
  --warm-400: #f5b850;
  --warm-500: #ee9b24;
  --warm-900: #6b3f06;
  --dark-900: #0b1324;
  --dark-800: #101b31;
  --success-500: #1f8f5f;
  --shadow-rest: 0 1px 3px rgba(15, 23, 42, 0.04), 0 4px 12px rgba(15, 23, 42, 0.03);
  --shadow-hover: 0 8px 32px rgba(15, 23, 42, 0.08), 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-featured: 0 24px 64px rgba(15, 23, 42, 0.12), 0 8px 20px rgba(15, 23, 42, 0.06);
  --shadow-glow: 0 12px 40px rgba(31, 111, 235, 0.18);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --font-heading: "Manrope", "Noto Sans TC", sans-serif;
  --font-body: "Inter", "Manrope", sans-serif;
  --content-width: min(1320px, calc(100% - 48px));
  --site-header-height: 132px;
  --anchor-offset: calc(var(--site-header-height) + 20px);
  --transition-fast: 180ms ease-out;
  --transition-long: 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes ambientFloatBlue {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.1;
  }
  50% {
    transform: translate3d(-2.4vw, 1.2vw, 0) scale(1.06);
    opacity: 0.15;
  }
  100% {
    transform: translate3d(1.8vw, -1.4vw, 0) scale(0.98);
    opacity: 0.11;
  }
}

@keyframes ambientFloatGold {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.08;
  }
  50% {
    transform: translate3d(2vw, -1.4vw, 0) scale(1.08);
    opacity: 0.14;
  }
  100% {
    transform: translate3d(-1.6vw, 1.2vw, 0) scale(0.96);
    opacity: 0.09;
  }
}

@keyframes gridDrift {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(0, -18px, 0);
  }
}

@keyframes heroAuraPulse {
  0% {
    transform: translate3d(-3%, 0, 0) scale(1);
    opacity: 0.2;
  }
  50% {
    transform: translate3d(2%, -2%, 0) scale(1.04);
    opacity: 0.32;
  }
  100% {
    transform: translate3d(1%, 2%, 0) scale(0.98);
    opacity: 0.22;
  }
}

@keyframes shimmerSweep {
  0% {
    transform: translateX(-130%) skewX(-20deg);
  }
  100% {
    transform: translateX(180%) skewX(-20deg);
  }
}

@keyframes cardSheen {
  0% {
    transform: translate3d(-8%, 0, 0);
    opacity: 0;
  }
  100% {
    transform: translate3d(8%, 0, 0);
    opacity: 1;
  }
}

@keyframes mediaReveal {
  0% {
    opacity: 0;
    transform: translate3d(0, 14px, 0) scale(1.05);
    filter: saturate(0.92) contrast(0.98);
  }
  60% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1.005);
    filter: saturate(1.04) contrast(1.01);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: saturate(1) contrast(1);
  }
}

@media (prefers-color-scheme: dark) {
  :root[data-theme="dark"] {
    color-scheme: dark;
    --canvas: linear-gradient(180deg, #0b0f1a 0%, #111827 100%);
    --surface: rgba(255, 255, 255, 0.05);
    --surface-solid: rgba(17, 24, 39, 0.92);
    --surface-soft: rgba(255, 255, 255, 0.08);
    --surface-border: rgba(255, 255, 255, 0.08);
    --surface-border-strong: rgba(74, 141, 255, 0.28);
    --text-primary: #f1f5f9;
    --text-secondary: #c6d0e1;
    --text-muted: #8da0bd;
    --primary-50: #132445;
    --primary-100: #18335f;
    --primary-400: #76a9ff;
    --primary-500: #4a8dff;
    --primary-900: #d7e6ff;
    --warm-50: #36260d;
    --warm-100: #5b3d14;
    --warm-400: #ffc164;
    --warm-500: #ee9b24;
    --warm-900: #fff0d3;
    --dark-900: #050913;
    --dark-800: #0a1121;
    --shadow-rest: 0 1px 3px rgba(0, 0, 0, 0.18), 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-hover: 0 8px 32px rgba(0, 0, 0, 0.28), 0 2px 8px rgba(0, 0, 0, 0.18);
    --shadow-featured: 0 24px 64px rgba(0, 0, 0, 0.32), 0 8px 20px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 12px 40px rgba(74, 141, 255, 0.2);
  }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--anchor-offset);
  overflow-x: clip;
}

body {
  position: relative;
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  padding-top: var(--site-header-height);
  font-family: var(--font-body);
  line-height: 1.78;
  color: var(--text-primary);
  background: var(--canvas);
}

main [id],
footer [id] {
  scroll-margin-top: var(--anchor-offset);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  width: 30vw;
  height: 30vw;
  min-width: 280px;
  min-height: 280px;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.12;
  pointer-events: none;
  z-index: -1;
}

body::before {
  top: -10vw;
  right: -6vw;
  background: radial-gradient(circle, rgba(31, 111, 235, 0.9) 0%, rgba(31, 111, 235, 0) 70%);
  animation: ambientFloatBlue 18s ease-in-out infinite;
}

body::after {
  bottom: -12vw;
  left: -8vw;
  background: radial-gradient(circle, rgba(238, 155, 36, 0.9) 0%, rgba(238, 155, 36, 0) 68%);
  animation: ambientFloatGold 22s ease-in-out infinite;
}

html.drawer-open,
body.drawer-open {
  overflow: hidden;
  overscroll-behavior: none;
}

body.drawer-open {
  overscroll-behavior: none;
  touch-action: none;
}

html.drawer-open {
  overscroll-behavior: none;
}

body.drawer-open .page-main {
  touch-action: none;
}

[hidden] {
  display: none !important;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(31, 111, 235, 0.2);
}

.section-shell {
  width: var(--content-width);
  margin: 0 auto;
}

.section-grid-gap-md {
  margin-top: 22px;
}

.skip-link {
  position: absolute;
  top: 16px;
  left: 24px;
  z-index: 50;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--surface-solid);
  border: 1px solid var(--surface-border);
  transform: translateY(-150%);
  transition: transform var(--transition-fast);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 30;
  background: rgba(250, 252, 255, 0.98);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(22px);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
}

.site-header::after {
  content: "";
  display: block;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(31, 111, 235, 0) 0%,
    rgba(31, 111, 235, 0.16) 24%,
    rgba(238, 155, 36, 0.14) 50%,
    rgba(31, 111, 235, 0.16) 76%,
    rgba(31, 111, 235, 0) 100%
  );
}

.site-utility {
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
  background: rgba(255, 255, 255, 0.84);
}

.site-utility-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 36px;
}

.utility-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.utility-meta-brand {
  color: var(--text-primary);
}

.utility-meta span {
  position: relative;
}

.utility-meta span + span::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(123, 138, 163, 0.5);
  transform: translateY(-50%);
}

.utility-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-shell {
  display: grid;
  gap: 0;
  padding: 12px 0;
}

.header-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  width: auto;
  flex: 0 0 auto;
}

.brand-mark {
  width: 44px;
  height: 44px;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary-500), var(--primary-400));
  box-shadow: var(--shadow-glow);
  color: #f8fbff;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-text strong {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.12;
}

.brand-text small {
  color: var(--text-muted);
  max-width: 22ch;
  font-size: 0.7rem;
  line-height: 1.45;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex: 1 1 auto;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-rest);
  overflow-x: auto;
  scrollbar-width: none;
}

.desktop-nav::-webkit-scrollbar {
  display: none;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--text-secondary);
  white-space: nowrap;
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    border-color var(--transition-fast),
    background-color var(--transition-fast),
    color var(--transition-fast);
}

.drawer-link {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.62);
  color: var(--text-secondary);
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    border-color var(--transition-fast),
    background-color var(--transition-fast),
    color var(--transition-fast);
}

.nav-link:hover,
.nav-link:focus-visible,
.drawer-link:hover,
.drawer-link:focus-visible {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(31, 111, 235, 0.18);
  box-shadow: var(--shadow-rest);
}

.nav-link.is-current,
.drawer-link.is-current {
  color: var(--text-primary);
  background: linear-gradient(135deg, rgba(31, 111, 235, 0.12), rgba(74, 141, 255, 0.06));
  box-shadow: inset 0 0 0 1px rgba(31, 111, 235, 0.16);
  border-color: rgba(31, 111, 235, 0.26);
}

.desktop-nav .nav-zh {
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
}

.desktop-nav .nav-en {
  display: none;
}

.drawer-link .nav-zh {
  font-size: 0.79rem;
  font-weight: 700;
  line-height: 1.2;
}

.drawer-link .nav-en {
  font-family: var(--font-heading);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: end;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 4px 6px 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--surface-border);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-rest);
}

.header-actions > .language-switch .language-label {
  display: none;
}

.header-actions > .language-switch {
  flex: 0 0 auto;
}

.language-label {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.language-options {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  padding: 2px;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.05);
  white-space: nowrap;
}

.language-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 48px;
  min-height: 30px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  color: var(--text-secondary);
  transition:
    color var(--transition-fast),
    background-color var(--transition-fast),
    box-shadow var(--transition-fast),
    transform var(--transition-fast);
}

.language-option:hover,
.language-option:focus-visible {
  color: var(--text-primary);
}

.language-option.is-active {
  color: #f8fbff;
  background: linear-gradient(135deg, var(--primary-500), var(--primary-400));
  box-shadow: 0 10px 26px rgba(31, 111, 235, 0.18);
}

.button {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  font-weight: 700;
  line-height: 1.1;
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    border-color var(--transition-fast),
    background-color var(--transition-fast),
    color var(--transition-fast);
}

.button::after {
  content: "";
  position: absolute;
  inset: -18% auto -18% -32%;
  width: 34%;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.34) 48%, rgba(255, 255, 255, 0) 100%);
  transform: translateX(-130%) skewX(-20deg);
  pointer-events: none;
}

.button-compact {
  min-height: 42px;
  padding: 10px 16px;
  gap: 8px;
}

.button span {
  display: block;
}

.button small {
  font-family: var(--font-heading);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.8;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  color: #f8fbff;
  background: linear-gradient(135deg, var(--primary-500), var(--primary-400));
  box-shadow: var(--shadow-glow);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 16px 42px rgba(31, 111, 235, 0.22);
}

.button:hover::after,
.button:focus-visible::after {
  animation: shimmerSweep 900ms cubic-bezier(0.16, 1, 0.3, 1) 1;
}

.button-secondary {
  color: var(--text-primary);
  border-color: var(--surface-border);
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(14px);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(31, 111, 235, 0.24);
  background: rgba(255, 255, 255, 0.82);
}

.header-cta {
  white-space: nowrap;
  padding-inline: 18px;
  box-shadow: var(--shadow-rest);
}

.header-cta small {
  display: none;
}

.header-cta:hover,
.header-cta:focus-visible {
  border-color: rgba(31, 111, 235, 0.24);
  box-shadow: var(--shadow-hover);
}

.header-cta.is-current {
  color: var(--text-primary);
  border-color: rgba(31, 111, 235, 0.34);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-rest);
}

.mobile-toggle {
  width: 46px;
  height: 46px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  color: var(--text-primary);
  border: 1px solid var(--surface-border);
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(14px);
  flex: none;
}

.mobile-toggle svg,
.footer-action-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 45;
  overflow: hidden;
  touch-action: none;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 15, 30, 0.36);
  opacity: 0;
  touch-action: none;
  transition: opacity var(--transition-fast);
}

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(408px, 100vw);
  min-height: 100%;
  min-height: 100dvh;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px 22px 20px;
  padding-top: calc(24px + env(safe-area-inset-top, 0px));
  padding-right: calc(22px + env(safe-area-inset-right, 0px));
  padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  padding-left: calc(22px + env(safe-area-inset-left, 0px));
  background: rgba(250, 252, 255, 0.95);
  border-left: 1px solid rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(24px);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  transform: translateX(100%);
  transition: transform var(--transition-long);
}

.mobile-drawer.is-open .drawer-backdrop {
  opacity: 1;
}

.mobile-drawer.is-open .drawer-panel {
  transform: translateX(0);
}

.drawer-head,
.drawer-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.drawer-head {
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.drawer-head .brand:focus-visible {
  box-shadow: none;
  outline: none;
}

.drawer-head .brand:focus-visible .brand-text strong {
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
  text-decoration-color: rgba(31, 111, 235, 0.72);
}

.drawer-head .brand:focus-visible .brand-text small {
  color: var(--text-secondary);
}

.drawer-close {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.05);
  color: var(--text-primary);
  font-size: 1.8rem;
  line-height: 1;
}

.drawer-nav {
  display: grid;
  gap: 10px;
  align-content: start;
  overflow: visible;
}

.drawer-panel > .language-switch {
  width: fit-content;
  max-width: 100%;
}

.drawer-link {
  padding: 13px 15px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.48);
}

.drawer-foot {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  align-items: flex-start;
  flex-direction: column;
}

.drawer-foot p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.page-main {
  position: relative;
}

.home-portal-head {
  padding: 34px 0 0;
}

.home-portal-shell {
  display: grid;
  gap: 16px;
}

.home-portal-top {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(320px, 0.78fr);
  gap: 16px;
  align-items: stretch;
}

.home-intro-card,
.home-summary-panel,
.home-quick-item,
.home-update-card {
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow-rest);
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    border-color var(--transition-fast),
    background-color var(--transition-fast);
}

.home-intro-card:hover,
.home-summary-panel:hover,
.home-quick-item:hover,
.home-update-card:hover {
  transform: translateY(-2px);
  border-color: rgba(31, 111, 235, 0.18);
  box-shadow: var(--shadow-hover);
}

.home-intro-card {
  position: relative;
  overflow: hidden;
  min-height: 468px;
  padding: 42px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(244, 248, 255, 0.93) 46%, rgba(238, 244, 255, 0.9) 100%),
    url("assets/hengmao/taiwan-city.jpg") center / cover no-repeat;
}

.home-intro-card::before,
.home-intro-card::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(0);
  pointer-events: none;
}

.home-intro-card::before {
  width: 280px;
  height: 280px;
  right: -80px;
  top: -84px;
  background: radial-gradient(circle, rgba(31, 111, 235, 0.14) 0%, rgba(31, 111, 235, 0) 72%);
}

.home-intro-card::after {
  width: 220px;
  height: 220px;
  left: -40px;
  bottom: -60px;
  background: radial-gradient(circle, rgba(238, 155, 36, 0.12) 0%, rgba(238, 155, 36, 0) 72%);
}

.home-intro-card > * {
  position: relative;
  z-index: 1;
}

.home-portal-eyebrow {
  margin: 0 0 18px;
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.home-intro-card h1 {
  margin: 0;
  max-width: 10.4ch;
  font-family: var(--font-heading);
  font-size: clamp(2.7rem, 4.35vw, 4.35rem);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: 0;
  color: #172338;
  text-wrap: balance;
  hyphens: manual;
  overflow-wrap: normal;
  word-break: normal;
}

.home-intro-lead {
  max-width: 40rem;
  margin: 22px 0 0;
  font-size: 1.02rem;
  line-height: 1.82;
  color: var(--text-secondary);
}

.home-intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.home-summary-panel {
  display: grid;
  align-content: start;
  gap: 16px;
  min-height: 468px;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(247, 249, 254, 0.9) 100%);
}

.home-summary-panel h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.65rem, 2.15vw, 2.3rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: 0;
  color: #172338;
}

.home-summary-panel p {
  margin: 0;
  color: var(--text-secondary);
}

.home-summary-points {
  display: grid;
  gap: 14px;
  margin-top: 6px;
}

.home-summary-point {
  display: grid;
  gap: 6px;
  padding-top: 16px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.home-summary-point strong {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.35;
  color: #172338;
}

.home-summary-point span {
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.72;
}

.home-quick-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.home-quick-item {
  display: grid;
  gap: 0;
  padding: 24px 26px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.84);
}

.home-quick-label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.home-quick-item strong {
  margin-top: 14px;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 1;
  font-weight: 800;
  color: #172338;
}

.home-quick-item small {
  margin-top: 10px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

.home-update-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.home-update-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 28px 26px 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.8);
}

.home-update-card h3 {
  margin: 14px 0 0;
  font-family: var(--font-heading);
  font-size: 1.34rem;
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: 0;
  color: #172338;
  text-wrap: balance;
}

.home-update-card p {
  margin: 12px 0 0;
  color: var(--text-secondary);
  flex: 1;
}

.home-update-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.home-modules-intro {
  padding: 34px 0 24px;
}

.home-modules-shell {
  display: grid;
  gap: 12px;
  max-width: 860px;
}

.home-modules-shell h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.08;
  font-weight: 800;
}

.home-modules-shell p {
  margin: 0;
  color: var(--text-secondary);
}

.hero-carousel {
  position: relative;
  min-height: clamp(680px, 82vh, 780px);
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-long);
}

.hero-slide.is-active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
}

.hero-slide::before,
.page-hero::before,
.site-footer::before,
.dark-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-slide.theme-foundation {
  background:
    linear-gradient(90deg, rgba(251, 252, 255, 0.92) 0%, rgba(251, 252, 255, 0.84) 34%, rgba(251, 252, 255, 0.38) 68%, rgba(251, 252, 255, 0.18) 100%),
    linear-gradient(135deg, rgba(238, 155, 36, 0.16) 0%, rgba(31, 111, 235, 0.12) 100%),
    url("assets/hengmao/home-hero-solar.jpg") center / cover no-repeat;
}

.hero-slide.theme-energy {
  background:
    linear-gradient(90deg, rgba(250, 252, 255, 0.94) 0%, rgba(250, 252, 255, 0.86) 34%, rgba(250, 252, 255, 0.44) 68%, rgba(250, 252, 255, 0.22) 100%),
    linear-gradient(135deg, rgba(31, 111, 235, 0.08) 0%, rgba(238, 155, 36, 0.18) 100%),
    url("assets/hengmao/factory-campus.jpg") center / cover no-repeat;
}

.hero-slide.theme-partner {
  background:
    linear-gradient(90deg, rgba(252, 252, 255, 0.94) 0%, rgba(252, 252, 255, 0.88) 36%, rgba(252, 252, 255, 0.48) 68%, rgba(252, 252, 255, 0.22) 100%),
    linear-gradient(135deg, rgba(238, 155, 36, 0.12) 0%, rgba(31, 111, 235, 0.1) 100%),
    url("assets/hengmao/asia-philippines.jpg") center / cover no-repeat;
}

.hero-slide::before,
.page-hero::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.04));
  animation: gridDrift 14s linear infinite alternate;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: -6%;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 28%, rgba(255, 255, 255, 0.22), transparent 28%),
    radial-gradient(circle at 74% 22%, rgba(31, 111, 235, 0.14), transparent 26%),
    radial-gradient(circle at 82% 74%, rgba(238, 155, 36, 0.16), transparent 22%);
  filter: blur(24px);
  opacity: 0;
  transition: opacity var(--transition-long);
}

.hero-slide.is-active::after {
  opacity: 1;
  animation: heroAuraPulse 16s ease-in-out infinite;
}

.hero-shell {
  position: relative;
  z-index: 1;
  min-height: inherit;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: center;
  padding: 116px 0 112px;
}

.hero-copy,
.page-hero-copy,
.section-heading {
  max-width: 760px;
}

.section-kicker,
.hero-kicker {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary-500);
}

.kicker-en {
  color: var(--text-muted);
}

.kicker-en.is-redundant {
  display: none;
}

html[lang="en"] .section-kicker .kicker-en {
  display: none;
}

.hero-copy h1,
.page-hero-copy h1 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.02;
}

.hero-lead,
.page-summary,
.section-intro {
  margin: 22px 0 0;
  font-size: 1rem;
  color: var(--text-secondary);
}

.hero-lead {
  max-width: 640px;
}

.hero-copy {
  max-width: min(860px, 100%);
}

.hero-copy h1 {
  max-width: 100%;
  font-size: clamp(3.35rem, 6vw, 5.45rem);
}

.page-hero-copy h1 {
  font-size: clamp(2.65rem, 4.2vw, 4rem);
}

.section-en,
.hero-en,
.page-en,
.footer-summary-en {
  margin: 12px 0 0;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-stats {
  display: none;
}

.hero-stat,
.stat-card,
.info-card,
.link-card,
.news-card,
.contact-card,
.process-step,
.timeline-item,
.surface-panel,
.glass-card {
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-rest);
  backdrop-filter: blur(20px);
}

.hero-stat,
.stat-card {
  padding: 20px;
}

.hero-stat strong,
.stat-card strong {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  line-height: 1;
}

.hero-stat span,
.stat-card span {
  display: block;
  margin-top: 8px;
  color: var(--text-secondary);
  font-size: 0.94rem;
}

.hero-visual,
.page-hero-media {
  position: relative;
}

.hero-carousel .hero-visual {
  display: none;
}

.visual-board,
.media-board {
  position: relative;
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.56);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.64) 0%, rgba(233, 242, 255, 0.82) 100%);
  box-shadow: var(--shadow-featured);
  overflow: hidden;
}

.visual-board::before,
.media-board::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(31, 111, 235, 0.16), transparent 28%),
    radial-gradient(circle at bottom left, rgba(238, 155, 36, 0.14), transparent 28%);
  pointer-events: none;
}

.visual-board {
  display: grid;
  gap: 16px;
  min-height: 520px;
}

.visual-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.95fr);
  gap: 16px;
}

.glass-card {
  position: relative;
  z-index: 1;
  padding: 22px;
}

.glass-card h3,
.info-card h3,
.link-card h3,
.news-card h3,
.contact-card h3,
.process-step h3,
.surface-panel h3,
.timeline-item h3,
.section-heading h2,
.cta-panel h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.55rem, 2vw, 2.45rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.08;
}

.glass-card p,
.info-card p,
.link-card p,
.news-card p,
.contact-card p,
.timeline-item p,
.process-step p,
.surface-panel p {
  margin: 14px 0 0;
  color: var(--text-secondary);
}

.glass-card .metric-value {
  display: block;
  margin-top: 8px;
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
}

.glass-card .metric-caption {
  display: block;
  margin-top: 8px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(31, 111, 235, 0.08);
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 700;
}

.progress-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.progress-item {
  display: grid;
  gap: 8px;
}

.progress-item strong {
  font-family: var(--font-heading);
  font-size: 0.92rem;
}

.progress-bar {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.progress-bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary-500), var(--primary-400));
}

.board-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.board-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.54);
  font-size: 0.92rem;
}

.board-list span:last-child {
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  z-index: 2;
  pointer-events: none;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: clamp(16px, 2.5vw, 24px);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 10px;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  transform: translateX(-50%);
  pointer-events: auto;
}

.hero-controls .section-shell {
  display: flex;
  justify-content: flex-start;
}

.hero-dot {
  width: 18px;
  height: 2px;
  padding: 0;
  border-radius: 999px;
  border: 0;
  background: rgba(15, 23, 42, 0.16);
  transition:
    transform var(--transition-fast),
    background-color var(--transition-fast),
    box-shadow var(--transition-fast),
    opacity var(--transition-fast);
}

.hero-dot.is-active {
  background: var(--primary-500);
  box-shadow: 0 6px 14px rgba(31, 111, 235, 0.2);
  transform: scaleX(1.25);
}

.hero-dot:hover,
.hero-dot:focus-visible {
  background: rgba(31, 111, 235, 0.72);
  opacity: 1;
}

.hero-dot:not(.is-active) {
  opacity: 0.64;
}

.hero-dot:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 4px rgba(31, 111, 235, 0.14),
    0 8px 18px rgba(31, 111, 235, 0.18);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 120px 0 72px;
}

.page-hero.tone-foundation {
  background:
    linear-gradient(90deg, rgba(252, 253, 255, 0.94) 0%, rgba(252, 253, 255, 0.88) 40%, rgba(252, 253, 255, 0.52) 100%),
    url("assets/hengmao/factory-plant.jpg") center / cover no-repeat;
}

.page-hero.tone-energy {
  background:
    linear-gradient(90deg, rgba(252, 253, 255, 0.94) 0%, rgba(252, 253, 255, 0.86) 40%, rgba(252, 253, 255, 0.5) 100%),
    url("assets/hengmao/solar-tree.jpg") center / cover no-repeat;
}

.page-hero.tone-quality {
  background:
    linear-gradient(90deg, rgba(252, 253, 255, 0.94) 0%, rgba(252, 253, 255, 0.88) 40%, rgba(252, 253, 255, 0.5) 100%),
    url("assets/hengmao/nature-seedling.jpg") center / cover no-repeat;
}

.page-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 40px;
  align-items: center;
}

.page-section,
.dark-section,
.cta-section {
  position: relative;
  padding: 88px 0;
}

.metric-strip {
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(12px);
}

.metric-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.metric-item {
  padding: 18px 28px 20px;
  border-right: 1px solid rgba(15, 23, 42, 0.08);
}

.metric-item:last-child {
  border-right: 0;
}

.metric-label {
  display: inline-flex;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.metric-value {
  display: block;
  margin-top: 10px;
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1;
}

.metric-note {
  display: block;
  margin-top: 8px;
  color: var(--text-secondary);
  font-size: 0.94rem;
}

.updates-band {
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.updates-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.95fr) repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.updates-mark {
  display: grid;
  align-content: end;
  gap: 16px;
  min-height: 220px;
  padding: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(246, 249, 255, 0.98));
}

.updates-mark strong {
  font-family: var(--font-heading);
  font-size: clamp(2.75rem, 5vw, 4.25rem);
  font-weight: 700;
  color: rgba(15, 23, 42, 0.12);
}

.updates-mark p {
  margin: 0;
  color: var(--text-secondary);
}

.update-column {
  min-height: 220px;
  padding: 28px;
  border-left: 1px solid rgba(15, 23, 42, 0.06);
  background: rgba(255, 255, 255, 0.76);
}

.update-column h3 {
  margin: 14px 0 0;
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.16;
}

.update-column p {
  margin: 14px 0 0;
  color: var(--text-secondary);
}

.update-column a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: var(--primary-500);
  font-weight: 700;
}

.feature-section {
  padding: 0;
}

.feature-grid-primary,
.feature-grid-secondary {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(15, 23, 42, 0.04);
}

.feature-grid-primary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-grid-secondary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  background-color: #203149;
}

.feature-grid-primary .feature-tile {
  min-height: 360px;
}

.feature-grid-secondary .feature-tile {
  min-height: 280px;
}

.feature-tile::before,
.feature-tile::after {
  content: "";
  position: absolute;
  inset: 0;
}

.feature-tile::after {
  background:
    linear-gradient(180deg, rgba(8, 15, 29, 0.02) 0%, rgba(8, 15, 29, 0.24) 42%, rgba(8, 15, 29, 0.8) 100%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
}

.tile-engineering::before {
  background: url("assets/hengmao/nature-hands.jpg") center / cover no-repeat;
}

.tile-delivery::before {
  background: url("assets/hengmao/factory-delivery.jpg") center / cover no-repeat;
}

.tile-company::before {
  background: url("assets/hengmao/taiwan-landmark.jpg") center / cover no-repeat;
}

.tile-energy::before {
  background: url("assets/hengmao/solar-tree.jpg") center / cover no-repeat;
}

.tile-quality::before {
  background: url("assets/hengmao/factory-campus.jpg") center / cover no-repeat;
}

.tile-partnership::before {
  background: url("assets/hengmao/asia-philippines.jpg") center / cover no-repeat;
}

.tile-network::before {
  background: url("assets/hengmao/asia-indonesia.jpg") center / cover no-repeat;
}

.tile-updates::before {
  background: url("assets/hengmao/factory-engineer.jpg") center / cover no-repeat;
}

.feature-tile .tile-content {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  padding: 22px 24px 20px;
  background: linear-gradient(180deg, rgba(8, 15, 29, 0) 0%, rgba(8, 15, 29, 0.18) 18%, rgba(8, 15, 29, 0.78) 100%);
}

.feature-tile .tile-tag {
  display: inline-flex;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.feature-tile h3 {
  margin: 12px 0 0;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.4vw, 2.15rem);
  font-weight: 800;
  line-height: 1.08;
}

.feature-tile p {
  margin: 12px 0 0;
  max-width: 28rem;
  color: rgba(255, 255, 255, 0.84);
}

.feature-grid-secondary .feature-tile p {
  max-width: 18rem;
}

.feature-tile .tile-meta {
  display: inline-flex;
  margin-top: 18px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
}

.feature-tile:hover,
.feature-tile:focus-visible {
  transform: translateY(-2px);
}

.feature-tile:hover::after,
.feature-tile:focus-visible::after {
  background:
    linear-gradient(180deg, rgba(7, 14, 28, 0.04) 0%, rgba(7, 14, 28, 0.6) 88%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
}

.partner-band {
  position: relative;
  overflow: hidden;
  padding: 64px 0;
  color: #fff9f0;
  background:
    linear-gradient(90deg, rgba(214, 139, 24, 0.96) 0%, rgba(229, 151, 29, 0.94) 42%, rgba(201, 126, 16, 0.96) 100%),
    url("assets/hengmao/asia-indonesia.jpg") center / cover no-repeat;
}

.partner-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    radial-gradient(circle at 16% 18%, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 28%);
  background-size: 54px 54px, 54px 54px, auto;
  opacity: 0.35;
}

.partner-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: start;
}

.partner-band .section-kicker {
  color: #fff7e9;
}

.partner-band .kicker-en {
  color: rgba(255, 249, 240, 0.76);
}

.partner-intro h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 800;
  line-height: 1.08;
}

.partner-intro p,
.partner-intro li {
  color: rgba(255, 249, 240, 0.92);
}

.partner-links {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.partner-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: rgba(16, 18, 23, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fffdf8;
}

.partner-link span:last-child {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 249, 240, 0.78);
}

.directory-card {
  padding: 26px;
  border-radius: var(--radius-lg);
  background: rgba(35, 27, 19, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 24px 64px rgba(113, 64, 0, 0.18);
}

.directory-card h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
}

.directory-card p {
  margin: 12px 0 0;
  color: rgba(255, 249, 240, 0.84);
}

.directory-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.directory-list div {
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
}

.directory-list strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.92rem;
}

.directory-list span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 249, 240, 0.82);
}

.page-section.alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.56) 0%, rgba(255, 255, 255, 0.2) 100%);
  border-top: 1px solid rgba(15, 23, 42, 0.04);
  border-bottom: 1px solid rgba(15, 23, 42, 0.04);
}

.dark-section,
.cta-section {
  color: #f5f8ff;
  background: linear-gradient(180deg, var(--dark-900) 0%, var(--dark-800) 100%);
}

.dark-section::before {
  background:
    radial-gradient(circle at 20% 18%, rgba(74, 141, 255, 0.18), transparent 28%),
    radial-gradient(circle at 82% 16%, rgba(238, 155, 36, 0.16), transparent 32%);
}

.dark-section .section-kicker,
.cta-section .section-kicker {
  color: #9fc0ff;
}

.dark-section .kicker-en,
.cta-section .kicker-en {
  color: rgba(255, 255, 255, 0.6);
}

.dark-section .section-intro,
.dark-section p,
.cta-section p,
.dark-section li,
.cta-section li {
  color: rgba(241, 245, 255, 0.78);
}

.dark-section .info-card,
.dark-section .process-step,
.cta-section .surface-panel,
.dark-section .timeline-item,
.cta-section .cta-panel {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.dark-section .info-card p,
.dark-section .process-step p,
.dark-section .timeline-item p,
.cta-section .surface-panel p,
.cta-section .cta-panel p {
  color: rgba(241, 245, 255, 0.78);
}

.dark-section .card-meta,
.dark-section .news-date,
.dark-section .step-label {
  color: rgba(159, 192, 255, 0.72);
}

.section-heading {
  margin-bottom: 28px;
}

.cards-grid,
.stats-grid,
.process-grid,
.news-grid,
.contact-grid,
.footer-links-grid,
.footer-actions-grid {
  display: grid;
  gap: 24px;
}

.stats-grid.four-up,
.cards-grid.four-up,
.process-grid.four-up {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cards-grid.three-up,
.news-grid.three-up,
.contact-grid.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards-grid.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: start;
}

.split-layout.reverse {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.stack-grid {
  display: grid;
  gap: 20px;
}

.info-card,
.link-card,
.news-card,
.contact-card,
.process-step,
.timeline-item,
.surface-panel {
  padding: 28px;
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    border-color var(--transition-fast),
    background-color var(--transition-fast);
}

.info-card:hover,
.info-card:focus-within,
.link-card:hover,
.link-card:focus-visible,
.news-card:hover,
.news-card:focus-visible,
.contact-card:hover,
.contact-card:focus-visible,
.process-step:hover,
.timeline-item:hover,
.stat-card:hover,
.surface-panel:hover,
.glass-card:hover {
  transform: translateY(-2px);
  border-color: rgba(31, 111, 235, 0.24);
  box-shadow: var(--shadow-hover);
}

.link-card {
  display: block;
}

.card-meta,
.news-date,
.step-label {
  display: inline-flex;
  gap: 8px;
  margin-bottom: 14px;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.timeline-item .timeline-key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  background: rgba(31, 111, 235, 0.08);
  color: var(--primary-500);
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 800;
}

.process-step {
  position: relative;
}

.process-step .step-number {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(31, 111, 235, 0.1);
  color: var(--primary-500);
  font-family: var(--font-heading);
  font-weight: 800;
}

.list-points,
.footer-contact-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.list-points li {
  position: relative;
  padding-left: 18px;
  color: var(--text-secondary);
}

.list-points li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary-500), var(--warm-400));
}

.contact-card a,
.link-card .card-link,
.news-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--primary-500);
  font-weight: 700;
}

.contact-pair {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.contact-pair div {
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.46);
}

.contact-pair strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9rem;
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: center;
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.site-footer {
  position: relative;
  padding: 72px 0 24px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(243, 247, 253, 0.98) 100%),
    url("assets/hengmao/factory-campus.jpg") center / cover no-repeat;
  color: var(--text-primary);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.site-footer::before {
  background:
    radial-gradient(circle at 18% 18%, rgba(31, 111, 235, 0.1), transparent 30%),
    radial-gradient(circle at 82% 14%, rgba(238, 155, 36, 0.08), transparent 32%);
}

.site-footer .section-kicker {
  color: var(--primary-700);
}

.site-footer .kicker-en {
  color: var(--text-muted);
}

.site-footer p,
.site-footer li {
  color: var(--text-secondary);
}

.footer-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
}

.footer-brand-block {
  max-width: 420px;
}

.footer-summary {
  margin: 18px 0 0;
}

.footer-links-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

.footer-column .section-kicker {
  min-height: 56px;
  margin: 0 0 14px;
}

.footer-column a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  min-height: 108px;
  padding: 18px 0 16px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  transition:
    color var(--transition-fast),
    border-color var(--transition-fast),
    transform var(--transition-fast);
}

.footer-column a:hover,
.footer-column a:focus-visible {
  color: var(--primary-700);
  border-color: rgba(31, 111, 235, 0.24);
  transform: translateY(-1px);
}

.footer-link-zh {
  font-weight: 700;
  line-height: 1.2;
}

.footer-link-en {
  font-family: var(--font-heading);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--text-muted);
}

.footer-meta {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 24px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.footer-actions-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.footer-action {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(15, 23, 42, 0.08);
  transition:
    transform var(--transition-fast),
    background-color var(--transition-fast),
    border-color var(--transition-fast);
}

.footer-action:hover,
.footer-action:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(31, 111, 235, 0.24);
  background: rgba(255, 255, 255, 0.9);
}

.footer-action-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  border-radius: 14px;
  background: rgba(31, 111, 235, 0.08);
}

.footer-action strong {
  display: block;
  font-weight: 700;
}

.footer-action small {
  display: block;
  margin-top: 4px;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity var(--transition-long),
    transform var(--transition-long);
  transition-delay: var(--reveal-delay, 0ms);
}

body.motion-ready .reveal {
  opacity: 0;
  transform: translateY(24px);
}

body.motion-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  body::after,
  .hero-slide::before,
  .hero-slide::after,
  .button::after,
  .portal-panel::after,
  .portal-link-card::after,
  .portal-flow-step::after,
  .portal-stat-card::after {
    animation: none !important;
    transition: none !important;
  }

  .portal-card-media img,
  .portal-card-media-grid img {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
  }

  .portal-card-media.is-loaded::after,
  .portal-card-media-grid.is-loaded::after {
    animation: none !important;
  }
}

@media (max-width: 1280px) {
  .brand-text small {
    max-width: 22ch;
  }

  .nav-link {
    padding-inline: 14px;
  }

  .hero-shell,
  .page-hero-grid,
  .footer-shell,
  .cta-panel {
    gap: 32px;
  }
}

@media (max-width: 1180px) {
  .site-utility,
  .header-nav-row,
  .desktop-nav {
    display: none;
  }

  .header-shell {
    padding: 12px 0;
  }

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

  .hero-shell,
  .page-hero-grid,
  .split-layout,
  .cta-panel,
  .footer-shell {
    grid-template-columns: 1fr;
  }

  .hero-carousel {
    min-height: auto;
  }

  .hero-shell {
    padding: 112px 0 88px;
  }

  .drawer-backdrop {
    display: none;
  }

  .drawer-panel {
    position: fixed;
    inset: 0;
    width: auto;
    max-width: none;
    height: auto;
    min-height: 100%;
    min-height: 100dvh;
    border-left: 0;
    border-radius: 0;
    transform: translateY(18px);
    opacity: 0;
    transition:
      transform var(--transition-long),
      opacity var(--transition-fast);
  }

  .mobile-drawer.is-open .drawer-panel {
    transform: translateY(0);
    opacity: 1;
  }

  .visual-board {
    min-height: auto;
  }

  .home-portal-top,
  .home-update-row {
    grid-template-columns: 1fr;
  }

  .home-intro-card,
  .home-summary-panel {
    min-height: auto;
  }
}

@media (max-width: 1024px) {
  .metric-strip-grid,
  .updates-grid,
  .feature-grid-secondary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid-primary,
  .partner-grid {
    grid-template-columns: 1fr;
  }

  .updates-mark {
    min-height: 180px;
  }

  .stats-grid.four-up,
  .cards-grid.four-up,
  .process-grid.four-up,
  .cards-grid.three-up,
  .news-grid.three-up,
  .contact-grid.three-up,
  .footer-links-grid,
  .footer-actions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .page-section,
  .dark-section,
  .cta-section {
    padding: 72px 0;
  }

  .home-quick-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  :root {
    --content-width: min(100% - 32px, 1320px);
  }

  .metric-strip-grid,
  .updates-grid,
  .feature-grid-primary,
  .feature-grid-secondary {
    grid-template-columns: 1fr;
  }

  .home-intro-card,
  .home-summary-panel,
  .home-update-card,
  .home-quick-item {
    min-height: auto;
  }

  .metric-item,
  .update-column {
    border-right: 0;
    border-left: 0;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
  }

  .updates-mark {
    min-height: auto;
  }

  .header-shell {
    padding: 10px 0;
  }

  .header-brand-row,
  .brand {
    align-items: flex-start;
  }

  .brand {
    flex: 1 1 auto;
    width: auto;
    overflow: hidden;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-text {
    gap: 4px;
  }

  .brand-text small {
    display: -webkit-box;
    max-width: 24ch;
    line-height: 1.38;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .drawer-panel {
    left: 0;
    right: auto;
    width: 100vw;
    max-width: 100vw;
    min-height: 100%;
    min-height: 100dvh;
    padding: 20px;
    padding-top: calc(20px + env(safe-area-inset-top, 0px));
    padding-right: calc(20px + env(safe-area-inset-right, 0px));
    padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    padding-left: calc(20px + env(safe-area-inset-left, 0px));
    border-left: 0;
  }

  .hero-copy h1,
  .page-hero-copy h1 {
    font-size: clamp(2.8rem, 12vw, 4rem);
  }

  .hero-copy h1 {
    max-width: 100%;
  }

  .glass-card h3,
  .info-card h3,
  .link-card h3,
  .news-card h3,
  .contact-card h3,
  .timeline-item h3,
  .section-heading h2 {
    font-size: clamp(1.35rem, 6vw, 2rem);
  }

  .cards-grid.two-up,
  .stats-grid.four-up,
  .cards-grid.four-up,
  .cards-grid.three-up,
  .news-grid.three-up,
  .contact-grid.three-up,
  .process-grid.four-up,
  .footer-links-grid,
  .footer-actions-grid {
    grid-template-columns: 1fr;
  }

  .visual-row,
  .timeline-item {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding-top: 104px;
  }

  .hero-shell {
    padding-top: 104px;
  }

  .home-portal-head {
    padding-top: 24px;
  }

  .home-portal-shell {
    gap: 14px;
  }

  .home-intro-card,
  .home-summary-panel,
  .home-quick-item,
  .home-update-card {
    padding: 26px 24px 24px;
  }

  .home-quick-strip,
  .home-update-row {
    grid-template-columns: 1fr;
  }

  .home-intro-card h1 {
    max-width: 100%;
    font-size: clamp(2.2rem, 8.4vw, 3.2rem);
    hyphens: auto;
    overflow-wrap: anywhere;
  }

  .home-intro-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .portal-masthead-compact .portal-masthead-copy h1,
  .portal-heading h2 {
    max-width: 100%;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  :root {
    --content-width: min(100% - 48px, 1320px);
  }

  .header-shell {
    padding: 14px 0 16px;
  }

  .header-brand-row {
    gap: 14px;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 18px;
    font-size: 0.98rem;
  }

  .brand-text strong {
    font-size: 1rem;
  }

  .brand-text small {
    max-width: 28ch;
    font-size: 0.68rem;
    line-height: 1.42;
  }

  .mobile-toggle {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
  }

  .home-intro-card,
  .home-summary-panel,
  .home-quick-item,
  .home-update-card {
    padding: 28px 28px 26px;
  }

  .home-intro-card h1 {
    max-width: 100%;
    font-size: clamp(2.35rem, 7vw, 3.1rem);
  }

  .home-intro-lead {
    max-width: 42rem;
    font-size: 1rem;
  }

  .home-intro-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .home-intro-actions .button {
    width: 100%;
  }

  .portal-masthead {
    padding: 86px 0 32px;
  }

  .portal-masthead-compact {
    padding: 80px 0 26px;
  }

  .portal-masthead-copy h1,
  .portal-masthead-compact .portal-masthead-copy h1 {
    max-width: 100%;
    font-size: clamp(1.92rem, 5vw, 2.42rem);
  }

  .portal-subnav-shell {
    gap: 18px;
    padding: 12px 0 10px;
  }

  .portal-subnav-shell a {
    font-size: 0.76rem;
  }
}

@media (max-width: 900px) and (max-height: 500px) {
  .drawer-panel {
    left: 0;
    right: auto;
    width: 100vw;
    max-width: 100vw;
    min-height: 100%;
    min-height: 100dvh;
    padding: 18px 20px 16px;
    padding-top: calc(18px + env(safe-area-inset-top, 0px));
    padding-right: calc(20px + env(safe-area-inset-right, 0px));
    padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    padding-left: calc(20px + env(safe-area-inset-left, 0px));
    border-left: 0;
  }
}

@media (max-width: 480px) {
  :root {
    --content-width: min(100% - 24px, 1320px);
  }

  .header-brand-row {
    justify-content: flex-start;
    gap: 10px;
    align-items: center;
  }

  .site-header .brand {
    align-items: center;
  }

  .button,
  .mobile-toggle {
    min-height: 44px;
  }

  .mobile-toggle {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    margin-left: auto;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-dots {
    left: 50%;
    right: auto;
    bottom: 14px;
    gap: 6px;
  }

  .hero-dot {
    width: 20px;
    height: 3px;
  }

  .portal-hero .hero-slide .hub-copy {
    max-width: min(100%, 20.5rem);
    min-height: 392px;
  }

  .home-modules-intro {
    padding-top: 28px;
  }

  .home-intro-card,
  .home-summary-panel,
  .home-quick-item,
  .home-update-card {
    padding: 24px 20px 22px;
  }

  .brand-text strong {
    font-size: 0.98rem;
    line-height: 1.1;
  }

  .brand-text {
    overflow: hidden;
  }

  .brand-text small {
    display: -webkit-box;
    max-width: 18ch;
    color: color-mix(in srgb, var(--text-muted) 84%, #ffffff 16%);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    line-height: 1.38;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .drawer-panel > .language-switch .language-label {
    font-size: 0.76rem;
    letter-spacing: 0.14em;
  }

  .drawer-panel > .language-switch .language-option {
    min-width: 52px;
    font-size: 0.78rem;
  }

  .drawer-link .nav-zh {
    font-size: 0.86rem;
    line-height: 1.28;
  }

  .drawer-link .nav-en {
    font-size: 0.61rem;
    line-height: 1.2;
  }

  .home-intro-card h1 {
    max-width: 10.6ch;
    font-size: clamp(2.02rem, 7.8vw, 2.62rem);
    line-height: 1.03;
    hyphens: auto;
    overflow-wrap: anywhere;
  }

  .home-intro-lead {
    font-size: 0.98rem;
    line-height: 1.75;
  }

  .home-portal-eyebrow {
    font-size: 0.68rem;
  }

  .home-summary-panel h2,
  .home-update-card h3 {
    font-size: 1.22rem;
  }

  .portal-masthead-compact .portal-masthead-copy h1 {
    max-width: 12.5ch;
    font-size: clamp(1.85rem, 8.2vw, 2.45rem);
  }

  .portal-heading h2 {
    max-width: 13.5ch;
    font-size: clamp(1.65rem, 7.4vw, 2.3rem);
  }

  .info-card,
  .link-card,
  .news-card,
  .contact-card,
  .process-step,
  .timeline-item,
  .surface-panel,
  .glass-card,
  .stat-card,
  .hero-stat {
    padding: 22px;
  }

  .drawer-panel {
    padding: 20px;
  }
}

.portal-hero.hero-carousel {
  min-height: clamp(620px, 76vh, 720px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.portal-hero .hero-slide::before {
  background:
    linear-gradient(90deg, rgba(250, 252, 255, 0.97) 0%, rgba(250, 252, 255, 0.93) 30%, rgba(250, 252, 255, 0.7) 52%, rgba(250, 252, 255, 0.28) 74%, rgba(250, 252, 255, 0.1) 100%),
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: auto, 96px 96px, 96px 96px;
  mask-image: none;
}

.portal-hero .hero-slide.slide-capability {
  background: url("assets/hengmao/home-hero-solar.jpg") center 52% / cover no-repeat;
}

@media (min-width: 1025px) {
  .portal-hero .hero-slide .hub-slide-shell {
    align-items: flex-start;
    padding: 142px 0 108px;
  }

  .portal-hero .hero-slide .hub-copy {
    max-width: min(52rem, 58vw);
  }

  .portal-hero .hero-slide .hero-kicker {
    margin-bottom: 22px;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
  }

  .portal-hero .hero-slide h1,
  .portal-hero .hero-slide .hub-title {
    font-size: clamp(2.46rem, 3.18vw, 3.7rem);
    line-height: 1.01;
    letter-spacing: -0.038em;
  }

  .portal-hero .hero-slide .hub-lead {
    margin-top: 22px;
  }
}

.portal-hero .hero-slide.slide-energy {
  background: url("assets/hengmao/solar-tree.jpg") center 48% / cover no-repeat;
}

.portal-hero .hero-slide.slide-partner {
  background: url("assets/hengmao/factory-engineer.jpg") center 32% / cover no-repeat;
}

.hub-slide-shell {
  position: relative;
  z-index: 1;
  min-height: inherit;
  display: flex;
  align-items: center;
  padding: 122px 0 94px;
}

.hub-copy {
  display: grid;
  align-content: start;
  grid-auto-flow: row;
  max-width: min(920px, 64vw);
  min-height: clamp(404px, 44vh, 456px);
  min-width: 0;
}

.hub-copy h1 {
  margin: 0;
  font-family: var(--font-heading);
  max-width: 100%;
  font-size: clamp(3rem, 4.35vw, 4.9rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: #172338;
  text-wrap: pretty;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
}

.hub-copy .hub-title {
  margin: 0;
  font-family: var(--font-heading);
  max-width: 100%;
  font-size: clamp(3rem, 4.35vw, 4.9rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: #172338;
  text-wrap: pretty;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
}

.hub-copy .hero-kicker {
  color: var(--primary-500);
  margin-bottom: 16px;
}

.hub-lead {
  max-width: 42rem;
  margin: 18px 0 0;
  font-size: 1.03rem;
  line-height: 1.76;
  color: var(--text-secondary);
}

.hub-copy .hero-en {
  max-width: 46rem;
  font-size: 0.95rem;
  line-height: 1.72;
}

html[lang="de"] .hub-copy h1,
html[lang="de"] .hub-copy .hub-title {
  font-size: clamp(2.72rem, 3.75vw, 4.34rem);
  line-height: 1.01;
  letter-spacing: -0.035em;
  hyphens: auto;
}

html[lang="zh-Hant"] .hub-copy h1,
html[lang="zh-Hant"] .hub-copy .hub-title {
  line-height: 1.02;
  letter-spacing: -0.03em;
}

html[lang="zh-Hant"] .portal-hero .hero-slide.slide-partner .hub-copy {
  max-width: min(52rem, 58vw);
}

html[lang="zh-Hant"] .portal-hero .hero-slide.slide-partner .hub-title {
  letter-spacing: -0.03em;
}

.hub-actions {
  align-self: end;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.ticker-strip {
  position: relative;
  z-index: 2;
  margin-top: -44px;
  padding-bottom: 28px;
  background: transparent;
}

.ticker-strip::before,
.ticker-strip::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
}

.ticker-strip::before {
  top: -36px;
  left: 50%;
  width: min(1120px, 86vw);
  height: 160px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(31, 111, 235, 0.12) 0%, rgba(31, 111, 235, 0) 72%);
  filter: blur(54px);
}

.ticker-strip::after {
  right: 9vw;
  bottom: -14px;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(238, 155, 36, 0.12) 0%, rgba(238, 155, 36, 0) 70%);
  filter: blur(58px);
}

.ticker-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 16px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(245, 248, 255, 0.78) 100%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.12));
  box-shadow: var(--shadow-featured);
  backdrop-filter: blur(24px);
}

.ticker-grid::before,
.ticker-grid::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.ticker-grid::before {
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 92px 92px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0));
  opacity: 0.38;
}

.ticker-grid::after {
  top: -44px;
  right: -28px;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(74, 141, 255, 0.14) 0%, rgba(74, 141, 255, 0) 70%);
  filter: blur(32px);
}

.ticker-item {
  position: relative;
  min-height: 152px;
  padding: 24px 24px 22px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(248, 250, 255, 0.7) 100%),
    linear-gradient(135deg, rgba(31, 111, 235, 0.06), rgba(255, 255, 255, 0));
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
  transition:
    transform var(--transition-fast),
    background-color var(--transition-fast),
    border-color var(--transition-fast),
    box-shadow var(--transition-fast);
}

.ticker-item::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, rgba(31, 111, 235, 0), rgba(31, 111, 235, 0.42), rgba(238, 155, 36, 0.3), rgba(31, 111, 235, 0));
  opacity: 0.72;
}

.ticker-item:hover,
.ticker-item:focus-within {
  transform: translateY(-4px);
  border-color: rgba(31, 111, 235, 0.18);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 46px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.28) inset;
}

.ticker-item:nth-child(2) {
  background:
    linear-gradient(160deg, rgba(13, 45, 99, 0.96) 0%, rgba(11, 19, 36, 0.94) 100%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
  border-color: rgba(74, 141, 255, 0.22);
  box-shadow: var(--shadow-featured), var(--shadow-glow);
}

.ticker-item:nth-child(2)::before {
  background: linear-gradient(90deg, rgba(245, 184, 80, 0), rgba(245, 184, 80, 0.58), rgba(255, 255, 255, 0.3), rgba(245, 184, 80, 0));
}

.ticker-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px 6px;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.04);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.ticker-item strong {
  display: block;
  margin-top: 18px;
  font-family: var(--font-heading);
  font-size: clamp(1.84rem, 2.2vw, 2.24rem);
  line-height: 0.96;
  font-weight: 800;
  color: #172338;
  letter-spacing: -0.03em;
}

.ticker-item p {
  margin: 14px 0 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.ticker-item small {
  display: block;
  margin-top: 6px;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.ticker-item:nth-child(2) .ticker-label {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(219, 229, 255, 0.8);
}

.ticker-item:nth-child(2) strong,
.ticker-item:nth-child(2) p,
.ticker-item:nth-child(2) small {
  color: #f8fbff;
}

.ticker-item:nth-child(2) p {
  color: rgba(232, 239, 255, 0.84);
}

.ticker-item:nth-child(2) small {
  color: rgba(219, 229, 255, 0.72);
}

.home-proof {
  padding-top: 34px;
  padding-bottom: 24px;
}

.home-proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 22px;
  align-items: stretch;
}

.home-proof-copy {
  position: relative;
  overflow: hidden;
  padding: 34px 34px 30px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(245, 248, 255, 0.66) 100%),
    linear-gradient(135deg, rgba(31, 111, 235, 0.05), rgba(255, 255, 255, 0));
  box-shadow: var(--shadow-featured);
  backdrop-filter: blur(18px);
}

.home-proof-copy::before,
.home-proof-copy::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.home-proof-copy::before {
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 92px 92px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0));
  opacity: 0.32;
}

.home-proof-copy::after {
  top: -56px;
  right: -26px;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(31, 111, 235, 0.14) 0%, rgba(31, 111, 235, 0) 70%);
  filter: blur(24px);
}

.home-proof-copy > * {
  position: relative;
  z-index: 1;
}

.home-proof-copy h2 {
  margin: 0;
  max-width: 18ch;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.home-proof-copy p:last-of-type {
  max-width: 46rem;
}

.proof-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.proof-highlight-card {
  position: relative;
  overflow: hidden;
  padding: 28px 28px 24px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 30px;
  background:
    linear-gradient(160deg, rgba(11, 19, 36, 0.96) 0%, rgba(16, 27, 49, 0.92) 100%),
    linear-gradient(135deg, rgba(74, 141, 255, 0.18), rgba(255, 255, 255, 0));
  box-shadow: 0 24px 58px rgba(11, 19, 36, 0.18), var(--shadow-glow);
  color: #f8fbff;
}

.proof-highlight-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 34%),
    radial-gradient(circle at 82% 12%, rgba(245, 184, 80, 0.24) 0%, rgba(245, 184, 80, 0) 28%);
  pointer-events: none;
}

.proof-highlight-card > * {
  position: relative;
  z-index: 1;
}

.proof-highlight-card strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(219, 229, 255, 0.72);
}

.section-aside-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.section-aside-list div {
  padding: 14px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.section-aside-list span {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.94rem;
  font-weight: 700;
  color: #f8fbff;
}

.section-aside-list p {
  margin: 7px 0 0;
  color: rgba(232, 239, 255, 0.82);
}

.proof-matrix {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.updates-band.portal-updates {
  border-top: 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.72);
}

.portal-updates .updates-grid {
  grid-template-columns: minmax(240px, 0.95fr) repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.portal-updates .updates-mark {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px;
  min-height: 240px;
  padding: 28px 28px 24px;
  border-right: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(245, 248, 252, 0.74) 100%);
}

.portal-updates .updates-mark .section-kicker {
  margin: 0;
}

.portal-updates .updates-mark strong {
  font-size: clamp(3rem, 5vw, 4.4rem);
}

.portal-updates .updates-mark > p:not(.section-kicker) {
  max-width: 28ch;
}

.portal-updates .updates-mark .updates-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  font-weight: 700;
  color: var(--text-primary);
}

.portal-updates .update-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  min-height: 240px;
  background: rgba(255, 255, 255, 0.58);
}

.portal-updates .update-column .card-meta,
.portal-updates .update-column h3,
.portal-updates .update-column p {
  margin: 0;
}

.portal-updates .update-column h3 {
  font-size: 1.55rem;
  min-height: 5.15em;
}

.portal-updates .update-column p {
  flex: 1 1 auto;
}

.portal-updates .update-column a {
  margin-top: auto;
}

#home-strategy .section-shell,
#home-routes .section-shell,
#home-domains .section-shell,
#advanced-capabilities .section-shell,
#updates-index .section-shell,
#cooperation-entry .section-shell,
#home-access .section-shell {
  position: relative;
  z-index: 1;
}

.home-strategy-layout {
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 24px;
  align-items: start;
}

.home-strategy-layout .section-heading {
  max-width: none;
}

.home-strategy-layout .section-heading h2 {
  max-width: 24ch;
}

.home-strategy-panels {
  margin-top: 0;
}

.home-strategy-panels .portal-panel,
.home-domain-grid .portal-panel,
.home-access-grid .portal-link-card {
  min-height: 100%;
}

.home-strategy-rail {
  display: grid;
  align-content: start;
  gap: 0;
  min-height: 100%;
  padding: 28px 24px 24px;
}

.home-strategy-rail h3 {
  margin-top: 10px;
  font-size: clamp(1.38rem, 1.72vw, 1.88rem);
  line-height: 1.14;
}

.home-strategy-rail .list-points {
  margin-top: 20px;
}

.home-feature-stage {
  padding-top: 64px;
  padding-bottom: 0;
}

#home-routes .section-heading {
  max-width: 880px;
  margin-bottom: 28px;
}

#home-routes .section-heading h2 {
  max-width: 22ch;
}

#home-domains .section-heading,
#advanced-capabilities .section-heading,
#updates-index .section-heading,
#home-access > .section-shell > h2,
#home-access > .section-shell > p,
#home-access > .section-shell > .section-kicker {
  position: relative;
  z-index: 1;
}

#home-domains .section-heading {
  max-width: 900px;
  margin-bottom: 28px;
}

#home-domains .section-heading h2 {
  max-width: 23ch;
}

.home-domain-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-domain-grid .portal-panel:nth-child(2) {
  background:
    linear-gradient(180deg, rgba(246, 250, 239, 0.96) 0%, rgba(247, 250, 244, 0.8) 100%),
    linear-gradient(135deg, rgba(106, 160, 88, 0.1), rgba(255, 255, 255, 0));
  border-color: rgba(106, 160, 88, 0.14);
}

.home-domain-grid .portal-panel:nth-child(3) {
  background:
    linear-gradient(180deg, rgba(236, 243, 255, 0.96) 0%, rgba(245, 248, 255, 0.8) 100%),
    linear-gradient(135deg, rgba(31, 111, 235, 0.1), rgba(255, 255, 255, 0));
  border-color: rgba(31, 111, 235, 0.14);
}

.home-domain-grid .portal-panel:nth-child(4) {
  background:
    linear-gradient(180deg, rgba(255, 248, 240, 0.96) 0%, rgba(250, 246, 238, 0.8) 100%),
    linear-gradient(135deg, rgba(238, 155, 36, 0.1), rgba(255, 255, 255, 0));
  border-color: rgba(238, 155, 36, 0.14);
}

.home-advanced-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.home-advanced-grid .portal-link-card {
  min-height: 100%;
}

.home-advanced-grid .portal-link-card:first-child {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(31, 51, 86, 0.18) 100%),
    linear-gradient(160deg, rgba(11, 19, 36, 0.64) 0%, rgba(17, 30, 56, 0.72) 100%);
}

.home-advanced-grid .portal-link-card:last-child {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(196, 129, 33, 0.12) 100%),
    linear-gradient(160deg, rgba(11, 19, 36, 0.56) 0%, rgba(28, 34, 44, 0.68) 100%);
}

#cooperation-entry .portal-band-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: 24px;
  align-items: stretch;
}

#cooperation-entry h2 {
  max-width: 21ch;
}

.home-access-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 26px;
}

.home-access-grid .portal-link-card h3 {
  font-size: 1.22rem;
}

.entry-grid {
  display: grid;
  width: var(--content-width);
  margin: 0 auto;
  gap: 20px;
}

.entry-grid.primary {
  position: relative;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  grid-auto-rows: minmax(186px, 1fr);
  padding: 20px 0 28px;
}

.entry-grid.secondary {
  position: relative;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  padding: 0 0 54px;
}

#home-primary::before,
#home-secondary::before {
  content: "";
  position: absolute;
  inset: auto auto 0 50%;
  width: min(980px, 78vw);
  height: 140px;
  transform: translateX(-50%);
  border-radius: 999px;
  pointer-events: none;
  filter: blur(52px);
  opacity: 0.5;
}

#home-primary::before {
  background: radial-gradient(circle, rgba(31, 111, 235, 0.16) 0%, rgba(31, 111, 235, 0) 72%);
}

#home-secondary::before {
  background: radial-gradient(circle, rgba(238, 155, 36, 0.12) 0%, rgba(238, 155, 36, 0) 72%);
}

.entry-card {
  position: relative;
  display: flex;
  min-height: 312px;
  align-items: flex-end;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  color: #ffffff;
  background-color: #21324d;
  box-shadow: 0 18px 42px rgba(11, 19, 36, 0.12), 0 8px 18px rgba(11, 19, 36, 0.06);
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    background-color var(--transition-fast),
    border-color var(--transition-fast);
}

#home-primary .entry-card:first-child {
  grid-row: span 2;
  min-height: 424px;
}

#home-primary .entry-card:nth-child(2),
#home-primary .entry-card:nth-child(3) {
  min-height: 202px;
}

#home-secondary .entry-card:nth-child(1) {
  grid-column: 1 / span 7;
  min-height: 318px;
}

#home-secondary .entry-card:nth-child(2) {
  grid-column: 8 / span 5;
  min-height: 318px;
}

#home-secondary .entry-card:nth-child(3) {
  grid-column: 1 / span 5;
  min-height: 258px;
}

#home-secondary .entry-card:nth-child(4) {
  grid-column: 6 / span 7;
  min-height: 258px;
}

.entry-card::before,
.entry-card::after {
  content: "";
  position: absolute;
  inset: 0;
}

.entry-card::before {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.02);
  transition: transform 280ms ease-out;
}

.entry-card::after {
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 34%),
    radial-gradient(circle at 84% 12%, rgba(245, 184, 80, 0.16) 0%, rgba(245, 184, 80, 0) 28%),
    linear-gradient(180deg, rgba(10, 17, 29, 0.04) 0%, rgba(10, 17, 29, 0.22) 34%, rgba(10, 17, 29, 0.82) 100%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
}

.entry-card:hover,
.entry-card:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.26);
  box-shadow: 0 28px 56px rgba(11, 19, 36, 0.16), 0 10px 24px rgba(11, 19, 36, 0.08), var(--shadow-glow);
}

.entry-card:hover::before,
.entry-card:focus-visible::before {
  transform: scale(1.06);
}

.entry-card-content {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: end;
  width: 100%;
  min-height: 100%;
  padding: 28px 28px 24px;
}

.entry-card .entry-tag {
  display: inline-flex;
  width: fit-content;
  gap: 8px;
  padding: 7px 10px 6px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.12);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.74);
}

.entry-card h3 {
  margin: 12px 0 0;
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.entry-card p {
  margin: 14px 0 0;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.72;
}

.entry-meta {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 9px 12px 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.12);
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

#home-overview {
  padding-top: 98px;
  padding-bottom: 34px;
  border-top: 0;
  border-bottom: 0;
  background: transparent;
}

#home-overview .section-shell {
  position: relative;
  overflow: hidden;
  padding: 40px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(244, 247, 254, 0.52) 100%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.14));
  box-shadow: var(--shadow-featured);
  backdrop-filter: blur(18px);
}

#home-overview .section-shell::before,
#home-overview .section-shell::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

#home-overview .section-shell::before {
  top: -82px;
  right: -44px;
  width: 240px;
  height: 240px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(31, 111, 235, 0.12) 0%, rgba(31, 111, 235, 0) 68%);
  filter: blur(18px);
}

#home-overview .section-shell::after {
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0));
  opacity: 0.38;
}

#home-overview .portal-heading {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin-bottom: 34px;
}

#home-overview .portal-heading h2 {
  max-width: 18ch;
}

#home-overview .portal-heading p:last-child {
  max-width: 50rem;
}

#home-overview .portal-index-grid {
  position: relative;
  z-index: 1;
}

#home-overview .portal-index-grid.three-up {
  grid-template-columns: minmax(0, 1.08fr) repeat(2, minmax(0, 0.96fr));
  gap: 20px;
}

#home-overview .portal-index-grid.two-up {
  grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr);
  gap: 20px;
  margin-top: 20px !important;
}

#home-overview .portal-panel {
  padding: 30px 28px 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(248, 250, 255, 0.68) 100%),
    linear-gradient(135deg, rgba(31, 111, 235, 0.05), rgba(255, 255, 255, 0));
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.06), 0 4px 14px rgba(15, 23, 42, 0.04);
}

#home-overview .portal-panel:hover,
#home-overview .portal-panel:focus-within {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 52px rgba(15, 23, 42, 0.08), 0 8px 18px rgba(15, 23, 42, 0.05), 0 0 0 1px rgba(255, 255, 255, 0.38) inset;
}

#home-overview .portal-index-grid.three-up .portal-panel:nth-child(2) {
  background:
    linear-gradient(180deg, rgba(236, 243, 255, 0.96) 0%, rgba(245, 248, 255, 0.78) 100%),
    linear-gradient(135deg, rgba(31, 111, 235, 0.1), rgba(255, 255, 255, 0));
  border-color: rgba(31, 111, 235, 0.12);
}

#home-overview .portal-index-grid.three-up .portal-panel:nth-child(3) {
  background:
    linear-gradient(180deg, rgba(255, 249, 238, 0.96) 0%, rgba(250, 246, 238, 0.74) 100%),
    linear-gradient(135deg, rgba(238, 155, 36, 0.08), rgba(255, 255, 255, 0));
}

#home-overview .portal-index-grid.two-up .portal-panel:last-child {
  background:
    linear-gradient(160deg, rgba(11, 19, 36, 0.96) 0%, rgba(16, 27, 49, 0.92) 100%),
    linear-gradient(135deg, rgba(74, 141, 255, 0.14), rgba(255, 255, 255, 0));
  border-color: rgba(74, 141, 255, 0.22);
  box-shadow: 0 22px 54px rgba(11, 19, 36, 0.16), 0 10px 24px rgba(11, 19, 36, 0.1);
}

#home-overview .portal-index-grid.two-up .portal-panel:last-child .card-meta,
#home-overview .portal-index-grid.two-up .portal-panel:last-child h3 {
  color: #f8fbff;
}

#home-overview .portal-index-grid.two-up .portal-panel:last-child p {
  color: rgba(232, 239, 255, 0.84);
}

.case-snapshot {
  padding-top: 42px;
  padding-bottom: 42px;
}

.case-snapshot-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.case-snapshot-card {
  position: relative;
  overflow: hidden;
  min-height: 272px;
  padding: 22px 22px 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(246, 249, 255, 0.74) 100%),
    linear-gradient(135deg, rgba(31, 111, 235, 0.05), rgba(255, 255, 255, 0));
  box-shadow: var(--shadow-rest);
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    border-color var(--transition-fast);
}

.case-snapshot-card:hover,
.case-snapshot-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(31, 111, 235, 0.2);
  box-shadow: var(--shadow-hover), var(--shadow-glow);
}

.case-snapshot-number {
  display: block;
  margin-bottom: 22px;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: rgba(31, 111, 235, 0.22);
}

.case-snapshot-card h3 {
  margin: 10px 0 0;
  font-family: var(--font-heading);
  font-size: 1.12rem;
  line-height: 1.22;
  font-weight: 800;
  color: var(--text-primary);
}

.case-snapshot-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.case-snapshot-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(31, 111, 235, 0.12);
  border-radius: var(--radius-pill);
  background: rgba(31, 111, 235, 0.06);
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.entry-capability::before {
  background-image: url("assets/hengmao/solar-tree.jpg");
}

.entry-flow::before {
  background-image: url("assets/hengmao/factory-delivery.jpg");
}

.entry-company::before {
  background-image: url("assets/hengmao/taiwan-landmark.jpg");
}

.entry-energy::before {
  background-image: url("assets/hengmao/factory-campus.jpg");
}

.entry-quality::before {
  background-image: url("assets/hengmao/taiwan-city.jpg");
}

.entry-partnership::before {
  background-image: url("assets/hengmao/asia-philippines.jpg");
}

.entry-network::before {
  background-image: url("assets/hengmao/asia-indonesia.jpg");
}

.entry-contact::before {
  background-image: url("assets/hengmao/taiwan-city.jpg");
}

.portal-section {
  position: relative;
  padding: 82px 0;
}

.portal-section.portal-light {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.56) 0%, rgba(255, 255, 255, 0.14) 100%);
  border-top: 1px solid rgba(15, 23, 42, 0.05);
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.portal-heading {
  max-width: 1120px;
  min-width: 0;
  margin-bottom: 28px;
}

.portal-heading h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 2.52vw, 2.76rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 800;
  max-width: 100%;
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.portal-heading p {
  margin: 16px 0 0;
  color: var(--text-secondary);
  max-width: 56rem;
}

.editorial-split {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 28px;
  align-items: stretch;
  margin-bottom: 28px;
}

.editorial-split--reverse {
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
}

.editorial-split--visual-first-mobile:not(.editorial-split--reverse):has(> .editorial-visual:first-child),
.editorial-split--visual-first-mobile:not(.editorial-split--reverse):has(> .editorial-visual-grid:first-child) {
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
}

body[data-page="about"] #positioning .editorial-split {
  grid-template-columns: minmax(0, 1.32fr) minmax(300px, 0.68fr);
  gap: 28px;
}

.editorial-copy {
  display: grid;
  align-content: start;
  gap: 18px;
  min-width: 0;
}

.editorial-copy .portal-heading {
  margin-bottom: 0;
}

.editorial-copy .portal-heading h2 {
  max-width: none;
  font-size: clamp(1.82rem, 2.28vw, 2.58rem);
  line-height: 1.1;
}

.editorial-copy .portal-heading p {
  max-width: 42rem;
}

body[data-page="about"] #positioning .portal-heading h2 {
  font-size: clamp(1.86rem, 2.38vw, 2.66rem);
}

.editorial-split--reverse .editorial-copy {
  order: 2;
}

.editorial-split--reverse .editorial-visual,
.editorial-split--reverse .editorial-visual-grid {
  order: 1;
}

.editorial-visual,
.editorial-visual-grid,
.visual-tile {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-lg);
}

.editorial-visual,
.visual-tile {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 18%, rgba(31, 111, 235, 0.16), transparent 32%),
    radial-gradient(circle at 84% 14%, rgba(245, 184, 80, 0.2), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 248, 255, 0.82));
  box-shadow: var(--shadow-featured);
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    border-color var(--transition-fast);
}

.editorial-visual {
  min-height: 340px;
}

.editorial-visual:hover,
.visual-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(31, 111, 235, 0.18);
  box-shadow: var(--shadow-featured), var(--shadow-glow);
}

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

.editorial-visual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  min-height: 340px;
}

.visual-tile {
  min-height: 340px;
}

.visual-overlay {
  position: absolute;
  inset: auto 20px 20px 20px;
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(7, 12, 22, 0.56);
  backdrop-filter: blur(18px);
  color: #f8fbff;
}

.visual-overlay .card-meta {
  margin: 0;
  color: rgba(219, 229, 255, 0.76);
}

.visual-overlay h3 {
  margin: 0;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.visual-overlay p {
  margin: 0;
  color: rgba(241, 245, 255, 0.82);
}

.visual-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.visual-pill {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tile-caption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  display: grid;
  gap: 5px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-rest);
  backdrop-filter: blur(14px);
}

.tile-caption strong {
  color: var(--primary-500);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tile-caption span {
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 1rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.portal-desk-grid,
.portal-index-grid,
.portal-link-grid,
.portal-flow-grid,
.portal-stat-grid {
  display: grid;
  gap: 20px;
}

.portal-desk-grid.three-up,
.portal-index-grid.three-up,
.portal-link-grid.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.portal-desk-grid.two-up,
.portal-index-grid.two-up,
.portal-link-grid.two-up,
.portal-flow-grid.two-up,
.portal-stat-grid.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.portal-index-grid.four-up,
.portal-flow-grid.four-up,
.portal-stat-grid.four-up {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.portal-panel,
.portal-link-card,
.portal-flow-step,
.portal-stat-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.56);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03), 0 10px 28px rgba(15, 23, 42, 0.04);
  backdrop-filter: blur(14px);
  padding: 28px 24px;
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    border-color var(--transition-fast),
    background-color var(--transition-fast);
}

.portal-panel::before,
.portal-link-card::before,
.portal-flow-step::before,
.portal-stat-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(31, 111, 235, 0), rgba(31, 111, 235, 0.34), rgba(238, 155, 36, 0.18), rgba(31, 111, 235, 0));
  opacity: 0.42;
}

.portal-panel::after,
.portal-link-card::after,
.portal-flow-step::after,
.portal-stat-card::after {
  content: "";
  position: absolute;
  inset: -42% 26% auto -18%;
  height: 58%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0) 72%);
  opacity: 0;
  pointer-events: none;
}

.portal-panel:hover,
.portal-link-card:hover,
.portal-flow-step:hover,
.portal-stat-card:hover,
.portal-panel:focus-within,
.portal-link-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(31, 111, 235, 0.18);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08), 0 4px 14px rgba(15, 23, 42, 0.05), 0 0 0 1px rgba(255, 255, 255, 0.34) inset;
}

.portal-panel:hover::after,
.portal-link-card:hover::after,
.portal-flow-step:hover::after,
.portal-stat-card:hover::after,
.portal-panel:focus-within::after,
.portal-link-card:focus-visible::after {
  opacity: 1;
  animation: cardSheen 320ms ease-out forwards;
}

.portal-panel:hover .portal-card-media img,
.portal-link-card:hover .portal-card-media img,
.portal-flow-step:hover .portal-card-media img,
.portal-stat-card:hover .portal-card-media img,
.case-snapshot-card:hover .portal-card-media img,
.portal-panel:hover .portal-card-media-grid img,
.portal-link-card:hover .portal-card-media-grid img,
.portal-flow-step:hover .portal-card-media-grid img,
.portal-stat-card:hover .portal-card-media-grid img,
.case-snapshot-card:hover .portal-card-media-grid img,
.portal-panel:focus-within .portal-card-media img,
.portal-link-card:focus-visible .portal-card-media img,
.case-snapshot-card:focus-within .portal-card-media img {
  transform: scale(1.04);
}

.portal-panel .card-meta,
.portal-link-card .card-meta,
.portal-flow-step .card-meta,
.portal-stat-card .card-meta {
  margin-bottom: 12px;
}

.portal-panel h3,
.portal-link-card h3,
.portal-flow-step h3,
.portal-stat-card h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: 0;
  text-wrap: pretty;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.portal-panel p,
.portal-link-card p,
.portal-flow-step p,
.portal-stat-card p {
  margin: 13px 0 0;
  color: var(--text-secondary);
}

.portal-card-media,
.portal-card-media-grid {
  position: relative;
  margin: 0 0 18px;
}

.portal-card-media {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(31, 111, 235, 0.16), rgba(238, 155, 36, 0.12)),
    linear-gradient(180deg, rgba(15, 23, 42, 0.06), rgba(15, 23, 42, 0.02));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    0 14px 28px rgba(15, 23, 42, 0.08);
  aspect-ratio: 16 / 10;
}

.portal-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 36%, rgba(15, 23, 42, 0.16) 100%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.portal-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.portal-card-media img,
.portal-card-media-grid img {
  opacity: 0.001;
  transform: translate3d(0, 12px, 0) scale(1.035);
  filter: saturate(0.94) contrast(0.98);
}

.portal-card-media.is-loaded img,
.portal-card-media-grid.is-loaded img {
  animation: mediaReveal 760ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.portal-card-media-grid.is-loaded img:nth-child(1) {
  animation-delay: 40ms;
}

.portal-card-media-grid.is-loaded img:nth-child(2) {
  animation-delay: 120ms;
}

.portal-panel:hover .portal-card-media.is-loaded img,
.portal-link-card:hover .portal-card-media.is-loaded img,
.portal-flow-step:hover .portal-card-media.is-loaded img,
.portal-stat-card:hover .portal-card-media.is-loaded img,
.case-snapshot-card:hover .portal-card-media.is-loaded img,
.portal-panel:hover .portal-card-media-grid.is-loaded img,
.portal-link-card:hover .portal-card-media-grid.is-loaded img,
.portal-flow-step:hover .portal-card-media-grid.is-loaded img,
.portal-stat-card:hover .portal-card-media-grid.is-loaded img,
.case-snapshot-card:hover .portal-card-media-grid.is-loaded img,
.portal-panel:focus-within .portal-card-media.is-loaded img,
.portal-link-card:focus-visible .portal-card-media.is-loaded img,
.case-snapshot-card:focus-within .portal-card-media.is-loaded img {
  transform: scale(1.045);
}

.portal-card-media--compact {
  aspect-ratio: 16 / 9;
}

.portal-card-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.portal-card-media-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 14px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 12px 24px rgba(15, 23, 42, 0.08);
  transition: transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.portal-card-media.is-loaded::after,
.portal-card-media-grid.is-loaded::after {
  animation: cardSheen 680ms ease-out both;
}

.case-snapshot-card .portal-card-media,
.case-snapshot-card .portal-card-media-grid,
.portal-updates .update-column .portal-card-media,
.portal-directory-card .portal-card-media {
  margin-bottom: 16px;
}

.case-snapshot-card .portal-card-media,
.case-snapshot-card .portal-card-media--compact {
  aspect-ratio: 16 / 7.8;
}

.case-snapshot-card .portal-card-media-grid {
  gap: 8px;
}

.case-snapshot-card .portal-card-media-grid img {
  aspect-ratio: 1.05 / 1;
}

.portal-updates .update-column .portal-card-media,
.portal-updates .update-column .portal-card-media--compact,
.portal-directory-card .portal-card-media,
.portal-directory-card .portal-card-media--compact {
  aspect-ratio: 16 / 8.2;
}

.portal-panel ul,
.portal-summary-card ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.portal-panel li,
.portal-summary-card li {
  position: relative;
  padding-left: 16px;
  color: var(--text-secondary);
}

.portal-panel li::before,
.portal-summary-card li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary-500), var(--warm-400));
}

.portal-link-card {
  display: block;
}

.portal-link-card .entry-meta {
  margin-top: 14px;
  color: var(--primary-500);
}

.portal-flow-step .step-number {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(31, 111, 235, 0.08);
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--primary-500);
}

.portal-flow-step h3 {
  margin-top: 16px;
}

.portal-stat-card strong {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.65rem, 2.2vw, 2.4rem);
  line-height: 1;
  font-weight: 800;
  color: #172338;
}

.portal-stat-card p {
  margin-top: 10px;
}

.portal-masthead {
  position: relative;
  overflow: hidden;
  padding: 96px 0 32px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.portal-masthead-compact {
  padding: 84px 0 22px;
}

.portal-masthead::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(250, 252, 255, 0.9) 0%, rgba(250, 252, 255, 0.82) 38%, rgba(250, 252, 255, 0.44) 64%, rgba(250, 252, 255, 0.18) 100%),
    linear-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: auto, 84px 84px, 84px 84px;
}

.portal-masthead .reveal,
.portal-hero .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.portal-masthead.tone-company::before {
  background:
    linear-gradient(90deg, rgba(250, 252, 255, 0.9) 0%, rgba(250, 252, 255, 0.82) 38%, rgba(250, 252, 255, 0.42) 64%, rgba(250, 252, 255, 0.16) 100%),
    url("assets/hengmao/taiwan-landmark.jpg") center 56% / cover no-repeat;
}

.portal-masthead.tone-capability::before {
  background:
    linear-gradient(90deg, rgba(250, 252, 255, 0.9) 0%, rgba(250, 252, 255, 0.82) 38%, rgba(250, 252, 255, 0.42) 64%, rgba(250, 252, 255, 0.16) 100%),
    url("assets/hengmao/solar-tree.jpg") center 42% / cover no-repeat;
}

.portal-masthead.tone-flow::before {
  background:
    linear-gradient(90deg, rgba(250, 252, 255, 0.9) 0%, rgba(250, 252, 255, 0.82) 38%, rgba(250, 252, 255, 0.42) 64%, rgba(250, 252, 255, 0.16) 100%),
    url("assets/hengmao/factory-delivery.jpg") center 36% / cover no-repeat;
}

.portal-masthead.tone-energy::before {
  background:
    linear-gradient(90deg, rgba(250, 252, 255, 0.9) 0%, rgba(250, 252, 255, 0.82) 38%, rgba(250, 252, 255, 0.42) 64%, rgba(250, 252, 255, 0.16) 100%),
    url("assets/hengmao/factory-campus.jpg") center 48% / cover no-repeat;
}

.portal-masthead.tone-quality::before {
  background:
    linear-gradient(90deg, rgba(250, 252, 255, 0.9) 0%, rgba(250, 252, 255, 0.82) 38%, rgba(250, 252, 255, 0.42) 64%, rgba(250, 252, 255, 0.16) 100%),
    url("assets/hengmao/nature-seedling.jpg") center 46% / cover no-repeat;
}

.portal-masthead.tone-network::before {
  background:
    linear-gradient(90deg, rgba(250, 252, 255, 0.9) 0%, rgba(250, 252, 255, 0.82) 38%, rgba(250, 252, 255, 0.42) 64%, rgba(250, 252, 255, 0.16) 100%),
    url("assets/hengmao/asia-indonesia.jpg") center 46% / cover no-repeat;
}

.portal-masthead.tone-contact::before {
  background:
    linear-gradient(90deg, rgba(250, 252, 255, 0.88) 0%, rgba(250, 252, 255, 0.8) 38%, rgba(250, 252, 255, 0.4) 64%, rgba(250, 252, 255, 0.14) 100%),
    url("assets/hengmao/taiwan-city.jpg") center 54% / cover no-repeat;
}

.portal-masthead.tone-updates::before {
  background:
    linear-gradient(90deg, rgba(250, 252, 255, 0.9) 0%, rgba(250, 252, 255, 0.82) 38%, rgba(250, 252, 255, 0.42) 64%, rgba(250, 252, 255, 0.16) 100%),
    url("assets/hengmao/factory-engineer.jpg") center 32% / cover no-repeat;
}

.portal-masthead.tone-partnership::before {
  background:
    linear-gradient(90deg, rgba(250, 252, 255, 0.9) 0%, rgba(250, 252, 255, 0.82) 38%, rgba(250, 252, 255, 0.42) 64%, rgba(250, 252, 255, 0.16) 100%),
    url("assets/hengmao/asia-philippines.jpg") center 50% / cover no-repeat;
}

.portal-masthead-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(300px, 0.72fr);
  gap: 32px;
  align-items: start;
}

.portal-masthead-grid > * {
  min-width: 0;
}

.portal-masthead-compact .portal-masthead-grid {
  grid-template-columns: minmax(0, 1.32fr) minmax(280px, 0.68fr);
  gap: 28px;
}

.portal-masthead-copy {
  min-width: 0;
}

.portal-masthead-copy h1 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(2.18rem, 2.94vw, 3.02rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #172338;
  text-wrap: pretty;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  max-width: 100%;
}

.portal-masthead-copy p {
  max-width: 46rem;
  margin: 20px 0 0;
  color: var(--text-secondary);
}

.portal-masthead-compact .portal-masthead-copy h1 {
  max-width: 100%;
  font-size: clamp(2.08rem, 2.56vw, 2.72rem);
  line-height: 1.08;
}

html[lang="de"] .portal-masthead-copy h1,
html[lang="de"] .portal-masthead-compact .portal-masthead-copy h1,
html[lang="de"] .portal-heading h2,
html[lang="de"] .editorial-copy .portal-heading h2 {
  hyphens: auto;
  overflow-wrap: anywhere;
}

.portal-masthead-compact .portal-masthead-copy p {
  max-width: 42rem;
  margin-top: 16px;
}

.portal-summary-card {
  position: relative;
  z-index: 1;
  align-self: start;
  margin-top: 8px;
  padding: 24px 24px 22px;
  border-radius: 24px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(245, 248, 255, 0.68) 100%),
    linear-gradient(135deg, rgba(31, 111, 235, 0.05), rgba(255, 255, 255, 0));
  box-shadow: var(--shadow-rest);
  backdrop-filter: blur(18px);
}

.portal-masthead-compact .portal-summary-card {
  margin-top: 20px;
  padding: 24px 24px 22px;
}

.portal-summary-card strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.portal-summary-card h3 {
  margin: 12px 0 0;
  font-family: var(--font-heading);
  font-size: 1.38rem;
  line-height: 1.14;
  font-weight: 800;
  color: #172338;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.portal-summary-card p {
  margin: 10px 0 0;
  color: var(--text-secondary);
}

.portal-subnav {
  position: sticky;
  top: calc(var(--site-header-height) - 1px);
  z-index: 5;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.03);
}

.portal-subnav-shell {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 12px 0 10px;
}

.portal-subnav-shell a {
  white-space: nowrap;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: rgba(255, 255, 255, 0.72);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition:
    transform var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast),
    box-shadow var(--transition-fast);
}

.portal-subnav-shell a:hover,
.portal-subnav-shell a:focus-visible {
  color: var(--text-primary);
  border-color: rgba(31, 111, 235, 0.22);
  box-shadow: var(--shadow-rest);
}

.portal-band {
  position: relative;
  overflow: hidden;
  padding: 66px 0;
  color: #fffaf2;
  background:
    linear-gradient(90deg, rgba(217, 141, 23, 0.96) 0%, rgba(226, 148, 27, 0.94) 42%, rgba(204, 127, 16, 0.96) 100%),
    url("assets/hengmao/asia-philippines.jpg") center / cover no-repeat;
}

.portal-band-light {
  color: var(--text-primary);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(245, 248, 252, 0.92) 100%),
    url("assets/hengmao/taiwan-city.jpg") center / cover no-repeat;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.portal-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.36;
}

.portal-band-light::before {
  background:
    linear-gradient(rgba(15, 23, 42, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.05) 1px, transparent 1px);
  opacity: 1;
}

.portal-band-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(300px, 0.86fr);
  gap: 34px;
  align-items: start;
}

.portal-band h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.95rem, 2.9vw, 2.85rem);
  line-height: 1.1;
  font-weight: 800;
}

.portal-band p {
  margin: 14px 0 0;
  color: rgba(255, 250, 242, 0.9);
}

.portal-band-light p,
.portal-band-light .section-kicker,
.portal-band-light h2 {
  color: var(--text-primary);
}

.portal-band-light p {
  color: var(--text-secondary);
}

.portal-directory-card {
  padding: 24px 24px 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(14px);
}

.portal-band-light .portal-directory-card {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow-rest);
}

.portal-directory-card h3 {
  margin: 12px 0 0;
  font-family: var(--font-heading);
  font-size: 1.52rem;
  line-height: 1.14;
  font-weight: 800;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.portal-directory-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.portal-directory-list div {
  padding: 14px 16px;
  border-radius: 16px;
  border-top: 0;
  background: rgba(255, 255, 255, 0.08);
}

.portal-band-light .portal-directory-list div {
  background: rgba(255, 255, 255, 0.78);
}

.portal-directory-list strong {
  display: block;
  font-size: 0.9rem;
}

.portal-directory-list span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 250, 242, 0.82);
}

.portal-band-light .portal-directory-list span {
  color: var(--text-secondary);
}

.portal-band-links {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.portal-band-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fffdf8;
  transition:
    transform var(--transition-fast),
    border-color var(--transition-fast),
    background-color var(--transition-fast),
    box-shadow var(--transition-fast);
}

.portal-band-light .portal-band-link {
  background: rgba(255, 255, 255, 0.74);
  border-color: rgba(15, 23, 42, 0.08);
  color: var(--text-primary);
}

.portal-band-link:hover,
.portal-band-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(31, 111, 235, 0.22);
  box-shadow: var(--shadow-hover);
}

.portal-band-link span:last-child {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 249, 240, 0.78);
}

.portal-band-light .portal-band-link span:last-child {
  color: var(--text-muted);
}

.portal-related {
  position: relative;
  padding: 76px 0 84px;
  color: #f5f8ff;
  background:
    linear-gradient(180deg, rgba(9, 18, 34, 0.98) 0%, rgba(10, 20, 38, 0.98) 100%),
    url("assets/hengmao/factory-plant.jpg") center / cover no-repeat;
}

.portal-related-light {
  color: var(--text-primary);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86) 0%, rgba(243, 246, 251, 0.94) 100%),
    url("assets/hengmao/taiwan-landmark.jpg") center / cover no-repeat;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.portal-related .section-kicker,
.portal-related h2,
.portal-related p {
  position: relative;
  z-index: 1;
}

.portal-related .section-kicker {
  color: #9fc0ff;
}

.portal-related-light .section-kicker {
  color: var(--primary-500);
}

.portal-related .kicker-en {
  color: rgba(255, 255, 255, 0.56);
}

.portal-related-light .kicker-en {
  color: var(--text-muted);
}

.portal-related h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 3vw, 2.9rem);
  line-height: 1.08;
  font-weight: 800;
}

.portal-related p {
  margin: 16px 0 0;
  max-width: 38rem;
  color: rgba(241, 245, 255, 0.76);
}

.portal-related-light p {
  color: var(--text-secondary);
}

.portal-related .portal-link-grid {
  position: relative;
  z-index: 1;
  margin-top: 24px;
}

.contact-masthead-card {
  display: grid;
  gap: 14px;
}

.contact-masthead-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-masthead-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.74);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.contact-anchor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.contact-anchor-card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  padding: 24px 22px 22px;
  border-radius: 24px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84) 0%, rgba(246, 249, 255, 0.72) 100%);
  box-shadow: var(--shadow-rest);
  transition:
    transform var(--transition-fast),
    border-color var(--transition-fast),
    box-shadow var(--transition-fast);
}

.contact-anchor-card:hover,
.contact-anchor-card:focus-within {
  transform: translateY(-2px);
  border-color: rgba(31, 111, 235, 0.18);
  box-shadow: var(--shadow-hover);
}

.contact-anchor-card h3 {
  margin: 10px 0 0;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  line-height: 1.16;
  font-weight: 800;
  color: var(--text-primary);
}

.contact-anchor-card p {
  margin: 10px 0 0;
  color: var(--text-secondary);
}

.contact-record-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 22px;
  align-items: start;
}

.contact-record-card,
.contact-guidance-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: 24px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84) 0%, rgba(245, 248, 255, 0.74) 100%);
  box-shadow: var(--shadow-rest);
}

.contact-record-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.contact-record-item {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.contact-record-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-record-item span,
.contact-record-item p {
  display: block;
  margin-top: 10px;
  color: var(--text-secondary);
}

.contact-note-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.contact-note {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.contact-note-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(31, 111, 235, 0.14), rgba(74, 141, 255, 0.06));
  color: var(--primary-500);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
}

.contact-note h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1rem;
  line-height: 1.18;
  font-weight: 800;
  color: var(--text-primary);
}

.contact-note p {
  margin: 8px 0 0;
  color: var(--text-secondary);
}

.contact-path-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr);
  gap: 22px;
  align-items: stretch;
}

.contact-step-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.contact-step {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.contact-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(31, 111, 235, 0.16), rgba(74, 141, 255, 0.08));
  color: var(--primary-500);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
}

.contact-step h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.04rem;
  line-height: 1.18;
  font-weight: 800;
}

.contact-step p {
  margin: 8px 0 0;
  color: var(--text-secondary);
}

.contact-side-card {
  padding: 24px;
  border-radius: 24px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-rest);
}

.contact-side-card .portal-band-links {
  margin-top: 18px;
}

.contact-side-card .portal-band-link {
  background: rgba(255, 255, 255, 0.86);
}

.portal-related .portal-link-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.portal-related-light .portal-link-card {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow-rest);
}

.portal-related .portal-link-card .card-meta,
.portal-related .portal-link-card h3,
.portal-related .portal-link-card p {
  color: #f5f8ff;
}

.portal-related-light .portal-link-card .card-meta,
.portal-related-light .portal-link-card h3 {
  color: var(--text-primary);
}

.portal-related .portal-link-card p {
  color: rgba(241, 245, 255, 0.76);
}

.portal-related-light .portal-link-card p {
  color: var(--text-secondary);
}

.portal-related .portal-link-card .entry-meta {
  color: #9fc0ff;
}

.portal-related-light .portal-link-card .entry-meta {
  color: var(--primary-500);
}

@media (max-width: 1180px) {
  :root {
    --site-header-height: 82px;
    --anchor-offset: calc(var(--site-header-height) + 16px);
  }

  .portal-masthead-grid,
  .portal-band-grid,
  .contact-record-grid,
  .contact-path-layout {
    grid-template-columns: 1fr;
  }

  .home-proof-grid {
    grid-template-columns: 1fr;
  }

  .home-strategy-layout,
  #cooperation-entry .portal-band-grid {
    grid-template-columns: 1fr;
  }

  .hub-slide-shell {
    padding-top: 108px;
    padding-bottom: 70px;
  }

  .portal-summary-card,
  .portal-masthead-compact .portal-summary-card,
  .portal-directory-card {
    margin-top: 0;
    padding: 22px 22px 20px;
  }
}

@media (max-width: 1024px) {
  :root {
    --content-width: min(100% - 56px, 1320px);
  }

  .portal-masthead-copy,
  .portal-masthead-compact .portal-masthead-copy {
    max-width: 38rem;
  }

  .portal-updates .updates-grid,
  .proof-matrix,
  .case-snapshot-grid,
  .portal-index-grid.four-up,
  .portal-flow-grid.four-up,
  .portal-stat-grid.four-up {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-domain-grid,
  .home-access-grid,
  .home-advanced-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-strategy-layout .section-heading h2,
  #home-routes .section-heading h2,
  #home-domains .section-heading h2,
  #cooperation-entry h2,
  body[data-page="about"] #record .portal-heading h2,
  body[data-page="about"] #operating-profile .portal-heading h2 {
    max-width: 100%;
  }

  .ticker-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 14px;
    border-radius: 28px;
  }

  .ticker-item {
    min-height: 142px;
  }

  #home-overview {
    padding-top: 88px;
    padding-bottom: 24px;
  }

  #home-overview .section-shell {
    padding: 32px 28px;
    border-radius: 28px;
  }

  #home-overview .portal-heading h2 {
    max-width: 100%;
  }

  #home-overview .portal-index-grid.three-up {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #home-overview .portal-index-grid.three-up .portal-panel:first-child {
    grid-column: 1 / -1;
  }

  #home-overview .portal-index-grid.two-up {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-proof-copy h2 {
    max-width: 100%;
  }

  .case-snapshot-card {
    min-height: 248px;
  }

  .editorial-split,
  .editorial-visual-grid {
    grid-template-columns: 1fr;
  }

  .editorial-copy .portal-heading h2 {
    max-width: none;
  }

  .portal-desk-grid.three-up,
  .portal-link-grid.three-up,
  .contact-anchor-grid,
  .contact-record-stack {
    grid-template-columns: 1fr;
  }

  .portal-desk-grid.two-up,
  .portal-index-grid.two-up,
  .portal-link-grid.two-up,
  .portal-flow-grid.two-up,
  .portal-stat-grid.two-up {
    grid-template-columns: 1fr;
  }

  #home-primary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(204px, 1fr);
  }

  #home-primary .entry-card:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 360px;
  }

  #home-secondary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #home-secondary .entry-card:nth-child(n) {
    grid-column: auto;
    min-height: 248px;
  }

  .entry-grid.primary,
  .entry-grid.secondary {
    gap: 16px;
    padding: 0 0 22px;
  }

  .entry-card,
  .entry-grid.primary .entry-card,
  .entry-grid.secondary .entry-card {
    min-height: 248px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 34px rgba(11, 19, 36, 0.1), 0 6px 16px rgba(11, 19, 36, 0.05);
    overflow: hidden;
  }

  .entry-card:hover,
  .entry-card:focus-visible {
    box-shadow: 0 24px 48px rgba(11, 19, 36, 0.14), 0 10px 24px rgba(11, 19, 36, 0.08), var(--shadow-glow);
    border-color: rgba(255, 255, 255, 0.22);
  }

  .entry-card-content {
    padding: 24px 24px 22px;
  }
}

@media (max-width: 768px) {
  :root {
    --content-width: min(100% - 36px, 1320px);
    --site-header-height: 82px;
    --anchor-offset: calc(var(--site-header-height) + 14px);
  }

  .portal-heading h2 {
    font-size: clamp(1.68rem, 5.7vw, 2.18rem);
    line-height: 1.1;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: none;
  }

  .portal-masthead-grid,
  .portal-masthead-compact .portal-masthead-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .portal-hero.hero-carousel {
    min-height: 596px;
  }

  .hub-slide-shell {
    align-items: flex-start;
    padding: 94px 0 56px;
  }

  .hero-slide.slide-capability .hero-kicker {
    margin-bottom: 18px;
    font-size: 0.76rem;
    letter-spacing: 0.14em;
  }

  .hero-slide.slide-capability h1 {
    max-width: 100%;
    font-size: clamp(1.92rem, 7.5vw, 2.52rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
    text-wrap: pretty;
    hyphens: none;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .hero-slide.slide-capability .hub-lead {
    max-width: none;
    margin-top: 18px;
    font-size: 1rem;
    line-height: 1.72;
  }

  .hero-slide.slide-capability .hero-en {
    max-width: none;
    margin-top: 14px;
    font-size: 0.89rem;
    line-height: 1.68;
  }

  .hub-copy h1 {
    font-size: clamp(1.92rem, 7.5vw, 2.52rem);
    max-width: 100%;
    text-wrap: balance;
    hyphens: none;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .hub-copy .hub-title {
    font-size: clamp(1.92rem, 7.5vw, 2.52rem);
    max-width: 100%;
    text-wrap: balance;
    hyphens: none;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .hub-lead {
    margin-top: 16px;
    font-size: 0.99rem;
    line-height: 1.7;
  }

  .hub-copy .hero-en {
    max-width: 35rem;
    font-size: 0.91rem;
    line-height: 1.66;
    overflow-wrap: anywhere;
  }

  .hub-actions {
    gap: 10px;
    margin-top: 20px;
  }

  .ticker-grid,
  .portal-updates .updates-grid,
  .proof-matrix,
  .entry-grid.primary,
  .entry-grid.secondary,
  .portal-index-grid.four-up,
  .portal-flow-grid.four-up,
  .portal-stat-grid.four-up {
    grid-template-columns: 1fr;
  }

  .home-domain-grid,
  .home-advanced-grid,
  .home-access-grid {
    grid-template-columns: 1fr;
  }

  .ticker-grid {
    gap: 10px;
    padding: 12px;
    border-radius: 26px;
  }

  .ticker-item,
  .portal-updates .update-column {
    border-top: 0;
  }

  .portal-updates .updates-mark {
    border-right: 0;
    min-height: auto;
  }

  .ticker-strip {
    margin-top: -18px;
    padding-bottom: 16px;
  }

  .ticker-item {
    min-height: auto;
    padding: 22px 20px 20px;
    border-radius: 20px;
  }

  .ticker-item strong {
    margin-top: 16px;
    font-size: clamp(1.56rem, 7vw, 1.94rem);
  }

  #home-overview {
    padding-top: 72px;
    padding-bottom: 18px;
  }

  .home-proof {
    padding-top: 20px;
    padding-bottom: 18px;
  }

  .home-feature-stage {
    padding-top: 48px;
  }

  .home-proof-copy,
  .proof-highlight-card {
    padding: 24px 22px 22px;
    border-radius: 24px;
  }

  .home-proof-copy h2 {
    max-width: none;
    font-size: clamp(1.76rem, 6vw, 2.26rem);
  }

  #home-overview .section-shell {
    padding: 26px 20px;
    border-radius: 24px;
  }

  #home-overview .portal-heading {
    margin-bottom: 22px;
  }

  #home-overview .portal-heading h2 {
    max-width: none;
  }

  #home-overview .portal-index-grid.three-up,
  #home-overview .portal-index-grid.two-up {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  #home-overview .portal-index-grid.two-up {
    margin-top: 16px !important;
  }

  #home-overview .portal-panel {
    padding: 24px 22px 22px;
  }

  #home-primary,
  #home-secondary {
    gap: 14px;
    padding: 0 0 18px;
  }

  #home-primary .entry-card:first-child,
  #home-secondary .entry-card:nth-child(n) {
    min-height: 276px;
  }

  .entry-card,
  .entry-grid.primary .entry-card,
  .entry-grid.secondary .entry-card {
    min-height: 236px;
    border-radius: 24px;
  }

  .entry-card-content {
    padding: 24px 22px 22px;
  }

  .entry-card .entry-tag,
  .entry-meta {
    letter-spacing: 0.13em;
  }

  .portal-updates .update-column h3,
  .footer-column .section-kicker,
  .footer-column a {
    min-height: auto;
  }

  .portal-subnav-shell {
    flex-wrap: wrap;
    overflow: visible;
    gap: 10px;
    padding: 12px 0 14px;
    scrollbar-width: none;
  }

  .portal-subnav-shell::-webkit-scrollbar {
    display: none;
  }

  .portal-subnav-shell a {
    flex: 1 1 calc(33.333% - 7px);
    justify-content: center;
    text-align: center;
    min-height: 38px;
    padding: 9px 14px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.74);
    box-shadow: var(--shadow-rest);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    scroll-snap-align: start;
  }

  .portal-subnav-shell a:hover,
  .portal-subnav-shell a:focus-visible {
    border-color: rgba(31, 111, 235, 0.26);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-hover);
  }

  .portal-section,
  .portal-related,
  .portal-band {
    padding: 56px 0;
  }

  .editorial-split {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 22px;
  }

  .editorial-split--visual-first-mobile:not(.editorial-split--reverse):has(> .editorial-visual:first-child),
  .editorial-split--visual-first-mobile:not(.editorial-split--reverse):has(> .editorial-visual-grid:first-child) {
    grid-template-columns: 1fr;
  }

  .editorial-split--visual-first-mobile .editorial-visual,
  .editorial-split--visual-first-mobile .editorial-visual-grid {
    order: -1;
  }

  .editorial-copy .portal-heading h2 {
    max-width: none;
  }

  .portal-heading p,
  .editorial-copy .portal-heading p {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .editorial-visual,
  .editorial-visual-grid,
  .visual-tile {
    min-height: 260px;
  }

  .portal-masthead {
    padding: 72px 0 26px;
  }

  .portal-masthead-compact {
    padding: 68px 0 22px;
  }

  .portal-masthead-copy h1,
  .portal-masthead-compact .portal-masthead-copy h1 {
    max-width: 100%;
    font-size: clamp(1.82rem, 6.9vw, 2.26rem);
    line-height: 1.08;
    text-wrap: balance;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: none;
  }

  .portal-masthead-copy p,
  .portal-masthead-compact .portal-masthead-copy p {
    max-width: 28rem;
    font-size: 0.98rem;
    line-height: 1.78;
  }

  .portal-summary-card,
  .portal-masthead-compact .portal-summary-card,
  .portal-directory-card {
    width: 100%;
    max-width: none;
    margin-top: 6px;
    padding: 18px 18px 16px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: var(--shadow-rest);
  }

  .case-snapshot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .case-snapshot-card {
    min-height: 220px;
    padding: 20px;
  }

  .portal-summary-card h3 {
    font-size: 1.22rem;
    line-height: 1.16;
  }

  .contact-anchor-card,
  .contact-record-card,
  .contact-guidance-card,
  .contact-side-card {
    padding: 22px 20px 20px;
    border-radius: 22px;
  }

  .home-strategy-rail,
  .home-access-grid .portal-link-card,
  .home-domain-grid .portal-panel,
  .home-advanced-grid .portal-link-card {
    min-height: auto;
  }

  .contact-note,
  .contact-step,
  .contact-record-item {
    padding: 16px;
  }

  .portal-summary-card ul {
    gap: 8px;
    margin-top: 14px;
  }

  .portal-directory-list {
    gap: 10px;
    margin-top: 16px;
  }

  .portal-directory-list div,
  .portal-band-link {
    padding: 13px 14px;
  }

  .portal-panel,
  .portal-link-card,
  .portal-flow-step,
  .portal-stat-card {
    padding: 24px 22px;
  }

  .portal-card-media,
  .portal-card-media--compact {
    margin-bottom: 16px;
  }

  .portal-card-media-grid {
    gap: 8px;
    margin-bottom: 16px;
  }

  .portal-panel h3,
  .portal-link-card h3,
  .portal-flow-step h3,
  .portal-stat-card h3 {
    font-size: 1.18rem;
  }

  .home-proof-copy,
  .proof-highlight-card,
  .case-snapshot-card {
    padding: 20px 18px;
    border-radius: 22px;
  }

  .proof-pill-row,
  .case-snapshot-tags {
    gap: 6px;
  }
}

@media (max-width: 640px) {
  .portal-masthead-copy,
  .portal-masthead-compact .portal-masthead-copy {
    max-width: 100%;
  }

  .portal-masthead-copy h1,
  .portal-masthead-compact .portal-masthead-copy h1 {
    max-width: 100%;
    font-size: clamp(1.68rem, 7.2vw, 2rem);
  }

  .home-proof-copy h2 {
    max-width: 100%;
    font-size: clamp(1.58rem, 6.4vw, 1.98rem);
  }

  .portal-subnav-shell {
    flex-wrap: wrap;
    overflow-x: visible;
    gap: 8px;
    padding: 10px 0 12px;
    scrollbar-width: none;
  }

  .portal-subnav-shell::-webkit-scrollbar {
    display: none;
  }

  .portal-subnav-shell a {
    flex: 1 1 calc(50% - 4px);
    min-height: 38px;
    padding: 10px 16px;
    font-size: 0.69rem;
    letter-spacing: 0.09em;
    scroll-snap-align: start;
  }

  .case-snapshot-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .case-snapshot-card {
    min-height: auto;
    padding: 18px 16px;
  }

  .case-snapshot-number {
    margin-bottom: 16px;
  }

  .case-snapshot-card h3 {
    font-size: 1.04rem;
  }

  .contact-masthead-chip-row {
    gap: 8px;
  }

  .contact-masthead-chip {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  :root {
    --content-width: min(100% - 24px, 1320px);
    --site-header-height: 66px;
    --anchor-offset: calc(var(--site-header-height) + 14px);
  }

  .portal-heading h2 {
    font-size: clamp(1.48rem, 6.5vw, 1.82rem);
    line-height: 1.1;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: none;
  }

  .hub-copy h1 {
    max-width: 100%;
    font-size: clamp(1.74rem, 8.2vw, 2.18rem);
    hyphens: none;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .hub-copy .hub-title {
    max-width: 100%;
    font-size: clamp(1.74rem, 8.2vw, 2.18rem);
    hyphens: none;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .portal-hero.hero-carousel {
    min-height: 568px;
  }

  .hub-slide-shell {
    padding: 84px 0 48px;
  }

  .portal-hero .hero-slide .hub-copy {
    max-width: min(100%, 22rem);
    min-height: 368px;
  }

  .hero-slide.slide-capability .hero-kicker {
    margin-bottom: 16px;
    gap: 8px;
  }

  .hero-slide.slide-capability h1 {
    max-width: 100%;
    font-size: clamp(1.74rem, 8.2vw, 2.18rem);
    line-height: 1.03;
    letter-spacing: -0.038em;
    text-wrap: pretty;
    hyphens: none;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .hero-slide.slide-capability .hub-lead {
    max-width: none;
    margin-top: 16px;
    font-size: 0.98rem;
    line-height: 1.68;
  }

  .hero-slide.slide-capability .hero-en {
    max-width: none;
    margin-top: 12px;
    font-size: 0.86rem;
    line-height: 1.62;
  }

  .hub-lead {
    font-size: 0.95rem;
    line-height: 1.66;
  }

  .hub-copy .hero-en {
    font-size: 0.88rem;
    line-height: 1.6;
    overflow-wrap: anywhere;
  }

  .portal-masthead-copy h1 {
    max-width: 100%;
    font-size: clamp(1.62rem, 6.5vw, 1.98rem);
    line-height: 1.1;
  }

  .portal-subnav-shell {
    gap: 8px;
    padding-bottom: 10px;
  }

  .portal-subnav-shell a {
    flex: 1 1 calc(50% - 4px);
    min-height: 36px;
    padding: 8px 14px;
    font-size: 0.68rem;
  }

  .hub-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .ticker-strip {
    margin-top: -12px;
    padding-bottom: 14px;
  }

  .ticker-grid {
    gap: 10px;
    padding: 10px;
    border-radius: 22px;
  }

  .ticker-item {
    padding: 20px 18px 18px;
    border-radius: 18px;
  }

  .ticker-item strong {
    font-size: clamp(1.4rem, 7.6vw, 1.72rem);
  }

  #home-overview {
    padding-top: 64px;
  }

  .home-proof {
    padding-top: 14px;
  }

  .home-feature-stage {
    padding-top: 42px;
  }

  #home-overview .section-shell {
    padding: 22px 16px;
    border-radius: 22px;
  }

  #home-overview .portal-panel {
    padding: 22px 18px 20px;
  }

  .drawer-panel > .language-switch {
    width: 100%;
    justify-content: space-between;
  }

  .language-switch {
    min-width: 0;
    width: 100%;
  }

  .language-option {
    min-width: 46px;
    padding-inline: 10px;
  }

  .entry-card,
  .entry-grid.primary .entry-card,
  .entry-grid.secondary .entry-card {
    min-height: 216px;
  }

  .entry-grid.primary,
  .entry-grid.secondary {
    gap: 12px;
    padding: 0 0 14px;
  }

  .entry-card-content,
  .portal-panel,
  .portal-link-card,
  .portal-flow-step,
  .portal-stat-card,
  .portal-summary-card,
  .portal-directory-card {
    padding: 22px;
  }

  .portal-summary-card,
  .portal-masthead-compact .portal-summary-card,
  .portal-directory-card {
    padding: 16px;
  }

  .portal-summary-card h3 {
    font-size: 1.08rem;
  }

  .contact-anchor-card,
  .contact-record-card,
  .contact-guidance-card,
  .contact-side-card {
    padding: 20px 18px;
  }

  .home-strategy-rail,
  .portal-updates .updates-mark,
  .portal-updates .update-column {
    padding-inline: 18px;
  }

  .portal-card-media {
    aspect-ratio: 15 / 10;
  }

  .portal-card-media--compact {
    aspect-ratio: 16 / 10;
  }

  .portal-card-media-grid img {
    border-radius: 12px;
  }

  .portal-summary-card li {
    padding-left: 14px;
    font-size: 0.96rem;
  }

  .case-snapshot-grid {
    grid-template-columns: 1fr;
  }

  .case-snapshot-card {
    min-height: auto;
    padding: 18px 16px;
  }

  .entry-card,
  .entry-grid.primary .entry-card,
  .entry-grid.secondary .entry-card {
    min-height: 214px;
    border-radius: 22px;
  }

  #home-primary .entry-card:first-child,
  #home-secondary .entry-card:nth-child(n) {
    min-height: 244px;
  }

  .editorial-visual,
  .editorial-visual-grid,
  .visual-tile {
    min-height: 220px;
  }

  .drawer-panel {
    left: 0;
    right: auto;
    width: 100vw;
    max-width: 100vw;
    min-height: 100%;
    min-height: 100dvh;
    padding: 18px 16px 16px;
    padding-top: calc(18px + env(safe-area-inset-top, 0px));
    padding-right: calc(16px + env(safe-area-inset-right, 0px));
    padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    padding-left: calc(16px + env(safe-area-inset-left, 0px));
  }

  .visual-overlay {
    right: 16px;
    bottom: 16px;
    left: 16px;
    padding: 16px;
  }

  .visual-overlay h3 {
    font-size: 1.08rem;
  }

  .tile-caption {
    right: 12px;
    bottom: 12px;
    left: 12px;
    padding: 11px 12px;
  }
}

body[data-page="about"] #positioning .portal-stat-grid {
  margin-top: 22px;
  grid-template-columns: minmax(0, 1.08fr) repeat(3, minmax(0, 0.9fr));
}

body[data-page="about"] #positioning .portal-stat-card:first-child,
body[data-page="news"] #updates-index .portal-link-card:first-child,
body[data-page="partners"] #network-index .portal-stat-card:first-child,
body[data-page="investors"] #entry-models .portal-panel:first-child {
  background:
    linear-gradient(160deg, rgba(11, 19, 36, 0.96) 0%, rgba(16, 27, 49, 0.94) 100%),
    linear-gradient(135deg, rgba(74, 141, 255, 0.18), rgba(255, 255, 255, 0));
  border-color: rgba(74, 141, 255, 0.22);
  box-shadow: 0 24px 58px rgba(11, 19, 36, 0.16), var(--shadow-glow);
}

body[data-page="about"] #positioning .portal-stat-card:first-child .card-meta,
body[data-page="about"] #positioning .portal-stat-card:first-child strong,
body[data-page="news"] #updates-index .portal-link-card:first-child .news-date,
body[data-page="news"] #updates-index .portal-link-card:first-child h3,
body[data-page="partners"] #network-index .portal-stat-card:first-child .card-meta,
body[data-page="partners"] #network-index .portal-stat-card:first-child strong,
body[data-page="investors"] #entry-models .portal-panel:first-child .card-meta,
body[data-page="investors"] #entry-models .portal-panel:first-child h3 {
  color: #f8fbff;
}

body[data-page="about"] #positioning .portal-stat-card:first-child p,
body[data-page="news"] #updates-index .portal-link-card:first-child p,
body[data-page="partners"] #network-index .portal-stat-card:first-child p,
body[data-page="investors"] #entry-models .portal-panel:first-child p {
  color: rgba(232, 239, 255, 0.84);
}

body[data-page="about"] #positioning .portal-index-grid.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body[data-page="about"] #positioning .portal-stat-grid.four-up {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body[data-page="about"] #record .editorial-split {
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  gap: 28px;
  align-items: stretch;
}

body[data-page="about"] #record .portal-heading {
  max-width: none;
}

body[data-page="about"] #record .portal-heading h2 {
  max-width: 32ch;
}

body[data-page="about"] #record .portal-link-grid.three-up {
  grid-template-columns: minmax(0, 1.04fr) repeat(2, minmax(0, 0.98fr));
  align-items: stretch;
}

body[data-page="about"] #record .portal-link-grid .portal-panel:nth-child(2) {
  background:
    linear-gradient(180deg, rgba(236, 243, 255, 0.96) 0%, rgba(245, 248, 255, 0.78) 100%),
    linear-gradient(135deg, rgba(31, 111, 235, 0.1), rgba(255, 255, 255, 0));
  border-color: rgba(31, 111, 235, 0.12);
}

body[data-page="about"] #record .portal-link-grid .portal-panel:nth-child(3) {
  background:
    linear-gradient(180deg, rgba(255, 249, 238, 0.96) 0%, rgba(250, 246, 238, 0.74) 100%),
    linear-gradient(135deg, rgba(238, 155, 36, 0.08), rgba(255, 255, 255, 0));
}

body[data-page="about"] #operating-profile .portal-index-grid.three-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

body[data-page="about"] #operating-profile .portal-index-grid .portal-panel:last-child {
  grid-column: 1 / -1;
}

body[data-page="about"] #operating-profile .portal-heading {
  max-width: 860px;
}

body[data-page="about"] #operating-profile .portal-heading h2 {
  max-width: 32ch;
}

body[data-page="sustainability"] #case-index .case-snapshot-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

body[data-page="sustainability"] #case-index .case-snapshot-card:nth-child(4),
body[data-page="sustainability"] #case-index .case-snapshot-card:nth-child(5) {
  min-height: 100%;
}

body[data-page="sustainability"] #case-index .case-snapshot-card:nth-child(5) {
  background:
    linear-gradient(160deg, rgba(11, 19, 36, 0.96) 0%, rgba(16, 27, 49, 0.92) 100%),
    linear-gradient(135deg, rgba(74, 141, 255, 0.16), rgba(255, 255, 255, 0));
  border-color: rgba(74, 141, 255, 0.22);
  box-shadow: 0 22px 54px rgba(11, 19, 36, 0.16), var(--shadow-glow);
}

body[data-page="sustainability"] #case-index .case-snapshot-card:nth-child(5) .card-meta,
body[data-page="sustainability"] #case-index .case-snapshot-card:nth-child(5) h3 {
  color: #f8fbff;
}

body[data-page="sustainability"] #case-index .case-snapshot-card:nth-child(5) p {
  color: rgba(232, 239, 255, 0.84);
}

body[data-page="sustainability"] #profile .portal-index-grid.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body[data-page="sustainability"] #profile .portal-index-grid .portal-panel:nth-child(2) {
  background:
    linear-gradient(180deg, rgba(236, 243, 255, 0.96) 0%, rgba(245, 248, 255, 0.78) 100%),
    linear-gradient(135deg, rgba(31, 111, 235, 0.1), rgba(255, 255, 255, 0));
  border-color: rgba(31, 111, 235, 0.12);
}

body[data-page="sustainability"] #profile .portal-index-grid .portal-panel:nth-child(3) {
  background:
    linear-gradient(180deg, rgba(255, 249, 238, 0.96) 0%, rgba(250, 246, 238, 0.74) 100%),
    linear-gradient(135deg, rgba(238, 155, 36, 0.08), rgba(255, 255, 255, 0));
}

body[data-page="sustainability"] #case-decarbonization .portal-link-grid.three-up,
body[data-page="sustainability"] #case-delivery .portal-link-grid.three-up,
body[data-page="sustainability"] #case-local .editorial-visual-grid,
body[data-page="sustainability"] #case-asia .portal-link-grid.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body[data-page="sustainability"] #case-local .editorial-visual-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

body[data-page="about"] #operating-profile .portal-link-grid.two-up .portal-link-card:first-child {
  background:
    linear-gradient(160deg, rgba(11, 19, 36, 0.96) 0%, rgba(16, 27, 49, 0.92) 100%),
    linear-gradient(135deg, rgba(74, 141, 255, 0.16), rgba(255, 255, 255, 0));
  border-color: rgba(74, 141, 255, 0.22);
  box-shadow: 0 22px 54px rgba(11, 19, 36, 0.16), var(--shadow-glow);
}

body[data-page="about"] #operating-profile .portal-link-grid.two-up .portal-link-card:first-child .card-meta,
body[data-page="about"] #operating-profile .portal-link-grid.two-up .portal-link-card:first-child h3 {
  color: #f8fbff;
}

body[data-page="about"] #operating-profile .portal-link-grid.two-up .portal-link-card:first-child p {
  color: rgba(232, 239, 255, 0.84);
}

body[data-page="about"] #operating-profile .portal-link-grid.two-up .portal-link-card:last-child {
  background:
    linear-gradient(180deg, rgba(255, 248, 240, 0.96) 0%, rgba(250, 246, 238, 0.8) 100%),
    linear-gradient(135deg, rgba(238, 155, 36, 0.1), rgba(255, 255, 255, 0));
  border-color: rgba(238, 155, 36, 0.14);
}

body[data-page="news"] #updates-index .portal-link-grid.three-up {
  grid-template-columns: minmax(0, 1.16fr) repeat(2, minmax(0, 0.92fr));
}

body[data-page="news"] #update-focus .portal-stat-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body[data-page="news"] #update-focus .portal-stat-card:first-child {
  grid-column: 1 / -1;
}

body[data-page="news"] #update-archive .portal-index-grid.three-up {
  grid-template-columns: minmax(0, 1.12fr) repeat(2, minmax(0, 0.94fr));
}

body[data-page="news"] #update-archive .portal-panel:first-child {
  background:
    linear-gradient(180deg, rgba(236, 243, 255, 0.96) 0%, rgba(245, 248, 255, 0.78) 100%),
    linear-gradient(135deg, rgba(31, 111, 235, 0.1), rgba(255, 255, 255, 0));
  border-color: rgba(31, 111, 235, 0.12);
}

body[data-page="partners"] #network-index .portal-stat-grid {
  grid-template-columns: minmax(0, 1.08fr) repeat(3, minmax(0, 0.9fr));
}

body[data-page="partners"] #working-rules .portal-index-grid.three-up {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

body[data-page="partners"] #working-rules .portal-panel:first-child {
  grid-row: span 2;
  background:
    linear-gradient(180deg, rgba(236, 243, 255, 0.96) 0%, rgba(245, 248, 255, 0.78) 100%),
    linear-gradient(135deg, rgba(31, 111, 235, 0.1), rgba(255, 255, 255, 0));
  border-color: rgba(31, 111, 235, 0.12);
}

body[data-page="partners"] #network-flow .portal-flow-grid.four-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body[data-page="partners"] #partner-entry .portal-link-grid.three-up .portal-link-card:nth-child(2) {
  background:
    linear-gradient(160deg, rgba(11, 19, 36, 0.96) 0%, rgba(16, 27, 49, 0.92) 100%),
    linear-gradient(135deg, rgba(74, 141, 255, 0.16), rgba(255, 255, 255, 0));
  border-color: rgba(74, 141, 255, 0.22);
  box-shadow: 0 22px 54px rgba(11, 19, 36, 0.16), var(--shadow-glow);
}

body[data-page="partners"] #partner-entry .portal-link-grid.three-up .portal-link-card:nth-child(2) .card-meta,
body[data-page="partners"] #partner-entry .portal-link-grid.three-up .portal-link-card:nth-child(2) h3 {
  color: #f8fbff;
}

body[data-page="partners"] #partner-entry .portal-link-grid.three-up .portal-link-card:nth-child(2) p {
  color: rgba(232, 239, 255, 0.84);
}

body[data-page="investors"] #entry-models .portal-index-grid.three-up {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
}

body[data-page="investors"] #entry-models .portal-panel:first-child {
  grid-row: span 2;
}

body[data-page="investors"] #fit-scenarios .portal-link-grid.three-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body[data-page="investors"] #fit-scenarios .portal-link-card:last-child {
  grid-column: 1 / -1;
  background:
    linear-gradient(160deg, rgba(11, 19, 36, 0.96) 0%, rgba(16, 27, 49, 0.92) 100%),
    linear-gradient(135deg, rgba(74, 141, 255, 0.16), rgba(255, 255, 255, 0));
  border-color: rgba(74, 141, 255, 0.22);
  box-shadow: 0 22px 54px rgba(11, 19, 36, 0.16), var(--shadow-glow);
}

body[data-page="investors"] #fit-scenarios .portal-link-card:last-child .card-meta,
body[data-page="investors"] #fit-scenarios .portal-link-card:last-child h3 {
  color: #f8fbff;
}

body[data-page="investors"] #fit-scenarios .portal-link-card:last-child p {
  color: rgba(232, 239, 255, 0.84);
}

body[data-page="investors"] #entry-sequence .portal-flow-grid.four-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body[data-page="investors"] #entry-sequence .portal-flow-step:last-child {
  background:
    linear-gradient(180deg, rgba(236, 243, 255, 0.96) 0%, rgba(245, 248, 255, 0.78) 100%),
    linear-gradient(135deg, rgba(31, 111, 235, 0.1), rgba(255, 255, 255, 0));
  border-color: rgba(31, 111, 235, 0.12);
}

@media (max-width: 1024px) {
  body[data-page="about"] #positioning .portal-stat-grid,
  body[data-page="about"] #positioning .portal-index-grid.three-up,
  body[data-page="about"] #positioning .editorial-split,
  body[data-page="about"] #record .editorial-split,
  body[data-page="about"] #record .portal-link-grid.three-up,
  body[data-page="news"] #updates-index .portal-link-grid.three-up,
  body[data-page="news"] #update-archive .portal-index-grid.three-up,
  body[data-page="partners"] #network-index .portal-stat-grid,
  body[data-page="partners"] #working-rules .portal-index-grid.three-up,
  body[data-page="investors"] #entry-models .portal-index-grid.three-up,
  body[data-page="investors"] #fit-scenarios .portal-link-grid.three-up {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="sustainability"] #case-index .case-snapshot-grid,
  body[data-page="sustainability"] #profile .portal-index-grid.three-up,
  body[data-page="sustainability"] #case-decarbonization .portal-link-grid.three-up,
  body[data-page="sustainability"] #case-delivery .portal-link-grid.three-up,
  body[data-page="sustainability"] #case-local .editorial-visual-grid,
  body[data-page="sustainability"] #case-asia .portal-link-grid.three-up {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="about"] #positioning .editorial-split {
    grid-template-columns: 1fr;
  }

  body[data-page="about"] #record .editorial-split {
    grid-template-columns: 1fr;
  }

  body[data-page="investors"] #entry-models .portal-panel:first-child,
  body[data-page="partners"] #working-rules .portal-panel:first-child {
    grid-row: auto;
  }

  body[data-page="about"] #operating-profile .portal-index-grid.three-up,
  body[data-page="news"] #update-focus .portal-stat-grid,
  body[data-page="partners"] #network-flow .portal-flow-grid.four-up,
  body[data-page="investors"] #entry-sequence .portal-flow-grid.four-up {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="about"] #operating-profile .portal-index-grid .portal-panel:last-child,
  body[data-page="news"] #update-focus .portal-stat-card:first-child,
  body[data-page="investors"] #fit-scenarios .portal-link-card:last-child {
    grid-column: 1 / -1;
  }

  body[data-page="sustainability"] #case-index .case-snapshot-card:nth-child(5),
  body[data-page="sustainability"] #profile .portal-index-grid .portal-panel:nth-child(3) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  body[data-page="about"] #positioning .portal-stat-grid,
  body[data-page="about"] #positioning .portal-index-grid.three-up,
  body[data-page="about"] #record .portal-link-grid.three-up,
  body[data-page="about"] #operating-profile .portal-index-grid.three-up,
  body[data-page="news"] #updates-index .portal-link-grid.three-up,
  body[data-page="news"] #update-focus .portal-stat-grid,
  body[data-page="news"] #update-archive .portal-index-grid.three-up,
  body[data-page="partners"] #network-index .portal-stat-grid,
  body[data-page="partners"] #working-rules .portal-index-grid.three-up,
  body[data-page="partners"] #network-flow .portal-flow-grid.four-up,
  body[data-page="investors"] #entry-models .portal-index-grid.three-up,
  body[data-page="investors"] #fit-scenarios .portal-link-grid.three-up,
  body[data-page="investors"] #entry-sequence .portal-flow-grid.four-up {
    grid-template-columns: 1fr;
  }

  body[data-page="sustainability"] #case-index .case-snapshot-grid,
  body[data-page="sustainability"] #profile .portal-index-grid.three-up,
  body[data-page="sustainability"] #case-decarbonization .portal-link-grid.three-up,
  body[data-page="sustainability"] #case-delivery .portal-link-grid.three-up,
  body[data-page="sustainability"] #case-asia .portal-link-grid.three-up,
  body[data-page="sustainability"] #case-local .editorial-visual-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="about"] #positioning .portal-index-grid.three-up,
  body[data-page="about"] #record .portal-link-grid.three-up {
    gap: 14px;
  }

  body[data-page="about"] #record .portal-heading h2 {
    max-width: 100%;
  }

  body[data-page="about"] #record .editorial-split,
  body[data-page="about"] #record .editorial-visual-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="about"] #record .editorial-visual-grid {
    gap: 12px;
  }

  body[data-page="about"] #operating-profile .portal-index-grid .portal-panel:last-child,
  body[data-page="news"] #update-focus .portal-stat-card:first-child,
  body[data-page="investors"] #fit-scenarios .portal-link-card:last-child {
    grid-column: auto;
  }

  body[data-page="sustainability"] #case-index .case-snapshot-card:nth-child(5),
  body[data-page="sustainability"] #profile .portal-index-grid .portal-panel:nth-child(3) {
    grid-column: auto;
  }
}

@media (max-width: 480px) {
  body[data-page="about"] #positioning .portal-stat-grid,
  body[data-page="about"] #positioning .portal-index-grid.three-up,
  body[data-page="about"] #record .portal-link-grid.three-up,
  body[data-page="about"] #operating-profile .portal-index-grid.three-up {
    gap: 12px;
  }

  body[data-page="about"] #positioning .portal-heading h2,
  body[data-page="about"] #record .portal-heading h2,
  body[data-page="about"] #operating-profile .portal-heading h2 {
    max-width: 100%;
  }

  body[data-page="about"] #record .editorial-split {
    gap: 14px;
  }

  body[data-page="sustainability"] #case-index .case-snapshot-grid,
  body[data-page="sustainability"] #profile .portal-index-grid.three-up,
  body[data-page="sustainability"] #case-decarbonization .portal-link-grid.three-up,
  body[data-page="sustainability"] #case-delivery .portal-link-grid.three-up,
  body[data-page="sustainability"] #case-asia .portal-link-grid.three-up,
  body[data-page="sustainability"] #case-local .editorial-visual-grid {
    gap: 12px;
  }
}

body[data-page="about"] .about-longform-hero .portal-masthead-grid {
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.54fr);
  gap: 32px;
}

body[data-page="about"] .about-longform-hero .portal-masthead-copy {
  max-width: 860px;
}

body[data-page="about"] .about-longform-hero .portal-masthead-copy h1 {
  max-width: 14ch;
  text-wrap: balance;
}

body[data-page="about"] .about-longform-hero .portal-masthead-copy p {
  max-width: 54rem;
}

body[data-page="about"] .about-longform-section {
  padding: 72px 0;
}

body[data-page="about"] .about-longform-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.84fr) minmax(0, 1.16fr);
  gap: 32px;
  align-items: start;
  max-width: 1160px;
  margin: 0 auto;
}

body[data-page="about"] .about-longform-visual {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(160deg, rgba(11, 19, 36, 0.1), rgba(255, 255, 255, 0.02)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.54), rgba(255, 255, 255, 0.14));
  box-shadow: var(--shadow-rest);
}

body[data-page="about"] .about-longform-visual img {
  width: 100%;
  aspect-ratio: 4 / 4.5;
  object-fit: cover;
}

body[data-page="about"] .about-longform-copy {
  min-width: 0;
}

body[data-page="about"] .about-longform-copy .portal-heading {
  margin-bottom: 22px;
  max-width: 100%;
}

body[data-page="about"] .about-longform-copy .portal-heading h2 {
  max-width: 18ch;
  font-size: clamp(2rem, 2.5vw, 2.85rem);
  line-height: 1.08;
}

body[data-page="about"] .about-longform-body,
body[data-page="about"] .about-topic-body {
  display: grid;
  gap: 18px;
}

body[data-page="about"] .about-longform-body p,
body[data-page="about"] .about-topic-body p {
  margin: 0;
  max-width: 56rem;
  font-size: 1.02rem;
  line-height: 1.94;
  color: var(--text-secondary);
}

body[data-page="about"] .about-topic {
  display: grid;
  gap: 22px;
  max-width: 980px;
  margin: 0 auto;
}

body[data-page="about"] .about-topic-head {
  display: grid;
  gap: 12px;
}

body[data-page="about"] .about-topic-head h2 {
  margin: 0;
  max-width: 28ch;
  font-family: var(--font-heading);
  font-size: clamp(1.72rem, 2.02vw, 2.2rem);
  line-height: 1.12;
  letter-spacing: -0.024em;
  font-weight: 800;
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

body[data-page="about"] .about-topic-lead {
  margin: 0;
  max-width: 62rem;
  font-size: 1.06rem;
  line-height: 1.78;
  color: var(--text-secondary);
}

body[data-page="about"] .about-topic-case .about-topic-body {
  gap: 28px;
}

body[data-page="about"] .about-topic-block {
  display: grid;
  gap: 12px;
}

body[data-page="about"] .about-topic-block h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.08rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
  font-weight: 700;
  color: var(--text-primary);
}

body[data-page="about"] .about-longform-closing {
  background:
    linear-gradient(160deg, rgba(11, 19, 36, 0.98) 0%, rgba(16, 27, 49, 0.96) 100%),
    linear-gradient(135deg, rgba(74, 141, 255, 0.18), rgba(255, 255, 255, 0));
  border-top: 1px solid rgba(74, 141, 255, 0.18);
  border-bottom: 1px solid rgba(74, 141, 255, 0.14);
}

body[data-page="about"] .about-longform-closing .section-shell {
  max-width: 980px;
  text-align: center;
}

body[data-page="about"] .about-longform-closing .section-kicker,
body[data-page="about"] .about-longform-closing h2 {
  color: #f8fbff;
}

body[data-page="about"] .about-longform-closing h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

@media (max-width: 1180px) {
  body[data-page="about"] .about-longform-hero .portal-masthead-grid,
  body[data-page="about"] .about-longform-layout {
    grid-template-columns: 1fr;
  }

  body[data-page="about"] .about-longform-hero .portal-summary-card {
    max-width: 520px;
  }

  body[data-page="about"] .about-longform-copy .portal-heading h2,
  body[data-page="about"] .about-topic-head h2 {
    max-width: 100%;
  }

  body[data-page="about"] .about-topic {
    max-width: 100%;
  }

  body[data-page="about"] .about-longform-visual img {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 768px) {
  body[data-page="about"] .about-longform-section {
    padding: 60px 0;
  }

  body[data-page="about"] .about-longform-layout,
  body[data-page="about"] .about-topic {
    gap: 18px;
  }

  body[data-page="about"] .about-longform-body p,
  body[data-page="about"] .about-topic-body p {
    font-size: 1rem;
    line-height: 1.9;
  }

  body[data-page="about"] .about-topic-head h2 {
    font-size: clamp(1.62rem, 5vw, 1.96rem);
  }

  body[data-page="about"] .about-topic-case .about-topic-body {
    gap: 24px;
  }

  body[data-page="about"] .about-topic-lead {
    font-size: 1rem;
    line-height: 1.74;
  }
}

@media (max-width: 480px) {
  body[data-page="about"] .about-longform-hero .portal-masthead-copy h1 {
    max-width: 100%;
  }

  body[data-page="about"] .about-longform-copy .portal-heading h2 {
    font-size: clamp(1.72rem, 7.6vw, 2rem);
  }

  body[data-page="about"] .about-longform-closing h2 {
    font-size: clamp(1.7rem, 8vw, 2.2rem);
  }

  body[data-page="about"] .about-topic-head {
    gap: 10px;
  }

  body[data-page="about"] .about-topic-head h2 {
    font-size: clamp(1.48rem, 7vw, 1.78rem);
    line-height: 1.14;
  }

  body[data-page="about"] .about-topic-block h3 {
    font-size: 1rem;
  }
}

/* Keep translated content within its reading column without weakening other locales. */
html[lang="de"] .portal-panel h3,
html[lang="de"] .portal-link-card h3,
html[lang="de"] .portal-flow-step h3,
html[lang="de"] .portal-stat-card h3,
html[lang="de"] .case-snapshot-card h3,
html[lang="de"] .visual-overlay h3,
html[lang="de"] .contact-step h3,
html[lang="de"] .about-topic-block h3,
html[lang="de"] .feature-tile h3,
html[lang="de"] .portal-stat-card strong {
  hyphens: auto;
  overflow-wrap: break-word;
}

html[lang="de"] .portal-panel p,
html[lang="de"] .portal-link-card p,
html[lang="de"] .portal-flow-step p,
html[lang="de"] .portal-stat-card p,
html[lang="de"] .contact-step p,
html[lang="de"] .portal-related h2 {
  hyphens: auto;
  overflow-wrap: break-word;
}

/* Long-form German headings need the full desktop reading measure, not a narrow ch cap. */
html[lang="de"] body[data-page="about"] .about-longform-hero .portal-masthead-copy h1 {
  max-width: 100%;
  text-wrap: pretty;
}

html[lang="de"] body[data-page="about"] .about-longform-copy .portal-heading h2,
html[lang="de"] body[data-page="about"] .about-topic-head h2 {
  max-width: 100%;
  text-wrap: pretty;
  hyphens: auto;
  overflow-wrap: break-word;
}

@media (max-width: 768px) {
  .contact-record-grid,
  .contact-path-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  /* Page-specific desktop grids appear later in the stylesheet; restore the mobile stack. */
  [data-page] .portal-index-grid.three-up,
  [data-page] .portal-link-grid.three-up,
  [data-page] .portal-flow-grid.four-up,
  [data-page] .portal-stat-grid.four-up {
    grid-template-columns: 1fr !important;
  }

  /* Let the active German slide define its height so long copy is never clipped. */
  html[lang="de"] .portal-hero.hero-carousel,
  html[lang="de"] .portal-hero .hero-slide .hub-copy {
    min-height: 0;
  }

  html[lang="de"] .portal-hero .hub-slide-shell {
    min-height: 0;
  }

  html[lang="de"] .portal-hero .hub-copy h1,
  html[lang="de"] .portal-hero .hub-copy .hub-title,
  html[lang="de"] .portal-heading h2 {
    hyphens: auto;
    overflow-wrap: break-word;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  [data-page] .portal-index-grid.three-up,
  [data-page] .portal-link-grid.three-up,
  [data-page] .portal-flow-grid.four-up,
  [data-page] .portal-stat-grid.four-up {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* German primary-navigation labels exceed the fixed desktop header measure. */
@media (min-width: 1181px) {
  html[lang="de"] .portal-hero .hero-slide .hub-copy {
    max-width: min(62rem, 64vw);
  }

  html[lang="de"] .portal-hero .hero-slide h1,
  html[lang="de"] .portal-hero .hero-slide .hub-title {
    font-size: clamp(2.64rem, 3.25vw, 3.9rem);
    line-height: 1.03;
    letter-spacing: -0.03em;
  }

  html[lang="de"] .desktop-nav,
  html[lang="en"] .desktop-nav,
  html[lang="zh-Hant"] .desktop-nav {
    justify-content: space-between;
    gap: 4px;
    overflow: visible;
  }

  html[lang="de"] .desktop-nav .nav-link,
  html[lang="en"] .desktop-nav .nav-link,
  html[lang="zh-Hant"] .desktop-nav .nav-link {
    flex: 1 1 0;
    min-width: 0;
    padding-inline: 8px;
  }

  html[lang="de"] .desktop-nav .nav-zh,
  html[lang="en"] .desktop-nav .nav-zh {
    display: none;
  }

  html[lang="de"] .desktop-nav .nav-en,
  html[lang="en"] .desktop-nav .nav-en {
    display: block;
    overflow: hidden;
    font-family: var(--font-heading);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-align: center;
    text-overflow: ellipsis;
    text-transform: uppercase;
  }
}
