/* Kit Systems page */

/* Hero */
.kh-hero { padding-top: clamp(40px, 6vw, 88px); }
.kh-hero-copy { display: grid; gap: 18px clamp(28px, 5vw, 80px); grid-template-columns: 1fr; align-items: end; }
.kh-hero .kicker { margin: 0; font-size: var(--t-xs); letter-spacing: .12em; color: var(--ink-50); }
.kh-hero h1 { font-size: var(--t-hero); line-height: 1.02; letter-spacing: -.02em; margin: 0; max-width: 14ch; }
.kh-hero .sub { font-size: var(--t-lg); color: var(--ink-70); max-width: 42ch; margin: 0; line-height: 1.5; }
.kh-hero .acts { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 24px; }
@media (min-width: 980px) {
  .kh-hero-copy { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
  .kh-hero .kicker { grid-column: 1 / -1; }
  .kh-side { padding-bottom: .4em; }
}
.kh-photo { margin: clamp(28px, 4vw, 52px) 0 0; overflow: hidden; background: var(--paper-2); }
.kh-photo img { display: block; width: 100%; height: auto; animation: khZoom 1.6s cubic-bezier(.2,.7,.2,1) both; }
@keyframes khZoom { from { transform: scale(1.06); opacity: .4; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .kh-photo img { animation: none; } }

.kh-facts { list-style: none; margin: 0; padding: clamp(20px, 3vw, 30px) 0 clamp(36px, 5vw, 64px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2.4vw, 32px); border-bottom: var(--hair) solid var(--rule); }
.kh-facts li { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; }
.kh-facts .ic { grid-row: 1 / 3; width: 40px; height: 40px; color: var(--ink); }
.kh-facts b { font-weight: 500; font-size: var(--t-lg); line-height: 1.15; letter-spacing: -.01em; }
.kh-facts span { font-family: var(--mono); font-size: var(--t-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-50); }
@media (max-width: 860px) {
  .kh-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; }
  .kh-facts .ic { width: 34px; height: 34px; }
  .kh-facts b { font-size: var(--t-base); }
  .kh-facts span { font-size: 10px; letter-spacing: .08em; }
}

/* Colour switcher */
.kh-sw-stage { position: relative; aspect-ratio: 2000 / 667; overflow: hidden; background: var(--paper-2); }
.kh-sw-img { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .5s ease; }
.kh-sw-img.is-on { opacity: 1; }
.kh-sw-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .kh-sw-stage { margin: 0 calc(var(--gutter) * -1); } }
.kh-sw-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; }
.kh-chip { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; background: var(--paper); color: var(--ink); border: var(--hair) solid var(--rule-2, var(--rule)); font: 500 var(--t-sm)/1 var(--sans, inherit); cursor: pointer; transition: border-color .2s, background .2s; }
.kh-chip i { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(20,24,26,.25); }
.kh-chip:hover { border-color: var(--ink); }
.kh-chip[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); }
.kh-sw-more { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-size: var(--t-sm); color: var(--ink); text-decoration: none; border-bottom: var(--hair) solid var(--ink); padding-bottom: 2px; }
@media (max-width: 640px) { .kh-sw-more { margin-left: 0; width: 100%; justify-content: flex-start; margin-top: 6px; border: 0; } .kh-chip { padding: 9px 12px 9px 10px; } }

/* Three ways: Kit highlighted */
.kh-ways { background: transparent; border: 0; padding: 0; }
.kh-ways:hover { transform: none; background: transparent; }
.kh-ways ul.ic-row { margin: 0; }
.forkcard .ic-row li.is-here { background: var(--forest); border-color: var(--forest); color: rgba(243,241,234,.8); }
.forkcard .ic-row li.is-here strong, .forkcard .ic-row li.is-here .ic { color: #f3f1ea; }

/* In the kit */
.kh-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: var(--member) solid var(--ink); }
.kh-grid li { display: flex; flex-direction: column; gap: 6px; padding: clamp(20px, 2.6vw, 32px) clamp(14px, 2vw, 24px) clamp(22px, 2.6vw, 32px) 0; border-bottom: var(--hair) solid var(--rule); }
.kh-grid li:not(:nth-child(3n+1)) { padding-left: clamp(14px, 2vw, 24px); border-left: var(--hair) solid var(--rule); }
.kh-grid .ic { width: 46px; height: 46px; color: var(--ink); margin-bottom: 8px; }
.kh-grid .ic-frame { stroke-width: 1.3; }
.kh-grid b { font-weight: 500; font-size: var(--t-lg); letter-spacing: -.01em; }
.kh-grid span { font-size: var(--t-sm); color: var(--ink-70); line-height: 1.45; }
@media (max-width: 760px) {
  .kh-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kh-grid li:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .kh-grid li:nth-child(2n) { padding-left: 14px; border-left: var(--hair) solid var(--rule); }
  .kh-grid .ic { width: 38px; height: 38px; }
  .kh-grid b { font-size: var(--t-base); }
}
.kh-not { margin: 22px 0 0; font-size: var(--t-sm); color: var(--ink-70); max-width: 80ch; line-height: 1.55; }
.kh-not b { color: var(--ink); font-weight: 500; }
.kh-not a { color: var(--ink); }

/* Sizes */
.kh-elev { display: grid; gap: 6px; margin: 0 0 clamp(22px, 3vw, 36px); }
.kh-elev figure { margin: 0; overflow: hidden; background: var(--paper-2); }
.kh-elev img { display: block; width: 100%; height: auto; }
.kh-sizes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(8px, 1.4vw, 16px); }
.kh-sizes li { display: flex; flex-direction: column; gap: 6px; padding: clamp(16px, 2vw, 24px); border: var(--hair) solid var(--rule); border-bottom: var(--member) solid var(--ink); background: var(--paper); }
.kh-sizes b { font-weight: 500; font-size: var(--t-xl); letter-spacing: -.015em; line-height: 1.1; }
.kh-sizes span { font-size: var(--t-sm); color: var(--ink-70); line-height: 1.4; }
.kh-sizes li.is-kit { background: var(--forest); border-color: var(--forest); }
.kh-sizes li.is-kit b { color: #f3f1ea; }
.kh-sizes li.is-kit span { color: rgba(243,241,234,.8); }
@media (max-width: 860px) { .kh-sizes { grid-template-columns: repeat(2, minmax(0, 1fr)); } .kh-sizes b { font-size: var(--t-lg); } }

/* Spec drawers */
.kh-spec .ans { overflow-x: auto; }
.kh-spec .tiertable { margin: 6px 0 4px; min-width: 520px; }
.kh-sw-more .arw, .kh-hero .arw { width: 15px; height: 9px; flex: 0 0 auto; }
.kh-sw-track { position: absolute; inset: 0; }
/* Fit out with Arc Elements */
.kh-fit { background: var(--paper-2); }
.kh-fit-grid { display: grid; gap: clamp(24px, 4vw, 64px); align-items: center; }
@media (min-width: 900px) { .kh-fit-grid { grid-template-columns: 1.1fr .9fr; } }
.kh-fit-img { margin: 0; overflow: hidden; background: var(--paper); }
.kh-fit-img img { display: block; width: 100%; height: auto; }
.kh-fit-copy h2 { font-size: var(--t-h2, clamp(30px, 4vw, 52px)); line-height: 1.05; letter-spacing: -.02em; margin: 14px 0 14px; max-width: 16ch; }
.kh-fit-copy .lede { margin: 0 0 22px; max-width: 40ch; }
.kh-fit-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0 0 24px; }
.kh-fit-tiles a { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 8px 14px; border: 1px solid var(--line, rgba(20,24,26,.18)); background: var(--paper); color: var(--ink); text-decoration: none; font-size: 15px; transition: border-color .2s, transform .2s; }
.kh-fit-tiles a:hover { border-color: var(--ink); transform: translateY(-2px); }
.kh-fit-tiles svg { width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.kh-fit .btn .arw { width: 15px; height: 9px; }
