/* =====================================================================
   KSC Metal — Endüstriyel Petek · theme tokens
   The ONLY place brand values live (theme-kit css-tokens.md).
   Source: .blocofy-build/design-dna.json (contractVersion 1)
   ===================================================================== */
:root {
  /* brand */
  --km-red: #EC1C24;          /* color.primary — large type, surfaces, motif */
  --km-accent: #D9141C;       /* color.accent — buttons, links, focus */
  --km-on-accent: #FFFFFF;    /* 5.16:1 on --km-accent (AA) */
  --km-on-red: #FFFFFF;       /* large/bold text only on --km-red (4.41:1) */

  /* neutrals (by role) */
  --km-bg: #F2F2F0;
  --km-surface: #FFFFFF;
  --km-line: #D6D8DA;
  --km-mut: #5B6168;
  --km-ink: #16181B;
  --km-steel: #2A2E33;        /* secondary neutral: dark band / footer */

  /* dark sections */
  --km-dark: #0F1113;
  --km-dark-ink: #F2F2F0;
  --km-dark-mut: #A7ADB4;     /* 8.4:1 on --km-dark */
  --km-dark-line: #2F343A;
  --km-dark-accent: #FF4B52;  /* 5.75:1 on --km-dark */

  /* photo scrim (ink → transparent only) */
  --km-scrim: rgba(22, 24, 27, .78);
  --km-scrim-0: rgba(22, 24, 27, 0);
  --km-scrim-strong: rgba(22, 24, 27, .9);
  --km-scrim-soft: rgba(22, 24, 27, .35);

  /* type */
  --km-font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --km-font-body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --km-font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --km-h1: clamp(2.75rem, 6vw, 5.5rem);
  --km-h2: clamp(2rem, 3.6vw, 3.25rem);
  --km-h3: clamp(1.35rem, 1.8vw, 1.6rem);
  --km-lead: clamp(1.08rem, 1.3vw, 1.25rem);

  /* shape + layout */
  --km-r-card: 2px;
  --km-r-btn: 2px;
  --km-max: 1320px;
  --km-text: 68ch;
  --km-gutter: clamp(16px, 4vw, 40px);
  --km-sec: clamp(72px, 9vw, 136px);
  --km-header-h: 76px;
  --km-ease: cubic-bezier(.7, 0, .2, 1);

  /* hex (pointy-top) */
  --km-hex: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  --km-hex-ratio: 0.8660254;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--km-bg); color: var(--km-ink);
  font-family: var(--km-font-body); font-size: 17px; line-height: 1.6;
  overflow-x: clip; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img, video, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--km-accent); outline-offset: 3px; }
.km-dark :focus-visible, .km-red :focus-visible { outline-color: var(--km-dark-ink); }
::selection { background: var(--km-red); color: var(--km-on-red); }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 300;
  background: var(--km-ink); color: var(--km-dark-ink); padding: 12px 18px; font-weight: 600;
}
.skip-link:focus { left: 12px; top: 12px; }
.km-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- layout ---------- */
.km-wrap { max-width: var(--km-max); margin-inline: auto; padding-inline: var(--km-gutter); }
.km-sec { padding-block: var(--km-sec); position: relative; }
.km-sec--tight { padding-block: clamp(48px, 6vw, 88px); }
.km-surface { background: var(--km-surface); }
.km-dark { background: var(--km-dark); color: var(--km-dark-ink); }
.km-steel { background: var(--km-steel); color: var(--km-dark-ink); }
.km-red { background: var(--km-accent); color: var(--km-on-accent); } /* small text on red → accent (AA) */
.km-grid { display: grid; gap: clamp(20px, 3vw, 40px); }
@media (min-width: 900px) {
  .km-split-5-7 { grid-template-columns: 5fr 7fr; }
  .km-split-4-8 { grid-template-columns: 4fr 8fr; }
  .km-split-7-5 { grid-template-columns: 7fr 5fr; }
  .km-split-6-6 { grid-template-columns: 1fr 1fr; }
}

/* ---------- type ---------- */
.km-h1, .km-h2, .km-h3 { font-family: var(--km-font-display); font-weight: 700; letter-spacing: -.01em; text-wrap: balance; }
.km-h1 { font-size: var(--km-h1); line-height: 1; }
.km-h2 { font-size: var(--km-h2); line-height: 1.04; }
.km-h3 { font-size: var(--km-h3); line-height: 1.12; font-weight: 600; }
.km-h2 em, .km-h1 em { font-style: normal; color: var(--km-red); }
.km-dark .km-h1 em, .km-dark .km-h2 em, .km-steel .km-h2 em { color: var(--km-dark-accent); }
.km-lead { font-size: var(--km-lead); line-height: 1.55; color: var(--km-mut); max-width: 60ch; }
.km-dark .km-lead, .km-steel .km-lead { color: var(--km-dark-mut); }
.km-red .km-lead { color: var(--km-on-red); }
.km-mono { font-family: var(--km-font-mono); letter-spacing: .02em; }
.km-muted { color: var(--km-mut); }
.km-dark .km-muted, .km-steel .km-muted { color: var(--km-dark-mut); }

/* section künye — "KSC—03 / SÜREÇ" */
.km-label {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--km-font-mono); font-size: .78rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: var(--km-mut);
  margin-bottom: 22px;
}
.km-label__code { color: var(--km-accent); white-space: nowrap; }
.km-label::after { content: ""; flex: 1 1 auto; max-width: 160px; height: 1px; background: currentColor; opacity: .45; }
.km-dark .km-label, .km-steel .km-label { color: var(--km-dark-mut); }
.km-dark .km-label__code, .km-steel .km-label__code { color: var(--km-dark-accent); }
.km-red .km-label, .km-red .km-label__code { color: var(--km-on-red); }
.km-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); max-width: 880px; }
.km-head--row { max-width: none; }
@media (min-width: 900px) {
  .km-head--row { grid-template-columns: 7fr 5fr; align-items: end; column-gap: 48px; }
}

/* rich text */
.km-rte { max-width: var(--km-text); font-size: 1.06rem; }
.km-rte > * + * { margin-top: 1em; }
.km-rte h2 { font-family: var(--km-font-display); font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.1; margin-top: 1.6em; }
.km-rte h3 { font-family: var(--km-font-display); font-size: 1.45rem; line-height: 1.15; margin-top: 1.4em; }
.km-rte a { color: var(--km-accent); text-decoration: underline; text-underline-offset: 3px; }
.km-rte ul, .km-rte ol { padding-left: 1.3em; }
.km-rte li + li { margin-top: .4em; }
.km-rte ul li::marker { color: var(--km-red); }
.km-rte strong { font-weight: 600; }
.km-rte blockquote { margin: 1.4em 0; padding-left: 20px; border-left: 3px solid var(--km-red); font-size: 1.15rem; }
.km-rte table { border-collapse: collapse; width: 100%; font-size: .95rem; display: block; overflow-x: auto; }
.km-rte th, .km-rte td { border-bottom: 1px solid var(--km-line); padding: 10px 12px; text-align: left; }
.km-rte img { border-radius: var(--km-r-card); }
.km-dark .km-rte a { color: var(--km-dark-accent); }

/* ---------- second-read details ---------- */
/* corner tick marks (technical drawing frame) */
.km-ticks {
  --tk: 14px; --tw: 1px; --tc: var(--km-ink);
  background-image:
    linear-gradient(var(--tc), var(--tc)), linear-gradient(var(--tc), var(--tc)),
    linear-gradient(var(--tc), var(--tc)), linear-gradient(var(--tc), var(--tc)),
    linear-gradient(var(--tc), var(--tc)), linear-gradient(var(--tc), var(--tc)),
    linear-gradient(var(--tc), var(--tc)), linear-gradient(var(--tc), var(--tc));
  background-repeat: no-repeat;
  background-size:
    var(--tk) var(--tw), var(--tw) var(--tk), var(--tk) var(--tw), var(--tw) var(--tk),
    var(--tk) var(--tw), var(--tw) var(--tk), var(--tk) var(--tw), var(--tw) var(--tk);
  background-position:
    top left, top left, top right, top right,
    bottom left, bottom left, bottom right, bottom right;
}
.km-dark .km-ticks, .km-steel .km-ticks, .km-ticks--light { --tc: var(--km-dark-mut); }
.km-ticks--red { --tc: var(--km-red); }

/* laser-cut underline (hover) */
.km-laser { position: relative; }
.km-laser::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--km-accent); transform: scaleX(0); transform-origin: left center;
  transition: transform .5s var(--km-ease);
  box-shadow: 0 0 10px 0 var(--km-red);
}
.km-laser:hover::after, .km-laser:focus-visible::after, .km-laser:focus-within::after { transform: scaleX(1); }

/* faint honeycomb texture — dark bands only (≤4%) */
.km-comb { position: relative; isolation: isolate; }
.km-comb::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--km-dark-ink); opacity: .04;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 1 55 16.5v31L28 63 1 47.5v-31z M28 63v34 M1 16.5 0 16 M55 16.5l1-.5' fill='none' stroke='black' stroke-width='1.2'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 1 55 16.5v31L28 63 1 47.5v-31z M28 63v34 M1 16.5 0 16 M55 16.5l1-.5' fill='none' stroke='black' stroke-width='1.2'/%3E%3C/svg%3E");
  -webkit-mask-size: 56px 97px; mask-size: 56px 97px;
}

/* hex mask utility (Petek Pencere) */
.km-hexmask { clip-path: var(--km-hex); aspect-ratio: var(--km-hex-ratio); overflow: hidden; position: relative; }
.km-hexmask img, .km-hexmask .km-ph { width: 100%; height: 100%; object-fit: cover; }
.km-hexdot { width: 12px; height: 14px; clip-path: var(--km-hex); background: var(--km-red); flex: 0 0 auto; display: inline-block; }

/* image placeholder (empty media) */
.km-ph {
  display: grid; place-items: center; width: 100%; height: 100%; min-height: 160px;
  background: var(--km-steel); color: var(--km-dark-mut);
  font-family: var(--km-font-mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase;
}

/* ---------- buttons ---------- */
.km-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 14px 24px; border-radius: var(--km-r-btn); border: 1px solid transparent;
  font-family: var(--km-font-body); font-weight: 600; font-size: 1rem; line-height: 1.2;
  background: var(--km-accent); color: var(--km-on-accent);
  position: relative; overflow: hidden; isolation: isolate;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.km-btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--km-ink);
  transform: translateX(-101%); transition: transform .45s var(--km-ease);
}
.km-btn:hover::before, .km-btn:focus-visible::before { transform: translateX(0); }
.km-btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.km-btn--ghost { background: transparent; color: var(--km-ink); border-color: var(--km-ink); }
.km-btn--ghost:hover, .km-btn--ghost:focus-visible { color: var(--km-dark-ink); }
.km-dark .km-btn--ghost, .km-steel .km-btn--ghost, .km-red .km-btn--ghost { color: var(--km-dark-ink); border-color: var(--km-dark-ink); }
.km-dark .km-btn--ghost::before, .km-steel .km-btn--ghost::before, .km-red .km-btn--ghost::before { background: var(--km-dark-ink); }
.km-dark .km-btn--ghost:hover, .km-steel .km-btn--ghost:hover, .km-red .km-btn--ghost:hover,
.km-dark .km-btn--ghost:focus-visible, .km-steel .km-btn--ghost:focus-visible, .km-red .km-btn--ghost:focus-visible { color: var(--km-ink); }
.km-btn--ink { background: var(--km-ink); color: var(--km-dark-ink); }
.km-btn--ink::before { background: var(--km-accent); }
.km-red .km-btn--ink::before { background: var(--km-dark-ink); }
.km-red .km-btn--ink:hover, .km-red .km-btn--ink:focus-visible { color: var(--km-ink); }
.km-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.km-link {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 600; padding-bottom: 4px;
}
.km-link svg { width: 16px; height: 16px; transition: transform .3s var(--km-ease); }
.km-link:hover svg { transform: translateX(4px); }

/* chips / filters */
.km-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.km-chip {
  font-family: var(--km-font-mono); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase;
  padding: 9px 14px; border: 1px solid var(--km-line); border-radius: var(--km-r-btn); background: transparent;
  min-height: 40px;
}
.km-chip[aria-pressed="true"] { background: var(--km-ink); color: var(--km-dark-ink); border-color: var(--km-ink); }
.km-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--km-font-mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--km-mut);
}

/* empty state */
.km-empty {
  padding: 48px 32px; border: 1px dashed var(--km-line); border-radius: var(--km-r-card);
  display: grid; gap: 10px; justify-items: start;
}
.km-empty p { color: var(--km-mut); max-width: 52ch; }
.km-dark .km-empty { border-color: var(--km-dark-line); }
.km-dark .km-empty p { color: var(--km-dark-mut); }

/* ---------- cards ---------- */
.km-card {
  background: var(--km-surface); border: 1px solid var(--km-line); border-radius: var(--km-r-card);
  display: flex; flex-direction: column; position: relative; height: 100%;
}
.km-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--km-steel); }
.km-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--km-ease); }
.km-card:hover .km-card__media img { transform: scale(1.04); }
.km-card__body { padding: 24px; display: grid; gap: 12px; align-content: start; flex: 1 1 auto; }
.km-card__title { font-family: var(--km-font-display); font-size: 1.55rem; line-height: 1.1; font-weight: 600; }
.km-card__text { color: var(--km-mut); font-size: .98rem; }
.km-card__foot { padding: 0 24px 22px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.km-card a.km-card__cover { position: absolute; inset: 0; z-index: 2; }
.km-card a.km-card__cover:focus-visible { outline-offset: -3px; }

/* ---------- motion initial states (JS-only, GSAP owns animation) ---------- */
.js [data-reveal] { opacity: 0; visibility: hidden; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; visibility: visible; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* =====================================================================
   KmHeader
   ===================================================================== */
.km-header { position: relative; z-index: 100; background: var(--km-bg); border-bottom: 1px solid var(--km-line); }
.km-header--sticky { position: sticky; top: 0; }
/* the platform wraps chrome sections in a same-height div, which leaves the header no room to
   stick — make that wrapper the sticky box instead (header setting "sticky" on) */
div:has(> .km-header--sticky) { position: sticky; top: 0; z-index: 100; }
/* scroll lock (mobile nav) on the root, so body never becomes a scroll container and the sticky header stays put */
@media (max-width: 1099.98px) {
  html:has(> body.km-lock) { overflow: hidden; }
  body.km-lock { overflow: visible; overflow-x: clip; }
}
.km-header.is-scrolled { background: var(--km-surface); }
.km-header__bar { display: flex; align-items: center; gap: 24px; min-height: var(--km-header-h); }
.km-header__brand { display: inline-flex; align-items: center; color: var(--km-red); flex: 0 0 auto; }
.km-logo { height: 44px; width: auto; }
.km-header__logo { height: 42px; }
.km-nav { flex: 1 1 auto; }
.km-nav__list { list-style: none; display: flex; align-items: center; gap: 4px; }
.km-nav__item { position: relative; display: flex; align-items: center; }
.km-nav__link { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 12px; font-weight: 500; font-size: .98rem; }
.km-nav__link.km-laser::after { left: 12px; right: 12px; bottom: 6px; }
.km-nav__link[aria-current="page"] { color: var(--km-accent); }
.km-nav__toggle { display: inline-grid; place-items: center; width: 32px; height: 44px; margin-left: -8px; background: none; border: 0; padding: 0; }
.km-nav__toggle svg { width: 16px; height: 16px; transition: transform .3s var(--km-ease); }
.km-nav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.km-header__actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.km-header__phone { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 500; min-height: 44px; }
.km-header__phone svg { width: 18px; height: 18px; color: var(--km-accent); }
.km-header__phonename { font-size: .85rem; opacity: .75; }
.km-header__cta { min-height: 46px; padding: 12px 20px; }
.km-lang { list-style: none; display: flex; gap: 2px; }
.km-lang a { display: inline-grid; place-items: center; min-width: 36px; min-height: 36px; font-size: .78rem; }
.km-lang a[aria-current="true"] { color: var(--km-accent); }
.km-burger { display: none; width: 48px; height: 48px; border: 1px solid var(--km-line); background: transparent; border-radius: var(--km-r-btn); place-items: center; }
.km-burger__i { display: grid; gap: 5px; width: 20px; }
.km-burger__i span { display: block; height: 2px; background: var(--km-ink); transition: transform .3s var(--km-ease), opacity .2s; }
.km-burger[aria-expanded="true"] .km-burger__i span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.km-burger[aria-expanded="true"] .km-burger__i span:nth-child(2) { opacity: 0; }
.km-burger[aria-expanded="true"] .km-burger__i span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.km-nav__mobile-extra { display: none; }

/* mega panel — desktop */
@media (min-width: 1100px) {
  .km-mega {
    position: fixed; left: 0; right: 0; top: var(--km-header-h);
    background: var(--km-surface); border-top: 1px solid var(--km-line); border-bottom: 3px solid var(--km-red);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s ease, transform .35s var(--km-ease), visibility 0s linear .35s;
  }
  .km-header:not(.km-header--sticky) .km-mega { position: absolute; top: 100%; }
  .km-nav__item--mega { position: static; }
  .km-nav__item--mega:hover > .km-mega,
  .km-nav__item--mega:focus-within > .km-mega,
  .km-nav__item--mega.is-open > .km-mega { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .js .km-nav__item--mega:focus-within:not(.is-open) > .km-mega { visibility: hidden; opacity: 0; }
  .js .km-nav__item--mega:hover > .km-mega { visibility: visible; opacity: 1; transform: none; }
  .km-mega__inner { display: grid; grid-template-columns: 4fr 8fr; gap: 48px; padding-block: 40px 44px; }
  .km-mega__text { color: var(--km-mut); margin-bottom: 18px; max-width: 36ch; }
  .km-mega__grid { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 32px; }
}
.km-mega__link { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--km-line); }
.km-mega__link .km-hexdot { transition: transform .3s var(--km-ease); }
.km-mega__link:hover .km-hexdot, .km-mega__link:focus-visible .km-hexdot { transform: rotate(90deg); }
.km-mega__t { font-family: var(--km-font-display); font-weight: 600; font-size: 1.25rem; line-height: 1.15; }
.km-mega__d { grid-column: 2; color: var(--km-mut); font-size: .88rem; }
.km-mega__link:hover .km-mega__t { color: var(--km-accent); }

/* mobile nav */
@media (max-width: 1099.98px) {
  .km-header__phone--bar, .km-header__cta { display: none; }
  .km-burger { display: none; }
  .js .km-burger { display: inline-grid; }
  /* no-JS: nav wraps below the bar as a plain list */
  .km-header__bar { flex-wrap: wrap; }
  .km-nav { order: 3; flex-basis: 100%; }
  .km-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .km-nav__item { flex-wrap: wrap; border-top: 1px solid var(--km-line); }
  .km-nav__link { flex: 1 1 auto; font-family: var(--km-font-display); font-size: 1.45rem; font-weight: 600; padding: 12px 0; }
  .km-nav__link.km-laser::after { display: none; }
  .km-nav__toggle { width: 48px; height: 48px; margin: 0; }
  .km-mega { flex-basis: 100%; }
  .km-mega__inner { padding: 0 0 12px; }
  .km-mega__intro { display: none; }
  .km-mega__grid { list-style: none; }
  .km-mega__d { display: none; }
  .km-mega__t { font-size: 1.08rem; }
  .km-nav__mobile-extra { display: grid; gap: 12px; padding: 20px 0 28px; }
  .js .km-nav {
    position: fixed; inset: var(--km-header-h) 0 0 0; z-index: 99; background: var(--km-bg);
    padding: 8px var(--km-gutter) 40px; overflow-y: auto; overscroll-behavior: contain;
    visibility: hidden; opacity: 0; transition: opacity .25s ease, visibility 0s linear .25s;
  }
  .js .km-nav.is-open { visibility: visible; opacity: 1; transition-delay: 0s; }
  .js .km-mega { display: none; }
  .js .km-nav__item.is-open > .km-mega { display: block; }
  /* body.km-lock: see the sticky-wrapper block above (lock lives on <html>) */
}
@media (max-width: 480px) { .km-logo, .km-header__logo { height: 36px; } }

/* =====================================================================
   KmFooter
   ===================================================================== */
.km-footer { padding-block: clamp(48px, 6vw, 76px) 24px; }
.km-footer a { color: var(--km-dark-ink); }
.km-footer__top { display: grid; gap: 36px; padding-bottom: 36px; }
@media (min-width: 700px) { .km-footer__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 48px; } .km-footer__nav { grid-column: 1 / -1; grid-row: 2; } }
@media (min-width: 900px) and (max-width: 1099.98px) { .km-footer__brand { grid-row: 1 / span 2; } .km-footer__nav { grid-column: 2; grid-row: 2; column-gap: 28px; } }
@media (min-width: 1100px) { .km-footer__top { grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3.4fr); gap: 56px; } .km-footer__nav { grid-column: auto; grid-row: auto; } }
.km-footer__brand { display: grid; gap: 16px; align-content: start; justify-items: start; }
.km-footer__logo { color: var(--km-dark-ink); }
.km-footer__logo-img { height: 48px; }
.km-footer__tag { font-family: var(--km-font-display); font-size: 1.3rem; line-height: 1.15; font-weight: 600; max-width: 22ch; }
.km-footer__about { color: var(--km-dark-mut); font-size: .94rem; line-height: 1.6; max-width: 46ch; }
.km-footer__more { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.km-footer__more svg { width: 14px; height: 14px; }
.km-footer__nav { display: grid; gap: 24px 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; }
@media (max-width: 559.98px) { .km-footer__col:nth-child(2) { grid-row: span 2; } }
@media (min-width: 560px) { .km-footer__nav { grid-template-columns: repeat(3, minmax(0, max-content)); gap: 24px clamp(28px, 4vw, 56px); } }
.km-footer__h { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--km-dark-mut); margin-bottom: 12px; }
.km-footer__list { list-style: none; display: grid; gap: 4px; font-size: .95rem; }
.km-footer__list a { display: inline-flex; align-items: center; min-height: 28px; }
.km-footer__list a { padding-bottom: 2px; }
.km-footer__addr { font-style: normal; display: grid; gap: 6px; color: var(--km-dark-mut); font-size: .95rem; }
.km-footer__who { white-space: nowrap; font-size: .88rem; }
.km-footer__addr a { color: var(--km-dark-ink); }
.km-footer__k { display: inline-block; width: 1.2em; color: var(--km-dark-accent); }
.km-social { list-style: none; display: flex; gap: 8px; margin-top: 20px; }
.km-social a { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--km-dark-line); border-radius: var(--km-r-btn); transition: border-color .2s, color .2s; }
.km-social a:hover { border-color: var(--km-dark-accent); color: var(--km-dark-accent); }
.km-social svg { width: 18px; height: 18px; }
.km-footbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 32px; padding-top: 22px;
  border-top: 1px solid var(--km-dark-line); font-size: .88rem; color: var(--km-dark-mut); }
.km-footbar p { margin: 0; }
.km-footbar__note { flex: 1 1 auto; }
.km-footbar__links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.km-footbar__links a { color: var(--km-dark-ink); display: inline-flex; align-items: center; min-height: 32px; }
@media (max-width: 699.98px) { .km-footbar { flex-direction: column; align-items: flex-start; } }
/* Agency credit + Blocofy partner badge, pushed to the right end of the bottom bar */
.km-credit { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.km-footer .km-credit a { color: var(--km-dark-mut); text-decoration: none; }
.km-credit a:focus-visible { outline: 2px solid var(--km-dark-accent); outline-offset: 4px; }
.km-credit__by { font-size: .8rem; line-height: 1.35; text-align: right; }
.km-credit__name { display: block; color: var(--km-dark-ink); font-size: .88rem; font-weight: 600; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: text-decoration-color .2s; }
.km-credit__by:hover .km-credit__name { text-decoration-color: var(--km-dark-accent); }
.km-credit__sep { width: 1px; align-self: stretch; background: var(--km-dark-line); }
.km-footer .km-credit .km-credit__partner { display: grid; gap: 5px; justify-items: start; color: var(--km-dark-ink); transition: opacity .2s; }
.km-credit__partner:hover { opacity: .8; }
.km-credit__logo { display: block; height: 15px; width: auto; }
.km-credit__label { font-size: .62rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--km-dark-mut); white-space: nowrap; }
@media (max-width: 699.98px) { .km-credit { margin-left: 0; } .km-credit__by { text-align: left; } }

/* =====================================================================
   KmHexHero — Petek Pencere (hex → full-bleed on scroll)
   ===================================================================== */
.km-hexhero { position: relative; background: var(--km-bg); }
.km-hexhero__stage { position: relative; overflow: clip; padding-block: clamp(40px, 6vw, 72px) clamp(56px, 7vw, 96px); }
.km-hexhero__grid { position: relative; z-index: 2; display: grid; gap: 32px; }
.km-hexhero__copy { display: grid; gap: 24px; justify-items: start; max-width: 760px; }
.km-hexhero__title { max-width: 14ch; }
.km-hexhero__title em { display: block; }
.km-hexhero__specs { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .85rem; color: var(--km-mut); padding-top: 8px; border-top: 1px solid var(--km-line); }
.km-hexhero__specs li { display: inline-flex; align-items: center; gap: 10px; }
.km-hexhero__specs .km-hexdot { width: 8px; height: 9px; }
.km-hexhero__frame { display: none; }
.km-hexhero__media {
  position: relative; margin: 40px auto 0; width: min(84vw, 440px);
  aspect-ratio: var(--km-hex-ratio); clip-path: var(--km-hex); overflow: hidden; background: var(--km-steel);
}
.km-hexhero__img, .km-hexhero__media .km-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.km-hexhero__scrim { position: absolute; inset: 0; background: linear-gradient(0deg, var(--km-scrim) 0%, var(--km-scrim-0) 45%); opacity: .75; pointer-events: none; }
.km-hexhero__caption {
  position: absolute; left: 0; right: 0; bottom: 16%; display: flex; justify-content: center; align-items: center; gap: 10px;
  padding-inline: 20%; text-align: center; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--km-dark-ink);
}
.km-hexhero__caption .km-hexdot { width: 8px; height: 9px; }
.km-hexhero__scroll { display: none; }

@media (min-width: 900px) {
  .km-hexhero__stage { min-height: min(calc(100svh - var(--km-header-h)), 920px); display: grid; align-items: center; }
  .km-hexhero__grid { grid-template-columns: 1fr auto; align-items: center; gap: 48px; width: 100%; }
  .km-hexhero__frame { display: block; width: min(38vw, 520px); aspect-ratio: var(--km-hex-ratio); }
  .km-hexhero__media {
    position: absolute; margin: 0; z-index: 1;
    width: min(38vw, 520px); top: 50%; transform: translateY(-50%);
    right: calc((100% - min(100%, var(--km-max))) / 2 + var(--km-gutter));
  }
  .km-hexhero__scroll {
    display: grid; place-items: center; position: absolute; left: 50%; bottom: 18px; z-index: 3;
    width: 40px; height: 46px; margin-left: -20px; clip-path: var(--km-hex); background: var(--km-ink); color: var(--km-dark-ink);
  }
  .km-hexhero__scroll svg { width: 16px; height: 16px; }
  /* armed by JS (motion allowed + expand on): media spans the stage, clip-path set inline */
  .km-hexhero.is-armed .km-hexhero__media {
    top: 0; right: 0; bottom: 0; left: 0; width: auto; aspect-ratio: auto; transform: none; will-change: clip-path;
  }
  .km-hexhero.is-armed .km-hexhero__scrim { background: linear-gradient(90deg, var(--km-scrim) 0%, var(--km-scrim-0) 70%); opacity: 0; }
  .km-hexhero.is-armed .km-hexhero__caption { left: var(--km-gutter); right: auto; bottom: 40px; padding: 0; justify-content: flex-start; opacity: 0; }
}

/* =====================================================================
   KmMetricStrip
   ===================================================================== */
.km-metrics { padding-block: clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--km-line); }
.km-metrics--dark, .km-metrics--red { border-bottom: 0; }
.km-metrics__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 900px) { .km-metrics__list { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; } }
.km-metric { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 10px; padding: 22px 20px 20px; min-height: 150px; }
.km-metric__value { display: flex; align-items: flex-start; gap: 4px; color: var(--km-red); line-height: .95; }
.km-metrics--dark .km-metric__value { color: var(--km-dark-accent); }
.km-metrics--red .km-metric__value { color: var(--km-on-red); }
.km-metric__num { font-size: clamp(2.8rem, 5.4vw, 4.6rem); font-weight: 500; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.km-metric__pre { font-family: var(--km-font-display); font-size: 1.6rem; font-weight: 600; margin-top: .3em; }
.km-metric__unit { font-size: 1.05rem; margin-top: .35em; font-weight: 500; }
.km-metric__label { font-weight: 600; font-size: 1rem; line-height: 1.3; }
.km-metric__note { color: var(--km-mut); font-size: .88rem; order: -1; }
.km-metrics--dark .km-metric__note { color: var(--km-dark-mut); }
.km-metrics--red .km-metric__note { color: var(--km-on-red); }

/* =====================================================================
   KmSectorHive — pointy-top honeycomb (desktop 3+3 offset, mobile 2 col)
   ===================================================================== */
.km-hive__grid {
  list-style: none; display: grid; grid-template-columns: repeat(5, 1fr);
  --hx-gap: 6px;
}
.km-hive__cell { grid-column: span 2; padding-inline: calc(var(--hx-gap) / 2); }
/* mobile: rows alternate (1,3) / (2,4) → pattern of 4 */
.km-hive__cell:nth-child(4n+1) { grid-column: 1 / span 2; }
.km-hive__cell:nth-child(4n+2) { grid-column: 3 / span 2; }
.km-hive__cell:nth-child(4n+3) { grid-column: 2 / span 2; }
.km-hive__cell:nth-child(4n+4) { grid-column: 4 / span 2; }
/* % margins on grid items resolve against the grid area (the cell) → overlap = 25% of hex height */
.km-hive__cell:nth-child(n+3) { margin-top: calc(-28.87% + var(--hx-gap)); }
@media (min-width: 900px) {
  .km-hive__grid { grid-template-columns: repeat(7, 1fr); --hx-gap: 10px; max-width: 1080px; margin-inline: auto; }
  .km-hive__cell:nth-child(n) { grid-column: auto / span 2; margin-top: 0; }
  .km-hive__cell:nth-child(6n+1) { grid-column: 1 / span 2; }
  .km-hive__cell:nth-child(6n+2) { grid-column: 3 / span 2; }
  .km-hive__cell:nth-child(6n+3) { grid-column: 5 / span 2; }
  .km-hive__cell:nth-child(6n+4) { grid-column: 2 / span 2; }
  .km-hive__cell:nth-child(6n+5) { grid-column: 4 / span 2; }
  .km-hive__cell:nth-child(6n+6) { grid-column: 6 / span 2; }
  .km-hive__cell:nth-child(n+4) { margin-top: calc(-28.87% + var(--hx-gap)); }
}
.km-hex {
  display: block; position: relative; aspect-ratio: var(--km-hex-ratio); clip-path: var(--km-hex);
  background: var(--km-dark-line); transition: background-color .3s ease;
}
.km-hive--light .km-hex { background: var(--km-line); }
.km-hex__in {
  position: absolute; inset: 2px; clip-path: var(--km-hex); overflow: hidden; background: var(--km-steel);
  transition: inset .35s var(--km-ease);
}
.km-hex:hover, .km-hex:focus-visible { background: var(--km-red); }
.km-hex:hover .km-hex__in, .km-hex:focus-visible .km-hex__in { inset: 6px; }
.km-hex:focus-visible { outline: none; }
.km-hex__img, .km-hex__in .km-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; min-height: 0; transition: transform .8s var(--km-ease); }
.km-hex:hover .km-hex__img { transform: scale(1.06); }
.km-hex__shade { position: absolute; inset: 0; background: linear-gradient(0deg, var(--km-scrim) 0%, var(--km-scrim) 38%, var(--km-scrim-0) 88%); }
.km-hex__body {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  gap: 6px; padding: 0 16% 24%; text-align: center; color: var(--km-dark-ink);
}
.km-hex__no { font-size: .72rem; letter-spacing: .14em; color: var(--km-dark-accent); font-weight: 500; }
@media (max-width: 699.98px) { .km-hex__no { display: none; } }
.km-hex__title { font-family: var(--km-font-display); font-weight: 700; font-size: clamp(1.1rem, 2.1vw, 1.75rem); line-height: 1.05; }
.km-hex__sum { font-size: .82rem; line-height: 1.35; color: var(--km-dark-ink); display: none; }
@media (min-width: 1200px) { .km-hex__sum { display: block; } }
.km-hex__go { display: grid; place-items: center; width: 30px; height: 34px; margin-top: 6px; clip-path: var(--km-hex); background: var(--km-dark-ink); color: var(--km-ink); }
.km-hex__go svg { width: 16px; height: 16px; }
.km-hex:hover .km-hex__go, .km-hex:focus-visible .km-hex__go { background: var(--km-red); color: var(--km-on-red); }
.km-hive__cta { margin-top: 48px; display: flex; justify-content: center; }

/* =====================================================================
   KmJourneyTrack — 7-step honeycomb line, laser fill
   default (no-JS / reduced motion): --p:1, every step filled
   ===================================================================== */
.km-journey--light { background: var(--km-surface); }
.km-journey__track { position: relative; --hexw: 56px; --railc: var(--km-line); }
.km-journey--dark .km-journey__track { --railc: var(--km-dark-line); }
.km-journey__steps { list-style: none; display: grid; gap: 28px; position: relative; z-index: 1; }
.km-step { display: grid; grid-template-columns: var(--hexw) 1fr; column-gap: 20px; align-items: start; }
.km-step__hex {
  position: relative; display: grid; place-items: center; width: var(--hexw); aspect-ratio: var(--km-hex-ratio);
  clip-path: var(--km-hex); background: var(--railc);
}
.km-step__hex::before { content: ""; position: absolute; inset: 2px; clip-path: var(--km-hex); background: var(--km-surface); transition: background-color .35s ease; }
.km-journey--dark .km-step__hex::before { background: var(--km-dark); }
.km-step__no { position: relative; font-size: .9rem; font-weight: 500; transition: color .35s ease; }
.km-journey:not(.is-armed) .km-step__hex, .km-step.is-on .km-step__hex { background: var(--km-red); }
.km-journey:not(.is-armed) .km-step__hex::before, .km-step.is-on .km-step__hex::before { background: var(--km-red); }
.km-journey:not(.is-armed) .km-step__no, .km-step.is-on .km-step__no { color: var(--km-on-red); }
.km-step__txt { padding-top: 10px; }
.km-step__title { font-family: var(--km-font-display); font-size: 1.4rem; line-height: 1.1; font-weight: 600; }
.km-step__text { color: var(--km-mut); font-size: .95rem; margin-top: 6px; max-width: 42ch; }
.km-journey--dark .km-step__text { color: var(--km-dark-mut); }
.km-journey.is-armed .km-step__txt { transition: opacity .4s ease; opacity: .45; }
.km-journey.is-armed .km-step.is-on .km-step__txt { opacity: 1; }

/* rail: mobile vertical */
.km-journey__rail {
  position: absolute; z-index: 0; left: calc(var(--hexw) / 2 - 1px); top: calc(var(--hexw) / 1.732); bottom: 40px; width: 2px; background: var(--railc);
}
.km-journey__fill { position: absolute; inset: 0; background: var(--km-red); transform-origin: top center; transform: scaleY(var(--p)); box-shadow: 0 0 12px var(--km-red); }
.km-journey__spark {
  position: absolute; left: 50%; top: calc(var(--p) * 100%); width: 10px; height: 10px; margin: -5px 0 0 -5px;
  background: var(--km-dark-ink); box-shadow: 0 0 0 3px var(--km-red), 0 0 18px 6px var(--km-red); transform: rotate(45deg);
  opacity: 0; transition: opacity .3s ease;
}
.km-journey.is-armed .km-journey__spark { opacity: 1; }
.km-journey.is-armed.is-done .km-journey__spark { opacity: 0; }
.km-journey__cta { margin-top: 40px; }

@media (min-width: 1000px) {
  .km-journey__track { --hexw: clamp(76px, 7vw, 104px); }
  .km-journey__steps { grid-template-columns: repeat(var(--n), 1fr); gap: 0 12px; }
  .km-step { grid-template-columns: 1fr; grid-template-rows: 1fr auto 1fr; justify-items: center; text-align: center; row-gap: 18px; }
  .km-step__hex { grid-row: 2; }
  .km-step--down .km-step__txt { grid-row: 3; align-self: start; padding-top: 0; }
  .km-step--up .km-step__txt { grid-row: 1; align-self: end; padding-top: 0; }
  .km-step__no { font-size: 1.05rem; }
  .km-step__title { font-size: 1.3rem; }
  .km-step__text { font-size: .9rem; margin-inline: auto; }
  .km-journey__rail {
    top: 50%; bottom: auto; height: 2px; width: auto; margin-top: -1px;
    left: calc(100% / var(--n) / 2); right: calc(100% / var(--n) / 2);
  }
  .km-journey__fill { transform-origin: left center; transform: scaleX(var(--p)); }
  .km-journey__spark { top: 50%; left: calc(var(--p) * 100%); }
}

/* =====================================================================
   KmServiceGrid
   ===================================================================== */
.km-services__grid { list-style: none; display: grid; gap: 16px; }
@media (min-width: 700px) { .km-services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .km-services__grid--3 { grid-template-columns: repeat(3, 1fr); } }
.km-service .km-card__body { padding-top: 28px; }
.km-service__no { font-size: .8rem; color: var(--km-accent); letter-spacing: .1em; }
.km-service__go { flex-shrink: 0; display: grid; place-items: center; width: 40px; height: 46px; clip-path: var(--km-hex); background: var(--km-bg); transition: background-color .3s ease, color .3s ease; }
.km-service__go svg { width: 16px; height: 16px; }
.km-service:hover .km-service__go, .km-service:focus-within .km-service__go { background: var(--km-accent); color: var(--km-on-accent); }
.km-services__cta { margin-top: 36px; }

/* =====================================================================
   KmMethodCompare / KmGradeGuide tables
   ===================================================================== */
.km-table-wrap { overflow-x: auto; padding: 8px; background-color: var(--km-surface); }
.km-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .98rem; }
.km-table th, .km-table td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--km-line); vertical-align: middle; }
.km-table thead th { font-family: var(--km-font-mono); font-size: .74rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--km-mut); border-bottom: 2px solid var(--km-ink); }
.km-table tbody th { font-family: var(--km-font-display); font-size: 1.3rem; font-weight: 600; white-space: nowrap; }
.km-table tbody tr { transition: background-color .2s ease; }
.km-table tbody tr:hover { background: var(--km-bg); }
.km-table .km-mono { font-size: .95rem; }
/* wide tables (5–6 cols): readable measure, top-aligned rows */
.km-table--stack { min-width: 0; }
.km-table--stack td { vertical-align: top; font-size: .92rem; line-height: 1.5; }
.km-table--stack tbody th { vertical-align: top; }
@media (min-width: 760px) {
  .km-compare__table { min-width: 980px; }
  .km-grades__table { min-width: 820px; }
  .km-compare__table td:last-child, .km-grades__table td:last-child { min-width: 220px; }
}
/* < 760px: each row becomes a card; labels come from data-label (ARIA roles keep table semantics) */
@media (max-width: 759.98px) {
  .km-table-wrap:has(.km-table--stack) { overflow: visible; padding: 0; background: transparent; }
  .km-table--stack, .km-table--stack tbody, .km-table--stack tr, .km-table--stack th, .km-table--stack td { display: block; width: 100%; }
  .km-table--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .km-table--stack tbody { display: grid; gap: 12px; }
  .km-table--stack tr { background-color: var(--km-surface); border: 1px solid var(--km-line); border-top: 3px solid var(--km-ink); padding: 6px 18px 12px; }
  .km-table--stack tbody tr:hover { background-color: var(--km-surface); }
  .km-table--stack tbody th { white-space: normal; padding: 12px 0 8px; border-bottom: 1px solid var(--km-line); font-size: 1.35rem; }
  .km-table--stack td { padding: 10px 0; border-bottom: 1px dashed var(--km-line); }
  .km-table--stack td:last-child { border-bottom: 0; }
  .km-table--stack td[data-label]::before { content: attr(data-label); display: block; margin-bottom: 4px; font-family: var(--km-font-mono); font-size: .68rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--km-mut); }
}
.km-compare__note { margin-top: 16px; font-size: .8rem; color: var(--km-mut); }
.km-meter { display: inline-flex; gap: 4px; }
.km-meter__c { width: 12px; height: 14px; clip-path: var(--km-hex); background: var(--km-line); }
.km-meter__c.is-on { background: var(--km-red); }

/* =====================================================================
   KmCaseRail
   ===================================================================== */
.km-cases__list { list-style: none; display: grid; gap: 16px; }
@media (min-width: 700px) { .km-cases--grid .km-cases__list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .km-cases--grid .km-cases__list { grid-template-columns: repeat(3, 1fr); } }
.km-cases--rail .km-cases__list {
  grid-auto-flow: column; grid-auto-columns: minmax(280px, 82%); overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 16px; scrollbar-width: thin;
}
@media (min-width: 900px) { .km-cases--rail .km-cases__list { grid-auto-columns: minmax(320px, calc((100% - 32px) / 3)); } }
.km-cases--rail .km-case { scroll-snap-align: start; }
.km-case[hidden] { display: none; }
.km-case__card { position: relative; height: 100%; background: var(--km-surface); border: 1px solid var(--km-line); border-radius: var(--km-r-card); display: flex; flex-direction: column; }
.km-case__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--km-steel); }
.km-case__media img, .km-case__media .km-ph { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--km-ease); }
.km-case__card:hover .km-case__media img { transform: scale(1.05); }
.km-case__hex { position: absolute; right: 14px; bottom: 14px; width: 22px; height: 25px; clip-path: var(--km-hex); background: var(--km-red); }
.km-case__body { padding: 26px 22px 26px; display: grid; gap: 10px; }
.km-case__meta { display: flex; gap: 12px; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--km-mut); }
.km-case__meta span:first-child { color: var(--km-accent); }
.km-case__title { font-family: var(--km-font-display); font-weight: 600; font-size: 1.55rem; line-height: 1.1; }
.km-case__mat { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--km-mut); }
.km-case__mat .km-hexdot { width: 8px; height: 9px; }
.km-case__sum { color: var(--km-mut); font-size: .95rem; }
.km-cases__cta { margin-top: 40px; display: flex; justify-content: center; }

/* =====================================================================
   KmPageHero
   ===================================================================== */
.km-phero { padding-block: clamp(28px, 3.4vw, 48px) clamp(32px, 3.6vw, 52px); border-bottom: 1px solid var(--km-line); }
.km-phero--dark { border-bottom: 0; }
.km-phero__grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .km-phero--img .km-phero__grid { grid-template-columns: 1fr min(20vw, 260px); gap: 64px; } }
.km-phero__copy { display: grid; gap: 18px; justify-items: start; align-content: center; }
.km-phero__copy .km-label { margin-bottom: 0; }
.km-phero__title { max-width: 20ch; }
.km-phero__media { width: min(42vw, 200px); justify-self: center; align-self: center; background: var(--km-steel); }
@media (max-width: 899.98px) { .km-phero__media { justify-self: start; } }
@media (min-width: 900px) { .km-phero__media { width: 100%; justify-self: end; } }

/* ---------- detail hero (KmDetailHero): full-bleed cover + künye strip ---------- */
.km-dhero { position: relative; background: var(--km-dark); }
.km-dhero__stage {
  position: relative; isolation: isolate; overflow: clip;
  display: flex; align-items: flex-end;
  min-height: max(60vh, 440px); color: var(--km-dark-ink);
}
@media (min-width: 900px) { .km-dhero__stage { min-height: min(78vh, 720px); } }
.km-dhero__media { position: absolute; inset: 0; z-index: -2; background: var(--km-steel); }
.km-dhero__media img, .km-dhero__media .km-ph {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%;
  transform-origin: 50% 50%; will-change: transform;
}
.km-dhero--f-top .km-dhero__media img { object-position: 50% 18%; }
.km-dhero--f-bottom .km-dhero__media img { object-position: 50% 82%; }
.km-dhero__scrim {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(0deg, var(--km-scrim-strong) 0%, var(--km-scrim) 34%, var(--km-scrim-0) 78%),
    linear-gradient(90deg, var(--km-scrim) 0%, var(--km-scrim-soft) 48%, var(--km-scrim-0) 78%);
}
@media (max-width: 899.98px) {
  .km-dhero__scrim {
    background: linear-gradient(0deg, var(--km-scrim-strong) 0%, var(--km-scrim) 58%, var(--km-scrim-soft) 82%, var(--km-scrim-0) 100%);
  }
}
.km-dhero__crumb, .km-dhero__lead { text-shadow: 0 1px 2px var(--km-scrim); }
.km-dhero__copy {
  position: relative; width: 100%;
  padding-block: clamp(120px, 16vh, 200px) clamp(36px, 5vw, 64px);
  display: grid; gap: 18px; justify-items: start;
}
.km-dhero__title { max-width: 18ch; color: var(--km-dark-ink); }
.km-dhero__lead { font-size: var(--km-lead); line-height: 1.55; color: var(--km-dark-ink); max-width: 58ch; }
.km-dhero .km-dhero__crumb ol { color: var(--km-dark-ink); }
.km-dhero .km-dhero__crumb li + li::before { opacity: .7; }
.km-dhero .km-dhero__crumb [aria-current] { color: var(--km-dark-ink); opacity: .85; }
.km-dhero .km-laser::after { box-shadow: none; }

/* detail hero — static pages: eyebrow, buttons, compact band */
.km-dhero__eyebrow { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--km-dark-ink); text-shadow: 0 1px 2px var(--km-scrim); }
.km-dhero__eyebrow::before { content: ""; display: inline-block; width: 28px; height: 2px; margin-right: 12px; vertical-align: middle; background: var(--km-red); }
.km-dhero__btns { margin-top: 8px; }
.km-dhero .km-btn::before { background: var(--km-dark-ink); }
.km-dhero .km-btn:hover, .km-dhero .km-btn:focus-visible { color: var(--km-ink); }
.km-dhero .km-btn--ghost { color: var(--km-dark-ink); border-color: var(--km-dark-ink); background: var(--km-scrim-soft); }
.km-dhero :focus-visible { outline-color: var(--km-dark-ink); }
.km-dhero--compact .km-dhero__stage { min-height: clamp(300px, 46vh, 360px); }
.km-dhero--compact .km-dhero__copy { padding-block: clamp(72px, 9vh, 104px) clamp(28px, 3.6vw, 48px); gap: 14px; }
.km-dhero--compact .km-dhero__title { font-size: clamp(2.25rem, 4.6vw, 4rem); max-width: 22ch; }
@media (min-width: 900px) { .km-dhero--compact .km-dhero__stage { min-height: clamp(360px, 48vh, 420px); } }

/* künye strip — title block under the cover */
.km-kunye { background: var(--km-surface); color: var(--km-ink); border-bottom: 1px solid var(--km-line); }
.km-kunye__list { display: grid; grid-template-columns: 1fr; border-left: 1px solid var(--km-line); }
.km-kunye__cell { position: relative; padding: 18px 20px 20px; min-width: 0; border-right: 1px solid var(--km-line); }
.km-kunye__cell + .km-kunye__cell { border-top: 1px solid var(--km-line); }
.km-kunye__cell:first-child::before {
  content: ""; position: absolute; left: -1px; top: -1px; width: 44px; height: 3px; background: var(--km-red);
}
.km-kunye__k {
  display: flex; align-items: baseline; gap: 10px;
  font-family: var(--km-font-mono); font-size: .7rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--km-mut);
}
.km-kunye__no { color: var(--km-ink); opacity: .55; }
.km-kunye__cell:first-child .km-kunye__no { color: var(--km-accent); opacity: 1; }
.km-kunye__v {
  margin-top: 8px; font-family: var(--km-font-display); font-weight: 600;
  font-size: clamp(1.15rem, 1.5vw, 1.4rem); line-height: 1.22; overflow-wrap: anywhere;
}
.km-kunye__v a { color: var(--km-ink); }
.km-kunye__v a:hover { color: var(--km-accent); }
.km-kunye__sep { color: var(--km-mut); margin: 0 .2em; }
.km-kunye__go { display: inline-flex; align-items: center; gap: 10px; color: var(--km-accent) !important; }
.km-kunye__go svg { width: 18px; height: 18px; flex: 0 0 auto; transition: transform .4s var(--km-ease); }
.km-kunye__go:hover svg, .km-kunye__go:focus-visible svg { transform: translateX(4px); }
@media (max-width: 559.98px) {
  .km-kunye__cell { display: grid; grid-template-columns: minmax(0, 36%) minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 15px 16px; }
  .km-kunye__v { margin-top: 0; font-size: 1.12rem; }
  .km-dhero .km-dhero__crumb--dup li:last-child { display: none; }
}
@media (min-width: 560px) and (max-width: 899.98px) {
  .km-kunye__list { grid-template-columns: 1fr 1fr; }
  .km-kunye__cell + .km-kunye__cell { border-top: 0; }
  .km-kunye__cell:nth-child(n+3) { border-top: 1px solid var(--km-line); }
  .km-kunye__cell:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .km-kunye__list { grid-template-columns: repeat(var(--km-cols, 3), minmax(0, 1fr)); }
  .km-kunye__cell { padding: 24px 28px 26px; }
  .km-kunye__cell + .km-kunye__cell { border-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .km-dhero__media img { transform: none !important; will-change: auto; }
  .km-kunye__go svg { transition: none; }
}
.km-crumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--km-mut); }
.km-crumb li + li::before { content: "/"; margin-right: 10px; opacity: .6; }
.km-crumb [aria-current] { color: var(--km-ink); }
.km-dark .km-crumb ol { color: var(--km-dark-mut); }
.km-dark .km-crumb [aria-current] { color: var(--km-dark-ink); }

/* =====================================================================
   KmCaseDetail
   ===================================================================== */
.km-casedetail__grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .km-casedetail__grid { grid-template-columns: 4fr 8fr; gap: 72px; align-items: start; } .km-casedetail__spec { position: sticky; top: calc(var(--km-header-h) + 24px); } }
.km-casedetail__spec { padding: 28px; background-color: var(--km-surface); display: grid; gap: 24px; }
.km-casedetail__spec dl { display: grid; gap: 18px; }
.km-casedetail__spec dt { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--km-mut); margin-bottom: 4px; }
.km-casedetail__spec dd { font-family: var(--km-font-display); font-size: 1.35rem; font-weight: 600; line-height: 1.15; }
.km-casedetail__mat { font-family: var(--km-font-mono) !important; font-size: 1.05rem !important; font-weight: 500 !important; }
.km-casedetail__svcs { list-style: none; display: grid; gap: 6px; }
.km-casedetail__svcs li { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; }
.km-casedetail__svcs .km-hexdot { width: 8px; height: 9px; }
.km-casedetail__story { display: grid; gap: 48px; }
.km-casedetail__part { padding-top: 28px; border-top: 1px solid var(--km-line); }
.km-casedetail__part--result { border-top: 2px solid var(--km-red); }
.km-gallery { list-style: none; display: grid; gap: 12px; margin-top: clamp(48px, 6vw, 80px); }
@media (min-width: 700px) { .km-gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .km-gallery { grid-template-columns: repeat(3, 1fr); } }
.km-gallery__item a { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--km-steel); }
.km-gallery__item img, .km-gallery__item .km-ph { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--km-ease); }
.km-gallery__item a:hover img { transform: scale(1.04); }

/* =====================================================================
   KmProse / KmDefinition / KmSplitText / KmBulletPanel / KmRelatedSectors
   ===================================================================== */
.km-prose__grid { display: grid; gap: 32px; }
.km-prose__grid > * { min-width: 0; } /* long tables scroll inside .km-rte instead of widening the page */
@media (min-width: 1000px) { .km-prose--aside .km-prose__grid { grid-template-columns: 4fr 8fr; gap: 72px; } .km-prose--aside .km-prose__head { position: sticky; top: calc(var(--km-header-h) + 24px); align-self: start; } }
.km-prose--stack .km-prose__grid { max-width: 820px; margin-inline: auto; }

.km-def__box { display: grid; gap: 32px; padding: clamp(28px, 4vw, 56px); background-color: var(--km-surface); }
@media (min-width: 900px) { .km-def__box { grid-template-columns: 8fr 4fr; align-items: center; gap: 56px; } }
.km-def__h { margin-bottom: 14px; }
.km-def__text { font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.55; max-width: 62ch; }
.km-def__spec { display: grid; gap: 6px; padding: 24px; border-left: 3px solid var(--km-red); background: var(--km-bg); }
.km-def__k { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--km-mut); }
.km-def__v { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 500; line-height: 1.05; color: var(--km-ink); }
.km-def__n { color: var(--km-mut); font-size: .9rem; }
/* spec lists ("400 · 450 · 500 …") read as chips instead of one oversized mono line */
.km-def__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 0; padding: 0; list-style: none; }
.km-def__chips li { padding: 8px 12px; border: 1px solid var(--km-line); border-radius: 2px; background: var(--km-surface);
  font-size: 1.05rem; font-weight: 500; line-height: 1.1; color: var(--km-ink); white-space: nowrap; }

.km-split__grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .km-split__grid { grid-template-columns: 1fr 1fr; gap: 0; } .km-split__col--left { padding-right: 56px; border-right: 1px solid var(--km-line); } .km-split__col--right { padding-left: 56px; } }
.km-split__h { display: flex; align-items: baseline; gap: 14px; font-family: var(--km-font-display); font-size: var(--km-h3); font-weight: 600; line-height: 1.1; margin-bottom: 18px; }
/* Column letter as generated content: kept out of the heading text that search engines and screen readers read */
.km-split__h[data-k]::before { content: attr(data-k); content: attr(data-k) / ""; font-family: var(--km-font-mono); letter-spacing: .02em; font-size: .8rem; color: var(--km-accent); }

.km-bullets__grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .km-bullets__grid--2 { grid-template-columns: 1fr 1fr; gap: 64px; } }
.km-bullets__h { margin-bottom: 20px; }
.km-bullets__list { list-style: none; display: grid; }
.km-bullets__list li { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--km-line); font-size: 1.06rem; }
.km-bullets__list li:last-child { border-bottom: 1px solid var(--km-line); }
.km-bullets__list .km-hexdot { width: 10px; height: 11px; transform: translateY(1px); }
.km-bullets__list--alt .km-hexdot { background: var(--km-ink); }
.km-dark .km-bullets__list li { border-color: var(--km-dark-line); }
.km-dark .km-bullets__list--alt .km-hexdot { background: var(--km-dark-ink); }

.km-related { border-top: 1px solid var(--km-line); }
.km-related__row { display: grid; gap: 28px; }
@media (min-width: 900px) { .km-related__row { grid-template-columns: 4fr 8fr; gap: 56px; align-items: start; } }
.km-related__list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.km-related__item { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--km-line); border-radius: var(--km-r-card); background: var(--km-surface); transition: border-color .25s ease; }
.km-related__item:hover, .km-related__item:focus-visible { border-color: var(--km-red); }
.km-related__hex { display: grid; place-items: center; width: 38px; height: 44px; flex: 0 0 auto; clip-path: var(--km-hex); background: var(--km-ink); color: var(--km-dark-ink); font-size: .74rem; transition: background-color .25s ease; }
.km-related__item:hover .km-related__hex { background: var(--km-red); }
.km-related__t { font-family: var(--km-font-display); font-weight: 600; font-size: 1.2rem; line-height: 1.1; }

/* =====================================================================
   KmValues / KmStepList / KmPrinciples / KmGradeGuide
   ===================================================================== */
.km-values__list { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--km-line); }
.km-dark .km-values__list { border-color: var(--km-dark-line); }
@media (min-width: 900px) { .km-values__list { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }
.km-value { display: grid; gap: 14px; align-content: start; padding: 28px 24px 32px 0; border-bottom: 1px solid var(--km-line); }
.km-dark .km-value { border-color: var(--km-dark-line); }
@media (min-width: 900px) { .km-value { border-bottom: 0; border-right: 1px solid var(--km-line); padding: 32px 24px; } .km-dark .km-value { border-color: var(--km-dark-line); } .km-value:last-child { border-right: 0; } }
.km-value__hex { display: grid; place-items: center; width: 46px; height: 53px; clip-path: var(--km-hex); background: var(--km-red); color: var(--km-on-red); font-size: .85rem; }
.km-value__t { font-family: var(--km-font-display); font-size: 1.5rem; line-height: 1.1; font-weight: 600; }
.km-value__d { color: var(--km-mut); font-size: .96rem; }
.km-dark .km-value__d { color: var(--km-dark-mut); }
.km-values__closing { margin-top: 48px; max-width: 30ch; }

.km-steplist__grid { display: grid; gap: 40px; }
@media (min-width: 1000px) { .km-steplist__grid { grid-template-columns: 4fr 8fr; gap: 72px; } .km-steplist__head { position: sticky; top: calc(var(--km-header-h) + 24px); align-self: start; display: grid; gap: 18px; } }
.km-steplist__list { list-style: none; counter-reset: none; }
.km-steplist__item { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 26px 0; border-top: 1px solid var(--km-line); }
.km-steplist__item:last-child { border-bottom: 1px solid var(--km-line); }
.km-steplist__no { font-size: 1.5rem; font-weight: 500; color: var(--km-red); line-height: 1; padding-top: 4px; }
.km-steplist__t { font-family: var(--km-font-display); font-size: 1.55rem; line-height: 1.1; font-weight: 600; }
.km-steplist__d { color: var(--km-mut); margin-top: 8px; max-width: 60ch; }

.km-principles__grid { list-style: none; display: grid; gap: 14px; }
@media (min-width: 700px) { .km-principles__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .km-principles__grid { grid-template-columns: repeat(3, 1fr); } }
.km-principle { padding: 28px 24px; display: grid; gap: 12px; align-content: start; background-color: var(--km-bg); }
.km-principle__t { font-family: var(--km-font-display); font-size: 1.4rem; font-weight: 600; line-height: 1.1; }
.km-principle__d { color: var(--km-mut); font-size: .96rem; }
.km-grades__hbw { color: var(--km-accent); font-weight: 500; }

/* =====================================================================
   KmFaqAccordion
   ===================================================================== */
.km-faq__grid { display: grid; gap: 36px; }
@media (min-width: 1000px) { .km-faq__grid { grid-template-columns: 4fr 8fr; gap: 72px; } .km-faq__head { position: sticky; top: calc(var(--km-header-h) + 24px); align-self: start; } }
.km-faq__head { display: grid; gap: 18px; align-content: start; }
.km-faq__list { border-top: 1px solid var(--km-line); }
.km-faq__item { border-bottom: 1px solid var(--km-line); }
.km-faq__q { list-style: none; display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 22px 0; cursor: pointer; }
.km-faq__q::-webkit-details-marker { display: none; }
.km-faq__no { font-size: .78rem; color: var(--km-accent); }
.km-faq__qt { font-family: var(--km-font-display); font-size: clamp(1.2rem, 1.8vw, 1.45rem); font-weight: 600; line-height: 1.2; }
.km-faq__ic { display: grid; place-items: center; width: 36px; height: 41px; clip-path: var(--km-hex); background: var(--km-surface); transition: background-color .25s ease, color .25s ease; }
.km-faq__ic svg { width: 16px; height: 16px; transition: transform .35s var(--km-ease); }
.km-faq__item[open] .km-faq__ic { background: var(--km-red); color: var(--km-on-red); }
.km-faq__item[open] .km-faq__ic svg { transform: rotate(45deg); }
.km-faq__q:hover .km-faq__qt { color: var(--km-accent); }
.km-faq__a { padding: 0 54px 26px 42px; color: var(--km-mut); max-width: 72ch; }
@media (max-width: 600px) { .km-faq__a { padding: 0 0 22px; } }

/* =====================================================================
   KmCatalogDownload / KmRfqBand
   ===================================================================== */
.km-catalog__box { display: grid; gap: 32px; align-items: center; padding: clamp(32px, 5vw, 64px); border-radius: var(--km-r-card); }
@media (min-width: 900px) { .km-catalog__box { grid-template-columns: 1fr min(26vw, 320px); gap: 64px; } }
.km-catalog__copy { display: grid; gap: 20px; justify-items: start; }
.km-catalog__meta { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--km-dark-mut); align-self: center; }
.km-catalog__meta svg { width: 16px; height: 16px; }
.km-catalog__cover { width: min(60vw, 320px); justify-self: center; background: var(--km-dark); }

.km-rfqband { padding-block: clamp(56px, 7vw, 104px); }
.km-rfqband__grid { display: grid; gap: 32px; align-items: end; }
@media (min-width: 1000px) { .km-rfqband__grid { grid-template-columns: 7fr 5fr; gap: 64px; } }
.km-rfqband__copy { display: grid; gap: 18px; }
.km-rfqband__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
@media (min-width: 1000px) { .km-rfqband__actions { justify-content: flex-end; } }
.km-rfqband__tel { display: inline-flex; align-items: center; gap: 10px; font-size: 1.15rem; min-height: 48px; }
.km-rfqband__tel svg { width: 20px; height: 20px; }
.km-rfqband__tels { display: flex; flex-wrap: wrap; gap: 4px 20px; flex-basis: 100%; }
@media (min-width: 1000px) { .km-rfqband__tels { justify-content: flex-end; } }
.km-rfqband--red .km-laser::after { background: var(--km-on-red); box-shadow: none; }

/* =====================================================================
   KmRfqForm
   ===================================================================== */
.km-rfq__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.km-rfq__grid > * { min-width: 0; }
@media (min-width: 1000px) { .km-rfq__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; } .km-rfq__aside { position: sticky; top: calc(var(--km-header-h) + 24px); align-self: start; } }
.km-rfq__aside { display: grid; gap: 20px; align-content: start; }
.km-rfq__points { list-style: none; display: grid; gap: 10px; }
.km-rfq__points li { display: flex; gap: 12px; align-items: baseline; }
.km-rfq__points .km-hexdot { width: 9px; height: 10px; }
.km-rfq__tel { display: inline-flex; align-items: center; gap: 10px; font-size: 1.1rem; min-height: 44px; }
.km-rfq__tel svg { width: 18px; height: 18px; color: var(--km-accent); }
.km-rfq__tels { display: grid; justify-items: start; }
.km-rfq__telname { font-size: .85rem; opacity: .75; }
.km-rfq__tel { flex-wrap: wrap; row-gap: 0; }
.km-rfq__tel .km-mono, .km-rfqband__tel .km-mono, .km-header__phone .km-mono, .km-contacts__row .km-mono, .km-footer .km-laser { white-space: nowrap; }
.km-rfq__panel { background-color: var(--km-surface); padding: clamp(22px, 4vw, 44px); }
.km-form { display: grid; gap: 18px 20px; position: relative; }
@media (min-width: 700px) { .km-form { grid-template-columns: 1fr 1fr; } }
.km-field { display: grid; gap: 8px; align-content: start; }
.km-field--full { grid-column: 1 / -1; }
.km-field > label { font-weight: 600; font-size: .92rem; }
.km-req { color: var(--km-accent); }
.km-field input:not([type="checkbox"]):not([type="file"]), .km-field select, .km-field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--km-line); border-radius: var(--km-r-btn);
  background: var(--km-bg); font-size: 1rem; transition: border-color .2s ease, background-color .2s ease;
}
.km-field textarea { resize: vertical; min-height: 130px; }
.km-field input:focus, .km-field select:focus, .km-field textarea:focus { border-color: var(--km-ink); background: var(--km-surface); outline: 2px solid var(--km-accent); outline-offset: 1px; }
.km-field [aria-invalid="true"] { border-color: var(--km-accent) !important; }
.km-field__help { font-size: .82rem; color: var(--km-mut); overflow-wrap: anywhere; }
.km-field input, .km-field select, .km-field textarea { scroll-margin-top: calc(var(--km-header-h, 80px) + 56px); }
.km-form > * { min-width: 0; }
.km-field--check { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; }
.km-field--check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--km-accent); }
.km-field--check label { font-weight: 400; font-size: .95rem; }
.km-field--check a { color: var(--km-accent); text-decoration: underline; }
.km-file { display: grid; gap: 8px; padding: 18px; border: 1px dashed var(--km-mut); border-radius: var(--km-r-btn); background: var(--km-bg); }
.km-file input[type="file"] { font-size: .92rem; width: 100%; max-width: 100%; min-width: 0; }
.km-file { min-width: 0; }
.km-file__hint { overflow-wrap: anywhere; }
.km-file input[type="file"]::file-selector-button { font: inherit; font-weight: 600; margin-right: 12px; padding: 10px 14px; border: 0; border-radius: var(--km-r-btn); background: var(--km-ink); color: var(--km-dark-ink); cursor: pointer; }
.km-file__hint { font-size: .74rem; color: var(--km-mut); letter-spacing: .02em; }
.km-file__list { list-style: none; display: grid; gap: 4px; font-size: .8rem; }
.km-file__list li.is-bad { color: var(--km-accent); }
.km-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.km-form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 6px; }
.km-form__status { font-weight: 500; }
.km-form__status.is-ok { color: var(--km-ink); }
.km-form__status.is-err { color: var(--km-accent); }
.km-form.is-busy button[type="submit"] { opacity: .6; pointer-events: none; }

/* =====================================================================
   KmContacts / KmContactMap
   ===================================================================== */
.km-contacts__grid { display: grid; gap: 36px; }
@media (min-width: 900px) { .km-contacts__grid { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; } }
.km-contacts__panel { padding: clamp(20px, 3vw, 36px); background-color: var(--km-surface); }
.km-dark .km-contacts__panel { background-color: var(--km-steel); }
.km-contacts__list { display: grid; }
.km-contacts__row { display: grid; grid-template-columns: minmax(130px, 4fr) 7fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--km-line); align-items: baseline; }
.km-dark .km-contacts__row { border-color: var(--km-dark-line); }
.km-contacts__row:last-child { border-bottom: 0; }
.km-contacts__row dt { display: flex; align-items: center; gap: 10px; font-size: .88rem; color: var(--km-mut); }
.km-dark .km-contacts__row dt { color: var(--km-dark-mut); }
.km-contacts__row dt svg { width: 16px; height: 16px; color: var(--km-accent); flex: 0 0 auto; }
.km-dark .km-contacts__row dt svg { color: var(--km-dark-accent); }
.km-contacts__row dd { font-size: 1.05rem; }
.km-contacts__row address { font-style: normal; }
.km-contacts__gsm { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
.km-contacts__wa { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; min-height: 32px; }
.km-contacts__wa svg { width: 16px; height: 16px; color: var(--km-accent); }
.km-dark .km-contacts__wa svg { color: var(--km-dark-accent); }
@media (max-width: 480px) { .km-contacts__row { grid-template-columns: 1fr; gap: 4px; } }
.km-contactmap__grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .km-contactmap__grid { grid-template-columns: 5fr 7fr; gap: 64px; } }
@media (min-width: 900px) { .km-contactmap--maponly .km-contactmap__grid { grid-template-columns: minmax(0, 1fr); } }
.km-contactmap__info, .km-cform__info { display: grid; gap: 22px; align-content: start; justify-items: start; }
.km-contactmap__info > div, .km-cform__info > div { width: 100%; }
.km-contactmap__addr, .km-cform__addr { font-style: normal; font-size: 1.2rem; line-height: 1.5; }
/* Contact rows beside the contact form; stacks info → form below 1000px */
.km-cform__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.km-cform__grid > * { min-width: 0; }
@media (min-width: 1000px) { .km-cform__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; } }
.km-cform__panel { display: grid; gap: 14px; align-content: start; background-color: var(--km-surface); padding: clamp(22px, 4vw, 44px); }
.km-cform__intro { color: var(--km-mut); line-height: 1.55; margin-bottom: 8px; }
.km-contactmap__map { min-height: 360px; padding: 8px; background-color: var(--km-surface); }
.km-contactmap__frame, .km-contactmap__frame iframe { width: 100%; height: 100%; min-height: 440px; border: 0; display: block; }
.km-contactmap__map img { width: 100%; height: 100%; object-fit: cover; }
.km-contactmap__ph { display: grid; place-items: center; align-content: center; gap: 10px; height: 100%; min-height: 360px; background: var(--km-steel); color: var(--km-dark-mut); }
.km-contactmap__ph svg { width: 40px; height: 40px; color: var(--km-dark-accent); }

/* =====================================================================
   KmArticleIndex / pager / 404
   ===================================================================== */
.km-articles__list { list-style: none; display: grid; gap: 16px; }
@media (min-width: 700px) { .km-articles__list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .km-articles__list { grid-template-columns: repeat(3, 1fr); } }
.km-article .km-case__meta { flex-wrap: wrap; }
.km-pager { display: flex; gap: 6px; margin-top: 40px; }
.km-pager a, .km-pager span { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; border: 1px solid var(--km-line); border-radius: var(--km-r-btn); }
.km-pager [aria-current] { background: var(--km-ink); color: var(--km-dark-ink); border-color: var(--km-ink); }
.km-404 { min-height: 70svh; display: grid; align-items: center; }
.km-404__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .km-404__grid { grid-template-columns: 1fr auto; } }
.km-404 .km-h1 { margin-block: 12px 18px; max-width: 16ch; }
.km-404 .km-btns { margin-top: 28px; }
.km-404__hex { display: grid; place-items: center; width: min(60vw, 320px); aspect-ratio: var(--km-hex-ratio); clip-path: var(--km-hex); background: var(--km-red); color: var(--km-on-red); font-size: clamp(3rem, 8vw, 5rem); }

/* word-mask heading reveal (JS-split, motion only) */
.km-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.km-w__i { display: inline-block; will-change: transform; }

/* =====================================================================
   home v2 — KmHexHero dark tone + künye strip
   ===================================================================== */
.km-hexhero--dark { background: var(--km-ink); }
.km-hexhero--dark .km-hexhero__stage.km-dark { background: var(--km-ink); }
.km-hexhero--dark .km-hexhero__title { color: var(--km-dark-ink); }
.km-hexhero--dark .km-hexhero__lead { color: var(--km-dark-mut); }
.km-hexhero--dark .km-hexhero__media { background: var(--km-steel); }
.km-hexhero__kunye { position: relative; z-index: 2; }
@media (max-width: 899.98px) {
  /* mobile: hex window sits above the title, whole hero ≈ one screen with CTAs visible */
  .km-hexhero--dark .km-hexhero__stage { display: flex; flex-direction: column; padding-block: 22px 32px; }
  .km-hexhero--dark .km-hexhero__media {
    order: -1; margin: 0 var(--km-gutter) 22px; width: clamp(120px, 34vw, 190px);
  }
  .km-hexhero--dark .km-hexhero__grid { gap: 0; }
  .km-hexhero--dark .km-hexhero__copy { gap: 16px; }
  .km-hexhero--dark .km-hexhero__copy .km-label { margin-bottom: 0; }
  .km-hexhero--dark .km-hexhero__title { font-size: clamp(2.5rem, 11vw, 3.25rem); }
  .km-hexhero--dark .km-hexhero__lead { font-size: 1.02rem; line-height: 1.5; }
  .km-hexhero--dark .km-btns { flex-wrap: nowrap; gap: 10px; width: 100%; margin-top: 4px; }
  .km-hexhero--dark .km-btns .km-btn { flex: 1 1 auto; min-height: 50px; padding: 12px 14px; font-size: .96rem; gap: 8px; }
  .km-hexhero--dark .km-btns .km-btn svg { width: 16px; height: 16px; }
}
@media (max-width: 359.98px) {
  .km-hexhero--dark .km-btns { flex-wrap: wrap; }
}
@media (min-width: 900px) {
  .km-hexhero--kunye { --km-kunye-h: 104px; }
  .km-hexhero--dark .km-hexhero__stage {
    min-height: max(560px, min(calc(100svh - var(--km-header-h) - var(--km-kunye-h, 0px)), 880px));
    padding-block: clamp(32px, 4vw, 56px);
  }
  .km-hexhero--dark .km-hexhero__frame { width: min(36vw, 500px); }
  .km-hexhero--dark .km-hexhero__media { width: min(36vw, 500px); }
  .km-hexhero--dark.is-armed .km-hexhero__media { width: auto; }
  .km-hexhero--dark .km-hexhero__scroll { background: var(--km-accent); color: var(--km-on-accent); }
}
@media (min-width: 900px) and (max-height: 760px) {
  .km-hexhero--dark .km-hexhero__title { font-size: clamp(2.75rem, 5vw, 4.5rem); }
}

/* =====================================================================
   home v2 — KmJourneyTrack readable step copy
   ===================================================================== */
.km-step__text { font-size: 1rem; line-height: 1.5; text-wrap: pretty; }
@media (min-width: 1000px) {
  .km-step__title { font-size: 1.35rem; }
  .km-step__text { font-size: .95rem; line-height: 1.5; max-width: 24ch; }
}
.km-journey.is-armed .km-step__txt { opacity: .55; }

/* =====================================================================
   home v2 — KmCaseRail service line
   ===================================================================== */
.km-case__svc { align-items: baseline; line-height: 1.45; }
.km-case__svc .km-hexdot { transform: translateY(1px); }

/* =====================================================================
   home v2 — KmKnowledgeTeaser (latest articles + guide card)
   ===================================================================== */
.km-know { background: var(--km-surface); border-block: 1px solid var(--km-line); }
.km-know__grid { display: grid; gap: clamp(20px, 3vw, 40px); align-items: start; }
@media (min-width: 1000px) { .km-know--guide .km-know__grid { grid-template-columns: 7fr 5fr; align-items: stretch; } }
.km-know__list { list-style: none; border-top: 1px solid var(--km-line); }
.km-know__item { border-bottom: 1px solid var(--km-line); }
.km-know__row {
  position: relative; display: grid; grid-template-columns: clamp(96px, 26vw, 200px) minmax(0, 1fr) auto;
  gap: clamp(14px, 2.4vw, 28px); align-items: center; padding-block: clamp(16px, 2vw, 24px);
}
.km-know__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--km-steel); border-radius: var(--km-r-card); }
.km-know__media img, .km-know__media .km-ph { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--km-ease); }
.km-know__row:hover .km-know__media img { transform: scale(1.05); }
.km-know__body { display: grid; gap: 8px; min-width: 0; }
.km-know__meta { flex-wrap: wrap; row-gap: 4px; }
.km-know__title { font-family: var(--km-font-display); font-weight: 600; font-size: clamp(1.25rem, 1.8vw, 1.6rem); line-height: 1.12; text-wrap: balance; }
.km-know__link { color: var(--km-ink); }
.km-know__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.km-know__link:focus-visible { outline: none; }
.km-know__row:focus-within { outline: 2px solid var(--km-accent); outline-offset: 4px; }
.km-know__row:hover .km-know__link { color: var(--km-accent); }
.km-know__text { color: var(--km-mut); font-size: .98rem; }
.km-know__arrow { display: grid; place-items: center; width: 40px; height: 46px; clip-path: var(--km-hex); background: var(--km-bg); color: var(--km-ink); transition: background-color .3s ease, color .3s ease; }
.km-know__arrow svg { width: 16px; height: 16px; transition: transform .35s var(--km-ease); }
.km-know__row:hover .km-know__arrow { background: var(--km-accent); color: var(--km-on-accent); }
.km-know__row:hover .km-know__arrow svg { transform: translateX(2px); }
@media (max-width: 559.98px) {
  .km-know__row { grid-template-columns: 96px minmax(0, 1fr); }
  .km-know__arrow { display: none; }
}
.km-know__guide { position: relative; display: grid; grid-template-rows: auto 1fr; overflow: hidden; border-radius: var(--km-r-card); background: var(--km-steel); }
.km-know__guide-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--km-ink); }
.km-know__guide-media img, .km-know__guide-media .km-ph { width: 100%; height: 100%; object-fit: cover; }
.km-know__guide-media::after {
  content: ""; position: absolute; right: 22px; bottom: -1px; width: 56px; height: 64px; clip-path: var(--km-hex); background: var(--km-red);
  transform: translateY(50%);
}
.km-know__guide-body { display: grid; gap: 14px; align-content: start; padding: clamp(24px, 3vw, 36px); }
.km-know__guide-label { display: inline-flex; align-items: center; gap: 10px; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--km-dark-mut); }
.km-know__guide-label .km-hexdot { width: 9px; height: 10px; }
.km-know__guide-title { font-family: var(--km-font-display); font-weight: 700; font-size: clamp(1.9rem, 2.8vw, 2.5rem); line-height: 1.02; color: var(--km-dark-ink); }
.km-know__guide-text { color: var(--km-dark-ink); opacity: .86; font-size: 1.02rem; line-height: 1.55; max-width: 44ch; }
.km-know__guide-meta { font-size: .8rem; letter-spacing: .06em; color: var(--km-dark-mut); padding-top: 12px; border-top: 1px solid var(--km-dark-line); }
.km-know__guide-cta { justify-self: start; margin-top: 6px; }
.km-know__guide .km-btn::before { background: var(--km-dark-ink); }
.km-know__guide .km-btn:hover, .km-know__guide .km-btn:focus-visible { color: var(--km-ink); }
.km-know__cta { margin-top: 32px; }
@media (prefers-reduced-motion: reduce) {
  .km-know__media img, .km-know__arrow, .km-know__arrow svg { transition: none; }
}

/* =====================================================================
   Platform cookie banner (#cookie-consent.bf-consent) — brand skin
   The platform injects the markup + base CSS; it reads --bf-consent-* vars,
   the layout below overrides by id specificity. Tokens only.
   ===================================================================== */
:root {
  --bf-consent-bg: var(--km-surface);
  --bf-consent-fg: var(--km-ink);
  --bf-consent-radius: var(--km-r-card);
  --bf-consent-btn-radius: var(--km-r-btn);
  --bf-consent-font: var(--km-font-body);
  --bf-consent-border: var(--km-ink);
  --bf-consent-accent: var(--km-accent);
  --bf-consent-accent-fg: var(--km-on-accent);
  --bf-consent-divider: var(--km-line);
  --bf-consent-shadow: 0 14px 40px var(--km-scrim-soft);
}
#cookie-consent.bf-consent {
  left: auto; right: 20px; bottom: 20px; margin: 0; max-width: 440px;
  padding: 18px 20px 18px; gap: 12px; font-size: .86rem; line-height: 1.5;
  border: 1px solid var(--km-line); border-top: 3px solid var(--km-red);
}
#cookie-consent .bf-consent__layer { gap: 12px; }
#cookie-consent .bf-consent__link { color: var(--km-ink); text-underline-offset: 2px; }
#cookie-consent .bf-consent__link:hover { color: var(--km-accent); }
#cookie-consent .bf-consent__actions { justify-content: flex-start; gap: 8px; }
#cookie-consent .bf-consent__btn {
  min-height: 40px; padding: 8px 14px; font-weight: 600; font-size: .86rem; line-height: 1.2;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
#cookie-consent .bf-consent__btn--ghost { border: 1px solid var(--km-ink); color: var(--km-ink); background: transparent; }
#cookie-consent .bf-consent__btn--ghost:hover { background: var(--km-ink); color: var(--km-dark-ink); }
#cookie-consent .bf-consent__btn--primary { border: 1px solid var(--km-accent); }
#cookie-consent .bf-consent__btn--primary:hover { background: var(--km-ink); border-color: var(--km-ink); }
#cookie-consent .bf-consent__btn:focus-visible { outline: 2px solid var(--km-accent); outline-offset: 2px; }
#cookie-consent .bf-consent__check { accent-color: var(--km-accent); }
#cookie-consent .bf-consent__desc { color: var(--km-mut); opacity: 1; }
@media (max-width: 559.98px) {
  #cookie-consent.bf-consent {
    left: 0; right: 0; bottom: 0; max-width: none; border-radius: 0; border-inline: 0; border-bottom: 0;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); gap: 8px; font-size: .8rem; line-height: 1.4;
  }
  #cookie-consent .bf-consent__layer { gap: 8px; }
  #cookie-consent .bf-consent__actions:not(.bf-consent__actions--save) { flex-wrap: nowrap; gap: 6px; }
  #cookie-consent .bf-consent__actions:not(.bf-consent__actions--save) .bf-consent__btn { flex: 1 1 0; min-width: 0; padding: 8px 6px; font-size: .78rem; min-height: 40px; }
}
@media (prefers-reduced-motion: reduce) { #cookie-consent .bf-consent__btn { transition: none; } }
