.ms-v5 {
    --paper: #fff;
    --soft: #f7f7f7;
    --panel: #f0f1f2;
    --ink: #202124;
    --muted: #62676d;
    --rule: #e4e6e8;
    background: var(--paper);
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
}
.ms-v5 :is(h1, h2, h3) { color: var(--ink); font-family: inherit; line-height: 1.1; font-weight: 600; letter-spacing: -.035em; }
.ms-v5 h1 { margin: 0 0 .35em; font-size: clamp(2.25rem, 4.4vw, 4.8rem); }
.ms-v5 h2 { margin: 0 0 .7em; font-size: clamp(1.7rem, 3vw, 2.9rem); }
.ms-v5 h3 { margin: 0 0 .3em; font-size: clamp(1.18rem, 1.7vw, 1.55rem); }
.ms-v5 p { color: var(--muted); line-height: 1.55; max-inline-size: 65ch; }
.ms-v5 a { color: var(--ink); text-underline-offset: .2em; }
.ms-v5 a:focus-visible { outline: 2px solid #39566b; outline-offset: 4px; }
.ms-v5 img { display: block; width: 100%; height: auto; }
.ms-v5 figure { margin: 0; }
.ms-v5-wrap { width: min(93%, 1500px); margin-inline: auto; }
.ms-v5-section { padding-block: clamp(2rem, 4.25vw, 5rem); }
.ms-v5-hero { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); background: var(--soft); }
.ms-v5-hero-copy { grid-column: span 5; padding: clamp(1.6rem, 4vw, 5rem); align-self: center; }
.ms-v5-hero figure { grid-column: span 7; }
.ms-v5-hero img { height: 100%; min-height: 430px; aspect-ratio: 4 / 3; object-fit: cover; }
.ms-v5-center-hero img { min-height: 360px; max-height: min(68vh, 660px); }
.ms-v5-center-hero h1 { font-size: clamp(2.1rem, 3.9vw, 4.2rem); }
.ms-v5-center .ms-pf-series { border-color: var(--rule); }
.ms-v5-center [data-portfolio-group] :is(article,img), .ms-v5-center .ms-catalogue-card { border-radius: 8px; }
.ms-v5-center-hero[data-v5-center="drivers-lighting-controls"] img { object-fit: contain; background: var(--panel); }
.ms-v5-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.25rem; margin-block-start: 1.45rem; }
.ms-v5-button { display: inline-flex; align-items: center; min-height: 46px; padding: .7rem 1rem; border: 1px solid var(--ink); text-decoration: none; font-weight: 600; }
.ms-v5-button:hover { background: var(--panel); }
.ms-v5-grid { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: clamp(.9rem, 2vw, 1.8rem); }
.ms-v5-band { background: var(--soft); }
.ms-v5-tile { display: flex; flex-direction: column; min-width: 0; grid-column: span 6; text-decoration: none; }
.ms-v5-tile img { aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; }
.ms-v5-tile div { padding-block: .75rem .35rem; }
.ms-v5-tile p { margin: 0; }
.ms-v5-tile:hover h3 { text-decoration: underline; }
.ms-v5-compact, .ms-v5-scenes .ms-v5-tile { grid-column: span 4; }
.ms-v5-compact img { aspect-ratio: 4 / 3; }
.ms-v5-links { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; border-block-start: 1px solid var(--rule); }
.ms-v5-links a { flex: 1 1 15rem; padding: 1rem; border: 1px solid var(--rule); display: flex; justify-content: space-between; gap: .75rem; text-decoration: none; }
.ms-v5-detail { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(1rem, 4vw, 4rem); padding-block-start: 1.5rem; }
.ms-v5-detail img { max-height: 70vh; object-fit: contain; background: var(--soft); }
.ms-v5-detail h1 { font-size: clamp(2rem, 3.7vw, 3.9rem); }
.ms-v5-detail dl div { display: grid; grid-template-columns: 1fr 1fr; padding: .65rem 0; gap: .8rem; border-block-start: 1px solid var(--rule); }
.ms-v5-detail dd { margin: 0; }
.ms-v5-controls { align-items: center; }
.ms-v5-controls figure { display: grid; isolation: isolate; overflow: hidden; border-radius: 8px; }
.ms-v5-controls img, .ms-v5-controls figure::after { grid-area: 1 / 1; }
.ms-v5-controls img { height: 100%; object-fit: cover; filter: brightness(var(--ms-preview-level,1)); }
.ms-v5-controls figure::after { content: ''; pointer-events: none; background: var(--ms-preview-tone,transparent); opacity: .29; mix-blend-mode: screen; }
.ms-v5-controls [data-ms-original-tones] { display:block; }
.ms-v5-controls [data-ms-original-tones]::after { content:none; }
.ms-v5-controls [data-ms-original-tones] [hidden] { display:none; }
.ms-v5-controls [data-ms-original-tones] img { width:100%; height:auto; aspect-ratio:3/2; }
.ms-v5-controls [data-ms-scene-controls]:not([hidden]) { display: grid; gap: .9rem; margin-block: 1.15rem; }
.ms-v5-controls label { display: grid; gap: .35rem; }
.ms-v5-controls select { min-height: 44px; }
@media (max-width: 870px) {
    .ms-v5-hero-copy, .ms-v5-hero figure { grid-column: 1 / -1; }
    .ms-v5-hero img { min-height: 0; aspect-ratio: 16 / 9; }
    .ms-v5-detail { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .ms-v5-grid .ms-v5-tile { grid-column: 1 / -1; }
    .ms-v5-detail img { max-height: none; }
}
