/* ==========================================================================
   芯希智能 · Xixin Smart — public site design system (v2 "White Precision")
   White as the dominant tone, warm off-white layers, ink type, Xixin blue as
   a quiet accent. Motion carries emphasis instead of large type.
   Layers: reset → tokens → base → layout → components → sections → pages → utilities
   ========================================================================== */
@layer reset, tokens, base, layout, components, sections, pages, utilities;

@font-face { font-family: "XX Display"; src: url("/fonts/inter-display-500.woff") format("woff"); font-weight: 400 500; font-display: swap; }
@font-face { font-family: "XX Display"; src: url("/fonts/inter-display-600.woff") format("woff"); font-weight: 600 700; font-display: swap; }
@font-face { font-family: "XX Mono"; src: url("/fonts/mono-400.woff") format("woff"); font-weight: 400 600; font-display: swap; }

@view-transition { navigation: auto; }

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ol, ul { margin: 0; }
  ol, ul { padding: 0; list-style: none; }
  img, svg { display: block; max-width: 100%; }
  img { height: auto; }
  button, input, select, textarea { font: inherit; color: inherit; }
  button { cursor: pointer; }
  a { color: inherit; text-decoration: none; }
  table { border-collapse: collapse; }
  fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
  [hidden]:not(.solution-panel) { display: none !important; }
}

@layer tokens {
  :root {
    --white: #ffffff;
    --soft: #f6f6f3;
    --soft-2: #efefeb;
    --plate: #f2f2ef;
    --ink: #0f1115;
    --ink-2: #2a2e35;
    --muted: #61666f;
    --faint: #a2a6ad;
    --line: rgba(15, 17, 21, .08);
    --line-strong: rgba(15, 17, 21, .15);
    --blue: #2d53a2;
    --blue-700: #213f7d;
    --blue-soft: #eef2fa;
    --danger: #b42318;
    --ok: #157f3c;

    --font-sans: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", "Source Han Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-display: "XX Display", var(--font-sans);
    --font-mono: "XX Mono", ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;

    --max: 1360px;
    --gutter: clamp(20px, 4.5vw, 64px);
    --section: clamp(96px, 11vw, 176px);
    --r-sm: 2px;
    --r: 4px;
    --r-lg: 6px;
    --ease: cubic-bezier(.25, .8, .25, 1);
    --ease-out: cubic-bezier(.16, 1, .3, 1);
    --ease-io: cubic-bezier(.76, 0, .24, 1);
    --shadow: 0 1px 2px rgba(15, 17, 21, .04), 0 24px 48px -28px rgba(15, 17, 21, .22);
    --grid: linear-gradient(to right, rgba(15, 17, 21, .045) 1px, transparent 1px), linear-gradient(to bottom, rgba(15, 17, 21, .045) 1px, transparent 1px);
  }
}

@layer base {
  html { scroll-behavior: smooth; scroll-padding-top: 96px; }
  html.has-smooth { scroll-behavior: auto; }
  body { background: var(--white); color: var(--ink); font-family: var(--font-sans); font-size: 16px; line-height: 1.75; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: clip; }
  h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; letter-spacing: -.02em; line-height: 1.2; text-wrap: balance; }
  p { text-wrap: pretty; }
  ::selection { background: var(--ink); color: #fff; }
  :focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
  .skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: var(--r-sm); }
  .skip-link:focus { top: 16px; }
  .muted { color: var(--muted); }
  .required { color: var(--danger); }
  .image-fallback, .image-failed { display: grid; place-items: center; min-height: 180px; padding: 24px; color: var(--muted); font-size: 14px; text-align: center; background: var(--plate); border-radius: var(--r); }
}

@layer layout {
  .container { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
  .section { position: relative; padding-block: var(--section); }
  .section--white { background: var(--white); }
  .section--soft, .section--paper { background: var(--soft); }
  main { display: block; }
}

/* ==========================================================================
   Components
   ========================================================================== */
@layer components {
  .label { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 11.5px; line-height: 1; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
  .label__index { color: var(--blue); }
  .i { width: 16px; height: 16px; flex: none; }

  /* Buttons — pill with a circular arrow */
  .button {
    --b-bg: var(--ink); --b-fg: #fff; --b-bd: var(--ink); --b-dot: rgba(255, 255, 255, .14);
    position: relative; display: inline-flex; align-items: center; gap: 14px; min-height: 48px; padding: 6px 6px 6px 22px;
    border: 1px solid var(--b-bd); border-radius: var(--r-sm); background: var(--b-bg); color: var(--b-fg);
    font-size: 15px; font-weight: 500; line-height: 1.2; white-space: nowrap; overflow: hidden; isolation: isolate;
    transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease-out);
  }
  .button > .i { box-sizing: content-box; padding: 10px; border-radius: var(--r-sm); background: var(--b-dot); transition: transform .5s var(--ease-out), background-color .4s var(--ease); }
  .button:hover > .i { transform: rotate(45deg); }
  .button:active { transform: scale(.98); }
  .button--primary:hover, .button--dark:hover { --b-bg: var(--blue); --b-bd: var(--blue); }
  .button--ghost, .button--ghost-light { --b-bg: transparent; --b-fg: var(--ink); --b-bd: var(--line-strong); --b-dot: var(--soft-2); }
  .button--ghost:hover, .button--ghost-light:hover { --b-bd: var(--ink); --b-dot: var(--ink); }
  .button--ghost:hover > .i, .button--ghost-light:hover > .i { color: #fff; }
  .button--light { --b-bg: #fff; --b-fg: var(--ink); --b-bd: #fff; --b-dot: var(--soft-2); }
  button.button { font-family: inherit; }
  button.button:disabled { cursor: progress; opacity: .55; }
  button.button:not(:has(.i)) { padding-right: 22px; justify-content: center; }

  .text-link { position: relative; display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 500; color: var(--ink); padding-block: 6px; transition: color .3s var(--ease), gap .4s var(--ease-out); }
  .text-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform-origin: right; transition: transform .6s var(--ease-out); }
  .text-link:hover { color: var(--blue); gap: 12px; }
  .text-link:hover::after { transform: scaleX(0); transform-origin: left; }

  .stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }

  .tags { display: flex; flex-wrap: wrap; gap: 6px; }
  .tags li { padding: 2px 9px; border-radius: var(--r-sm); font-size: 12.5px; line-height: 1.6; color: var(--ink-2); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }

  .content-list { display: grid; border-top: 1px solid var(--line); }
  .content-list li { position: relative; padding: 14px 0 14px 26px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
  .content-list li::before { content: ""; position: absolute; left: 2px; top: 1.55em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); opacity: .7; }
  .numbered-flow { display: grid; border-top: 1px solid var(--line); }
  .numbered-flow li { display: grid; grid-template-columns: 52px 1fr; gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
  .numbered-flow__n { font-family: var(--font-mono); font-size: 12.5px; color: var(--blue); padding-top: 3px; }

  /* Section head */
  .section-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 20px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
  .section-head__meta { grid-column: 1 / -1; }
  .section-head__title { grid-column: 1 / span 7; font-size: clamp(26px, 2.6vw, 40px); line-height: 1.2; }
  .section-head__aside { grid-column: 9 / -1; display: grid; gap: 18px; justify-items: end; text-align: right; color: var(--muted); font-size: 15px; }

  .breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; color: var(--muted); }
  .breadcrumb a:hover { color: var(--ink); }
  .breadcrumb [aria-current] { color: var(--ink); }

  /* Wordmark */
  .wordmark { width: 100%; height: auto; overflow: visible; }
  .wordmark path { fill: none; stroke: var(--ink); stroke-width: var(--sw, .7); stroke-linecap: butt; stroke-linejoin: miter; }
  .wordmark .wordmark__s--accent { stroke: var(--blue); }
  .wordmark .wordmark__guide { stroke: rgba(15, 17, 21, .12); stroke-width: var(--gw, .35); stroke-dasharray: 2 3; }
  .wordmark .wordmark__node { fill: var(--white); stroke: rgba(15, 17, 21, .35); stroke-width: var(--gw, .35); }

  /* Product card */
  .product-grid { display: grid; gap: clamp(16px, 2vw, 28px); }
  .product-card { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color .4s var(--ease), box-shadow .6s var(--ease), transform .7s var(--ease-out); }
  .product-card:hover { border-color: var(--ink); transform: translateY(-3px); box-shadow: var(--shadow); }
  .product-card__media { position: relative; aspect-ratio: 4 / 3.1; background: var(--plate); background-image: radial-gradient(rgba(15, 17, 21, .1) 1px, transparent 1.2px); background-size: 16px 16px; overflow: hidden; }
  .product-card__media img { z-index: 1; transition: transform 1.1s var(--ease-out); }
  .product-card:hover .product-card__media img { transform: scale(1.05); }
  .product-card__code { position: absolute; z-index: 2; top: 14px; left: 16px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; color: var(--muted); }
  .product-card__body { display: grid; gap: 8px; align-content: start; flex: 1; padding: 20px 22px 24px; border-top: 1px solid var(--line); }
  .product-card__cat { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; color: var(--blue); }
  .product-card h3 { font-size: 19px; line-height: 1.35; }
  .product-card__summary { color: var(--muted); font-size: 14.5px; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .product-card .tags { margin-top: 4px; }
  .product-card__go { position: absolute; z-index: 2; top: 10px; right: 10px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--r-sm); background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); transition: background-color .3s, color .3s; }
  .product-card__go .i { transition: transform .5s var(--ease-out); }
  .product-card:hover .product-card__go { background: var(--ink); color: #fff; box-shadow: none; }
  .product-card:hover .product-card__go .i { transform: rotate(45deg); }
  .media-note { position: absolute; z-index: 2; right: 14px; bottom: 12px; padding: 3px 10px; font-size: 11px; color: var(--muted); background: rgba(255, 255, 255, .85); border-radius: var(--r-sm); }

  /* Solution card */
  .solution-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .solution-card { position: relative; display: grid; gap: 12px; align-content: start; min-height: 240px; padding: 30px; background: var(--white); border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .5s var(--ease), transform .6s var(--ease-out); }
  .solution-card__n { font-family: var(--font-mono); font-size: 12px; color: var(--blue); }
  .solution-card h3 { font-size: 22px; }
  .solution-card p { color: var(--muted); font-size: 15px; }
  .solution-card__go { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; font-size: 14px; font-weight: 500; }
  .solution-card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line-strong), var(--shadow); }

  /* Resource row */
  .resource-list { display: grid; border-top: 1px solid var(--line-strong); }
  .resource-row { position: relative; display: grid; grid-template-columns: 76px minmax(0, 1fr) 44px; gap: clamp(16px, 3vw, 40px); align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line-strong); transition: padding .6s var(--ease-out); }
  .resource-row:hover { padding-inline: 16px; }
  .resource-row__type { display: grid; place-items: center; align-content: center; gap: 0; width: 76px; aspect-ratio: 1; border-radius: var(--r-sm); text-align: center; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
  .resource-row__type strong { font-family: var(--font-mono); font-size: 13px; font-weight: 400; letter-spacing: .06em; }
  .resource-row__type span { font-size: 11.5px; color: var(--muted); }
  .resource-row__meta { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .06em; color: var(--muted); margin-bottom: 4px; }
  .resource-row h3 { font-size: clamp(18px, 1.6vw, 22px); margin-bottom: 4px; }
  .resource-row__body > p:last-child { color: var(--muted); font-size: 14.5px; }
  .resource-row__go { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-sm); box-shadow: inset 0 0 0 1px var(--line-strong); transition: background-color .3s, color .3s, transform .5s var(--ease-out); }
  .resource-row:hover .resource-row__go { background: var(--ink); color: #fff; transform: rotate(45deg); box-shadow: none; }

  .related-links { display: flex; flex-wrap: wrap; gap: 8px; }
  .related-links a { display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; border-radius: var(--r-sm); background: var(--white); box-shadow: inset 0 0 0 1px var(--line-strong); font-weight: 500; font-size: 14.5px; transition: background-color .3s, color .3s; }
  .related-links a:hover { background: var(--ink); color: #fff; }

  .empty-state { display: grid; justify-items: start; gap: 12px; padding: clamp(32px, 5vw, 64px); background: var(--white); border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); }
  .empty-state__mark { font-family: var(--font-display); font-size: 48px; line-height: 1; color: var(--blue); }
  .empty-state h2 { font-size: 24px; }
  .empty-state p { color: var(--muted); }
  .empty-state__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }

  .pagination { display: flex; gap: 6px; margin-top: 40px; }
  .pagination a { display: grid; place-items: center; min-width: 42px; height: 42px; border-radius: var(--r-sm); font-family: var(--font-mono); font-size: 12.5px; box-shadow: inset 0 0 0 1px var(--line-strong); background: var(--white); }
  .pagination a[aria-current] { background: var(--ink); color: #fff; box-shadow: none; }

  /* CTA */
  .cta { padding-block: clamp(48px, 6vw, 96px); background: var(--white); }
  .cta__card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; padding: clamp(36px, 6vw, 88px); border-radius: var(--r-lg); background: var(--soft); overflow: hidden; isolation: isolate; }
  .cta__card .wordmark--ghost { position: absolute; z-index: -1; right: -4%; top: 50%; width: min(760px, 70%); transform: translateY(-50%); --sw: .5; }
  .cta__card .wordmark--ghost path { stroke: rgba(15, 17, 21, .07); }
  .cta__card .wordmark--ghost .wordmark__s--accent { stroke: rgba(45, 83, 162, .14); }
  .cta__copy { display: grid; gap: 16px; max-width: 640px; }
  .cta h2 { font-size: clamp(28px, 3.2vw, 46px); }
  .cta p { color: var(--muted); }

  /* Image zoom + dialog */
  .image-zoom { position: relative; display: grid; place-items: center; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
  #media-dialog { width: min(1200px, 94vw); max-height: 90vh; padding: 60px 28px 28px; border: 0; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow); }
  #media-dialog[open] { animation: dialog-in .6s var(--ease-out); }
  #media-dialog::backdrop { background: rgba(246, 246, 243, .72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
  @keyframes dialog-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
  #media-dialog .dialog-media img { max-height: calc(90vh - 100px); width: auto; margin-inline: auto; object-fit: contain; }
  .dialog-close { position: absolute; top: 14px; right: 14px; padding: 8px 16px; border: 0; border-radius: var(--r-sm); background: var(--soft-2); font-size: 14px; }

  .navigation-progress { position: fixed; inset: 0 0 auto; z-index: 90; height: 2px; pointer-events: none; opacity: 0; transition: opacity .3s; }
  .navigation-progress span { display: block; width: 40%; height: 100%; background: var(--blue); }
  html[data-navigating] .navigation-progress { opacity: 1; }
  html[data-navigating] .navigation-progress span { animation: nav-progress 1.2s var(--ease) infinite; }
  @keyframes nav-progress { from { transform: translateX(-100%); } to { transform: translateX(260%); } }

  /* Media plates: images contained in a padded, fixed-ratio stage */
  .product-card__media, .solution-panel__visual, .product-hero__media .image-zoom, .solution-feature__media, .banner, .gallery .image-zoom, .nav-panel__thumb { --pad: clamp(24px, 3vw, 44px); }
  .solution-panel__visual, .product-hero__media .image-zoom, .solution-feature__media, .banner { --pad: clamp(28px, 4.5vw, 72px); }
  .gallery .image-zoom, .nav-panel__thumb { --pad: 14px; }
  :is(.product-card__media, .solution-panel__visual, .product-hero__media .image-zoom, .solution-feature__media, .banner, .gallery .image-zoom, .nav-panel__thumb) > img {
    position: absolute; inset: var(--pad); width: calc(100% - 2 * var(--pad)); height: calc(100% - 2 * var(--pad)); max-width: none; max-height: none; object-fit: contain;
  }
}

/* ==========================================================================
   Header — always reachable. At the top it sits transparently on the page;
   once scrolling starts, a progressive frosted veil fades in behind it and
   dissolves downward into the content (no hard edge).
   ========================================================================== */
@layer components {
  .site-header { position: absolute; inset: 0 0 auto; z-index: 60; view-transition-name: site-header; }
  .has-js .site-header { position: fixed; }
  .site-header::before { content: ""; position: absolute; inset: 0 0 -28px; z-index: -1; pointer-events: none; opacity: 0; background: linear-gradient(180deg, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, .72) 58%, rgba(255, 255, 255, 0) 100%); -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5); -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); transition: opacity .8s var(--ease); }
  .site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(15, 17, 21, .08) 20%, rgba(15, 17, 21, .08) 80%, transparent); opacity: 0; transform: scaleX(.6); transition: opacity .8s var(--ease), transform 1.2s var(--ease-out); }
  .is-floating.site-header::before { opacity: 1; }
  .is-floating.site-header::after { opacity: 1; transform: none; }
  .site-header__bar { position: relative; display: flex; align-items: center; gap: 24px; max-width: calc(var(--max) + 2 * var(--gutter)); height: 84px; margin-inline: auto; padding: 0 var(--gutter); transition: height .8s var(--ease-out); }
  .is-floating .site-header__bar { height: 64px; }
  .brand { flex: none; display: block; position: relative; z-index: 2; }
  .brand img { height: 30px; width: auto; transition: height .8s var(--ease-out); }
  .is-floating .brand img { height: 26px; }
  .site-nav { display: flex; align-items: center; flex: 1; gap: 16px; }
  .site-nav__links { display: flex; align-items: center; gap: 4px; margin-inline: auto; }
  .nav-link, .nav-group > summary { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: var(--r-sm); font-size: 14.5px; font-weight: 500; color: var(--ink-2); cursor: pointer; list-style: none; transition: color .3s var(--ease); }
  .nav-group > summary::-webkit-details-marker { display: none; }
  .nav-link::before, .nav-group > summary::before { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease-out); }
  .nav-link:hover::before, .nav-group > summary:hover::before, .nav-group[open] > summary::before { transform: scaleX(1); transform-origin: left; }
  .nav-link:hover, .nav-group > summary:hover, .nav-group[open] > summary { color: var(--ink); }
  .nav-link[aria-current], .nav-group[data-active] > summary { color: var(--ink); }
  .nav-link[aria-current]::after, .nav-group[data-active] > summary::after { content: ""; position: absolute; left: 6px; top: 50%; width: 3px; height: 3px; margin-top: -1.5px; border-radius: 50%; background: var(--blue); }
  .nav-group > summary .i--plus { width: 11px; height: 11px; transition: transform .5s var(--ease-out); }
  .nav-group[open] > summary .i--plus { transform: rotate(45deg); }
  .nav-cta { min-height: 42px; font-size: 14px; }

  .nav-panel { position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% + 4px); }
  .nav-panel__inner { display: grid; grid-template-columns: minmax(220px, 1fr) 3fr; gap: 32px; padding: 28px; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 40px 80px -40px rgba(15, 17, 21, .3); }
  .nav-group[open] .nav-panel__inner { animation: panel-in .6s var(--ease-out); }
  @keyframes panel-in { from { opacity: 0; transform: translateY(-8px); } }
  .nav-panel__intro { display: grid; align-content: space-between; gap: 20px; padding: 6px 8px; }
  .nav-panel__title { font-family: var(--font-display); font-size: 22px; font-weight: 500; line-height: 1.35; letter-spacing: -.01em; }
  .nav-panel__links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
  .nav-panel__links--media { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .nav-panel__links li { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .nav-panel__links a { display: grid; gap: 6px; align-content: start; height: 100%; padding: 16px; transition: background-color .3s var(--ease); }
  .nav-panel__links a:hover { background: var(--soft); }
  .nav-panel__thumb { position: relative; display: block; aspect-ratio: 4 / 3; margin-bottom: 8px; background: var(--plate); background-image: radial-gradient(rgba(15, 17, 21, .1) 1px, transparent 1.2px); background-size: 12px 12px; overflow: hidden; }
  .nav-panel__thumb img { transition: transform .8s var(--ease-out); }
  .nav-panel__links a:hover .nav-panel__thumb img { transform: scale(1.06); }
  .nav-panel__n { font-family: var(--font-mono); font-size: 10.5px; color: var(--blue); letter-spacing: .1em; }
  .nav-panel__links strong { font-size: 15.5px; font-weight: 500; }
  .nav-panel__desc { font-size: 13px; line-height: 1.6; color: var(--muted); }

  .menu-toggle { display: none; position: relative; z-index: 2; align-items: center; gap: 10px; height: 42px; margin-left: auto; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: rgba(255, 255, 255, .6); font-size: 14px; font-weight: 500; }
  .menu-toggle i { position: relative; width: 16px; height: 8px; }
  .menu-toggle i::before, .menu-toggle i::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .5s var(--ease-out), top .5s var(--ease-out); }
  .menu-toggle i::before { top: 0; }
  .menu-toggle i::after { top: 6.5px; }
  .menu-toggle[aria-expanded="true"] i::before { top: 3.25px; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] i::after { top: 3.25px; transform: rotate(-45deg); }
  .no-script-nav { position: relative; z-index: 61; display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 100px var(--gutter) 0; }
  .mobile-consult { display: none; }

  @media (max-width: 1099px) {
    .menu-toggle { display: inline-flex; }
    .site-header__bar { position: static; height: 68px; }
    .is-floating .site-header__bar { height: 60px; }
    .site-nav { position: absolute; z-index: 1; inset: 0 0 auto; height: 100dvh; flex-direction: column; align-items: stretch; justify-content: space-between; gap: 24px; padding: 96px var(--gutter) 32px; overflow: auto; background: var(--white); opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s linear .5s; }
    .site-nav.is-open { opacity: 1; visibility: visible; transition: opacity .5s var(--ease), visibility 0s; }
    .site-nav__links { flex-direction: column; align-items: stretch; margin: 0; gap: 0; }
    .site-nav__links > * { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .8s var(--ease-out); }
    .site-nav.is-open .site-nav__links > * { opacity: 1; transform: none; }
    .site-nav.is-open .site-nav__links > :nth-child(2) { transition-delay: .04s; }
    .site-nav.is-open .site-nav__links > :nth-child(3) { transition-delay: .08s; }
    .site-nav.is-open .site-nav__links > :nth-child(4) { transition-delay: .12s; }
    .site-nav.is-open .site-nav__links > :nth-child(5) { transition-delay: .16s; }
    .site-nav.is-open .site-nav__links > :nth-child(6) { transition-delay: .2s; }
    .nav-link, .nav-group > summary { display: flex; justify-content: space-between; padding: 18px 4px 18px 16px; font-family: var(--font-display); font-size: 24px; border-radius: 0; border-bottom: 1px solid var(--line); }
    .nav-link::before, .nav-group > summary::before { display: none; }
    .nav-link[aria-current]::after, .nav-group[data-active] > summary::after { left: 2px; width: 5px; height: 5px; margin-top: -2.5px; }
    .nav-panel { position: static; }
    .nav-panel__inner { display: block; padding: 6px 0 14px 16px; border: 0; box-shadow: none; border-radius: 0; background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
    .nav-panel__intro, .nav-panel__thumb, .nav-panel__desc { display: none; }
    .nav-panel__links, .nav-panel__links--media { grid-template-columns: 1fr; border: 0; }
    .nav-panel__links li { border: 0; }
    .nav-panel__links a { display: flex; align-items: baseline; gap: 14px; padding: 10px 4px; }
    .nav-cta { align-self: flex-start; }
  }
  @media (max-width: 759px) {
    .brand img, .is-floating .brand img { height: 24px; }
    .mobile-consult { position: fixed; right: 14px; bottom: 14px; z-index: 55; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: var(--r-sm); background: var(--ink); color: #fff; font-size: 14px; font-weight: 500; box-shadow: 0 14px 30px -12px rgba(15, 17, 21, .45); transition: opacity .4s; }
    .menu-open .mobile-consult { opacity: 0; pointer-events: none; }
  }
}

/* ==========================================================================
   Home
   ========================================================================== */
@layer sections {
  /* Hero — the wordmark draws, then settles to the left as the render fades in */
  .hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(120px, 12vw, 150px) 0 clamp(56px, 6vw, 88px); background: var(--white); }
  .hero__bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 55% at 72% 45%, var(--blue-soft), transparent 70%), var(--grid); background-size: auto, 96px 96px, 96px 96px; background-position: 0 0, center top, center top; mask-image: linear-gradient(180deg, #000 0%, transparent 85%); }
  .hero__inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; min-height: min(calc(100svh - 210px), 760px); }
  .hero__copy { grid-column: 1 / span 5; position: relative; z-index: 2; display: grid; gap: clamp(36px, 4vw, 56px); }
  .hero__mark { width: min(500px, 100%); transform-origin: 50% 50%; will-change: transform; }
  .wordmark--hero { --sw: 1.05; --gw: .5; }
  .hero__cn { display: flex; justify-content: space-between; width: 100%; margin-top: 18px; padding-inline: 2%; font-size: 13px; font-weight: 400; letter-spacing: .1em; color: var(--ink-2); }
  .hero__text { display: grid; gap: 18px; justify-items: start; padding-top: 28px; border-top: 1px solid var(--line); }
  .hero__kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
  .hero__kicker i { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(45, 83, 162, .14); }
  .hero__title { font-size: clamp(22px, 1.9vw, 28px); line-height: 1.5; letter-spacing: -.01em; }
  .hero__lead { max-width: 30em; color: var(--muted); font-size: 15px; line-height: 1.8; }
  .hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
  .hero__visual { grid-column: 6 / -1; position: relative; display: grid; gap: 10px; margin-right: calc(var(--gutter) * -.5); }
  .hero__visual::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: 8%; height: 12%; z-index: -1; background: radial-gradient(closest-side, rgba(15, 17, 21, .12), transparent); filter: blur(6px); }
  .hero__image { width: 100%; height: auto; -webkit-mask-image: radial-gradient(75% 70% at 50% 50%, #000 62%, transparent 100%); mask-image: radial-gradient(75% 70% at 50% 50%, #000 62%, transparent 100%); }
  .hero__visual figcaption { justify-self: end; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; color: var(--muted); }
  /* Live Miniload model: once the render has dissolved in, a 3D model of the same system takes over */
  .hero__stage { position: relative; }
  .hero__stage > .hero__image { transition: opacity 1.2s var(--ease-out); }
  .hero__live { position: absolute; inset: -4% -3%; width: 106%; height: 108%; display: block; opacity: 0; transition: opacity 1.2s var(--ease-out); touch-action: pan-y; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; outline: none; -webkit-mask-image: radial-gradient(64% 62% at 50% 48%, #000 66%, transparent 86%); mask-image: radial-gradient(64% 62% at 50% 48%, #000 66%, transparent 86%); }
  .hero__visual::after { transition: opacity 1.2s var(--ease-out); }
  .hero__visual.is-live .hero__live { opacity: 1; }
  .hero__visual.is-live > .hero__stage > .hero__image, .hero__visual.is-live::after { opacity: 0; }
  .hero__visual.is-live figcaption { display: inline-flex; align-items: center; gap: 8px; }
  .hero__visual.is-live figcaption::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 3px rgba(45, 83, 162, .14); }

  /* Choreography (CSS part): strokes draw, then the render dissolves into place */
  .wordmark--hero .wordmark__s { stroke-dasharray: 1; stroke-dashoffset: 0; animation: draw 1.8s var(--ease-io) both; }
  .wordmark--hero .s2 { animation-delay: .12s; } .wordmark--hero .s3 { animation-delay: .24s; } .wordmark--hero .s4 { animation-delay: .32s; }
  .wordmark--hero .s5 { animation-delay: .44s; } .wordmark--hero .s6 { animation-delay: .56s; } .wordmark--hero .s7 { animation-delay: .64s; }
  .wordmark--hero .wordmark__guide, .wordmark--hero .wordmark__node { animation: fade-in 1.4s var(--ease) .9s both; }
  @keyframes draw { from { stroke-dashoffset: 1; } }
  @keyframes fade-in { from { opacity: 0; } }
  .hero__cn span { display: inline-block; animation: rise 1.2s var(--ease-out) both; }
  .hero__cn span:nth-child(1) { animation-delay: .9s; } .hero__cn span:nth-child(2) { animation-delay: 1s; } .hero__cn span:nth-child(3) { animation-delay: 1.1s; } .hero__cn span:nth-child(4) { animation-delay: 1.2s; }
  @keyframes rise { from { opacity: 0; transform: translateY(12px); filter: blur(4px); } }
  .hero__visual { animation: dissolve-in 2s var(--ease-out) 2.3s both; }
  @keyframes dissolve-in { from { opacity: 0; transform: translate3d(4%, 0, 0) scale(.96); filter: blur(14px); } }
  .hero.is-settled :is(.wordmark__s, .wordmark__guide, .wordmark__node, .hero__cn span), .hero.is-settled .hero__visual { animation: none; }

  /* Intro statement — letters brighten as the section scrolls */
  .intro { background: var(--white); padding-top: clamp(64px, 8vw, 120px); }
  .intro__inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px 24px; }
  .intro__label { grid-column: 1 / span 3; padding-top: 12px; }
  .statement { grid-column: 4 / -1; font-family: var(--font-display); font-size: clamp(22px, 2.5vw, 36px); font-weight: 400; line-height: 1.6; letter-spacing: -.01em; color: var(--ink); }
  .statement .ch { color: #8d9199; transition: color .5s var(--ease); }
  .statement .ch.on { color: var(--ink); }
  .intro__pillars { grid-column: 4 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 24px; }
  .intro__pillars li { display: grid; gap: 6px; padding-top: 20px; border-top: 1px solid var(--line-strong); }
  .intro__pillars span { font-family: var(--font-mono); font-size: 11px; color: var(--blue); letter-spacing: .1em; }
  .intro__pillars strong { font-size: 17px; font-weight: 500; }
  .intro__pillars small { font-size: 14px; color: var(--muted); }

  /* Solutions */
  .solution-explorer { display: grid; gap: 28px; }
  .solution-explorer__tabs { display: flex; width: max-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; border: 1px solid var(--line-strong); border-radius: var(--r); background: var(--white); }
  .solution-explorer__tabs::-webkit-scrollbar { display: none; }
  .solution-tab { flex: none; display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px 14px 18px; border: 0; border-right: 1px solid var(--line); border-radius: 0; background: transparent; font-size: 15px; font-weight: 500; color: var(--ink-2); transition: background-color .45s var(--ease), color .45s var(--ease); }
  .solution-tab:last-child { border-right: 0; }
  .solution-tab__n { font-family: var(--font-mono); font-size: 11px; color: var(--muted); transition: color .45s; }
  .solution-tab:hover { background: var(--soft); }
  .solution-tab[aria-selected="true"] { background: var(--ink); color: #fff; }
  .solution-tab[aria-selected="true"] .solution-tab__n { color: rgba(255, 255, 255, .6); }
  .solution-explorer__stage { display: grid; }
  .solution-panel { grid-area: 1 / 1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: center; }
  .solution-panel[hidden] { display: grid; visibility: hidden; pointer-events: none; }
  .solution-panel__visual { position: relative; grid-column: 1 / span 7; aspect-ratio: 4 / 3; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); background-image: radial-gradient(rgba(15, 17, 21, .09) 1px, transparent 1.2px); background-size: 16px 16px; overflow: hidden; }
  .solution-panel__copy { grid-column: 9 / -1; display: grid; gap: 14px; justify-items: start; }
  .solution-panel__n { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em; color: var(--blue); }
  .solution-panel__copy h3 { font-size: clamp(24px, 2.2vw, 32px); }
  .solution-panel__hint { font-size: 14px; color: var(--ink-2); }
  .solution-panel__copy > p:not(.solution-panel__hint) { color: var(--muted); font-size: 15px; }
  .solution-panel__products { display: flex; flex-wrap: wrap; gap: 6px; margin-block: 6px 10px; }
  .solution-panel__products a { position: relative; z-index: 2; display: inline-block; padding: 5px 12px; border-radius: var(--r-sm); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); font-size: 13.5px; transition: background-color .3s, color .3s; }
  .solution-panel__products a:hover { background: var(--ink); color: #fff; }
  .solution-explorer__guide { justify-self: start; display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); transition: color .3s; }
  .solution-explorer__guide:hover { color: var(--ink); }

  /* Product showcase — horizontal, pinned on desktop */
  .showcase { position: relative; background: var(--white); padding-block: var(--section); }
  .showcase__sticky { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 4vw, 56px); }
  .showcase__viewport { min-width: 0; }
  .showcase__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px 24px; align-items: end; }
  .showcase__head .label { grid-column: 1 / -1; }
  .showcase__head h2 { grid-column: 1 / span 7; font-size: clamp(26px, 2.6vw, 40px); }
  .showcase__aside { grid-column: 9 / -1; display: flex; align-items: center; justify-content: flex-end; gap: 24px; }
  .showcase__progress { position: relative; width: 120px; height: 1px; background: var(--line-strong); overflow: hidden; }
  .showcase__progress i { position: absolute; inset: 0; background: var(--ink); transform: scaleX(var(--p, .08)); transform-origin: left; }
  .showcase__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
  .showcase__viewport::-webkit-scrollbar { display: none; }
  .showcase__track { display: flex; gap: clamp(16px, 2vw, 28px); width: max-content; padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2)); will-change: transform; }
  .showcase__track > * { scroll-snap-align: start; }
  .showcase .product-card { width: clamp(280px, 30vw, 440px); }
  .showcase .product-card__media { aspect-ratio: 4 / 3.6; }
  .showcase__end { position: relative; display: grid; align-content: space-between; width: clamp(240px, 22vw, 320px); align-self: stretch; padding: 28px; border-radius: var(--r); background: var(--ink); color: #fff; transition: background-color .5s var(--ease); }
  .showcase__end:hover { background: var(--blue); }
  .showcase__end-n { font-family: var(--font-display); font-size: 64px; font-weight: 500; line-height: 1; letter-spacing: -.04em; }
  .showcase__end strong { font-size: 20px; font-weight: 500; }
  .showcase__end small { font-size: 13px; color: rgba(255, 255, 255, .7); }
  .showcase__end .i { position: absolute; top: 28px; right: 28px; width: 20px; height: 20px; transition: transform .5s var(--ease-out); }
  .showcase__end:hover .i { transform: rotate(45deg); }
  .showcase.is-pinned { padding-block: 0; }
  .showcase.is-pinned .showcase__sticky { position: sticky; top: 0; height: 100vh; min-height: 640px; align-content: center; overflow: hidden; }
  .showcase.is-pinned .showcase__viewport { overflow: visible; scroll-snap-type: none; }

  /* Workflow */
  .flow { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0 24px; margin-bottom: clamp(56px, 7vw, 96px); }
  .flow::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--ink); transform-origin: left; transform: scaleX(1); transition: transform 2s var(--ease-io); }
  .flow.is-pending::before { transform: scaleX(0); }
  .flow__step { position: relative; display: grid; gap: 8px; align-content: start; padding-top: 28px; }
  .flow__step::before { content: ""; position: absolute; top: -4px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--white); box-shadow: inset 0 0 0 1.5px var(--ink); }
  .flow__step:first-child::before { background: var(--blue); box-shadow: none; }
  .flow__n { font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: .1em; }
  .flow h3 { font-size: 22px; }
  .flow p { font-size: 14px; color: var(--muted); }
  .stack { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; padding: clamp(28px, 4vw, 56px); border-radius: var(--r-lg); background: var(--soft); transition: background-color .5s var(--ease); }
  .stack:hover { background: var(--soft-2); }
  .stack__intro { grid-column: 1 / span 5; display: grid; align-content: space-between; gap: 24px; }
  .stack__intro strong { font-family: var(--font-display); font-size: clamp(22px, 2.2vw, 30px); font-weight: 500; line-height: 1.4; letter-spacing: -.01em; }
  .stack__link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--blue); }
  .stack__link .i { transition: transform .5s var(--ease-out); }
  .stack:hover .stack__link .i { transform: rotate(45deg); }
  .stack__layers { grid-column: 7 / -1; display: grid; gap: 8px; }
  .stack__layer { position: relative; display: grid; grid-template-columns: 84px 1fr; align-items: center; gap: 16px; padding: 16px 22px; border-radius: var(--r-sm); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
  .stack__layer em { font-style: normal; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; color: var(--muted); }
  .stack__layer b { font-family: var(--font-display); font-size: 16px; font-weight: 500; }
  .stack__layer--device { background: var(--ink); color: #fff; box-shadow: none; }
  .stack__layer--device em { color: rgba(255, 255, 255, .62); }

  /* Industries */
  .industry-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line-strong); background: var(--white); }
  .industry-card { position: relative; display: grid; grid-template-rows: auto 1fr auto auto; gap: 12px; min-height: 260px; padding: 28px; border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); isolation: isolate; transition: color .5s var(--ease); }
  .industry-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .7s var(--ease-out); }
  .industry-card:hover { color: #fff; }
  .industry-card:hover::before { transform: none; }
  .industry-card__n { font-family: var(--font-mono); font-size: 11px; color: var(--blue); letter-spacing: .1em; transition: color .5s; }
  .industry-card:hover .industry-card__n { color: #9fb6ea; }
  .industry-card h3 { grid-row: 3; font-size: 22px; }
  .industry-card p { grid-row: 4; font-size: 14px; color: var(--muted); transition: color .5s; }
  .industry-card:hover p { color: rgba(255, 255, 255, .7); }
  .industry-card__go { position: absolute; top: 22px; right: 22px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: var(--r-sm); box-shadow: inset 0 0 0 1px var(--line-strong); transition: transform .5s var(--ease-out), background-color .3s, color .3s, box-shadow .3s; }
  .industry-card:hover .industry-card__go { background: #fff; color: var(--ink); transform: rotate(45deg); box-shadow: none; }

  /* Capabilities */
  .capability-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line-strong); }
  .capability { display: grid; gap: 12px; align-content: start; padding: 32px 32px 40px; border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); transition: background-color .5s var(--ease); }
  .capability:hover { background: var(--soft); }
  .capability__n { font-family: var(--font-display); font-size: 44px; font-weight: 400; line-height: 1; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px var(--blue); margin-bottom: 12px; }
  .capability h3 { font-size: 21px; }
  .capability p { color: var(--muted); font-size: 15px; }
  .discipline-strip { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 44px; }
  .discipline-strip li { padding: 8px 14px; border-radius: var(--r-sm); font-size: 13.5px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--ink-2); }
}

/* ==========================================================================
   Inner pages
   ========================================================================== */
@layer pages {
  .page-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(140px, 14vw, 196px) 0 clamp(48px, 6vw, 88px); background: var(--white); }
  .page-hero__grid { position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 85% 0%, var(--blue-soft), transparent 70%), var(--grid); background-size: auto, 96px 96px, 96px 96px; mask-image: linear-gradient(180deg, #000, transparent 85%); }
  .page-hero__inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: clamp(28px, 4vw, 56px); align-items: end; }
  .page-hero .breadcrumb { grid-column: 1 / -1; }
  .page-hero__main { grid-column: 1 / span 8; display: grid; gap: 20px; }
  .page-hero h1 { font-size: clamp(32px, 4.2vw, 60px); line-height: 1.12; letter-spacing: -.03em; }
  .page-hero__aside { grid-column: 9 / -1; display: grid; gap: 20px; justify-items: start; color: var(--muted); font-size: 15.5px; }
  .page-hero__meta { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .06em; }
  @media (min-width: 760px) { .page-hero h1, .product-hero h1, .section-head__title, .cta h2 { word-break: keep-all; overflow-wrap: anywhere; } }

  /* Catalog */
  .catalog { padding-top: clamp(32px, 4vw, 56px); }
  .catalog__layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(24px, 3vw, 56px); align-items: start; }
  .filter-panel { position: sticky; top: 96px; display: grid; gap: 14px; }
  .filter-panel details { background: var(--white); border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); }
  .filter-panel summary { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; font-weight: 500; cursor: pointer; list-style: none; border-bottom: 1px solid var(--line); }
  .filter-panel summary::-webkit-details-marker { display: none; }
  .filter-panel__count { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; color: var(--muted); font-weight: 400; }
  .filter-panel form { display: grid; gap: 14px; padding: 20px; }
  .field-label { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; color: var(--muted); }
  .search-box { display: flex; padding: 4px; border-radius: var(--r-sm); background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
  .search-box:focus-within { box-shadow: inset 0 0 0 1px var(--blue), 0 0 0 4px rgba(45, 83, 162, .12); background: var(--white); }
  .search-box input { flex: 1; min-width: 0; height: 40px; padding: 0 12px; border: 0; background: transparent; outline: none; }
  .search-box button { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: var(--r-sm); background: var(--ink); color: #fff; transition: background-color .3s; }
  .search-box button:hover { background: var(--blue); }
  .filter-panel fieldset { display: grid; gap: 2px; padding-top: 4px; }
  .filter-panel legend { margin-bottom: 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; color: var(--muted); }
  .filter-option { display: grid; grid-template-columns: 16px 1fr auto; gap: 10px; align-items: center; padding: 8px 12px; border-radius: var(--r-sm); cursor: pointer; font-size: 14.5px; transition: background-color .3s; }
  .filter-option:hover { background: var(--soft); }
  .filter-option:has(input:checked) { background: var(--ink); color: #fff; }
  .filter-option:has(input:checked) small { color: rgba(255, 255, 255, .7); }
  .filter-option input { accent-color: var(--blue); width: 14px; height: 14px; margin: 0; }
  .filter-option small { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); }
  .select-wrap { position: relative; display: block; }
  .select-wrap::after { content: ""; position: absolute; right: 18px; top: 50%; width: 6px; height: 6px; margin-top: -5px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); pointer-events: none; }
  select { width: 100%; height: 46px; padding: 0 40px 0 16px; border: 0; border-radius: var(--r-sm); background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); appearance: none; -webkit-appearance: none; }
  select:focus { outline: none; box-shadow: inset 0 0 0 1px var(--blue), 0 0 0 4px rgba(45, 83, 162, .12); }
  .filter-panel__submit { width: 100%; justify-content: space-between; }
  .filter-panel__clear { justify-self: center; font-size: 13.5px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
  .filter-panel__help { display: grid; gap: 6px; padding: 20px; border-radius: var(--r); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
  .filter-panel__help p { color: var(--muted); font-size: 13.5px; }
  .filter-panel__help a { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
  .results-bar { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 18px; margin-bottom: 28px; border-bottom: 1px solid var(--line-strong); }
  .results-bar strong { font-family: var(--font-display); font-size: 24px; font-weight: 500; }
  .results-bar span { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); }
  .product-grid--catalog { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: clamp(32px, 3vw, 48px); }

  /* Product detail */
  .product-hero { position: relative; isolation: isolate; padding: clamp(120px, 12vw, 156px) 0 clamp(40px, 5vw, 72px); background: var(--white); }
  .product-hero__grid { position: absolute; inset: 0; z-index: -1; background-image: var(--grid); background-size: 96px 96px; mask-image: linear-gradient(180deg, #000, transparent 70%); }
  .product-hero__layout { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); align-items: center; margin-top: 28px; }
  .product-hero__media { grid-column: 1 / span 7; position: relative; }
  .product-hero__media .image-zoom { aspect-ratio: 4 / 3.2; border-radius: var(--r-lg); background: var(--plate); overflow: hidden; }
  .product-hero__media .image-zoom img { transition: transform 1.2s var(--ease-out); }
  .product-hero__media .image-zoom:hover img { transform: scale(1.03); }
  .product-hero__code { position: absolute; z-index: 2; top: 18px; left: 22px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; color: var(--muted); }
  .image-zoom__hint { position: absolute; z-index: 2; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: var(--r-sm); background: rgba(255, 255, 255, .9); font-size: 12.5px; box-shadow: 0 6px 18px -8px rgba(15, 17, 21, .25); }
  .image-zoom__hint .i { width: 11px; height: 11px; }
  .product-hero__media .media-note { bottom: auto; top: 14px; }
  .product-hero__summary { grid-column: 8 / -1; display: grid; gap: 18px; justify-items: start; }
  .product-hero h1 { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.12; letter-spacing: -.03em; }
  .product-hero__lead { font-size: 16.5px; color: var(--ink-2); }
  .product-hero__model { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); }
  .product-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
  .product-hero__note { font-size: 13.5px; color: var(--muted); }
  .detail-tabs { position: sticky; top: 14px; z-index: 20; }
  .detail-tabs .container { display: flex; gap: 2px; width: max-content; max-width: calc(100% - 24px); padding: 5px; border-radius: var(--r-sm); background: rgba(255, 255, 255, .8); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: inset 0 0 0 1px var(--line), 0 12px 32px -18px rgba(15, 17, 21, .25); overflow-x: auto; scrollbar-width: none; }
  .detail-tabs .container::-webkit-scrollbar { display: none; }
  .detail-tabs a { flex: none; padding: 8px 16px; border-radius: var(--r-sm); font-size: 13.5px; font-weight: 500; color: var(--ink-2); transition: background-color .4s var(--ease), color .4s var(--ease); }
  .detail-tabs a:hover { background: var(--soft); }
  .detail-tabs a.is-current { background: var(--ink); color: #fff; }
  .detail-body { padding-block: clamp(48px, 6vw, 88px) clamp(64px, 7vw, 104px); }
  .detail-section { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; padding-block: clamp(36px, 4vw, 56px); border-top: 1px solid var(--line); }
  .detail-section__head { grid-column: 1 / span 4; display: grid; gap: 12px; align-content: start; }
  .detail-section__head h2 { font-size: clamp(22px, 2vw, 30px); }
  .detail-section__body { grid-column: 6 / -1; display: grid; gap: 20px; }
  .detail-section__lead { font-size: 16.5px; color: var(--ink-2); }
  .mini-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; counter-reset: step; }
  .mini-steps li { counter-increment: step; padding: 14px 18px; border-radius: var(--r-sm); background: var(--soft); font-weight: 500; font-size: 14.5px; }
  .mini-steps li::before { content: "0" counter(step); display: block; margin-bottom: 2px; font-family: var(--font-mono); font-size: 10.5px; font-weight: 400; color: var(--blue); }
  .table-scroll { overflow-x: auto; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); background: var(--white); }
  .table-scroll table { width: 100%; min-width: 640px; font-size: 14.5px; }
  .table-scroll th, .table-scroll td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
  .table-scroll th { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; color: var(--muted); font-weight: 400; background: var(--soft); }
  .related-resources, .gallery { padding-top: clamp(36px, 4vw, 56px); border-top: 1px solid var(--line); }
  .related-resources h2, .gallery h2 { font-size: clamp(22px, 2vw, 28px); margin-bottom: 24px; }
  .gallery__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
  .gallery .image-zoom { aspect-ratio: 4 / 3; border-radius: var(--r); background: var(--plate); overflow: hidden; }

  /* Solutions */
  .solution-features { display: grid; gap: clamp(72px, 9vw, 140px); }
  .solution-feature { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: center; }
  .solution-feature__media { grid-column: 1 / span 7; position: relative; aspect-ratio: 16 / 11; border-radius: var(--r-lg); background: var(--white); overflow: hidden; }
  .solution-feature__n { position: absolute; z-index: 2; left: 24px; top: 20px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; color: var(--muted); }
  .solution-feature__n::before { content: "No. "; }
  .solution-feature__copy { grid-column: 9 / -1; display: grid; gap: 18px; justify-items: start; }
  .solution-feature:nth-child(even) .solution-feature__media { grid-column: 6 / -1; grid-row: 1; }
  .solution-feature:nth-child(even) .solution-feature__copy { grid-column: 1 / span 4; grid-row: 1; }
  .solution-feature h2 { font-size: clamp(26px, 2.6vw, 38px); }
  .solution-feature h2 a { transition: color .3s; }
  .solution-feature h2 a:hover { color: var(--blue); }
  .solution-feature__copy > p { color: var(--muted); }
  .solution-feature .content-list { width: 100%; }

  .banner { position: relative; display: block; aspect-ratio: 21 / 9; margin-top: clamp(-24px, -2vw, -12px); border-radius: var(--r-lg); background: var(--plate); overflow: hidden; }
  .banner__code, .banner figcaption { position: absolute; z-index: 2; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; color: var(--muted); }
  .banner__code { top: 18px; left: 22px; }
  .banner figcaption { right: 22px; bottom: 16px; }

  .editorial { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; }
  .editorial__aside { grid-column: 1 / span 4; position: sticky; top: 110px; display: grid; gap: 20px; justify-items: start; }
  .editorial__aside h2 { font-size: clamp(22px, 2.2vw, 32px); line-height: 1.4; }
  .editorial__aside .content-list { width: 100%; }
  .editorial__body { grid-column: 6 / -1; display: grid; gap: clamp(48px, 6vw, 80px); }
  .editorial__block { display: grid; gap: 16px; }
  .editorial__block h2 { font-size: clamp(22px, 2vw, 28px); }
  .role-list { display: grid; border-top: 1px solid var(--line); }
  .role-list > div { display: grid; grid-template-columns: minmax(140px, 1fr) 2fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .role-list dt { font-weight: 500; }
  .role-list dd { color: var(--muted); }

  .industry-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .industry-tile { position: relative; display: grid; gap: 14px; align-content: start; min-height: 340px; padding: clamp(28px, 3.5vw, 48px); border-radius: var(--r-lg); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); transition: transform .7s var(--ease-out), box-shadow .5s var(--ease); }
  .industry-tile:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
  .industry-tile__n { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; color: var(--blue); }
  .industry-tile h2 { font-size: clamp(26px, 2.4vw, 34px); }
  .industry-tile p { color: var(--muted); }
  .industry-tile__go { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; font-weight: 500; font-size: 14.5px; }
  .industry-tile__go .i { transition: transform .5s var(--ease-out); }
  .industry-tile:hover .industry-tile__go .i { transform: rotate(45deg); }

  .resource-center { display: grid; gap: 24px; }
  .resource-filter { display: grid; grid-template-columns: 2fr 1fr 1fr auto auto; gap: 12px; align-items: end; padding: 20px; border-radius: var(--r); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
  .resource-filter label { display: grid; gap: 8px; }
  .resource-filter input { height: 46px; padding: 0 18px; border: 0; border-radius: var(--r-sm); background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
  .resource-filter input:focus { outline: none; box-shadow: inset 0 0 0 1px var(--blue), 0 0 0 4px rgba(45, 83, 162, .12); }
  .resource-filter__clear { align-self: center; font-size: 13.5px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
  .results-count { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); }
  .resource-request { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-top: 40px; padding: clamp(28px, 4vw, 48px); border-radius: var(--r-lg); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
  .resource-request > div { display: grid; gap: 12px; max-width: 560px; }
  .resource-request h2 { font-size: clamp(24px, 2.4vw, 32px); }
  .resource-request p { color: var(--muted); }

  .article-layout { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; }
  .article-toc { grid-column: 1 / span 3; position: sticky; top: 110px; display: grid; gap: 14px; }
  .article-toc ol { display: grid; border-top: 1px solid var(--line); }
  .article-toc a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); transition: color .3s; }
  .article-toc a:hover { color: var(--ink); }
  .article { grid-column: 5 / span 7; display: grid; gap: clamp(40px, 5vw, 64px); }
  .article section { display: grid; gap: 14px; }
  .article__n { font-family: var(--font-mono); font-size: 11.5px; color: var(--blue); }
  .article h2 { font-size: clamp(22px, 2.1vw, 30px); }
  .article p { color: var(--ink-2); font-size: 16.5px; line-height: 1.9; }
  .article__related h2 { font-size: 20px; }

  .about-intro { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: center; }
  .about-intro__copy { grid-column: 1 / span 5; display: grid; gap: 20px; }
  .about-intro__copy h2 { font-size: clamp(28px, 3vw, 42px); }
  .about-intro__copy p { color: var(--ink-2); font-size: 16px; }
  .about-intro__media { grid-column: 7 / -1; display: grid; gap: 12px; }
  .about-intro__media img { width: 100%; padding: clamp(16px, 2.4vw, 36px); border-radius: var(--r-lg); background: var(--plate); }
  .about-intro__media figcaption { font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: .06em; }
  .culture__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .culture__grid article { display: grid; gap: 18px; align-content: start; padding: clamp(28px, 3vw, 40px); border-radius: var(--r-lg); background: var(--white); }
  .culture__k { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; color: var(--blue); }
  .culture__grid p, .culture__grid li { font-family: var(--font-display); font-size: clamp(18px, 1.6vw, 22px); font-weight: 400; line-height: 1.6; }
  .culture__grid ul { display: grid; gap: 6px; }
  .discipline-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .discipline-grid li { display: grid; gap: 8px; align-content: start; min-height: 180px; padding: 28px; border-radius: var(--r); background: var(--white); transition: transform .7s var(--ease-out), box-shadow .5s; }
  .discipline-grid li:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
  .discipline-grid span { font-family: var(--font-mono); font-size: 11px; color: var(--blue); }
  .discipline-grid strong { font-family: var(--font-display); font-size: 21px; font-weight: 500; margin-top: auto; }
  .discipline-grid small { font-size: 14px; color: var(--muted); }
  .service-process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
  .service-process li { display: grid; gap: 8px; align-content: start; padding-top: 24px; border-top: 1px solid var(--ink); }
  .service-process span { font-family: var(--font-mono); font-size: 11px; color: var(--blue); }
  .service-process h3 { font-size: 20px; }
  .service-process p { color: var(--muted); font-size: 14.5px; }

  .contact { padding-top: clamp(32px, 4vw, 56px); }
  .contact__layout { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; }
  .contact-aside { grid-column: 1 / span 4; position: sticky; top: 96px; }
  .contact-aside__inner { display: grid; gap: 20px; justify-items: start; padding: clamp(28px, 3vw, 40px); border-radius: var(--r-lg); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
  .contact-aside h2 { font-size: clamp(22px, 2vw, 28px); line-height: 1.4; }
  .contact-aside p { color: var(--muted); }
  .contact-steps { display: grid; width: 100%; border-top: 1px solid var(--line); }
  .contact-steps li { display: flex; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
  .contact-steps span { font-family: var(--font-mono); font-size: 11.5px; color: var(--blue); padding-top: 3px; }
  .contact-aside__note { display: grid; gap: 4px; padding-top: 6px; font-size: 13.5px; }
  .inquiry-panel { grid-column: 5 / -1; padding: clamp(24px, 4vw, 56px); border-radius: var(--r-lg); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
  .form-head { display: grid; gap: 6px; margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
  .form-head h2 { font-size: clamp(22px, 2vw, 28px); }
  .form-hint { font-size: 13.5px; color: var(--muted); }
  .form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .field { display: grid; gap: 7px; align-content: start; }
  .field--full, .quantity-group { grid-column: 1 / -1; }
  .field > label { font-size: 14px; font-weight: 500; }
  .field input, .field textarea { width: 100%; min-height: 48px; padding: 12px 16px; border: 0; border-radius: var(--r-sm); background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .3s, background-color .3s; }
  .field textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
  .field input:focus, .field textarea:focus { outline: none; background: var(--white); box-shadow: inset 0 0 0 1px var(--blue), 0 0 0 4px rgba(45, 83, 162, .12); }
  .field select { height: 48px; border-radius: var(--r-sm); }
  .field small { font-size: 12.5px; color: var(--muted); }
  .field small:empty { display: none; }
  [aria-invalid="true"] { box-shadow: inset 0 0 0 1px var(--danger), 0 0 0 4px rgba(180, 35, 24, .1) !important; }
  .field-error { font-size: 13px; color: var(--danger); }
  .field-error:empty { display: none; }
  .quantity-group { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 18px; border-radius: var(--r); background: var(--soft); }
  .quantity-group legend { float: left; width: 100%; margin-bottom: 4px; font-weight: 500; font-size: 14px; }
  .quantity-group .field > label { font-weight: 400; font-size: 13px; color: var(--muted); }
  .quantity-group .field input, .quantity-group select { background: var(--white); }
  .project-details { margin-top: 28px; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); }
  .project-details > summary { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; font-weight: 500; cursor: pointer; list-style: none; }
  .project-details > summary::-webkit-details-marker { display: none; }
  .project-details__hint { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11.5px; font-weight: 400; color: var(--muted); }
  .project-details__hint .i { transition: transform .5s var(--ease-out); }
  .project-details[open] .project-details__hint .i { transform: rotate(45deg); }
  .project-details > .muted, .project-details > .form-grid { padding: 0 22px 22px; }
  .project-details > .muted { font-size: 13.5px; }
  .consent-label { display: flex; gap: 12px; align-items: flex-start; margin-top: 24px; font-size: 14px; cursor: pointer; }
  .consent-label input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--ink); flex: none; }
  .consent-label a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
  .submit-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
  .submit-row > span { font-size: 13px; color: var(--muted); }
  #submit-inquiry { min-width: 200px; }
  #retry-config { margin-top: 12px; }
  #form-status { font-size: 14px; }
  #form-status:not(:empty) { margin-bottom: 16px; padding: 12px 18px; border-radius: var(--r-sm); background: var(--blue-soft); color: var(--blue-700); }
  #form-status.error { background: #fdecea; color: var(--danger); }
  #error-summary { margin-bottom: 20px; padding: 16px 20px; border-radius: var(--r-sm); background: #fdf3f2; color: var(--danger); box-shadow: inset 0 0 0 1px rgba(180, 35, 24, .3); }
  #error-summary ul { margin-top: 8px; padding-left: 18px; list-style: disc; }
  #error-summary a { text-decoration: underline; text-underline-offset: 3px; }
  .success-panel { display: grid; justify-items: start; gap: 14px; }
  .success-panel__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--ok); color: #fff; }
  .success-panel__icon .i { width: 24px; height: 24px; }
  .success-panel h2 { font-size: 28px; }
  .success-panel strong { font-family: var(--font-mono); font-size: 20px; font-weight: 400; padding: 12px 20px; background: var(--soft); border-radius: var(--r-sm); letter-spacing: .04em; }

  .not-found { position: relative; isolation: isolate; overflow: hidden; min-height: 80vh; display: grid; align-items: center; padding: 160px 0 96px; background: var(--white); }
  .not-found__inner { position: relative; display: grid; gap: 20px; justify-items: start; }
  .not-found h1 { font-size: clamp(32px, 4vw, 56px); }
  .not-found p { color: var(--muted); }
  .not-found__actions { display: flex; flex-wrap: wrap; gap: 10px; }
  .not-found__code { position: absolute; right: 0; bottom: -.1em; z-index: -1; font-family: var(--font-display); font-weight: 400; font-size: clamp(160px, 26vw, 400px); line-height: 1; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1px rgba(15, 17, 21, .1); }
}

/* ==========================================================================
   Footer
   ========================================================================== */
@layer sections {
  .site-footer { position: relative; overflow: hidden; background: var(--white); border-top: 1px solid var(--line); padding-top: clamp(64px, 8vw, 112px); }
  .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
  .footer-brand { display: grid; gap: 12px; align-content: start; justify-items: start; }
  .footer-brand img { height: 32px; width: auto; margin-bottom: 8px; }
  .footer-brand__tag { color: var(--muted); font-size: 14px; margin-bottom: 8px; }
  .footer-col h2 { margin-bottom: 16px; font-family: var(--font-mono); font-size: 11px; font-weight: 400; letter-spacing: .14em; color: var(--muted); }
  .footer-col ul { display: grid; gap: 10px; }
  .footer-col a { position: relative; font-size: 14.5px; color: var(--ink-2); transition: color .3s; }
  .footer-col a:hover { color: var(--blue); }
  .footer-art { margin-top: clamp(64px, 9vw, 128px); }
  .wordmark--footer { --sw: .38; }
  .wordmark--footer path { stroke: rgba(15, 17, 21, .2); }
  .wordmark--footer .wordmark__s--accent { stroke: rgba(45, 83, 162, .4); }
  .has-js .footer-art .wordmark .wordmark__s { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.4s var(--ease-io); }
  .has-js .footer-art.is-drawn .wordmark .wordmark__s { stroke-dashoffset: 0; }
  .has-js .footer-art .s2 { transition-delay: .1s; } .has-js .footer-art .s3 { transition-delay: .2s; } .has-js .footer-art .s4 { transition-delay: .3s; }
  .has-js .footer-art .s5 { transition-delay: .4s; } .has-js .footer-art .s6 { transition-delay: .5s; } .has-js .footer-art .s7 { transition-delay: .6s; }
  .footer-art__cn { margin-top: 20px; text-align: center; font-family: var(--font-mono); font-size: 11px; letter-spacing: .4em; color: var(--muted); }
  .footer-bottom { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; margin-top: clamp(40px, 5vw, 64px); padding-block: 22px 28px; border-top: 1px solid var(--line); font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .06em; color: var(--muted); }
  .footer-bottom__geo { margin-left: auto; }
  .footer-top { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
  .footer-top .i { transform: rotate(-45deg); transition: transform .5s var(--ease-out); }
  .footer-top:hover .i { transform: rotate(-45deg) translateX(3px); }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@layer pages {
  @media (max-width: 1099px) {
    .hero__inner { min-height: 0; row-gap: 40px; }
    .hero__copy, .hero__visual { grid-column: 1 / -1; }
    .hero__visual { margin-right: 0; animation-delay: 1.6s; }
    .hero__mark { width: min(640px, 100%); }
    .section-head__title { grid-column: 1 / -1; }
    .section-head__aside { grid-column: 1 / -1; justify-items: start; text-align: left; }
    .intro__label, .statement, .intro__pillars { grid-column: 1 / -1; }
    .solution-panel__visual, .solution-panel__copy { grid-column: 1 / -1; }
    .showcase__head h2, .showcase__aside { grid-column: 1 / -1; justify-content: flex-start; }
    .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
    .flow::before { display: none; }
    .flow__step { border-top: 1px solid var(--ink); }
    .stack__intro, .stack__layers { grid-column: 1 / -1; }
    .industry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .capability-grid { grid-template-columns: 1fr; }
    .solution-explorer__tabs { width: 100%; }
    .cta__card { grid-template-columns: 1fr; }
    .page-hero__main, .page-hero__aside { grid-column: 1 / -1; }
    .catalog__layout { grid-template-columns: 1fr; }
    .filter-panel { position: static; }
    .product-grid--catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .product-hero__media, .product-hero__summary { grid-column: 1 / -1; }
    .detail-section__head, .detail-section__body { grid-column: 1 / -1; }
    .solution-feature__media, .solution-feature__copy, .solution-feature:nth-child(even) .solution-feature__media, .solution-feature:nth-child(even) .solution-feature__copy { grid-column: 1 / -1; grid-row: auto; }
    .editorial__aside, .editorial__body { grid-column: 1 / -1; position: static; }
    .resource-filter { grid-template-columns: 1fr 1fr; }
    .resource-filter label:first-child { grid-column: 1 / -1; }
    .article-toc { display: none; }
    .article { grid-column: 1 / -1; }
    .about-intro__copy, .about-intro__media { grid-column: 1 / -1; }
    .culture__grid { grid-template-columns: 1fr; }
    .discipline-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .service-process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .contact-aside, .inquiry-panel { grid-column: 1 / -1; position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .banner { aspect-ratio: 4 / 3; }
  }
  @media (max-width: 759px) {
    body { font-size: 15.5px; }
    .hero { padding-top: 112px; }
    .wordmark--hero { --sw: 1.6; --gw: .9; }
    .wordmark--footer { --sw: 1; }
    .cta__card .wordmark--ghost { --sw: 1.2; width: 120%; }
    .hero__actions .button { flex: 1 1 auto; justify-content: space-between; }
    .section-head__title, .showcase__head h2 { font-size: clamp(26px, 7.4vw, 34px); }
    .intro__pillars { grid-template-columns: 1fr; gap: 0; }
    .intro__pillars li { padding-block: 18px; }
    .showcase .product-card { width: 78vw; }
    .showcase__end { width: 64vw; }
    .flow { grid-template-columns: 1fr 1fr; }
    .stack__layer { grid-template-columns: 1fr; gap: 2px; border-radius: var(--r); }
    .industry-grid { grid-template-columns: 1fr; }
    .industry-card { min-height: 0; }
    .page-hero h1 { font-size: clamp(30px, 8.6vw, 40px); }
    .product-grid--catalog { grid-template-columns: 1fr; }
    .results-bar { flex-direction: column; gap: 4px; }
    .product-hero h1 { font-size: clamp(28px, 8vw, 38px); }
    .mini-steps { grid-template-columns: 1fr 1fr; }
    .role-list > div { grid-template-columns: 1fr; gap: 4px; }
    .industry-tiles { grid-template-columns: 1fr; }
    .industry-tile { min-height: 0; }
    .resource-filter { grid-template-columns: 1fr; }
    .resource-row { grid-template-columns: 60px minmax(0, 1fr); padding: 22px 0; }
    .resource-row:hover { padding-inline: 0; }
    .resource-row__type { width: 60px; }
    .resource-row__go { display: none; }
    .discipline-grid, .service-process { grid-template-columns: 1fr; }
    .discipline-grid li { min-height: 0; }
    .form-grid, .quantity-group { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-bottom__geo { margin-left: 0; }
    .site-footer { padding-bottom: 64px; }
  }
}

/* ==========================================================================
   Motion: page transitions, scroll-driven depth, reveal
   ========================================================================== */
@layer utilities {
  ::view-transition-old(root) { animation: vt-out .5s var(--ease-io) both; }
  ::view-transition-new(root) { animation: vt-in .9s var(--ease-out) .08s both; }
  ::view-transition-group(site-header) { animation-duration: .6s; animation-timing-function: var(--ease-out); }
  @keyframes vt-out { to { opacity: 0; transform: translate3d(0, -28px, 0); filter: blur(6px); } }
  @keyframes vt-in { from { opacity: 0; transform: translate3d(0, 36px, 0); } }
  .is-leaving main, .is-leaving .site-footer { opacity: 0; transform: translate3d(0, -20px, 0); transition: opacity .35s var(--ease), transform .45s var(--ease-io); }

  @supports (animation-timeline: view()) {
    .hero__image { animation: hero-drift linear both; animation-timeline: view(); animation-range: cover 50% cover 100%; }
    .hero.is-settled .hero__image { animation: hero-drift linear both; animation-timeline: view(); animation-range: cover 50% cover 100%; }
    @keyframes hero-drift { to { translate: 0 6%; scale: 1.06; } }
    :is(.product-card__media, .solution-feature__media, .banner, .product-hero__media .image-zoom) > img, .about-intro__media img { animation: plate-settle linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
    @keyframes plate-settle { from { scale: 1.12; translate: 0 4%; } }
  }

  .visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .noscript-links { margin-top: 24px; }
  .is-pending { opacity: 0; transform: translate3d(0, 48px, 0); }
  .flow.is-pending { opacity: 1; transform: none; }
  .reveal-run { transition: opacity 1.2s var(--ease-out), transform 1.4s var(--ease-out) !important; }
  .menu-open, .menu-open body { overflow: hidden; }

  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
  }
  @media print {
    .site-header, .mobile-consult, .detail-tabs { display: none !important; }
  }
}
