/* ==========================================================================
   Catalog (hub + feature pages)
   Built on the Operating Manual tokens: --ink, --paper, --paper-alt, --rule,
   --gold-warm (platinum label), --gold-rule (chrome accent).
   Prefix kx- is shared, kt- is the hub, ki- is the feature page.
   ========================================================================== */

/* ---- Shared ------------------------------------------------------------ */
.kx-chrome {
  background: linear-gradient(135deg, #FFFFFF 0%, #D4D8E0 25%, #E8EBF0 45%, #FFFFFF 55%, #A8B0BD 75%, #6E7480 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  animation: chrome-shimmer 8s ease-in-out infinite;
  padding-right: .06em;
}
.kx-mono { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }

.kx-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--ink); color: #F8F9FB;
  padding: 96px 0 0;
}
@media (min-width: 1024px) { .kx-hero { padding-top: 128px; } }
.kx-hero__photo {
  position: absolute; inset: 0; z-index: -3;
  background-size: cover; background-position: center;
  filter: saturate(.55) contrast(1.08);
  animation: kx-drift 26s ease-in-out infinite alternate;
}
@keyframes kx-drift { from { transform: scale(1.03); } to { transform: scale(1.12) translate(-1.5%, -1%); } }
.kx-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(100deg, rgba(15,24,40,.97) 0%, rgba(15,24,40,.86) 42%, rgba(15,24,40,.52) 100%),
    linear-gradient(180deg, rgba(15,24,40,0) 55%, rgba(15,24,40,.95) 100%);
}
.kx-hero::after {            /* faint blueprint grid */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse at 75% 30%, #000 0%, transparent 70%);
          mask-image: radial-gradient(ellipse at 75% 30%, #000 0%, transparent 70%);
}
.kx-hero .ref-tag, .kx-hero .kx-crumb { color: rgba(245,247,250,.72); }
.kx-hero__title {
  font-size: clamp(44px, 7.2vw, 104px); line-height: .98; font-weight: 700; letter-spacing: -.035em;
  color: #F8F9FB; margin: 22px 0 0;
}
.kx-hero__title em { font-family: 'Playfair Display', serif; font-style: italic; font-weight: 400; letter-spacing: -.02em; }
.kx-hero__lede { font-size: 18px; line-height: 1.65; color: rgba(245,247,250,.78); max-width: 34em; margin: 28px 0 0; }
.kx-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.kx-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 22px; border-radius: 3px;
  font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; transition: transform .2s, background .2s, color .2s, border-color .2s;
}
.kx-btn i { font-size: 16px; transition: transform .2s; }
.kx-btn:hover i { transform: translateX(4px); }
.kx-btn--light { background: #F8F9FB; color: var(--ink); border: 1px solid #F8F9FB; }
.kx-btn--light:hover { background: #fff; transform: translateY(-2px); }
.kx-btn--ghost { color: #F8F9FB; border: 1px solid rgba(255,255,255,.32); }
.kx-btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.kx-btn--dark { background: var(--ink); color: #F8F9FB; border: 1px solid var(--ink); }
.kx-btn--dark:hover { transform: translateY(-2px); }

.kx-icon {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 52px; height: 52px; border-radius: 4px;
  border: 1px solid var(--rule); background: var(--paper-alt); color: var(--ink);
  font-size: 26px; transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.kx-icon--glass {
  width: 76px; height: 76px; font-size: 38px; color: #F8F9FB;
  border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.07);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 18px 40px -18px rgba(0,0,0,.6);
}

/* ---- Hub: hero --------------------------------------------------------- */
.kt-hero__grid { display: grid; gap: 48px; align-items: end; }
@media (min-width: 1024px) { .kt-hero__grid { grid-template-columns: 7fr 4fr; gap: 72px; } }
.kt-record {
  border: 1px solid rgba(255,255,255,.2); background: rgba(15,24,40,.45);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  padding: 8px 28px;
}
.kt-record > div { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.14); }
.kt-record > div:first-child { border-top: 0; }
.kt-record b { font-family: 'Playfair Display', serif; font-style: italic; font-weight: 400; font-size: 54px; line-height: 1; }
.kt-record span { text-align: right; color: rgba(245,247,250,.7); }

.kt-marquee { margin-top: 72px; border-top: 1px solid rgba(255,255,255,.14); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.kt-marquee__track { display: flex; width: max-content; animation: kt-marquee 70s linear infinite; }
.kt-marquee:hover .kt-marquee__track { animation-play-state: paused; }
.kt-marquee a { display: inline-flex; align-items: center; gap: 10px; padding: 20px 26px; white-space: nowrap; color: rgba(245,247,250,.72); text-decoration: none; transition: color .2s; }
.kt-marquee a:hover { color: #fff; }
.kt-marquee i { font-size: 17px; color: var(--gold-rule); }
@keyframes kt-marquee { to { transform: translateX(-50%); } }

/* ---- Hub: category index ------------------------------------------------ */
.kt-cats { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; margin-top: 44px; }
.kt-cat {
  position: relative; isolation: isolate; overflow: hidden; grid-column: span 3;
  min-height: 190px; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 22px; border-radius: 4px; background: var(--ink); color: #F8F9FB; text-decoration: none;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s;
}
.kt-cat:nth-child(n+5) { grid-column: span 4; }             /* 4 + 3: no hole */
.kt-cat__photo { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; filter: saturate(.5); transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .4s; }
.kt-cat::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15,24,40,.45) 0%, rgba(15,24,40,.93) 100%); transition: background .3s; }
.kt-cat:hover { transform: translateY(-5px); box-shadow: 0 24px 44px -24px rgba(15,24,40,.65); }
.kt-cat:hover .kt-cat__photo { transform: scale(1.08); filter: saturate(.85); }
.kt-cat__top { position: absolute; top: 20px; left: 22px; right: 22px; display: flex; justify-content: space-between; align-items: flex-start; }
.kt-cat__top i { font-size: 30px; color: #F8F9FB; }
.kt-cat__top span { color: rgba(245,247,250,.75); }
.kt-cat__name { font-family: 'Playfair Display', serif; font-size: 25px; line-height: 1.1; margin: 0 0 6px; color: #fff; }
.kt-cat__count { color: rgba(245,247,250,.7); }
@media (max-width: 1023px) { .kt-cat, .kt-cat:nth-child(n+5) { grid-column: span 6; } .kt-cat:last-child:nth-child(odd) { grid-column: span 12; } }
@media (max-width: 560px)  { .kt-cat, .kt-cat:nth-child(n+5) { grid-column: span 12; min-height: 140px; } }

/* ---- Hub: filter + groups ----------------------------------------------- */
.kt-filter { position: sticky; top: 73px; z-index: 20; display: flex; gap: 8px; margin: 56px -8px 0; padding: 12px 8px; overflow-x: auto; background: color-mix(in srgb, var(--paper) 90%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); scrollbar-width: none; }
.kt-filter::-webkit-scrollbar { display: none; }
.kt-filter button { display: inline-flex; align-items: center; gap: 8px; flex: none; font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 10px 14px; border: 1px solid var(--rule); border-radius: 3px; background: var(--paper); color: var(--ink-soft); cursor: pointer; transition: border-color .2s, color .2s, background .2s; }
.kt-filter button i { font-size: 15px; }
.kt-filter button:hover { color: var(--ink); border-color: var(--ink-soft); }
.kt-filter button.is-active { background: var(--ink); color: #F8F9FB; border-color: var(--ink); }

.kt-group { padding-top: 72px; scroll-margin-top: 130px; }
.kt-group[hidden] { display: none; }
.kt-group__head {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
  padding: 30px 32px; background: var(--ink); color: #F8F9FB; border-radius: 4px 4px 0 0;
}
.kt-group__photo { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; filter: saturate(.45); }
.kt-group__head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(15,24,40,.97) 0%, rgba(15,24,40,.88) 45%, rgba(15,24,40,.5) 100%); }
.kt-group__no { display: block; color: rgba(245,247,250,.65); margin-bottom: 8px; }
.kt-group__name { font-family: 'Playfair Display', serif; font-size: clamp(26px, 3.2vw, 38px); line-height: 1.08; margin: 0; color: #fff; }
.kt-group__desc { margin: 8px 0 0; font-size: 15.5px; line-height: 1.5; color: rgba(245,247,250,.76); max-width: 38em; }
.kt-group__count { font-family: 'Playfair Display', serif; font-style: italic; font-size: 64px; line-height: 1; }
@media (max-width: 700px) { .kt-group__head { grid-template-columns: 1fr; padding: 24px; } .kt-group__count { display: none; } }

/* 6-column grid: cards span 2 (three per row); when the count does not divide
   by three, the trailing cards are widened (.is-half spans 3) so the last
   rows are always full. */
.kt-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-top: 0; border-radius: 0 0 4px 4px; overflow: hidden; }
.kt-card { grid-column: span 2; }
.kt-card.is-half { grid-column: span 3; }
@media (max-width: 1023px) {
  .kt-grid { grid-template-columns: repeat(2, 1fr); }
  .kt-card, .kt-card.is-half { grid-column: span 1; }
  .kt-card:last-child:nth-child(odd) { grid-column: span 2; }
}
@media (max-width: 640px) { .kt-grid { grid-template-columns: 1fr; } .kt-card, .kt-card.is-half, .kt-card:last-child:nth-child(odd) { grid-column: span 1; } }

.kt-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper); padding: 30px 30px 26px; color: inherit; text-decoration: none;
  transition: background .3s, color .3s;
}
.kt-card__top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 26px; }
.kt-card__ref { color: var(--ink-faint); transition: color .3s; }
.kt-card__title { font-size: 20px; font-weight: 700; line-height: 1.28; letter-spacing: -.012em; margin: 0 0 10px; color: var(--ink); transition: color .3s; }
.kt-card.is-half .kt-card__title { font-size: 23px; }
.kt-card__summary { font-size: 15px; line-height: 1.6; color: var(--ink-soft); margin: 0 0 26px; max-width: 34em; transition: color .3s; }
.kt-card__foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding-top: 18px; border-top: 1px solid var(--rule); transition: border-color .3s; }
.kt-card__time { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-soft); letter-spacing: .04em; text-transform: none; transition: color .3s; }
.kt-card__time i { font-size: 15px; }
.kt-card__go { display: inline-flex; align-items: center; gap: 6px; color: var(--gold-warm); transition: color .3s; }
.kt-card__go i { font-size: 15px; transition: transform .25s; }
.kt-card:hover, .kt-card:focus-visible { background: var(--ink); }
.kt-card:hover .kt-card__title, .kt-card:focus-visible .kt-card__title { color: #fff; }
.kt-card:hover .kt-card__summary, .kt-card:focus-visible .kt-card__summary { color: rgba(245,247,250,.74); }
.kt-card:hover .kt-card__ref, .kt-card:hover .kt-card__time, .kt-card:focus-visible .kt-card__ref, .kt-card:focus-visible .kt-card__time { color: rgba(245,247,250,.62); }
.kt-card:hover .kt-card__go, .kt-card:focus-visible .kt-card__go { color: #fff; }
.kt-card:hover .kt-card__go i { transform: translateX(5px); }
.kt-card:hover .kt-card__foot, .kt-card:focus-visible .kt-card__foot { border-top-color: rgba(255,255,255,.16); }
.kt-card:hover .kx-icon, .kt-card:focus-visible .kx-icon { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.3); color: #fff; transform: translateY(-3px); }

/* ---- Feature page: hero -------------------------------------------------- */
.kx-crumb a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.35); text-decoration: none; }
.kx-crumb a:hover { border-bottom-color: #fff; }
.ki-hero__head { display: flex; align-items: center; gap: 20px; margin-bottom: 30px; }
.ki-hero__title { font-size: clamp(38px, 5.8vw, 84px); max-width: 15em; }
.ki-hero__sub { font-family: 'Playfair Display', serif; font-style: italic; font-size: clamp(20px, 2.1vw, 27px); line-height: 1.42; color: rgba(245,247,250,.86); max-width: 30em; margin: 26px 0 0; }
.ki-spec { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 72px; border-top: 1px solid rgba(255,255,255,.18); }
.ki-spec > div { padding: 24px 24px 30px 0; }
.ki-spec > div + div { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.14); }
.ki-spec dt { color: rgba(245,247,250,.6); display: flex; align-items: center; gap: 8px; }
.ki-spec dt i { font-size: 15px; color: var(--gold-rule); }
.ki-spec dd { margin: 10px 0 0; font-size: 17px; line-height: 1.35; font-weight: 600; color: #fff; }
@media (max-width: 900px) { .ki-spec { grid-template-columns: repeat(2, 1fr); } .ki-spec > div:nth-child(3) { padding-left: 0; border-left: 0; } .ki-spec > div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.14); } }
@media (max-width: 520px) { .ki-spec { grid-template-columns: 1fr; } .ki-spec > div + div { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.14); } }

/* ---- Feature page: sections ---------------------------------------------- */
.ki-sec { padding: 88px 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 1024px) { .ki-sec { padding: 112px 0; } }
.ki-sec--alt { background: var(--paper-alt); }
.ki-sec--dark { background: var(--ink); color: #F8F9FB; border-bottom: 0; }
.ki-sec--dark .ref-tag { color: rgba(245,247,250,.7); }
.ki-split { display: grid; gap: 36px; }
@media (min-width: 1024px) { .ki-split { grid-template-columns: 4fr 7fr; gap: 80px; align-items: start; } .ki-split__head { position: sticky; top: 120px; } }
.ki-h2 { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.02; font-weight: 700; letter-spacing: -.03em; margin: 16px 0 0; color: var(--ink); }
.ki-h2 em { font-family: 'Playfair Display', serif; font-style: italic; font-weight: 400; color: var(--gold-warm); letter-spacing: -.01em; }
.ki-sec--dark .ki-h2 { color: #fff; }
.ki-lead { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.6; color: var(--ink); margin: 0; }
.ki-lead::first-letter { font-family: 'Playfair Display', serif; font-style: italic; font-size: 3.6em; line-height: .82; float: left; padding: .06em .12em 0 0; color: var(--gold-warm); }
.ki-body { font-size: 17.5px; line-height: 1.7; color: var(--ink-soft); margin: 0; }

/* Deliverables: two columns; an odd last card takes the full row. */
.ki-deliver { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 4px; overflow: hidden; }
.ki-deliver li { display: flex; gap: 18px; background: var(--paper); padding: 26px 26px 28px; font-size: 16.5px; line-height: 1.55; color: var(--ink); transition: background .25s; }
.ki-deliver li:hover { background: #fff; }
.ki-deliver li:last-child:nth-child(odd) { grid-column: span 2; }
.ki-deliver__no { flex: none; font-family: 'Playfair Display', serif; font-style: italic; font-size: 30px; line-height: 1; color: var(--gold-warm); min-width: 1.5em; }
@media (max-width: 700px) { .ki-deliver { grid-template-columns: 1fr; } .ki-deliver li:last-child:nth-child(odd) { grid-column: span 1; } }

/* Connection diagram */
.ki-diagram { display: grid; grid-template-columns: 1fr auto 1.15fr auto 1fr; align-items: center; margin-top: 44px; }
.ki-node { border: 1px solid var(--rule); background: var(--paper); border-radius: 4px; padding: 26px 20px; text-align: center; }
.ki-node i { font-size: 30px; color: var(--ink); }
.ki-node b { display: block; margin-top: 12px; font-size: 16px; color: var(--ink); }
.ki-node span { display: block; margin-top: 6px; color: var(--ink-faint); letter-spacing: .06em; }
.ki-node--core { background: var(--ink); border-color: var(--ink); padding: 34px 22px; box-shadow: 0 30px 50px -30px rgba(15,24,40,.7); }
.ki-node--core i { font-size: 40px; color: #fff; }
.ki-node--core b { color: #fff; font-size: 18px; }
.ki-node--core span { color: rgba(245,247,250,.65); }
.ki-wire { width: clamp(28px, 6vw, 88px); height: 1px; background-image: linear-gradient(90deg, var(--ink-soft) 50%, transparent 50%); background-size: 10px 1px; animation: ki-flow 1.2s linear infinite; position: relative; }
.ki-wire::after { content: ""; position: absolute; right: -1px; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
@keyframes ki-flow { to { background-position: 10px 0; } }
@media (max-width: 760px) {
  .ki-diagram { grid-template-columns: 1fr; justify-items: stretch; }
  .ki-wire { width: 1px; height: 30px; margin: 0 auto; background-image: linear-gradient(180deg, var(--ink-soft) 50%, transparent 50%); background-size: 1px 10px; animation: none; }
  .ki-wire::after { right: -3px; top: auto; bottom: -1px; }
}

/* Process: four steps on a line */
.ki-steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.ki-steps li { position: relative; padding: 0 28px 0 0; }
.ki-steps li::before { content: ""; position: absolute; top: 26px; left: 52px; right: 0; height: 1px; background: rgba(255,255,255,.2); }
.ki-steps li:last-child::before { display: none; }
.ki-steps .kx-icon { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.26); color: #fff; position: relative; }
.ki-steps__no { display: block; margin: 22px 0 8px; color: rgba(245,247,250,.55); }
.ki-steps h3 { font-size: 20px; font-weight: 700; line-height: 1.25; margin: 0 0 10px; color: #fff; }
.ki-steps p { font-size: 15px; line-height: 1.6; color: rgba(245,247,250,.72); margin: 0; }
.ki-steps p strong { color: #fff; font-weight: 600; }
@media (max-width: 960px) { .ki-steps { grid-template-columns: repeat(2, 1fr); gap: 44px 0; } .ki-steps li:nth-child(2)::before { display: none; } }
@media (max-width: 560px) { .ki-steps { grid-template-columns: 1fr; } .ki-steps li::before { display: none; } }

/* How we choose: three options */
.ki-choose { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.ki-choose > div { background: var(--paper); border: 1px solid var(--rule); border-radius: 4px; padding: 30px 28px 32px; transition: transform .3s, box-shadow .3s; }
.ki-choose > div:hover { transform: translateY(-4px); box-shadow: 0 26px 44px -30px rgba(15,24,40,.5); }
.ki-choose h3 { font-size: 19px; font-weight: 700; line-height: 1.3; margin: 22px 0 10px; color: var(--ink); }
.ki-choose p { font-size: 15px; line-height: 1.62; color: var(--ink-soft); margin: 0; }
.ki-choose .kx-mono { color: var(--ink-faint); display: block; margin-top: 20px; }
@media (max-width: 900px) { .ki-choose { grid-template-columns: 1fr; } }
.ki-pledge { display: flex; flex-wrap: wrap; gap: 12px 36px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--rule); }
.ki-pledge span { display: inline-flex; align-items: center; gap: 10px; font-size: 15.5px; font-weight: 600; color: var(--ink); }
.ki-pledge i { font-size: 20px; color: var(--gold-warm); }

/* FAQ */
.ki-faq details { border-top: 1px solid var(--rule); }
.ki-faq details:last-child { border-bottom: 1px solid var(--rule); }
.ki-faq summary { cursor: pointer; list-style: none; display: flex; gap: 20px; align-items: baseline; padding: 24px 44px 24px 0; position: relative; font-size: 19px; font-weight: 600; line-height: 1.38; color: var(--ink); transition: color .2s; }
.ki-faq summary::-webkit-details-marker { display: none; }
.ki-faq summary:hover { color: var(--gold-warm); }
.ki-faq summary .kx-mono { color: var(--ink-faint); flex: none; }
.ki-faq summary::after { content: ""; position: absolute; right: 6px; top: 30px; width: 12px; height: 12px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg); transition: transform .25s; }
.ki-faq details[open] summary::after { transform: rotate(-135deg); top: 36px; }
.ki-faq details p { margin: 0; padding: 0 44px 28px 44px; font-size: 16.5px; line-height: 1.7; color: var(--ink-soft); }
@media (max-width: 560px) { .ki-faq details p { padding-left: 0; } }

/* Related + previous / next */
.ki-related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 4px; overflow: hidden; margin-top: 44px; }
.ki-related .kt-card { grid-column: auto; }
.ki-related .kt-card:last-child:nth-child(3n+1) { grid-column: 1 / -1; }
@media (max-width: 900px) { .ki-related { grid-template-columns: 1fr; } }
.ki-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.ki-pager a { display: flex; align-items: center; gap: 18px; padding: 24px 26px; border: 1px solid var(--rule); border-radius: 4px; background: var(--paper); color: var(--ink); text-decoration: none; transition: background .25s, color .25s, border-color .25s; }
.ki-pager a:last-child { justify-content: flex-end; text-align: right; }
.ki-pager a > i { font-size: 22px; flex: none; transition: transform .25s; }
.ki-pager .kx-mono { display: block; color: var(--ink-faint); margin-bottom: 6px; transition: color .25s; }
.ki-pager b { font-size: 17px; line-height: 1.3; }
.ki-pager a:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.ki-pager a:hover .kx-mono { color: rgba(245,247,250,.6); }
.ki-pager a:first-child:hover > i { transform: translateX(-5px); }
.ki-pager a:last-child:hover > i { transform: translateX(5px); }
@media (max-width: 640px) { .ki-pager { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  .kx-hero__photo, .kt-marquee__track, .ki-wire, .kx-chrome { animation: none; }
}
