/* ==========================================================================
   About page (2026-11-26 redesign). Scoped to .xyz-about; tokens match the
   homepage and the applications page (navy accent, copper detail).
   ========================================================================== */

.xyz-about {
  --xb-ink: #11151A;
  --xb-ink-2: #2C333A;
  --xb-muted: #5E6772;
  --xb-paper-2: #F2F5F8;
  --xb-navy: #0B2C49;
  --xb-blue: #125F96;
  --xb-blue-100: #E2EFF8;
  --xb-copper: #C9601F;
  --xb-line: #E1E6EB;
  --xb-display: "Archivo", "Noto Sans SC", system-ui, sans-serif;
  --xb-body: "IBM Plex Sans", "Noto Sans SC", system-ui, "Microsoft YaHei", sans-serif;
  --xb-mono: "IBM Plex Mono", "Noto Sans Mono", ui-monospace, monospace;
  color: var(--xb-ink);
  font-family: var(--xb-body);
}
.xyz-about * { box-sizing: border-box; }
.xyz-about a:hover { text-decoration: none; }
.xyz-about figure { margin: 0; }
.xb-shell { width: calc(100% - 64px); max-width: 1320px; margin: 0 auto; }
.xb-section { padding: 96px 0; }
.xyz-about h2 {
  font-family: var(--xb-display); font-weight: 600; font-size: clamp(1.65rem, 2.6vw, 2.3rem); line-height: 1.2;
  letter-spacing: -.01em; margin: 0 0 16px; color: var(--xb-ink); text-wrap: balance;
}
.xb-kicker, .xb-eyebrow {
  display: flex; align-items: center; gap: 10px; margin: 0 0 14px;
  font-family: var(--xb-mono); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--xb-blue);
}
.xb-kicker::before, .xb-eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--xb-copper); }
.xb-head { max-width: 720px; }
.xb-head > p:not(.xb-kicker) { margin: 0; color: var(--xb-ink-2); line-height: 1.75; }
.xb-head-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.xb-head-row h2 { margin: 0; }
.xb-more, .xb-more:visited { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--xb-blue); white-space: nowrap; }
.xb-more svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .18s; }
.xb-more:hover svg { transform: translateX(3px); }

/* buttons */
.xb-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.xb-btn, .xb-btn:visited {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px;
  border-radius: 6px; font-weight: 600; font-size: .95rem; border: 1.5px solid transparent; transition: background .18s, color .18s, border-color .18s;
}
.xb-btn-light, .xb-btn-light:visited { background: #fff; color: var(--xb-navy); }
.xb-btn-light:hover { background: var(--xb-blue-100); color: var(--xb-navy); }
.xb-btn-outline-light, .xb-btn-outline-light:visited { color: #fff; border-color: rgba(255, 255, 255, .55); }
.xb-btn-outline-light:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .08); }

/* --------------------------------------------------------------- hero --- */
.xb-hero { position: relative; isolation: isolate; min-height: 600px; display: flex; align-items: center; padding: 56px 0 130px; color: #fff; overflow: hidden; }
.xb-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; z-index: -2; }
.xb-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(11, 44, 73, .92) 0%, rgba(11, 44, 73, .78) 38%, rgba(11, 44, 73, .25) 68%, rgba(11, 44, 73, .05) 100%);
}
.xb-hero-inner > * { max-width: 680px; }
.xb-hero .breadcrumbs { margin-bottom: 36px; }
.xb-hero .breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; font-size: .88rem; color: rgba(255, 255, 255, .75); }
.xb-hero .breadcrumbs li + li::before { content: "/"; margin-right: 8px; opacity: .6; }
.xb-hero .breadcrumbs a, .xb-hero .breadcrumbs a:visited { color: #fff; }
.xb-hero .breadcrumbs [aria-current] { color: rgba(255, 255, 255, .75); }
.xb-hero .xb-eyebrow { color: #9CC8EA; }
.xb-hero h1 {
  font-family: var(--xb-display); font-weight: 600; font-size: clamp(2.1rem, 3.9vw, 3.3rem); line-height: 1.14;
  letter-spacing: -.015em; margin: 0 0 22px; color: #fff; text-wrap: balance;
}
.xb-lead { font-size: 1.08rem; line-height: 1.8; color: rgba(255, 255, 255, .88); margin: 0 0 32px; }

/* -------------------------------------------------------------- stats --- */
.xb-stats {
  position: relative; z-index: 2; margin: -72px 0 0; padding: 30px 8px; background: #fff; border-radius: 14px;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); box-shadow: 0 24px 60px -28px rgba(11, 44, 73, .35);
}
.xb-stats div { display: flex; flex-direction: column-reverse; padding: 4px 28px; }
.xb-stats div + div { border-left: 1px solid var(--xb-line); }
.xb-stats dd { margin: 0; font-family: var(--xb-display); font-weight: 600; font-size: clamp(1.7rem, 2.6vw, 2.35rem); line-height: 1.1; color: var(--xb-navy); white-space: nowrap; }
.xb-stats dt { margin-top: 8px; font-size: .86rem; color: var(--xb-muted); line-height: 1.35; }

/* -------------------------------------------------------------- story --- */
.xb-story-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 72px; align-items: center; }
.xb-story-copy > p:not(.xb-kicker) { margin: 0 0 16px; color: var(--xb-ink-2); line-height: 1.85; }
.xb-points { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.xb-points li { position: relative; padding: 14px 16px 14px 48px; background: var(--xb-paper-2); border-radius: 8px; font-weight: 500; line-height: 1.45; }
.xb-points li::before {
  content: ""; position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border-radius: 50%;
  background: var(--xb-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.3 2.3 4.7-4.8' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.xb-collage { position: relative; padding: 0 0 72px 0; }
.xb-collage-main { border-radius: 16px; overflow: hidden; aspect-ratio: 3 / 2; box-shadow: 0 30px 60px -30px rgba(11, 44, 73, .4); }
.xb-collage-side {
  position: absolute; left: -36px; bottom: 0; width: 48%; aspect-ratio: 3 / 2; border-radius: 12px; overflow: hidden;
  border: 6px solid #fff; box-shadow: 0 20px 44px -20px rgba(11, 44, 73, .45);
}
.xb-collage img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* -------------------------------------------------------------- group --- */
.xb-group { background: var(--xb-paper-2); }
.xb-group .xb-head { margin-bottom: 44px; }
.xb-group-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.xb-company { background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid var(--xb-line); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.xb-company:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -26px rgba(11, 44, 73, .35); }
.xb-company figure { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.xb-company figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.xb-company figure span {
  position: absolute; top: 14px; left: 14px; background: var(--xb-copper); color: #fff; border-radius: 4px; padding: 3px 8px;
  font-family: var(--xb-mono); font-size: 12px;
}
.xb-company-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.xb-role { margin: 0 0 8px; font-family: var(--xb-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--xb-blue); }
.xb-company h3 { margin: 0 0 10px; font-family: var(--xb-display); font-weight: 600; font-size: 1.14rem; line-height: 1.35; color: var(--xb-ink); }
.xb-company-body > p:not(.xb-role) { margin: 0 0 18px; color: var(--xb-ink-2); line-height: 1.7; font-size: .95rem; }
.xb-tags { list-style: none; margin: auto 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.xb-tags li { font-size: .8rem; color: var(--xb-blue); background: var(--xb-blue-100); border-radius: 999px; padding: 3px 11px; }

/* ------------------------------------------------------------ network --- */
.xb-network { background: var(--xb-navy); color: #fff; position: relative; overflow: hidden; }
.xb-network::before {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background: radial-gradient(60% 80% at 85% 20%, rgba(30, 136, 199, .45), transparent 70%);
}
.xb-network-grid { position: relative; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; align-items: center; }
.xb-network h2 { color: #fff; }
.xb-network .xb-kicker { color: #9CC8EA; }
.xb-network .xb-head > p:not(.xb-kicker) { color: rgba(255, 255, 255, .78); }
.xb-places { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.xb-places li {
  display: grid; grid-template-columns: 34px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center;
  padding: 18px 20px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
}
.xb-places svg { grid-row: 1 / 3; width: 30px; height: 30px; fill: none; stroke: #9CC8EA; stroke-width: 1.6; }
.xb-places strong { font-family: var(--xb-display); font-weight: 600; font-size: 1.12rem; }
.xb-places span { font-size: .86rem; color: rgba(255, 255, 255, .72); line-height: 1.45; }
.xb-places .xb-place-port { background: rgba(201, 96, 31, .16); border-color: rgba(201, 96, 31, .45); }
.xb-places .xb-place-port svg { stroke: #F0A877; }

/* ---------------------------------------------------------------- how --- */
.xb-how-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.xb-how-card { padding: 28px 24px; border: 1px solid var(--xb-line); border-radius: 14px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.xb-how-card:hover { border-color: #BCD3E5; box-shadow: 0 18px 40px -26px rgba(11, 44, 73, .35); }
.xb-icon { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 12px; background: var(--xb-blue-100); margin-bottom: 18px; }
.xb-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--xb-blue); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.xb-how-card h3 { margin: 0 0 8px; font-family: var(--xb-display); font-weight: 600; font-size: 1.1rem; color: var(--xb-ink); }
.xb-how-card p { margin: 0; color: var(--xb-ink-2); font-size: .94rem; line-height: 1.7; }

/* ------------------------------------------------------------- brands --- */
.xb-brands { padding-top: 0; }
.xb-brand-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.xb-brand-grid a, .xb-brand-grid a:visited {
  display: flex; align-items: center; justify-content: center; height: 88px; padding: 14px 18px; border: 1px solid var(--xb-line);
  border-radius: 10px; background: #fff; color: var(--xb-ink-2); font-weight: 600; transition: border-color .15s, box-shadow .15s;
}
.xb-brand-grid a:hover { border-color: #BCD3E5; box-shadow: 0 12px 28px -18px rgba(11, 44, 73, .4); }
.xb-brand-grid img { max-width: 132px; max-height: 40px; width: auto; height: auto; object-fit: contain; }
.xb-note { margin: 18px 0 0; font-size: .84rem; color: var(--xb-muted); }

/* ---------------------------------------------------------------- iso --- */
.xb-iso { background: var(--xb-paper-2); }
.xb-iso-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: center; }
.xb-iso .xb-head > p:not(.xb-kicker) { margin-bottom: 18px; }
.xb-iso-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.xb-iso-cards li { position: relative; padding: 26px 22px; background: #fff; border-radius: 14px; border-top: 4px solid var(--xb-blue); display: flex; flex-direction: column; gap: 4px; }
.xb-iso-tag { font-family: var(--xb-mono); font-size: 12px; letter-spacing: .14em; color: var(--xb-copper); }
.xb-iso-cards strong { font-family: var(--xb-display); font-weight: 600; font-size: 2.3rem; line-height: 1.1; color: var(--xb-navy); }
.xb-iso-name { font-weight: 600; margin-top: 6px; }
.xb-iso-std { font-size: .84rem; color: var(--xb-muted); }

/* ---------------------------------------------------------------- cta --- */
.xb-cta { background: radial-gradient(120% 140% at 100% 0%, #1A6FA8 0%, var(--xb-navy) 60%); color: #fff; padding: 72px 0; }
.xb-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.xb-cta h2 { color: #fff; margin-bottom: 10px; }
.xb-cta p { margin: 0; max-width: 42em; color: rgba(255, 255, 255, .82); line-height: 1.7; }
.xb-cta .xb-actions { flex: none; }

/* --------------------------------------------------------- responsive --- */
@media (max-width: 1100px) {
  .xb-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 22px; }
  .xb-stats div:nth-child(4) { border-left: 0; }
  .xb-how-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .xb-brand-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .xb-story-grid, .xb-network-grid, .xb-iso-grid { gap: 44px; }
}
@media (max-width: 900px) {
  .xb-shell { width: calc(100% - 40px); }
  .xb-section { padding: 64px 0; }
  .xb-brands { padding-top: 0; }
  .xb-hero { min-height: 0; padding: 28px 0 110px; }
  .xb-hero::after { background: linear-gradient(180deg, rgba(11, 44, 73, .78) 0%, rgba(11, 44, 73, .88) 100%); }
  .xb-story-grid, .xb-network-grid, .xb-iso-grid { grid-template-columns: 1fr; }
  .xb-collage { padding-bottom: 56px; }
  .xb-collage-side { left: auto; right: 12px; width: 52%; }
  .xb-group-grid { grid-template-columns: 1fr; }
  .xb-iso-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .xb-head-row { flex-direction: column; align-items: flex-start; }
  .xb-cta-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .xb-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 22px 4px; }
  .xb-stats div { padding: 4px 16px; }
  .xb-stats div:nth-child(odd) { border-left: 0; }
  .xb-stats div:nth-child(4) { border-left: 1px solid var(--xb-line); }
  .xb-stats div:nth-child(5) { grid-column: 1 / -1; }
  .xb-places { grid-template-columns: 1fr; }
  .xb-how-grid { grid-template-columns: 1fr; }
  .xb-brand-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .xb-brand-grid a { height: 64px; padding: 8px 10px; }
  .xb-brand-grid img { max-width: 100%; max-height: 28px; }
  .xb-iso-cards { grid-template-columns: 1fr; }
  .xb-iso-cards li { flex-direction: row; flex-wrap: wrap; align-items: baseline; column-gap: 10px; }
  .xb-iso-cards strong { font-size: 1.8rem; }
  .xb-actions .xb-btn { flex: 1 1 0; min-width: 0; padding: 10px 14px; text-align: center; line-height: 1.3; }
  .xb-hero h1 { font-size: clamp(1.7rem, 7.4vw, 2.2rem); }
}
@media (prefers-reduced-motion: reduce) {
  .xb-company, .xb-more svg { transition: none; }
}

/* Chinese headings: wrap at punctuation, not mid-word (overflow-wrap stays the fallback). */
:lang(zh) .xyz-about h1, :lang(zh) .xyz-about h2, :lang(zh) .xyz-about h3 { word-break: keep-all; }
