/* Visual pilot v30: current blue/graphite tokens, working original forms. */
body .brand{font-size:20px}
body .vp-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:56px;align-items:center;padding:66px 0 54px}
body .vp-hero-copy h1{font-size:clamp(36px,4.2vw,62px);line-height:1.08;max-width:16ch;margin:0}
body .vp-lead{font-size:19px;line-height:1.55;max-width:44ch;margin:26px 0;color:var(--muted)}
body .vp-hero .actions{display:flex;flex-wrap:wrap;gap:12px;margin:30px 0 0}
body .vp-small{font-size:13px;line-height:1.6;color:var(--muted);margin:22px 0 0}
body .vp-hero-photo,body .vp-figure{margin:0;min-width:0}
body .vp-hero-photo img{display:block;width:100%;height:470px;object-fit:cover;object-position:50% 50%;border-radius:16px;background:var(--soft)}
body .vp-hero-photo figcaption,body .vp-figure figcaption{font-size:11px;line-height:1.5;color:var(--muted);padding:10px 0 0}
body .vp-hero-photo figcaption a{text-decoration:underline;text-underline-offset:3px}
body .vp-section-head{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:70px;align-items:start;margin-bottom:36px}
body .vp-section-head h2{font-size:clamp(30px,3.2vw,46px);margin:0;max-width:16ch}
body .vp-section-head p{color:var(--muted);font-size:17px;margin:5px 0 0;max-width:48ch}
body .vp-service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
body .vp-service{min-width:0;background:var(--paper);border-radius:16px;overflow:hidden;display:flex}
body .vp-service a{display:flex;flex-direction:column;text-decoration:none;width:100%;color:var(--ink)}
body .vp-service img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;object-position:center;background:var(--soft)}
body .vp-service a>div{padding:24px;display:flex;flex-direction:column;flex:1}
body .vp-service figure{margin:0}
body .vp-service figure figcaption{font-size:11px;color:var(--muted);padding:10px 24px 0;line-height:1.5}
body .vp-link svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5;flex:none}
body .vp-service h3{font-size:25px;line-height:1.2;margin:0 0 12px}
body .vp-service p{font-size:15px;line-height:1.6;color:var(--muted);margin:0 0 22px}
body .vp-link{font-size:14px;color:var(--accent);margin-top:auto;display:flex;justify-content:space-between;align-items:center;gap:12px}
body .vp-link>span{font-size:20px;line-height:1}
body .vp-image-note{font-size:12px;color:var(--muted);line-height:1.5;margin:20px 0 12px;max-width:80ch}
body .vp-services-section{background:var(--soft)}
body .vp-tent-copy{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:64px;align-items:center}
body .vp-tent-copy h2{font-size:clamp(30px,3.2vw,46px);margin:0 0 20px}
body .vp-tent-copy p{max-width:62ch;color:var(--muted)}
body .vp-tent-copy .vp-small{margin-top:14px}
body .vp-final{background:var(--soft)}
body .vp-final h2{font-size:clamp(32px,3.5vw,48px);max-width:22ch;margin:0 0 24px}
body .vp-final p{max-width:64ch;color:var(--muted);margin-bottom:26px}
body .vp-final .actions{display:flex;flex-wrap:wrap;gap:12px}
body .vp-service-lead{width:min(100%,1050px);margin:0 auto 48px;max-width:100%}
body .vp-service-lead img{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;object-position:center;border-radius:16px;display:block;background:var(--soft)}
body.inner-page .vp-service-lead+.mp-layout{padding-top:0}
body input[list]{caret-color:var(--accent)}
body .vp-combined{padding:56px 0 24px;max-width:70ch}
body .vp-combined h2{font-size:clamp(28px,3vw,40px);margin:0 0 20px}
body .vp-combined p{color:var(--muted);margin:0 0 24px}
body .vp-season-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:40px}
body .vp-season-grid .vp-figure img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:16px}
body .vp-season-grid h2{font-size:30px;margin:24px 0 16px}
body .vp-season-grid p{color:var(--muted);max-width:58ch}
body .vp-wiring-detail{margin:0 0 30px}
body .vp-wiring-detail img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:16px}
body .vp-company-copy{max-width:75ch}
body .vp-company-copy .mp-group{margin:0 0 40px}
html:root body .theme-toggle{background:transparent;border-radius:50%;display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:11px}
html:root body .theme-toggle:focus-visible{outline:none;background:var(--soft);text-decoration:none}
@media(hover:hover) and (pointer:fine){body .vp-service a:hover .vp-link{text-decoration:underline;text-underline-offset:4px}}
body .vp-service a:focus-visible{outline:none;background:var(--soft);text-decoration:underline;text-underline-offset:4px}
@media(max-width:1100px){body .vp-hero{gap:32px;padding-top:44px}body .vp-hero-photo img{height:410px}body .vp-service-grid{gap:16px}body .vp-service a>div{padding:20px}body .vp-service h3{font-size:22px}body .vp-tent-copy{gap:32px}}
@media(max-width:780px){
 body .brand{font-size:18px}
 body .vp-hero{grid-template-columns:1fr;gap:28px;padding:30px 0 36px}
 body .vp-hero-copy h1{font-size:clamp(34px,7vw,45px);max-width:18ch;line-height:1.1}
 body .vp-lead{font-size:16px;line-height:1.6;margin:20px 0}
 body .vp-hero .actions{display:grid;grid-template-columns:1fr;gap:10px;margin-top:24px}
 body .vp-hero .actions .button{width:100%}
 body .vp-small{font-size:12px;margin-top:16px}
 body .vp-hero-photo img{height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:12px}
 body .vp-hero-photo figcaption{font-size:10px}
 body .vp-section-head{grid-template-columns:1fr;gap:16px;margin-bottom:26px}
 body .vp-section-head h2{font-size:32px;max-width:18ch}
 body .vp-section-head p{font-size:16px;margin:0}
 body .vp-service-grid{grid-template-columns:1fr;gap:24px}
 body .vp-service{border-radius:12px}
 body .vp-service a>div{padding:22px}
 body .vp-service h3{font-size:25px}
 body .vp-tent-copy{grid-template-columns:1fr;gap:24px}
 body .vp-tent-copy .button{width:100%}
 body .vp-final .actions{display:grid;grid-template-columns:1fr}
 body .vp-final .button{width:100%}
 body .vp-service-lead{margin-bottom:30px}
 body .vp-service-lead img{height:auto;aspect-ratio:3/2;border-radius:12px}
 body .vp-season-grid{grid-template-columns:1fr;gap:40px}
 body .vp-season-grid h2{font-size:28px;margin-top:20px}
 body .vp-combined{padding-top:40px}
}

/* Service photographs retain their full 3:2 framing on detail pages. */

/* The entire brand tile is one surface, including the space around the mark. */
body .service-forms .sf-engine-catalog-choice{flex-direction:column;gap:12px;min-height:146px;padding:18px 14px}
body .service-forms .sf-engine-catalog-choice strong{font-size:15px;line-height:1.3;letter-spacing:0}
body .service-forms .vp-engine-logo-plate{display:flex;align-items:center;justify-content:center;width:min(100%,190px);height:78px;padding:12px 16px;pointer-events:none}
body .service-forms .vp-engine-logo-plate img{display:block;width:100%;height:100%;object-fit:contain}
/* Single-colour marks use the same silhouette in reverse on graphite. */
:root[data-site-theme="dark"] .service-forms :is([data-brand-id="mercury"], [data-brand-id="mercruiser"], [data-brand-id="volvo-penta"], [data-brand-id="cummins"], [data-brand-id="man"]) .vp-engine-logo-plate img {
  filter: brightness(0) invert(.95);
}
/* Lift deep brand inks while leaving transparent parts of the mark clear. */
:root[data-site-theme="dark"] .service-forms :is([data-brand-id="selva"], [data-brand-id="tohatsu"]) .vp-engine-logo-plate img {
  filter: contrast(.55) brightness(2.1);
}
:root[data-site-theme="dark"] .service-forms [data-brand-id="yanmar"] .vp-engine-logo-plate img {
  filter: brightness(1.22);
}
body .service-forms [data-brand-id=tohatsu] .vp-engine-logo-plate{overflow:hidden}
body .service-forms [data-brand-id=tohatsu] .vp-engine-logo-plate img{transform:scale(1.35)}
body .service-forms .sf-engine-catalog-choice[aria-pressed="true"] {
  background: color-mix(in srgb, var(--accent) 30%, var(--soft));
  box-shadow: inset 0 0 0 2px var(--accent);
}
body .service-forms .sf-engine-catalog-choice:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
body .service-forms .sf-engine-catalog-choice:focus-visible strong { text-decoration: none; }
body .service-forms .sf-engine-manual-choice strong{font-size:16px}
body .vp-credits-link{padding-top:16px;padding-bottom:24px;margin-top:0;margin-bottom:0;font-size:12px;line-height:1.5}
body .vp-credits-link a{color:var(--muted);text-underline-offset:3px}
body .vp-credits-link a:hover,body .vp-credits-link a:focus-visible{color:var(--ink);text-decoration:underline;outline:none}
body .vp-credits-content{max-width:76ch;padding-bottom:56px;overflow-wrap:anywhere}
body .vp-credits-content .mp-group{margin-bottom:40px}
body .vp-credits-content dl{display:grid;grid-template-columns:minmax(100px,150px) minmax(0,1fr);gap:12px 24px;margin:24px 0}
body .vp-credits-content dt{color:var(--muted)}
body .vp-credits-content dd{margin:0}
body .vp-credits-content a{color:var(--accent);text-underline-offset:3px}
body .vp-credits-content ul{columns:2;column-gap:30px}
@media(max-width:780px){
 body .service-forms .sf-engine-catalog-choice{min-height:132px;padding:14px 10px;gap:9px}
 body .service-forms .vp-engine-logo-plate{height:66px;padding:10px 12px}
 body .service-forms .sf-engine-catalog-choice strong{font-size:14px}
 body .service-forms .sf-engine-manual-choice strong{font-size:15px}
 body .vp-credits-content dl{grid-template-columns:1fr;gap:8px}
 body .vp-credits-content dd{margin-bottom:12px}
 body .vp-credits-content ul{columns:1}
}
