:root {
  --navy-950: #051c30;
  --navy-900: #082c4c;
  --navy-800: #0b3d67;
  --blue-600: #0b67b2;
  --blue-100: #dcecf7;
  --lime: #90c226;
  --ink: #17222d;
  --muted: #5b6b79;
  --line: #d9e2e9;
  --surface: #f3f7fa;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(8, 44, 76, 0.12);
  --shell: min(1180px, calc(100vw - 48px));
  --header-height: 84px;
}

/* Private engineering-statistics import console */
.admin-page { min-height: 100vh; background: #eef4f8; color: #17344c; }
.admin-shell { width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 48px 0 80px; }
.admin-heading, .admin-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.admin-heading { margin-bottom: 28px; }
.admin-heading h1 { margin: 4px 0 8px; font-size: clamp(2rem, 4vw, 3.25rem); color: #082c4c; }
.admin-heading p, .admin-card p { max-width: 760px; }
.admin-heading > a { color: #096c9e; font-weight: 800; white-space: nowrap; }
.admin-card { margin: 20px 0; padding: clamp(22px, 4vw, 38px); border: 1px solid #cfdae2; background: #fff; box-shadow: 0 18px 45px rgba(8, 44, 76, .08); }
.admin-card h2 { margin-top: 0; color: #082c4c; }
.admin-card form { display: flex; flex-wrap: wrap; align-items: end; gap: 16px; }
.admin-card label { display: grid; gap: 7px; font-weight: 750; }
.admin-card input[type="text"], .admin-card input[type="password"], .admin-card input:not([type]) { min-width: 260px; padding: 12px 14px; border: 1px solid #9fb2c0; font: inherit; }
.admin-file { padding: 16px; border: 1px dashed #829cad; background: #f7fafc; }
.admin-status { min-height: 1.5em; margin-bottom: 0; color: #236516; font-weight: 700; }
.admin-status.is-error { color: #a32222; }
.admin-counts { display: grid; grid-template-columns: repeat(5, minmax(100px, 1fr)); gap: 10px; margin: 18px 0; }
.admin-counts div { padding: 16px; background: #eef5f8; border-top: 3px solid #19a5d1; }
.admin-counts strong, .admin-counts span { display: block; }
.admin-counts strong { font-size: 1.8rem; color: #082c4c; }
.admin-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 18px 0 22px; padding: 0; list-style: none; }
.admin-flow li { padding: 14px 16px; background: #f4f8fa; border-left: 4px solid #8cc63f; }
.admin-flow strong, .admin-flow span { display: block; }
.admin-flow span { margin-top: 4px; color: #557080; font-size: 0.92rem; }
.admin-export { display: flex; align-items: center; gap: 16px; margin: 0 0 22px; }
.admin-export .admin-status { margin: 0; }
.admin-errors { padding: 16px 20px; border-left: 4px solid #b22727; background: #fff3f3; color: #7f1919; }
.admin-warnings { margin-top: 12px; padding: 16px 20px; border-left: 4px solid #d49712; background: #fff9e8; color: #6d500e; }
.admin-table-wrap { margin: 18px 0; max-height: 420px; overflow: auto; border: 1px solid #d5dfe6; }
.admin-table-wrap table { width: 100%; border-collapse: collapse; }
.admin-table-wrap th, .admin-table-wrap td { padding: 10px 12px; border-bottom: 1px solid #e0e7eb; text-align: left; }
.admin-confirm { display: flex !important; grid-template-columns: auto 1fr; align-items: center; margin: 18px 0; }
.admin-backup { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid #dde5ea; }
.button-secondary { border: 1px solid #7893a6; background: #fff; color: #082c4c; }
@media (max-width: 720px) {
  .admin-heading, .admin-card-head, .admin-backup { display: grid; }
  .admin-counts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-flow { grid-template-columns: 1fr; }
  .admin-export { display: grid; }
  .admin-card form { display: grid; }
  .admin-card input[type="text"], .admin-card input[type="password"], .admin-card input:not([type]) { min-width: 0; width: 100%; }
}

* {
  box-sizing: border-box;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Noto Sans TC", "Microsoft JhengHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

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

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  left: 16px;
  top: 12px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--navy-900);
  transform: translateY(-150%);
}

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

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 10px 32px rgba(8, 44, 76, 0.08);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: min(340px, 34vw);
  flex: 0 1 auto;
  color: var(--navy-900);
  text-decoration: none;
}

.brand > img {
  width: 100%;
  height: auto;
}

.brand-mark {
  position: relative;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  overflow: hidden;
}

.brand-mark img {
  width: auto;
  max-width: none;
  height: 54px;
  transform: translateX(-7px);
}

.brand-copy {
  display: grid;
  min-width: 0;
  line-height: 1;
}

.brand-copy strong {
  overflow: hidden;
  color: var(--navy-900);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  font-weight: 800;
  letter-spacing: 0.045em;
  white-space: nowrap;
}

.brand-copy small {
  margin-top: 7px;
  overflow: hidden;
  color: var(--blue-600);
  font-size: clamp(0.48rem, 0.62vw, 0.6rem);
  font-weight: 800;
  letter-spacing: 0.065em;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  color: #24394b;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:not(.nav-contact)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -9px;
  height: 2px;
  background: var(--lime);
  transition: right 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  right: 0;
}

.nav-contact {
  padding: 9px 16px;
  color: var(--white) !important;
  background: var(--navy-900);
  border: 1px solid var(--navy-900);
}

.nav-contact:hover,
.nav-contact:focus-visible {
  background: var(--blue-600);
  border-color: var(--blue-600);
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  padding: 10px;
  border: 1px solid var(--line);
  background: var(--white);
}

.menu-button span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy-900);
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100svh - var(--header-height));
  background:
    linear-gradient(90deg, rgba(225, 238, 247, 0.5) 1px, transparent 1px),
    linear-gradient(rgba(225, 238, 247, 0.5) 1px, transparent 1px),
    linear-gradient(135deg, #ffffff 0%, #ffffff 54%, #eff6fa 100%);
  background-size: 72px 72px, 72px 72px, auto;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: max(24px, calc((100vw - 1180px) / 2));
  width: 4px;
  background: linear-gradient(var(--lime) 0 20%, var(--blue-600) 20% 100%);
}

.hero-grid {
  min-height: calc(100svh - var(--header-height));
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
  align-items: center;
  gap: 24px;
  padding-block: clamp(64px, 8vw, 112px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-left: 38px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--blue-600);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.hero h1 {
  margin: 0;
  color: var(--navy-950);
  font-size: clamp(3.25rem, 6.2vw, 6.4rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.hero-lead {
  max-width: 640px;
  margin: 30px 0 0;
  color: #425564;
  font-size: clamp(1.05rem, 1.55vw, 1.3rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid var(--navy-900);
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

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

.button-primary {
  color: var(--white);
  background: var(--navy-900);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--blue-600);
}

.button-secondary {
  color: var(--navy-900);
  background: transparent;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  color: var(--white);
  background: var(--navy-900);
}

.hero-scope {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 48px 0 0;
  border-top: 1px solid var(--line);
}

.hero-scope div {
  padding: 16px 18px 0 0;
}

.hero-scope div + div {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.hero-scope dt {
  color: var(--navy-900);
  font-weight: 800;
}

.hero-scope dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.hero-media {
  position: relative;
  z-index: 1;
  margin: 0 -10vw 0 -10vw;
  align-self: stretch;
  display: flex;
  align-items: center;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 12% 7% 12% 23%;
  z-index: -1;
  background: radial-gradient(circle, rgba(11, 103, 178, 0.18), transparent 66%);
  filter: blur(20px);
}

.hero-media img {
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: 650px;
  object-fit: contain;
  object-position: center right;
}

.hero-media figcaption {
  position: absolute;
  right: 12%;
  bottom: 3%;
  padding: 6px 10px;
  color: #506474;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
  font-size: 0.76rem;
}

.trust-strip {
  color: var(--white);
  background: var(--navy-950);
}

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

.trust-grid p {
  min-height: 84px;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 16px 28px;
  font-size: 0.95rem;
  font-weight: 700;
}

.trust-grid p::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 12px;
  flex: 0 0 auto;
  background: var(--lime);
}

.trust-grid p + p {
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.section {
  padding-block: clamp(86px, 10vw, 144px);
}

.section-heading h2,
.careers-section h2 {
  margin: 0;
  color: var(--navy-950);
  font-size: clamp(2.35rem, 5vw, 4.8rem);
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 52px;
}

.section-heading-row > p {
  max-width: 500px;
  margin: 0 0 6px;
  color: var(--muted);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(48px, 9vw, 132px);
}

.about-copy > p {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.about-copy .statement {
  margin-bottom: 24px;
  color: var(--navy-950);
  font-size: clamp(1.35rem, 2.35vw, 2rem);
  font-weight: 700;
  line-height: 1.55;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.principles div {
  padding-top: 20px;
  border-top: 3px solid var(--blue-100);
}

.principles span {
  display: block;
  margin-bottom: 26px;
  color: var(--blue-600);
  font-size: 0.78rem;
  font-weight: 800;
}

.principles strong {
  display: block;
  color: var(--navy-950);
  font-size: 1.05rem;
}

.principles p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.services-section {
  background: var(--surface);
}

.service-list {
  border-top: 1px solid #bfcdd8;
}

.service-item {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) minmax(210px, 0.42fr);
  gap: 30px;
  align-items: start;
  padding: 30px 0;
  border-bottom: 1px solid #bfcdd8;
}

.service-index {
  color: var(--blue-600);
  font-size: 0.85rem;
  font-weight: 800;
}

.service-item h3 {
  margin: -5px 0 7px;
  color: var(--navy-950);
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  line-height: 1.25;
}

.service-item p {
  margin: 0;
  color: var(--muted);
}

.service-meta {
  padding-left: 24px;
  border-left: 1px solid #bfcdd8;
  font-size: 0.9rem;
}

.projects-section {
  background: var(--white);
}

.project-heading {
  margin-bottom: 56px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.project-card {
  min-width: 0;
  padding: clamp(26px, 3.4vw, 42px);
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--navy-900);
  box-shadow: 0 16px 44px rgba(8, 44, 76, 0.06);
}

.project-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.project-sector,
.project-number {
  margin: 0;
  color: var(--blue-600);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.project-number {
  color: #a2b2bf;
  font-size: 1.3rem;
}

.project-card h3 {
  margin: 18px 0 28px;
  color: var(--navy-950);
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  line-height: 1.3;
}

.project-card dl {
  margin: 0;
}

.project-card dl div {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 16px;
  padding: 13px 0;
  border-top: 1px solid #e7edf1;
}

.project-card dt {
  color: var(--navy-900);
  font-weight: 800;
}

.project-card dd {
  min-width: 0;
  margin: 0;
  color: var(--muted);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.tags li {
  padding: 4px 10px;
  color: var(--navy-900);
  background: #edf5fa;
  font-size: 0.76rem;
  font-weight: 700;
}

.confidential-note {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.careers-section {
  color: var(--white);
  background:
    linear-gradient(115deg, rgba(5, 28, 48, 0.98), rgba(8, 61, 103, 0.96)),
    var(--navy-950);
}

.careers-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(48px, 10vw, 150px);
  align-items: end;
}

.careers-section h2 {
  color: var(--white);
}

.section-kicker-light {
  color: #b9df76;
}

.careers-grid > div:last-child > p {
  max-width: 670px;
  margin: 0 0 28px;
  color: #d7e4ed;
  font-size: 1.1rem;
}

.text-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding-bottom: 5px;
  border-bottom: 2px solid currentColor;
  font-weight: 800;
  text-decoration: none;
}

.text-link span {
  font-size: 1.1rem;
}

.text-link-light {
  color: var(--white);
}

.contact-section {
  background: #eef4f8;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(48px, 10vw, 140px);
}

.contact-grid .section-heading > p:last-child {
  max-width: 440px;
  margin: 26px 0 0;
  color: var(--muted);
}

.contact-methods {
  align-self: end;
  border-top: 1px solid #aebdca;
}

.contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid #aebdca;
}

.contact-label,
.contact-value {
  margin: 0;
}

.contact-label {
  color: var(--blue-600);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.contact-value {
  margin-top: 4px;
  color: var(--navy-950);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.contact-action {
  flex: 0 0 auto;
  padding: 9px 14px;
  color: var(--navy-900);
  background: transparent;
  border: 1px solid var(--navy-900);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.contact-action:hover,
.contact-action:focus-visible {
  color: var(--white);
  background: var(--navy-900);
}

.copy-status {
  min-height: 28px;
  margin: 12px 0 0;
  color: var(--navy-900);
  font-size: 0.9rem;
}

.site-footer {
  color: #d5e0e8;
  background: var(--navy-950);
}

.footer-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 0.85rem;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  font-weight: 700;
  text-decoration: none;
}

:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 4px;
}

@media (max-width: 1080px) {
  :root {
    --header-height: 76px;
  }

  .brand {
    width: 292px;
  }

  .site-nav {
    gap: 18px;
    font-size: 0.88rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
  }

  .hero-media {
    margin-inline: -8vw -12vw;
  }

  .hero-media img {
    min-height: 460px;
  }
}

@media (max-width: 860px) {
  :root {
    --shell: min(100% - 36px, 720px);
  }

  .brand {
    width: min(292px, calc(100vw - 92px));
  }

  .brand-mark {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .brand-mark img {
    height: 48px;
    transform: translateX(-6px);
  }

  .brand-copy strong {
    font-size: 0.98rem;
  }

  .brand-copy small {
    margin-top: 6px;
    font-size: 0.46rem;
  }

  .menu-button {
    display: block;
    flex: 0 0 auto;
  }

  .menu-button[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-button[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 0 auto;
    display: none;
    max-height: calc(100svh - var(--header-height));
    overflow-y: auto;
    padding: 22px 24px 32px;
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 28px 48px rgba(8, 44, 76, 0.16);
  }

  .site-nav.is-open {
    display: grid;
    gap: 0;
  }

  .site-nav a {
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }

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

  .nav-contact {
    margin-top: 18px;
    padding-inline: 16px !important;
    text-align: center;
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 18px;
    padding-block: 70px 58px;
  }

  .hero h1 {
    font-size: clamp(3rem, 12vw, 5rem);
  }

  .hero-media {
    height: min(64vw, 470px);
    margin: -8px -14vw -20px -14vw;
  }

  .hero-media img {
    min-height: 0;
    max-height: none;
    height: 100%;
    object-position: center;
  }

  .hero-media figcaption {
    right: 14%;
    bottom: 5%;
  }

  .about-grid,
  .careers-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .section-heading-row {
    display: block;
  }

  .section-heading-row > p {
    margin-top: 22px;
  }

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

@media (max-width: 620px) {
  :root {
    --shell: calc(100% - 28px);
  }

  .hero::before {
    left: 14px;
  }

  .hero-copy {
    padding-left: 20px;
  }

  .hero-lead {
    font-size: 1rem;
  }

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

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

  .hero-scope div {
    padding: 13px 0;
  }

  .hero-scope div + div {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .hero-media {
    height: 78vw;
    margin-inline: -20vw;
  }

  .hero-media figcaption {
    right: 20%;
    font-size: 0.75rem;
  }

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

  .trust-grid p {
    min-height: 66px;
    padding-inline: 10px;
  }

  .trust-grid p + p {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-left: 0;
  }

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

  .principles span {
    margin-bottom: 8px;
  }

  .service-item {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 16px;
  }

  .service-meta {
    grid-column: 2;
    padding: 0;
    border-left: 0;
    font-size: 0.82rem;
  }

  .project-card dl div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .contact-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 22px;
  }
}

.site-nav a[aria-current="page"]:not(.nav-contact) {
  color: var(--blue-600);
}

.site-nav a[aria-current="page"]:not(.nav-contact)::after {
  right: 0;
}

.site-nav .nav-contact[aria-current="page"] {
  background: var(--blue-600);
  border-color: var(--blue-600);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  padding-bottom: 3px;
  color: var(--navy-900);
  border-bottom: 2px solid var(--navy-900);
  font-weight: 800;
  text-decoration: none;
}

.card-link span {
  transition: transform 180ms ease;
}

.card-link:hover span,
.card-link:focus-visible span {
  transform: translateX(4px);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(72px, 9vw, 124px);
  background:
    linear-gradient(90deg, rgba(225, 238, 247, 0.55) 1px, transparent 1px),
    linear-gradient(rgba(225, 238, 247, 0.55) 1px, transparent 1px),
    linear-gradient(135deg, #ffffff 0%, #f3f8fb 100%);
  background-size: 72px 72px, 72px 72px, auto;
  border-bottom: 1px solid var(--line);
}

.page-hero::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: max(24px, calc((100vw - 1180px) / 2));
  width: 4px;
  background: linear-gradient(var(--lime) 0 26%, var(--blue-600) 26% 100%);
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  padding-left: 38px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 44px;
  color: var(--muted);
  font-size: 0.8rem;
}

.breadcrumb a {
  color: var(--navy-900);
  font-weight: 700;
  text-decoration: none;
}

.breadcrumb span[aria-hidden="true"] {
  color: #9aabb8;
}

.page-hero h1 {
  max-width: 960px;
  margin: 0;
  color: var(--navy-950);
  font-size: clamp(2.9rem, 6.5vw, 6.2rem);
  letter-spacing: -0.055em;
  line-height: 1.05;
}

.page-lead {
  max-width: 800px;
  margin: 28px 0 0;
  color: #425564;
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  line-height: 1.8;
}

.page-section {
  padding-block: clamp(72px, 9vw, 124px);
}

.page-section-muted {
  background: var(--surface);
}

.content-split {
  display: grid;
  grid-template-columns: minmax(220px, 0.58fr) minmax(0, 1.42fr);
  gap: clamp(48px, 10vw, 140px);
}

.content-label {
  margin: 0;
  color: var(--blue-600);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.content-main h2,
.section-title {
  margin: 0;
  color: var(--navy-950);
  font-size: clamp(2rem, 4vw, 3.6rem);
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.content-main > p {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.content-main .large-statement {
  margin-top: 0;
  color: var(--navy-950);
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  font-weight: 700;
  line-height: 1.55;
}

.industry-list,
.process-list,
.service-capabilities,
.project-index,
.case-facts {
  margin: 0;
  padding: 0;
  list-style: none;
}

.industry-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 48px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.industry-list li {
  min-height: 116px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  color: var(--navy-900);
  font-weight: 800;
  text-align: center;
}

.industry-list li + li {
  border-left: 1px solid var(--line);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 44px;
}

.process-list li {
  padding-top: 20px;
  border-top: 3px solid var(--blue-100);
}

.process-list span {
  display: block;
  color: var(--blue-600);
  font-size: 0.78rem;
  font-weight: 800;
}

.process-list strong {
  display: block;
  margin-top: 20px;
  color: var(--navy-950);
  font-size: 1.08rem;
}

.process-list p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.service-detail-list {
  border-top: 1px solid #bfcdd8;
}

.service-detail {
  display: grid;
  grid-template-columns: 64px minmax(230px, 0.55fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 54px);
  padding-block: 40px;
  border-bottom: 1px solid #bfcdd8;
}

.service-detail-number {
  color: var(--blue-600);
  font-size: 0.82rem;
  font-weight: 800;
}

.service-detail h2 {
  margin: -6px 0 12px;
  color: var(--navy-950);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.2;
}

.service-detail-summary {
  margin: 0;
  color: var(--muted);
}

.service-capabilities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 26px;
  margin-bottom: 24px;
}

.service-capabilities li {
  position: relative;
  padding-left: 17px;
  color: #435563;
}

.service-capabilities li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 6px;
  height: 6px;
  background: var(--lime);
}

.project-index {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.project-index-card {
  min-width: 0;
  padding: clamp(26px, 3.4vw, 42px);
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--navy-900);
  box-shadow: 0 16px 44px rgba(8, 44, 76, 0.06);
}

.project-index-card h2 {
  margin: 18px 0 16px;
  color: var(--navy-950);
  font-size: clamp(1.4rem, 2.3vw, 2rem);
  line-height: 1.3;
}

.project-index-card > p:not(.project-sector) {
  margin: 0;
  color: var(--muted);
}

.case-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(240px, 0.7fr);
  gap: clamp(48px, 9vw, 132px);
  align-items: end;
}

.case-meta {
  margin: 0;
  border-top: 1px solid #b9c8d3;
}

.case-meta div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid #b9c8d3;
}

.case-meta dt {
  color: var(--blue-600);
  font-size: 0.78rem;
  font-weight: 800;
}

.case-meta dd {
  margin: 0;
  color: var(--navy-950);
  font-weight: 700;
}

.case-facts {
  border-top: 1px solid #bfcdd8;
}

.case-facts li {
  display: grid;
  grid-template-columns: minmax(150px, 0.36fr) minmax(0, 1.64fr);
  gap: clamp(24px, 5vw, 72px);
  padding-block: 28px;
  border-bottom: 1px solid #bfcdd8;
}

.case-facts h2 {
  margin: 0;
  color: var(--navy-900);
  font-size: 1rem;
}

.case-facts p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.workflow-figure {
  margin: 48px 0 0;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.workflow li {
  position: relative;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  color: var(--white);
  background: var(--navy-900);
}

.workflow li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(100% + 8px);
  width: 14px;
  height: 2px;
  background: var(--lime);
}

.workflow span {
  color: #b9df76;
  font-size: 0.76rem;
  font-weight: 800;
}

.workflow strong {
  font-size: 1.02rem;
}

.workflow-figure figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.8rem;
}

.case-navigation {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.case-navigation a {
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px 28px;
  color: var(--navy-950);
  background: var(--white);
  border: 1px solid var(--line);
  text-decoration: none;
}

.case-navigation a:last-child {
  text-align: right;
}

.case-navigation span {
  color: var(--blue-600);
  font-size: 0.78rem;
  font-weight: 800;
}

.case-navigation strong {
  margin-top: 8px;
}

.cta-band {
  color: var(--white);
  background: var(--navy-950);
}

.cta-band .shell {
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding-block: 54px;
}

.cta-band h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.cta-band p {
  max-width: 620px;
  margin: 14px 0 0;
  color: #d7e4ed;
}

.cta-band .button {
  flex: 0 0 auto;
  color: var(--navy-950);
  background: var(--white);
  border-color: var(--white);
}

.career-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.55fr);
  gap: clamp(48px, 9vw, 132px);
  align-items: start;
}

.career-panel h2 {
  margin: 0;
  color: var(--navy-950);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.2;
}

.career-panel p {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.external-panel {
  padding: 30px;
  color: var(--white);
  background: var(--navy-900);
}

.external-panel p {
  margin: 0 0 24px;
  color: #dce8f0;
  font-size: 0.95rem;
}

.external-panel .button {
  width: 100%;
  color: var(--navy-950);
  background: var(--white);
  border-color: var(--white);
}

.standalone-contact {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(48px, 10vw, 140px);
}

.standalone-contact-copy h2 {
  margin: 0;
  color: var(--navy-950);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.2;
}

.standalone-contact-copy p {
  margin: 24px 0 0;
  color: var(--muted);
}

.contact-hint {
  margin-top: 36px;
  padding: 22px;
  background: var(--surface);
  border-left: 4px solid var(--lime);
}

.contact-hint strong {
  color: var(--navy-950);
}

.contact-hint p {
  margin: 6px 0 0;
  font-size: 0.95rem;
}

@media (max-width: 860px) {
  .page-hero::before {
    left: 18px;
  }

  .page-hero-inner {
    padding-left: 24px;
  }

  .content-split,
  .case-hero-grid,
  .career-panel,
  .standalone-contact {
    grid-template-columns: 1fr;
  }

  .industry-list,
  .process-list,
  .workflow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .industry-list li:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .industry-list li:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .service-detail {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .service-detail > div:last-child {
    grid-column: 2;
  }

  .workflow li:nth-child(2)::after {
    display: none;
  }

  .cta-band .shell {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .page-hero::before {
    left: 14px;
  }

  .page-hero-inner {
    padding-left: 20px;
  }

  .breadcrumb {
    margin-bottom: 32px;
  }

  .industry-list,
  .process-list,
  .project-index,
  .case-navigation,
  .workflow {
    grid-template-columns: 1fr;
  }

  .industry-list li + li {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .process-list {
    gap: 18px;
  }

  .service-detail {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 14px;
  }

  .service-capabilities {
    grid-template-columns: 1fr;
  }

  .case-facts li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .workflow li:not(:last-child)::after {
    top: calc(100% + 7px);
    left: 50%;
    width: 2px;
    height: 16px;
  }

  .case-navigation a:last-child {
    text-align: left;
  }

  .cta-band .button {
    width: 100%;
  }
}

/* Visual density refinement */
.page-hero {
  padding-block: clamp(48px, 6vw, 80px);
}

.breadcrumb {
  margin-bottom: 26px;
}

.page-hero h1 {
  font-size: clamp(2.7rem, 5vw, 4.85rem);
}

.page-lead {
  margin-top: 20px;
}

.page-section {
  padding-block: clamp(64px, 7.5vw, 100px);
}

.site-icon {
  width: 1em;
  height: 1em;
  display: block;
  overflow: visible;
  fill: none;
  stroke: currentColor;
}

.content-split {
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(42px, 7vw, 96px);
}

.content-aside {
  min-width: 0;
}

.content-visual {
  margin: 28px 0 0;
  background: #edf4f8;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.content-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}

.content-visual figcaption {
  padding: 10px 14px;
  color: var(--muted);
  background: var(--white);
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
}

.industry-list li {
  flex-direction: column;
  gap: 14px;
}

.industry-icon {
  width: 34px;
  height: 34px;
  color: var(--blue-600);
}

.service-mark,
.service-detail-mark {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  color: var(--blue-600);
}

.service-mark .site-icon {
  width: 30px;
  height: 30px;
}

.service-mark span,
.service-detail-mark span {
  font-size: 0.76rem;
  font-weight: 800;
}

.service-detail {
  grid-template-columns: 78px minmax(230px, 0.55fr) minmax(0, 1fr);
}

.service-detail-mark .site-icon {
  width: 42px;
  height: 42px;
}

.project-index-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.project-index-icon {
  width: 40px;
  height: 40px;
  padding: 8px;
  color: var(--blue-600);
  background: #edf5fa;
}

.project-index-head .project-sector {
  margin: 0;
}

.project-card .project-top > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.project-card-icon {
  width: 38px;
  height: 38px;
  padding: 8px;
  color: var(--blue-600);
  background: #edf5fa;
}

.case-hero-side {
  display: grid;
  gap: 22px;
}

.case-visual-mark {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--navy-900);
  box-shadow: 12px 12px 0 rgba(144, 194, 38, 0.22);
}

.case-visual-mark .site-icon {
  width: 48px;
  height: 48px;
}

.career-values,
.contact-topic-icons {
  display: grid;
  gap: 12px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

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

.career-values li,
.contact-topic-icons li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy-900);
  font-weight: 800;
}

.career-values .site-icon,
.contact-topic-icons .site-icon {
  width: 30px;
  height: 30px;
  padding: 6px;
  flex: 0 0 auto;
  color: var(--blue-600);
  background: #edf5fa;
}

.contact-topic-icons {
  grid-template-columns: 1fr;
  margin-top: 22px;
}

@media (max-width: 860px) {
  .content-split {
    grid-template-columns: 1fr;
  }

  .content-visual {
    max-width: 560px;
  }

  .service-detail {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .case-visual-mark {
    width: 72px;
    height: 72px;
  }

  .case-visual-mark .site-icon {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 620px) {
  .page-hero {
    padding-block: 40px 48px;
  }

  .page-hero h1 {
    font-size: clamp(2.35rem, 12vw, 3.55rem);
  }

  .page-section {
    padding-block: 58px;
  }

  .content-visual {
    margin-top: 20px;
  }

  .industry-list li {
    min-height: 98px;
  }

  .service-detail {
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .service-detail-mark .site-icon {
    width: 34px;
    height: 34px;
  }

  .career-values {
    grid-template-columns: 1fr;
  }
}

/* Service concept media */
.page-section {
  padding-block: clamp(56px, 5.5vw, 76px);
}

.service-detail {
  grid-template-columns: minmax(0, 0.84fr) minmax(420px, 1.16fr);
  gap: clamp(36px, 6vw, 82px);
  align-items: center;
  padding-block: clamp(44px, 5vw, 68px);
}

.service-detail-copy {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.service-detail-copy .service-capabilities {
  margin: 28px 0 0;
}

.service-demo-wrap {
  min-width: 0;
}

.service-demo {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #e9f1f6;
  border: 1px solid #c8d7e2;
  box-shadow: 0 18px 46px rgba(8, 44, 76, 0.1);
}

.service-demo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.service-demo figcaption {
  position: absolute;
  right: 12px;
  bottom: 10px;
  z-index: 3;
  padding: 6px 9px;
  color: #e7f1f7;
  background: rgba(5, 33, 56, 0.86);
  font-size: 0.72rem;
}

.demo-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.demo-overlay span {
  position: absolute;
  display: block;
}

.demo-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.demo-controls button {
  min-height: 40px;
  padding: 8px 14px;
  color: var(--navy-900);
  background: var(--white);
  border: 1px solid #9fb4c3;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
}

.demo-controls button:hover:not(:disabled),
.demo-controls button:focus-visible {
  color: var(--white);
  background: var(--navy-900);
  border-color: var(--navy-900);
}

.demo-controls button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.demo-stage {
  min-height: 1.5em;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.demo-plc .demo-track {
  left: 12%;
  right: 10%;
  bottom: 25%;
  height: 3px;
  background: rgba(5, 141, 205, 0.38);
}

.demo-plc .demo-pulse,
.demo-data .demo-pulse {
  width: 16px;
  height: 16px;
  border: 4px solid var(--white);
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 7px rgba(144, 194, 38, 0.25);
}

.demo-plc .demo-pulse {
  left: 14%;
  bottom: calc(25% - 7px);
}

.demo-plc .demo-sensor {
  left: 54%;
  bottom: 19%;
  width: 5px;
  height: 25%;
  background: rgba(0, 170, 224, 0.78);
  box-shadow: 0 0 14px rgba(0, 170, 224, 0.65);
}

[data-demo="plc"].is-playing .demo-pulse {
  animation: demo-across 4.8s linear infinite;
}

[data-demo="plc"].is-playing .demo-sensor {
  animation: demo-sensor 1.2s ease-in-out infinite;
}

.demo-data .demo-node {
  top: 52%;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #09a7dc;
  box-shadow: 0 0 0 7px rgba(9, 167, 220, 0.2);
}

.demo-data .node-a { left: 24%; }
.demo-data .node-b { left: 55%; }
.demo-data .node-c { left: 84%; }
.demo-data .demo-pulse { left: 24%; top: 52%; }

[data-demo="data"].is-playing .demo-pulse {
  animation: demo-data-flow 4.2s ease-in-out infinite;
}

[data-demo="data"].is-playing .demo-node {
  animation: demo-node 1.4s ease-in-out infinite;
}

.demo-robot .demo-pick,
.demo-robot .demo-place {
  bottom: 18%;
  width: 24px;
  height: 24px;
  border: 3px solid var(--white);
  background: var(--lime);
}

.demo-robot .demo-pick { left: 24%; }
.demo-robot .demo-place { right: 18%; }
.demo-robot .demo-path {
  left: 27%;
  bottom: calc(18% + 9px);
  width: 54%;
  height: 3px;
  background: rgba(0, 170, 224, 0.62);
  transform-origin: left center;
}

[data-demo="robot"].is-playing .demo-pick {
  animation: demo-pick 3.6s ease-in-out infinite;
}

[data-demo="robot"].is-playing .demo-path {
  animation: demo-path 3.6s ease-in-out infinite;
}

[data-demo="robot"].is-playing .demo-place {
  animation: demo-place 3.6s ease-in-out infinite;
}

.demo-vision .demo-scan {
  left: 18%;
  top: 16%;
  width: 3px;
  height: 58%;
  background: #00b8eb;
  box-shadow: 0 0 18px #00b8eb;
}

.demo-vision .demo-target {
  left: 63%;
  top: 46%;
  width: 44px;
  height: 44px;
  border: 2px solid var(--lime);
  border-radius: 50%;
  box-shadow: inset 0 0 0 8px rgba(144, 194, 38, 0.16);
}

.demo-vision .demo-correction {
  left: 67%;
  top: 40%;
  width: 52px;
  height: 3px;
  background: #00b8eb;
  transform: rotate(-18deg);
  transform-origin: left center;
}

[data-demo="vision"].is-playing .demo-scan {
  animation: demo-scan 3.2s ease-in-out infinite;
}

[data-demo="vision"].is-playing .demo-target,
[data-demo="vision"].is-playing .demo-correction {
  animation: demo-target 1.6s ease-in-out infinite;
}

.demo-scada .demo-status {
  left: 24%;
  top: 31%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 10px rgba(144, 194, 38, 0.2);
}

.demo-scada .demo-trend {
  left: 63%;
  bottom: 29%;
  width: 23%;
  height: 5px;
  background: #00b8eb;
  transform-origin: left center;
}

.demo-scada .demo-alert {
  right: 10%;
  top: 18%;
  width: 20px;
  height: 20px;
  border: 3px solid var(--white);
  background: #90c226;
  transform: rotate(45deg);
}

[data-demo="scada"].is-playing .demo-status {
  animation: demo-node 1.3s ease-in-out infinite;
}

[data-demo="scada"].is-playing .demo-trend {
  animation: demo-trend 2.8s ease-in-out infinite;
}

[data-demo="scada"].is-playing .demo-alert {
  animation: demo-alert 2.8s ease-in-out infinite;
}

.demo-retrofit .demo-before,
.demo-retrofit .demo-after {
  top: 19%;
  width: 8px;
  height: 56%;
}

.demo-retrofit .demo-before { left: 38%; background: #71818d; }
.demo-retrofit .demo-after { right: 15%; background: var(--lime); }
.demo-retrofit .demo-arrow {
  left: 41%;
  top: 47%;
  width: 29%;
  height: 4px;
  background: #00a9df;
  transform-origin: left center;
}

[data-demo="retrofit"].is-playing .demo-before {
  animation: demo-before 3.4s ease-in-out infinite;
}

[data-demo="retrofit"].is-playing .demo-arrow {
  animation: demo-path 3.4s ease-in-out infinite;
}

[data-demo="retrofit"].is-playing .demo-after {
  animation: demo-after 3.4s ease-in-out infinite;
}

[data-demo].is-paused .demo-overlay span {
  animation-play-state: paused !important;
}

@keyframes demo-across {
  0% { transform: translateX(0); opacity: 0; }
  12%, 82% { opacity: 1; }
  100% { transform: translateX(30vw); opacity: 0; }
}

@keyframes demo-sensor {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

@keyframes demo-data-flow {
  0% { transform: translateX(0); }
  50% { transform: translateX(17vw); }
  100% { transform: translateX(34vw); }
}

@keyframes demo-node {
  0%, 100% { transform: scale(0.82); opacity: 0.7; }
  50% { transform: scale(1.12); opacity: 1; }
}

@keyframes demo-pick {
  0%, 18% { transform: translateY(0); }
  35%, 60% { transform: translateY(-28px); }
  82%, 100% { transform: translate(24vw, 0); }
}

@keyframes demo-path {
  0% { transform: scaleX(0); opacity: 0; }
  35%, 100% { transform: scaleX(1); opacity: 1; }
}

@keyframes demo-place {
  0%, 65% { transform: scale(0.72); opacity: 0.45; }
  84%, 100% { transform: scale(1.08); opacity: 1; }
}

@keyframes demo-scan {
  0%, 100% { transform: translateX(0); opacity: 0.35; }
  50% { transform: translateX(27vw); opacity: 1; }
}

@keyframes demo-target {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}

@keyframes demo-trend {
  0% { transform: scaleX(0.08) rotate(-9deg); }
  55% { transform: scaleX(0.68) rotate(7deg); }
  100% { transform: scaleX(1) rotate(-3deg); }
}

@keyframes demo-alert {
  0%, 70%, 100% { opacity: 0.25; }
  80%, 90% { opacity: 1; }
}

@keyframes demo-before {
  0%, 32% { opacity: 1; }
  68%, 100% { opacity: 0.25; }
}

@keyframes demo-after {
  0%, 45% { opacity: 0.25; }
  72%, 100% { opacity: 1; }
}

/* Case index: one representative detail plus concise related work */
.project-index {
  grid-template-columns: 1fr;
  gap: 28px;
}

.project-index-card {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  padding: 0;
  overflow: hidden;
}

.project-thumb {
  position: relative;
  min-height: 100%;
  display: block;
  overflow: hidden;
  color: var(--white);
  background: #e9f1f6;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  transition: transform 220ms ease, filter 220ms ease;
}

.project-thumb span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 6px 9px;
  background: rgba(5, 33, 56, 0.86);
  font-size: 0.72rem;
}

.project-thumb:hover img,
.project-thumb:focus-visible img {
  transform: scale(1.025);
  filter: saturate(1.08);
}

.project-thumb:focus-visible,
.project-title-link:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
}

.project-index-body {
  padding: clamp(28px, 4vw, 50px);
}

.project-index-card h2 {
  margin-block: 18px 12px;
}

.project-title-link {
  color: inherit;
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.project-title-link:hover {
  color: var(--blue-600);
  text-decoration-color: var(--lime);
}

.other-results {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.other-results strong {
  color: var(--navy-900);
  font-size: 0.78rem;
}

.other-results ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.other-results li {
  padding: 7px 10px;
  color: #415563;
  background: #edf4f8;
  font-size: 0.8rem;
}

@media (max-width: 900px) {
  .service-detail,
  .project-index-card {
    grid-template-columns: 1fr;
  }

  .service-detail > div:last-child {
    grid-column: auto;
  }

  .project-thumb img {
    min-height: 0;
    aspect-ratio: 3 / 2;
  }
}

@media (max-width: 620px) {
  .service-detail-copy {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
  }

  .service-detail-copy .service-capabilities {
    grid-template-columns: 1fr;
  }

  .service-demo figcaption,
  .project-thumb span {
    right: 8px;
    bottom: 8px;
    max-width: calc(100% - 16px);
  }

}

/* Robot case: native WebGL 3D loading-cell demonstration */
.robot3d-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 34px;
}

.robot3d-heading .section-title {
  margin-top: 8px;
}

.robot3d-heading > p {
  max-width: 610px;
  margin: 0;
  color: var(--muted);
}

.robot3d-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(290px, 0.62fr);
  gap: clamp(24px, 3.4vw, 48px);
  align-items: start;
}

.robot3d-simulator {
  position: relative;
  min-width: 0;
  margin: 0;
}

.robot3d-canvas-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #edf3f5;
  border: 1px solid #b9cbd7;
  box-shadow: 0 18px 50px rgba(8, 44, 76, 0.12);
}

.robot3d-canvas-wrap::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.5);
  content: "";
}

.robot3d-simulator canvas {
  width: 100%;
  height: 100%;
  display: block;
  cursor: grab;
  touch-action: none;
}

.robot3d-simulator canvas.is-dragging {
  cursor: grabbing;
}

.robot3d-simulator canvas:focus-visible {
  outline: 4px solid var(--lime);
  outline-offset: -4px;
}

.robot3d-simulator figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  padding: 7px 10px;
  color: #eef6fa;
  background: rgba(5, 33, 56, 0.88);
  font-size: 0.78rem;
}

.robot3d-view-hint {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  padding: 7px 10px;
  color: #dbe9ef;
  background: rgba(5, 33, 56, 0.78);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.robot3d-fallback,
.robot3d-noscript {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-content: center;
  gap: 8px;
  margin: 0;
  padding: 30px;
  color: var(--navy-900);
  background: #e7eef2;
  text-align: center;
}

.robot3d-fallback[hidden] {
  display: none;
}

.robot3d-fallback span,
.robot3d-noscript {
  color: var(--muted);
  font-size: 0.9rem;
}

.robot3d-panel {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 36px);
  color: var(--white);
  background: var(--navy-900);
}

.robot3d-status {
  display: grid;
  gap: 9px;
  margin: 0 0 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.robot3d-status span {
  color: #b9df76;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.robot3d-status strong {
  font-size: 1.2rem;
  line-height: 1.4;
}

.robot3d-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.robot3d-controls button {
  min-height: 46px;
  padding: 9px 12px;
  color: var(--navy-950);
  background: var(--white);
  border: 1px solid var(--white);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
}

.robot3d-controls button:last-child {
  grid-column: 1 / -1;
  color: #dbe9ef;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.38);
}

.robot3d-controls button:hover:not(:disabled),
.robot3d-controls button:focus-visible {
  color: var(--white);
  background: transparent;
  outline: 3px solid var(--lime);
  outline-offset: 2px;
}

.robot3d-controls button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.robot3d-reduced-note {
  margin: 16px 0 0;
  color: #d8e7ef;
  font-size: 0.86rem;
}

.facility3d-energy {
  margin-top: 22px;
  padding: 16px;
  color: var(--navy-950);
  background: #f4f8fa;
  border-top: 4px solid var(--lime);
}

.facility3d-energy-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.facility3d-energy-heading span {
  display: block;
  color: #547180;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.facility3d-energy-heading h3 {
  margin: 3px 0 0;
  font-size: 1rem;
}

.facility3d-energy-heading > strong {
  padding: 5px 8px;
  color: #315500;
  background: #dcefb8;
  font-size: 0.72rem;
  white-space: nowrap;
}

.facility3d-energy-heading > strong.is-overload {
  color: #7d1d13;
  background: #ffd7cf;
}

.facility3d-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin: 14px 0 12px;
}

.facility3d-metrics div {
  padding: 9px;
  background: #e5eef2;
}

.facility3d-metrics dt,
.facility3d-metrics dd {
  margin: 0;
}

.facility3d-metrics dt {
  color: #58717e;
  font-size: 0.68rem;
}

.facility3d-metrics dd {
  margin-top: 3px;
  font-size: 0.83rem;
  font-weight: 800;
}

.facility3d-factor-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
}

.facility3d-factor-row input {
  width: 68px;
  min-height: 34px;
  padding: 5px 7px;
  color: var(--navy-950);
  background: var(--white);
  border: 1px solid #9bb1bc;
  font: inherit;
  font-weight: 800;
}

.facility3d-factor-row input:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 2px;
}

.facility3d-trend {
  margin-top: 12px;
}

.facility3d-trend svg {
  display: block;
  width: 100%;
  height: 86px;
  background: linear-gradient(#edf4f6, #dfe9ed);
  border: 1px solid #c7d5dc;
}

.facility3d-threshold-line {
  stroke: #d14b38;
  stroke-width: 1.5;
  stroke-dasharray: 6 5;
}

.facility3d-trend-line {
  fill: none;
  stroke: #0879a9;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.facility3d-trend > div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 4px;
  color: #657d89;
  font-size: 0.62rem;
}

.facility3d-energy > p {
  margin: 11px 0 0;
  color: #5e747f;
  font-size: 0.67rem;
  line-height: 1.5;
}

.robot3d-stage-list {
  display: grid;
  gap: 4px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.robot3d-stage-list li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 9px 10px;
  color: #c9dbe5;
  border-left: 3px solid transparent;
  font-size: 0.88rem;
}

.robot3d-stage-list span {
  color: #86a7ba;
  font-size: 0.72rem;
  font-weight: 800;
}

.robot3d-stage-list li.is-active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.09);
  border-left-color: var(--lime);
}

.robot3d-stage-list li.is-complete {
  color: #b9df76;
}

.robot3d-disclaimer {
  margin: auto 0 0;
  padding-top: 22px;
  color: #9fbbc9;
  font-size: 0.76rem;
  line-height: 1.6;
}

.vision3d-readout {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: min(224px, calc(100% - 176px));
  padding: 12px 14px;
  color: #e9f4f8;
  background: rgba(5, 33, 56, 0.9);
  border-top: 3px solid var(--lime);
  box-shadow: 0 8px 24px rgba(5, 33, 56, 0.2);
}

.vision3d-readout > span {
  display: block;
  margin-bottom: 8px;
  color: #b9df76;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.vision3d-readout dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0 0 8px;
}

.vision3d-readout dl div {
  padding: 6px 7px;
  background: rgba(255, 255, 255, 0.08);
}

.vision3d-readout dt,
.vision3d-readout dd {
  margin: 0;
}

.vision3d-readout dt {
  color: #a9c0cc;
  font-size: 0.66rem;
}

.vision3d-readout dd {
  margin-top: 2px;
  font-size: 0.86rem;
  font-weight: 800;
}

.vision3d-readout strong,
.vision3d-readout small {
  display: block;
}

.vision3d-readout strong {
  font-size: 0.82rem;
}

.vision3d-readout small {
  margin-top: 6px;
  color: #a9c0cc;
  font-size: 0.65rem;
  line-height: 1.35;
}

.vision3d-position-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-bottom: 14px;
}

.vision3d-position-controls button {
  min-height: 42px;
  padding: 8px 10px;
  color: #dbe9ef;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.35);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
}

.vision3d-position-controls button:hover,
.vision3d-position-controls button:focus-visible,
.vision3d-position-controls button.is-active {
  color: var(--navy-950);
  background: var(--lime);
  border-color: var(--lime);
  outline: 3px solid rgba(144, 194, 38, 0.35);
  outline-offset: 2px;
}

.packaging3d-readout,
.data3d-readout,
.industrial3d-readout {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: min(242px, calc(100% - 176px));
  padding: 12px 14px;
  color: #e9f4f8;
  background: rgba(5, 33, 56, 0.92);
  border-top: 3px solid var(--lime);
  box-shadow: 0 8px 24px rgba(5, 33, 56, 0.2);
}

.packaging3d-readout > span,
.data3d-readout > span,
.industrial3d-readout > span {
  display: block;
  margin-bottom: 8px;
  color: #b9df76;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.packaging3d-readout dl,
.data3d-readout dl,
.industrial3d-readout dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin: 0 0 7px;
}

.packaging3d-readout dl div,
.data3d-readout dl div,
.industrial3d-readout dl div {
  padding: 5px 7px;
  background: rgba(255, 255, 255, 0.08);
}

.packaging3d-readout dt,
.packaging3d-readout dd,
.data3d-readout dt,
.data3d-readout dd,
.industrial3d-readout dt,
.industrial3d-readout dd {
  margin: 0;
}

.packaging3d-readout dt,
.data3d-readout dt,
.industrial3d-readout dt {
  color: #a9c0cc;
  font-size: 0.64rem;
}

.packaging3d-readout dd,
.data3d-readout dd,
.industrial3d-readout dd {
  margin-top: 2px;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 800;
}

.packaging3d-readout small,
.data3d-readout small,
.industrial3d-readout small {
  display: block;
  color: #a9c0cc;
  font-size: 0.63rem;
  line-height: 1.35;
}

.data3d-readout strong,
.industrial3d-readout strong {
  display: block;
  margin-bottom: 5px;
  color: #e9f4f8;
  font-size: 0.76rem;
  line-height: 1.35;
}

@media (max-width: 900px) {
  .robot3d-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .robot3d-layout {
    grid-template-columns: 1fr;
  }

  .robot3d-panel {
    min-height: 0;
  }

  .robot3d-stage-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .robot3d-disclaimer {
    margin-top: 0;
  }
}

@media (max-width: 620px) {
  .robot3d-heading {
    margin-bottom: 24px;
  }

  .robot3d-simulator {
    margin-inline: -14px;
  }

  .robot3d-canvas-wrap {
    aspect-ratio: 4 / 3;
  }

  .robot3d-simulator figcaption {
    right: 8px;
    bottom: 8px;
    max-width: calc(100% - 16px);
    font-size: 0.7rem;
  }

  .robot3d-view-hint {
    top: 8px;
    left: 8px;
    font-size: 0.7rem;
  }

  .vision3d-readout {
    top: 8px;
    right: 8px;
    width: 152px;
    padding: 8px 9px;
  }

  .vision3d-readout > span {
    margin-bottom: 5px;
    font-size: 0.63rem;
  }

  .vision3d-readout dl {
    gap: 5px;
    margin-bottom: 5px;
  }

  .vision3d-readout dl div {
    padding: 4px 5px;
  }

  .vision3d-readout dt,
  .vision3d-readout small {
    font-size: 0.58rem;
  }

  .vision3d-readout dd,
  .vision3d-readout strong {
    font-size: 0.7rem;
  }

  .packaging3d-readout,
  .data3d-readout,
  .industrial3d-readout {
    top: 8px;
    right: 8px;
    width: 164px;
    padding: 8px 9px;
  }

  .packaging3d-readout > span,
  .data3d-readout > span,
  .industrial3d-readout > span {
    margin-bottom: 5px;
    font-size: 0.61rem;
  }

  .packaging3d-readout dl,
  .data3d-readout dl,
  .industrial3d-readout dl {
    gap: 4px;
    margin-bottom: 5px;
  }

  .packaging3d-readout dl div,
  .data3d-readout dl div,
  .industrial3d-readout dl div {
    padding: 3px 4px;
  }

  .packaging3d-readout dt,
  .packaging3d-readout small,
  .data3d-readout dt,
  .data3d-readout small,
  .industrial3d-readout dt,
  .industrial3d-readout small {
    font-size: 0.55rem;
  }

  .packaging3d-readout dd,
  .data3d-readout dd,
  .data3d-readout strong,
  .industrial3d-readout dd,
  .industrial3d-readout strong {
    font-size: 0.65rem;
  }

  .robot3d-controls {
    grid-template-columns: 1fr 1fr;
  }

  .robot3d-stage-list {
    grid-template-columns: 1fr;
  }

  .facility3d-metrics {
    grid-template-columns: 1fr;
  }

  .facility3d-factor-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

.experience-preview {
  overflow: hidden;
}

.experience-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
  align-items: end;
  gap: clamp(28px, 6vw, 88px);
  margin-bottom: 28px;
}

.experience-heading .section-title,
.experience-heading p,
.experience-chart h3,
.experience-chart p,
.experience-list-heading h3,
.experience-list-heading p,
.experience-scope p {
  margin: 0;
}

.experience-heading .section-title {
  font-size: clamp(2.35rem, 4.2vw, 3.1rem);
  line-height: 1.16;
}

.experience-heading > p {
  color: var(--muted);
}

.experience-scope {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  margin-bottom: 24px;
  padding: 18px 22px;
  color: #dceaf3;
  background: var(--navy-900);
  border-left: 5px solid var(--lime);
}

.experience-scope strong {
  color: var(--white);
}

.experience-filter-panel {
  margin-bottom: 18px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 16px 38px rgba(8, 44, 76, 0.07);
}

.experience-filter-heading,
.experience-list-heading,
.experience-chart-head,
.experience-item-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.experience-filter-heading {
  align-items: center;
  margin-bottom: 18px;
}

.experience-filter-heading span,
.experience-list-heading span,
.experience-chart-head span {
  display: block;
  color: var(--blue-600);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.experience-filter-heading strong {
  display: block;
  margin-top: 2px;
  color: var(--navy-900);
  font-size: 1.05rem;
}

.experience-filter-heading button,
.experience-more {
  padding: 9px 14px;
  color: var(--navy-900);
  background: var(--white);
  border: 1px solid #aebfcb;
  font-weight: 800;
  cursor: pointer;
}

.experience-filter-heading button:hover,
.experience-filter-heading button:focus-visible,
.experience-more:hover,
.experience-more:focus-visible {
  color: var(--white);
  background: var(--navy-900);
  border-color: var(--navy-900);
}

.experience-filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.experience-filters label {
  color: #354b5d;
  font-size: 0.78rem;
  font-weight: 800;
}

.experience-filters select {
  width: 100%;
  min-height: 46px;
  margin-top: 6px;
  padding: 9px 34px 9px 12px;
  color: var(--ink);
  background: #f9fbfc;
  border: 1px solid #bccbd5;
  border-radius: 0;
  font: inherit;
  font-size: 0.9rem;
}

.experience-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.experience-kpis article {
  min-height: 150px;
  padding: 20px;
  background: var(--white);
  border-top: 4px solid var(--blue-600);
  box-shadow: 0 12px 32px rgba(8, 44, 76, 0.06);
}

.experience-kpis span,
.experience-kpis small {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
}

.experience-kpis strong {
  display: block;
  margin: 8px 0 4px;
  color: var(--navy-900);
  font-size: clamp(1.45rem, 2.4vw, 2.15rem);
  line-height: 1.2;
}

.experience-charts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 48px;
}

.experience-chart {
  min-width: 0;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
}

.experience-chart-wide {
  grid-column: 1 / -1;
}

.experience-chart-head {
  margin-bottom: 24px;
}

.experience-chart-head h3,
.experience-list-heading h3 {
  color: var(--navy-900);
  font-size: 1.2rem;
}

.experience-chart-head p {
  max-width: 240px;
  color: var(--muted);
  font-size: 0.76rem;
  text-align: right;
}

.experience-year-bars {
  display: flex;
  align-items: stretch;
  gap: 8px;
  min-height: 220px;
  padding: 8px 0 0;
  overflow-x: auto;
}

.experience-year-bars button {
  display: grid;
  grid-template-rows: 30px 1fr 28px;
  align-items: end;
  justify-items: stretch;
  min-width: 64px;
  flex: 1 0 64px;
  padding: 0;
  color: var(--navy-900);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.experience-year-bars button strong,
.experience-year-bars button span {
  justify-self: center;
  font-size: 0.76rem;
}

.experience-year-bars button i {
  display: block;
  width: 100%;
  min-height: 8px;
  background: var(--blue-600);
  border-top: 4px solid var(--lime);
  transition: height 180ms ease, background 180ms ease;
}

.experience-year-bars button:hover i,
.experience-year-bars button:focus-visible i,
.experience-year-bars button.is-active i {
  background: var(--navy-900);
}

.experience-year-bars button.is-active span {
  color: var(--blue-600);
  font-weight: 900;
}

.experience-bars {
  display: grid;
  gap: 12px;
}

.experience-bar-row {
  display: grid;
  grid-template-columns: minmax(112px, 0.6fr) minmax(120px, 1.8fr) 42px;
  align-items: center;
  gap: 12px;
  font-size: 0.84rem;
}

.experience-bar-row > span {
  overflow: hidden;
  color: #334b5e;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.experience-bar-row i {
  height: 10px;
  overflow: hidden;
  background: #e2eaf0;
}

.experience-bar-row b {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--blue-600), #3194c3);
}

.experience-bar-row strong {
  color: var(--navy-900);
  text-align: right;
}

.experience-chart-empty {
  margin: 4px 0 0;
  padding: 10px 12px;
  color: var(--muted);
  background: var(--surface);
  font-size: 0.78rem;
}

.experience-list-heading {
  align-items: end;
  margin-bottom: 18px;
}

.experience-list-heading > p {
  max-width: 660px;
  color: var(--muted);
  font-size: 0.86rem;
  text-align: right;
}

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

.experience-item {
  display: flex;
  min-height: 290px;
  padding: 20px;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
}

.experience-item-head {
  color: var(--muted);
  font-size: 0.7rem;
}

.experience-item-head strong {
  color: var(--blue-600);
}

.experience-item h3 {
  margin: 16px 0 18px;
  color: var(--navy-900);
  font-size: 1.12rem;
  line-height: 1.45;
}

.experience-item dl,
.experience-item dl div,
.experience-item dt,
.experience-item dd {
  margin: 0;
}

.experience-item dl {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

.experience-item dl div {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 10px;
  align-items: start;
}

.experience-item dt {
  color: var(--muted);
  font-size: 0.76rem;
}

.experience-item dd {
  color: #2e4556;
  font-size: 0.82rem;
  font-weight: 700;
}

.experience-tag,
.experience-attribute {
  display: inline-block;
  margin: 0 5px 3px 0;
  padding: 2px 7px;
  color: var(--navy-900);
  background: var(--blue-100);
  font-size: 0.7rem;
  font-weight: 900;
}

.experience-attribute {
  color: #3f5908;
  background: #e8f4ce;
}

.experience-case-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
  color: var(--navy-900);
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 900;
  text-decoration: none;
}

.experience-case-link:hover,
.experience-case-link:focus-visible {
  color: var(--blue-600);
}

.experience-empty {
  margin: 0;
  padding: 26px;
  color: var(--muted);
  background: var(--white);
  border: 1px dashed #aebfcb;
  text-align: center;
}

.experience-more {
  display: block;
  margin: 22px auto 0;
}

.experience-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.experience-notes > div {
  padding: 24px;
  background: #e8f0f5;
  border-top: 3px solid var(--navy-900);
}

.experience-notes h3 {
  margin: 0 0 10px;
  color: var(--navy-900);
  font-size: 1rem;
}

.experience-notes ul {
  margin: 0;
  padding-left: 1.2em;
  color: #435766;
  font-size: 0.82rem;
}

@media (max-width: 900px) {
  .experience-heading {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 16px;
  }

  .experience-filters,
  .experience-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .experience-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .experience-scope {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 16px;
  }

  .experience-filter-heading,
  .experience-list-heading,
  .experience-chart-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .experience-filter-heading button {
    width: 100%;
  }

  .experience-filters,
  .experience-kpis,
  .experience-charts,
  .experience-list,
  .experience-notes {
    grid-template-columns: 1fr;
  }

  .experience-kpis article {
    min-height: 0;
  }

  .experience-chart {
    padding: 16px;
  }

  .experience-chart-head p,
  .experience-list-heading > p {
    max-width: none;
    text-align: left;
  }

  .experience-bar-row {
    grid-template-columns: minmax(88px, 0.75fr) minmax(72px, 1.25fr) 34px;
    gap: 8px;
  }

  .experience-item {
    min-height: 0;
  }
}

.experience-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
  padding: 18px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(8, 44, 76, 0.06);
}

.experience-toolbar > div span,
.experience-toolbar label {
  display: block;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 700;
}

.experience-year-control {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.experience-toolbar .experience-year-control label {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.experience-toolbar > div strong {
  display: block;
  margin-top: 2px;
  color: var(--navy-900);
  font-size: 1.12rem;
}

.experience-toolbar select {
  min-width: 180px;
  min-height: 46px;
  margin-top: 0;
  padding: 8px 36px 8px 12px;
  color: var(--ink);
  background: #f9fbfc;
  border: 1px solid #aebfcb;
  border-radius: 0;
  font: inherit;
}

.experience-retry {
  min-height: 46px;
  padding: 8px 14px;
  color: var(--navy-900);
  background: var(--white);
  border: 1px solid #7893a6;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.experience-year-data {
  display: none;
}

.experience-details {
  margin-top: -18px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(8, 44, 76, 0.06);
}

.experience-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  cursor: pointer;
  list-style: none;
}

.experience-details summary::-webkit-details-marker {
  display: none;
}

.experience-details summary span,
.experience-details summary small {
  display: block;
}

.experience-details summary strong {
  color: var(--navy-900);
  font-size: 1rem;
}

.experience-details summary small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.8rem;
}

.experience-details summary b {
  color: var(--blue-600);
  font-size: 1.55rem;
  font-weight: 400;
  transition: transform 160ms ease;
}

.experience-details[open] summary {
  border-bottom: 1px solid var(--line);
}

.experience-details[open] summary b {
  transform: rotate(45deg);
}

.experience-table-wrap {
  max-height: 540px;
  overflow: auto;
}

.experience-table-wrap table,
.experience-year-data table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.experience-table-wrap caption,
.experience-year-data caption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.experience-table-wrap thead th,
.experience-year-data thead th {
  position: sticky;
  z-index: 1;
  top: 0;
  padding: 11px 14px;
  color: var(--white);
  background: var(--navy-900);
  font-weight: 800;
  text-align: left;
  white-space: nowrap;
}

.experience-table-wrap tbody th,
.experience-table-wrap tbody td,
.experience-table-wrap tfoot th,
.experience-table-wrap tfoot td,
.experience-year-data tbody th,
.experience-year-data tbody td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.experience-table-wrap tbody th {
  min-width: 220px;
  color: var(--navy-900);
  font-weight: 700;
}

.experience-table-wrap tbody tr:nth-child(even),
.experience-year-data tbody tr:nth-child(even) {
  background: #f6f9fb;
}

.experience-table-wrap tfoot {
  color: var(--navy-900);
  background: #e8f0f5;
  font-weight: 900;
}

.experience-bar-row {
  font-size: 0.875rem;
}

@media (max-width: 620px) {
  .experience-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
  }

  .experience-toolbar select {
    width: 100%;
  }

  .experience-year-control {
    display: grid;
    width: 100%;
    gap: 10px;
  }

  .experience-toolbar .experience-year-control label {
    gap: 10px;
  }

  .experience-retry {
    width: 100%;
  }

  .experience-year-bars {
    display: none;
  }

  .experience-year-data {
    display: block;
  }

  .experience-year-data thead th,
  .experience-year-data tbody th,
  .experience-year-data tbody td {
    padding: 8px 10px;
  }

  .experience-details {
    margin-top: -12px;
  }

  .experience-details summary {
    padding: 16px;
  }

  .experience-table-wrap table {
    min-width: 720px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

}

.analytics-consent {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1000;
  width: min(560px, calc(100vw - 36px));
  padding: 18px;
  color: #eaf2f7;
  background: rgba(5, 33, 56, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 60px rgba(5, 33, 56, 0.3);
}

.analytics-consent p { margin: 0; line-height: 1.7; }
.analytics-consent a { color: #bce45d; }
.analytics-consent div { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.analytics-consent button { padding: 9px 14px; color: #eaf2f7; background: transparent; border: 1px solid #88a0b2; cursor: pointer; }
.analytics-consent button.is-primary { color: #082c4c; background: #bce45d; border-color: #bce45d; font-weight: 800; }

.admin-filter { display: flex; flex-wrap: wrap; gap: 14px; margin: 18px 0; }
.admin-filter label { display: grid; gap: 6px; color: var(--muted); font-size: 0.82rem; font-weight: 700; }
.admin-filter select,
.admin-filter input { min-height: 42px; padding: 8px 10px; color: var(--navy-950); background: var(--white); border: 1px solid var(--line); }
