.vs-section { scroll-margin-top:90px; }
.vs-section + .vs-section { margin-top:clamp(36px,5vw,72px); }
.vs-head { display:flex; justify-content:space-between; align-items:center; gap:16px; margin-bottom:clamp(16px,2vw,30px); }
.vs-head h2 { margin:0; }
.vs-intro { max-width:76ch; margin:0 0 22px; color:var(--basic_text_black,#555); }
.vs-head:has(+ .vs-intro) { margin-bottom:6px; }
.vs-head a { display:inline-flex; align-items:center; gap:7px; min-height:44px; flex:none; font-size:14px; }
.vs-section ul { padding:0; margin:0; display:grid; list-style:none; }
.vs-section li { margin:0; padding:0; min-width:0; list-style:none; }
.vs-section li::before { content:none; }
.vs-services { grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(14px,1.6vw,28px); }
.vs-service { display:flex; flex-direction:column; height:100%; overflow:hidden; border:1px solid var(--stroke_black,#ddd); border-radius:5px; background:var(--card_bg_black,var(--black_bg_white,#fff)); }
.vs-service-main { display:block; }
.vs-service-main > img { display:block; width:100%; height:auto; aspect-ratio:2; object-fit:cover; }
.vs-service-main > div { padding:clamp(16px,1.5vw,24px); }
.vs-section .vs-related-services { display:flex; flex-wrap:wrap; gap:0 16px; margin:auto clamp(16px,1.5vw,24px) 8px; border-top:1px solid var(--stroke_black,#ddd); }
.vs-related-services a { display:inline-flex; align-items:center; min-height:44px; font-size:14px; text-decoration:underline; text-underline-offset:3px; }
.vs-service h3 { margin:0 0 8px; font-size:clamp(18px,1.5vw,24px); line-height:1.25; color:var(--white_text_black,#232323); }
.vs-service p { margin:0; color:var(--basic_text_black,#555); line-height:1.5; font-size:15px; }
.vs-service-main:is(:hover,:focus-visible) h3 { color:var(--theme-base-color,#c46011); }
.vs-section a:focus-visible { outline:2px solid var(--theme-base-color,#d76412); outline-offset:2px; }
vulpes-logo-rail { display:block; min-width:0; }
.vs-rail-head { display:flex; flex-wrap:wrap; gap:4px 18px; }
.vs-rail-head h2 { flex:1 1 auto; }
.vs-rail-nav { display:flex; align-items:center; gap:2px; }
.vs-rail-nav[hidden] { display:none; }
.vs-rail-nav button { border:0; border-radius:3px; background:transparent; color:var(--white_text_black,#232323); min-width:44px; height:44px; font:inherit; font-size:23px; line-height:1; cursor:pointer; }
.vs-rail-nav button:disabled { opacity:.3; cursor:default; }
.vs-rail-nav button:focus-visible { outline:2px solid currentColor; outline-offset:-3px; }
.vs-section .vs-logos { --count:6; --gap:clamp(8px,1vw,16px); display:grid; grid-auto-flow:column; grid-template-rows:auto; grid-auto-columns:calc((100% - (var(--count) - 1) * var(--gap)) / var(--count)); gap:var(--gap); overflow-x:auto; scroll-snap-type:x mandatory; overscroll-behavior-x:contain; scrollbar-width:thin; }
.vs-logos li { scroll-snap-align:start; }
.vs-section .vs-logo { display:flex; justify-content:center; align-items:center; gap:8px; box-sizing:border-box; width:100%; height:clamp(84px,7.4vw,116px); padding:14px; background:white; color:#252525; border:1px solid #dedede; border-radius:4px; filter:grayscale(1); transition:filter .2s ease; }
.vs-logo img { display:block; width:auto; max-width:90%; height:auto; max-height:46px; object-fit:contain; }
.vs-section .vs-logo:is(.vs-vendor,.vs-client) { background:transparent; border:0; border-radius:0; color:var(--white_text_black,#222); filter:none; }
.vs-brand-art { display:grid; align-items:center; justify-items:center; width:min(100%,172px); height:48px; min-width:0; }
.vs-brand-art img { grid-area:1 / 1; }
.vs-brand-accent { position:relative; }
.vs-brand-accent::after { content:""; position:absolute; inset:auto 30% -5px; height:2px; border-radius:1px; background:var(--vs-brand-accent); opacity:0; }
.vs-section :is(.vs-vendor,.vs-client):is(:focus-visible,:active,[data-pressed],[data-colour]) .vs-brand-accent::after { opacity:1; }
@media(hover:hover) { .vs-section :is(.vs-vendor,.vs-client):hover .vs-brand-accent::after { opacity:1; } }
.vs-brand-plain { --ink-edge:transparent; }
.vs-section .vs-brand-art img { display:block; width:100%; height:100%; max-width:100%; max-height:100%; min-height:0; object-fit:contain; filter:grayscale(1) invert(var(--mono-invert,0)) contrast(.64) brightness(var(--mono-bright,.66)); transition:filter .18s ease; }
:is(.vs-vendor,.vs-client):has(.vs-symbol-name) .vs-brand-art { width:44px; flex-shrink:1; }
.vs-section .vs-ink-light { --mono-invert:1; --ink-edge:rgb(30 30 30 / .95); }
.vs-section .vs-ink-dark { --mono-invert:0; --ink-edge:transparent; }
.vs-section .vs-brand-dual img:first-child { display:var(--vs-dark-mark,none); }
.vs-section .vs-brand-dual .vs-brand-light { display:var(--vs-light-mark,block); --mono-invert:0; --ink-edge:transparent; }
@media(prefers-color-scheme:dark) {
  body:not(.theme-light) :is(.vs-vendor,.vs-client) { --mono-bright:1.62; --vs-dark-mark:block; --vs-light-mark:none; }
  body:not(.theme-light) .vs-ink-dark { --mono-invert:1; --ink-edge:rgb(244 244 244 / .95); }
  body:not(.theme-light) .vs-ink-light { --mono-invert:0; --ink-edge:transparent; }
}
body.theme-dark :is(.vs-vendor,.vs-client) { --mono-bright:1.62; --vs-dark-mark:block; --vs-light-mark:none; }
body.theme-dark .vs-ink-dark { --mono-invert:1; --ink-edge:rgb(244 244 244 / .95); }
body.theme-dark .vs-ink-light { --mono-invert:0; --ink-edge:transparent; }
.vs-section :is(.vs-vendor,.vs-client):is(:active,:focus-visible,[data-pressed],[data-colour]) .vs-brand-art img { filter:drop-shadow(0 0 .6px var(--ink-edge)); }
@media(hover:hover) { .vs-section :is(.vs-vendor,.vs-client):hover .vs-brand-art img { filter:drop-shadow(0 0 .6px var(--ink-edge)); } }
.vs-section :is(.vs-vendor,.vs-client):is(:active,:focus-visible,[data-pressed],[data-colour]) .vs-brand-mono img { filter:invert(var(--mono-invert,0)); }
@media(hover:hover) { .vs-section :is(.vs-vendor,.vs-client):hover .vs-brand-mono img { filter:invert(var(--mono-invert,0)); } }
@media(prefers-reduced-motion:reduce) { .vs-section :is(.vs-vendor,.vs-client) img { transition:none; } }
@media(hover:none) { .vs-section :is(.vs-vendor,.vs-client):is(:active,[data-pressed]) .vs-brand-art img { transition:none; } }
.vs-vendor-directory { display:block; padding-bottom:clamp(28px,4vw,64px); }
.vs-home-block > .maxwidth-theme:has(> .vs-vendor-directory) { padding-inline:0; }
.vs-vendor-directory [hidden] { display:none !important; }
.vs-directory-intro { display:flex; justify-content:space-between; gap:24px; align-items:center; margin-bottom:clamp(18px,2.6vw,40px); }
.vs-directory-intro p { max-width:58ch; margin:0; color:var(--basic_text_black,#555); }
.vs-search { display:flex; align-items:center; gap:12px; border:1px solid var(--stroke_black,#ccc); padding:0 14px; border-radius:4px; width:min(100%,315px); min-height:46px; margin:0; }
.vs-search:focus-within { outline:2px solid var(--theme-base-color,#f26a21); outline-offset:2px; }
.vs-search input[type=search] { background:transparent; color:var(--white_text_black,#222); border:0; box-shadow:none; outline:0; width:100%; min-width:0; padding:9px 0; font:inherit; }
.vs-search-icon { border:1.6px solid currentColor; border-radius:50%; width:14px; height:14px; flex:none; position:relative; }
.vs-search-icon::after { content:""; position:absolute; height:1.6px; width:6px; right:-4px; bottom:-2px; background:currentColor; transform:rotate(45deg); }
.vs-directory-row { padding:clamp(22px,2.4vw,38px) 0; display:grid; grid-template-columns:minmax(165px,20%) minmax(0,1fr); gap:12px 24px; border-top:1px solid var(--stroke_black,#ddd); }
.vs-directory-row h2 { margin:6px 0 0; font-size:clamp(18px,1.55vw,25px); line-height:1.24; text-wrap:balance; }
.vs-directory-row .vs-directory-marks { grid-template-columns:repeat(auto-fill,minmax(min(137px,100%),1fr)); gap:12px 20px; }
.vs-directory-marks li { scroll-margin-top:130px; }
.vs-directory-marks a { display:flex; width:100%; min-height:92px; flex-direction:column; align-items:center; justify-content:center; gap:10px; padding:10px 6px; color:var(--white_text_black,#232323); border-radius:4px; }
.vs-directory-marks li:target a { outline:2px solid var(--theme-base-color,#f26a21); outline-offset:-2px; }
.vs-directory-marks .vs-brand-art { height:36px; width:min(100%,122px); }
.vs-mark-caption { font-size:13px; line-height:1.3; overflow-wrap:anywhere; text-align:center; color:var(--basic_text_black,#484848); }
.vs-search-empty { margin:0; padding:24px 0; }
@media(max-width:800px) {
  .vs-directory-row { grid-template-columns:1fr; }
  .vs-directory-row h2 { margin:0; }
}
@media(max-width:600px) {
  .vs-directory-intro { flex-direction:column; align-items:stretch; gap:14px; }
  .vs-search { width:100%; }
  .vs-directory-row .vs-directory-marks { grid-template-columns:repeat(2,minmax(0,1fr)); gap:4px 14px; }
}
.vs-section .vs-dark { background:#222; color:white; border-color:#505050; }
@media(hover:hover) { .vs-section .vs-logo:hover { filter:grayscale(0); } }
.vs-section .vs-logo:focus-visible, .vs-section .vs-logo:active { filter:grayscale(0); outline:2px solid var(--theme-base-color,#d76412); outline-offset:-3px; }
vulpes-logo-rail:defined .vs-logos { scrollbar-width:none; }
vulpes-logo-rail:defined .vs-logos::-webkit-scrollbar { display:none; }
@media(prefers-reduced-motion:reduce) { .vs-section .vs-logo { transition:none; } }
@media(max-width:1150px) { .vs-section .vs-logos { --count:4; } }
@media(max-width:900px) { .vs-services { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) {
  .vs-head { gap:10px; } .vs-head h2 { font-size:24px; line-height:1.2; }
  .vs-services { grid-template-columns:minmax(0,1fr); gap:16px; }
  .vs-service-main > img { aspect-ratio:2.05; }
  .vs-service-main > div { padding:16px; } .vs-service h3 { font-size:19px; margin-bottom:6px; }
  .vs-service p { font-size:14px; } .vs-section .vs-logos { --count:2; }
  .vs-rail-head { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:0 6px; margin-bottom:10px; }
  .vs-rail-head h2, .vs-rail-head a { grid-column:1; justify-self:start; }
  .vs-rail-head a { font-size:13px; }
  .vs-rail-nav { grid-column:2; grid-row:1/3; }
}
