/* Hallmark · macrostructure: Catalogue / Split Studio · tone: technical and austere · anchor hue: warm gold · pre-emit critique: P5 H5 E5 S5 R5 V4
 * contrast: pass (40–41) · nav: N11 · footer: Ft3 restrained route index · slop: pass (42–45)
 * honest: pass (46) · chrome: pass (47) · tokens: pass (48) · responsive: pass (49)
 * icons: pass (30) · mobile: pass (34, 49, 50–57)
 * product detail: slop test 58 / 58 scoped pass · variation knob: one proof graph + text-led engineering dossier + two-view media
 * genre: modern-minimal · tone: technical and austere · anchor: warm carbon / gold
 * page families: Split Studio / Catalogue / Workbench / Long Document · design-system: design.md
 * enrichment: E2 muted fabrication loop on landing only · nav: N11 Mega-menu · footer: Ft3 restrained route index
 * brand: side-by-side nav lockup from 40rem · mobile nav omits tagline · footer retains the complete lockup
 */
@import url("tokens.css?v=20260814c");

:root {
  /* Compatibility bridge for the existing page-local styles. */
  --text-small: var(--text-sm);
  --text-label: var(--text-xs);
  --font-mono: var(--font-outlier);
  --color-rule-strong: var(--color-rule);
  --carbon-black: var(--color-paper);
  --carbon-surface: var(--color-paper-2);
  --carbon-elevated: var(--color-paper-3);
  --carbon: var(--color-paper);
  --surface: var(--color-paper-2);
  --raised: var(--color-paper-3);
  --gold-brand: var(--color-accent);
  --gold-light: var(--color-accent);
  --gold-dark: var(--color-accent);
  --gold-highlight: var(--color-signal);
  --gold-cream: var(--color-focus);
  --gold: var(--color-accent);
  --yellow: var(--color-signal);
  --cream: var(--color-focus);
  --ink-white: var(--color-ink);
  --ink-light: var(--color-ink-2);
  --ink-medium: var(--color-muted);
  --ink-dark: var(--color-neutral);
  --white: var(--color-ink);
  --ink: var(--color-ink-2);
  --muted: var(--color-muted);
  --dim: var(--color-neutral);
  --hairline: var(--color-rule-2);
  --hairline-strong: var(--color-rule);
  --line: var(--color-rule);
  --line-soft: var(--color-rule-2);
  --ease: var(--ease-out);
  --k3d-nav-height: 4rem;
}

html,
body {
  overflow-x: clip;
}

html.k3d-menu-open {
  overflow-y: hidden;
}

html {
  background: var(--color-paper);
  color-scheme: dark;
  scroll-padding-block-start: calc(var(--k3d-nav-height) + var(--space-md));
}

body[data-k3d-family] {
  min-width: 0;
  margin: 0;
  background: var(--color-paper);
  color: var(--color-ink-2);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--body-weight);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body[data-k3d-family] * {
  box-sizing: border-box;
}

body[data-k3d-family] ::selection {
  background: color-mix(in oklch, var(--color-accent) 38%, var(--color-paper));
  color: var(--color-ink);
}

body[data-k3d-family] :where(a, button, input, select, textarea, summary) {
  -webkit-tap-highlight-color: transparent;
}

body[data-k3d-family] a {
  text-decoration: none;
}

body[data-k3d-family] :is(.prose a.ref, .sources a) {
  border-bottom: 0;
}

body[data-k3d-family] :where(a, button, input, select, textarea, summary):focus-visible {
  outline: var(--rule-fine) solid var(--color-focus);
  outline-offset: var(--space-2xs);
  box-shadow: 0 0 0 var(--rule-fine) var(--color-paper);
}

body[data-k3d-family] :where(button, [role="button"]):disabled,
body[data-k3d-family] :where(button, [role="button"])[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.55;
}

body[data-k3d-family] :where(h1, h2, h3, h4, h5, h6) {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--color-ink);
  font-family: var(--font-display);
  font-style: normal;
  font-weight: var(--display-weight);
  letter-spacing: var(--tracking-display);
  text-wrap: balance;
}

body[data-k3d-family] h1 {
  font-size: var(--text-display);
  line-height: 0.98;
}

body[data-k3d-family] h2 {
  font-size: clamp(2.25rem, 3.2vw + 0.5rem, 4rem);
  line-height: 1.02;
}

body[data-k3d-family] h3 {
  font-size: clamp(1.35rem, 1.6vw + 0.5rem, 2rem);
  line-height: 1.15;
}

body[data-k3d-family] :where(p, li) {
  max-width: var(--measure);
}

body[data-k3d-family] :where(.eyebrow, .kicker, .section-kicker, .section-eyebrow, .badge, .hero-badge, .qp-eyebrow) {
  display: none !important;
}

body[data-k3d-family] :where(.wrap, .wrap-narrow, .nav-inner, .hero-inner, .hero-top-inner) {
  width: min(var(--page-max), calc(100% - (2 * var(--page-gutter))));
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: 0;
}

body[data-k3d-family] :where(.section, main > section) {
  border-block-start: 0;
}

body[data-k3d-family]:not([data-k3d-family="redirect"]) main > section:not(.cta) {
  color: var(--color-ink-2);
  background:
    linear-gradient(
      180deg,
      var(--color-paper) 0,
      var(--color-paper-2) var(--space-2xl),
      var(--color-paper-2) calc(100% - var(--space-2xl)),
      var(--color-paper) 100%
    );
}

body[data-k3d-family]:not([data-k3d-family="redirect"]) main > section:nth-of-type(even):not(.cta) {
  background:
    linear-gradient(
      180deg,
      var(--color-paper) 0,
      var(--color-paper-3) var(--space-3xl),
      var(--color-paper-2) calc(100% - var(--space-xl)),
      var(--color-paper) 100%
    );
}

body[data-k3d-family] :where(.section-head, .subhead) {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
  align-items: end;
  gap: var(--space-xl);
  max-width: none;
  margin-block-end: var(--space-xl);
}

body[data-k3d-family] :where(.section-head, .subhead) > :where(p, div > p) {
  color: var(--color-muted);
}

body[data-k3d-family] :where(.setup, .action) {
  font-style: normal;
}

body[data-k3d-family] :where(.action, .gold, .g) {
  color: var(--color-signal);
}

body[data-k3d-family] :where(.mono, .label, .vp-label, .stat-label, .group-index) {
  font-family: var(--font-outlier);
}

body[data-k3d-family] :where(.btn, .btn-primary, .btn-secondary, .nav-cta, .rcr-btn, .link-more, .service-link) {
  min-height: 2.875rem;
  border-radius: var(--radius-input);
  font-family: var(--font-outlier);
  font-style: normal;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  transition:
    background-color var(--dur-short) var(--ease-out),
    border-color var(--dur-short) var(--ease-out),
    color var(--dur-short) var(--ease-out),
    opacity var(--dur-short) var(--ease-out),
    transform var(--dur-micro) var(--ease-out);
}

body[data-k3d-family] :where(.btn-primary, .nav-cta, .rcr-btn) {
  border: var(--rule-hair) solid var(--color-signal);
  background: var(--color-signal);
  color: var(--color-accent-ink);
}

body[data-k3d-family] :where(.btn-secondary) {
  border: var(--rule-hair) solid var(--color-rule);
  background: transparent;
  color: var(--color-ink);
}

body[data-k3d-family] :where(.btn, .nav-cta, .rcr-btn):active {
  transform: translateY(1px);
}

body[data-k3d-family] :where(
  .k3d-nav a,
  .k3d-nav button,
  .k3d-mobile-drawer a,
  .k3d-mobile-drawer summary,
  .k3d-home-button,
  .btn,
  .nav-cta,
  .k3d-home-fit__links a,
  .k3d-product-actions :where(a, button),
  .pf-detail
) {
  white-space: nowrap;
}

body[data-k3d-family] :where(
  .row-num,
  .step-num,
  .service-num,
  .process-num,
  .group-index,
  .cover-num,
  .cstep-num,
  .repipe-num,
  .rcr-num,
  .rcr-step .n
) {
  display: none !important;
}

body[data-k3d-family] .row {
  position: relative;
  grid-template-columns: minmax(0, 1fr) auto;
}

/* Duplicate categorical tags read as stray eyebrow labels on this route. */
body[data-k3d-route="key3d-landed-cost.html"] .row-value {
  display: none;
}

body[data-k3d-family] .rows {
  position: relative;
  padding-inline-start: var(--space-xl);
}

body[data-k3d-family] .rows::before {
  content: "";
  position: absolute;
  inset-block: 2.2rem;
  inset-inline-start: 0.34rem;
  width: var(--rule-fine);
  background: linear-gradient(
    180deg,
    transparent,
    color-mix(in oklch, var(--color-accent) 68%, transparent) 8%,
    color-mix(in oklch, var(--color-accent) 40%, transparent) 92%,
    transparent
  );
}

body[data-k3d-family] .row:has(.row-arrow) {
  grid-template-columns: minmax(0, 1fr) auto 1.5rem;
}

body[data-k3d-family] :where(.step, .repipe-step, .cstep) {
  position: relative;
}

body[data-k3d-family] :where(.step-numcol, .repipe-numcol) {
  position: relative;
  width: 2.5rem;
  align-items: center;
}

body[data-k3d-family] :where(.step-stem, .repipe-stem) {
  width: var(--rule-hair);
  margin-inline: 0;
  background: var(--color-rule);
}

body[data-k3d-family] :where(.step-chev) {
  display: none;
}

body[data-k3d-family] .cstep {
  padding-inline-start: var(--space-xl);
}

body[data-k3d-family] :where(.fit-col.good .fit-list li, .composite-list li, [data-composite-fit] li) {
  color: var(--color-accent);
  font-weight: 600;
}

body[data-k3d-family] :where(.fit-col.good .fit-list li, .composite-list li, [data-composite-fit] li)::before,
body[data-k3d-family] :where(.fit-col.good .fit-list li, .composite-list li, [data-composite-fit] li)::marker {
  color: var(--color-signal);
}

body[data-k3d-family] :where(table, .mat-table, .comparison-table) {
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

body[data-k3d-family] :where(th, td) {
  border-color: var(--color-rule);
}

body[data-k3d-family] :where(input, textarea, select):not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]) {
  min-height: 2.875rem;
  border: var(--rule-hair) solid var(--color-rule);
  border-radius: var(--radius-input);
  outline: var(--rule-fine) solid transparent;
  outline-offset: 1px;
  background: var(--color-paper-2);
  color: var(--color-ink);
  font-family: var(--font-body);
  transition:
    background-color var(--dur-short) var(--ease-out),
    border-color var(--dur-short) var(--ease-out);
}

body[data-k3d-family] textarea {
  min-height: 7rem;
  resize: vertical;
}

body[data-k3d-family] :where(input, textarea)::placeholder {
  color: var(--color-neutral);
  opacity: 1;
}

body[data-k3d-family] :where(input, textarea, select):disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

body[data-k3d-family] :where(input, textarea, select)[aria-invalid="true"] {
  border-color: var(--color-error);
}

body[data-k3d-family] :where(input[type="checkbox"], input[type="radio"]) {
  accent-color: var(--color-accent);
}

body[data-k3d-family="content"] :where(main article, main .legal, main .article-body, main .prose) {
  width: min(100% - (2 * var(--page-gutter)), 70ch);
  margin-inline: auto;
}

body[data-k3d-family="content"] :where(main article, main .legal, main .article-body, main .prose) :where(p, li) {
  max-width: 70ch;
  line-height: 1.75;
}

body[data-k3d-route="key3d-login.html"] .split,
body[data-k3d-route="key3d-404.html"] .stage {
  min-height: calc(100svh - var(--k3d-nav-height));
  margin-block-start: var(--k3d-nav-height);
}

/* N11 Mega-menu */
.k3d-nav {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: var(--z-modal);
  min-height: var(--k3d-nav-height);
  border-block-end: var(--rule-hair) solid var(--color-rule-2);
  background: color-mix(in oklch, var(--color-paper) 92%, transparent);
  color: var(--color-ink);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
  backdrop-filter: blur(18px) saturate(125%);
}

.k3d-nav__inner {
  width: min(var(--page-max), calc(100% - (2 * var(--page-gutter))));
  min-height: var(--k3d-nav-height);
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-lg);
}

.k3d-brand {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-width: max-content;
  min-height: 2.75rem;
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: var(--text-brand-nav);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.k3d-brand__mark {
  display: block;
  font-style: italic;
  line-height: 0.9;
}

.k3d-brand__star {
  color: var(--color-signal);
  font-style: normal;
}

.k3d-ast {
  --ast-size: 0.64em;
  flex: none;
  display: inline-block;
  width: calc(var(--ast-size) * 1.12);
  height: var(--ast-size);
  inline-size: calc(var(--ast-size) * 1.12);
  block-size: var(--ast-size);
  vertical-align: 0.03em;
  overflow: visible;
}

.k3d-brand__sub {
  margin-block-start: var(--space-3xs);
  color: var(--color-muted);
  font-family: var(--font-outlier);
  font-size: var(--text-brand-sub);
  font-weight: 500;
  letter-spacing: var(--tracking-brand-sub);
  line-height: 1;
  text-transform: uppercase;
}

.k3d-brand__tagline {
  inline-size: var(--width-brand-tagline);
  margin-block-start: var(--space-3xs);
  color: var(--color-accent);
  font-family: var(--font-outlier);
  font-size: var(--text-brand-tagline);
  font-style: normal;
  font-weight: 500;
  letter-spacing: var(--tracking-brand-tagline);
  line-height: 1.15;
  text-transform: uppercase;
  white-space: normal;
}

.k3d-brand--nav .k3d-brand__tagline {
  display: none;
}

:is(.wordmark .wm-tagline, .compare-col h3 .wm-tagline) {
  display: block;
  inline-size: var(--width-brand-tagline);
  line-height: 1.15;
  white-space: normal;
}

.k3d-nav__desktop {
  display: none;
}

.k3d-nav__actions {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: var(--space-sm);
}

.k3d-nav__signin {
  display: none;
}

.k3d-nav__cart {
  display: none;
  min-height: 2.75rem;
  align-items: center;
  gap: var(--space-2xs);
  color: var(--color-muted);
  font-family: var(--font-outlier);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.k3d-nav__cart [data-k3d-cart-count] {
  min-width: 1.35rem;
  min-height: 1.35rem;
  display: inline-grid;
  place-items: center;
  border: var(--rule-hair) solid var(--color-accent);
  color: var(--color-accent);
  font-variant-numeric: tabular-nums;
}

.k3d-nav__cart[hidden] {
  display: none !important;
}

.k3d-nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding-inline: var(--space-sm);
  border: var(--rule-hair) solid var(--color-signal);
  background: var(--color-signal);
  color: var(--color-accent-ink);
  font-family: var(--font-outlier);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.k3d-nav__menu-button {
  display: inline-grid;
  place-items: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  border: var(--rule-hair) solid var(--color-rule);
  background: var(--color-paper-2);
  color: var(--color-ink);
  cursor: pointer;
}

.k3d-nav__menu-icon {
  position: relative;
  width: 1rem;
  height: var(--rule-fine);
  background: currentColor;
}

.k3d-nav__menu-icon::before,
.k3d-nav__menu-icon::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  height: var(--rule-fine);
  background: currentColor;
  transition: transform var(--dur-short) var(--ease-in-out);
}

.k3d-nav__menu-icon::before {
  transform: translateY(-0.32rem);
}

.k3d-nav__menu-icon::after {
  transform: translateY(0.32rem);
}

.k3d-nav__menu-button[aria-expanded="true"] .k3d-nav__menu-icon {
  background: transparent;
}

.k3d-nav__menu-button[aria-expanded="true"] .k3d-nav__menu-icon::before {
  transform: rotate(45deg);
}

.k3d-nav__menu-button[aria-expanded="true"] .k3d-nav__menu-icon::after {
  transform: rotate(-45deg);
}

.k3d-mobile-drawer {
  position: fixed;
  inset-block-start: var(--k3d-nav-height);
  inset-inline-end: 0;
  z-index: var(--z-modal);
  width: min(92%, 28rem);
  height: calc(100svh - var(--k3d-nav-height));
  padding: var(--space-lg) var(--page-gutter) max(var(--space-xl), env(safe-area-inset-bottom));
  overflow-y: auto;
  border-inline-start: var(--rule-hair) solid var(--color-rule);
  background: var(--color-paper-2);
  color: var(--color-ink);
  opacity: 0;
  visibility: hidden;
  transform: translateX(100%);
  transition:
    opacity var(--dur-short) var(--ease-in),
    transform var(--dur-long) var(--ease-in),
    visibility var(--dur-long);
}

.k3d-mobile-drawer.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-timing-function: var(--ease-out);
}

.k3d-mobile-drawer details {
  border-block-end: var(--rule-hair) solid var(--color-rule);
}

.k3d-mobile-drawer summary {
  display: flex;
  min-height: 3.5rem;
  align-items: center;
  justify-content: space-between;
  color: var(--color-ink);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  list-style: none;
}

.k3d-mobile-drawer summary::-webkit-details-marker {
  display: none;
}

.k3d-mobile-drawer summary::after {
  content: "+";
  color: var(--color-accent);
  font-family: var(--font-outlier);
}

.k3d-mobile-drawer details[open] summary::after {
  content: "−";
}

.k3d-mobile-drawer__links {
  display: grid;
  gap: var(--space-lg);
  padding-block: var(--space-xs) var(--space-lg);
}

.k3d-mobile-drawer__group {
  display: grid;
  gap: var(--space-2xs);
}

.k3d-mobile-drawer__group + .k3d-mobile-drawer__group {
  margin-block-start: var(--space-xs);
  padding-block-start: var(--space-sm);
  border-block-start: var(--rule-hair) solid var(--color-rule);
}

.k3d-mobile-drawer__links a,
.k3d-mobile-drawer__direct {
  display: flex;
  min-height: 2.75rem;
  align-items: center;
  color: var(--color-muted);
  font-size: var(--text-sm);
  text-decoration: none;
}

.k3d-mobile-drawer__links a strong {
  color: var(--color-ink);
  font-size: var(--text-base);
  line-height: 1.25;
  white-space: nowrap;
}

.k3d-mobile-drawer__direct {
  border-block-end: var(--rule-hair) solid var(--color-rule);
  color: var(--color-ink);
  font-weight: 700;
}

.k3d-mobile-drawer__foot {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xs);
  margin-block-start: var(--space-lg);
}

.k3d-mobile-drawer .k3d-nav__signin {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--color-muted);
  font-size: var(--text-sm);
  font-weight: 700;
  white-space: nowrap;
}

.k3d-mobile-cart {
  min-height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--color-ink);
  font-family: var(--font-outlier);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.k3d-mobile-cart[hidden] {
  display: none;
}

.k3d-mobile-cart [data-k3d-cart-count] {
  color: var(--color-accent);
}

.k3d-nav-scrim {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-modal) - 1);
  border: 0;
  background: color-mix(in oklch, var(--color-paper) 76%, transparent);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--dur-short) var(--ease-in),
    visibility var(--dur-short);
}

.k3d-nav-scrim.is-active {
  opacity: 1;
  visibility: visible;
  transition-timing-function: var(--ease-out);
}

.k3d-mega-panel {
  position: absolute;
  inset-block-start: 100%;
  inset-inline: 0;
  z-index: var(--z-dropdown);
  border-block-end: var(--rule-hair) solid var(--color-rule);
  background: color-mix(in oklch, var(--color-paper-2) 96%, transparent);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-0.625rem);
  -webkit-backdrop-filter: blur(20px) saturate(125%);
  backdrop-filter: blur(20px) saturate(125%);
  transition:
    opacity var(--dur-short) var(--ease-in),
    transform var(--dur-short) var(--ease-in),
    visibility var(--dur-short);
}

.k3d-mega-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-timing-function: var(--ease-out);
}

/* The inline padding here is NOT visual spacing. `overflow-y: auto` forces
   overflow-x to compute to auto, so this box clips horizontally, and without the
   padding the group titles' ::before bloom gets sliced flat at the first column's
   left edge. The width is widened by the same 2 x 2rem, so the content box, and
   therefore every column, stays exactly on the page gutter. */
.k3d-mega-panel__inner {
  width: min(
    calc(var(--page-max) + (2 * var(--space-lg))),
    calc(100% - (2 * var(--page-gutter)) + (2 * var(--space-lg)))
  );
  max-height: 60vh;
  margin-inline: auto;
  padding-block: var(--space-xl);
  padding-inline: var(--space-lg);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(17rem, 0.8fr);
  gap: var(--space-xl);
  overflow-y: auto;
}

.k3d-mega-group {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: var(--space-2xs);
}

.k3d-mega-group__title {
  position: relative;
  isolation: isolate;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 var(--space-xs);
  padding-block: var(--space-2xs);
  padding-inline: 0;
  border: 0;
  background: transparent;
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.25;
  white-space: nowrap;
}

/* Warm orange bloom behind the mega-menu group titles.
   Two stacked radials: a hot core sitting just inside the first word, plus a
   wide low-alpha tail that trails off to the right. Both are sized so alpha
   reaches 0 before either edge of the box (radius% <= centre%, and
   centre% + radius% <= 100%), which is what keeps the bloom from being clipped
   into a hard vertical edge. Anchored to the text box (width: fit-content) so
   it tracks the title rather than the whole column. */
.k3d-mega-group__title::before {
  content: "";
  position: absolute;
  inset: calc(-1 * var(--space-xs)) calc(-1 * var(--space-4xl))
         calc(-1 * var(--space-xs)) calc(-1 * var(--space-lg));
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 48% 128% at 52% 50%,
      color-mix(in oklch, var(--color-accent) 22%, transparent),
      color-mix(in oklch, var(--color-accent) 10%, transparent) 50%,
      transparent 100%
    ),
    radial-gradient(
      ellipse 29% 170% at 30% 50%,
      color-mix(in oklch, var(--color-accent) 54%, transparent),
      color-mix(in oklch, var(--color-accent) 23%, transparent) 45%,
      transparent 100%
    );
  filter: blur(var(--space-sm));
}

.k3d-mega-link {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-3xs);
  padding-block: var(--space-xs);
  color: var(--color-ink);
  text-decoration: none;
}

.k3d-mega-link strong {
  font-size: var(--text-sm);
  line-height: 1.2;
  white-space: nowrap;
}

.k3d-mega-link span {
  min-width: 0;
  color: var(--color-muted);
  font-size: 0.75rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
  white-space: normal;
}

.k3d-mega-feature {
  align-self: stretch;
  padding: var(--space-lg);
  border-inline-start: var(--rule-hair) solid var(--color-rule);
  background: linear-gradient(180deg, var(--color-paper-3), var(--color-paper-2));
}

.k3d-mega-feature strong {
  display: block;
  max-width: 13ch;
  color: var(--color-ink);
  font-size: var(--text-lg);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.k3d-mega-feature p {
  margin-block: var(--space-sm);
  color: var(--color-muted);
  font-size: var(--text-sm);
  line-height: 1.55;
}

.k3d-mega-feature a {
  color: var(--color-accent);
  font-family: var(--font-outlier);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Restrained route-index footer */
.k3d-footer {
  padding: var(--space-xl) var(--page-gutter) max(var(--space-xl), env(safe-area-inset-bottom));
  background:
    linear-gradient(
      180deg,
      var(--color-paper),
      var(--color-paper-2) var(--space-2xl),
      var(--color-paper-2)
    );
  color: var(--color-ink);
}

.k3d-footer__inner {
  width: min(var(--page-max), 100%);
  margin-inline: auto;
  display: grid;
  gap: var(--space-lg);
}

.k3d-footer__primary {
  display: grid;
  gap: var(--space-xl);
}

.k3d-brand--footer {
  min-height: 0;
  justify-self: start;
  font-size: var(--text-brand-footer);
}

.k3d-footer__directory {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-xl);
}

.k3d-footer__group {
  min-width: 0;
}

.k3d-footer__group-title {
  margin: 0 0 var(--space-sm);
  color: var(--color-ink);
  font-size: var(--text-sm);
  font-weight: 800;
  line-height: 1.35;
}

.k3d-footer__group-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.k3d-footer__group-links a,
.k3d-footer__utility-links a,
.k3d-footer__utility-links button {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  color: var(--color-muted);
  font-size: var(--text-sm);
  line-height: 1.35;
  transition: color var(--dur-short) var(--ease-out);
  white-space: nowrap;
}

.k3d-footer__utility-links button {
  appearance: none;
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.k3d-footer__group-links a[aria-current="page"] {
  gap: var(--space-2xs);
  color: var(--color-ink);
}

.k3d-footer__group-links a[aria-current="page"]::before {
  content: "";
  width: var(--space-3xs);
  height: var(--space-3xs);
  background: var(--color-accent);
}

.k3d-footer__group-links a:active,
.k3d-footer__utility-links a:active,
.k3d-footer__utility-links button:active {
  color: var(--color-ink);
}

.k3d-footer__utility {
  display: grid;
  gap: var(--space-sm);
  padding-block-start: var(--space-md);
  border-block-start: var(--rule-hair) solid var(--color-rule);
}

.k3d-footer__utility-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 var(--space-lg);
}

.k3d-footer__credit {
  margin: 0;
  color: var(--color-neutral);
  font-family: var(--font-outlier);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  line-height: 1.6;
  text-transform: uppercase;
}

/* Quote cart · shared by the Shop Catalog, product detail, and quote review. */
.k3d-cart-float {
  position: fixed;
  z-index: calc(var(--z-modal) - 2);
  inset-inline-end: max(var(--space-md), env(safe-area-inset-right));
  inset-block-end: max(var(--space-md), env(safe-area-inset-bottom));
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding-inline: var(--space-md);
  border: var(--rule-hair) solid var(--color-signal);
  background: var(--color-signal);
  color: var(--color-accent-ink);
  box-shadow: 0 1rem 3rem color-mix(in oklch, var(--color-paper) 54%, transparent);
  cursor: pointer;
  font-family: var(--font-outlier);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.k3d-cart-float[hidden] {
  display: none;
}

.k3d-cart-float [data-k3d-cart-count] {
  min-width: 1.5rem;
  min-height: 1.5rem;
  display: inline-grid;
  place-items: center;
  border: var(--rule-hair) solid currentColor;
  font-variant-numeric: tabular-nums;
}

.k3d-cart-dialog {
  width: min(44rem, calc(100% - (2 * var(--page-gutter))));
  max-height: min(44rem, calc(100svh - (2 * var(--page-gutter))));
  margin: auto;
  padding: 0;
  overflow: auto;
  border: var(--rule-hair) solid var(--color-rule-strong);
  background: var(--color-paper-2);
  color: var(--color-ink);
}

.k3d-cart-dialog::backdrop {
  background: color-mix(in oklch, var(--color-paper) 82%, transparent);
  -webkit-backdrop-filter: blur(0.3rem);
  backdrop-filter: blur(0.3rem);
}

.k3d-cart-dialog__frame {
  min-height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.k3d-cart-dialog__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-lg);
  padding: var(--space-lg);
  border-block-end: var(--rule-hair) solid var(--color-rule);
}

.k3d-cart-dialog__head h2 {
  margin: var(--space-3xs) 0 0;
  color: var(--color-ink);
  font-size: clamp(2rem, 6vw, 3.25rem);
  line-height: 0.98;
}

.k3d-cart-dialog__status {
  min-height: 1.5em;
  margin: var(--space-xs) 0 0;
  color: var(--color-muted);
  font-size: var(--text-label);
  line-height: 1.5;
}

.k3d-cart-dialog__status:empty {
  min-height: 0;
  margin: 0;
}

.k3d-cart-live {
  position: fixed;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.k3d-cart-dialog__close,
.k3d-cart-dialog__clear,
.k3d-cart-line__remove {
  min-height: 2.75rem;
  color: var(--color-muted);
  cursor: pointer;
  font-family: var(--font-outlier);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.k3d-cart-dialog__lines {
  min-height: 8rem;
}

.k3d-cart-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: var(--space-md);
  align-items: center;
  padding: var(--space-md) var(--space-lg);
  border-block-end: var(--rule-hair) solid var(--color-rule);
}

.k3d-cart-line__copy {
  min-width: 0;
  display: grid;
  gap: var(--space-3xs);
}

.k3d-cart-line__copy strong {
  overflow-wrap: anywhere;
  color: var(--color-ink);
  font-size: var(--text-base);
  line-height: 1.35;
}

/* Every span here except the SKU is muted supporting copy. This was
   `> span:last-child`, which broke the moment a second one was added: the
   configuration summary took the styling and the category line lost it. */
.k3d-cart-line__copy > span:not(.k3d-cart-line__sku) {
  color: var(--color-muted);
  font-size: var(--text-label);
  line-height: 1.5;
}

.k3d-cart-line__summary {
  overflow-wrap: anywhere;
}

.k3d-cart-line__sku {
  color: var(--color-accent);
  font-family: var(--font-outlier);
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.k3d-cart-line__qty {
  display: grid;
  gap: var(--space-3xs);
  color: var(--color-muted);
  font-family: var(--font-outlier);
  font-size: 0.625rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.k3d-cart-line__qty input {
  width: 4.25rem;
  min-height: 2.75rem;
  padding-inline: var(--space-xs);
  border: var(--rule-hair) solid var(--color-rule-strong);
  border-radius: 0;
  background: var(--color-paper-3);
  color: var(--color-ink);
  font: inherit;
  font-size: var(--text-sm);
}

.k3d-cart-line__remove {
  color: var(--color-neutral);
}

.k3d-cart-dialog__footer {
  display: grid;
  gap: var(--space-md);
  padding: var(--space-lg);
  border-block-start: var(--rule-hair) solid var(--color-rule-strong);
  background: var(--color-paper-3);
}

.k3d-cart-dialog__footer p {
  max-width: 62ch;
  margin: 0;
  color: var(--color-muted);
  font-size: var(--text-label);
  line-height: 1.6;
}

.k3d-cart-dialog__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.k3d-cart-dialog__review {
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: var(--space-md);
  border: var(--rule-hair) solid var(--color-signal);
  background: var(--color-signal);
  color: var(--color-accent-ink);
  font-family: var(--font-outlier);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}

.k3d-cart-dialog__review[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.45;
}

.k3d-cart-empty {
  min-height: 12rem;
  display: grid;
  place-content: center;
  gap: var(--space-xs);
  padding: var(--space-xl);
  text-align: center;
}

.k3d-cart-empty strong {
  color: var(--color-ink);
}

.k3d-cart-empty span {
  max-width: 34ch;
  color: var(--color-muted);
  font-size: var(--text-sm);
  line-height: 1.6;
}

@media (hover: hover) and (pointer: fine) {
  body[data-k3d-family] :where(.btn, .btn-primary, .btn-secondary, .nav-cta, .rcr-btn):hover {
    transform: translateY(-1px);
  }

  body[data-k3d-family] :where(.btn-secondary):hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
  }

  .k3d-nav__cta:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
  }

  .k3d-mega-link:hover strong,
  .k3d-nav__cart:hover,
  .k3d-mobile-drawer__links a:hover,
  .k3d-footer__group-links a:hover,
  .k3d-footer__utility-links a:hover,
  .k3d-footer__utility-links button:hover {
    color: var(--color-accent);
  }
}

@media (min-width: 40rem) {
  .k3d-nav__inner {
    gap: var(--space-sm);
  }

  .k3d-brand--nav {
    display: grid;
    grid-template-columns: max-content var(--width-brand-tagline);
    grid-template-rows: auto auto;
    column-gap: var(--space-xs);
    row-gap: var(--space-3xs);
    align-items: center;
  }

  .k3d-brand--nav .k3d-brand__mark {
    grid-column: 1;
    grid-row: 1;
    align-self: end;
  }

  .k3d-brand--nav .k3d-brand__sub {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
    margin-block-start: 0;
  }

  .k3d-brand--nav .k3d-brand__tagline {
    grid-column: 2;
    grid-row: 1 / span 2;
    display: block;
    align-self: center;
    margin-block-start: 0;
  }

  .k3d-nav__actions {
    gap: var(--space-xs);
  }

  .k3d-nav__cart {
    display: inline-flex;
  }

  .k3d-nav__signin {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    color: var(--color-muted);
    font-size: var(--text-sm);
    font-weight: 700;
    white-space: nowrap;
  }

  .k3d-nav__cta {
    padding-inline: var(--space-sm);
  }

  .k3d-footer__directory {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr) minmax(0, 0.92fr);
  }

  .k3d-footer__utility {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }

  .k3d-footer__credit {
    text-align: end;
  }
}

@media (min-width: 60rem) {
  .k3d-footer {
    padding-block-start: var(--space-2xl);
  }

  .k3d-footer__primary {
    grid-template-columns: minmax(9rem, 0.55fr) minmax(0, 2.45fr);
    gap: clamp(var(--space-xl), 6vw, var(--space-3xl));
    align-items: start;
  }

  .k3d-nav__desktop {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
  }

  .k3d-nav__trigger,
  .k3d-nav__direct {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    border: 0;
    background: transparent;
    color: var(--color-muted);
    cursor: pointer;
    font: 600 var(--text-sm)/1 var(--font-body);
    white-space: nowrap;
  }

  .k3d-nav__trigger::after {
    content: "";
    width: 0.35rem;
    height: 0.35rem;
    margin-inline-start: var(--space-2xs);
    border-inline-end: var(--rule-hair) solid currentColor;
    border-block-end: var(--rule-hair) solid currentColor;
    transform: translateY(-0.1rem) rotate(45deg);
    transition: transform var(--dur-short) var(--ease-in-out);
  }

  .k3d-nav__trigger[aria-expanded="true"],
  .k3d-nav__direct[aria-current="page"] {
    color: var(--color-ink);
  }

  .k3d-nav__trigger[aria-expanded="true"]::after {
    transform: translateY(0.1rem) rotate(225deg);
  }

  .k3d-nav__menu-button {
    display: none;
  }

  .k3d-mobile-drawer {
    display: none;
  }
}

@media (min-width: 75rem) {
  .k3d-nav__inner {
    gap: var(--space-lg);
  }

  .k3d-nav__desktop {
    gap: var(--space-lg);
  }

  .k3d-nav__actions {
    gap: var(--space-sm);
  }

  .k3d-nav__cta {
    padding-inline: var(--space-md);
  }
}

@media (max-width: 59.999rem) {
  body[data-k3d-family] :where(.section-head, .subhead) {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-md);
  }

  body[data-k3d-family] :where(.section, main > section) {
    padding-inline: var(--page-gutter);
  }

  .k3d-mega-panel {
    display: none;
  }

  body[data-k3d-family] .row,
  body[data-k3d-family] .row:has(.row-arrow) {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  body[data-k3d-family] .rows {
    padding-inline-start: 2rem;
  }

  body[data-k3d-family] .rows::before {
    inset-inline-start: 0.27rem;
  }

  body[data-k3d-family] .row-value {
    grid-column: 1;
    justify-self: start;
  }

  body[data-k3d-family] .row-arrow {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}

@media (max-width: 39.999rem) {
  :root {
    --k3d-nav-height: 4rem;
  }

  .k3d-nav__inner {
    gap: var(--space-xs);
  }

  .k3d-brand {
    font-size: var(--text-brand-mobile);
  }

  .k3d-brand--footer {
    font-size: var(--text-brand-footer);
  }

  .k3d-nav__cta {
    display: none;
  }

  body[data-k3d-family] h1 {
    font-size: clamp(2.4rem, 10vw, 3.5rem);
  }

  body[data-k3d-family] h2 {
    font-size: clamp(2rem, 8vw, 3rem);
  }

}

@media (max-width: 22rem) {
  .k3d-nav__cta {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 150ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 150ms !important;
  }

  .k3d-mobile-drawer,
  .k3d-mega-panel {
    transform: none;
  }
}

/* Shared service-page proof stills */
.k3d-proof-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
  gap: clamp(var(--space-xl), 5vw, var(--space-3xl));
  align-items: center;
}

.k3d-proof-split__copy,
.k3d-proof-media {
  min-width: 0;
}

.k3d-proof-media {
  margin: 0;
  overflow: hidden;
  border-block: var(--rule-hair) solid var(--color-rule);
  background: var(--color-paper-3);
}

.k3d-proof-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.k3d-proof-note {
  max-width: 45rem;
  margin-block-start: var(--space-lg);
  color: var(--color-muted);
  font-size: var(--text-sm);
  line-height: 1.65;
}

.k3d-proof-split--lead {
  grid-template-columns: minmax(0, 0.85fr) minmax(18rem, 1.15fr);
  margin-block-end: var(--space-xl);
}

body[data-k3d-family] .k3d-proof-split--lead > .section-head {
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-md);
  align-items: start;
  margin-block-end: 0;
}

body[data-k3d-family] .k3d-proof-split--lead > .section-head h2 {
  margin-block-end: 0;
}

.k3d-model-progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-block-end: var(--space-xl);
  border-block: var(--rule-hair) solid var(--color-rule);
}

.k3d-model-progress__stage {
  min-width: 0;
  margin: 0;
  overflow: hidden;
}

.k3d-model-progress__stage + .k3d-model-progress__stage {
  border-inline-start: var(--rule-hair) solid var(--color-rule);
}

.k3d-model-progress__stage img {
  display: block;
  width: 100%;
  height: auto;
}

.k3d-model-progress__stage figcaption {
  display: flex;
  gap: var(--space-md);
  align-items: baseline;
  justify-content: space-between;
  padding: var(--space-sm) var(--space-md);
  border-block-start: var(--rule-hair) solid var(--color-rule);
  color: var(--color-ink);
  font-size: var(--text-sm);
  font-weight: 700;
}

.k3d-model-progress__percent {
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
}

body[data-k3d-route="key3d-rebuild-catalog-replace.html"] #steps .steps {
  max-width: none;
}

body[data-k3d-route="key3d-rebuild-catalog-replace.html"] .rcr-proof-step {
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: var(--space-lg);
  padding-block-end: var(--space-2xl);
}

body[data-k3d-route="key3d-rebuild-catalog-replace.html"] .rcr-proof-step:last-child {
  padding-block-end: 0;
}

.rcr-proof-step__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.92fr);
  gap: clamp(var(--space-lg), 4vw, var(--space-2xl));
  align-items: center;
  min-width: 0;
}

.rcr-proof-step:nth-child(even) .k3d-proof-media {
  order: -1;
}

@media (max-width: 59.999rem) {
  .k3d-proof-split,
  .k3d-proof-split--lead,
  .rcr-proof-step__body {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-lg);
  }

  .rcr-proof-step__copy {
    order: 0;
  }

  .rcr-proof-step .k3d-proof-media {
    order: 1;
  }

  .rcr-proof-step:nth-child(even) .k3d-proof-media {
    order: 1;
  }

  .k3d-model-progress {
    grid-template-columns: minmax(0, 1fr);
  }

  .k3d-model-progress__stage + .k3d-model-progress__stage {
    border-block-start: var(--rule-hair) solid var(--color-rule);
    border-inline-start: 0;
  }
}

@media (max-width: 39.999rem) {
  body[data-k3d-route="key3d-rebuild-catalog-replace.html"] .rcr-proof-step {
    grid-template-columns: minmax(0, 1fr);
  }

  .rcr-proof-step > .step-numcol {
    display: none;
  }
}

/* Landing · approved KISS discovery path */
body[data-k3d-route="key3d-landing.html"] {
  --home-rule: color-mix(in oklch, var(--color-ink) 10%, transparent);
  --home-rule-soft: color-mix(in oklch, var(--color-ink) 6%, transparent);
}

body[data-k3d-route="key3d-landing.html"] main {
  display: block;
}

.k3d-home-wrap {
  width: min(80rem, calc(100% - (2 * var(--page-gutter))));
  margin-inline: auto;
}

.k3d-home-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.35rem;
  padding: 0 var(--space-lg);
  border: var(--rule-hair) solid color-mix(in oklch, var(--color-ink) 24%, transparent);
  color: var(--color-ink);
  font-family: var(--font-mono);
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: var(--tracking-label);
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  transition:
    background var(--dur-short) var(--ease-out),
    border-color var(--dur-short) var(--ease-out),
    color var(--dur-short) var(--ease-out),
    transform var(--dur-short) var(--ease-out);
}

.k3d-home-button[aria-disabled="true"],
.k3d-home-button:disabled,
.k3d-discovery-tab:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.k3d-home-button--primary {
  border-color: var(--color-signal);
  background: linear-gradient(90deg, var(--color-focus), var(--color-signal));
  color: var(--color-accent-ink);
}

.k3d-home-button:active {
  transform: translateY(var(--rule-fine));
}

.k3d-home-inline-pipe {
  padding-inline: 0.28em;
  color: color-mix(in oklch, var(--color-accent) 80%, transparent);
  font-family: var(--font-mono);
}

.k3d-home-hero {
  position: relative;
  min-height: min(56rem, 100svh);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--color-paper);
}

.k3d-home-hero__media,
.k3d-home-hero__media::after {
  position: absolute;
  inset: 0;
}

.k3d-home-hero__media video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 50%;
  filter: saturate(0.72) contrast(1.06);
}

@media (min-width: 60rem) {
  .k3d-home-hero__media {
    inset-inline-start: clamp(22rem, 55vw, 66rem);
  }

  .k3d-home-hero__media video {
    transform: none;
  }
}

.k3d-home-hero__media::after {
  content: "";
  background:
    linear-gradient(90deg, color-mix(in oklch, var(--color-paper) 98%, transparent) 0%, color-mix(in oklch, var(--color-paper) 84%, transparent) 44%, color-mix(in oklch, var(--color-paper) 34%, transparent) 78%, color-mix(in oklch, var(--color-paper) 66%, transparent) 100%),
    linear-gradient(0deg, var(--color-paper) 0%, transparent 50%);
}

.k3d-home-hero__content {
  position: relative;
  z-index: 1;
  padding-block: clamp(10rem, 17vh, 12.5rem) clamp(15rem, 26vh, 18rem);
}

.k3d-home-hero__copy {
  max-width: 56rem;
}

body[data-k3d-route="key3d-landing.html"] .k3d-home-hero h1 {
  max-width: 24ch;
  margin: 0;
  color: var(--color-ink);
  font-size: clamp(2.6rem, 4.6vw, 4.5rem);
  letter-spacing: -0.055em;
  line-height: 0.94;
}

.k3d-home-hero__accent {
  display: block;
  color: var(--color-signal);
}

.k3d-home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-block-start: var(--space-lg);
}

.k3d-home-hero__note {
  margin-block-start: var(--space-xs);
  color: var(--color-neutral);
  font-size: var(--text-small);
}

.k3d-home-proof {
  position: absolute;
  z-index: 2;
  inset-inline: 0;
  inset-block-end: 0;
  border-block-start: var(--rule-hair) solid var(--home-rule);
  background: color-mix(in oklch, var(--color-paper) 88%, transparent);
  backdrop-filter: blur(1rem) saturate(120%);
}

.k3d-home-proof__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.k3d-home-proof__item {
  min-height: 11.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-lg);
  border-inline-start: var(--rule-hair) solid var(--home-rule-soft);
  background: color-mix(in oklch, var(--color-paper-2) 62%, transparent);
}

.k3d-home-proof__item:nth-child(2),
.k3d-home-proof__item:nth-child(3) {
  background: color-mix(in oklch, var(--color-paper-3) 72%, transparent);
}

.k3d-home-proof__item:last-child {
  border-inline-end: var(--rule-hair) solid var(--home-rule-soft);
}

.k3d-home-proof__item .k3d-home-proof__value {
  color: var(--color-signal);
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 3.15rem);
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.k3d-home-proof__item b {
  margin-block-start: var(--space-xs);
  color: var(--color-ink);
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  font-weight: 750;
  line-height: 1.25;
}

.k3d-home-proof__item span {
  margin-block-start: var(--space-2xs);
  color: var(--color-muted);
  font-size: var(--text-small);
  line-height: 1.5;
}

body[data-k3d-route="key3d-landing.html"] .k3d-home-section {
  position: relative;
  padding: clamp(5.5rem, 9vw, 8rem) 0;
  background:
    linear-gradient(
      180deg,
      var(--color-paper) 0,
      var(--color-paper-2) clamp(5rem, 10vw, 9rem),
      var(--color-paper-2) calc(100% - clamp(5rem, 10vw, 9rem)),
      var(--color-paper) 100%
    );
}

body[data-k3d-route="key3d-landing.html"] .k3d-home-section--deep {
  background:
    linear-gradient(
      180deg,
      var(--color-paper) 0,
      color-mix(in oklch, var(--color-paper-2) 58%, var(--color-paper)) clamp(5rem, 10vw, 9rem),
      color-mix(in oklch, var(--color-paper-2) 58%, var(--color-paper)) calc(100% - clamp(5rem, 10vw, 9rem)),
      var(--color-paper) 100%
    );
}

.k3d-home-section__head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.75fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: end;
  margin-block-end: clamp(2.75rem, 5vw, 4.5rem);
}

body[data-k3d-route="key3d-landing.html"] .k3d-home-section__head h2 {
  margin: 0;
  max-width: 15ch;
  font-size: clamp(2.75rem, 5.3vw, 4.9rem);
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.k3d-home-section__head h2 span {
  color: var(--color-signal);
}

.k3d-home-section__head > p {
  margin: 0;
  color: var(--color-muted);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.75;
}

.k3d-home-service-list {
  position: relative;
  padding-inline-start: var(--space-xl);
  border-block-start: var(--rule-hair) solid var(--home-rule);
}

.k3d-home-service-list::before {
  content: "";
  position: absolute;
  inset-block: var(--space-lg);
  inset-inline-start: var(--space-xs);
  width: var(--rule-hair);
  background: var(--color-rule);
}

.k3d-home-service {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(13rem, 16rem);
  gap: clamp(1.5rem, 3.5vw, 3rem);
  align-items: center;
  min-height: 13.5rem;
  padding-block: var(--space-lg);
  border-block-end: var(--rule-hair) solid var(--home-rule);
}

.k3d-home-service__copy h3 {
  margin: 0 0 var(--space-xs);
  color: var(--color-ink);
  font-size: clamp(1.45rem, 2.1vw, 2rem);
}

.k3d-home-service__copy p {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.7;
}

.k3d-home-text-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  margin-block-start: var(--space-sm);
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  white-space: nowrap;
}

.k3d-home-service__media {
  height: 10rem;
  overflow: hidden;
  background: var(--color-paper-3);
}

.k3d-home-service__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.k3d-home-process {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-xl);
}

.k3d-home-step p {
  margin-block-start: var(--space-xs);
  color: var(--color-muted);
  font-size: var(--text-small);
  line-height: 1.6;
}

.k3d-home-step {
  min-height: 13rem;
  display: flex;
  flex-direction: column;
}

.k3d-home-step .k3d-home-text-link {
  margin-block-start: auto;
  padding-block-start: var(--space-lg);
}

.k3d-home-step h3 {
  margin: 0;
  color: var(--color-ink);
  font-size: 1.45rem;
}

.k3d-home-fit__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--rule-hair);
  background: var(--home-rule);
}

.k3d-home-fit__column,
.k3d-home-fit__media {
  min-height: 36rem;
  background: var(--color-paper);
}

.k3d-home-fit__column {
  padding: clamp(1.75rem, 3.2vw, 2.75rem);
}

.k3d-home-fit__title {
  display: grid;
  align-content: start;
  margin-block-end: var(--space-md);
}

body[data-k3d-route="key3d-landing.html"] .k3d-home-fit__column-title {
  min-block-size: var(--space-2xl);
  min-width: 0;
  margin: 0;
  color: var(--color-ink);
  font-size: clamp(2rem, 2.8vw, 2.75rem);
  letter-spacing: -0.04em;
  line-height: 1;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

body[data-k3d-route="key3d-landing.html"] .k3d-home-fit__column--composite .k3d-home-fit__column-title {
  color: var(--color-signal);
}

.k3d-home-fit__column-title--branded {
  display: grid;
}

.k3d-home-fit__column-title-line {
  min-width: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3xs);
}

.k3d-home-fit__column-title-line > span:last-child {
  min-width: 0;
  white-space: nowrap;
}

.k3d-home-fit__column-title-line > .k3d-home-fit__brand {
  position: relative;
  inset-block-start: var(--space-3xs);
}

.k3d-home-fit__brand {
  flex: 0 0 auto;
  display: inline-flex;
  flex-direction: column;
  color: var(--color-ink);
  white-space: nowrap;
}

.k3d-home-fit__brand-mark {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-style: italic;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

.k3d-home-fit__brand-mark .k3d-ast {
  color: var(--color-signal);
}

.k3d-home-fit__brand-sub {
  margin-block-start: var(--space-3xs);
  color: var(--color-muted);
  font-family: var(--font-outlier);
  font-size: var(--text-brand-sub);
  font-style: normal;
  font-weight: 500;
  letter-spacing: var(--tracking-brand-sub);
  line-height: 1;
  text-transform: uppercase;
}

@media (max-width: 63.999rem) {
  .k3d-home-fit__column-title--branded {
    row-gap: var(--space-3xs);
  }
}

@media (max-width: 22rem) {
  body[data-k3d-route="key3d-landing.html"] .k3d-home-fit__column-title--branded {
    font-size: 1.75rem;
  }
}

@media (min-width: 60rem) and (max-width: 63.999rem) {
  body[data-k3d-route="key3d-landing.html"] .k3d-home-fit__column-title {
    font-size: 1.75rem;
  }
}

.k3d-home-fit__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.k3d-home-fit__list li {
  position: relative;
  max-width: none;
  padding: var(--space-sm) 0 var(--space-sm) var(--space-lg);
  border-block-start: var(--rule-hair) solid var(--home-rule-soft);
  color: var(--color-muted);
  font-size: clamp(0.95rem, 1.2vw, 1.08rem);
  line-height: 1.55;
}

.k3d-home-fit__list li::before {
  content: "|";
  position: absolute;
  inset-inline-start: 0;
  color: color-mix(in oklch, var(--color-ink) 38%, transparent);
  font-family: var(--font-mono);
}

.k3d-home-fit__column--composite .k3d-home-fit__list li {
  color: var(--color-accent);
  font-weight: 650;
}

.k3d-home-fit__column--composite .k3d-home-fit__list li::before {
  content: "+";
  color: var(--color-signal);
}

.k3d-home-fit__media {
  position: relative;
  overflow: hidden;
}

.k3d-home-fit__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, color-mix(in oklch, var(--color-paper) 80%, transparent), transparent 62%);
}

.k3d-home-fit__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.k3d-home-fit__media figcaption {
  position: absolute;
  z-index: 1;
  inset-inline: var(--space-lg);
  inset-block-end: var(--space-lg);
  color: var(--color-ink);
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  font-weight: 750;
  line-height: 1.35;
}

.k3d-home-fit__note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-lg);
  align-items: center;
  padding: var(--space-lg);
  border: var(--rule-hair) solid var(--home-rule);
  border-block-start: 0;
}

.k3d-home-fit__note p {
  margin: 0;
  color: var(--color-muted);
}

.k3d-home-fit__note strong {
  color: var(--color-ink);
}

.k3d-home-fit__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: var(--space-xs);
}

.k3d-home-fit__links a {
  padding: var(--space-xs) var(--space-sm);
  border: var(--rule-hair) solid var(--home-rule);
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.k3d-home-fit__footnote {
  max-width: 68rem;
  margin: var(--space-md) auto 0;
  color: var(--color-neutral);
  font-size: var(--text-small);
  line-height: 1.65;
  text-align: center;
}

.k3d-home-fit__footnote + .k3d-home-fit__footnote {
  margin-block-start: var(--space-2xs);
}

@media (hover: hover) and (pointer: fine) {
  .k3d-home-button:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
  }

  .k3d-home-button--primary:hover {
    border-color: var(--color-accent);
    background: var(--color-accent);
    color: var(--color-accent-ink);
  }

  .k3d-home-text-link:hover {
    color: var(--color-signal);
  }

  .k3d-home-service__media img {
    transition: transform var(--dur-long) var(--ease-out);
  }

  .k3d-home-service:hover .k3d-home-service__media img {
    transform: scale(1.025);
  }
}

@media (max-width: 63.999rem) {
  .k3d-home-process {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-xl);
  }

  .k3d-home-step {
    min-height: 0;
    display: block;
  }

  .k3d-home-step .k3d-home-text-link {
    margin-block-start: var(--space-md);
    padding-block-start: 0;
  }
}

@media (max-width: 59.999rem) {
  .k3d-home-hero {
    min-height: 54rem;
  }

  .k3d-home-hero__content {
    padding-block: 9rem 25rem;
  }

  .k3d-home-hero__media::after {
    background:
      linear-gradient(0deg, var(--color-paper) 4%, color-mix(in oklch, var(--color-paper) 72%, transparent) 68%, color-mix(in oklch, var(--color-paper) 80%, transparent));
  }

  body[data-k3d-route="key3d-landing.html"] .k3d-home-hero h1 {
    max-width: 24ch;
    font-size: clamp(1.95rem, 5.6vw, 3rem);
  }

  .k3d-home-section__head {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .k3d-home-service {
    grid-template-columns: minmax(0, 1fr) minmax(12rem, 14rem);
  }

  .k3d-home-service__media {
    grid-column: auto;
    height: 11rem;
  }

  .k3d-home-fit__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  body[data-k3d-route="key3d-landing.html"] .k3d-home-fit__column-title {
    min-block-size: 0;
  }

  .k3d-home-fit__column,
  .k3d-home-fit__media {
    min-height: 0;
  }

  .k3d-home-fit__media {
    height: 28rem;
    min-height: 28rem;
    grid-row: 2;
  }

  .k3d-home-fit__note {
    grid-template-columns: 1fr;
  }

  .k3d-home-fit__links {
    justify-content: start;
  }
}

@media (max-width: 44rem) {
  .k3d-home-hero {
    min-height: 58rem;
  }

  .k3d-home-hero__content {
    padding-block: 8.5rem 28rem;
  }

  .k3d-home-actions {
    display: grid;
  }

  .k3d-home-button {
    width: 100%;
    padding-inline: var(--space-sm);
  }

  .k3d-home-proof__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .k3d-home-proof__item {
    min-height: 10rem;
    padding: var(--space-md);
  }

  .k3d-home-proof__item:nth-child(n + 3) {
    border-block-start: var(--rule-hair) solid var(--home-rule-soft);
  }

  .k3d-home-proof__item .k3d-home-proof__value {
    font-size: clamp(1.7rem, 7vw, 2.35rem);
  }

  .k3d-home-proof__item b {
    font-size: 0.92rem;
  }

  .k3d-home-proof__item span {
    font-size: 0.72rem;
  }

  .k3d-home-service {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-sm);
  }

  .k3d-home-service__media {
    grid-column: 1;
    height: 13rem;
  }

  .k3d-home-fit__column {
    padding: var(--space-md);
  }

  .k3d-home-fit__title {
    min-height: 0;
    margin-block-end: var(--space-md);
  }

  .k3d-home-fit__media {
    height: 23rem;
    min-height: 23rem;
  }

  .k3d-home-fit__note {
    padding: var(--space-md);
  }

  .k3d-home-fit__links {
    display: grid;
  }
}

/* Landing comparison: remove the figure frame and dissolve the proof image into both columns. */
body[data-k3d-route="key3d-landing.html"] .k3d-home-fit__grid {
  isolation: isolate;
}

body[data-k3d-route="key3d-landing.html"] .k3d-home-fit__column {
  position: relative;
  z-index: var(--z-base);
}

body[data-k3d-route="key3d-landing.html"] .k3d-home-fit__media {
  z-index: var(--z-raised);
  width: calc(100% + var(--space-md) + var(--space-md));
  margin: 0 calc(-1 * var(--space-md));
  background: transparent;
}

body[data-k3d-route="key3d-landing.html"] .k3d-home-fit__media img,
body[data-k3d-route="key3d-landing.html"] .k3d-home-fit__media::after {
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0,
    var(--color-ink) var(--space-md),
    var(--color-ink) calc(100% - var(--space-md)),
    transparent 100%
  );
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-image: linear-gradient(
    90deg,
    transparent 0,
    var(--color-ink) var(--space-md),
    var(--color-ink) calc(100% - var(--space-md)),
    transparent 100%
  );
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
}

body[data-k3d-route="key3d-landing.html"] .k3d-home-fit__media figcaption {
  inset-inline: calc(var(--space-lg) + var(--space-md));
  font-size: var(--text-base);
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  text-wrap: balance;
}

@media (max-width: 59.999rem) {
  body[data-k3d-route="key3d-landing.html"] .k3d-home-fit__media {
    width: 100%;
    height: calc(28rem + var(--space-md) + var(--space-md));
    min-height: calc(28rem + var(--space-md) + var(--space-md));
    margin: calc(-1 * var(--space-md)) 0;
  }

  body[data-k3d-route="key3d-landing.html"] .k3d-home-fit__media img,
  body[data-k3d-route="key3d-landing.html"] .k3d-home-fit__media::after {
    -webkit-mask-image: linear-gradient(
      180deg,
      transparent 0,
      var(--color-ink) var(--space-md),
      var(--color-ink) calc(100% - var(--space-md)),
      transparent 100%
    );
    mask-image: linear-gradient(
      180deg,
      transparent 0,
      var(--color-ink) var(--space-md),
      var(--color-ink) calc(100% - var(--space-md)),
      transparent 100%
    );
  }

  body[data-k3d-route="key3d-landing.html"] .k3d-home-fit__media figcaption {
    inset-inline: var(--space-lg);
    inset-block-end: calc(var(--space-lg) + var(--space-md));
  }
}

@media (max-width: 44rem) {
  body[data-k3d-route="key3d-landing.html"] .k3d-home-fit__media {
    height: calc(23rem + var(--space-md) + var(--space-md));
    min-height: calc(23rem + var(--space-md) + var(--space-md));
  }
}

/* Applications & industries · catalogue switchboard */
.k3d-discovery {
  padding-block-start: var(--k3d-nav-height);
}

.k3d-discovery-hero {
  padding: clamp(6rem, 11vw, 9rem) var(--page-gutter) clamp(4rem, 7vw, 6rem);
  background:
    linear-gradient(180deg, var(--color-paper) 0%, var(--color-paper-2) 78%, var(--color-paper) 100%);
}

.k3d-discovery-wrap {
  width: min(80rem, 100%);
  margin-inline: auto;
}

body[data-k3d-route="key3d-industries.html"] .k3d-discovery-hero h1 {
  max-width: 15ch;
  min-width: 0;
  margin: 0;
  font-size: var(--text-display-s);
  letter-spacing: -0.035em;
  line-height: 0.98;
  overflow-wrap: anywhere;
}

.k3d-discovery-hero h1 span {
  display: block;
  color: var(--color-signal);
}

.k3d-discovery-hero__support {
  max-width: 34rem;
  min-width: 0;
  margin-block-start: var(--space-xl);
}

.k3d-discovery-hero__lead,
.k3d-discovery-hero__copy {
  margin: 0;
}

.k3d-discovery-hero__lead {
  max-width: 13ch;
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: clamp(var(--text-xl), 3vw, var(--text-3xl));
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
}

.k3d-discovery-hero__copy {
  max-width: 50ch;
  margin-block-start: var(--space-sm);
  color: var(--color-muted);
  font-size: var(--text-base);
  line-height: 1.65;
}

@media (min-width: 60rem) {
  .k3d-discovery-hero > .k3d-discovery-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(20rem, 0.7fr);
    align-items: end;
    gap: clamp(var(--space-xl), 7vw, var(--space-3xl));
  }

  .k3d-discovery-hero__support {
    width: auto;
    margin-block-start: 0;
    padding-inline-start: var(--space-lg);
    border-inline-start: var(--rule-hair) solid var(--color-accent);
  }
}

.k3d-discovery-shell {
  padding: 0 var(--page-gutter) clamp(6rem, 10vw, 9rem);
  background:
    linear-gradient(
      180deg,
      var(--color-paper) 0%,
      var(--color-paper-2) clamp(5rem, 9vw, 8rem),
      var(--color-paper-2) calc(100% - clamp(5rem, 9vw, 8rem)),
      var(--color-paper) 100%
    );
}

.k3d-discovery-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-block: var(--rule-hair) solid var(--color-rule);
}

.k3d-discovery-tab {
  position: relative;
  min-height: 6.5rem;
  padding: var(--space-md);
  appearance: none;
  border: 0;
  border-inline-start: var(--rule-hair) solid var(--color-rule);
  background: transparent;
  color: var(--color-muted);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  text-align: start;
  white-space: nowrap;
}

.k3d-discovery-tab:last-child {
  border-inline-end: var(--rule-hair) solid var(--color-rule);
}

.k3d-discovery-tab small {
  display: block;
  margin-block-start: var(--space-xs);
  color: var(--color-neutral);
  font-family: var(--font-mono);
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
}

.k3d-discovery-tab[aria-selected="true"] {
  color: var(--color-ink);
  background: color-mix(in oklch, var(--color-accent) 6%, transparent);
}

.k3d-discovery-tab[aria-selected="true"]::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-end: calc(-1 * var(--rule-fine));
  height: 0.2rem;
  background: var(--color-signal);
}

.k3d-discovery-panel {
  padding-block-start: clamp(3.5rem, 7vw, 6rem);
}

.k3d-discovery-panel[hidden] {
  display: none;
}

.k3d-discovery-panel__head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.75fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: end;
  margin-block-end: clamp(2.5rem, 5vw, 4rem);
}

body[data-k3d-route="key3d-industries.html"] .k3d-discovery-panel__head h2 {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(2.5rem, 4.8vw, 4.5rem);
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.k3d-discovery-panel__head p {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.75;
}

/* Hallmark · component: discovery navigator · genre: modern-minimal · design-system: design.md
 * structure: persistent selector column + one open brief · enrichment: none
 * mirrors the manufacturer problem navigator so both discovery surfaces read as one system
 */
.k3d-discovery-navigator {
  display: grid;
  min-width: 0;
  border-block-start: var(--rule-hair) solid var(--color-rule);
  color: var(--color-ink-2);
}

.k3d-discovery-nav {
  display: grid;
  align-content: start;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-block-end: var(--rule-hair) solid var(--color-rule);
}

.k3d-discovery-nav__legend {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.k3d-discovery-nav__list {
  display: grid;
  align-content: start;
  min-width: 0;
}

.k3d-discovery-nav__item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-sm);
  width: 100%;
  min-width: 0;
  min-height: 3.5rem;
  padding: var(--space-sm);
  border: 0;
  border-inline-start: var(--rule-fine) solid transparent;
  background: transparent;
  color: var(--color-muted);
  font-family: var(--font-body);
  text-align: start;
  cursor: pointer;
  transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out);
}

.k3d-discovery-nav__control {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  cursor: pointer;
}

.k3d-discovery-nav__marker {
  grid-column: -2 / -1;
  justify-self: end;
}

.k3d-discovery-nav__marker::after {
  content: "+";
  color: var(--color-neutral);
  font-family: var(--font-outlier);
  font-size: var(--text-sm);
}

.k3d-discovery-nav__item:has(.k3d-discovery-nav__control:checked) {
  border-inline-start-color: var(--color-accent);
  color: var(--color-ink);
}

.k3d-discovery-nav__item:has(.k3d-discovery-nav__control:checked) .k3d-discovery-nav__marker::after {
  content: "\2192";
  color: var(--color-accent);
}

.k3d-discovery-nav__item:has(.k3d-discovery-nav__control:focus-visible) {
  outline: var(--rule-fine) solid var(--color-focus);
  outline-offset: var(--space-2xs);
  box-shadow: 0 0 0 var(--rule-fine) var(--color-paper);
  z-index: var(--z-raised);
}

.k3d-discovery-nav__item:has(.k3d-discovery-nav__control:active) {
  color: var(--color-ink);
}

.k3d-discovery-nav__label,
.k3d-discovery-nav__outcome {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.k3d-discovery-nav__label {
  font-size: var(--text-base);
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--color-ink-2);
}

.k3d-discovery-nav__outcome {
  display: none;
  color: var(--color-neutral);
  font-size: var(--text-sm);
}

.k3d-discovery-nav__item:has(.k3d-discovery-nav__control:checked) .k3d-discovery-nav__label {
  color: var(--color-ink);
}

.k3d-discovery-nav__item:has(.k3d-discovery-nav__control:checked) .k3d-discovery-nav__outcome {
  color: var(--color-muted);
}

.k3d-discovery-briefs {
  min-width: 0;
  color: var(--color-ink-2);
  container: k3d-discovery-brief / inline-size;
}

.k3d-discovery-brief {
  min-width: 0;
}

.k3d-discovery-brief[hidden] {
  display: none;
}

.k3d-discovery-brief__media {
  display: grid;
  grid-template-rows: auto auto;
  width: 100%;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: var(--color-paper-3);
  color: var(--color-ink-2);
}

.k3d-discovery-brief__media img {
  display: block;
  width: 100%;
  height: clamp(14rem, 30cqw, 26rem);
  min-height: 0;
  object-fit: cover;
  filter: saturate(0.8);
}

.k3d-discovery-brief__media figcaption {
  padding: var(--space-xs) var(--space-sm);
  color: var(--color-neutral);
  font-size: var(--text-sm);
  line-height: 1.5;
}

.k3d-discovery-brief__body {
  display: grid;
  gap: var(--space-md);
  min-width: 0;
  padding: var(--space-lg);
}

.k3d-discovery-brief__header {
  display: grid;
  gap: var(--space-xs);
  min-width: 0;
}

body[data-k3d-family] .k3d-discovery-brief__header h3 {
  min-width: 0;
  max-width: 20ch;
  margin: 0;
  font-size: clamp(1.6rem, 2.6vw, 2.25rem);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.k3d-discovery-brief__context {
  max-width: var(--measure);
  margin: 0;
  color: var(--color-muted);
  font-size: clamp(var(--text-base), 1.5vw, var(--text-md));
  line-height: 1.6;
}

.k3d-discovery-brief__grid {
  display: grid;
  gap: 0;
  min-width: 0;
  padding-block-start: var(--space-sm);
}

.k3d-discovery-brief__block {
  display: grid;
  align-content: start;
  gap: var(--space-xs);
  min-width: 0;
}

.k3d-discovery-brief__block + .k3d-discovery-brief__block {
  padding-block-start: var(--space-lg);
}

body[data-k3d-family] .k3d-discovery-brief__block h4 {
  margin: 0;
  color: var(--color-ink);
  font-size: clamp(var(--text-base), 2vw, var(--text-md));
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

body[data-k3d-family] .k3d-discovery-brief__block--lead h4 {
  color: var(--color-accent);
}

.k3d-discovery-brief__block p {
  margin: 0;
  max-width: var(--measure);
  color: var(--color-ink-2);
  font-size: var(--text-base);
  line-height: 1.65;
}

.k3d-discovery-navigator:not([data-enhanced="true"]) .k3d-discovery-nav {
  display: none;
}

.k3d-discovery-navigator:not([data-enhanced="true"]) .k3d-discovery-brief[hidden] {
  display: block;
}

.k3d-discovery-navigator:not([data-enhanced="true"]) .k3d-discovery-brief + .k3d-discovery-brief {
  border-block-start: var(--rule-hair) solid var(--color-rule);
}

@container k3d-discovery-brief (min-width: 42rem) {
  .k3d-discovery-brief__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .k3d-discovery-brief__block + .k3d-discovery-brief__block {
    padding-block-start: 0;
    padding-inline-start: var(--space-lg);
  }
}

/* Hallmark · component: buyer-journey commitment list · genre: modern-minimal · design-system: design.md
 * structure: unboxed Review / Start / Engineer / Repeat sequence · enrichment: none
 * pre-emit critique: P5 H5 E5 S5 R5 V4
 */
.k3d-discovery-commitments {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-xl);
  align-items: start;
  margin-block-start: clamp(var(--space-2xl), 8vw, var(--space-3xl));
}

.k3d-discovery-commitments__intro {
  display: grid;
  gap: var(--space-md);
}

.k3d-discovery-commitments__intro h2 {
  max-width: 13ch;
  min-width: 0;
  margin: 0;
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-style: normal;
  line-height: 1.05;
  letter-spacing: var(--tracking-display);
  overflow-wrap: anywhere;
}

.k3d-discovery-commitments__intro p {
  max-width: 45ch;
  margin: 0;
  color: var(--color-muted);
  line-height: 1.7;
}

.k3d-discovery-commitments__list {
  display: grid;
  gap: var(--space-xl);
  margin: 0;
  padding: 0;
  list-style: none;
}

.k3d-discovery-commitment {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-xs);
  align-items: start;
  min-width: 0;
}

.k3d-discovery-commitment__stage {
  padding-block-start: 0;
  color: var(--color-accent);
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 700;
  line-height: 1.4;
}

.k3d-discovery-commitment__copy {
  display: grid;
  gap: var(--space-xs);
  min-width: 0;
}

.k3d-discovery-commitment__copy > strong,
.k3d-discovery-commitment__terms strong {
  display: block;
  color: var(--color-ink);
  font-size: var(--text-md);
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.k3d-discovery-commitment__terms {
  display: grid;
  gap: var(--space-3xs);
}

.k3d-discovery-commitment__copy p {
  max-width: 52ch;
  margin: 0;
  color: var(--color-ink-2);
  font-size: var(--text-base);
  line-height: 1.6;
}

@media (min-width: 44.001rem) {
  .k3d-discovery-commitment {
    grid-template-columns: minmax(5.5rem, 0.28fr) minmax(0, 1fr);
    gap: var(--space-lg);
  }

  .k3d-discovery-commitment__stage {
    padding-block-start: var(--space-3xs);
  }
}

@media (min-width: 60rem) {
  .k3d-discovery-commitments {
    grid-template-columns: minmax(14rem, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(var(--space-xl), 7vw, var(--space-3xl));
  }
}

body[data-k3d-route="key3d-industries.html"] .k3d-discovery-cta {
  padding: clamp(6rem, 10vw, 9rem) var(--page-gutter);
  background: var(--color-paper);
  text-align: center;
}

.k3d-discovery-cta__inner {
  max-width: 58rem;
  margin-inline: auto;
}

body[data-k3d-route="key3d-industries.html"] .k3d-discovery-cta h2 {
  margin: 0;
  font-size: clamp(3rem, 6vw, 5rem);
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.k3d-discovery-cta h2 span {
  display: block;
  color: var(--color-signal);
}

.k3d-discovery-cta p {
  margin: var(--space-md) auto 0;
  color: var(--color-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.k3d-discovery-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-xs);
  margin-block-start: var(--space-lg);
}

@media (hover: hover) and (pointer: fine) {
  .k3d-discovery-tab:hover {
    color: var(--color-ink);
  }

  .k3d-discovery-nav__item:not(:has(.k3d-discovery-nav__control:checked)):hover {
    color: var(--color-ink);
  }

  .k3d-discovery-nav__item:not(:has(.k3d-discovery-nav__control:checked)):hover .k3d-discovery-nav__label {
    color: var(--color-accent);
  }
}

@media (max-width: 59.999rem) {
  .k3d-discovery-panel__head {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

}

@media (max-width: 44rem) {
  .k3d-discovery-tabs {
    margin-inline: calc(-1 * var(--page-gutter));
  }

  .k3d-discovery-tab {
    min-height: 5.5rem;
    padding: var(--space-sm);
    font-size: 1.2rem;
  }

  .k3d-discovery-brief__body {
    padding: var(--space-md);
  }

  .k3d-discovery-cta__actions {
    display: grid;
  }
}

@media (max-width: 22rem) {
  body[data-k3d-route="key3d-industries.html"] .k3d-discovery-hero h1 {
    font-size: 2rem;
  }

  .k3d-discovery-hero__lead {
    font-size: var(--text-lg);
  }
}

/* Shared material-performance explorer */
.k3d-material {
  border-block: var(--rule-hair) solid var(--color-rule);
}

.k3d-material__selector {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-inline-start: var(--rule-hair) solid var(--color-rule);
}

.k3d-material__selector button {
  min-width: 0;
  min-height: 6.25rem;
  display: grid;
  align-content: center;
  gap: var(--space-2xs);
  padding: var(--space-sm);
  border: 0;
  border-inline-end: var(--rule-hair) solid var(--color-rule);
  background: var(--color-paper-2);
  color: var(--color-muted);
  cursor: pointer;
  text-align: start;
  transition:
    background-color var(--dur-short) var(--ease-out),
    color var(--dur-short) var(--ease-out),
    transform var(--dur-micro) var(--ease-out);
}

.k3d-material__selector button strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: inherit;
  font-size: var(--text-small);
  line-height: 1.3;
}

/* Spelled-out chemistry beneath each material name. Not a <span>: that selector
   already styles the cost multiplier. */
.k3d-material__selector button small {
  min-width: 0;
  /* Two lines reserved so every column's cost multiplier stays on one baseline
     even when a longer chemistry name wraps. */
  min-height: 2.7em;
  overflow-wrap: anywhere;
  color: var(--color-neutral);
  font-size: 0.6875rem;
  font-style: normal;
  line-height: 1.35;
}

.k3d-material__selector button[aria-pressed="true"] small {
  color: var(--color-muted);
}

.k3d-material__selector button span {
  color: var(--color-neutral);
  font-family: var(--font-outlier);
  font-size: var(--text-label);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.k3d-material__selector button[aria-pressed="true"] {
  background: color-mix(in oklch, var(--color-accent) 9%, var(--color-paper-3));
  color: var(--color-signal);
}

.k3d-material__selector button[aria-pressed="true"] span {
  color: var(--color-accent);
}

.k3d-material__selector button:active {
  transform: translateY(1px);
}

.k3d-material__stage {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr) minmax(17rem, 0.9fr);
  align-items: stretch;
  border-inline-start: var(--rule-hair) solid var(--color-rule);
}

.k3d-material__photo,
.k3d-material__radar,
.k3d-material__detail {
  min-width: 0;
  margin: 0;
  border-inline-end: var(--rule-hair) solid var(--color-rule);
  background: var(--color-paper);
}

.k3d-material__photo {
  display: grid;
  grid-template-rows: minmax(15rem, 1fr) auto;
}

.k3d-material__photo img {
  width: 100%;
  height: 100%;
  min-height: 15rem;
  display: block;
  object-fit: cover;
  filter: saturate(0.82);
}

.k3d-material__photo figcaption {
  display: grid;
  gap: var(--space-2xs);
  padding: var(--space-md);
  border-block-start: var(--rule-hair) solid var(--color-rule-2);
  background: var(--color-paper-2);
}

.k3d-material__photo figcaption strong {
  color: var(--color-ink);
  font-size: 1.05rem;
}

.k3d-material__photo figcaption span {
  color: var(--color-muted);
  font-size: var(--text-small);
  line-height: 1.55;
}

.k3d-material__radar {
  display: grid;
  align-content: center;
  padding: var(--space-md);
  /* The chart lays itself out against this box, not the viewport. On the services
     page the stage is roughly 314px wide at a 768px viewport, so a viewport media
     query would drop the bars into two columns far too early and overflow them. */
  container-type: inline-size;
  container-name: matbar;
}

/* Four-measure comparison bars, replacing the six-axis radar. Two of that chart's
 * axes were not measurements: cost value was a Key3D business index plotted raw
 * against log-scaled physics, and flexibility was 105 minus stiffness, so it
 * carried nothing stiffness did not. Of the remaining measures, three of the six
 * heat values are not published by any source. Bars can render an absent value as
 * absent; a polygon has to invent a vertex. */
.k3d-material__chart-title {
  margin: 0 0 var(--space-sm);
  color: var(--color-neutral);
  font-family: var(--font-body);
  font-size: var(--text-label);
  font-weight: 500;
  line-height: 1.4;
}

/* Three-axis shape comparison sitting above the bars. Heat is not an axis here
   because TPU and both metals publish no value for it, and a polygon cannot carry
   a hole. Membership is computed from the data in key3d-materials.js, so a material
   appears the moment its missing value is sourced. */
.k3d-matradar {
  display: grid;
  justify-items: center;
  gap: var(--space-2xs);
  margin-block-end: var(--space-md);
}

.k3d-matradar svg {
  inline-size: 100%;
  max-inline-size: 21rem;
  block-size: auto;
  display: block;
}

.k3d-matradar__grid,
.k3d-matradar__spoke {
  fill: none;
  stroke: var(--color-rule);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.k3d-matradar__axis {
  fill: var(--color-muted);
  font-family: var(--font-outlier);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.k3d-matradar__shape {
  fill: none;
  stroke-linejoin: round;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.k3d-matradar__shape--active {
  fill: color-mix(in oklch, var(--color-signal) 15%, transparent);
  stroke: var(--color-signal);
  stroke-width: 2.5;
}

.k3d-matradar__shape--al {
  stroke: color-mix(in oklch, var(--color-ink-2) 34%, transparent);
  stroke-dasharray: 6 4;
}

.k3d-matradar__shape--steel {
  stroke: color-mix(in oklch, var(--color-ink-2) 58%, transparent);
}

.k3d-matradar__dot {
  fill: var(--color-signal);
}

.k3d-matradar__legend {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3xs) var(--space-sm);
  color: var(--color-neutral);
  font-size: var(--text-xs);
  line-height: 1.35;
}

.k3d-matradar__legend li {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3xs);
}

/* Line swatches, because the radar draws outlines. The bar legend below uses
   solid blocks to match its fills. */
.k3d-matradar__key {
  inline-size: 1.375rem;
  block-size: 0;
  border-block-start: 2px solid var(--color-rule);
  flex: none;
}

.k3d-matradar__key--active {
  border-block-start-color: var(--color-signal);
}

.k3d-matradar__key--al {
  border-block-start-color: color-mix(in oklch, var(--color-ink-2) 34%, transparent);
  border-block-start-style: dashed;
}

.k3d-matradar__key--steel {
  border-block-start-color: color-mix(in oklch, var(--color-ink-2) 58%, transparent);
}

.k3d-matradar__note {
  margin: 0;
  max-inline-size: 36ch;
  color: var(--color-muted);
  font-size: var(--text-xs);
  line-height: 1.45;
  text-align: center;
}

.k3d-matbar {
  display: grid;
  gap: var(--space-md);
}

.k3d-matbar__group {
  display: grid;
  gap: var(--space-2xs);
  min-inline-size: 0;
}

.k3d-matbar__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-3xs) var(--space-xs);
  padding-block-end: var(--space-3xs);
  border-block-end: var(--rule-hair) solid var(--color-rule);
}

.k3d-matbar__head h4 {
  margin: 0;
  color: var(--color-ink);
  font-family: var(--font-outlier);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.k3d-matbar__test {
  color: var(--color-muted);
  font-size: var(--text-xs);
  line-height: 1.3;
}

.k3d-matbar__hint {
  margin: 0;
  color: var(--color-neutral);
  font-size: var(--text-xs);
  line-height: 1.45;
}

.k3d-matbar__rows {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--space-3xs);
}

/* Narrow default: name and value share the first line, the bar spans beneath them.
   Fixed column minimums cannot fit a name, a bar and a value on one line at 320px. */
.k3d-matbar__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-3xs) var(--space-2xs);
  min-inline-size: 0;
}

.k3d-matbar__track,
.k3d-matbar__track--absent {
  grid-column: 1 / -1;
  grid-row: 2;
}

.k3d-matbar__name {
  color: var(--color-neutral);
  font-size: var(--text-xs);
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.k3d-matbar__track {
  display: block;
  block-size: 0.6rem;
  background: color-mix(in oklch, var(--color-rule) 60%, transparent);
}

.k3d-matbar__fill {
  display: block;
  block-size: 100%;
  background: var(--color-accent);
  transition: inline-size var(--dur-long) var(--ease-out);
}

.k3d-matbar__track--absent {
  block-size: 0.6rem;
  background: none;
  border-block-end: var(--rule-hair) dashed var(--color-rule);
}

.k3d-matbar__value {
  color: var(--color-ink-2);
  font-family: var(--font-outlier);
  font-size: var(--text-xs);
  font-variant-numeric: tabular-nums;
  text-align: end;
  white-space: nowrap;
}

.k3d-matbar__row.is-selected .k3d-matbar__name,
.k3d-matbar__row.is-selected .k3d-matbar__value {
  color: var(--color-signal);
  font-weight: 700;
}

.k3d-matbar__row.is-selected .k3d-matbar__fill {
  background: var(--color-signal);
}

.k3d-matbar__row--baseline .k3d-matbar__name {
  color: var(--color-muted);
}

.k3d-matbar__row--baseline .k3d-matbar__fill {
  background: color-mix(in oklch, var(--color-ink-2) 46%, transparent);
}

.k3d-matbar__row.is-absent .k3d-matbar__value {
  color: var(--color-muted);
  font-weight: 500;
  font-style: italic;
}

.k3d-material__provenance {
  margin-block-start: var(--space-sm);
  color: var(--color-neutral);
  font-size: var(--text-xs);
  line-height: 1.5;
}

.k3d-material__provenance summary {
  color: var(--color-ink-2);
  font-family: var(--font-outlier);
  font-weight: 600;
  cursor: pointer;
}

.k3d-material__provenance ul {
  margin: var(--space-2xs) 0 0;
  padding-inline-start: var(--space-sm);
  display: grid;
  gap: var(--space-3xs);
}

@container matbar (min-width: 26rem) {
  .k3d-matbar__row {
    grid-template-columns: minmax(0, 7.5rem) minmax(0, 1fr) minmax(0, max-content);
  }

  .k3d-matbar__track,
  .k3d-matbar__track--absent {
    grid-column: 2;
    grid-row: 1;
  }
}

@container matbar (min-width: 40rem) {
  .k3d-matbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-md) var(--space-lg);
  }
}

.k3d-material__radar figcaption {
  max-width: 32rem;
  margin-inline: auto;
  color: var(--color-neutral);
  font-size: var(--text-label);
  line-height: 1.5;
  text-align: center;
}

.k3d-material__detail {
  padding: clamp(var(--space-lg), 3vw, var(--space-xl));
}

.k3d-material__detail h3 {
  margin: 0;
  color: var(--color-signal);
  font-size: clamp(1.55rem, 2.4vw, 2.25rem);
}

.k3d-material__detail > p {
  margin: var(--space-sm) 0 0;
  color: var(--color-muted);
  line-height: 1.65;
}

.k3d-material__detail dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: var(--space-lg) 0 0;
}

.k3d-material__detail dl div {
  min-width: 0;
  padding: var(--space-sm);
  border-block-start: var(--rule-hair) solid var(--color-rule);
}

.k3d-material__detail dt {
  color: var(--color-neutral);
  font-family: var(--font-outlier);
  font-size: var(--text-label);
  line-height: 1.35;
}

.k3d-material__detail dd {
  margin: var(--space-xs) 0 0;
  color: var(--color-ink);
  font-size: var(--text-small);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  line-height: 1.4;
}

.k3d-material__detail .k3d-material__qualification {
  color: var(--color-accent);
  font-style: normal;
  font-weight: 650;
}

.k3d-material__footnote {
  max-width: 78rem;
  margin: 0;
  padding: var(--space-md);
  border-inline: var(--rule-hair) solid var(--color-rule);
  color: var(--color-neutral);
  font-size: var(--text-label);
  line-height: 1.65;
}

@media (hover: hover) and (pointer: fine) {
  .k3d-material__selector button:hover {
    background: var(--color-paper-3);
    color: var(--color-ink);
  }
}

@media (max-width: 59.999rem) {
  .k3d-material__stage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .k3d-material__detail {
    grid-column: 1 / -1;
    border-block-start: var(--rule-hair) solid var(--color-rule);
  }
}

@media (max-width: 44rem) {
  .k3d-material__selector {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .k3d-material__selector button:nth-child(n + 3) {
    border-block-start: var(--rule-hair) solid var(--color-rule);
  }

  .k3d-material__stage {
    grid-template-columns: minmax(0, 1fr);
  }

  .k3d-material__photo,
  .k3d-material__radar,
  .k3d-material__detail {
    grid-column: 1;
    border-block-start: var(--rule-hair) solid var(--color-rule);
  }

  .k3d-material__detail dl {
    grid-template-columns: minmax(0, 1fr);
  }

}

/* Catalog product detail route */
.pf-detail {
  display: inline-flex;
  margin-block-start: var(--space-sm);
  color: var(--color-accent);
  font-family: var(--font-outlier);
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: var(--tracking-label);
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.k3d-product-page {
  padding-block-start: var(--k3d-nav-height);
}

.k3d-product-wrap {
  width: min(80rem, calc(100% - (2 * var(--page-gutter))));
  margin-inline: auto;
}

.k3d-product-hero {
  padding-block-start: clamp(3.5rem, 7vw, 6.5rem);
  padding-block-end: clamp(4.625rem, 9.1vw, 8.5rem);
  background:
    linear-gradient(
      180deg,
      var(--color-paper) 0,
      var(--color-paper-2) var(--space-3xl),
      var(--color-paper-2) calc(100% - var(--space-xl)),
      var(--color-paper) 100%
    );
}

.k3d-product-back {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  color: var(--color-muted);
  font-size: var(--text-small);
  font-weight: 700;
  white-space: nowrap;
}

.k3d-product-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(var(--space-xl), 7vw, var(--space-3xl));
  align-items: center;
  margin-block-start: var(--space-lg);
}

.k3d-product-hero__media {
  min-width: 0;
  margin: 0;
  padding: clamp(var(--space-md), 3vw, var(--space-xl));
  border: var(--rule-hair) solid var(--color-rule);
  background: var(--color-paper-2);
}

.k3d-product-hero__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: contain;
}

body[data-k3d-route="key3d-product.html"] .k3d-product-hero h1 {
  margin: 0;
  font-size: clamp(2.75rem, 5vw, 5rem);
  line-height: 0.96;
}

.k3d-product-cap {
  margin: var(--space-lg) 0 0;
  color: var(--color-muted);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.7;
}

.k3d-product-spec {
  margin-block-start: var(--space-lg);
  padding-block: var(--space-sm);
  border-block: var(--rule-hair) solid var(--color-rule);
  color: var(--color-ink);
  font-family: var(--font-outlier);
  font-size: var(--text-small);
  font-variant-numeric: tabular-nums;
  line-height: 1.5;
}

.k3d-product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-block-start: var(--space-lg);
}

.k3d-product-status {
  margin: var(--space-sm) 0 0;
  color: var(--color-neutral);
  font-size: var(--text-label);
}

.k3d-product-hero[data-product-state="error"] .k3d-product-status {
  color: var(--color-error);
}

.k3d-product-section {
  padding-block: clamp(5rem, 9vw, 8rem);
  background:
    linear-gradient(
      180deg,
      var(--color-paper),
      var(--color-paper-2) var(--space-3xl),
      var(--color-paper-2) calc(100% - var(--space-xl)),
      var(--color-paper)
    );
}

.k3d-product-section--materials {
  background:
    linear-gradient(
      180deg,
      var(--color-paper),
      var(--color-paper-3) var(--space-3xl),
      var(--color-paper-2) calc(100% - var(--space-xl)),
      var(--color-paper)
    );
}

.k3d-product-section__head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.75fr);
  gap: clamp(var(--space-xl), 7vw, var(--space-3xl));
  align-items: end;
  margin-block-end: clamp(var(--space-xl), 5vw, var(--space-2xl));
}

.k3d-product-section__head h2 {
  max-width: 14ch;
  margin: 0;
}

.k3d-product-section__head p {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.7;
}

.k3d-product-included {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  border-block-start: var(--rule-hair) solid var(--color-rule);
  border-inline-start: var(--rule-hair) solid var(--color-rule);
}

.k3d-product-included div {
  min-height: 9rem;
  padding: var(--space-lg);
  border-inline-end: var(--rule-hair) solid var(--color-rule);
  border-block-end: var(--rule-hair) solid var(--color-rule);
  background: var(--color-paper-2);
}

.k3d-product-included dt {
  color: var(--color-ink);
  font-size: 1.1rem;
  font-weight: 750;
  line-height: 1.35;
}

.k3d-product-included dd {
  margin: var(--space-xs) 0 0;
  color: var(--color-muted);
  font-size: var(--text-small);
  line-height: 1.6;
}

.k3d-product-config {
  display: grid;
  grid-template-columns: minmax(13rem, 0.75fr) minmax(18rem, 1fr) auto;
  gap: var(--space-lg);
  align-items: center;
  padding: var(--space-lg);
  border-inline: var(--rule-hair) solid var(--color-rule);
  border-block-end: var(--rule-hair) solid var(--color-rule);
  background: var(--color-paper-3);
}

.k3d-product-config h3,
.k3d-product-config p {
  margin: 0;
}

.k3d-product-config h3 {
  color: var(--color-ink);
  font-size: clamp(1.15rem, 1.5vw, 1.35rem);
  line-height: 1.3;
}

.k3d-product-config > div p {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xs);
  margin-block-start: var(--space-xs);
  color: var(--color-accent);
  font-size: var(--text-small);
  line-height: 1.5;
}

.k3d-product-config > div p strong {
  color: var(--color-ink-2);
}

.k3d-product-config > p {
  color: var(--color-muted);
  font-size: var(--text-small);
  line-height: 1.65;
}

.k3d-product-next {
  padding-block: clamp(6rem, 11vw, 9rem);
  background: var(--color-paper);
}

.k3d-product-next__inner {
  max-width: 62rem;
}

.k3d-product-next h2 {
  margin: 0;
}

.k3d-product-next h2 span {
  color: var(--color-signal);
}

.k3d-product-next p {
  margin: var(--space-md) 0 0;
  color: var(--color-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.k3d-product-noscript {
  margin: 0;
  padding: var(--space-lg) var(--page-gutter);
  background: var(--color-paper-2);
  color: var(--color-ink);
}

@media (hover: hover) and (pointer: fine) {
  .k3d-product-back:hover,
  .pf:hover .pf-detail {
    color: var(--color-signal);
  }
}

@media (max-width: 59.999rem) {
  .k3d-product-hero__grid,
  .k3d-product-section__head {
    grid-template-columns: minmax(0, 1fr);
  }

  .k3d-product-config {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .k3d-product-config > p {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 44rem) {
  .k3d-product-included {
    grid-template-columns: minmax(0, 1fr);
  }

  .k3d-product-actions {
    display: grid;
  }

  .k3d-product-actions :where(a, button) {
    width: 100%;
  }

  .k3d-product-config {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-md);
    padding: var(--space-md);
  }

  .k3d-product-config > p {
    grid-column: 1;
    grid-row: auto;
  }

  .k3d-product-config .k3d-home-button {
    width: 100%;
  }

  .k3d-cart-dialog {
    width: calc(100% - (2 * var(--space-xs)));
    max-height: calc(100svh - (2 * var(--space-xs)));
  }

  .k3d-cart-dialog__head,
  .k3d-cart-dialog__footer {
    padding: var(--space-md);
  }

  .k3d-cart-line {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: var(--space-sm);
    padding: var(--space-md);
  }

  .k3d-cart-line__qty {
    justify-self: end;
  }

  .k3d-cart-line__remove {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .k3d-cart-dialog__actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .k3d-cart-dialog__clear {
    align-self: start;
  }

  .k3d-cart-float {
    inset-inline: var(--space-xs);
    justify-content: space-between;
  }
}

/* Product catalogue profiles and engineering detail */
.pf-img,
.k3d-product-hero__media {
  position: relative;
  isolation: isolate;
}

.pf-img > img,
.k3d-product-hero__media > img,
.k3d-product-hero__pending {
  position: relative;
  z-index: var(--z-base);
}

.pf-profile,
.k3d-product-hero-profile {
  position: absolute;
  z-index: var(--z-raised);
  display: grid;
  grid-template-columns: minmax(5.5rem, 0.76fr) minmax(7.5rem, 1.24fr);
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: var(--space-2xs);
  align-items: center;
  padding: var(--space-xs);
  background: linear-gradient(
    90deg,
    color-mix(in oklch, var(--color-paper) 86%, transparent),
    color-mix(in oklch, var(--color-paper) 38%, transparent)
  );
  pointer-events: none;
}

.k3d-product-hero__media.is-pending .k3d-product-hero-profile {
  display: none;
}

.pf-profile {
  inset: 0;
}

.k3d-product-hero-profile {
  inset: clamp(var(--space-md), 3vw, var(--space-xl));
}

.k3d-product-hero-profile:empty {
  display: none;
}

:is(
  .pf-profile__label,
  .pf-profile__eyebrow,
  .k3d-product-hero-profile__label,
  .k3d-product-hero-profile__eyebrow
) {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  max-width: 15ch;
  color: var(--color-ink-2);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-style: normal;
  font-weight: 700;
  letter-spacing: normal;
  line-height: 1.35;
  text-transform: none;
}

.pf-profile__construction,
.k3d-product-hero-profile__construction {
  grid-column: 1;
  grid-row: 3;
  align-self: end;
  max-width: 17ch;
  color: var(--color-signal);
  font-family: var(--font-outlier);
  font-size: var(--text-xs);
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.pf-profile__bars {
  width: 100%;
  max-height: 100%;
  grid-column: 2;
  grid-row: 1 / -1;
  justify-self: end;
  display: flex;
  flex-direction: column;
  gap: var(--space-3xs);
  justify-content: center;
  opacity: 0.86;
  transition: opacity var(--dur-short) var(--ease-out);
}

/* Card thumbnail bars. Four published measures for the primary construction
   material. An absent value keeps its track and draws it dashed, so a missing
   number reads as missing rather than as zero. */
.pf-profile__bar {
  display: grid;
  grid-template-columns: 2.4em 1fr;
  align-items: center;
  gap: var(--space-3xs);
}

.pf-profile__bar i {
  color: var(--color-ink-2);
  font-family: var(--font-outlier);
  font-size: var(--text-brand-sub);
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 2px var(--color-paper);
}

.pf-profile__track {
  position: relative;
  display: block;
  block-size: 0.42em;
  background: color-mix(in oklch, var(--color-ink-2) 26%, transparent);
}

.pf-profile__track b {
  display: block;
  block-size: 100%;
  background: var(--color-signal);
}

.pf-profile__track--absent {
  background: none;
  border-block-start: 1px dashed color-mix(in oklch, var(--color-ink-2) 60%, transparent);
  block-size: 0;
}

.pf:focus-visible {
  position: relative;
  z-index: var(--z-raised);
}

.pf:focus-visible .pf-profile__bars,
.pf:focus-visible .pf-detail {
  opacity: 1;
  color: var(--color-signal);
}

.k3d-product-hero__media {
  overflow: hidden;
}

.k3d-product-hero__media > :where(img, [data-product-image-pending])[hidden] {
  display: none !important;
}

.k3d-product-hero__pending {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: grid;
  place-content: center;
  gap: var(--space-xs);
  padding: var(--space-lg);
  border: var(--rule-hair) solid var(--color-rule);
  background: var(--color-paper-3);
  text-align: center;
}

.k3d-product-hero__pending strong {
  color: var(--color-ink);
  font-size: var(--text-md);
  line-height: 1.25;
}

.k3d-product-hero__pending span {
  color: var(--color-accent);
  font-family: var(--font-outlier);
  font-size: var(--text-xs);
  font-variant-numeric: tabular-nums;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.k3d-product-application,
.k3d-product-engineering {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border-block-start: var(--rule-hair) solid var(--color-rule);
  border-inline-start: var(--rule-hair) solid var(--color-rule);
}

.k3d-product-application__media,
.k3d-product-application__copy,
.k3d-product-demand,
.k3d-product-brief {
  min-width: 0;
  margin: 0;
  border-inline-end: var(--rule-hair) solid var(--color-rule);
  border-block-end: var(--rule-hair) solid var(--color-rule);
}

.k3d-product-application__media {
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--color-paper);
}

.k3d-product-application__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  display: block;
  object-fit: cover;
  filter: saturate(0.82);
}

.k3d-product-application__media figcaption {
  display: grid;
  align-content: start;
  gap: var(--space-2xs);
  padding: var(--space-md);
  border-block-start: var(--rule-hair) solid var(--color-rule-2);
  background: var(--color-paper-2);
}

.k3d-product-application__media figcaption strong {
  color: var(--color-ink);
  font-size: var(--text-sm);
  line-height: 1.4;
}

.k3d-product-application__media figcaption span {
  color: var(--color-muted);
  font-size: var(--text-sm);
  line-height: 1.55;
}

.k3d-product-application__copy {
  padding: var(--space-md);
  background: var(--color-paper-3);
}

.k3d-product-application__copy h3 {
  margin: 0;
  font-size: clamp(var(--text-lg), 2.5vw, var(--text-xl));
}

.k3d-product-application__copy > p {
  margin: var(--space-sm) 0 0;
  color: var(--color-muted);
  line-height: 1.65;
}

.k3d-product-application__copy ol {
  margin: var(--space-lg) 0 0;
  padding-inline-start: var(--space-lg);
}

.k3d-product-application__copy li {
  padding-block: var(--space-sm);
  border-block-start: var(--rule-hair) solid var(--color-rule);
  color: var(--color-ink-2);
  line-height: 1.5;
}

.k3d-product-application__copy li::marker {
  color: var(--color-accent);
  font-family: var(--font-outlier);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.k3d-product-demand {
  display: grid;
  align-content: start;
  padding: var(--space-sm);
  background: var(--color-paper);
}

.k3d-product-demand [data-product-demand-chart],
.k3d-product-demand svg {
  width: 100%;
  min-width: 0;
}

.k3d-product-demand [data-product-demand-chart] {
  max-width: 32rem;
  margin-inline: auto;
}

.k3d-product-demand svg {
  height: auto;
  display: block;
}

.k3d-demand__grid,
.k3d-demand__spoke {
  fill: none;
  stroke: var(--color-rule);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.k3d-demand__axis {
  fill: var(--color-muted);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 700;
}

.k3d-demand__active {
  fill: color-mix(in oklch, var(--color-accent) 16%, transparent);
  stroke: var(--color-signal);
  stroke-linejoin: round;
  stroke-width: 2.5;
  vector-effect: non-scaling-stroke;
}

.k3d-demand__dot {
  fill: var(--color-signal);
  stroke: var(--color-paper);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.k3d-product-demand figcaption {
  max-width: 42ch;
  margin-inline: auto;
  color: var(--color-neutral);
  font-size: var(--text-xs);
  line-height: 1.5;
  text-align: center;
}

.k3d-product-demand__values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-xs);
  margin: var(--space-sm) 0 0;
  padding-block-start: var(--space-sm);
  border-block-start: var(--rule-hair) solid var(--color-rule);
}

.k3d-product-demand__values div {
  min-width: 0;
  display: grid;
  gap: var(--space-3xs);
}

.k3d-product-demand__values dt {
  color: var(--color-neutral);
  font-size: var(--text-xs);
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.k3d-product-demand__values dd {
  margin: 0;
  color: var(--color-ink);
  font-family: var(--font-outlier);
  font-size: var(--text-xs);
  font-weight: 700;
  line-height: 1.35;
}

.k3d-product-brief {
  display: grid;
  align-content: start;
  background: var(--color-paper-2);
}

.k3d-product-brief__status {
  display: grid;
  gap: var(--space-2xs);
  padding: var(--space-md);
  border-block-end: var(--rule-hair) solid var(--color-rule);
  background: var(--color-paper-3);
}

.k3d-product-brief__status span {
  color: var(--color-neutral);
  font-size: var(--text-xs);
  font-weight: 700;
  line-height: 1.35;
}

.k3d-product-brief__status strong {
  color: var(--color-signal);
  font-size: var(--text-md);
  line-height: 1.3;
}

.k3d-product-brief__status-note {
  margin: 0;
  color: var(--color-muted);
  font-size: var(--text-sm);
  line-height: 1.55;
}

.k3d-product-brief__facts {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin: 0;
}

.k3d-product-brief__facts div {
  min-width: 0;
  padding: var(--space-md);
  border-block-end: var(--rule-hair) solid var(--color-rule);
}

.k3d-product-brief__facts dt {
  color: var(--color-neutral);
  font-size: var(--text-xs);
  line-height: 1.35;
}

.k3d-product-brief__facts dd {
  margin: var(--space-2xs) 0 0;
  color: var(--color-ink);
  font-family: var(--font-outlier);
  font-size: var(--text-sm);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.k3d-product-brief__lists {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-lg);
  padding: var(--space-md);
  border-block-end: var(--rule-hair) solid var(--color-rule);
}

.k3d-product-brief__lists > div {
  min-width: 0;
}

.k3d-product-brief__lists h3 {
  margin: 0;
  color: var(--color-ink);
  font-size: var(--text-md);
  line-height: 1.3;
}

.k3d-product-brief__lists ul {
  margin: var(--space-sm) 0 0;
  padding-inline-start: var(--space-md);
}

.k3d-product-brief__lists li {
  padding-block: var(--space-2xs);
  color: var(--color-muted);
  font-size: var(--text-sm);
  line-height: 1.55;
}

.k3d-product-brief__lists li::marker {
  color: var(--color-accent);
}

.k3d-product-brief__note {
  margin: 0;
  padding: var(--space-md);
  color: var(--color-muted);
  font-size: var(--text-sm);
  line-height: 1.65;
}

.k3d-material__selector button:focus-visible {
  position: relative;
  z-index: var(--z-raised);
}

@media (hover: hover) and (pointer: fine) {
  .pf:hover .pf-profile__bars {
    opacity: 1;
  }
}

@media (min-width: 44rem) {
  .k3d-product-demand__values {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .k3d-product-application {
    grid-template-columns: minmax(0, 1.08fr) minmax(18rem, 0.92fr);
  }

  .k3d-product-application__copy {
    padding: var(--space-lg);
  }

  .k3d-product-brief__facts,
  .k3d-product-brief__lists {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .k3d-product-brief__facts div + div {
    border-inline-start: var(--rule-hair) solid var(--color-rule);
  }
}

@media (min-width: 60rem) {
  .k3d-product-application {
    grid-template-columns: minmax(0, 1.25fr) minmax(20rem, 0.75fr);
  }

  .k3d-product-application__copy {
    padding: var(--space-xl);
  }

  .k3d-product-engineering {
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  }

  .k3d-product-demand {
    padding: var(--space-lg);
  }

  .k3d-product-brief__status,
  .k3d-product-brief__facts div,
  .k3d-product-brief__lists,
  .k3d-product-brief__note {
    padding: var(--space-lg);
  }
}

@media (max-width: 22rem) {
  .pf-profile,
  .k3d-product-hero-profile {
    grid-template-columns: minmax(4.75rem, 0.72fr) minmax(6.75rem, 1.28fr);
    padding: var(--space-2xs);
  }

  .k3d-product-hero-profile {
    inset: var(--space-md);
  }

  .k3d-product-demand {
    padding: var(--space-xs);
  }

  :is(
    .pf-profile__label,
    .pf-profile__eyebrow,
    .pf-profile__construction,
    .k3d-product-hero-profile__label,
    .k3d-product-hero-profile__eyebrow,
    .k3d-product-hero-profile__construction
  ) {
    font-size: var(--text-brand-sub);
  }
}

/* Product catalog overlays, product-detail order, and quote customization */
.pf-img {
  --pf-profile-width: clamp(5.5rem, 28%, 6rem);
}

.pf-img > img {
  width: 100%;
  height: 100%;
  margin-inline-end: 0;
  object-fit: contain;
  object-position: center;
  background: var(--color-paper-2);
}

.pf-img-ph {
  padding-inline-end: var(--space-sm);
}

.pf-profile {
  inset: var(--space-3xs) var(--space-3xs) auto auto;
  width: var(--pf-profile-width);
  max-height: calc(100% - (2 * var(--space-3xs)));
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  gap: var(--space-3xs);
  align-items: start;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}

.pf-profile .pf-profile__bars {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  opacity: 1;
  filter: drop-shadow(0 1px 2px var(--color-paper));
  transition: none;
}

.pf-profile__series {
  grid-column: 1;
  grid-row: 2;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3xs) var(--space-2xs);
  color: var(--color-ink-2);
  font-family: var(--font-outlier);
  font-size: var(--text-brand-sub);
  font-weight: 500;
  line-height: 1.15;
  text-shadow: 0 1px 2px var(--color-paper), 0 0 var(--space-3xs) var(--color-paper);
}

.pf-profile__series span {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3xs);
}

.pf-profile__swatch {
  width: var(--space-xs);
  border-block-start: 2px solid var(--color-signal);
}

/* Marks a customer-selectable construction ("PLA or Onyx") apart from a composite
   one ("Onyx + TPU 95A"), whose chips sit side by side with no separator. */
.pf-profile__or {
  color: var(--color-muted);
  font-size: var(--text-brand-sub);
  font-style: normal;
  font-weight: 500;
}

.pf-profile__swatch--1 {
  border-block-start-color: var(--color-accent);
  border-block-start-style: dashed;
}

.pf-profile__note {
  grid-column: 1;
  grid-row: 3;
  color: var(--color-accent);
  font-family: var(--font-outlier);
  font-size: var(--text-brand-sub);
  font-weight: 500;
  line-height: 1.15;
  text-shadow: 0 1px 2px var(--color-paper), 0 0 var(--space-3xs) var(--color-paper);
}

.pf-profile-key {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 0 0 var(--space-sm);
  border-block-start: var(--rule-hair) solid var(--color-rule);
  border-inline-start: var(--rule-hair) solid var(--color-rule);
}

.pf-profile-key div {
  min-width: 0;
  padding: var(--space-sm);
  border-inline-end: var(--rule-hair) solid var(--color-rule);
  border-block-end: var(--rule-hair) solid var(--color-rule);
  background: var(--color-paper-2);
}

.pf-profile-key dt {
  color: var(--color-signal);
  font-family: var(--font-outlier);
  font-size: var(--text-xs);
  font-weight: 700;
  line-height: 1.25;
}

.pf-profile-key dd {
  margin: var(--space-2xs) 0 0;
  color: var(--color-muted);
  font-size: var(--text-xs);
  line-height: 1.4;
}

.pf-profile-key__note {
  margin: 0 0 var(--space-lg);
  color: var(--color-neutral);
  font-size: var(--text-xs);
  line-height: 1.5;
}

.k3d-product-page:not([data-product-page-state="ready"]) [data-product-dependent] {
  display: none;
}

.k3d-product-hero {
  padding-block-start: clamp(var(--space-xl), 5vw, var(--space-2xl));
  padding-block-end: clamp(var(--space-xl), 6vw, var(--space-2xl));
}

.k3d-product-hero__heading {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
  gap: clamp(var(--space-lg), 6vw, var(--space-3xl));
  align-items: end;
  margin-block-start: var(--space-lg);
}

.k3d-product-hero__heading .k3d-product-spec {
  margin: 0;
}

.k3d-product-hero__media {
  width: 100%;
  max-width: 44rem;
  height: clamp(22rem, 35vw, 28rem);
  margin-inline: auto;
  margin-block-start: clamp(var(--space-lg), 4vw, var(--space-2xl));
}

.k3d-product-hero__media > img,
.k3d-product-hero__media > .k3d-product-hero__pending {
  height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
}

.k3d-product-hero__brief {
  max-width: 64rem;
  margin-block-start: var(--space-lg);
  padding-block-start: var(--space-lg);
  border-block-start: var(--rule-hair) solid var(--color-rule);
}

.k3d-product-hero__brief .k3d-product-cap {
  margin: 0;
}

.k3d-product-section--materials {
  padding-block-start: clamp(var(--space-2xl), 8vw, var(--space-3xl));
}

.k3d-material__stage--profile-only {
  grid-template-columns: minmax(0, 1.08fr) minmax(19rem, 0.92fr);
}

.k3d-material__stage--profile-only .k3d-material__radar {
  min-height: 26rem;
}

.k3d-product-config {
  grid-template-columns: minmax(15rem, 0.8fr) minmax(0, 1.2fr);
}

.k3d-product-commerce {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-xs);
  padding-block-start: var(--space-lg);
}

.k3d-product-commerce .k3d-home-button {
  width: 100%;
}

.quote-customize {
  min-width: 0;
  margin: 0 0 var(--space-lg);
  padding: var(--space-md);
  border: var(--rule-hair) solid var(--color-rule);
  background: var(--color-paper-3);
}

.quote-customize[hidden] {
  display: none;
}

.quote-customize legend {
  padding-inline: var(--space-2xs);
  color: var(--color-signal);
  font-size: var(--text-lg);
  font-weight: 800;
  line-height: 1.25;
}

.quote-customize > .hint {
  margin-block-start: var(--space-xs);
}

.quote-customize__options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.quote-customize__options .opt {
  min-width: 0;
  min-height: 2.75rem;
  align-items: flex-start;
  text-transform: none;
}

.quote-customize__notes {
  max-width: none;
  margin: var(--space-md) 0 0;
}

.quote-customize__error {
  min-height: 1lh;
  margin: var(--space-2xs) 0 0;
  color: var(--color-error);
  font-size: var(--text-xs);
  font-weight: 700;
  line-height: 1.4;
}

@media (max-width: 59.999rem) {
  .k3d-product-hero__heading,
  .k3d-material__stage--profile-only {
    grid-template-columns: minmax(0, 1fr);
  }

  .k3d-material__stage--profile-only .k3d-material__detail {
    grid-column: 1;
  }

  .k3d-product-config {
    grid-template-columns: minmax(0, 1fr);
  }

  .k3d-product-hero__media {
    max-width: none;
    height: auto;
  }

  .k3d-product-hero__media > img,
  .k3d-product-hero__media > .k3d-product-hero__pending {
    height: auto;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 44rem) {
  .pf-profile-key {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .k3d-product-hero__heading {
    gap: var(--space-md);
  }

  .k3d-product-hero__media {
    padding: var(--space-sm);
  }

  .k3d-material__stage--profile-only .k3d-material__radar {
    min-height: 0;
  }

  .k3d-product-commerce,
  .quote-customize__options {
    grid-template-columns: minmax(0, 1fr);
  }

  body[data-k3d-route="key3d-quote.html"] .quote-panel {
    padding: var(--space-md);
  }
}

@media (max-width: 22rem) {
  .pf-img {
    --pf-profile-width: min(5.5rem, 40%);
  }

  .pf-profile {
    grid-template-columns: minmax(0, 1fr);
    padding: 0;
  }

  body[data-k3d-route="key3d-quote.html"] .quote-panel {
    padding: var(--space-sm);
  }

  body[data-k3d-route="key3d-quote.html"] .hero {
    padding-inline: var(--space-sm);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pf-profile__bars,
  .k3d-matbar__fill {
    transition: none;
  }
}

.k3d-product-context {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border-block-start: var(--rule-hair) solid var(--color-rule);
  border-inline-start: var(--rule-hair) solid var(--color-rule);
}

.k3d-product-context > * {
  min-width: 0;
  border-inline-end: var(--rule-hair) solid var(--color-rule);
  border-block-end: var(--rule-hair) solid var(--color-rule);
}

.k3d-product-context__scene {
  display: grid;
  align-content: start;
  gap: var(--space-xs);
  padding: var(--space-md);
  background: var(--color-paper-2);
}

.k3d-product-context__scene strong {
  color: var(--color-ink);
  font-size: var(--text-md);
  line-height: 1.35;
}

.k3d-product-context__scene span {
  color: var(--color-muted);
  font-size: var(--text-sm);
  line-height: 1.6;
}

@media (min-width: 44rem) {
  .k3d-product-context {
    grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.85fr);
  }

  .k3d-product-context__scene {
    padding: var(--space-lg);
  }
}

/* Product-detail hierarchy refinement: one plotted material-performance graph */
.k3d-product-section--application {
  padding-block-end: clamp(var(--space-xl), 5vw, var(--space-2xl));
}

.k3d-product-section--engineering {
  padding-block-start: clamp(var(--space-xl), 5vw, var(--space-2xl));
}

.k3d-product-context__focus {
  min-width: 0;
  display: grid;
  align-content: start;
  padding: var(--space-md);
  background: var(--color-paper-2);
}

.k3d-product-context__focus h3 {
  margin: 0;
  color: var(--color-ink);
  font-size: var(--text-md);
  line-height: 1.35;
}

.k3d-product-context__focus ol {
  margin: var(--space-sm) 0 0;
  padding-inline-start: var(--space-lg);
}

.k3d-product-context__focus li {
  padding-block: var(--space-sm);
  border-block-start: var(--rule-hair) solid var(--color-rule);
  color: var(--color-ink-2);
  font-size: var(--text-sm);
  line-height: 1.5;
}

.k3d-product-context__focus li::marker {
  color: var(--color-accent);
  font-family: var(--font-outlier);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.k3d-product-engineering--text {
  grid-template-columns: minmax(0, 1fr);
}

.k3d-product-engineering--text .k3d-product-brief {
  grid-column: 1 / -1;
}

@media (min-width: 44rem) {
  .k3d-product-context__focus {
    padding: var(--space-lg);
  }
}

/* Shared engineering-paper surface: continuous dots with section-aligned reading veils. */
body[data-k3d-family]:not([data-k3d-family="redirect"]) {
  --k3d-surface-grid-canvas: var(--color-paper);
  --k3d-surface-grid-dot: color-mix(in oklch, var(--color-signal) 16%, transparent);
  --k3d-surface-grid-dot-radius: 0.8px;
  --k3d-surface-grid-dot-edge: 1px;
  --k3d-surface-grid-pitch: 24px;
  --k3d-surface-grid-page-edge: max(var(--page-gutter), calc((100% - var(--page-max)) / 2));
  --k3d-surface-grid-content-edge: var(--k3d-surface-grid-page-edge);
  --k3d-surface-grid-content-fade: min(var(--space-2xl), var(--k3d-surface-grid-content-edge));
  --k3d-surface-grid-section-pad: var(--space-lg);
  --k3d-surface-grid-section-fade: var(--space-2xl);
  --k3d-surface-grid-mask-mid: color-mix(in oklch, var(--color-ink) 82%, transparent);
  --k3d-surface-grid-wash: color-mix(in oklch, var(--color-paper-3) 16%, transparent);
  --k3d-surface-grid-fill: color-mix(in oklch, var(--color-paper-3) 16%, var(--color-paper-2));
  --k3d-surface-grid-quiet-paper: color-mix(in oklch, var(--color-paper-2) 52%, transparent);
  --k3d-surface-grid-quiet-surface: color-mix(in oklch, var(--k3d-surface-grid-fill) 52%, transparent);
  --k3d-surface-grid-quiet-background: linear-gradient(
    180deg,
    var(--k3d-surface-grid-quiet-paper) 0,
    var(--k3d-surface-grid-quiet-surface) var(--space-3xl),
    var(--k3d-surface-grid-quiet-surface) calc(100% - var(--space-3xl)),
    var(--k3d-surface-grid-quiet-paper) 100%
  );
  --k3d-surface-grid-quiet-mask: linear-gradient(
    180deg,
    transparent 0,
    var(--k3d-surface-grid-mask-mid) var(--space-xl),
    var(--color-ink) var(--k3d-surface-grid-section-fade),
    var(--color-ink) calc(100% - var(--k3d-surface-grid-section-fade)),
    var(--k3d-surface-grid-mask-mid) calc(100% - var(--space-xl)),
    transparent 100%
  );
  background-color: var(--k3d-surface-grid-canvas);
  background-image: radial-gradient(
    circle at 2px 2px,
    var(--k3d-surface-grid-dot) 0 var(--k3d-surface-grid-dot-radius),
    transparent var(--k3d-surface-grid-dot-edge)
  );
  background-size: var(--k3d-surface-grid-pitch) var(--k3d-surface-grid-pitch);
}

body[data-k3d-family]:not([data-k3d-family="redirect"]) > main,
body[data-k3d-route="key3d-login.html"] > .split {
  background: transparent;
}

body[data-k3d-family]:not([data-k3d-family="redirect"]) > main > :where(header:not(.k3d-home-hero), section, .article),
body[data-k3d-family]:not([data-k3d-family="redirect"]) > main:is(.page, .stage, .auth-panel),
body[data-k3d-route="key3d-login.html"] > .split > :is(.brand-panel, main) {
  --k3d-surface-grid-content-edge: max(
    calc(var(--page-gutter) + var(--k3d-surface-grid-section-pad)),
    calc((100% - var(--page-max)) / 2)
  );
  --k3d-surface-grid-content-fade: min(var(--space-2xl), var(--k3d-surface-grid-content-edge));
  position: relative;
  isolation: isolate;
  background: linear-gradient(
    180deg,
    transparent 0,
    var(--k3d-surface-grid-wash) var(--space-3xl),
    var(--k3d-surface-grid-wash) calc(100% - var(--space-3xl)),
    transparent 100%
  );
}

body[data-k3d-family]:not([data-k3d-family="redirect"]) > main > section:nth-of-type(even),
body[data-k3d-family]:not([data-k3d-family="redirect"]) > main > :is(.section-surface, .k3d-home-section--deep, .k3d-product-section--materials) {
  --k3d-surface-grid-wash: color-mix(in oklch, var(--color-paper-3) 24%, transparent);
  --k3d-surface-grid-fill: color-mix(in oklch, var(--color-paper-3) 24%, var(--color-paper-2));
}

body[data-k3d-family]:not([data-k3d-family="redirect"]) > main > .service-catalog {
  --k3d-surface-grid-wash: color-mix(in oklch, var(--color-paper-3) 16%, transparent);
  --k3d-surface-grid-fill: color-mix(in oklch, var(--color-paper-3) 16%, var(--color-paper-2));
}

/* Keep legacy section gradients from covering the shared engineering-paper surface. */
body[data-k3d-family]:not([data-k3d-family="redirect"]) > main > section:not(.cta),
body[data-k3d-family]:not([data-k3d-family="redirect"]) > main > section:nth-of-type(even):not(.cta) {
  background: linear-gradient(
    180deg,
    transparent 0,
    var(--k3d-surface-grid-wash) var(--space-3xl),
    var(--k3d-surface-grid-wash) calc(100% - var(--space-3xl)),
    transparent 100%
  );
}

/* The landing hero carries full-bleed video, so its grid sits above the media layer. */
body[data-k3d-route="key3d-landing.html"] > main > .k3d-home-hero {
  --k3d-surface-grid-content-edge: max(
    var(--page-gutter),
    calc((100% - 80rem) / 2)
  );
  --k3d-surface-grid-content-fade: min(var(--space-2xl), var(--k3d-surface-grid-content-edge));
  isolation: isolate;
}

body[data-k3d-route="key3d-landing.html"] > main > .k3d-home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: radial-gradient(
    circle at 2px 2px,
    var(--k3d-surface-grid-dot) 0 var(--k3d-surface-grid-dot-radius),
    transparent var(--k3d-surface-grid-dot-edge)
  );
  background-size: var(--k3d-surface-grid-pitch) var(--k3d-surface-grid-pitch);
}

body[data-k3d-route="key3d-landing.html"] .k3d-home-hero__content,
body[data-k3d-route="key3d-landing.html"] .k3d-home-proof {
  z-index: 2;
}

body[data-k3d-family="content"] > main.page {
  --k3d-surface-grid-content-edge: var(--page-gutter);
}

body[data-k3d-route="key3d-login.html"] > .split > .brand-panel {
  --k3d-surface-grid-content-edge: max(var(--page-gutter), calc((100% - 27.5rem) / 2));
}

body[data-k3d-route="key3d-login.html"] > .split > main.auth-panel {
  --k3d-surface-grid-content-edge: max(var(--page-gutter), calc((100% - 26.25rem) / 2));
}

body[data-k3d-route="key3d-404.html"] > main.stage {
  --k3d-surface-grid-content-edge: max(var(--page-gutter), calc((100% - 45rem) / 2));
}

body[data-k3d-family]:not([data-k3d-family="redirect"]) > :is(.footer, .k3d-footer),
body[data-k3d-route="key3d-404.html"] > .bottom {
  --k3d-surface-grid-content-edge: var(--k3d-surface-grid-page-edge);
  --k3d-surface-grid-content-fade: min(var(--space-2xl), var(--k3d-surface-grid-content-edge));
  --k3d-surface-grid-quiet-background: var(--k3d-surface-grid-quiet-paper);
  --k3d-surface-grid-quiet-mask: linear-gradient(
    180deg,
    transparent 0,
    var(--k3d-surface-grid-mask-mid) var(--space-xl),
    var(--color-ink) var(--k3d-surface-grid-section-fade),
    var(--color-ink) 100%
  );
  position: relative;
  isolation: isolate;
  background: transparent;
}

body[data-k3d-family]:not([data-k3d-family="redirect"]) > main > :where(header:not(.k3d-home-hero), section, .article)::before,
body[data-k3d-family]:not([data-k3d-family="redirect"]) > main:is(.page, .stage, .auth-panel)::before,
body[data-k3d-route="key3d-login.html"] > .split > :is(.brand-panel, main)::before,
body[data-k3d-family]:not([data-k3d-family="redirect"]) > :is(.footer, .k3d-footer)::after,
body[data-k3d-route="key3d-404.html"] > .bottom::after,
body[data-k3d-route="key3d-landing.html"] > main > .k3d-home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--k3d-surface-grid-quiet-background);
  -webkit-mask-image:
    linear-gradient(
      90deg,
      transparent 0,
      transparent max(0px, calc(var(--k3d-surface-grid-content-edge) - var(--k3d-surface-grid-content-fade))),
      var(--color-ink) var(--k3d-surface-grid-content-edge),
      var(--color-ink) calc(100% - var(--k3d-surface-grid-content-edge)),
      transparent min(100%, calc(100% - var(--k3d-surface-grid-content-edge) + var(--k3d-surface-grid-content-fade))),
      transparent 100%
    ),
    var(--k3d-surface-grid-quiet-mask);
  -webkit-mask-composite: source-in;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-image:
    linear-gradient(
      90deg,
      transparent 0,
      transparent max(0px, calc(var(--k3d-surface-grid-content-edge) - var(--k3d-surface-grid-content-fade))),
      var(--color-ink) var(--k3d-surface-grid-content-edge),
      var(--color-ink) calc(100% - var(--k3d-surface-grid-content-edge)),
      transparent min(100%, calc(100% - var(--k3d-surface-grid-content-edge) + var(--k3d-surface-grid-content-fade))),
      transparent 100%
    ),
    var(--k3d-surface-grid-quiet-mask);
  mask-composite: intersect;
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
}

body[data-k3d-route="key3d-landing.html"] > main > .k3d-home-hero::after {
  z-index: 1;
}

@supports not ((mask-image: linear-gradient(var(--color-ink), transparent)) or (-webkit-mask-image: linear-gradient(var(--color-ink), transparent))) {
  body[data-k3d-family]:not([data-k3d-family="redirect"]) {
    background-image: none;
  }

  body[data-k3d-family]:not([data-k3d-family="redirect"]) > main > :where(header:not(.k3d-home-hero), section, .article)::before,
  body[data-k3d-family]:not([data-k3d-family="redirect"]) > main:is(.page, .stage, .auth-panel)::before,
  body[data-k3d-route="key3d-login.html"] > .split > :is(.brand-panel, main)::before,
  body[data-k3d-family]:not([data-k3d-family="redirect"]) > :is(.footer, .k3d-footer)::after,
  body[data-k3d-route="key3d-404.html"] > .bottom::after,
  body[data-k3d-route="key3d-landing.html"] > main > .k3d-home-hero::before,
  body[data-k3d-route="key3d-landing.html"] > main > .k3d-home-hero::after {
    display: none;
  }
}

@supports not ((mask-composite: intersect) or (-webkit-mask-composite: source-in)) {
  body[data-k3d-family]:not([data-k3d-family="redirect"]) {
    background-image: none;
  }

  body[data-k3d-family]:not([data-k3d-family="redirect"]) > main > :where(header:not(.k3d-home-hero), section, .article)::before,
  body[data-k3d-family]:not([data-k3d-family="redirect"]) > main:is(.page, .stage, .auth-panel)::before,
  body[data-k3d-route="key3d-login.html"] > .split > :is(.brand-panel, main)::before,
  body[data-k3d-family]:not([data-k3d-family="redirect"]) > :is(.footer, .k3d-footer)::after,
  body[data-k3d-route="key3d-404.html"] > .bottom::after,
  body[data-k3d-route="key3d-landing.html"] > main > .k3d-home-hero::before,
  body[data-k3d-route="key3d-landing.html"] > main > .k3d-home-hero::after {
    display: none;
  }
}

@media (max-width: 64rem) {
  body[data-k3d-family]:not([data-k3d-family="redirect"]) {
    --k3d-surface-grid-section-pad: var(--space-md);
  }
}

/* Landing proof strip: the engineering grid rises into the hero, then resolves behind the values. */
body[data-k3d-route="key3d-landing.html"] {
  --k3d-home-proof-divider: color-mix(in oklch, var(--color-accent) 48%, transparent);
}

body[data-k3d-route="key3d-landing.html"] > main > .k3d-home-hero::before,
body[data-k3d-route="key3d-landing.html"] > main > .k3d-home-hero::after {
  content: none;
}

body[data-k3d-route="key3d-landing.html"] .k3d-home-proof {
  border-block-start: 0;
  background: transparent;
  backdrop-filter: none;
}

body[data-k3d-route="key3d-landing.html"] .k3d-home-proof::before {
  content: "";
  position: absolute;
  inset: calc(-1 * var(--space-2xl)) 0 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(
    circle at 2px 2px,
    var(--k3d-surface-grid-dot) 0 var(--k3d-surface-grid-dot-radius),
    transparent var(--k3d-surface-grid-dot-edge)
  );
  background-size: var(--k3d-surface-grid-pitch) var(--k3d-surface-grid-pitch);
  -webkit-mask-image: linear-gradient(
    180deg,
    transparent 0,
    var(--color-ink) var(--space-2xl),
    var(--color-ink) 100%
  );
  mask-image: linear-gradient(
    180deg,
    transparent 0,
    var(--color-ink) var(--space-2xl),
    var(--color-ink) 100%
  );
}

body[data-k3d-route="key3d-landing.html"] .k3d-home-proof__item {
  border: 0;
  background: transparent;
}

body[data-k3d-route="key3d-landing.html"] .k3d-home-proof__item + .k3d-home-proof__item {
  border-inline-start: var(--rule-hair) solid var(--k3d-home-proof-divider);
}

@media (max-width: 44rem) {
  body[data-k3d-route="key3d-landing.html"] .k3d-home-proof__item + .k3d-home-proof__item {
    border-inline-start: 0;
  }

  body[data-k3d-route="key3d-landing.html"] .k3d-home-proof__item:nth-child(even) {
    border-inline-start: var(--rule-hair) solid var(--k3d-home-proof-divider);
  }

  body[data-k3d-route="key3d-landing.html"] .k3d-home-proof__item:nth-child(n + 3) {
    border-block-start: 0;
  }
}

/* Landing refinement: one black canvas, a lower proof band, and embedded path imagery. */
body[data-k3d-route="key3d-landing.html"] {
  --color-paper-2: var(--color-paper);
  --color-paper-3: var(--color-paper);
}

body[data-k3d-route="key3d-landing.html"] .k3d-home-hero {
  min-height: calc(min(56rem, 100svh) + var(--space-2xl));
}

body[data-k3d-route="key3d-landing.html"] .k3d-home-hero__content {
  padding-block-end: calc(clamp(15rem, 26vh, 18rem) + var(--space-2xl));
}

body[data-k3d-route="key3d-landing.html"] .k3d-home-service {
  grid-template-columns: minmax(0, 1fr) clamp(16rem, 34vw, 31rem);
  gap: 0;
}

body[data-k3d-route="key3d-landing.html"] .k3d-home-service__copy {
  position: relative;
  z-index: var(--z-base);
  padding-inline-end: var(--space-md);
}

body[data-k3d-route="key3d-landing.html"] .k3d-home-service__media {
  width: calc(100% + var(--space-xl));
  height: clamp(12rem, 18vw, 15rem);
  min-height: 0;
  align-self: center;
  margin: 0;
  margin-inline-start: calc(-1 * var(--space-xl));
  background: transparent;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0,
    var(--color-ink) 48%,
    var(--color-ink) 100%
  );
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-image: linear-gradient(
    90deg,
    transparent 0,
    var(--color-ink) 48%,
    var(--color-ink) 100%
  );
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
}

@media (max-width: 59.999rem) {
  body[data-k3d-route="key3d-landing.html"] .k3d-home-hero {
    min-height: calc(54rem + var(--space-2xl));
  }

  body[data-k3d-route="key3d-landing.html"] .k3d-home-hero__content {
    padding-block-end: calc(25rem + var(--space-2xl));
  }
}

@media (max-width: 44rem) {
  body[data-k3d-route="key3d-landing.html"] .k3d-home-hero {
    min-height: calc(58rem + var(--space-2xl));
  }

  body[data-k3d-route="key3d-landing.html"] .k3d-home-hero__content {
    padding-block-end: calc(28rem + var(--space-2xl));
  }

  body[data-k3d-route="key3d-landing.html"] .k3d-home-service {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  body[data-k3d-route="key3d-landing.html"] .k3d-home-service__copy {
    padding-inline-end: 0;
  }

  body[data-k3d-route="key3d-landing.html"] .k3d-home-service__media {
    width: 100%;
    height: 13rem;
    min-height: 0;
    margin: 0;
    margin-block-start: calc(-1 * var(--space-xs));
    -webkit-mask-image: linear-gradient(
      180deg,
      transparent 0,
      var(--color-ink) var(--space-xl),
      var(--color-ink) 100%
    );
    mask-image: linear-gradient(
      180deg,
      transparent 0,
      var(--color-ink) var(--space-xl),
      var(--color-ink) 100%
    );
  }
}

/* Closing CTA glow: allow the existing accent bloom to dissolve into the footer. */
body[data-k3d-family]:not([data-k3d-family="redirect"]) > main > section.cta {
  overflow: visible;
}

/* Hallmark · component: quote-conversion CTA · genre: modern-minimal · tone: technical / austere
 * palette anchor: Key3D signal yellow · fingerprint: bounded rails on all four sides + CAD face grid
 * Hallmark · pre-emit critique: P5 H5 E5 S5 R5 V5
 * states: default · hover · focus · active · disabled · loading · error · success
 * contrast: pass (40–41) · mobile: pass (34, 49, 50–57) · slop: pass (component subset)
 */

:root {
  --k3d-glow-target: 2.75rem;
  --k3d-glow-edge: var(--rule-fine);
  --k3d-glow-reach: calc(var(--space-xl) - var(--space-2xs));
  --k3d-glow-duration: 300ms;
  --k3d-glow-alpha-filter: url("#k3d-glow-unopaq");
  --k3d-glow-surface: var(--color-paper-2);
  --k3d-glow-surface-pressed: var(--color-paper-3);
  --k3d-glow-text: var(--color-ink);
  --k3d-glow-line: var(--color-signal);
  --k3d-glow-backdrop-ink: color-mix(in oklch, var(--k3d-glow-surface) 67%, transparent);
  --k3d-glow-backdrop-clear: color-mix(in oklch, var(--k3d-glow-surface) 0%, transparent);
  --k3d-cad-grid-pitch: var(--space-xs);
}

.k3d-glow-cta {
  --k3d-glow-line-bright: color-mix(in oklch, var(--k3d-glow-line) 67%, transparent);
  --k3d-glow-line-soft: color-mix(in oklch, var(--k3d-glow-line) 20%, transparent);
  --k3d-glow-line-clear: color-mix(in oklch, var(--k3d-glow-line) 0%, transparent);
  --k3d-cad-grid-line: color-mix(in oklch, var(--k3d-glow-line) 14%, transparent);
  position: relative !important;
  isolation: isolate;
  align-items: center;
  justify-content: center;
  min-height: var(--k3d-glow-target);
  overflow: visible;
  border-color: var(--k3d-glow-line-clear) !important;
  background: var(--k3d-glow-surface) !important;
  color: var(--k3d-glow-text) !important;
  cursor: pointer;
  filter: none !important;
  white-space: nowrap;
  transform: translateY(0);
  transition: transform var(--dur-micro) var(--ease-out) !important;
}

.k3d-glow-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(
      circle at 50% 50%,
      var(--k3d-glow-backdrop-clear) 0,
      var(--k3d-glow-backdrop-clear) 20%,
      var(--k3d-glow-backdrop-ink) 50%
    ),
    radial-gradient(
      ellipse 100% 100% at 50% 50%,
      var(--k3d-glow-line),
      var(--k3d-glow-line-clear)
    );
  background-size: 3px 3px, auto auto;
  transition: opacity var(--k3d-glow-duration) var(--ease-out);
}

.k3d-glow-cta::after {
  content: "";
  position: absolute;
  inset: var(--k3d-glow-edge);
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      var(--k3d-cad-grid-line) 0 var(--rule-hair),
      transparent var(--rule-hair)
    ),
    linear-gradient(
      var(--k3d-cad-grid-line) 0 var(--rule-hair),
      transparent var(--rule-hair)
    );
  background-size:
    var(--k3d-cad-grid-pitch) var(--k3d-cad-grid-pitch),
    var(--k3d-cad-grid-pitch) var(--k3d-cad-grid-pitch);
  background-position: center;
}

.k3d-glow-cta-filter {
  position: absolute;
  width: 0;
  height: 0;
  overflow: visible;
  pointer-events: none;
}

.k3d-glow-cta__text {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  white-space: nowrap;
}

.k3d-glow-cta__edge {
  /* Bounded rails: the top and bottom lines stop at the button edge instead of
     overshooting, so the gradient runs bright-to-full-to-bright with no clear
     tails. Matches the left/right rail gradient for a closed rectangle. */
  --k3d-glow-gradient:
    var(--k3d-glow-line-bright) 0,
    var(--k3d-glow-line) 50%,
    var(--k3d-glow-line-bright) 100%;
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.k3d-glow-cta__edge::before,
.k3d-glow-cta__edge::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: inherit;
  pointer-events: none;
}

.k3d-glow-cta__edge::before {
  filter: blur(calc(var(--k3d-glow-edge) * 2)) var(--k3d-glow-alpha-filter);
}

.k3d-glow-cta__edge::after {
  filter: blur(calc(var(--k3d-glow-edge) * 5)) var(--k3d-glow-alpha-filter);
  opacity: 0;
  transition: opacity var(--k3d-glow-duration) var(--ease-out);
}

.k3d-glow-cta__edge--left,
.k3d-glow-cta__edge--right {
  inset-block: 0;
  width: var(--k3d-glow-edge);
  background: linear-gradient(
    var(--k3d-glow-line-bright) 0,
    var(--k3d-glow-line) 50%,
    var(--k3d-glow-line-bright) 100%
  );
  clip-path: inset(0 calc(var(--k3d-glow-reach) * -1));
}

.k3d-glow-cta__edge--left {
  inset-inline-start: calc(var(--k3d-glow-edge) * -1);
}

.k3d-glow-cta__edge--right {
  inset-inline-end: calc(var(--k3d-glow-edge) * -1);
}

.k3d-glow-cta__edge--top,
.k3d-glow-cta__edge--bottom {
  inset-inline: calc(var(--k3d-glow-edge) * -1);
  height: var(--k3d-glow-edge);
  background: linear-gradient(90deg, var(--k3d-glow-gradient));
}

.k3d-glow-cta__edge--top {
  inset-block-start: calc(var(--k3d-glow-edge) * -1);
}

.k3d-glow-cta__edge--bottom {
  inset-block-end: calc(var(--k3d-glow-edge) * -1);
}

.k3d-mobile-drawer .k3d-glow-cta {
  display: inline-flex;
  width: calc(100% - (2 * var(--k3d-glow-reach)));
  margin-inline: var(--k3d-glow-reach);
}

.k3d-glow-cta.is-hover::before {
  opacity: 0.3;
}

.k3d-glow-cta.is-hover .k3d-glow-cta__edge::after {
  opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
  .k3d-glow-cta:hover {
    transform: translateY(0) !important;
  }

  .k3d-glow-cta:hover::before {
    opacity: 0.3;
  }

  .k3d-glow-cta:hover .k3d-glow-cta__edge::after {
    opacity: 1;
  }
}

.k3d-glow-cta:focus-visible::before,
.k3d-glow-cta.is-focus::before {
  opacity: 0.3;
}

.k3d-glow-cta:focus-visible .k3d-glow-cta__edge::after,
.k3d-glow-cta.is-focus .k3d-glow-cta__edge::after {
  opacity: 1;
}

.k3d-glow-cta:focus-visible,
.k3d-glow-cta.is-focus {
  outline: var(--rule-fine) solid var(--color-focus);
  outline-offset: var(--space-2xs);
  box-shadow: 0 0 0 var(--rule-fine) var(--color-paper);
}

.k3d-glow-cta:active,
.k3d-glow-cta.is-active {
  background: var(--k3d-glow-surface-pressed) !important;
  color: var(--k3d-glow-text) !important;
  transform: translateY(var(--rule-hair)) !important;
}

.k3d-glow-cta:disabled,
.k3d-glow-cta[aria-disabled="true"],
.k3d-glow-cta.is-disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none !important;
}

.k3d-glow-cta:disabled::before,
.k3d-glow-cta[aria-disabled="true"]::before,
.k3d-glow-cta.is-disabled::before,
.k3d-glow-cta:disabled::after,
.k3d-glow-cta[aria-disabled="true"]::after,
.k3d-glow-cta.is-disabled::after,
.k3d-glow-cta:disabled .k3d-glow-cta__edge,
.k3d-glow-cta[aria-disabled="true"] .k3d-glow-cta__edge,
.k3d-glow-cta.is-disabled .k3d-glow-cta__edge {
  opacity: 0;
}

.k3d-glow-cta[data-state="loading"] {
  cursor: progress;
}

.k3d-glow-cta[data-state="loading"]::before {
  opacity: 0.18;
}

.k3d-glow-cta[data-state="error"] {
  --k3d-glow-line: var(--color-error);
}

.k3d-glow-cta[data-state="success"] {
  --k3d-glow-line: var(--color-success);
}

.k3d-glow-cta[data-state="error"]::before,
.k3d-glow-cta[data-state="success"]::before,
.k3d-glow-cta[data-state="error"] .k3d-glow-cta__edge::after,
.k3d-glow-cta[data-state="success"] .k3d-glow-cta__edge::after {
  opacity: 0.42;
}

@media (pointer: coarse) {
  .k3d-glow-cta {
    min-height: calc(var(--k3d-glow-target) + var(--space-3xs));
  }
}

@media (prefers-reduced-motion: reduce) {
  .k3d-glow-cta,
  .k3d-glow-cta::before,
  .k3d-glow-cta__edge::after {
    transition-duration: var(--dur-micro) !important;
  }

  .k3d-glow-cta:active,
  .k3d-glow-cta.is-active {
    transform: none !important;
  }
}

@media (forced-colors: active) {
  .k3d-glow-cta {
    border: var(--rule-fine) solid ButtonText !important;
    background: ButtonFace !important;
    color: ButtonText !important;
  }

  .k3d-glow-cta::before,
  .k3d-glow-cta::after,
  .k3d-glow-cta__edge {
    display: none;
  }
}

/* Product-detail image gallery: static product image + in-use image */
.k3d-product-gallery {
  min-width: 0;
  display: grid;
  gap: var(--space-md);
  margin-block-start: clamp(var(--space-lg), 4vw, var(--space-2xl));
}

.k3d-product-gallery__grid {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-md);
}

.k3d-product-shot {
  min-width: 0;
  display: grid;
  gap: 0;
  margin: 0;
}

.k3d-product-shot[hidden] {
  display: none;
}

.k3d-product-shot__frame {
  position: relative;
  isolation: isolate;
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  border: var(--rule-hair) solid var(--color-rule);
  background: var(--color-paper-2);
  overflow: hidden;
}

.k3d-product-shot__open {
  position: absolute;
  z-index: var(--z-raised);
  inset: 0;
  width: 100%;
  padding: 0;
  border: var(--rule-hair) solid transparent;
  background: none;
  cursor: zoom-in;
  transition: border-color var(--dur-short) var(--ease-out);
}

.k3d-product-shot__open:disabled {
  cursor: default;
}

.k3d-product-shot__open:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: -4px;
}

.k3d-product-shot__frame > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.k3d-product-shot__frame > img[hidden] {
  display: none !important;
}

.k3d-product-shot[data-product-shot="scene"] .k3d-product-shot__frame > img {
  object-fit: cover;
  filter: saturate(0.86);
}

/* Faint edge arrows: step between the product and in-use frames without
   hunting for a control. Hidden when both frames are already on screen. */
.k3d-product-shot__nav {
  position: absolute;
  z-index: calc(var(--z-raised) + 1);
  inset-block: 0;
  width: clamp(2.75rem, 9%, 4.5rem);
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  color: var(--color-ink);
  cursor: pointer;
  opacity: 0.5;
  transition:
    opacity var(--dur-short) var(--ease-out),
    color var(--dur-short) var(--ease-out);
}

.k3d-product-shot__nav--prev {
  inset-inline-start: 0;
  background: linear-gradient(
    to right,
    color-mix(in oklch, var(--color-paper) 62%, transparent),
    transparent
  );
}

.k3d-product-shot__nav--next {
  inset-inline-end: 0;
  background: linear-gradient(
    to left,
    color-mix(in oklch, var(--color-paper) 62%, transparent),
    transparent
  );
}

.k3d-product-shot__nav svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  filter: drop-shadow(0 0 2px color-mix(in oklch, var(--color-paper) 70%, transparent));
  transition: color var(--dur-short) var(--ease-out);
}

.k3d-product-shot__nav:focus-visible {
  opacity: 1;
  outline: 2px solid var(--color-focus);
  outline-offset: -2px;
}

.k3d-product-gallery[data-gallery-nav="off"] .k3d-product-shot__nav {
  display: none;
}

.k3d-product-shot__pending {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: var(--space-2xs);
  padding: var(--space-lg);
  background: var(--color-paper-3);
  text-align: center;
}

.k3d-product-shot__pending[hidden] {
  display: none !important;
}

.k3d-product-shot__pending strong {
  color: var(--color-ink);
  font-size: var(--text-base);
  line-height: 1.3;
}

.k3d-product-shot__pending span {
  color: var(--color-accent);
  font-family: var(--font-outlier);
  font-size: var(--text-xs);
  font-variant-numeric: tabular-nums;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.k3d-product-shot__zoom {
  position: absolute;
  z-index: var(--z-raised);
  inset-block-end: var(--space-2xs);
  inset-inline-end: var(--space-2xs);
  padding: 0.375rem var(--space-2xs);
  background: color-mix(in oklch, var(--color-paper) 82%, transparent);
  color: var(--color-signal);
  font-family: var(--font-outlier);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-label);
  line-height: 1;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity var(--dur-short) var(--ease-out);
}

.k3d-product-shot__open:disabled .k3d-product-shot__zoom {
  display: none;
}

.k3d-product-shot__open:focus-visible .k3d-product-shot__zoom {
  opacity: 1;
}

.k3d-product-shot figcaption {
  min-width: 0;
  display: grid;
  gap: var(--space-3xs);
  padding: var(--space-sm) 0 0;
}

.k3d-product-shot figcaption strong {
  color: var(--color-ink);
  font-family: var(--font-outlier);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-label);
  line-height: 1.3;
  text-transform: uppercase;
}

.k3d-product-shot figcaption span {
  color: var(--color-muted);
  font-size: var(--text-sm);
  line-height: 1.6;
}

[data-gallery-state="error"] .k3d-product-shot figcaption strong {
  color: var(--color-error);
}

/* Full-resolution overlay */
.k3d-lightbox {
  position: fixed;
  z-index: calc(var(--z-modal) + 10);
  inset: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: var(--space-sm);
  padding: clamp(var(--space-sm), 3vw, var(--space-xl));
  background: color-mix(in oklch, var(--color-paper) 93%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.k3d-lightbox[hidden] {
  display: none;
}

.k3d-lightbox__image {
  min-width: 0;
  min-height: 0;
  display: block;
  justify-self: center;
  align-self: center;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border: var(--rule-hair) solid var(--color-rule);
  background: var(--color-paper-2);
}

.k3d-lightbox__bar {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
  justify-content: space-between;
  padding-block-start: var(--space-2xs);
  border-block-start: var(--rule-hair) solid var(--color-rule);
}

.k3d-lightbox__caption {
  min-width: 0;
  margin: 0;
  color: var(--color-muted);
  font-size: var(--text-sm);
  line-height: 1.5;
}

.k3d-lightbox__caption strong {
  display: block;
  color: var(--color-ink);
  font-family: var(--font-outlier);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
}

.k3d-lightbox__close {
  min-height: 2.75rem;
  flex: none;
  padding-inline: var(--space-md);
  border: var(--rule-hair) solid var(--color-rule);
  background: var(--color-paper-2);
  color: var(--color-ink);
  font-family: var(--font-outlier);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  cursor: pointer;
}

.k3d-lightbox__close:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
}

@media (hover: hover) and (pointer: fine) {
  .k3d-product-shot__open:not(:disabled):hover {
    border-color: var(--color-signal);
  }

  .k3d-product-shot__open:not(:disabled):hover .k3d-product-shot__zoom {
    opacity: 1;
  }

  .k3d-product-shot__nav:hover {
    opacity: 1;
  }

  .k3d-product-shot__nav:hover svg {
    color: var(--color-signal);
  }

  .k3d-lightbox__close:hover {
    background: var(--color-paper-3);
    color: var(--color-signal);
  }
}

@media (min-width: 60rem) {
  .k3d-product-gallery[data-gallery-mode="pair"] .k3d-product-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(var(--space-md), 2.5vw, var(--space-lg));
  }

  .k3d-product-gallery[data-gallery-mode="single"] .k3d-product-gallery__grid {
    max-width: 44rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .k3d-product-shot__nav,
  .k3d-product-shot__open,
  .k3d-product-shot__zoom {
    transition: none;
  }
}

/* Product-detail hero: identity line under the title, order actions under the gallery */
.k3d-product-identity {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-2xs);
  margin-block-start: var(--space-md);
  padding-block: var(--space-sm);
  border-block: var(--rule-hair) solid var(--color-rule);
}

.k3d-product-identity__sku {
  color: var(--color-ink);
  font-family: var(--font-outlier);
  font-size: var(--text-small);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  line-height: 1.5;
}

.k3d-product-identity .k3d-product-cap {
  margin: 0;
}

.k3d-product-hero__brief {
  max-width: none;
}

.k3d-product-hero__brief .k3d-product-commerce {
  padding-block-start: 0;
}

.k3d-product-buy {
  flex-direction: column;
  gap: var(--space-3xs);
  padding-block: var(--space-2xs);
  white-space: normal;
}

.k3d-product-buy__price {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-label);
  line-height: 1.2;
  opacity: 0.76;
  text-transform: none;
}

.k3d-product-commerce__note {
  max-width: 65ch;
  margin: var(--space-sm) 0 0;
  color: var(--color-muted);
  font-size: var(--text-sm);
  line-height: 1.6;
}

@media (min-width: 44rem) {
  .k3d-product-identity {
    grid-template-columns: auto minmax(0, 1fr);
    gap: clamp(var(--space-md), 3vw, var(--space-xl));
    align-items: baseline;
  }

  .k3d-product-identity__sku {
    white-space: nowrap;
  }
}

/* ---------------------------------------------------------------------------
 * Material explorer: machined-metal reference baselines
 * Applies only where the explorer carries data-metal-baselines="true".
 * ------------------------------------------------------------------------- */

.k3d-material__baseline-bar {
  display: grid;
  justify-content: center;
  justify-items: center;
  gap: var(--space-2xs);
  margin-block: var(--space-2xs) var(--space-sm);
}

/* The two metal keys sit on one line with the control that toggles them. */
.k3d-material__baseline-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xs) var(--space-md);
}

.k3d-material__legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-xs) var(--space-md);
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--color-neutral);
  font-family: var(--font-outlier);
  font-size: var(--text-xs);
  letter-spacing: 0.04em;
}

.k3d-material__legend li {
  display: flex;
  align-items: center;
  gap: var(--space-2xs);
  transition: opacity var(--dur-short) var(--ease-out);
}

[data-baselines-visible="false"] .k3d-material__legend--baselines li {
  opacity: 0.4;
}

/* Legend swatches are solid blocks matching the bar fills. They were dashed and
   solid rules when the baselines were radar outlines. */
.k3d-material__key {
  display: block;
  width: 1.375rem;
  height: 0.6rem;
  flex: none;
}

.k3d-material__key--al,
.k3d-matbar__row--baseline[data-bar-key="al"] .k3d-matbar__fill {
  background: color-mix(in oklch, var(--color-ink-2) 34%, transparent);
}

.k3d-material__key--steel,
.k3d-matbar__row--baseline[data-bar-key="steel"] .k3d-matbar__fill {
  background: color-mix(in oklch, var(--color-ink-2) 58%, transparent);
}

.k3d-material__baseline-toggle {
  padding: var(--space-3xs) var(--space-xs);
  border: var(--rule-hair) solid var(--color-rule);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--color-neutral);
  font-family: var(--font-outlier);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  cursor: pointer;
  transition: color var(--dur-micro) var(--ease-out), border-color var(--dur-micro) var(--ease-out);
}

.k3d-material__baseline-toggle[aria-pressed="true"] {
  border-color: color-mix(in oklch, var(--color-accent) 45%, transparent);
  color: var(--color-ink-2);
}

.k3d-material__baseline-toggle:focus-visible {
  outline: var(--rule-fine) solid var(--color-focus);
  outline-offset: 2px;
}

.k3d-material__scale-note {
  max-width: 78rem;
  margin: 0;
  padding: var(--space-md) var(--space-md) 0;
  border-inline: var(--rule-hair) solid var(--color-rule);
  color: var(--color-neutral);
  font-size: var(--text-label);
  line-height: 1.65;
}

@media (hover: hover) and (pointer: fine) {
  .k3d-material__baseline-toggle:hover {
    border-color: color-mix(in oklch, var(--color-accent) 70%, transparent);
    color: var(--color-ink);
  }
}

@media (pointer: coarse) {
  .k3d-material__baseline-toggle {
    min-height: 2.75rem;
    padding-inline: var(--space-sm);
  }
}

@media (max-width: 48rem) {
  .k3d-material__baseline-row {
    gap: var(--space-2xs) var(--space-sm);
  }

  .k3d-material__legend {
    font-size: 0.6875rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .k3d-matbar__fill {
    transition: none;
  }
}

/* Material explorer footnote band: the global `body[data-k3d-family] :where(p, li)`
 * measure (65ch) outranks the footnote's own max-width and squeezes the disclosure
 * text into a narrow column. Stretch it horizontally instead. */
body[data-k3d-family] .k3d-material__scale-note,
body[data-k3d-family] .k3d-material__footnote {
  max-width: min(100%, 140ch);
  line-height: 1.75;
}

@media (max-width: 60rem) {
  body[data-k3d-family] .k3d-material__scale-note,
  body[data-k3d-family] .k3d-material__footnote {
    max-width: none;
  }
}

/* ---------------------------------------------------------------------------
 * Product page: merged offer block
 * One block under the gallery carries both paths, so the page no longer has a
 * second CTA repeating them at the foot. Columns and gap mirror
 * .k3d-product-gallery__grid in pair mode, so each side sits under the image
 * column above it.
 * ------------------------------------------------------------------------- */
.k3d-product-offer {
  display: grid;
  gap: var(--space-lg);
  margin: 0;
}

.k3d-product-offer__side {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: var(--space-sm);
}

.k3d-product-hero__brief .k3d-product-offer__title {
  margin: 0;
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 1.4vw + 0.75rem, 1.4rem);
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1.25;
  text-wrap: balance;
}

.k3d-product-offer__actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-xs);
}

.k3d-product-offer__actions .k3d-home-button {
  width: 100%;
  padding-inline: var(--space-md);
}

.k3d-product-offer__note {
  max-width: 48ch;
  margin: 0;
  color: var(--color-muted);
  font-size: var(--text-sm);
  line-height: 1.6;
}

/* On the error path key3d-product.js rewrites the quote link to
   "Browse Shop Catalog", which would leave both headings labelling a button
   that contradicts them. */
.k3d-product-page[data-product-page-state="error"] .k3d-product-offer {
  display: none;
}

.k3d-product-offer__browse {
  margin: var(--space-md) 0 0;
}

.k3d-product-offer__link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--color-muted);
  font-family: var(--font-outlier);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-label);
  text-decoration: none;
  text-transform: uppercase;
  transition: color var(--dur-short) var(--ease-out);
}

.k3d-product-offer__link span {
  padding-block-end: var(--space-3xs);
  border-block-end: var(--rule-hair) solid var(--color-rule);
  transition: border-color var(--dur-short) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .k3d-product-offer__link:hover {
    color: var(--color-signal);
  }

  .k3d-product-offer__link:hover span {
    border-color: var(--color-signal);
  }
}

@media (min-width: 60rem) {
  .k3d-product-offer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(var(--space-md), 2.5vw, var(--space-lg));
    align-items: start;
  }

  .k3d-product-offer__side--custom {
    position: relative;
  }

  /* Accent rail rides the centre of the column gutter, so the geometry column
     stays flush with the image and caption above it. */
  .k3d-product-offer__side--custom::before {
    content: "";
    position: absolute;
    inset-block: 0;
    inset-inline-start: calc(-0.5 * clamp(var(--space-md), 2.5vw, var(--space-lg)));
    width: var(--rule-hair);
    background: var(--color-accent);
  }

  /* Keeps the two headings and the two buttons on shared baselines when the
     longer heading wraps to a second line. */
  @supports (grid-template-rows: subgrid) {
    .k3d-product-offer {
      grid-template-rows: auto auto auto;
    }

    .k3d-product-offer__side {
      grid-row: span 3;
      grid-template-rows: subgrid;
      row-gap: var(--space-sm);
    }
  }
}

/* ───────── Discovery navigator · responsive ───────── */
@media (min-width: 40rem) {
  .k3d-discovery-nav__outcome {
    display: block;
  }
}

@media (max-width: 74.999rem) {
  .k3d-discovery-nav__list {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
  }

  .k3d-discovery-nav__item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    width: auto;
    min-height: 3.25rem;
    padding: var(--space-xs) var(--space-md);
    border-block-end: 0;
    border-inline-start: 0;
    scroll-snap-align: start;
  }

  .k3d-discovery-nav__item::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
      linear-gradient(to top, var(--color-accent), transparent 75%) left bottom / var(--rule-fine) 100% no-repeat,
      linear-gradient(to top, var(--color-accent), transparent 75%) right bottom / var(--rule-fine) 100% no-repeat,
      linear-gradient(var(--color-accent), var(--color-accent)) left bottom / 100% var(--space-3xs) no-repeat;
    opacity: 0;
    transition: opacity var(--dur-short) var(--ease-out);
  }

  .k3d-discovery-nav__item:has(.k3d-discovery-nav__control:checked)::after {
    opacity: 1;
  }

  .k3d-discovery-nav__item:has(.k3d-discovery-nav__control:focus-visible) {
    outline: none;
    box-shadow: none;
  }

  .k3d-discovery-nav__marker,
  .k3d-discovery-nav__outcome {
    display: none;
  }
}

@media (min-width: 75rem) {
  .k3d-discovery-navigator {
    grid-template-columns: minmax(17rem, 0.66fr) minmax(0, 1.64fr);
  }

  .k3d-discovery-nav {
    grid-template-rows: minmax(0, 1fr);
    align-content: stretch;
    border-block-end: 0;
    border-inline-end: var(--rule-hair) solid var(--color-rule);
  }

  .k3d-discovery-nav__list {
    grid-auto-rows: minmax(3rem, 1fr);
    align-content: stretch;
    height: 100%;
  }

  .k3d-discovery-nav__list[data-nav-fill="comfortable"] {
    grid-auto-rows: minmax(4.5rem, 6rem);
    align-content: center;
  }

  .k3d-discovery-nav__item {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    align-content: center;
    gap: var(--space-3xs) var(--space-sm);
    min-height: 3rem;
    padding-block: var(--space-3xs);
    padding-inline: var(--space-md);
  }

  .k3d-discovery-nav__label {
    grid-column: 1;
    grid-row: 1;
  }

  .k3d-discovery-nav__outcome {
    grid-column: 1;
    grid-row: 2;
  }

  .k3d-discovery-nav__marker {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .k3d-discovery-nav__item,
  .k3d-discovery-nav__item::after {
    transition-duration: 0ms;
  }
}

@media print {
  .k3d-discovery-navigator {
    display: block;
    border: 0;
  }

  .k3d-discovery-nav {
    display: none !important;
  }

  .k3d-discovery-brief[hidden] {
    display: block;
  }

  .k3d-discovery-brief {
    break-inside: avoid;
    border-block-start: var(--rule-hair) solid var(--color-rule);
  }

  .k3d-discovery-brief__media {
    display: none;
  }
}


/* Scrollbars ---------------------------------------------------------------
   A hairline in the site palette instead of the OS widget. The thumb rests at
   --color-rule, the same value as every other hairline on the page, and lifts
   to a legible line while the container is hovered or actively scrolling.
   key3d-site.js adds .is-scrolling on scroll and drops it 700ms after the last
   scroll event, which is what produces the fade back down. Firefox has no
   ::-webkit-scrollbar and cannot transition scrollbar-color, so it gets the
   thin static hairline via scrollbar-width / scrollbar-color and stops there.
   Square by design contract: --radius-pill is 0 sitewide. */

html {
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-thumb) transparent;
}

* {
  scrollbar-width: thin;
}

*::-webkit-scrollbar {
  width: var(--scrollbar-size);
  height: var(--scrollbar-size);
}

*::-webkit-scrollbar-track,
*::-webkit-scrollbar-corner {
  background: transparent;
}

/* Kills the stepper arrows at each end of the track. */
*::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

/* The transparent border plus background-clip is what thins the painted line
   to 2px while leaving the full 8px as the grab target. */
*::-webkit-scrollbar-thumb {
  background-color: var(--scrollbar-thumb);
  background-clip: content-box;
  border: var(--scrollbar-inset) solid transparent;
  transition: background-color var(--dur-short) var(--ease-out);
}

/* :where() keeps specificity at zero so the hover pair below still wins, and
   scoping to descendants of body means the page's own scrollbar is driven by
   .is-scrolling alone. html:hover is true for the entire visit, so hovering
   would pin the page scrollbar to its active state permanently. */
:where(body) *:hover::-webkit-scrollbar-thumb,
.is-scrolling::-webkit-scrollbar-thumb {
  background-color: var(--scrollbar-thumb-active);
}

@media (prefers-reduced-motion: reduce) {
  *::-webkit-scrollbar-thumb {
    transition: none;
  }
}


/* Approved lockup --------------------------------------------------------
   basic/white.svg, drawn from its own coordinate space. Height is the only
   dimension set; width follows the 733:131 (or 733:187) viewBox so the mark
   can never be stretched off its proportions. The star is the same path
   painted again on top in --color-signal with a 3-unit stroke, the heaviest
   the approved star takes before its arms merge and it stops reading. */

.k3d-lockup {
  display: block;
  block-size: var(--lockup-size, 2.25rem);
  inline-size: auto;
  overflow: visible;
}

.k3d-lockup__star {
  fill: var(--color-signal);
  stroke: var(--color-signal);
  stroke-width: 3;
  stroke-linejoin: round;
}

.k3d-brand--nav .k3d-lockup {
  --lockup-size: 2.25rem;
}

.k3d-brand--footer .k3d-lockup {
  --lockup-size: 4.5rem;
}

.wordmark .k3d-lockup {
  --lockup-size: 3.5rem;
}

@media (max-width: 47.999rem) {
  .k3d-brand--nav .k3d-lockup {
    --lockup-size: 2rem;
  }

  .k3d-brand--footer .k3d-lockup {
    --lockup-size: 3.5rem;
  }
}
