/* Gallery additions scoped to the approved V3 page; no shared prices or forms. */
body.gallery-v2 .gallery-jump{display:inline-flex;gap:1rem;align-items:center;margin-top:1.25rem;color:#dfc484;text-decoration:none;border-bottom:1px solid #aa8950;padding:.7rem 0}
body.gallery-v2 .ranger-intro{max-width:780px;margin-bottom:2.5rem}
body.gallery-v2 .ranger-intro h2{margin:.6rem 0 1rem}
body.visual-v3.gallery-v2 :is(.ranger-intro,.ranger-details) h2{font:400 clamp(28px,3vw,40px)/1.12 var(--v3-display);letter-spacing:-.035em;color:var(--v3-text);text-shadow:none}
body.gallery-v2 .ranger-intro p{line-height:1.7}
body.gallery-v2 .view-note{color:#bcb6ab;font-size:.9rem}
body.gallery-v2 .work-comparisons{display:grid;grid-template-columns:repeat(2,minmax(0,380px));justify-content:center;gap:1.5rem}
body.gallery-v2 .work-comparison{min-width:0;scroll-margin-block:100px 20px;background:#11110f;border:1px solid #393428;border-radius:8px;overflow:hidden}
body.gallery-v2 .comparison-heading{display:flex;align-items:center;gap:.75rem;padding:.85rem 1rem;min-height:70px;box-sizing:border-box}
body.gallery-v2 .comparison-heading h3{font-size:1.4rem;margin:0;line-height:1.2}
body.visual-v3.gallery-v2 .comparison-heading h3{font-family:var(--v3-display);font-weight:400;letter-spacing:-.025em;color:var(--v3-text);text-shadow:none}
body.gallery-v2 .work-number{color:#c9aa68;font-size:.78rem;font-weight:600;letter-spacing:.08em}
body.gallery-v2 .compare-stage{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:#222;touch-action:pan-y;user-select:none;-webkit-user-select:none}
body.gallery-v2 .compare-photo{margin:0;min-width:0;position:relative}
body.gallery-v2 .compare-before{order:0}
body.gallery-v2 .compare-after{order:1}
body.gallery-v2 .compare-photo img{display:block;width:100%;height:auto;border-radius:0;filter:none;transform:none;object-fit:contain}
body.gallery-v2 .compare-photo figcaption{padding:.55rem .8rem;background:#161612;color:#fff;font-weight:600}
body.gallery-v2 .compare-divider,body.gallery-v2 .compare-label{display:none}
body.gallery-v2 .comparison-ready .compare-stage{position:relative;display:block;width:min(100%,360px,max(120px,calc(75vh - 17.625rem)));width:min(100%,360px,max(120px,calc(75svh - 17.625rem)));margin-inline:auto;aspect-ratio:3/4;overflow:hidden;cursor:ew-resize;--before:50%}
body.gallery-v2 .comparison-ready .compare-photo{position:absolute;inset:0;width:100%;height:100%;overflow:hidden}
body.gallery-v2 .comparison-ready .compare-photo img{width:100%;height:100%;object-fit:contain}
body.gallery-v2 .comparison-ready .compare-photo figcaption{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
body.gallery-v2 .comparison-ready .compare-before{z-index:1;clip-path:inset(0 calc(100% - var(--before)) 0 0);-webkit-clip-path:inset(0 calc(100% - var(--before)) 0 0)}
body.gallery-v2 .comparison-ready .compare-divider{display:block;position:absolute;top:0;bottom:0;left:var(--before);width:2px;background:#f3e0b8;z-index:2;transform:translateX(-50%);pointer-events:none;box-shadow:0 0 2px #000}
body.gallery-v2 .compare-divider span{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:44px;height:44px;border:2px solid #f3e0b8;border-radius:50%;background:#181711;color:#fff;font-size:1.4rem;box-shadow:0 3px 12px #0007}
body.gallery-v2 .comparison-ready .compare-label{display:block;position:absolute;top:14px;padding:.35rem .7rem;border:1px solid #ffffff55;border-radius:3px;background:#10100ee6;color:#fff;font-size:.78rem;font-weight:700;z-index:3;pointer-events:none}
body.gallery-v2 .before-label{left:12px}body.gallery-v2 .after-label{right:12px}
body.gallery-v2 .comparison-ready .compare-label[hidden]{display:none}
body.gallery-v2 .compare-controls{padding:.65rem 1rem .3rem}
body.gallery-v2 .compare-controls[hidden]{display:none}
body.gallery-v2 .compare-controls label{display:flex;justify-content:space-between;gap:1rem;font-size:.82rem;color:#d1c9b9}
body.gallery-v2 .compare-controls output{font-variant-numeric:tabular-nums;white-space:nowrap;color:#e4c680}
body.gallery-v2 .compare-controls input[type=range]{display:block;width:100%;height:44px;min-height:44px;padding:0;margin:.2rem 0;background:transparent;accent-color:#d9b96e;cursor:ew-resize;touch-action:pan-y;border:0;box-shadow:none}
body.gallery-v2 .compare-controls input:focus-visible{outline:3px solid #f0cc7e;outline-offset:2px;border-radius:4px}
body.gallery-v2 .compare-actions{display:flex;gap:.6rem}
body.gallery-v2 .compare-actions button{flex:1;min-width:0;min-height:44px;padding:.5rem;border:1px solid #655431;border-radius:4px;background:#1e1d16;color:#f1e8d4;font:inherit;font-size:.85rem;cursor:pointer}
body.gallery-v2 .compare-actions button:hover{background:#30291b}
body.gallery-v2 .compare-actions button:focus-visible,body.gallery-v2 .work-photo a:focus-visible,body.gallery-v2 .gallery-jump:focus-visible{outline:3px solid #f0cc7e;outline-offset:3px}
body.gallery-v2 .comparison-note{margin:0;padding:.65rem 1rem .85rem;font-size:.85rem;color:#bcb6ab;line-height:1.6}
body.gallery-v2 .work-photos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem;margin-top:2rem}
body.gallery-v2 .work-photo{margin:0;min-width:0;border:1px solid #393428;border-radius:6px;overflow:hidden;background:#11110f}
body.gallery-v2 .work-photo a{display:block}
body.gallery-v2 .work-photo img{display:block;width:100%;height:auto;aspect-ratio:3/4;object-fit:contain;filter:none}
body.gallery-v2 .work-photo figcaption{padding:1.1rem;line-height:1.5;color:#d4cfc5;font-size:.9rem}
body.gallery-v2 .photo-state{display:block;color:#dfc484;font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;margin-bottom:.5rem}
@media(max-width:700px){body.gallery-v2 .work-comparisons{grid-template-columns:1fr;gap:1.5rem}body.gallery-v2 .work-photos{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}body.gallery-v2 .comparison-heading{padding:.85rem 1rem}}
@media(max-width:420px){body.gallery-v2 .work-photos{grid-template-columns:1fr}}
@media(max-width:350px){body.gallery-v2 .comparison-ready .compare-stage{width:min(100%,360px,max(110px,calc(75vh - 18.75rem)));width:min(100%,360px,max(110px,calc(75svh - 18.75rem)))}}
@media(prefers-reduced-motion:reduce){body.gallery-v2 .ranger-work *,body.gallery-v2 .ranger-details *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
