/* IMAGINARIUM — components.css */

/* ============ HEADER ============ */
.im-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 14px clamp(12px, 2vw, 22px) 0;
  pointer-events: none;
  color: var(--white);
}
.im-pill {
  pointer-events: auto;
  position: relative; z-index: 2; /* megas drop over the cert sub-pill */
  display: flex; align-items: center; gap: 4px;
  min-height: 60px;
  padding: 7px 8px 7px 18px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.02) 40%, rgba(255,255,255,0) 60%, rgba(255,255,255,.06)),
    rgba(16,16,20,.14);
  -webkit-backdrop-filter: blur(34px) saturate(1.9);
  backdrop-filter: blur(34px) saturate(1.9);
  border: 1px solid rgba(255,255,255,.22);
  box-shadow:
    0 12px 36px rgba(11,11,12,.18),
    inset 0 1px 0 rgba(255,255,255,.22),
    inset 0 -1px 0 rgba(255,255,255,.06);
  transition: background .35s ease, box-shadow .35s ease;
}
.im-header.scrolled .im-pill, .im-header.menu-open .im-pill,
.im-header.drawer-open .im-pill,
.im-pill:hover,
.im-header:has(.im-subpill:hover) .im-pill {
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02) 40%, rgba(255,255,255,0) 60%, rgba(255,255,255,.05)),
    rgba(10,10,14,.40);
  box-shadow:
    0 16px 44px rgba(11,11,12,.28),
    inset 0 1px 0 rgba(255,255,255,.2),
    inset 0 -1px 0 rgba(255,255,255,.05);
}
.pill-div { width: 1px; height: 22px; background: rgba(255,255,255,.18); margin: 0 12px 0 14px; flex-shrink: 0; }

/* certification sub-pill — hangs under the main capsule; each mark downloads its PDF */
.im-subpill {
  pointer-events: auto;
  display: flex; align-items: center; gap: 26px;
  min-height: 38px; padding: 6px 22px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.02) 40%, rgba(255,255,255,0) 60%, rgba(255,255,255,.06)),
    rgba(16,16,20,.14);
  -webkit-backdrop-filter: blur(34px) saturate(1.9);
  backdrop-filter: blur(34px) saturate(1.9);
  border: 1px solid rgba(255,255,255,.22);
  box-shadow:
    0 10px 28px rgba(11,11,12,.16),
    inset 0 1px 0 rgba(255,255,255,.22),
    inset 0 -1px 0 rgba(255,255,255,.06);
  transition: background .35s ease, box-shadow .35s ease;
}
.im-header.scrolled .im-subpill,
.im-subpill:hover,
.im-header:has(.im-pill:hover) .im-subpill {
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02) 40%, rgba(255,255,255,0) 60%, rgba(255,255,255,.05)),
    rgba(10,10,14,.40);
  box-shadow:
    0 12px 32px rgba(11,11,12,.26),
    inset 0 1px 0 rgba(255,255,255,.2),
    inset 0 -1px 0 rgba(255,255,255,.05);
}
.im-header.scrolled .im-subpill .cert-dl img { opacity: 1; }
.im-subpill .cert-dl { display: flex; align-items: center; min-height: 32px; padding: 2px 0; }
.im-subpill .cert-dl img {
  height: 25px; width: auto; display: block;
  opacity: .85;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.35));
  transition: opacity .25s ease, transform .25s ease;
}
.im-subpill .cert-dl:hover img, .im-subpill .cert-dl:focus-visible img { opacity: 1; transform: translateY(-2px); }
.im-subpill .cert-dl img[src*="iso13485"] { height: 35px; }
.im-subpill .cert-dl img[src*="iso9001"] { height: 30px; }

.im-logo {
  display: flex; align-items: center; text-decoration: none; flex-shrink: 0;
  padding: 5px 9px; margin: -5px -9px; border-radius: 999px;
  transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}
.im-logo > [data-brain] { transition: transform .25s ease; }
.im-logo:hover {
  background: rgba(255,255,255,.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
}
/* hover: springy wobble + the wireframe hemisphere quickly redraws itself.
   The mark grows via width (re-rendered sharp each frame), NOT transform
   scale — scaling a composited layer stretches its raster and blurs it. */
.im-logo .brain-mark { width: 40px !important; transition: width .3s cubic-bezier(.2, .7, .2, 1); }
.im-logo:hover .brain-mark, .im-logo:focus-visible .brain-mark { width: 46px !important; }
.im-logo:hover > [data-brain], .im-logo:focus-visible > [data-brain] {
  animation: brain-wobble .55s cubic-bezier(.2, .7, .2, 1);
}
.im-logo:hover .brain-wire line, .im-logo:focus-visible .brain-wire line {
  stroke-dasharray: 170;
  animation: brain-redraw .7s ease-out forwards;
}
.im-logo:hover .brain-fill-img, .im-logo:focus-visible .brain-fill-img {
  animation: brain-pop .55s cubic-bezier(.2, .7, .2, 1);
}
@keyframes brain-wobble {
  0% { transform: none; }
  35% { transform: rotate(-5deg); }
  70% { transform: rotate(3deg); }
  100% { transform: none; }
}
@keyframes brain-redraw {
  from { stroke-dashoffset: 170; }
  to { stroke-dashoffset: 0; }
}
@keyframes brain-pop {
  0% { transform: none; }
  40% { transform: translateX(6%) rotate(4deg); }
  100% { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .im-logo .brain-mark { transition: none; }
  .im-logo:hover > [data-brain], .im-logo:focus-visible > [data-brain] { animation: none; }
  .im-logo:hover .brain-wire line, .im-logo:focus-visible .brain-wire line { animation: none; stroke-dasharray: none; }
  .im-logo:hover .brain-fill-img, .im-logo:focus-visible .brain-fill-img { animation: none; }
}
.im-logo:active { transform: scale(.96); }

.im-nav { display: flex; align-items: center; gap: 2px; }
.im-nav > .nav-item { position: relative; }
.im-nav .nav-link {
  display: flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.15em; text-transform: uppercase;
  text-decoration: none; padding: 0 14px; min-height: 44px;
  border-radius: 999px;
  transition: background .2s ease, color .2s ease;
}
.im-nav .nav-link:hover, .im-nav .nav-item.open .nav-link { background: rgba(255,255,255,.1); }
/* live page: deep blue, bold, slightly larger */
.im-nav .nav-link[aria-current="page"] {
  color: var(--blue-deep);
  font-weight: 700;
  font-size: 13.5px;
}
.im-nav .caret { font-size: 9px; transition: transform .25s; }
.im-nav .nav-item.open .caret { transform: rotate(180deg); }

/* mega menu */
.mega {
  position: absolute; top: calc(100% + 16px); left: 50%; transform: translate(-50%, 8px);
  background: var(--white); color: var(--ink);
  border: 1px solid var(--hairline);
  border-radius: 22px;
  box-shadow: 0 24px 64px rgba(11,11,12,.18);
  padding: 26px; min-width: 540px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.nav-item.open .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 28px; }
.mega { max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); overflow-y: auto; }
.mega .m-name, .mega .m-tag { white-space: nowrap; }
.mega a.mega-row {
  display: flex; align-items: baseline; gap: 10px; text-decoration: none;
  padding: 10px 10px; min-height: 44px; align-items: center;
}
.mega a.mega-row:hover { background: var(--sky); }
.mega .m-name { font-family: var(--font-mono); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.mega .m-tag { font-family: var(--font-marker); font-weight: 600; font-size: 18.5px; color: var(--blue); }
.mega .mega-group {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(11,11,12,.55); padding: 14px 10px 4px; grid-column: 1 / -1;
  border-top: 1px solid var(--hairline); margin-top: 8px;
}
.mega .mega-group:first-child { border-top: 0; margin-top: 0; padding-top: 0; }
.mega .m-dl { margin-left: auto; font-family: var(--font-mono); font-size: 11px; letter-spacing: .15em; opacity: .5; white-space: nowrap; }
.mega a.mega-row:hover .m-dl { opacity: 1; color: var(--blue-deep); }

/* pill CTA + responsive trims (no burger — the pill compacts instead) */
.pill-cta { border-radius: 999px; padding: 0 22px; min-height: 46px; margin-left: 10px; }

/* pill CTA hover: ink rises, mono flips to marker */
.pill-cta { position: relative; overflow: hidden; }
.pill-cta::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--ink);
  transform: translateY(101%); transition: transform .38s cubic-bezier(.7, 0, .2, 1);
}
.pill-cta .cta-flip { position: relative; display: grid; place-items: center; }
.pill-cta .cta-flip > span {
  grid-area: 1 / 1; display: block; white-space: nowrap;
  transition: transform .38s cubic-bezier(.7, 0, .2, 1), opacity .25s ease;
}
.pill-cta .cta-b {
  font-family: var(--font-marker); font-size: 19px; font-weight: 700;
  text-transform: none; letter-spacing: 0; color: var(--blue-bright);
  transform: translateY(140%) rotate(5deg); opacity: 0;
}
.pill-cta:hover, .pill-cta:focus-visible { background: var(--blue); }
.pill-cta:hover::before, .pill-cta:focus-visible::before { transform: translateY(0); }
.pill-cta:hover .cta-a, .pill-cta:focus-visible .cta-a { transform: translateY(-140%) rotate(-3deg); opacity: 0; }
.pill-cta:hover .cta-b, .pill-cta:focus-visible .cta-b { transform: translateY(0) rotate(-2deg); opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .pill-cta::before, .pill-cta .cta-flip > span { transition: none; }
}
@media (max-width: 980px) {
  .im-nav .nav-link { padding: 0 10px; font-size: 11px; letter-spacing: .1em; }
  .pill-cta { padding: 0 16px; font-size: 11px; letter-spacing: .12em; }
  .pill-div { margin: 0 8px 0 10px; }
}
@media (max-width: 800px) {
  .im-header { padding-left: 8px; padding-right: 8px; }
  .im-pill { padding: 6px 6px 6px 12px; min-height: 54px; }
  .im-nav .nav-link { padding: 0 7px; font-size: 10.5px; letter-spacing: .06em; gap: 4px; }
  .im-nav .caret { display: none; }
  .im-subpill { gap: 18px; padding: 5px 18px; min-height: 34px; }
  .im-subpill .cert-dl img { height: 21px; }
  .im-subpill .cert-dl img[src*="iso13485"] { height: 29px; }
}
@media (max-width: 620px) { .pill-cta { display: none; } }
.mega-foot {
  margin-top: 16px; padding: 12px 10px 0; border-top: 1px solid var(--hairline);
  font-family: var(--font-marker); font-weight: 600; font-size: 19px; color: var(--blue);
}
.mega-head {
  margin-bottom: 14px; padding: 2px 10px 12px; border-bottom: 1px solid var(--hairline);
  font-family: var(--font-marker); font-weight: 600; font-size: 19px; color: var(--blue);
}
.mega-head a { color: var(--blue); text-decoration: none; }
.mega-head .mh-cta {
  position: relative; display: inline-flex; align-items: center; gap: 7px;
  margin-left: 4px; padding-bottom: 2px; color: var(--blue-deep);
}
.mega-head .mh-arrow {
  width: 22px; height: 13px; flex: 0 0 auto;
  stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .25s cubic-bezier(.2, .7, .2, 1);
}
.mega-head .mh-line {
  position: absolute; left: 0; right: 24px; bottom: -3px; width: calc(100% - 26px); height: 7px;
  overflow: visible; pointer-events: none;
}
.mega-head .mh-line path {
  stroke: var(--blue); fill: none; stroke-width: 2.6; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  transition: stroke-dashoffset .45s cubic-bezier(.2, .7, .2, 1);
}
.mega-head a:hover .mh-line path { stroke-dashoffset: 0; }
.mega-head a:hover .mh-arrow { animation: mh-nudge .7s cubic-bezier(.2, .7, .2, 1) infinite; }
.mega-head a:hover .mh-cta { color: var(--blue); }
@keyframes mh-nudge { 50% { transform: translateX(6px); } }
@media (prefers-reduced-motion: reduce) {
  .mega-head a:hover .mh-arrow { animation: none; transform: translateX(4px); }
  .mega-head .mh-line path { transition: none; }
}
.mega-foot a { color: var(--blue); text-decoration: none; }
.mega-foot a:hover { text-decoration: underline; }

/* ============ BRAIN MARK ============ */
.brain-mark { display: grid; grid-template-columns: 80fr 80fr; column-gap: 9%; align-items: center; }
.brain-mark svg { width: 100%; height: auto; display: block; }
.brain-mark .brain-fill-img { width: 100%; height: auto; display: block; user-select: none; }

/* ============ BRAIN MARK ANIMATION ============ */
/* hidden base states (JS-gated); site.js animates via WAAPI and sets finals inline */
.js .brain-anim .brain-wire line { stroke-dasharray: var(--len, 80); stroke-dashoffset: var(--len, 80); }
.js .brain-anim .brain-wire circle { opacity: 0; }
.js .brain-anim .brain-fill polygon { opacity: 0; }
.js .brain-anim .brain-fill-img { opacity: 0; }
@media (prefers-reduced-motion: reduce), print {
  .js .brain-anim .brain-wire line { stroke-dasharray: none !important; stroke-dashoffset: 0 !important; }
  .js .brain-anim .brain-wire circle, .js .brain-anim .brain-fill polygon, .js .brain-anim .brain-fill-img { opacity: 1 !important; }
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none;
  padding: 17px 26px; min-height: 48px;
  border: 1px solid transparent;
  position: relative; overflow: hidden;
  transition: background .25s, color .25s, border-color .25s, transform .15s;
  will-change: transform;
}
.btn .btn-arrow { width: 22px; height: 12px; flex-shrink: 0; }
.btn .btn-arrow path { stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 60; stroke-dashoffset: 60; transition: stroke-dashoffset .35s ease; }
.btn:hover .btn-arrow path, .btn:focus-visible .btn-arrow path { stroke-dashoffset: 0; }

.btn-ink   { background: var(--ink);  color: var(--white); }
.btn-ink:hover  { background: var(--blue); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-blue  { background: var(--blue); color: var(--ink); }
.btn-blue:hover { background: var(--blue-bright); }
.hero .hv-ctas .btn-blue:hover, .hero .hv-ctas .btn-blue:focus-visible { background: var(--ink); color: var(--white); box-shadow: inset 0 0 0 2px var(--white); }
.btn-ghost { background: transparent; border-color: currentColor; }
.btn-ghost:hover { background: var(--blue); border-color: var(--blue); color: var(--ink); }
.btn-white { background: var(--white); color: var(--ink); }
.btn-white:hover { background: var(--ink); color: var(--white); }

/* ============ EYEBROW / HEADERS ============ */
.eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: clamp(18px, 2.5vw, 30px); }
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--blue); flex-shrink: 0; }

/* duality headline: structured + marker completion */
.duo { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.15em 0.5em; }
.duo .marker { font-size: 0.62em; line-height: 1; }

/* ============ SPEC STRIP ============ */
.spec-strip {
  background: var(--black); color: var(--white);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.spec-cell { padding: clamp(24px, 3vw, 44px) clamp(20px, 2.6vw, 40px); border-left: 1px solid var(--hairline-d); }
.spec-cell:first-child { border-left: 0; }
.spec-cell .mono { color: rgba(255,255,255,.55); font-size: 11px; margin-bottom: 12px; display: block; }
.spec-cell .spec-value {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(20px, 2.2vw, 32px);
  letter-spacing: -0.01em; line-height: 1.05; text-transform: uppercase;
}
.spec-cell .spec-value .unit { font-size: 0.6em; color: rgba(255,255,255,.6); }
@media (max-width: 860px) {
  .spec-strip { grid-template-columns: 1fr 1fr; }
  .spec-cell:nth-child(odd) { border-left: 0; }
  .spec-cell { border-top: 1px solid var(--hairline-d); }
  .spec-cell:nth-child(-n+2) { border-top: 0; }
}

/* ============ PILLS ============ */
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  font-family: var(--font-mono); font-size: 13.5px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 12px 20px; border-radius: 999px;
  border: 1.5px solid var(--pill-c, var(--ink));
  color: var(--pill-c, var(--ink));
  background: transparent; white-space: nowrap;
  cursor: default;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.pill:hover {
  background: var(--pill-c, var(--ink));
  color: var(--white);
  border-color: var(--pill-c, var(--ink));
}
.pill-rust   { --pill-c: var(--pill-rust); }
.pill-blue   { --pill-c: var(--blue-deep); }
.pill-green  { --pill-c: var(--pill-green); }
.pill-violet { --pill-c: var(--pill-violet); }

/* ============ AXIS BAR ============ */
.axis-bar {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(16px, 3vw, 40px);
  padding: 26px 0; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
}
.s-ink .axis-bar, .s-black .axis-bar { border-color: var(--hairline-d); }
.axis-bar .axis-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; white-space: nowrap; }
.axis-bar .axis-claim {
  text-align: center; font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(14px, 1.6vw, 21px); letter-spacing: -0.01em;
  position: relative; padding: 0 clamp(12px, 2vw, 28px);
}
.axis-bar .axis-claim::before, .axis-bar .axis-claim::after {
  content: ""; position: absolute; top: 50%; width: clamp(8px, 1.4vw, 20px); height: 1px; background: currentColor; opacity: .4;
}
.axis-bar .axis-claim::before { left: -6px; }
.axis-bar .axis-claim::after { right: -6px; }
@media (max-width: 760px) {
  .axis-bar { grid-template-columns: 1fr; text-align: center; gap: 10px; }
  .axis-bar .axis-label:last-child { color: var(--blue); }
}

/* ============ MARQUEE ============ */
.marquee { overflow: hidden; white-space: nowrap; user-select: none; }
.marquee-track { display: inline-flex; align-items: center; gap: 0; animation: marquee-scroll var(--marquee-t, 30s) linear infinite; will-change: transform; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 0.6em; padding-right: 0.6em; }
@keyframes marquee-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ============ FLIP CARDS ============ */
.flip { perspective: 1400px; cursor: pointer; }
/* promote the card to a compositor layer just before it can animate —
   hover/focus precedes the click that flips it, so the layer is ready
   without keeping 20+ card layers alive permanently. */
.flip:hover .flip-inner, .flip:focus-within .flip-inner, .flip.flipped .flip-inner { will-change: transform; }
.flip-inner {
  position: relative; width: 100%; height: 100%;
  transform-style: preserve-3d; transition: transform .8s cubic-bezier(.3,.8,.3,1);
}
/* click-only flip: hover / focus no longer auto-flips (site.js toggles .flipped) */
.flip.flipped .flip-inner { transform: rotateY(180deg); }
.flip-face {
  position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  display: flex; flex-direction: column; padding: clamp(22px, 2.6vw, 36px); overflow: hidden;
}
.flip-front { background: var(--ink); color: var(--white); transform: rotateY(0deg); }
.flip-back  { background: var(--blue); color: var(--ink); transform: rotateY(180deg); }
@media (prefers-reduced-motion: reduce) { .flip-inner { transition: none; } }
/* Touch devices: skip the 3D flip entirely and crossfade the faces instead.
   WebKit on iOS/iPadOS intermittently refuses to paint backface-visibility:
   hidden faces inside preserve-3d stacks (photos "disappear"), and there is
   no hover on touch anyway - tap toggles .flipped, opacity does the rest. */
@media (hover: none) {
  .flip-inner { transform-style: flat; transition: none; }
  .flip .flip-inner, .flip:hover .flip-inner, .flip:focus-within .flip-inner,
  .flip.flipped .flip-inner { transform: none !important; }
  .flip-face {
    backface-visibility: visible; -webkit-backface-visibility: visible;
    transition: opacity .35s ease;
  }
  .flip-front { transform: none; }
  .flip-back { transform: none; opacity: 0; pointer-events: none !important; }
  .flip.flipped .flip-back { opacity: 1; pointer-events: auto !important; }
  .flip.flipped .flip-front { opacity: 0; pointer-events: none !important; }
@media (prefers-reduced-motion: reduce) { .flip-face { transition: none; } }
}
/* Desktop Safari: same WebKit backface paint bug as iOS (photo faces render
   blank inside preserve-3d stacks), so use the same crossfade fallback.
   html.ua-safari is set by core.js via UA sniff, Safari only, not Chrome. */
html.ua-safari .flip-inner { transform-style: flat; transition: none; }
html.ua-safari .flip .flip-inner, html.ua-safari .flip:hover .flip-inner,
html.ua-safari .flip:focus-within .flip-inner,
html.ua-safari .flip.flipped .flip-inner { transform: none !important; }
html.ua-safari .flip-face {
  backface-visibility: visible; -webkit-backface-visibility: visible;
  transition: opacity .35s ease;
}
html.ua-safari .flip-front { transform: none; }
html.ua-safari .flip-back { transform: none; opacity: 0; pointer-events: none !important; }
html.ua-safari .flip.flipped .flip-back { opacity: 1; pointer-events: auto !important; }
html.ua-safari .flip.flipped .flip-front { opacity: 0; pointer-events: none !important; }
@media (prefers-reduced-motion: reduce) { html.ua-safari .flip-face { transition: none; } }

/* ============ PROOF CARDS (single face, no flip) ============ */
.wf-card {
  background: var(--white); border: 1px solid var(--hairline); color: var(--ink);
  padding: clamp(18px, 2vw, 26px);
  display: flex; flex-direction: column;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.wf-card:hover { transform: translateY(-3px); border-color: var(--blue); box-shadow: 0 14px 34px rgba(11,11,12,.08); }
.wf-card .wf-tags { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; opacity: .55; }
.wf-card .wf-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wf-card .wf-logo { height: 20px; width: auto; max-width: 110px; object-fit: contain; flex: none; opacity: .85; }
.wf-card .wf-logo[src*="Logo-mh"] { height: 120px; max-width: 300px; margin: -18px 0 -22px; }
.wf-card .wf-title { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: clamp(19px, 1.9vw, 24px); line-height: 1.05; margin: 8px 0 10px; }
.wf-card .wf-leap { font-family: var(--font-marker); font-weight: 600; font-size: 20px; line-height: 1.3; color: var(--blue); margin: 0 0 14px; }
body[data-marker="permanent"] .wf-card .wf-leap { font-family: 'Permanent Marker', cursive; font-weight: 400; font-size: 16px; }
.wf-card .wf-slot { margin-top: auto; flex: 1 1 150px; display: flex; }
.wf-card .wf-slot image-slot { width: 100%; min-height: 150px; flex: 1; display: block; }
.wf-card .wf-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-top: 16px; }
.wf-card .wf-stat .big { font-family: var(--font-display); font-weight: 900; font-size: clamp(34px, 3.1vw, 42px); line-height: 1; display: block; }
.wf-card .wf-stat .note { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; opacity: .55; display: block; margin-top: 5px; max-width: 26ch; }
.wf-open {
  position: relative; display: inline-flex; align-items: center; gap: 8px; flex: none;
  font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; padding-bottom: 5px; white-space: nowrap;
  transition: color .25s;
}
.wf-open::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--blue);
  transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.wf-open svg { width: 22px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform: translateX(-6px); transition: transform .35s cubic-bezier(.2,.7,.2,1), opacity .25s; }
.wf-open svg path { stroke-dasharray: 44; stroke-dashoffset: 0; }
.wf-open:hover { color: var(--blue); }
.wf-open:hover::after { transform: scaleX(1); }
.wf-open:hover svg, .wf-open:focus-visible svg { opacity: 1; transform: translateX(0); }
@media (prefers-reduced-motion: no-preference) {
  .wf-open:hover svg path { animation: wf-arrow-draw .5s cubic-bezier(.3,.7,.3,1); }
}
@keyframes wf-arrow-draw { from { stroke-dashoffset: 44; } to { stroke-dashoffset: 0; } }
.wf-open:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* ============ TECH INDEX ROWS ============ */
.tech-rows { border-top: 1px solid var(--hairline-d); }
.tech-row {
  display: grid; grid-template-columns: 80px 1fr auto; align-items: center; gap: clamp(14px, 3vw, 40px);
  padding: clamp(18px, 2.4vw, 30px) 0; border-bottom: 1px solid var(--hairline-d);
  text-decoration: none; position: relative;
}
.tech-row .t-num { font-family: var(--font-mono); font-size: 13px; letter-spacing: .2em; color: rgba(255,255,255,.45); }
.tech-row .t-name {
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(24px, 3.6vw, 52px); letter-spacing: -0.02em; line-height: 1;
  display: flex; align-items: baseline; gap: 0.45em; flex-wrap: wrap;
  transition: color .3s;
}
.tech-row .t-name .marker { font-size: clamp(17px, 1.7vw, 26px); }
.tech-row .t-cta { font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .3s; }
.tech-row:hover .t-name, .tech-row:focus-visible .t-name { color: var(--blue); }
.tech-row:hover .t-cta, .tech-row:focus-visible .t-cta { opacity: 1; transform: none; }
@media (max-width: 700px) { .tech-row { grid-template-columns: 48px 1fr; } .tech-row .t-cta { display: none; } }

/* ============ INDUSTRY INDEX (big-type ledger) ============ */
.ind-index{border-top:2px solid var(--ink)}
.ind-row{position:relative;overflow:hidden;display:grid;grid-template-columns:clamp(40px,3.6vw,54px) minmax(auto,32%) 1fr clamp(30px,2.6vw,40px);align-items:center;gap:clamp(12px,2vw,32px);min-height:clamp(64px,7.2vh,96px);padding:clamp(8px,1.1vw,13px) clamp(6px,1vw,14px);border-bottom:1px solid var(--hairline);text-decoration:none;color:var(--ink)}
.ind-row::before{content:"";position:absolute;inset:-1px 0;background:var(--blue);clip-path:circle(0% at clamp(28px,2.9vw,42px) 50%);transition:clip-path .65s cubic-bezier(.3,.9,.3,1);will-change:clip-path}
.ind-row:hover::before,.ind-row:focus-visible::before{clip-path:circle(170% at clamp(28px,2.9vw,42px) 50%)}
.ind-row>*{position:relative;transition:transform .45s cubic-bezier(.2,.7,.2,1)}
.ind-row:hover>*{transform:translateX(clamp(6px,1.2vw,16px))}
.ir-name{display:flex;align-items:center;font-family:var(--font-display);font-weight:900;text-transform:uppercase;font-size:clamp(22px,2.9vw,40px);line-height:.95;letter-spacing:-.02em}
.ir-doodle{width:100%;max-width:48px;height:clamp(30px,2.8vw,40px);display:flex;align-items:center;justify-content:center;opacity:.55;transition:opacity .35s,transform .35s}
.ir-doodle svg{width:100%;height:100%}
.ind-row:hover .ir-doodle{opacity:1}
.ind-row:hover .ir-doodle svg{transform:rotate(-8deg) scale(1.15)}
.ir-doodle svg{transition:transform .35s}
.ir-duo{font-size:clamp(14px,1.15vw,17px);line-height:1.35;opacity:.85;white-space:nowrap;justify-self:start}
.ir-duo .marker{display:inline;margin-left:6px;font-size:1.32em}
.ind-row:hover .ir-duo .marker{color:var(--white)}
.ir-arrow{width:100%;max-width:36px;opacity:0;transition:opacity .3s,transform .45s cubic-bezier(.2,.7,.2,1)}
.ir-arrow path{stroke:currentColor;stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round}
.ind-row:hover .ir-arrow,.ind-row:focus-visible .ir-arrow{opacity:1}
@media (max-width:860px){.ind-row{grid-template-columns:auto 1fr auto;padding:clamp(8px,1.6vh,14px) 6px}.ir-duo{display:none}.ir-name{font-size:clamp(17px,4.9vw,31px)}.ir-doodle{max-width:32px}}
@media (max-height:760px){.ir-name{font-size:clamp(18px,2.7vh,32px)}.ind-row{padding:clamp(6px,1.2vh,12px) clamp(6px,1vw,14px)}}
@media (prefers-reduced-motion:reduce){.ind-row::before,.ind-row>*,.ir-doodle svg{transition:none}}

/* ============ COLUMNS (01 WHY USE IT…) ============ */
.col-head { display: flex; flex-direction: column; gap: 2px; margin-bottom: 18px; }
.col-head .mono { font-weight: 700; }
.col-head .marker { font-size: 22px; }
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 64px); }
@media (max-width: 960px) { .cols-3 { grid-template-columns: 1fr; } }
.fact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.fact-list li {
  padding: 13px 0 13px 24px; border-top: 1px solid var(--hairline);
  position: relative; font-size: 14.5px; line-height: 1.5;
}
.fact-list li::before {
  content: ""; position: absolute; left: 2px; top: 20px;
  width: 7px; height: 7px; background: var(--blue);
}
.fact-list li strong { font-weight: 600; }

/* ============ BREADCRUMB / SHEETBAR ============ */
.sheetbar {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 14px 0; border-bottom: 1px solid var(--hairline);
  font-family: var(--font-mono); font-size: 12.1px; letter-spacing: .18em; text-transform: uppercase;
}
.sheetbar a { text-decoration: none; opacity: .65; }
.sheetbar a:hover { opacity: 1; color: var(--blue); }
.sheetbar .crumb-sep { opacity: .4; padding: 0 4px; }
.sheetbar .sheet-num { opacity: .55; }

/* prev / next */
.pn { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--hairline); }
.pn a {
  padding: clamp(24px, 3vw, 40px) clamp(20px, 4vw, 56px); text-decoration: none;
  display: flex; flex-direction: column; gap: 8px; transition: background .3s;
}
.pn a:hover { background: var(--sky); }
.pn a + a { border-left: 1px solid var(--hairline); text-align: right; align-items: flex-end; }
.pn .pn-label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; opacity: .55; }
.pn .pn-name { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: clamp(18px, 2vw, 26px); }

/* ============ FAQ ============ */
.faq { border-top: 1px solid var(--hairline); }
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-q {
  width: 100%; background: none; border: 0; text-align: left;
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
  padding: 20px 4px; font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: 16px; letter-spacing: 0; min-height: 48px; color: inherit;
}
.faq-q .faq-x { font-family: var(--font-mono); font-size: 18px; color: var(--blue); transition: transform .3s; flex-shrink: 0; }
.faq-item.open .faq-x { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .45s ease; }
.faq-a > div { padding: 0 4px 22px; font-size: 14.5px; max-width: 70ch; color: inherit; opacity: .85; }

/* lead-time table inside an FAQ answer */
.faq-table { width: 100%; max-width: 440px; border-collapse: collapse; margin: 4px 0 0; }
.faq-table td { padding: 9px 0; border-bottom: 1px solid var(--hairline); font-size: 14px; }
.faq-table td:first-child {
  font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .14em;
  font-size: 11px; color: var(--ink); opacity: .75; padding-right: 24px;
}
.faq-table td:last-child { text-align: right; font-weight: 600; white-space: nowrap; }
.faq-table-note { margin-top: 12px; font-size: 13px; opacity: .7; }

/* ============ FORMS ============ */
.f-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 28px; }
.f-field label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; opacity: .7; }
.f-field input, .f-field textarea, .f-field select {
  font-family: var(--font-body); font-size: 16px; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1.5px solid var(--ink);
  padding: 10px 2px; border-radius: 0; min-height: 44px;
}
.f-field textarea { resize: vertical; min-height: 96px; }
.f-field input:focus, .f-field textarea:focus, .f-field select:focus { outline: none; border-bottom-color: var(--blue); border-bottom-width: 2.5px; }

/* ============ FOOTER ============ */
.im-footer { background: var(--ink); color: var(--white); overflow: hidden; position: relative; }
.im-footer .foot-cols {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(28px, 4vw, 64px);
  padding: clamp(56px, 7vw, 96px) 0 clamp(28px, 3.4vw, 44px);
}
@media (max-width: 960px) { .im-footer .foot-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .im-footer .foot-cols { grid-template-columns: 1fr; } }
.im-footer h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 18px; font-weight: 400; }
.im-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.im-footer ul a { text-decoration: none; font-size: 14px; opacity: .85; display: inline-block; padding: 5px 0; }
.im-footer ul a:hover { color: var(--blue-bright); opacity: 1; }
/* comfortable tap targets on touch-size viewports (44px guideline) */
@media (max-width: 760px) {
  .im-footer ul { gap: 0; }
  .im-footer ul a { display: block; padding: 11px 0; }
  .foot-contact a { display: inline-block; padding: 9px 0; }
  .foot-reach { gap: 0; }
}
.foot-contact { font-size: 14px; line-height: 1.8; opacity: .85; font-style: normal; }
.foot-contact .foot-loc {
  display: flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.5); margin: 16px 0 3px;
}
.foot-contact .foot-loc:first-child { margin-top: 0; }
.foot-contact .foot-loc svg, .foot-place .foot-loc svg { width: 15px; height: 15px; flex-shrink: 0; }
.foot-contact .foot-loc svg path, .foot-place .foot-loc svg path { stroke: var(--blue-bright); fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.foot-contact a { text-decoration: none; }
.foot-contact a:hover { color: var(--blue-bright); }
.foot-reach { display: flex; flex-direction: column; gap: 6px; }
.foot-reach a { display: inline-block; width: max-content; }
/* offices band — full-width row below the link columns */
.foot-places {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 44px);
  padding: clamp(24px, 3vw, 36px) 0; border-top: 1px solid var(--hairline-d);
}
@media (max-width: 760px) { .foot-places { grid-template-columns: 1fr 1fr; } }
@media (max-width: 430px) { .foot-places { grid-template-columns: 1fr; } }
.foot-place { display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; line-height: 1.55; opacity: .85; }
.foot-place .foot-loc { margin: 0; }
.foot-news input {
  width: 100%; background: transparent; border: 0; border-bottom: 1.5px solid rgba(255,255,255,.4);
  color: var(--white); font-size: 15px; padding: 10px 2px; min-height: 44px;
}
.foot-news input:focus { outline: none; border-bottom-color: var(--blue-bright); }
/* social icon row */
.foot-social { display: flex; gap: 14px; margin-top: 26px; }
.foot-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border: 1.5px solid rgba(255,255,255,.28);
  color: rgba(255,255,255,.75); transition: color .25s, border-color .25s, background .25s;
}
.foot-social a:hover, .foot-social a:focus-visible { color: var(--ink); background: var(--blue); border-color: var(--blue); }
.foot-social svg { width: 17px; height: 17px; display: block; }
.foot-meta {
  display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between;
  padding: 22px 0; border-top: 1px solid var(--hairline-d);
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.45);
}
.foot-word {
  display: block; width: 100%; height: auto; aspect-ratio: 2400 / 312;
  margin-bottom: -0.04em; user-select: none;
  /* lift the white wordmark art slightly so the underline glow reads as a baseline */
  filter: drop-shadow(0 1px 0 rgba(255,255,255,.04));
}
.foot-word-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.foot-word-wrap { position: relative; margin-top: clamp(56px, 7vw, 96px); }
.foot-word-wrap::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 5px;
  background: var(--blue); filter: blur(1px); box-shadow: 0 -14px 44px 12px color-mix(in oklab, var(--blue) 60%, transparent);
}
.foot-float { position: absolute; right: clamp(16px, 8vw, 120px); top: -1.6em; font-size: clamp(20px, 2.4vw, 30px); color: var(--blue-bright); z-index: 2; }

/* ============ DROP ZONES ============ */
image-slot { --is-bg: rgba(255,255,255,.04); }

/* ============ CTA BANDS ============ */
.cta-band { text-align: center; }
.cta-band .display { font-size: clamp(34px, 5.4vw, 78px); }
.cta-band .marker { font-size: clamp(24px, 3vw, 44px); }
.cta-band .btn { margin-top: clamp(28px, 4vw, 44px); }

/* skip link */
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--blue); color: var(--ink); padding: 12px 18px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .15em; text-transform: uppercase; text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ============ MOBILE DRAWER (<=760px) ============ */
/* hidden on desktop; declared last so source order wins over .btn */
.im-burger { display: none; }
.im-drawer { display: none; }

@media (max-width: 760px) {
  /* collapse the inline pill nav + CTA in favour of the burger */
  .im-pill .im-nav,
  .im-pill .pill-cta,
  .im-pill .pill-div { display: none !important; }
  .im-pill { padding: 7px 8px 7px 16px; gap: 8px; }

  .im-burger {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; min-height: 44px; margin-left: 4px;
    border: 0; background: transparent; border-radius: 999px;
    color: var(--white); pointer-events: auto;
    transition: background .2s ease;
  }
  .im-burger:hover { background: rgba(255,255,255,.1); }
  .im-burger-box { position: relative; width: 22px; height: 14px; display: block; }
  .im-burger-box span {
    position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px;
    background: currentColor;
    transition: transform .3s ease, opacity .2s ease;
  }
  .im-burger-box span:nth-child(1) { top: 0; }
  .im-burger-box span:nth-child(2) { top: 6px; }
  .im-burger-box span:nth-child(3) { top: 12px; }
  .im-header.drawer-open .im-burger-box span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .im-header.drawer-open .im-burger-box span:nth-child(2) { opacity: 0; }
  .im-header.drawer-open .im-burger-box span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  /* keep the logo + burger (now an X) on top of the open drawer */
  .im-header.drawer-open .im-pill { z-index: 95; }

  .im-drawer {
    display: block; position: fixed; inset: 0; z-index: 90;
    pointer-events: none; color: var(--white);
    background: rgba(8, 8, 11, .9);
    -webkit-backdrop-filter: blur(28px) saturate(1.5);
    backdrop-filter: blur(28px) saturate(1.5);
    opacity: 0; visibility: hidden;
    transition: opacity .32s ease, visibility .32s;
    overflow-y: auto; -webkit-overflow-scrolling: touch;
  }
  .im-header.drawer-open .im-drawer { opacity: 1; visibility: visible; pointer-events: auto; }
  .im-drawer-inner {
    display: flex; flex-direction: column;
    padding: calc(var(--header-h) - 6px) clamp(22px, 6vw, 40px) 48px;
    min-height: 100%;
  }
  .im-drawer .dtop {
    font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
    letter-spacing: -0.015em; font-size: clamp(30px, 9vw, 40px); line-height: 1.04;
    text-decoration: none; color: var(--white);
    padding: 16px 0 8px; border-top: 1px solid rgba(255,255,255,.14);
  }
  .im-drawer .dtop:first-child { border-top: 0; }
  .im-drawer .dtop[aria-current="page"],
  .im-drawer .dtop-static[data-current="page"] { color: var(--blue-bright); }
  .im-drawer .dtop-static { cursor: default; }
  .im-drawer .dsub {
    display: grid; grid-template-columns: 1fr 1fr; gap: 2px 18px; padding: 4px 0 14px;
  }
  .im-drawer .dsub a {
    display: flex; flex-direction: column; gap: 1px; text-decoration: none;
    padding: 8px 0; min-height: 44px; justify-content: center;
  }
  .im-drawer .dsub .dn {
    font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em;
    text-transform: uppercase; font-weight: 700; color: var(--white);
  }
  .im-drawer .dsub .dt {
    font-family: var(--font-marker); font-weight: 600; font-size: 16px;
    color: var(--blue-bright); line-height: 1.1;
  }
  .im-drawer .dsub a:active .dn { color: var(--blue-bright); }
  .im-drawer .dcta {
    margin-top: 26px; justify-content: center; min-height: 56px;
    font-size: 13px; align-self: stretch;
  }
  .im-drawer .dmeta {
    margin-top: 26px; display: flex; flex-direction: column; gap: 7px;
    font-family: var(--font-mono); font-size: 13px; letter-spacing: .04em;
  }
  .im-drawer .dmeta a { color: rgba(255,255,255,.82); text-decoration: none; display: inline-block; padding: 9px 0; }
  .im-drawer .dmeta a:hover { color: var(--blue-bright); }
  .im-drawer .dmeta span {
    margin-top: 4px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
    color: rgba(255,255,255,.45);
  }
}
@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
  .im-drawer, .im-burger-box span { transition: none; }
}

/* closing CTA band (shared with home) */
.closing-cta { background: var(--blue); color: var(--ink); }
.closing-cta .marker { color: var(--ink); }
.closing-cta .display { color: var(--white); }

/* footer subscribe: same roll animation as the header pill CTA */
.sub-roll { position: relative; overflow: hidden; }
.sub-roll::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--ink);
  transform: translateY(101%); transition: transform .38s cubic-bezier(.7, 0, .2, 1);
}
.sub-roll .cta-flip { position: relative; display: grid; place-items: center; }
.sub-roll .cta-flip > span {
  grid-area: 1 / 1; display: block; white-space: nowrap;
  transition: transform .38s cubic-bezier(.7, 0, .2, 1), opacity .25s ease;
}
.sub-roll .cta-b {
  font-family: var(--font-marker); font-size: 20px; font-weight: 700;
  text-transform: none; letter-spacing: 0; color: var(--blue-bright);
  transform: translateY(140%) rotate(3deg); opacity: 0;
}
.sub-roll:hover, .sub-roll:focus-visible { background: var(--blue); }
.sub-roll:hover::before, .sub-roll:focus-visible::before { transform: translateY(0); }
.sub-roll:hover .cta-a, .sub-roll:focus-visible .cta-a { transform: translateY(-140%) rotate(-3deg); opacity: 0; }
.sub-roll:hover .cta-b, .sub-roll:focus-visible .cta-b { transform: translateY(0) rotate(-2deg); opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .sub-roll::before, .sub-roll .cta-flip > span { transition: none; }
}

/* ============ TRUST / CREDIBILITY BLOCK (industry pages) ============ */
.trust-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr; gap: clamp(14px, 1.6vw, 22px); margin-top: clamp(28px, 3.4vw, 44px); }
@media (max-width: 1080px) { .trust-grid { grid-template-columns: 1fr 1fr; } .trust-card.trust-cert { grid-column: 1 / -1; } }
@media (max-width: 600px) { .trust-grid { grid-template-columns: 1fr; } }
.trust-card { border: 1px solid var(--hairline-d); padding: clamp(20px, 2.2vw, 30px); display: flex; flex-direction: column; gap: 12px; }
.trust-card .tr-num { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--blue-bright); }
.trust-card h3 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.05; color: var(--white); }
.trust-card p { font-size: 14px; line-height: 1.65; opacity: .72; text-wrap: pretty; }
.trust-cert { background: rgba(255,255,255,.03); }
.trust-cert .tr-badge { width: min(157px, 39%); height: auto; display: block; margin: 4px 0 6px; }
.trust-dl { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: auto; padding-top: 10px; }
.trust-dl a {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-bright); text-decoration: none; border-bottom: 1px solid color-mix(in oklab, var(--blue-bright) 45%, transparent);
  padding: 6px 0 4px; display: inline-flex; align-items: center; gap: 8px;
  position: relative; overflow: hidden;
  transition: color .3s ease, border-bottom-color .3s ease, letter-spacing .3s ease;
}
/* blue underline sweeps in from the left */
.trust-dl a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: var(--white); transform: scaleX(0); transform-origin: left;
  transition: transform .38s cubic-bezier(.7, 0, .2, 1);
}
.trust-dl a:hover, .trust-dl a:focus-visible { color: var(--white); letter-spacing: .2em; }
.trust-dl a:hover::after, .trust-dl a:focus-visible::after { transform: scaleX(1); }
.trust-dl svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s cubic-bezier(.34, 1.56, .64, 1); }
/* arrow dips like a file dropping into a tray */
.trust-dl a:hover svg, .trust-dl a:focus-visible svg { transform: translateY(3px); animation: trust-dl-drop .55s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes trust-dl-drop {
  0% { transform: translateY(-6px); opacity: 0; }
  60% { transform: translateY(4px); opacity: 1; }
  100% { transform: translateY(3px); }
}
@media (prefers-reduced-motion: reduce) {
  .trust-dl a, .trust-dl a::after, .trust-dl svg { transition: none; animation: none; }
  .trust-dl a:hover svg { animation: none; }
}
