/* Blue Pin — sales-deck colour system + dark mode */
:root {
  --bp-blue: #00a0e0;
  --bp-blue-dark: #0088c2;
  --bp-navy: #0c2d5a;
  --bp-ink: #1a2332;
  --bp-slate: #3d4b5c;
  --bp-muted: #6b7a8c;
  --bp-border: #dde3ea;
  --bp-bg: #fffaee;
  --bp-surface: #ffffff;
  --bp-surface-2: #fff6e8;
  --bp-accent-soft: #e6f6fc;
  --header-h: 76px;
  --max: 1180px;
  --radius: 10px;
  --font: "DM Sans", system-ui, -apple-system, sans-serif;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --shadow: 0 8px 28px rgba(12, 45, 90, 0.08);
}

[data-theme="dark"] {
  --bp-blue: #3bb8ea;
  --bp-blue-dark: #00a0e0;
  --bp-navy: #e8f4fb;
  --bp-ink: #f2f6fa;
  --bp-slate: #c5d0db;
  --bp-muted: #93a4b5;
  --bp-border: #2a3a4d;
  --bp-bg: #0b1524;
  --bp-surface: #121f31;
  --bp-surface-2: #172639;
  --bp-accent-soft: #163049;
  --shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--bp-slate);
  background: var(--bp-bg);
  line-height: 1.65;
  font-size: 1.05rem;
  -webkit-font-smoothing: antialiased;
}
html[data-lang="zh-Hant"] body {
  font-family: "PingFang TC", "Hiragino Sans CNS", "Noto Sans TC", "Microsoft JhengHei", var(--font);
}
html[data-lang="zh-Hans"] body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", var(--font);
}
html[data-lang="ja"] body {
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", var(--font);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bp-blue-dark); text-decoration: none; }
a:hover { color: var(--bp-blue); }

.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

.eyebrow {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--bp-blue-dark); margin-bottom: 0.85rem;
}
h1, h2, h3 {
  font-family: var(--display); color: var(--bp-navy); line-height: 1.2; font-weight: 500;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 4.8vw, 3.1rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.1rem); margin-bottom: 0.85rem; }
h3 { font-size: 1.15rem; margin-bottom: 0.45rem; }
html[data-lang="zh-Hant"] h1, html[data-lang="zh-Hant"] h2, html[data-lang="zh-Hant"] h3,
html[data-lang="zh-Hans"] h1, html[data-lang="zh-Hans"] h2, html[data-lang="zh-Hans"] h3,
html[data-lang="ja"] h1, html[data-lang="ja"] h2, html[data-lang="ja"] h3 {
  font-family: inherit;
  font-weight: 600;
}
.lead, p, .faq-answer-inner, .capability-value {
  text-align: start;
  text-wrap: pretty;
  hyphens: none;
  -webkit-hyphens: none;
  overflow-wrap: break-word;
  word-break: normal;
}
.lead {
  font-size: 1.12rem;
  color: var(--bp-muted);
  max-width: none;
  text-wrap: balance;
  overflow-wrap: normal;
}
.hero .lead,
.sol-hero .lead,
.section-header .lead { max-width: none; }
br.break-at { display: none; }

/* Anchor targets land mid-viewport */
[id] { scroll-margin-block: 38vh; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.8rem 1.35rem; font-size: 0.92rem; font-weight: 650;
  border-radius: 8px; border: 2px solid transparent; cursor: pointer;
  font-family: inherit; text-decoration: none; transition: 0.18s ease;
}
.btn-primary { background: var(--bp-blue); color: #fff; border-color: var(--bp-blue); }
.btn-primary:hover { background: var(--bp-navy); border-color: var(--bp-navy); color: #fff; }
[data-theme="dark"] .btn-primary:hover { background: var(--bp-blue-dark); border-color: var(--bp-blue-dark); }
.btn-secondary {
  background: transparent; color: var(--bp-navy); border-color: var(--bp-border);
}
.btn-secondary:hover { border-color: var(--bp-blue); color: var(--bp-blue-dark); }
.btn-group { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; justify-content: center; }
.hero .btn-group,
.sol-hero .btn-group { justify-content: flex-start; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bp-surface) 92%, transparent);
  border-bottom: 1px solid var(--bp-border);
  min-height: var(--header-h);
  overflow: visible;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(12px);
  background: color-mix(in srgb, var(--bp-surface) 92%, transparent);
  z-index: -1;
  pointer-events: none;
}
.header-inner {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); gap: 1rem;
  overflow: visible;
}
.logo {
  display: flex; align-items: center; gap: 0.45rem;
  font-weight: 700; font-size: 0.92rem; color: var(--bp-navy); text-decoration: none;
  white-space: nowrap; overflow: visible; flex-shrink: 0;
}
.logo img {
  height: 42px; width: auto; max-width: 200px;
  object-fit: contain; object-position: left center;
}
.nav-desktop { display: flex; align-items: center; gap: 0.15rem; }
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; padding: 0.45rem 0.7rem;
  font-size: 0.86rem; font-weight: 600; color: var(--bp-slate);
  border-radius: 6px; text-decoration: none; border: none; background: none;
  cursor: pointer; font-family: inherit;
}
.nav-link:hover, .nav-link.active { color: var(--bp-blue-dark); background: var(--bp-accent-soft); }
.dropdown {
  position: absolute; top: calc(100% + 0.4rem); left: 0; min-width: 250px;
  background: var(--bp-surface); border: 1px solid var(--bp-border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 0.45rem; opacity: 0; visibility: hidden;
  transform: translateY(-6px); transition: 0.18s ease; z-index: 50;
}
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: none;
}
.dropdown a {
  display: block; padding: 0.55rem 0.75rem; font-size: 0.85rem;
  color: var(--bp-slate); border-radius: 6px;
}
.dropdown a:hover { background: var(--bp-surface-2); color: var(--bp-blue-dark); }
.header-actions { display: flex; align-items: center; gap: 0.5rem; }
.lang-switch {
  display: flex; align-items: center; gap: 0.05rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.02em;
}
.lang-switch button {
  border: none; background: transparent; color: var(--bp-muted);
  cursor: pointer; padding: 0.28rem 0.4rem; border-radius: 5px;
  font: inherit; font-weight: 700;
}
.lang-switch button:hover { color: var(--bp-navy); background: var(--bp-accent-soft); }
.lang-switch button[aria-current="true"] {
  color: var(--bp-navy); background: var(--bp-accent-soft);
}
.lang-switch-mobile {
  display: none;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--bp-border);
}
.theme-toggle {
  display: none;
}
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 8px;
  border: 1px solid var(--bp-border);
  background: var(--bp-surface);
  color: var(--bp-navy);
  cursor: pointer;
  flex-shrink: 0;
}
.menu-toggle[aria-expanded="true"] {
  background: var(--bp-accent-soft);
  border-color: var(--bp-blue);
}
.nav-mobile {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: min(80dvh, calc(100dvh - var(--header-h)));
  background: var(--bp-surface);
  padding: 0.75rem 1.25rem 1.5rem;
  overflow: auto;
  z-index: 120;
  border-bottom: 1px solid var(--bp-border);
  box-shadow: var(--shadow);
}
.nav-mobile.open { display: block; }
.nav-mobile a {
  display: block; padding: 0.95rem 0.15rem; font-weight: 600; color: var(--bp-navy);
  border-bottom: 1px solid var(--bp-border); text-decoration: none;
}
.nav-mobile .btn { width: 100%; margin-top: 1rem; text-align: center; }

/* Sections */
.hero, .page-hero {
  padding: 4.5rem 0 3.5rem;
  background: linear-gradient(165deg, var(--bp-accent-soft) 0%, var(--bp-bg) 55%, var(--bp-bg) 100%);
}
.hero-grid, .two-col {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center;
}
.page-hero .lead { margin-top: 1rem; max-width: 52rem; }
.page-hero .container > h1 { max-width: 52rem; }
section { padding: 4.25rem 0; }
section.alt { background: var(--bp-surface); }
.section-header { text-align: left; max-width: none; margin: 0 0 2.5rem; }
.section-header .lead { margin-inline: 0; max-width: none; }

.img-slot, .media-frame {
  background: var(--bp-surface-2); border: 1px dashed var(--bp-border);
  border-radius: 14px; min-height: 240px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: var(--bp-muted); font-size: 0.8rem; padding: 1rem; overflow: hidden;
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame--hero { aspect-ratio: 4/3; min-height: 300px; }

/* Logo marquee — animates on hover */
.logo-marquee {
  display: grid; gap: 0.85rem;
  background: var(--bp-surface); border: 1px solid var(--bp-border);
  border-radius: 14px; padding: 1rem; overflow: hidden;
}
.marquee-row {
  overflow: hidden; border-radius: 8px; background: var(--bp-surface-2);
  height: 88px; position: relative;
}
.marquee-track {
  display: flex; width: max-content; height: 100%;
  align-items: center; gap: 0;
  animation: marquee-rtl 40s linear infinite;
}
.logo-marquee .marquee-row:nth-child(2) .marquee-track {
  animation-duration: 48s;
  animation-direction: reverse;
}
.logo-marquee .marquee-row:nth-child(3) .marquee-track {
  animation-duration: 44s;
}
.logo-marquee:hover .marquee-track {
  animation-play-state: paused;
}
@keyframes marquee-rtl {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee-track img {
  height: 72px; width: auto; max-width: 280px; object-fit: contain;
  padding: 0 1.25rem; filter: none;
}
.marquee-item {
  display: flex; align-items: center; justify-content: center;
  height: 88px; min-width: 160px; padding: 0 1rem;
}
.marquee-item img {
  max-height: 58px; max-width: 140px; width: auto; height: auto; object-fit: contain;
}

.card-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.1rem;
}
.card {
  background: var(--bp-surface); border: 1px solid var(--bp-border); border-radius: var(--radius);
  padding: 1.4rem; display: flex; flex-direction: column; gap: 0.55rem;
  transition: 0.18s ease;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card p { flex: 1; font-size: 0.92rem; color: var(--bp-muted); }
.card .hw { font-size: 0.78rem; color: var(--bp-blue-dark); font-weight: 650; }
.card-link { font-weight: 650; font-size: 0.88rem; }

.journey-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem;
}
.journey-card {
  background: var(--bp-surface); border: 1px solid var(--bp-border);
  border-radius: var(--radius); padding: 1.25rem;
}
.journey-step {
  width: 1.8rem; height: 1.8rem; border-radius: 50%;
  background: var(--bp-accent-soft); color: var(--bp-blue-dark);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.8rem; margin-bottom: 0.65rem;
}

.capability-list {
  border: 1px solid var(--bp-border); border-radius: var(--radius); overflow: hidden;
}
.capability-row {
  display: grid; grid-template-columns: 210px 1fr;
  border-bottom: 1px solid var(--bp-border); background: var(--bp-surface);
}
.capability-row:last-child { border-bottom: 0; }
.capability-row:nth-child(even) { background: var(--bp-surface-2); }
.capability-label, .capability-value { padding: 1.05rem 1.2rem; font-size: 0.92rem; }
.capability-label { font-weight: 700; color: var(--bp-navy); }

.feature-list { list-style: none; display: grid; gap: 0.75rem; }
.feature-list li { display: flex; gap: 0.65rem; align-items: flex-start; }
.feature-list li::before {
  content: ""; width: 0.55rem; height: 0.55rem; margin-top: 0.45rem;
  border-radius: 50%; background: var(--bp-blue); flex-shrink: 0;
}

.faq-list { max-width: 46rem; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--bp-border); }
.faq-question {
  width: 100%; display: flex; justify-content: space-between; gap: 1rem;
  padding: 1.05rem 0; background: none; border: none; cursor: pointer;
  text-align: left; font: inherit; font-weight: 700; color: var(--bp-navy);
}
.faq-question::after { content: "+"; color: var(--bp-blue-dark); font-size: 1.2rem; }
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.28s ease; }
.faq-answer-inner { padding-bottom: 1rem; color: var(--bp-muted); font-size: 0.92rem; }
.faq-item.open .faq-answer { max-height: 420px; }

.cta-band {
  background: var(--bp-navy); color: #fff; padding: 3.5rem 0; text-align: center;
}
[data-theme="dark"] .cta-band { background: #07101c; }
.cta-band h2 { color: #fff; max-width: 48rem; margin-inline: auto; text-wrap: balance; }
.cta-band p {
  color: rgba(255,255,255,0.8);
  max-width: 48rem;
  margin: 0 auto 1.5rem;
  text-align: center;
  text-wrap: balance;
}
.cta-band .btn-primary { background: #fff; color: #0c2d5a; border-color: #fff; }
.cta-band .btn-secondary { color: #fff; border-color: rgba(255,255,255,0.35); }

.data-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.data-table th, .data-table td {
  padding: 0.9rem 1rem; text-align: left; border-bottom: 1px solid var(--bp-border); vertical-align: top;
}
.data-table th { background: var(--bp-surface-2); color: var(--bp-navy); font-weight: 700; }
.data-table tr:hover td { background: var(--bp-accent-soft); }

.story-card, .principle-card, .contact-choice, .contact-form {
  background: var(--bp-surface); border: 1px solid var(--bp-border); border-radius: var(--radius);
}
.story-card { padding: 1.75rem; margin-bottom: 1.25rem; }
.story-section { margin-top: 1.1rem; }
.story-section h4 {
  font-family: var(--font); font-size: 0.72rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--bp-muted); margin-bottom: 0.25rem;
}
.principles-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem;
}
.principle-card { padding: 1.25rem; }
.principle-card h3 { font-family: var(--font); font-size: 0.98rem; font-weight: 700; }

.contact-choices {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin-bottom: 2rem;
}
.contact-choice { padding: 1.4rem; }
.contact-form { padding: 1.75rem; max-width: 36rem; }
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block; font-size: 0.82rem; font-weight: 700; color: var(--bp-navy); margin-bottom: 0.3rem;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 0.7rem 0.85rem; border: 1px solid var(--bp-border);
  border-radius: 8px; font: inherit; background: var(--bp-surface); color: var(--bp-ink);
}
.form-group input:focus, .form-group select:focus {
  outline: none; border-color: var(--bp-blue); box-shadow: 0 0 0 3px rgba(0,160,224,0.15);
}
.form-consent { font-size: 0.78rem; color: var(--bp-muted); margin: 0.75rem 0 1rem; }
.form-message { display: none; margin-top: 0.85rem; padding: 0.85rem; border-radius: 8px; }
.form-message.success { display: block; background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }

/* Duve-style integration logo grid */
.integ-section { margin-bottom: 2.5rem; }
.integ-section h3 {
  font-family: var(--font); font-size: 1.05rem; font-weight: 700;
  color: var(--bp-ink); margin-bottom: 0.85rem;
}
.integ-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--bp-border);
  border-left: 1px solid var(--bp-border);
  background: var(--bp-surface);
}
.integ-cell {
  border-right: 1px solid var(--bp-border);
  border-bottom: 1px solid var(--bp-border);
  min-height: 120px;
  padding: 1rem 0.85rem 0.75rem;
  display: flex; flex-direction: column; justify-content: space-between;
  gap: 0.65rem; background: var(--bp-surface);
}
.integ-cell .logo-wrap {
  flex: 1; display: flex; align-items: center; justify-content: center;
  min-height: 64px; overflow: visible; padding: 4px;
}
.integ-cell img {
  max-width: 90%; max-height: 56px; width: auto; height: auto;
  object-fit: contain; object-position: center; overflow: visible;
  filter: none; opacity: 1;
}
.integ-cell:hover img { filter: none; opacity: 1; }
.integ-cell span {
  font-size: 0.72rem; color: var(--bp-muted); line-height: 1.25;
  text-align: center;
}

.awards-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem;
}
.award-card {
  background: var(--bp-surface); border: 1px solid var(--bp-border);
  border-radius: var(--radius); padding: 1.35rem;
}
.award-card .date { font-size: 0.75rem; color: var(--bp-blue-dark); font-weight: 700; margin-bottom: 0.35rem; }
.award-card h3 { font-size: 1rem; }
.award-card p { font-size: 0.9rem; color: var(--bp-slate); margin: 0; }
.news-list { display: grid; gap: 0.85rem; }
.news-item {
  background: var(--bp-surface); border: 1px solid var(--bp-border);
  border-radius: var(--radius); padding: 1.1rem 1.25rem;
}
.news-item .date { font-size: 0.75rem; color: var(--bp-muted); font-weight: 650; }

/* Footer */
.site-footer {
  background: #0c2d5a; color: rgba(255,255,255,0.75); padding: 3.25rem 0 1.75rem; font-size: 0.9rem;
}
[data-theme="dark"] .site-footer { background: #07101c; }
.footer-brand { margin-bottom: 2rem; }
.footer-brand .logo { color: #fff; margin-bottom: 0.55rem; }
.footer-brand .tagline { color: #fff; font-weight: 600; margin-bottom: 0.35rem; }
.footer-grid {
  display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 1.5rem; margin-bottom: 2rem;
}
.footer-grid-3 { grid-template-columns: repeat(3, 1fr); }
.ol-plain { list-style: decimal; padding-left: 1.25rem; max-width: 48rem; margin: 0; }
.ol-plain li { display: list-item; margin: 0.55rem 0; }
.ol-plain li::before { display: none; }
.footer-col h4 {
  color: #fff; font-family: var(--font); font-size: 0.78rem; letter-spacing: 0.06em;
  text-transform: uppercase; margin-bottom: 0.85rem;
}
.footer-col a {
  display: block; color: rgba(255,255,255,0.68); padding: 0.22rem 0; font-size: 0.86rem;
}
.footer-col a:hover { color: #fff; }
.social-row { display: flex; gap: 0.65rem; margin-top: 1rem; }
.social-row a {
  width: 36px; height: 36px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.2);
  display: inline-flex; align-items: center; justify-content: center; color: #fff;
}
.social-row a:hover { background: rgba(255,255,255,0.1); color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12); padding-top: 1.35rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem; font-size: 0.78rem;
}
.footer-bottom a { color: rgba(255,255,255,0.65); }

@media (max-width: 1024px) {
  .hero-grid, .two-col, .footer-grid { grid-template-columns: 1fr 1fr; }
  .integ-grid { grid-template-columns: repeat(3, 1fr); }
  .hw-gallery { grid-template-columns: repeat(3, 1fr); }
  .capability-row { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-desktop { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-actions .btn { display: none; }
  .lang-switch-mobile { display: flex; }
  .hero-grid, .two-col, .footer-grid { grid-template-columns: 1fr; }
  .integ-grid { grid-template-columns: repeat(2, 1fr); }
  .hw-gallery { grid-template-columns: repeat(2, 1fr); }
  section { padding: 3.25rem 0; }
  .data-table { display: block; overflow-x: auto; }
  body.nav-open { overflow: hidden; }
}

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

.site-footer .logo img {
  height: 48px; max-width: 220px;
  filter: brightness(0) invert(1);
}
.site-footer p, .tagline { text-align: left; }

.flow {
  display: flex; flex-wrap: wrap; align-items: stretch; justify-content: center; gap: 0.5rem 0.35rem;
}
.flow-step {
  flex: 1 1 140px; max-width: 180px;
  background: var(--bp-surface); border: 1px solid var(--bp-border); border-radius: 12px;
  padding: 1rem 0.85rem; text-align: center;
}
.flow-step h3 { font-size: 1rem; margin: 0.35rem 0; }
.flow-step p { font-size: 0.8rem; color: var(--bp-muted); text-align: center; }
.flow-icon { color: var(--bp-blue-dark); display: flex; justify-content: center; margin-bottom: 0.25rem; }
.flow-num {
  display: inline-flex; width: 1.4rem; height: 1.4rem; border-radius: 50%;
  align-items: center; justify-content: center; font-size: 0.72rem; font-weight: 700;
  background: var(--bp-accent-soft); color: var(--bp-blue-dark);
}
.flow-arrow {
  display: flex; align-items: center; color: var(--bp-blue); font-size: 1.25rem; font-weight: 700;
  padding: 0 0.15rem;
}
@media (max-width: 860px) {
  .flow-arrow { display: none; }
  .flow-step { max-width: none; flex: 1 1 calc(50% - 0.5rem); }
}

.features-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.features-layout .card:nth-child(4) { grid-column: 1; }
.features-layout .card:nth-child(5) { grid-column: 2; }
@media (max-width: 900px) {
  .features-layout { grid-template-columns: 1fr 1fr; }
  .features-layout .card:nth-child(4),
  .features-layout .card:nth-child(5) { grid-column: auto; }
}
@media (max-width: 600px) {
  .features-layout { grid-template-columns: 1fr; }
}

.hw-gallery {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}
.hw-gallery figure {
  display: flex; flex-direction: column;
  background: var(--bp-surface); border: 1px solid var(--bp-border); border-radius: 12px;
  overflow: hidden; margin: 0;
}
.hw-gallery .hw-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #fff;
}
.hw-gallery img {
  position: absolute;
  inset: 0.9rem;
  width: calc(100% - 1.8rem);
  height: calc(100% - 1.8rem);
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center;
}
.hw-gallery figcaption {
  font-size: 0.8rem; font-weight: 650; color: var(--bp-navy); padding: 0.65rem 0.85rem 0.9rem;
  border-top: 1px solid var(--bp-border);
}
[data-theme="dark"] .hw-gallery .hw-photo { background: #0f1a28; }

.integ-panel {
  background: var(--bp-surface); border: 1px solid var(--bp-border); border-radius: 12px;
  padding: 1rem; margin-bottom: 0.75rem; overflow: hidden;
}
.integ-panel img { width: 100%; height: auto; display: block; }
.integ-grid-labels { margin-bottom: 1.75rem; }
.integ-cell img { filter: none !important; opacity: 1 !important; }

.presence-map {
  display: block;
  background: var(--bp-surface); border: 1px solid var(--bp-border); border-radius: 14px; padding: 1.25rem;
  --map-bg: #e8f4fb; --map-land: #c5e6f5;
}
[data-theme="dark"] .presence-map { --map-bg: #132033; --map-land: #1e3a55; }
.presence-map svg { width: 100%; height: auto; }
.presence-map-img {
  width: 100%; height: auto; display: block; border-radius: 10px;
  background: var(--map-bg);
}
.presence-list { display: none; }
.integ-notes {
  display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 2rem;
}
.integ-note {
  background: var(--bp-surface); border: 1px solid var(--bp-border);
  border-radius: 12px; padding: 1.25rem 1.4rem;
}
.integ-note h3 { font-family: var(--font); font-size: 1rem; margin-bottom: 0.45rem; }
.integ-note p { color: var(--bp-slate); font-size: 0.92rem; margin: 0; }
@media (max-width: 860px) {
  .presence-map { grid-template-columns: 1fr; }
  .integ-notes { grid-template-columns: 1fr; }
}

.milestone-timeline {
  display: grid; gap: 0;
  border-left: 2px solid var(--bp-blue);
  margin: 0.5rem 0 0 0.35rem; padding-left: 1.35rem;
}
.milestone {
  position: relative; padding: 0 0 1.75rem;
}
.milestone:last-child { padding-bottom: 0; }
.milestone::before {
  content: "";
  position: absolute; left: -1.6rem; top: 0.35rem;
  width: 0.65rem; height: 0.65rem; border-radius: 50%;
  background: var(--bp-blue); box-shadow: 0 0 0 3px var(--bp-accent-soft);
}
.milestone .date {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--bp-blue-dark); margin-bottom: 0.25rem;
}
.milestone h3 { font-size: 1.05rem; margin: 0 0 0.35rem; color: var(--bp-navy); }
.milestone p { margin: 0; color: var(--bp-slate); font-size: 0.95rem; max-width: 40rem; }

.visual-grid { grid-template-columns: repeat(4, 1fr); }
.visual-card { padding: 0; overflow: hidden; color: inherit; text-decoration: none; }
.visual-card .card-photo {
  height: 190px; background: var(--bp-surface-2);
  overflow: hidden;
}
.visual-card .card-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.visual-card .card-photo--product {
  display: flex; align-items: center; justify-content: center;
}
.visual-card .card-photo--product img {
  width: auto; height: auto; max-width: 88%; max-height: 160px; object-fit: contain;
}
.lifestyle-band { width: 100%; margin: 0; overflow: hidden; }
.lifestyle-band img {
  width: 100%; height: min(52vh, 540px);
  object-fit: cover; object-position: center 35%;
  display: block;
}
.visual-card .card-body {
  padding: 1.1rem 1.15rem 1.2rem;
  display: flex; flex-direction: column; gap: 0.45rem; flex: 1;
}
.visual-card h3 { font-size: 1.05rem; margin: 0; }
a.visual-card:hover { color: inherit; }

.stats-band {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  width: min(100% - 2rem, var(--max)); margin: 0 auto 2.5rem;
}
.stats-band .stat {
  background: var(--bp-navy); color: #fff; border-radius: 14px;
  padding: 1.4rem 1.2rem; text-align: center;
}
[data-theme="dark"] .stats-band .stat { background: #07101c; }
.stats-band strong {
  display: block; font-family: var(--display); font-size: 2rem; font-weight: 600; color: #fff;
}
.stats-band span { color: rgba(255,255,255,0.78); font-size: 0.88rem; }

.photo-split { align-items: center; }
.split-photo {
  background: var(--bp-surface); border: 1px solid var(--bp-border);
  border-radius: 16px; overflow: hidden; min-height: 260px;
}
.split-photo img { width: 100%; height: 100%; object-fit: cover; }

.sol-hero { padding: 3.5rem 0 2rem; }
.sol-split {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 2.5rem; align-items: center;
}
.sol-photo {
  background: var(--bp-surface); border: 1px solid var(--bp-border);
  border-radius: 18px; padding: 1.25rem; min-height: 320px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
}
.sol-photo img { max-width: 100%; max-height: 420px; object-fit: contain; }
.sol-photo--scene { padding: 0; overflow: hidden; }
.sol-photo--scene img { width: 100%; height: 100%; min-height: 360px; max-height: none; object-fit: cover; }
.chip-row { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.chip-link {
  display: inline-flex; align-items: center;
  border: 1px solid var(--bp-border); background: var(--bp-surface);
  border-radius: 999px; padding: 0.45rem 0.9rem; font-size: 0.88rem; font-weight: 650;
  color: var(--bp-navy);
}
.chip-link:hover { background: var(--bp-accent-soft); color: var(--bp-blue-dark); }
.visual-steps { max-width: 48rem; }
.principle-card h3 {
  font-family: var(--display); font-size: 1.45rem; font-weight: 500; letter-spacing: -0.02em;
}
.award-logo {
  height: 80px; display: flex; align-items: center; justify-content: flex-start; margin-bottom: 0.65rem;
}
.award-logo img {
  max-height: 72px; max-width: 220px; height: auto; width: auto; object-fit: contain;
}
.award-logo-dark {
  background: #111; border-radius: 8px; padding: 0.55rem 0.75rem; height: auto; min-height: 80px;
  justify-content: center;
}
.award-logo-dark img { max-height: 64px; }
.integ-grid-flat { margin-bottom: 2rem; }
.cert-row {
  display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: flex-end; margin: 0.75rem 0 1rem;
}
.cert-row figure { margin: 0; text-align: center; }
.cert-row img { height: 110px; width: auto; max-width: 220px; object-fit: contain; }
.cert-row .cert-on-dark img {
  height: auto; max-height: 88px; background: #111; border-radius: 8px; padding: 0.65rem 0.85rem;
}
.cert-row figcaption { font-size: 0.8rem; color: var(--bp-muted); margin-top: 0.35rem; }

@media (max-width: 980px) {
  .visual-grid { grid-template-columns: repeat(2, 1fr); }
  .sol-split, .photo-split { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .visual-grid { grid-template-columns: 1fr; }
}

.principle-letter {
  font-family: var(--display); font-size: 1.85rem; font-weight: 600;
  color: var(--bp-blue-dark); line-height: 1; margin-bottom: 0.45rem;
}
.story-card {
  display: grid; grid-template-columns: minmax(220px, 34%) 1fr;
  gap: 1.35rem; align-items: start;
}
.story-photo {
  border-radius: 10px; overflow: hidden; background: var(--bp-surface-2);
}
.story-photo img { width: 100%; height: 260px; object-fit: cover; object-position: center 30%; }
@media (max-width: 800px) {
  .story-card { grid-template-columns: 1fr; }
}
[data-theme="dark"] .integ-cell .logo-wrap,
[data-theme="dark"] .marquee-item,
[data-theme="dark"] .award-logo:not(.award-logo-dark),
[data-theme="dark"] .cert-row figure:not(.cert-on-dark) {
  background: #fffaee;
  border-radius: 8px;
}
[data-theme="dark"] .integ-cell .logo-wrap { padding: 0.7rem 0.85rem; }
[data-theme="dark"] .marquee-item { padding: 0.45rem 0.85rem; }
[data-theme="dark"] .award-logo:not(.award-logo-dark) { padding: 0.5rem 0.75rem; height: auto; min-height: 72px; }
[data-theme="dark"] .cert-row figure:not(.cert-on-dark) img { padding: 0.45rem 0.65rem; background: #fffaee; border-radius: 8px; }
