/* KY Tur v4: references. Scroll remains usable without JavaScript. */
.references-section{background:var(--paper);border-bottom:1px solid var(--line);padding-block:64px}
.references-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;margin-bottom:30px}
.references-heading h2{font-size:38px;line-height:1.22;margin:0;letter-spacing:-1.2px}
.references-heading .eyebrow{margin-bottom:14px}
.references-heading>div>p:last-child:not(.eyebrow){color:var(--muted);font-size:16px;line-height:1.8;margin:18px 0 0;max-width:610px}
.references-heading .text-link{flex-shrink:0;margin:0 0 4px}
.reference-track{--visible:5;display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - (var(--visible) - 1)*16px)/var(--visible));gap:16px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#69818b transparent;list-style:none;padding:4px 2px 14px;margin:0;scroll-padding-inline:2px}
.reference-card{min-width:0;background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden;scroll-snap-align:start;display:flex;flex-direction:column}
.reference-card figure{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%;margin:0;padding:16px 18px}
.reference-card img{display:block;width:100%;height:120px;object-fit:contain}
.reference-card figcaption{font-size:13px;font-weight:800;line-height:1.5;text-align:center;color:var(--ink);margin-top:12px;min-height:39px;display:flex;align-items:center;justify-content:center;overflow-wrap:anywhere}
.reference-controls{display:none;align-items:center;justify-content:space-between;gap:16px;margin-top:16px}
.references-section.is-enhanced .reference-controls{display:flex}
.reference-controls-group{display:flex;align-items:center;gap:9px}
.reference-controls button{min-width:46px;min-height:46px;border:1px solid #8097a0;border-radius:7px;color:var(--ink);background:#fff;display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:10px 14px;font:inherit;font-size:13px;font-weight:800;cursor:pointer}
.reference-controls button:hover{background:var(--navy);color:#fff;border-color:var(--navy)}
.reference-controls button svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.reference-controls button[data-direction='-1'] svg{transform:rotate(180deg)}
.reference-count{font-size:13px;color:var(--muted);font-weight:600;font-variant-numeric:tabular-nums;min-width:75px;text-align:right}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.reference-directory{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:20px;list-style:none;padding:0;margin:0}
.reference-directory .reference-card img{height:140px}
.references-intro{max-width:850px;padding-bottom:0}
.references-intro h1{max-width:800px}
.references-intro .intro{max-width:780px;margin-bottom:0}
@media(min-width:961px){.site-header nav{gap:22px}}
@media(min-width:961px) and (max-width:1150px){.site-header nav{gap:16px;font-size:13px}.site-header .nav-cta{padding-inline:17px;font-size:12px}.nav-wrap{gap:20px}}
@media(max-width:1100px){.reference-track{--visible:4}.reference-directory{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:850px){.reference-track{--visible:3}.reference-directory{grid-template-columns:repeat(3,minmax(0,1fr))}.references-heading{align-items:flex-start;flex-direction:column;gap:22px}.references-heading h2{font-size:34px}}
@media(max-width:600px){.references-section{padding-block:44px}.references-heading h2{font-size:29px;letter-spacing:-.8px}.references-heading>div>p:last-child:not(.eyebrow){font-size:15px}.reference-track{--visible:2;gap:12px;grid-auto-columns:calc((100% - (var(--visible) - 1)*12px)/var(--visible))}.reference-card figure{padding:12px 10px}.reference-card img{height:100px}.reference-card figcaption{font-size:12px;min-height:36px}.reference-controls-group{gap:6px}.reference-controls button{padding:10px;gap:6px;font-size:12px}.reference-count{min-width:67px;font-size:12px}.reference-directory{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.reference-directory .reference-card img{height:110px}}
@media(prefers-reduced-motion:reduce){.reference-track{scroll-behavior:auto}}
