/* OPENextech — instrument blue (#00417D) */

:root {
  --accent: #00417d;
  --accent-d: #002d58;
  --accent-bright: #3fa4dd;
  --accent-soft: #e8f1f8;
  --ink: #1a1a1a;
  --text: #333333;
  --muted: #666666;
  --faint: #8a8a8a;
  --line: #e6e6e6;
  --soft: #f4f4f4;
  --white: #ffffff;
  --dark: #1c1c1c;
  --dark-2: #2a2a2a;
  --max: 1180px;
  --font: "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 14px 34px rgba(0, 0, 0, 0.08);
  --section-pad-y: 52px;
  --section-pad-bottom: 48px;
  --section-title-size: 30px;
  --section-title-gap: 22px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
}

input {
  font: inherit;
}

.wrap {
  width: min(100% - 48px, var(--max));
  margin-inline: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 2px;
  transition: background 0.2s ease;
}

.btn-accent {
  background: var(--accent);
  color: #fff;
}

.btn-accent:hover {
  background: var(--accent-d);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.text-link span {
  color: var(--accent-bright);
  transition: transform 0.2s ease;
}

.text-link:hover span {
  transform: translateX(3px);
}

/* ========== UTIL + HEADER (solid, no glass) ========== */
.site-chrome {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 60;
}

.util-bar {
  background: #f0f0f0;
  border-bottom: 1px solid #e4e4e4;
  font-size: 12px;
  color: var(--muted);
}

.util-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 30px;
  gap: 16px;
}

.util-left,
.util-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.util-bar a:hover {
  color: #f4f8fb;
}

.util-sep {
  opacity: 0.4;
}

.site-header {
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: none;
}

.site-header.is-solid {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 64px;
}

.brand {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  flex-shrink: 0;
}

.brand span {
  color: var(--accent);
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.main-nav a {
  position: relative;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text);
  padding: 10px 12px;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
  opacity: 0.9;
}

.main-nav a:hover {
  color: var(--accent-d);
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  justify-content: flex-end;
}

.icon-btn {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--ink);
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  transition: background 0.2s ease;
}

.icon-btn:hover {
  background: var(--soft);
}

.header-text-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.header-text-link:hover {
  color: var(--accent-d);
}

.header-cta {
  min-height: 36px;
  padding: 0 16px;
  font-size: 13px;
}

/* ========== HERO STAGE ==========
   Dark cinematic first viewport; copy sits on a charcoal scrim, not a white wash.
*/
.hero-stage {
  position: relative;
  z-index: 1;
  padding: 0;
  background: #0b0f14;
  overflow: hidden;
  height: 100svh;
  min-height: 100vh;
}


.hero-media {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-wave {
  display: none;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.6s ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-media img,
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Keep the hall in frame — do not crop into the instrument */
  object-position: 58% 46%;
  opacity: 1;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(8, 12, 16, 0.88) 0%,
    rgba(8, 12, 16, 0.72) 18%,
    rgba(8, 12, 16, 0.38) 36%,
    rgba(8, 12, 16, 0.1) 52%,
    transparent 68%
  );
  pointer-events: none;
}

.wrap.hero-row {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  margin: 0;
  min-height: 100%;
  padding: 0;
  box-sizing: border-box;
}

.hero-copy {
  position: absolute;
  left: clamp(56px, 8vw, 120px);
  top: 50%;
  transform: translateY(-42%);
  width: min(540px, 40vw);
  max-width: calc(100% - 80px);
  margin: 0;
  color: #edf1f4;
  text-align: left;
  font-family: Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: rgba(237, 241, 244, 0.55);
}

.hero-kicker::before {
  content: "";
  width: 22px;
  height: 1px;
  background: rgba(237, 241, 244, 0.4);
}

.hero-copy h1 {
  font-size: clamp(34px, 3.8vw, 48px);
  font-weight: 600;
  letter-spacing: -0.038em;
  line-height: 1.18;
  color: #f2f5f7;
  margin: 0 0 18px;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero-copy h1 {
    color: transparent;
    background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.82) 100%);
    -webkit-background-clip: text;
    background-clip: text;
  }
}

.hero-copy .hero-lead {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.01em;
  color: rgba(237, 241, 244, 0.58);
  max-width: 28em;
  margin: 0 0 36px;
  text-shadow: none;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 28px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px 0 24px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--accent);
  border: 0;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-cta svg {
  display: block;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-cta:hover {
  background: var(--accent-d);
}

.hero-cta:hover svg {
  transform: translateX(3px);
}

.hero-cta:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
}

.hero-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(237, 241, 244, 0.78);
  background: none;
  border: 0;
  cursor: pointer;
  transition: color 0.22s ease;
}

.hero-text-link span {
  display: inline-block;
  color: var(--accent-bright);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-text-link:hover {
  color: #fff;
}

.hero-text-link:hover span {
  transform: translateX(4px);
}

.hero-text-link:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .hero-cta svg,
  .hero-text-link span {
    transition: none;
  }

  .hero-cta:hover svg,
  .hero-text-link:hover span {
    transform: none;
  }
}

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid rgba(15, 23, 42, 0.16);
}

.btn-ghost:hover {
  background: #f7f7f7;
}

/* ========== CERT LAB — arc seam + lamps light the hall ========== */
.cert-lab {
  --cert-wave-h: 0px;
  --cert-lift: 0px;
  --cert-arc-h: clamp(72px, 10vh, 104px);
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Pull up by full arc height so hero fills the cutout — no body gap */
  margin-top: calc(var(--cert-arc-h) * -1);
  padding-top: 0;
  background: transparent;
  isolation: isolate;
  overflow: visible;
}

.cert-lab__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #0b0f14;
  overflow: hidden;
  /* Fixed-height arc mask (not % of section — that caused the disconnect) */
  -webkit-mask-image:
    linear-gradient(#000, #000),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 96' preserveAspectRatio='none'%3E%3Cpath fill='white' d='M0 96V72C220 72 360 10 600 10s380 62 600 62v24z'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% calc(100% - var(--cert-arc-h) + 1px), 100% var(--cert-arc-h);
  -webkit-mask-position: center bottom, center top;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-composite: source-over;
  mask-image:
    linear-gradient(#000, #000),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 96' preserveAspectRatio='none'%3E%3Cpath fill='white' d='M0 96V72C220 72 360 10 600 10s380 62 600 62v24z'/%3E%3C/svg%3E");
  mask-size: 100% calc(100% - var(--cert-arc-h) + 1px), 100% var(--cert-arc-h);
  mask-position: center bottom, center top;
  mask-repeat: no-repeat;
  mask-composite: add;
  transition: background 1.2s ease;
}

.cert-lab.is-lit .cert-lab__bg {
  background: #e8e4dc;
}

.cert-lab__arc {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
  height: var(--cert-arc-h);
  z-index: 2;
  pointer-events: none;
  overflow: visible;
}

.cert-lab__arc--cool {
  opacity: 1;
  transition: opacity 0.7s ease;
}

.cert-lab.is-lit .cert-lab__arc--cool {
  opacity: 0;
  transition: opacity 0.55s ease;
}

.cert-lab__arc--warm {
  opacity: 0;
  transition: opacity 1.1s ease 0.15s;
}

.cert-lab.is-lit .cert-lab__arc--warm {
  opacity: 1;
}

.cert-lab__arc--cool .cert-lab__arc-bloom {
  opacity: 0.68;
}

.cert-lab__arc--cool .cert-lab__arc-core {
  opacity: 0.65;
  filter: drop-shadow(0 0 4px rgba(63, 164, 221, 0.45));
}

.cert-lab__arc--warm .cert-lab__arc-bloom {
  opacity: 0.85;
}

.cert-lab__arc--warm .cert-lab__arc-core {
  opacity: 0.95;
  filter: drop-shadow(0 0 6px rgba(255, 236, 180, 0.9));
}

.cert-lab__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}

/* Dim + lit stacks: same look as before, but only opacity animates (no filter tween hitch) */
.cert-lab__photo--dim {
  opacity: 0.22;
  filter: brightness(0.55) saturate(0.85);
  transition: opacity 1.2s ease;
  z-index: 0;
}

.cert-lab.is-lit .cert-lab__photo--dim {
  opacity: 0;
}

.cert-lab__photo--lit {
  opacity: 0;
  transition: opacity 1.2s ease;
  z-index: 0;
}

.cert-lab.is-lit .cert-lab__photo--lit {
  opacity: 1;
}

/* Warmup compile: skip transitions so GPU layers build without a visible flash */
.cert-lab.is-warming,
.cert-lab.is-warming * {
  transition: none !important;
}

.cert-lab__grade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: rgba(11, 15, 20, 0.55);
  opacity: 1;
  transition: opacity 1.1s ease;
}

.cert-lab.is-lit .cert-lab__grade {
  opacity: 0;
}

.cert-lab__bg::before {
  content: "";
  position: absolute;
  top: 0;
  right: -8%;
  bottom: -8%;
  left: -8%;
  z-index: 1;
  background: radial-gradient(ellipse 88% 78% at 50% 6%, #fff7ea 0%, #f3e6cf 42%, #e4d3b4 72%, transparent 100%);
  opacity: 0;
  transform: scale(0.42);
  transform-origin: 50% 0;
  transition: opacity 1.35s ease 0.12s, transform 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
  pointer-events: none;
}

.cert-lab.is-lit .cert-lab__bg::before {
  opacity: 0.55;
  transform: scale(1);
}

.cert-lab__mist {
  display: none;
}

.cert-lab__vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse 68% 58% at 50% 62%, transparent 36%, rgba(0, 0, 0, 0.55) 100%);
  opacity: 1;
  transition: opacity 1.1s ease;
}

.cert-lab.is-lit .cert-lab__vignette {
  opacity: 0.18;
}

.cert-lab__lamp {
  --lens-l-x: 25.4%;
  --lens-r-x: 74.6%;
  --lens-y: 72.5%;
  --head-tilt: 16deg;
  position: absolute;
  /* Sit just under the arc peak */
  top: calc(var(--cert-arc-h) * 10 / 96 + 14px);
  left: 50%;
  width: min(360px, 88vw);
  transform: translate(-50%, 0);
  z-index: 3;
  overflow: visible;
  pointer-events: none;
}

.cert-lab__rig {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  filter:
    drop-shadow(0 2px 3px rgba(0, 0, 0, 0.35))
    drop-shadow(0 10px 18px rgba(0, 0, 0, 0.42))
    drop-shadow(0 22px 36px rgba(18, 22, 28, 0.28));
}

.cert-lab__track-accent {
  opacity: 0.35;
  transition: opacity 0.8s ease 0.2s;
}

.cert-lab__head-lens,
.cert-lab__head-core {
  transition: fill 0.55s ease, opacity 0.55s ease;
}

.cert-lab__head-core {
  fill: #3fa4dd;
  opacity: 0.55;
}

.cert-lab.is-lit .cert-lab__track-accent {
  opacity: 1;
}

.cert-lab.is-lit .cert-lab__head-lens {
  fill: #fff4cc;
}

.cert-lab.is-lit .cert-lab__head-core {
  fill: url(#certWarmCore);
  opacity: 1;
  transition: fill 0.7s ease 0.35s, opacity 0.7s ease 0.35s;
}

.cert-lab__glow {
  position: absolute;
  top: calc(var(--lens-y) - 3%);
  width: min(260px, 30vw);
  height: min(560px, 70vh);
  transform-origin: 50% 0;
  z-index: 0;
  pointer-events: none;
}

.cert-lab__glow--left {
  left: var(--lens-l-x);
  transform: translateX(-50%) rotate(var(--head-tilt));
}

.cert-lab__glow--right {
  left: var(--lens-r-x);
  transform: translateX(-50%) rotate(calc(var(--head-tilt) * -1));
}

.cert-lab__glow::before,
.cert-lab__glow::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 100%;
  transform: scaleY(0.08);
  transform-origin: 50% 0;
  opacity: 0;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.78) 58%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.78) 58%, transparent 100%);
  transition: opacity 0.9s ease 0.08s, transform 1.15s cubic-bezier(0.16, 1, 0.3, 1) 0.08s;
}

.cert-lab__glow::before {
  background: conic-gradient(
    from 0deg at 50% 0%,
    transparent 0deg 148deg,
    rgba(241, 181, 61, 0.04) 158deg,
    rgba(255, 211, 103, 0.34) 173deg,
    rgba(255, 232, 168, 0.5) 180deg,
    rgba(255, 211, 103, 0.34) 187deg,
    rgba(241, 181, 61, 0.04) 202deg,
    transparent 212deg 360deg
  );
  filter: blur(18px);
}

.cert-lab__glow::after {
  inset-inline: 17%;
  background: conic-gradient(
    from 0deg at 50% 0%,
    transparent 0deg 159deg,
    rgba(255, 203, 78, 0.06) 166deg,
    rgba(255, 226, 146, 0.48) 176deg,
    rgba(255, 247, 213, 0.76) 180deg,
    rgba(255, 226, 146, 0.48) 184deg,
    rgba(255, 203, 78, 0.06) 194deg,
    transparent 201deg 360deg
  );
  filter: blur(10px);
}

.cert-lab.is-lit .cert-lab__glow::before,
.cert-lab.is-lit .cert-lab__glow::after {
  transform: scaleY(1);
  opacity: 1;
  transition: opacity 0.95s ease 0.42s, transform 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.42s;
}

.cert-lab__wrap {
  position: relative;
  z-index: 5;
  width: min(100% - 24px, 1700px);
  padding: calc(var(--cert-arc-h) + 32px) 24px 48px;
  text-align: center;
  transform: translateY(calc(var(--cert-wave-h) - var(--cert-lift)));
}

.cert-lab__head {
  position: relative;
  z-index: 6;
  max-width: 560px;
  margin: 0 auto 8px;
}

.cert-lab__head h2 {
  font-size: clamp(28px, 3.2vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #f4f8fb;
  margin: 0 0 14px;
  transition: color 1.2s ease 0.35s;
}

.cert-lab__head p {
  font-size: 15px;
  line-height: 1.7;
  max-width: 34em;
  margin: 0 auto;
  color: rgba(236, 242, 248, 0.88);
  transition: color 1.2s ease 0.35s;
}

.cert-lab.is-lit .cert-lab__head h2 {
  color: #121820;
}

.cert-lab.is-lit .cert-lab__head p {
  color: #3a4556;
}

.cert-lab__ring-wrap {
  position: relative;
  z-index: 2;
  margin-top: 12px;
}

.cert-lab .craft-cards {
  margin-top: 0;
  /* 3D cards stick above their box center — reserve space so they don't cover copy */
  padding: 72px 0 28px;
}

.cert-lab__glow-floor {
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 78%;
  height: 64px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at 22% 50%, rgba(240, 196, 90, 0.22) 0%, transparent 42%),
    radial-gradient(ellipse at 78% 50%, rgba(240, 196, 90, 0.22) 0%, transparent 42%);
  filter: blur(10px);
  opacity: 0;
  transition: opacity 1.5s ease 0.5s;
  z-index: 0;
  pointer-events: none;
}

.cert-lab.is-lit .cert-lab__glow-floor {
  opacity: 1;
}

.cert-lab .card-3d > div img {
  filter: brightness(0.5) saturate(0.7) contrast(0.95);
  transition: filter 1.4s ease 0.45s;
}

.cert-lab.is-lit .card-3d > div img {
  filter: none;
}

@media (max-width: 1100px) {
  .cert-lab {
    --cert-arc-h: clamp(64px, 9vh, 88px);
  }

  .cert-lab__lamp {
    top: calc(var(--cert-arc-h) * 10 / 96 + 14px);
    width: min(300px, 84vw);
    transform: translate(-50%, 0);
  }

  .cert-lab__glow {
    height: min(460px, 58vh);
  }

  .cert-lab__wrap {
    padding: calc(var(--cert-arc-h) + 24px) 24px 40px;
  }
}

@media (max-width: 640px) {
  .cert-lab {
    --cert-arc-h: clamp(56px, 8vh, 72px);
    min-height: 100vh;
    padding: 0 0 8px;
  }

  .cert-lab__lamp {
    top: calc(var(--cert-arc-h) * 10 / 96 + 14px);
    width: min(260px, 78vw);
    transform: translate(-50%, 0);
  }

  .cert-lab__glow {
    height: min(360px, 48vh);
  }

  .cert-lab__wrap {
    padding: calc(var(--cert-arc-h) + 20px) 20px 32px;
  }

  .cert-lab__ring-wrap {
    margin-top: 20px;
  }
}

/* ========== CRAFT / CERT 3D RING — rides banner bottom ========== */
.wrap.craft-cards {
  width: min(100% - 24px, 1700px);
}

.craft-cards {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 36px;
  padding: 32px 0 48px;
  overflow: visible;
  background: transparent;
}

/* From Uiverse.io by musashi-13 — bigger radius (translateZ) gives real
   gaps between cards; perspective raised to match so the front card is
   only ~1.18x magnified (kept close to source ratio) to stay crisp */
@keyframes autoRun3d {
  from {
    transform: perspective(4200px) rotateY(-360deg);
  }
  to {
    transform: perspective(4200px) rotateY(0deg);
  }
}

.card-3d {
  position: relative;
  width: min(1500px, 100%);
  height: 480px;
  transform-style: preserve-3d;
  transform: perspective(4200px);
  animation: autoRun3d 26s linear infinite;
  will-change: transform;
}

.card-3d > div {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.24);
  transform-origin: center center;
  will-change: transform;
}

.card-3d > div.is-port {
  width: 300px;
  height: 422px;
}

.card-3d > div.is-land {
  width: 368px;
  height: 260px;
}

.card-3d > div img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: transparent;
  -webkit-user-drag: none;
  will-change: filter;
}

/* Ring cards are clickable — 3D-composited text will always be softer
   than a flat image, so tap/click opens a flat, sharp lightbox */
.card-3d > div {
  cursor: zoom-in;
}

.card-3d.is-frozen {
  animation-play-state: paused !important;
}

.card-3d > div:nth-child(1) {
  transform: translate(-50%, -50%) rotateY(0deg) translateZ(640px);
}

.card-3d > div:nth-child(2) {
  transform: translate(-50%, -50%) rotateY(36deg) translateZ(640px);
}

.card-3d > div:nth-child(3) {
  transform: translate(-50%, -50%) rotateY(72deg) translateZ(640px);
}

.card-3d > div:nth-child(4) {
  transform: translate(-50%, -50%) rotateY(108deg) translateZ(640px);
}

.card-3d > div:nth-child(5) {
  transform: translate(-50%, -50%) rotateY(144deg) translateZ(640px);
}

.card-3d > div:nth-child(6) {
  transform: translate(-50%, -50%) rotateY(180deg) translateZ(640px);
}

.card-3d > div:nth-child(7) {
  transform: translate(-50%, -50%) rotateY(216deg) translateZ(640px);
}

.card-3d > div:nth-child(8) {
  transform: translate(-50%, -50%) rotateY(252deg) translateZ(640px);
}

.card-3d > div:nth-child(9) {
  transform: translate(-50%, -50%) rotateY(288deg) translateZ(640px);
}

.card-3d > div:nth-child(10) {
  transform: translate(-50%, -50%) rotateY(324deg) translateZ(640px);
}

@media (max-width: 1100px) {
  @keyframes autoRun3d {
    from {
      transform: perspective(3000px) rotateY(-360deg);
    }
    to {
      transform: perspective(3000px) rotateY(0deg);
    }
  }

  .card-3d {
    width: min(1020px, 100%);
    height: 400px;
    transform: perspective(3000px);
  }

  .card-3d > div.is-port {
    width: 222px;
    height: 312px;
  }

  .card-3d > div.is-land {
    width: 272px;
    height: 192px;
  }

  .card-3d > div:nth-child(1) { transform: translate(-50%, -50%) rotateY(0deg) translateZ(460px); }
  .card-3d > div:nth-child(2) { transform: translate(-50%, -50%) rotateY(36deg) translateZ(460px); }
  .card-3d > div:nth-child(3) { transform: translate(-50%, -50%) rotateY(72deg) translateZ(460px); }
  .card-3d > div:nth-child(4) { transform: translate(-50%, -50%) rotateY(108deg) translateZ(460px); }
  .card-3d > div:nth-child(5) { transform: translate(-50%, -50%) rotateY(144deg) translateZ(460px); }
  .card-3d > div:nth-child(6) { transform: translate(-50%, -50%) rotateY(180deg) translateZ(460px); }
  .card-3d > div:nth-child(7) { transform: translate(-50%, -50%) rotateY(216deg) translateZ(460px); }
  .card-3d > div:nth-child(8) { transform: translate(-50%, -50%) rotateY(252deg) translateZ(460px); }
  .card-3d > div:nth-child(9) { transform: translate(-50%, -50%) rotateY(288deg) translateZ(460px); }
  .card-3d > div:nth-child(10) { transform: translate(-50%, -50%) rotateY(324deg) translateZ(460px); }
}

@media (max-width: 640px) {
  @keyframes autoRun3d {
    from {
      transform: perspective(1500px) rotateY(-360deg);
    }
    to {
      transform: perspective(1500px) rotateY(0deg);
    }
  }

  .craft-cards {
    margin-top: 20px;
    padding: 20px 0 36px;
  }

  .card-3d {
    width: min(420px, 100%);
    height: 260px;
    transform: perspective(1500px);
  }

  .card-3d > div.is-port {
    width: 142px;
    height: 200px;
  }

  .card-3d > div.is-land {
    width: 174px;
    height: 122px;
  }

  .card-3d > div:nth-child(1) { transform: translate(-50%, -50%) rotateY(0deg) translateZ(230px); }
  .card-3d > div:nth-child(2) { transform: translate(-50%, -50%) rotateY(36deg) translateZ(230px); }
  .card-3d > div:nth-child(3) { transform: translate(-50%, -50%) rotateY(72deg) translateZ(230px); }
  .card-3d > div:nth-child(4) { transform: translate(-50%, -50%) rotateY(108deg) translateZ(230px); }
  .card-3d > div:nth-child(5) { transform: translate(-50%, -50%) rotateY(144deg) translateZ(230px); }
  .card-3d > div:nth-child(6) { transform: translate(-50%, -50%) rotateY(180deg) translateZ(230px); }
  .card-3d > div:nth-child(7) { transform: translate(-50%, -50%) rotateY(216deg) translateZ(230px); }
  .card-3d > div:nth-child(8) { transform: translate(-50%, -50%) rotateY(252deg) translateZ(230px); }
  .card-3d > div:nth-child(9) { transform: translate(-50%, -50%) rotateY(288deg) translateZ(230px); }
  .card-3d > div:nth-child(10) { transform: translate(-50%, -50%) rotateY(324deg) translateZ(230px); }
}

/* ========== CERT LIGHTBOX — flat, non-3D view for crisp reading ========== */
body.cert-lightbox-lock {
  overflow: hidden;
}

.cert-lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(10, 14, 20, 0.72);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.cert-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.cert-lightbox__frame {
  position: relative;
  margin: 0;
  max-width: min(880px, 92vw);
  max-height: 88vh;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: scale(0.96);
  transition: transform 0.22s ease;
}

.cert-lightbox.is-open .cert-lightbox__frame {
  transform: scale(1);
}

.cert-lightbox__img {
  display: block;
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: #f4f6f8;
}

.cert-lightbox__caption {
  padding: 14px 20px;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.cert-lightbox__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 1;
  transition: background 0.2s ease;
}

.cert-lightbox__close:hover {
  background: #fff;
}

/* legacy soft-card styles kept but unused on home */
.soft-card {
  position: relative;
  width: 100%;
  min-height: 520px;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  box-shadow:
    16px 16px 40px rgba(170, 180, 190, 0.55),
    -14px -14px 36px rgba(255, 255, 255, 0.95);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.soft-card:hover {
  transform: translateY(-5px);
  box-shadow:
    18px 22px 48px rgba(150, 165, 180, 0.55),
    -12px -12px 32px rgba(255, 255, 255, 1);
}

.soft-card__bg {
  position: absolute;
  inset: 5px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding: 48px 22px 36px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 12px;
  outline: 2px solid #fff;
  overflow: hidden;
}

.soft-card__blob {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background-color: var(--accent);
  opacity: 0.85;
  filter: blur(14px);
  animation: soft-blob-bounce 5s infinite ease;
  pointer-events: none;
}

.soft-card:nth-child(2) .soft-card__blob {
  animation-delay: -1.2s;
  background-color: var(--accent-d);
}

.soft-card:nth-child(3) .soft-card__blob {
  animation-delay: -2.4s;
  background-color: #1a5a94;
}

.soft-card:nth-child(4) .soft-card__blob {
  animation-delay: -3.6s;
  background-color: var(--accent-d);
}

@keyframes soft-blob-bounce {
  0% {
    transform: translate(-100%, -100%) translate3d(0, 0, 0);
  }
  25% {
    transform: translate(-100%, -100%) translate3d(100%, 0, 0);
  }
  50% {
    transform: translate(-100%, -100%) translate3d(100%, 100%, 0);
  }
  75% {
    transform: translate(-100%, -100%) translate3d(0, 100%, 0);
  }
  100% {
    transform: translate(-100%, -100%) translate3d(0, 0, 0);
  }
}

.soft-card__icon {
  display: grid;
  place-items: center;
  align-self: center;
  width: 156px;
  height: 156px;
  margin: 0 0 36px;
  color: var(--accent-d);
  flex-shrink: 0;
}

.soft-card__icon svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
  stroke-width: 2.4;
}

.soft-card__icon svg [stroke-width] {
  stroke-width: 2.2;
}

.soft-card__title {
  margin: 0 0 14px;
  width: 100%;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-align: center;
}

.soft-card__text {
  margin: 0;
  width: 100%;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #5c6570;
  text-align: center;
}

/* ========== TRUST STRIP — bridge cert hall → product catalog ========== */
.trust-strip {
  position: relative;
  z-index: 3;
  margin-top: -28px;
  padding: 28px 0 26px;
  background:
    linear-gradient(180deg, rgba(0, 45, 88, 0.92) 0%, var(--accent-d) 38%, #001f3d 100%);
  color: #fff;
  box-shadow: 0 -18px 40px rgba(0, 0, 0, 0.18);
}

.trust-strip__inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 24px;
  align-items: center;
}

.trust-strip__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  padding: 4px 8px;
  position: relative;
}

.trust-strip__item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -12px;
  top: 18%;
  bottom: 18%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.28), transparent);
}

.trust-strip__num {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #fff;
}

.trust-strip__label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.04em;
}

@media (max-width: 900px) {
  .trust-strip {
    margin-top: -20px;
    padding: 22px 0 20px;
  }

  .trust-strip__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
  }

  .trust-strip__item:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .trust-strip {
    margin-top: -14px;
    padding: 18px 0 16px;
  }

  .trust-strip__num {
    font-size: 22px;
  }

  .trust-strip__label {
    font-size: 12px;
  }
}

/* ========== PRODUCT SERIES — focus carousel ========== */
.product-series {
  position: relative;
  z-index: 2;
  padding: var(--section-pad-y) 0 var(--section-pad-bottom);
  background: #e9ecef;
  overflow: hidden;
  box-sizing: border-box;
  isolation: isolate;
}

.product-series::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    url("../assets/solution-metal.jpg") center center / cover no-repeat;
  filter: blur(6px) saturate(0.72) brightness(0.92);
  opacity: 0.62;
  transform: scale(1.04);
  z-index: 0;
  pointer-events: none;
}

.product-series::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(244, 247, 250, 0.82) 0%,
      rgba(244, 247, 250, 0.48) 140px,
      rgba(244, 247, 250, 0.52) calc(100% - 100px),
      rgba(255, 255, 255, 0.88) 100%);
  z-index: 1;
  pointer-events: none;
}

.series-ruler {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  height: 22px;
  margin: 0;
  pointer-events: none;
  /* short ticks every 8px; long tick every 10th (80px) — dark for contrast */
  background:
    repeating-linear-gradient(
      to right,
      rgba(26, 26, 26, 0.42) 0,
      rgba(26, 26, 26, 0.42) 1px,
      transparent 1px,
      transparent 8px
    ),
    repeating-linear-gradient(
      to right,
      rgba(26, 26, 26, 0.55) 0,
      rgba(26, 26, 26, 0.55) 1px,
      transparent 1px,
      transparent 80px
    );
  background-size: 8px 9px, 80px 20px;
  background-repeat: repeat-x;
  background-position: left top, left top;
}

.series-wrap {
  width: min(100% - 24px, 1280px);
  position: relative;
  z-index: 2;
}

.series-head {
  text-align: center;
  margin: 0 0 var(--section-title-gap);
}

.series-head h2 {
  font-size: var(--section-title-size);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 0;
}

.series-stage {
  position: relative;
  display: block;
  min-height: clamp(360px, 48vh, 540px);
  margin: 0 auto;
  width: 100%;
  padding: 0 88px;
  box-sizing: border-box;
}

.series-viewport {
  position: relative;
  width: 100%;
  max-width: 1120px;
  height: clamp(340px, 46vh, 520px);
  overflow: visible;
  margin: 0 auto;
}

.series-slide {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(56%, 560px);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-50%, 0, 0) scale(0.7);
  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.45s ease;
  z-index: 1;
  will-change: transform, opacity;
  overflow: visible;
}

.series-slide img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  margin: 0 auto;
  object-fit: contain;
  object-position: center center;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.12));
  user-select: none;
  -webkit-user-drag: none;
}

.series-slide.is-prev {
  opacity: 0.34;
  transform: translate3d(calc(-50% - min(36vw, 400px)), 0, 0) scale(0.62);
  z-index: 2;
}

.series-slide.is-next {
  opacity: 0.34;
  transform: translate3d(calc(-50% + min(36vw, 400px)), 0, 0) scale(0.62);
  z-index: 2;
}

.series-slide.is-active {
  opacity: 1;
  transform: translate3d(-50%, 0, 0) scale(1);
  z-index: 3;
  pointer-events: auto;
}

.series-nav {
  position: absolute;
  top: 50%;
  z-index: 6;
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  transition: background 0.2s ease, transform 0.2s ease;
}

.series-nav:hover {
  background: var(--accent-d);
}

.series-nav:active {
  transform: translateY(-50%) scale(0.96);
}

.series-nav--prev {
  left: 0;
}

.series-nav--next {
  right: 0;
}

.series-foot {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.85fr);
  gap: 28px 48px;
  align-items: start;
  margin-top: 0;
  padding: 8px 0 0;
}

.series-model {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", "Songti SC", "SimSun", serif;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--accent);
}

.series-headline {
  margin: 0;
  max-width: 36em;
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.series-aside {
  padding-top: 6px;
}

.series-intro {
  margin: 0 0 16px;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--muted);
}

.series-cats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.series-cat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid #1a1a1a;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.series-cat:hover,
.series-cat.is-active {
  background: rgb(0, 155, 234);
  border-color: rgb(0, 155, 234);
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .series-slide {
    transition: none;
  }
}

/* ========== CORE PRODUCTS (full-bleed, fixed wave, overlay slides) ========== */
.core-products {
  background: var(--white);
  padding: var(--section-pad-y) 0 var(--section-pad-bottom);
  overflow: visible;
}

.core-products__title {
  text-align: center;
  font-size: var(--section-title-size);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 0 0 var(--section-title-gap);
}

.core-products .btn-accent {
  background: rgb(0, 155, 234);
}

.core-products .btn-accent:hover {
  background: rgb(0, 138, 212);
}

.core-products__stage {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  min-height: clamp(500px, 58vh, 640px);
  padding-bottom: 44px;
  overflow: visible;
  box-sizing: border-box;
}

/* Ribbon flush left — underside follows the wave, never a flat floor slab */
.core-products__brand {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: min(64vw, 920px);
  height: clamp(460px, 54vw, 600px);
  z-index: 2;
  pointer-events: none;
  overflow: visible;
}

.core-products__wave {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(22px 28px 32px rgba(0, 0, 0, 0.4))
    drop-shadow(10px 14px 12px rgba(0, 0, 0, 0.22));
}

.core-products__wave path {
  fill: url(#core-wave-fade);
}

.core-products__viewport {
  position: relative;
  z-index: 3;
  overflow: hidden;
  min-height: inherit;
}

.core-products__track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.core-slide {
  flex: 0 0 100%;
  min-width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  padding: 40px max(24px, calc((100vw - var(--max)) / 2)) 48px;
  min-height: inherit;
}

.core-slide__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(24px, 3.5vw, 56px);
  align-items: center;
  width: min(100%, var(--max));
  margin-left: auto;
  margin-right: auto;
}

.core-slide__product {
  display: block;
  position: relative;
  z-index: 2;
  width: min(100%, 500px);
  max-height: clamp(300px, 42vh, 460px);
  margin: 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 22px 40px rgba(15, 23, 42, 0.18));
  transform: translateX(4%);
}

.core-slide__copy {
  position: relative;
  z-index: 2;
  max-width: 560px;
  justify-self: end;
}

.core-slide__copy h3 {
  margin: 0 0 14px;
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.18;
  color: var(--ink);
}

.core-slide__copy p {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
  max-width: none;
}

.core-slide__copy .btn {
  min-width: 132px;
}

.core-products__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin: 0;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  z-index: 3;
}

.core-products__dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid rgba(15, 23, 42, 0.18);
  padding: 0;
  background: #d8dee6;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
  cursor: pointer;
  transition: background 0.35s ease, border-color 0.35s ease, transform 0.35s ease,
    box-shadow 0.35s ease, width 0.35s ease;
}

.core-products__dot:hover {
  background: #b8c2ce;
  border-color: rgba(0, 65, 125, 0.35);
  transform: scale(1.12);
}

.core-products__dot.is-active {
  width: 40px;
  border-radius: 999px;
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 2px 8px rgba(0, 65, 125, 0.35);
  transform: none;
}

@media (max-width: 960px) {
  .core-products__brand {
    left: 0;
    top: 44%;
    bottom: auto;
    width: min(90vw, 580px);
    height: clamp(300px, 68vw, 400px);
    transform: translateY(-50%);
    opacity: 0.95;
  }

  .core-slide__inner {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }

  .core-slide__product {
    transform: none;
    max-height: 280px;
  }

  .core-slide__copy {
    justify-self: center;
    max-width: 560px;
  }
}

@media (max-width: 640px) {
  .core-products {
    padding: var(--section-pad-y) 0 var(--section-pad-bottom);
  }

  .core-products__stage {
    min-height: 520px;
  }

  .core-slide {
    padding: 16px 20px 28px;
  }

  .core-slide__copy h3 {
    font-size: 24px;
  }
}

/* ========== SOLUTIONS CAROUSEL ========== */
.feature-carousel {
  position: relative;
  min-height: clamp(760px, 88vh, 920px);
  overflow: visible;
  background: #111;
  margin-top: 0;
}

.feature-carousel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 180px;
  background: linear-gradient(180deg,
    #ffffff 0%,
    rgba(255, 255, 255, 0.72) 40%,
    rgba(255, 255, 255, 0) 100%);
  z-index: 3;
  pointer-events: none;
}

.feature-track {
  position: absolute;
  inset: 0;
}

.feature-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.feature-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.feature-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.05) sepia(0.14);
}

.feature-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 12, 8, 0.42) 0%, rgba(20, 12, 8, 0.16) 42%, transparent 68%),
    linear-gradient(180deg, transparent 52%, rgba(0, 0, 0, 0.38));
}

.feature-panel-wrap {
  position: absolute;
  top: clamp(152px, 15.5vh, 192px);
  left: max(0px, calc((100vw - var(--max)) / 2 - 112px));
  right: auto;
  bottom: auto;
  width: auto;
  margin: 0;
  padding: 0;
  z-index: 4;
  pointer-events: none;
  box-sizing: border-box;
}

.feature-panel {
  --panel-cut: 72px;
  --panel-radius: 16px;
  pointer-events: auto;
  width: min(100%, 540px);
  margin: 0;
  padding: 38px 36px 42px;
  background: rgba(255, 255, 255, 0.54);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.12);
  clip-path: polygon(
    var(--panel-radius) 0,
    calc(100% - var(--panel-radius)) 0,
    100% var(--panel-radius),
    100% calc(100% - var(--panel-cut)),
    calc(100% - var(--panel-cut)) 100%,
    var(--panel-radius) 100%,
    0 calc(100% - var(--panel-radius)),
    0 var(--panel-radius)
  );
}

.panel-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c8102e;
  margin-bottom: 10px;
}

.feature-panel h2 {
  font-size: clamp(26px, 2.9vw, 32px);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 14px;
}

.feature-panel p {
  color: #2f3640;
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 22px;
}

.feature-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 52px;
  height: 100px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #fff;
  background: rgba(0, 0, 0, 0.42);
  border: 0;
  border-radius: 14px;
  box-shadow: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.feature-nav svg {
  width: 26px;
  height: 26px;
}

.feature-nav svg path {
  stroke-width: 2;
}

.feature-nav:hover {
  background: rgba(0, 0, 0, 0.58);
  transform: translateY(-50%) scale(1.03);
}

.feature-nav.prev {
  left: 20px;
}

.feature-nav.next {
  right: 20px;
}

.feature-thumbs {
  position: absolute;
  left: 50%;
  bottom: -28px;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 14px;
  justify-content: center;
  width: auto;
  max-width: calc(100% - 48px);
}

.thumb {
  width: 160px;
  height: 100px;
  overflow: hidden;
  border-radius: 4px;
  border: 2px solid #d0d5dc;
  opacity: 0.58;
  transition: opacity 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
  padding: 0;
  cursor: pointer;
  background: transparent;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumb.is-active,
.thumb:hover {
  opacity: 1;
}

.thumb.is-active {
  border-color: #f0f2f5;
}

/* ========== BANDS + CARDS ========== */
.band {
  padding: var(--section-pad-y) 0 var(--section-pad-bottom);
  background: var(--white);
}

.band-gray {
  background: var(--soft);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: var(--section-title-gap);
}

.section-head h2 {
  font-size: var(--section-title-size);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.section-head p {
  color: var(--muted);
  font-size: 15px;
  max-width: 480px;
}

.section-head .section-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
  max-width: none;
}

.card-carousel {
  position: relative;
  overflow: hidden;
}

.carousel-nav {
  position: absolute;
  top: 34%;
  z-index: 3;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: var(--shadow);
  color: var(--ink);
  transition: background 0.2s ease;
}

.carousel-nav:hover {
  background: #fff;
}

.carousel-nav.prev {
  left: 0;
}

.carousel-nav.next {
  right: 0;
}

.card-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 40px) / 3);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 2px 0 4px;
}

.card-track::-webkit-scrollbar {
  display: none;
}

.info-card {
  scroll-snap-align: start;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.info-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.info-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e8e8e8;
}

.info-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.info-card:hover .info-media img {
  transform: scale(1.035);
}

.info-media.product-shot {
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #f7f7f7, #ececec);
  padding: 24px;
}

.info-media.product-shot img {
  width: auto;
  max-width: 70%;
  height: 78%;
  object-fit: contain;
}

.info-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.info-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.35;
  margin-bottom: 10px;
}

.info-body p {
  color: var(--muted);
  font-size: 14px;
  flex: 1;
}

.meta {
  display: flex;
  gap: 14px;
  margin-top: 16px;
  font-size: 12px;
  color: var(--faint);
}

.text-card {
  border-top: 3px solid var(--accent);
}

.text-card .info-body {
  padding-top: 28px;
  min-height: 320px;
}

.card-kicker {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cfcfcf;
  transition: background 0.2s ease, transform 0.2s ease;
}

.dots button.is-active {
  background: var(--accent);
  transform: scale(1.15);
}

/* ========== NEWS ========== */
.news-band {
  position: relative;
  z-index: 1;
  background: #e8e8e8;
  padding: calc(var(--section-pad-y) + 88px) 0 64px;
  overflow: visible;
  clip-path: polygon(0 0, 100% 56px, 100% 100%, 0 100%);
  margin-top: -56px;
}

.news-wrap,
.news-carousel-bleed {
  width: min(100% - 48px, 1480px);
  margin-inline: auto;
}

.news-band .section-head {
  margin-bottom: var(--section-title-gap);
}

.news-board {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 22px;
  align-items: stretch;
  margin-bottom: 20px;
}

.news-feature {
  min-width: 0;
}

.news-feature-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
  background: #fff;
  border: 1px solid #d5dbe3;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.05), 0 16px 22px -14px rgba(15, 23, 42, 0.2);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.news-feature-link:hover {
  border-color: rgba(0, 65, 125, 0.18);
  box-shadow: 0 6px 12px rgba(15, 23, 42, 0.06), 0 18px 26px -14px rgba(15, 23, 42, 0.24);
  transform: translateY(-2px);
}

.news-feature-media {
  position: relative;
  aspect-ratio: 16 / 9;
  flex: 0 0 auto;
  overflow: hidden;
  background: #d8dee6;
}

.news-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.news-feature-link:hover .news-feature-media img {
  transform: scale(1.04);
}

.news-feature-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 22px 20px;
}

.news-feature-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.news-feature-meta time {
  font-size: 12px;
  color: var(--faint);
}

.news-feature-body h3 {
  font-size: clamp(20px, 1.7vw, 24px);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 8px;
  transition: color 0.2s ease;
}

.news-feature-link:hover .news-feature-body h3 {
  color: var(--accent);
}

.news-feature-body p {
  color: #4a5562;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-list {
  display: grid;
  grid-template-rows: repeat(4, minmax(0, 1fr));
  gap: 14px;
  min-width: 0;
  align-self: stretch;
}

.news-list-item {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  background: #fff;
  border: 1px solid #d5dbe3;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(15, 23, 42, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.news-list-item:hover {
  border-color: rgba(0, 65, 125, 0.18);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.news-list-thumb {
  width: 120px;
  height: 100%;
  min-height: 0;
  border-radius: 0;
  overflow: hidden;
  background: #d8dee6;
  align-self: stretch;
}

.news-list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.news-list-item:hover .news-list-thumb img {
  transform: scale(1.05);
}

.news-list-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px 16px;
}

.news-list-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-bottom: 6px;
}

.news-list-meta time {
  font-size: 12px;
  color: var(--faint);
}

.news-list-copy h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.news-list-item:hover .news-list-copy h3 {
  color: var(--accent);
}

.news-list-copy p {
  margin: 0;
  color: #617181;
  font-size: 13px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-carousel {
  overflow: visible;
  padding-top: 0;
}

.card-scroll {
  overflow-x: auto;
  overflow-y: clip;
  scrollbar-width: none;
}

.card-scroll::-webkit-scrollbar {
  display: none;
}

.news-carousel .card-track {
  overflow: visible;
}

.news-track {
  grid-auto-columns: calc((100% - 56px) / 3);
  gap: 28px;
  padding: 36px 6px 20px;
  scroll-snap-type: x mandatory;
}

.news-float-card {
  scroll-snap-align: start;
  min-width: 0;
  padding: 0 4px 12px;
  box-sizing: border-box;
}

.news-float-link {
  display: block;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

.news-float-shell {
  position: relative;
  z-index: 0;
  background: #fff;
  border-radius: 10px;
  padding: 0;
  border: 1px solid #d5dbe3;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.05), 0 16px 22px -14px rgba(15, 23, 42, 0.2);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  height: 100%;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  overflow: visible;
}

.news-float-shell::after {
  content: none;
}

.news-float-card:hover .news-float-shell {
  border-color: rgba(0, 65, 125, 0.18);
  box-shadow: 0 6px 12px rgba(15, 23, 42, 0.06), 0 18px 26px -14px rgba(15, 23, 42, 0.24);
  transform: translateY(-2px);
}

.news-float-card:hover .news-float-shell::after {
  content: none;
}

.news-float-media {
  position: relative;
  z-index: 2;
  margin: -32px 16px 18px;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background: #d8dee6;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.14);
}

.news-float-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.news-float-card:hover .news-float-media img {
  transform: scale(1.04);
}

.news-float-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  padding: 0 22px;
}

.news-float-body h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.35;
  margin-bottom: 12px;
  transition: color 0.2s ease;
}

.news-float-card:hover .news-float-body h3 {
  color: var(--accent);
}

.news-float-body p {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 18px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-float-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: auto -22px 0;
  padding: 14px 22px;
  background: #f2f2f2;
  border-top: 1px solid #e6e6e6;
  border-radius: 0 0 9px 9px;
}

.news-float-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  min-width: 0;
}

.news-float-meta time {
  font-size: 12px;
  color: var(--faint);
  white-space: nowrap;
}

.news-chip {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e8f1f8;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

.news-nav {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 0;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(0, 65, 125, 0.2);
  transition: background 0.2s ease, transform 0.2s ease;
}

.news-nav:hover {
  background: var(--accent-d);
  transform: scale(1.05);
}

.news-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.news-dots button {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: #c5ced8;
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.news-dots button.is-active {
  width: 22px;
  background: var(--accent);
}

/* ========== INSIGHTS ========== */
.insights-band {
  position: relative;
  z-index: 1;
  background: #ffffff;
  padding: calc(var(--section-pad-y) + 56px) 0 var(--section-pad-bottom);
  overflow: visible;
  clip-path: polygon(0 56px, 100% 0, 100% 100%, 0 100%);
  margin-top: -56px;
}

.insights-wrap {
  width: min(100% - 48px, 1480px);
  margin-inline: auto;
}

.insights-carousel-bleed {
  width: min(100% - 48px, 1480px);
  margin-inline: auto;
}

.insights-band .section-head {
  margin-bottom: var(--section-title-gap);
}

/* 轨道铺满视口：左侧与标题对齐，右侧贴边露出下一张 */
.insights-carousel {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: visible;
}

.insights-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((min(var(--insights-max), 100vw - 48px) - 3 * var(--insights-gap)) / 3.85);
  gap: var(--insights-gap);
  padding: 2px 20px 8px var(--insights-pad);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--insights-pad);
  scrollbar-width: none;
}

.insights-track::-webkit-scrollbar {
  display: none;
}

.insight-card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #d5dbe3;
  border-radius: 10px;
  overflow: visible;
  color: inherit;
  text-decoration: none;
  min-height: 500px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.insight-card:hover {
  border-color: rgba(0, 65, 125, 0.18);
  transform: translateY(-2px);
}

.insight-card-media {
  position: relative;
  z-index: 2;
  margin: -32px 16px 18px;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background: #d8dee6;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.14);
  flex: 0 0 auto;
}

.insight-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.insight-card:hover .insight-card-media img {
  transform: scale(1.04);
}

.insight-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  padding: 0 22px 22px;
}

.insight-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--accent);
  background: #e8f1f8;
  border-radius: 999px;
  padding: 5px 10px;
  margin-bottom: 14px;
  white-space: nowrap;
  align-self: flex-start;
}

.insight-card-body h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.35;
  margin-bottom: 12px;
  transition: color 0.2s ease;
}

.insight-card:hover .insight-card-body h3 {
  color: var(--accent);
}

.insight-card-body p {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 18px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.insight-arrow {
  display: none;
}

.insights-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

.insights-nav {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(0, 65, 125, 0.2);
  transition: background 0.2s ease, transform 0.2s ease;
}

.insights-nav:hover {
  background: var(--accent-d);
  transform: scale(1.05);
}

.insights-nav svg {
  width: 12px;
  height: 12px;
}

/* ========== CLIENTS ========== */
.clients-band {
  background: #f4f7fa;
  padding: var(--section-pad-y) 0 var(--section-pad-bottom);
  border-top: 1px solid #e8edf2;
}

.clients-wall {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.clients-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 14px 12px;
  background: #fff;
  border: 1px solid #e2e8ee;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #6b7a88;
  letter-spacing: 0.02em;
  text-align: center;
  transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.clients-logo:hover {
  border-color: rgba(0, 65, 125, 0.28);
  color: var(--accent);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

/* ========== CONSULT ========== */
.consult {
  position: relative;
  z-index: 1;
  background: #eef1f4;
  padding: calc(var(--section-pad-y) + 56px) 0 var(--section-pad-bottom);
  clip-path: polygon(0 0, 100% 56px, 100% 100%, 0 100%);
  margin-top: -56px;
}

.consult-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c6d3df;
  margin-bottom: 12px;
}

.consult-content {
  width: min(100% - 12px, 1700px);
  max-width: 1700px;
  margin-inline: auto;
}

.consult-card {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  background: #fff;
  border: 1px solid #d8e0e8;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 34px 72px rgba(15, 23, 42, 0.22);
  min-height: 700px;
}

.consult-visual {
  position: relative;
  min-height: 700px;
}

.consult-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  display: block;
}

.consult-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 65, 125, 0.76) 0%, rgba(0, 65, 125, 0.86) 100%);
}

.consult-visual-copy {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 44px 40px 40px;
  text-align: left;
  color: #fff;
}

.consult-visual-copy h2 {
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 14px;
}

.consult-lead {
  color: rgba(255, 255, 255, 0.82);
  max-width: 430px;
  font-size: 15px;
  line-height: 1.8;
}

.consult-contact-list {
  display: grid;
  gap: 16px;
  margin-top: 28px;
  max-width: 430px;
}

.consult-contact-item {
  padding-left: 16px;
  border-left: 2px solid rgba(255, 255, 255, 0.28);
}

.consult-contact-item strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.consult-contact-item span {
  display: block;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.7;
}

.consult-panel {
  padding: 56px 42px 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff;
}

.consult-panel--ai {
  position: relative;
  background:
    linear-gradient(180deg, rgba(0, 65, 125, 0.03) 0%, transparent 42%),
    repeating-linear-gradient(
      90deg,
      rgba(0, 65, 125, 0.04) 0,
      rgba(0, 65, 125, 0.04) 1px,
      transparent 1px,
      transparent 28px
    ),
    #fff;
}

.consult-ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 6px 12px 6px 10px;
  border-radius: 999px;
  background: rgba(0, 65, 125, 0.08);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.consult-ai-hint {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  color: #7a8a98;
}

.consult-form--simple {
  grid-template-columns: 1fr;
}

.consult-form--simple-btn {
  grid-column: 1 / -1;
  width: 100%;
}

.consult-highlights {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  max-width: 430px;
}

.consult-highlights li {
  padding-left: 14px;
  border-left: 2px solid rgba(255, 255, 255, 0.28);
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}

.consult-panel-head {
  margin-bottom: 18px;
  text-align: left;
}

.consult-panel-head h3 {
  font-size: 30px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}

.consult-panel-head p {
  color: #617181;
  font-size: 14px;
  line-height: 1.7;
}

.consult-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}

.consult-field {
  display: grid;
  gap: 8px;
  text-align: left;
}

.consult-field > span {
  font-size: 12px;
  font-weight: 700;
  color: #344454;
}

.consult-field--full {
  grid-column: 1 / -1;
}

.consult-form input,
.consult-form select,
.consult-form textarea {
  height: 56px;
  border: 1px solid #d8e0e8;
  background: #f7f9fb;
  color: var(--ink);
  padding: 0 16px;
  border-radius: 8px;
  font: inherit;
}

.consult-form textarea {
  min-height: 156px;
  resize: vertical;
  padding: 16px;
}

.consult-form input::placeholder,
.consult-form textarea::placeholder {
  color: #97a4b1;
}

.consult-form input:focus,
.consult-form select:focus,
.consult-form textarea:focus {
  outline: none;
  border-color: rgba(0, 65, 125, 0.32);
  background: #fff;
}

.consult-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  color: #708090;
  font-size: 12px;
  line-height: 1.6;
}

.consult-check input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  padding: 0;
}

.consult-form .btn {
  grid-column: 1 / -1;
  min-width: 140px;
  margin-top: 4px;
  min-height: 56px;
}

/* ========== SUPPORT ========== */
.support {
  background: var(--dark);
  padding: var(--section-pad-y) 0 var(--section-pad-bottom);
}

.support-head {
  margin-bottom: 28px;
}

.support-head h2 {
  color: #fff;
}

.support-head p {
  color: rgba(255, 255, 255, 0.65);
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.support-card {
  background: #26221f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 28px 22px 26px;
  min-height: 210px;
  box-shadow: 0 18px 28px rgba(0, 0, 0, 0.22);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.support-card:hover {
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 24px 36px rgba(0, 0, 0, 0.28);
  transform: translateY(-4px);
}

.support-icon {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  color: #f2f2f2;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.support-icon svg {
  width: 28px;
  height: 28px;
}

.support-icon svg * {
  transition: fill 0.2s ease, stroke 0.2s ease;
}

.support-card:hover .support-icon {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.support-card:hover .support-icon svg * {
  fill: none;
  stroke: currentColor;
}

.support-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.support-card p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--dark-2);
  color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 28px;
  padding: 56px 0 42px;
}

.footer-brand p {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.7;
  max-width: 260px;
}

.site-footer .brand {
  font-size: 30px;
}

.site-footer h4 {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.site-footer a {
  display: block;
  font-size: 14px;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.66);
}

.site-footer a:hover {
  color: #fff;
}

.social-row {
  display: flex;
  gap: 10px;
}

.social-row a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: grid;
  place-items: center;
  margin: 0;
  font-size: 12px;
  font-weight: 700;
}

.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-legal-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px 24px;
  flex-wrap: wrap;
  padding: 16px 0;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.48);
}

.footer-legal-copy,
.footer-legal-addr {
  margin: 0;
  white-space: nowrap;
}

.footer-legal-sep {
  margin: 0 8px;
  opacity: 0.45;
}

.footer-legal a {
  display: inline;
  margin: 0;
  font-size: inherit;
  line-height: inherit;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
}

.footer-legal a:hover {
  color: #fff;
  text-decoration: underline;
}

.partner-strip {
  background: #f7f7f7;
  border-top: 1px solid #ececec;
}

.partner-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 64px;
  color: #9a9a9a;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.partner-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
}

.partner-logos em {
  font-style: normal;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #b0b0b0;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 980px) {
  .main-nav {
    display: none;
  }

  .header-text-link {
    display: none;
  }

  .header-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .util-left {
    display: none;
  }

  .site-chrome {
    position: absolute;
  }

  .wrap.hero-row {
    min-height: 100%;
    padding: 0;
  }

  .hero-copy {
    left: 40px;
    top: 50%;
    transform: translateY(-42%);
    width: min(520px, calc(100% - 64px));
    max-width: none;
  }

  .hero-media {
    height: 100%;
  }

  .craft-cards {
    margin-top: 24px;
    padding-inline: 16px;
  }

  .series-foot {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .series-stage {
    padding: 0 56px;
    min-height: 300px;
  }

  .series-nav--prev {
    left: 0;
  }

  .series-nav--next {
    right: 0;
  }

  .product-series {
    padding: var(--section-pad-y) 0 var(--section-pad-bottom);
  }

  .support-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .clients-wall {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .news-carousel-bleed {
    width: min(100% - 32px, 1480px);
  }

  .news-board {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .news-feature-media {
    flex: 0 0 auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .news-feature-body {
    padding: 14px 16px 16px;
  }

  .news-feature-body h3 {
    font-size: 18px;
  }

  .news-list {
    display: grid;
    grid-template-rows: none;
    gap: 12px;
  }

  .news-list-item {
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 0;
    min-height: 0;
    padding: 0;
  }

  .news-list-thumb {
    width: 100px;
    height: 100%;
  }

  .news-list-copy {
    padding: 10px 12px;
  }

  .news-track {
    grid-auto-columns: calc((100% - 24px) / 2);
    gap: 24px;
  }

  .insights-wrap {
    width: min(100% - 32px, 1480px);
  }

  .insights-band {
    --insights-pad: max(16px, calc((100vw - var(--insights-max)) / 2));
  }

  .insights-track {
    grid-auto-columns: calc((min(var(--insights-max), 100vw - 32px) - 2 * var(--insights-gap)) / 2.6);
  }

  .insights-controls {
    gap: 12px;
  }

  .card-track {
    grid-auto-columns: calc((100% - 20px) / 2);
  }

  .feature-nav {
    display: none;
  }

  .consult {
    padding: var(--section-pad-y) 0 var(--section-pad-bottom);
  }

  .consult-form {
    grid-template-columns: 1fr;
  }

  .consult-form .btn {
    width: 100%;
  }

  .consult-card {
    grid-template-columns: 1fr;
  }

  .consult-visual {
    min-height: 420px;
  }

  .consult-panel {
    padding: 30px 24px 24px;
  }
}

@media (max-width: 640px) {
  :root {
    --section-pad-y: 40px;
    --section-pad-bottom: 36px;
    --section-title-size: 26px;
    --section-title-gap: 18px;
  }

  .hero-media {
    height: 100%;
  }

  .hero-media img,
  .hero-slide img {
    object-position: 52% 42%;
  }

  .craft-cards {
    margin-top: 16px;
  }

  .series-stage {
    padding: 0 44px;
    min-height: 320px;
  }

  .series-viewport {
    height: 320px;
  }

  .series-slide.is-prev {
    opacity: 0.3;
    transform: translate3d(calc(-50% - 32vw), 0, 0) scale(0.58);
  }

  .series-slide.is-next {
    opacity: 0.3;
    transform: translate3d(calc(-50% + 32vw), 0, 0) scale(0.58);
  }

  .series-headline {
    font-size: 17px;
  }

  .series-nav {
    width: 42px;
    height: 42px;
  }

  .product-series {
    padding: var(--section-pad-y) 0 var(--section-pad-bottom);
  }

  .hero-copy {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 100%;
    max-width: none;
    padding: 120px 20px 88px;
  }

  .hero-copy h1 {
    font-size: 28px;
  }

  .support-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .clients-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-track {
    grid-auto-columns: 88%;
    padding-top: 36px;
    gap: 18px;
  }

  .news-float-shell {
    min-height: 460px;
  }

  .news-float-media {
    margin: -28px 14px 16px;
  }

  .news-band {
    padding: var(--section-pad-y) 0 var(--section-pad-bottom);
  }

  .news-carousel-bleed,
  .news-wrap {
    width: min(100% - 32px, 1480px);
  }

  .news-list-item {
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 0;
    padding: 0;
    min-height: 0;
  }

  .news-list-thumb {
    width: 100px;
    height: 100%;
  }

  .news-list-copy {
    padding: 10px 12px;
  }

  .news-list-copy p {
    -webkit-line-clamp: 1;
  }

  .insights-wrap {
    width: min(100% - 32px, 1480px);
  }

  .insights-track {
    grid-auto-columns: min(320px, 82vw);
    padding-right: 16px;
  }

  .insights-controls {
    gap: 12px;
  }

  .insight-card {
    min-height: 480px;
  }

  .insight-card-media {
    margin: -24px 14px 16px;
  }

  .consult {
    padding: var(--section-pad-y) 0 var(--section-pad-bottom);
  }

  .consult-panel {
    padding: 24px 18px 20px;
  }

  .consult-visual {
    min-height: 360px;
  }

  .consult-visual-copy {
    padding: 26px 20px 22px;
  }

  .card-track {
    grid-auto-columns: 88%;
  }

  .carousel-nav {
    display: none;
  }

  .section-head {
    flex-direction: column;
    align-items: start;
  }

  .feature-panel-wrap {
    top: 108px;
    left: max(0px, calc((100vw - var(--max)) / 2 - 72px));
  }

  .feature-panel {
    --panel-cut: 52px;
    --panel-radius: 12px;
    width: min(100%, 400px);
    padding: 28px 24px 32px;
  }

  .feature-thumbs {
    bottom: -18px;
  }

  .feature-thumbs .thumb {
    width: 120px;
    height: 76px;
  }

  .feature-nav {
    width: 48px;
    height: 80px;
  }

  .partner-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 0;
  }
}

/* ========== SCROLL REVEAL ========== */
.reveal {
  opacity: 0;
  transform: translate3d(0, 40px, 0);
  transition:
    opacity 1.25s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.25s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.soft-card.reveal.is-in:hover {
  transform: translateY(-5px);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

