/* LaPrin gallery: scoped to the gallery pages. */
.gallery-redesign { --gallery-navy:#001f3f; --gallery-gold:#b28a35; --gallery-paper:#f7f6f2; background:var(--gallery-paper); }
.gallery-redesign [hidden] { display:none!important; }
.gallery-redesign .gallery-hero { padding:132px 24px 40px; background:var(--gallery-paper); color:var(--gallery-navy); }
.gallery-redesign .gallery-hero > .absolute,.gallery-redesign .gallery-hero > .h-16 { display:none; }
.gallery-redesign .gallery-hero > .container { position:relative; width:100%; max-width:1200px; padding:0!important; margin:auto; text-align:left; }
.gallery-redesign .gallery-hero .animate-fade-up { animation:none; opacity:1; transform:none; }
.gallery-redesign .gallery-hero .container > p:first-child { display:flex; align-items:center; gap:12px; margin:0 0 18px; color:var(--gallery-gold); font-size:11px; font-weight:700; letter-spacing:.2em; }
.gallery-redesign .gallery-hero .container > p:first-child::before { content:''; width:32px; height:1px; background:currentColor; }
.gallery-redesign .gallery-hero h1 { max-width:800px; margin:0 0 18px; color:var(--gallery-navy); font-size:clamp(40px,4.5vw,64px); font-weight:500; line-height:1.08; letter-spacing:-.045em; }
.gallery-redesign .gallery-hero h1 .text-gold-gradient { color:var(--gallery-gold); background:none; -webkit-text-fill-color:currentColor; font-weight:400; }
.gallery-redesign .gallery-hero .container > p:not(:first-child) { max-width:650px; margin:0; color:#66727d; font-size:15px; line-height:1.8; }
.gallery-redesign .gallery-hero strong { color:var(--gallery-navy); font-weight:600; }
.gallery-redesign .gallery-hero .container > div:not(.gallery-hero-stat) { justify-content:flex-start; gap:10px; margin-top:22px; }
.gallery-redesign .gallery-hero .container > div > span { padding:6px 12px; border:1px solid #dcdedc; border-radius:4px; background:transparent; color:#67717b; font-size:10px; }
.gallery-hero-stat { position:absolute; right:0; bottom:0; display:flex; align-items:baseline; gap:12px; padding-left:28px; border-left:1px solid #d9dcd9; color:#73808a; font-size:12px; }
.gallery-hero-stat strong { font-size:44px; line-height:1; font-weight:400!important; letter-spacing:-.05em; }
.gallery-redesign #gallery { padding:0 24px 72px; background:var(--gallery-paper); }
.gallery-redesign #gallery > .container { width:100%; max-width:1200px; padding:0!important; margin:auto; }
.gallery-toolbar { padding:28px 30px 0; margin-bottom:30px; border:1px solid #e1e4e6; border-top:2px solid var(--gallery-navy); border-radius:12px; background:white; }
.gallery-toolbar-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.gallery-eyebrow { color:#8a9299; text-transform:uppercase; font-size:10px; font-weight:600; letter-spacing:.16em; margin-bottom:8px; }
.gallery-toolbar h2 { font-size:24px; line-height:1.2; font-weight:500; letter-spacing:-.025em; color:var(--gallery-navy); }
.gallery-reset { font-size:12px; color:#677581; text-decoration:underline; text-underline-offset:4px; padding:10px 0 10px 12px; }
.gallery-area-tabs { display:flex; flex-wrap:wrap; gap:8px; margin:24px 0; }
.gallery-area-button { display:inline-flex; justify-content:center; align-items:center; gap:10px; min-height:44px; padding:10px 18px; border:1px solid #e3e6e9; border-radius:6px; color:#4c5c69; background:white; font-size:13px; transition:background-color .16s,color .16s,border-color .16s; }
.gallery-area-button span { font-size:10px; opacity:.65; font-variant-numeric:tabular-nums; }
.gallery-area-button:hover { border-color:#b0b9c1; background:#f5f7f8; }
.gallery-area-button[aria-pressed="true"] { background:var(--gallery-navy); border-color:var(--gallery-navy); color:white; }
.gallery-area-button:disabled { opacity:.35; cursor:not-allowed; }
.gallery-redesign :is(.gallery-area-button,.gallery-open,.gallery-page,.gallery-dialog button,.gallery-selects select):focus-visible { outline:2px solid var(--gallery-gold); outline-offset:4px; }
.gallery-tools { display:flex; justify-content:space-between; align-items:center; gap:16px; border-top:1px solid #edf0f1; padding:16px 0; }
.gallery-status { color:#667581; font-size:12px; font-variant-numeric:tabular-nums; }
.gallery-selects { display:flex; align-items:center; gap:22px; }
.gallery-selects label { display:flex; align-items:center; gap:8px; color:#91999f; font-size:11px; }
.gallery-selects select { max-width:210px; min-height:36px; border:0; border-radius:0; padding:4px 22px 4px 2px; background-color:white; color:var(--gallery-navy); font:inherit; font-size:12px; cursor:pointer; }
.gallery-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:28px 24px; }
.gallery-redesign .gallery-card { display:flex; flex-direction:column; min-width:0; overflow:hidden; border:1px solid #e0e5e8; border-radius:12px; background:white; box-shadow:none; transition:border-color .2s,box-shadow .2s,transform .2s; }
.gallery-redesign .gallery-card:hover { border-color:#aebbc5; box-shadow:0 12px 28px #001f3f0a; transform:translateY(-3px); }
.gallery-redesign .gallery-card > .p-4 { display:flex; flex:1; flex-direction:column; padding:18px 20px 16px; }
.gallery-redesign .gallery-card > .p-4 > div:not(.gallery-card-meta) { flex:1; }
.gallery-card-meta { display:flex; justify-content:space-between; align-items:center; gap:8px; margin-bottom:12px; color:#687783; font-size:9px; font-weight:600; letter-spacing:.09em; text-transform:uppercase; }
.gallery-card-meta span:first-child { color:var(--gallery-gold); }
.gallery-redesign .gallery-card .font-bold { color:var(--gallery-navy); font-size:15px; line-height:1.5; font-weight:600; }
.gallery-redesign .gallery-card .text-xs { margin-top:5px; color:#6b7983; font-size:11px; line-height:1.6; }
.gallery-open { display:flex; justify-content:space-between; align-items:center; gap:12px; width:100%; margin-top:18px; padding-top:13px; border-top:1px solid #edf0f1; color:var(--gallery-navy); text-align:left; font-size:11px; font-weight:500; }
.gallery-open span:last-child { font-size:17px; font-weight:400; color:var(--gallery-gold); }
.gallery-redesign .ba-slider { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:2px; position:relative; aspect-ratio:auto; border-radius:0; background:#e8eaeb; cursor:pointer; }
.gallery-redesign .ba-slider > picture { grid-column:1; grid-row:1; }
.gallery-redesign .ba-slider > picture,.gallery-redesign .ba-slider .ba-after-wrap picture { display:flex; align-items:center; width:100%; aspect-ratio:4/3; background:#f0f0ee; }
.gallery-redesign .ba-slider .ba-after-wrap { position:static; grid-column:2; grid-row:1; width:auto!important; height:auto; }
.gallery-redesign .ba-slider img { position:static; display:block; width:100%; height:100%; min-width:0!important; object-fit:contain; }
.gallery-redesign .ba-slider .ba-handle { display:none; }
.gallery-redesign .ba-slider .ba-label,.gallery-redesign .ba-mobile-pair .ba-mobile-label { top:auto; bottom:9px; padding:4px 8px; font-size:8px; line-height:1.3; letter-spacing:.08em; border-radius:3px; }
.gallery-redesign .ba-slider .ba-label-before,.gallery-redesign .ba-mobile-pair .ba-mobile-label-before { left:9px; background:#001f3fe8; }
.gallery-redesign .ba-slider .ba-label-after { right:9px; background:#8e6b29f5; }
.gallery-redesign .ba-mobile-pair .ba-mobile-label-after { left:9px; background:#8e6b29f5; }
.gallery-pagination { display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:7px; margin:38px 0 32px; }
.gallery-page { display:inline-flex; justify-content:center; align-items:center; min-width:40px; height:42px; padding:0 10px; border:1px solid transparent; border-radius:5px; color:#7a858d; font-size:12px; font-variant-numeric:tabular-nums; }
.gallery-page:hover:not(:disabled) { border-color:#d5dce0; background:white; color:var(--gallery-navy); }
.gallery-page[aria-current="page"] { color:white; border-color:var(--gallery-navy); background:var(--gallery-navy); }
.gallery-page:disabled { opacity:.3; cursor:default; }
.gallery-page-edge { gap:8px; padding:0 14px; }
.gallery-page-gap { color:#a0a7ad; font-size:12px; }
.gallery-empty { padding:60px 20px; text-align:center; color:#667581; }
.gallery-redesign .gallery-disclaimer { margin:0; padding:18px 22px; border:1px solid #e1e4e3; border-left:2px solid #b28a35; border-radius:5px; background:transparent; color:#687783; font-size:11px; line-height:1.8; }
.gallery-redesign .gallery-disclaimer .font-semibold { margin-bottom:3px; color:#667581; font-weight:500; }
.gallery-redesign #cta { padding:64px 24px; background:var(--gallery-navy); }
.gallery-redesign #cta > .absolute { display:none; }
.gallery-redesign #cta h2 { font-size:clamp(28px,3vw,40px); font-weight:500; line-height:1.25; }
.gallery-redesign #cta .mb-16 { margin-bottom:32px; }
.gallery-redesign #cta .mb-12 { margin-bottom:26px; }
.gallery-redesign #cta .text-white\/60,.gallery-redesign #cta .text-white\/50 { font-size:14px; }
.gallery-dialog { width:min(1060px,calc(100% - 40px)); max-height:calc(100dvh - 48px); margin:auto; padding:0; border:0; border-radius:16px; color:var(--gallery-navy); background:#fff; box-shadow:0 24px 100px #001f3f44; }
.gallery-dialog::backdrop { background:#00172dd9; backdrop-filter:blur(5px); }
.gallery-dialog-header { display:flex; justify-content:space-between; align-items:flex-start; gap:20px; padding:24px 28px 18px; }
.gallery-dialog-header p { font-size:10px; color:var(--gallery-gold); text-transform:uppercase; letter-spacing:.12em; margin-bottom:8px; }
.gallery-dialog-header h2 { font-size:22px; font-weight:500; line-height:1.4; }
.gallery-dialog-close { display:flex; align-items:center; justify-content:center; flex-shrink:0; width:44px; height:44px; border:1px solid #e2e7ea; border-radius:50%; font-size:26px; color:#75818a; }
.gallery-dialog-images { display:grid; grid-template-columns:1fr 1fr; gap:16px; padding:0 28px 24px; }
.gallery-dialog-images figure { min-width:0; background:#f5f5f2; border:1px solid #e7eaeb; border-radius:8px; overflow:hidden; }
.gallery-dialog-images picture { display:block; }
.gallery-dialog-images img { display:block; width:100%; height:min(47dvh,480px); object-fit:contain; }
.gallery-dialog-images figcaption { padding:12px; border-top:1px solid #e4e7e7; background:white; text-align:center; color:#71808b; font-size:11px; font-weight:600; letter-spacing:.08em; }
.gallery-dialog-images figure:last-child figcaption { color:var(--gallery-gold); }
.gallery-dialog-footer { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:16px 28px; border-top:1px solid #e8ecee; }
.gallery-dialog-footer button { min-height:44px; padding:0 10px; font-size:12px; }
.gallery-dialog-footer button:disabled { opacity:.3; }
.gallery-dialog-counter { color:#687783; font-size:11px; font-variant-numeric:tabular-nums; }
@media(max-width:1099px) { .gallery-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .gallery-hero-stat { display:none; } }
@media(max-width:768px) {
 .gallery-redesign .ba-slider { display:none; }
 .gallery-redesign .ba-mobile { display:block; }
 .gallery-redesign .ba-mobile-pair { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:2px; border:0; border-radius:0; background:#e8eaeb; cursor:pointer; }
 .gallery-redesign .ba-mobile-pair .ba-mobile-img { display:flex; align-items:center; min-width:0; aspect-ratio:4/3; background:#f0f0ee; }
 .gallery-redesign .ba-mobile-pair picture { display:block; width:100%; height:100%; }
 .gallery-redesign .ba-mobile-pair img { width:100%; height:100%; object-fit:contain; }
 .gallery-selects { gap:16px; }
 .gallery-selects label { display:block; }
 .gallery-selects select { display:block; max-width:180px; }
 .gallery-redesign > aside { display:none; }
}
@media(max-width:639px) {
 .gallery-redesign .gallery-hero { padding:112px 20px 30px; }
 .gallery-redesign .gallery-hero h1 { font-size:42px; }
 .gallery-redesign .gallery-hero .container > p:not(:first-child) { font-size:13px; line-height:1.8; }
 .gallery-redesign .gallery-hero .container > div:not(.gallery-hero-stat) { margin-top:18px; gap:6px; }
 .gallery-redesign .gallery-hero .container > div > span { font-size:8px; padding:5px 8px; }
 .gallery-redesign #gallery { padding:0 20px 48px; }
 .gallery-toolbar { padding:22px 18px 0; margin-bottom:24px; }
 .gallery-toolbar h2 { font-size:21px; }
 .gallery-area-tabs { gap:6px; margin:20px 0; }
 .gallery-area-button { flex:1 0 auto; gap:6px; padding:9px 10px; min-height:42px; font-size:11px; }
 .gallery-area-button span { font-size:9px; }
 .gallery-tools { align-items:flex-start; flex-direction:column-reverse; gap:14px; padding:14px 0; }
 .gallery-selects { width:100%; justify-content:space-between; gap:12px; }
 .gallery-selects label { max-width:55%; font-size:10px; }
 .gallery-selects select { max-width:100%; font-size:11px; }
 .gallery-status { font-size:10px; }
 .gallery-grid { grid-template-columns:1fr; gap:22px; }
 .gallery-redesign .gallery-card > .p-4 { padding:16px 18px; }
 .gallery-redesign .gallery-card .font-bold { font-size:16px; }
 .gallery-redesign .ba-mobile-pair .ba-mobile-label { font-size:8px; }
 .gallery-pagination { gap:3px; margin-top:28px; }
 .gallery-page { min-width:32px; height:40px; padding:0 7px; }
 .gallery-page-edge { padding:0 6px; font-size:10px; }
 .gallery-redesign .gallery-disclaimer { padding:16px; font-size:10px; }
 .gallery-dialog { width:calc(100% - 20px); max-height:calc(100dvh - 20px); border-radius:12px; }
 .gallery-dialog-header { padding:16px 16px 12px; }
 .gallery-dialog-header h2 { font-size:18px; }
 .gallery-dialog-images { grid-template-columns:1fr; gap:10px; padding:0 16px 16px; }
 .gallery-dialog-images img { height:min(27dvh,270px); }
 .gallery-dialog-images figcaption { padding:8px; font-size:10px; }
 .gallery-dialog-footer { padding:10px 12px; }
 .gallery-dialog-footer button { font-size:11px; }
}
@media(prefers-reduced-motion:reduce) { .gallery-redesign .gallery-card,.gallery-area-button { transition:none; } .gallery-redesign .gallery-card:hover { transform:none; } }

/* Modern direction: open white canvas, bold type, tactile controls, photo-first cards. */
.gallery-redesign { --gallery-paper:#fff; --gallery-gold:#a78439; background:#fff; }
.gallery-redesign .gallery-hero { padding:136px 24px 44px; background:#fff; }
.gallery-redesign .gallery-hero .container > p:first-child { color:#637483; font-size:10px; font-weight:650; letter-spacing:.18em; }
.gallery-redesign .gallery-hero .container > p:first-child::before { width:7px; height:7px; border-radius:50%; background:#c7a457; }
.gallery-redesign .gallery-hero h1 { font-size:clamp(48px,5.8vw,80px); font-weight:650; letter-spacing:-.065em; line-height:1.03; }
.gallery-redesign .gallery-hero h1 .text-gold-gradient { color:#9aa6af; font-weight:400; }
.gallery-redesign .gallery-hero .container > p:not(:first-child) { color:#71808c; max-width:640px; font-size:14px; }
.gallery-redesign .gallery-hero .container > div > span { border:0; border-radius:100px; background:#f2f5f7; padding:7px 12px; color:#60717f; font-size:10px; }
.gallery-hero-stat { bottom:7px; border:0; padding:0; flex-direction:column; align-items:flex-end; gap:7px; font-size:11px; text-transform:uppercase; letter-spacing:.12em; }
.gallery-hero-stat strong { color:#d5dce1!important; font-size:84px; font-weight:500!important; letter-spacing:-.07em; }
.gallery-redesign #gallery { padding-top:0; background:#fff; }
.gallery-toolbar { margin-bottom:30px; padding:26px 0 0; border:0; border-top:1px solid #e8edf0; border-radius:0; background:transparent; }
.gallery-toolbar-heading { align-items:flex-end; }
.gallery-eyebrow { color:#82909b; font-size:10px; letter-spacing:.12em; margin-bottom:7px; }
.gallery-toolbar h2 { font-size:27px; font-weight:600; letter-spacing:-.035em; }
.gallery-area-tabs { gap:8px; margin:22px 0 24px; }
.gallery-area-button { gap:9px; min-height:44px; padding:10px 20px; border:1px solid #e5ebef; border-radius:100px; background:#f6f8fa; color:#627381; font-size:12px; }
.gallery-area-button:hover { background:#eaf0f4; border-color:#d7e1e8; }
.gallery-area-button[aria-pressed="true"] { background:#001f3f; border-color:#001f3f; box-shadow:0 3px 8px #001f3f13; }
.gallery-area-button span { padding:2px 5px; border-radius:20px; background:#001f3f07; font-size:9px; opacity:.85; }
.gallery-area-button[aria-pressed="true"] span { background:#ffffff1c; }
.gallery-tools { padding:16px 0 4px; border-top:1px solid #edf1f3; }
.gallery-selects { gap:20px; }
.gallery-selects select { border-radius:7px; padding:6px 23px 6px 7px; background-color:#f6f8fa; }
.gallery-grid { gap:34px 24px; }
.gallery-redesign .gallery-card { border:0; border-radius:0; overflow:visible; box-shadow:none; background:transparent; }
.gallery-redesign .gallery-card:hover { box-shadow:none; border:0; transform:translateY(-3px); }
.gallery-redesign .ba-slider,.gallery-redesign .ba-mobile-pair { border-radius:14px; overflow:hidden; }
.gallery-redesign .ba-slider .ba-label,.gallery-redesign .ba-mobile-pair .ba-mobile-label { border-radius:100px; font-size:8px; padding:5px 9px; letter-spacing:.045em; }
.gallery-redesign .gallery-card > .p-4 { padding:17px 2px 0; }
.gallery-card-meta { margin-bottom:9px; font-size:9px; font-weight:500; letter-spacing:.08em; color:#788893; }
.gallery-card-meta span:first-child { color:#5a7182; }
.gallery-redesign .gallery-card .font-bold { font-size:16px; font-weight:600; line-height:1.4; letter-spacing:-.02em; }
.gallery-redesign .gallery-card .text-xs { margin-top:5px; color:#748492; font-size:11px; }
.gallery-open { margin-top:14px; padding:10px 0 0; border-top:0; font-size:11px; color:#5c7384; }
.gallery-open span:last-child { display:flex; align-items:center; justify-content:center; width:28px; height:28px; border:1px solid #e3e9ed; border-radius:50%; color:#001f3f; font-size:16px; transition:background .15s,color .15s; }
.gallery-card:hover .gallery-open span:last-child { color:white; background:#001f3f; border-color:#001f3f; }
.gallery-pagination { gap:8px; margin:44px 0 36px; padding-top:28px; border-top:1px solid #edf1f3; }
.gallery-page { min-width:40px; height:40px; border-radius:50%; }
.gallery-page-edge { border-radius:100px; min-width:80px; }
.gallery-redesign .gallery-disclaimer { border:0; border-radius:12px; background:#f6f8fa; padding:20px 24px; color:#748390; }
.gallery-dialog { border-radius:20px; }
.gallery-dialog-header h2 { font-weight:600; letter-spacing:-.025em; }
@media(max-width:1099px) { .gallery-redesign .gallery-hero h1 { font-size:60px; } }
@media(max-width:639px) {
 .gallery-redesign .gallery-hero { padding:112px 20px 32px; }
 .gallery-redesign .gallery-hero h1 { font-size:47px; letter-spacing:-.06em; }
 .gallery-redesign .gallery-hero .container > p:not(:first-child) { font-size:12px; }
 .gallery-redesign .gallery-hero .container > div > span { font-size:8px; padding:6px 10px; }
 .gallery-toolbar { padding:22px 0 0; margin-bottom:24px; }
 .gallery-toolbar h2 { font-size:25px; }
 .gallery-area-tabs { gap:6px; margin:20px 0; }
 .gallery-area-button { flex:1 0 auto; padding:10px 13px; min-height:42px; font-size:11px; }
 .gallery-tools { padding-top:14px; }
 .gallery-grid { gap:30px; }
 .gallery-redesign .gallery-card > .p-4 { padding:15px 2px 0; }
 .gallery-redesign .gallery-card .font-bold { font-size:17px; }
 .gallery-redesign .gallery-card .text-xs { font-size:11px; }
 .gallery-pagination { gap:4px; padding-top:22px; margin-top:32px; }
 .gallery-page { min-width:32px; height:36px; }
 .gallery-page-edge { min-width:63px; font-size:9px; }
 .gallery-redesign .gallery-disclaimer { padding:18px; }
}

.gallery-open { min-height:44px; }
.gallery-redesign .ba-slider .ba-label,.gallery-redesign .ba-mobile-pair .ba-mobile-label { font-size:9px; }
@media(max-width:639px) {
 .gallery-area-tabs { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); }
 .gallery-area-button { min-width:0; width:100%; gap:3px; padding:10px 5px; font-size:clamp(9px,2.6vw,11px); }
 .gallery-area-button span { padding:2px 3px; font-size:8px; }
}

/* Selected reference: centered CASE heading and flat pink-accent category tabs. */
.gallery-redesign .gallery-hero { padding:118px 24px 26px; }
.gallery-redesign .gallery-hero > .container { text-align:center; }
.gallery-redesign .gallery-hero .container > p,.gallery-redesign .gallery-hero .container > div { display:none!important; }
.gallery-redesign .gallery-hero h1 { max-width:none; margin:0; font-size:34px; font-weight:700; line-height:1.2; letter-spacing:-.04em; color:#151a20; }
.gallery-redesign .gallery-hero h1 .text-gold-gradient { color:inherit; font-weight:700; }
.gallery-redesign .gallery-hero h1::after { content:'CASE'; display:block; margin-top:12px; color:#9ca2a7; font-size:8px; font-weight:500; letter-spacing:.05em; }
.gallery-toolbar { padding:0; border:0; margin-bottom:24px; }
.gallery-toolbar-heading { display:none; }
.gallery-area-tabs { display:grid; grid-template-columns:repeat(10,minmax(0,1fr)); gap:0; margin:0 0 14px; border-top:1px solid #e0e4e9; border-left:1px solid #e0e4e9; }
.gallery-area-button { width:100%; min-width:0; min-height:44px; padding:9px 7px; border:0; border-right:1px solid #e0e4e9; border-bottom:1px solid #e0e4e9; border-radius:0; background:#fff; color:#596776; box-shadow:none; font-size:13px; line-height:1.4; overflow-wrap:anywhere; hyphens:auto; }
.gallery-area-button span { display:none; }
.gallery-area-button:hover { border-color:#e0e4e9; background:#f7f8fa; }
.gallery-area-button[aria-pressed="true"] { background:#f338ae; border-color:#f338ae; color:#fff; box-shadow:none; }
.gallery-tools { border:0; padding:0 0 6px; }
.gallery-selects label:first-child { display:none; }
.gallery-redesign .gallery-card .font-bold { overflow-wrap:anywhere; }
.gallery-redesign .gallery-card .text-xs { overflow-wrap:anywhere; }
@media(max-width:1099px) { .gallery-area-tabs { grid-template-columns:repeat(5,minmax(0,1fr)); } .gallery-redesign .gallery-hero h1 { font-size:32px; } }
@media(max-width:639px) {
 .gallery-redesign .gallery-hero { padding:110px 20px 24px; }
 .gallery-redesign .gallery-hero h1 { font-size:29px; }
 .gallery-area-tabs { grid-template-columns:repeat(3,minmax(0,1fr)); gap:0; margin:0 0 14px; }
 .gallery-area-button { padding:10px 7px; min-height:45px; font-size:13px; }
 .gallery-tools { flex-direction:row; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px; }
 .gallery-selects { width:auto; max-width:100%; }
 .gallery-selects label { display:flex; align-items:center; gap:5px; max-width:100%; }
 .gallery-selects select { min-width:0; max-width:155px; }
 .gallery-status { font-size:10px; }
 .gallery-redesign #header-logo { max-width:48vw; height:auto!important; }
}

/* Review update: photo-only cards, no count/sort row, rectangular pagination. */
.gallery-redesign .gallery-card { position:relative; }
.gallery-photo-open { position:absolute; inset:0; z-index:15; width:100%; height:100%; border:0; border-radius:14px; background:transparent; cursor:pointer; }
.gallery-photo-open:focus-visible { outline:2px solid #f338ae; outline-offset:4px; }
.gallery-toolbar .gallery-tools { display:none!important; }
.gallery-status { position:absolute!important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
.gallery-toolbar { margin-bottom:26px; }
.gallery-area-tabs { margin-bottom:0; }
.gallery-grid { row-gap:24px; }
.gallery-pagination { gap:0; margin:36px 0 32px; padding:0; border:0; }
.gallery-page { min-width:44px; height:42px; padding:0 13px; border:1px solid #e0e4e9; border-radius:0; background:white; color:#596776; font-size:11px; }
.gallery-page + .gallery-page { margin-left:-1px; }
.gallery-page:hover:not(:disabled) { background:#f7f8fa; border-color:#e0e4e9; }
.gallery-page[aria-current="page"] { position:relative; z-index:1; background:#f338ae; border-color:#f338ae; color:white; }
.gallery-page-edge { min-width:90px; border-radius:0; }
.gallery-page-gap { display:inline-flex; align-items:center; justify-content:center; width:34px; height:42px; border-top:1px solid #e0e4e9; border-bottom:1px solid #e0e4e9; background:white; }
@media(max-width:639px) {
 .gallery-page { min-width:34px; padding:0 9px; height:40px; font-size:10px; }
 .gallery-page-edge { min-width:65px; padding:0 9px; font-size:9px; }
 .gallery-page-gap { width:24px; height:40px; }
 .gallery-grid { row-gap:20px; }
}

/* Larger editorial comparisons: six cases per page, labels outside the photos. */
.gallery-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:30px; }
.gallery-redesign .gallery-card { padding:14px; border:1px solid #e2e7eb; border-radius:16px; background:white; box-shadow:0 4px 18px #001f3f04; }
.gallery-redesign .gallery-card:hover { border:1px solid #edb6d7; box-shadow:0 12px 30px #001f3f0a; transform:translateY(-2px); }
.gallery-redesign .ba-slider { grid-template-rows:auto auto; column-gap:14px; row-gap:0; background:transparent; border-radius:0; overflow:visible; }
.gallery-redesign .ba-slider > picture { grid-row:2; border-radius:9px; overflow:hidden; }
.gallery-redesign .ba-slider .ba-after-wrap { grid-row:2; border-radius:9px; overflow:hidden; }
.gallery-redesign .ba-slider .ba-label,.gallery-redesign .ba-mobile-pair .ba-mobile-label { position:static; display:block; width:100%; padding:2px 0 11px; margin:0; border:0; border-radius:0; background:transparent; color:#637584; text-align:left; font-size:10px; font-weight:600; line-height:1.4; letter-spacing:.1em; }
.gallery-redesign .ba-slider .ba-label-before { grid-column:1; grid-row:1; }
.gallery-redesign .ba-slider .ba-label-after { grid-column:2; grid-row:1; color:#cb338f; }
.gallery-photo-open { border-radius:16px; }
@media(max-width:768px) {
 .gallery-redesign .ba-slider { display:none; }
 .gallery-redesign .ba-mobile-pair { grid-template-columns:1fr; gap:18px; background:transparent; border-radius:0; overflow:visible; }
 .gallery-redesign .ba-mobile-pair .ba-mobile-img { display:flex; flex-direction:column; align-items:stretch; aspect-ratio:auto; background:transparent; overflow:visible; }
 .gallery-redesign .ba-mobile-pair picture { order:2; height:auto; border-radius:9px; overflow:hidden; background:#f0f0ee; }
 .gallery-redesign .ba-mobile-pair img { display:block; width:100%; height:auto; aspect-ratio:4/3; object-fit:contain; }
 .gallery-redesign .ba-mobile-pair .ba-mobile-label { order:1; padding-bottom:9px; font-size:10px; }
 .gallery-redesign .ba-mobile-pair .ba-mobile-label-after { color:#cb338f; }
}
@media(max-width:639px) { .gallery-grid { grid-template-columns:1fr; gap:26px; } .gallery-redesign .gallery-card { padding:13px; border-radius:15px; } }

/* Quiet, light consultation panel; original wording and contact links retained. */
.gallery-redesign #gallery { padding-bottom:34px; }
.gallery-redesign .gallery-disclaimer { padding:16px 0 0; border:0; border-top:1px solid #e7ecef; border-radius:0; background:transparent; color:#788691; font-size:11px; line-height:1.8; }
.gallery-redesign .gallery-disclaimer .font-semibold { color:#536b7d; font-size:11px; }
.gallery-redesign #cta { padding:0 24px 48px; background:#fff; }
.gallery-redesign #cta > .container { width:100%; max-width:1200px; margin:auto; padding:0!important; }
.gallery-redesign #cta .max-w-4xl { display:grid; grid-template-columns:1.2fr 1fr; gap:0 60px; max-width:none; margin:0; padding:34px 38px; border:1px solid #e3eaf0; border-radius:14px; background:#f7f9fc; text-align:left; }
.gallery-redesign #cta h2 { grid-column:1; grid-row:1; margin:0 0 16px; color:#001f3f; font-size:29px; font-weight:600; line-height:1.3; letter-spacing:-.035em; }
.gallery-redesign #cta h2 .text-gold-gradient { background:none; color:#c53692; -webkit-text-fill-color:currentColor; }
.gallery-redesign #cta .max-w-4xl > p { grid-column:1; max-width:none; margin:0 0 12px; color:#6f7f8c; font-size:12px; line-height:1.8; text-align:left; }
.gallery-redesign #cta .max-w-4xl > p br { display:none; }
.gallery-redesign #cta .max-w-4xl > p.text-white\/40 { margin-bottom:0; color:#7e8b95; font-size:11px; }
.gallery-redesign #cta .max-w-4xl > p.max-w-2xl { grid-column:2; grid-row:1 / 3; align-self:start; margin:6px 0 16px; color:#667b8b; font-size:13px; }
.gallery-redesign #cta .max-w-4xl > .flex { grid-column:2; grid-row:3; justify-content:flex-start; align-items:start; margin:0; }
.gallery-redesign #cta a { min-height:48px; padding:13px 22px; border-radius:7px; background:#001f3f; color:#fff; font-size:13px; font-weight:600; line-height:1.5; box-shadow:none; transform:none; }
.gallery-redesign #cta a:hover { background:#153b60; box-shadow:none; transform:none; }
.gallery-redesign #cta .max-w-4xl > .border-t { display:none; }
.gallery-redesign #cta .max-w-4xl > .grid { grid-column:1 / -1; grid-row:4; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; width:100%; max-width:none; margin:26px 0 0; padding:22px 0 0; border-top:1px solid #dfe6ec; }
.gallery-redesign #cta .grid > .text-center { text-align:left; }
.gallery-redesign #cta .grid p:first-child { margin:0 0 6px; color:#81909c; font-size:9px; font-weight:500; line-height:1.5; letter-spacing:.07em; }
.gallery-redesign #cta .grid p:last-child { margin:0; color:#29475e; font-size:13px; font-weight:500; line-height:1.5; }
@media(max-width:768px) {
 .gallery-redesign #cta .max-w-4xl { grid-template-columns:1fr; padding:26px; }
 .gallery-redesign #cta h2 { font-size:27px; }
 .gallery-redesign #cta .max-w-4xl > p { grid-column:1; grid-row:auto; }
 .gallery-redesign #cta .max-w-4xl > p.max-w-2xl { grid-column:1; grid-row:auto; margin:18px 0 16px; }
 .gallery-redesign #cta .max-w-4xl > .flex { grid-column:1; grid-row:auto; }
 .gallery-redesign #cta .max-w-4xl > .grid { grid-row:auto; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px 12px; margin-top:24px; }
}
@media(max-width:639px) { .gallery-redesign #cta { padding:0 20px 36px; } .gallery-redesign #cta .max-w-4xl { padding:22px; border-radius:12px; } .gallery-redesign #cta h2 { font-size:25px; } .gallery-redesign #cta a { width:100%; } }

/* Image-focused comparison viewer, matching the gallery rather than a large card. */
.gallery-dialog { width:min(1240px,calc(100% - 56px)); max-height:calc(100dvh - 40px); border-radius:10px; box-shadow:0 20px 90px #0004; }
.gallery-dialog::backdrop { background:#101923d9; backdrop-filter:blur(3px); }
.gallery-dialog-header { align-items:center; padding:14px 20px; border-bottom:1px solid #edf0f3; }
.gallery-dialog-header p { display:none; }
.gallery-dialog-header h2 { color:#243746; font-size:16px; font-weight:500; letter-spacing:-.015em; }
.gallery-dialog-close { width:40px; height:40px; border:0; border-radius:6px; background:#f3f5f7; color:#6c7883; font-size:26px; line-height:1; }
.gallery-dialog-close:hover { color:#d82b97; background:#fff0f8; }
.gallery-redesign .gallery-dialog button:focus-visible { outline:2px solid #f338ae; outline-offset:3px; }
.gallery-dialog-images { gap:2px; padding:18px 20px; }
.gallery-dialog-images figure { display:flex; flex-direction:column; min-width:0; overflow:hidden; border:0; border-radius:0; background:#f3f4f5; }
.gallery-dialog-images figcaption { order:-1; padding:0 0 11px; border:0; background:#fff; color:#657784; text-align:left; font-size:10px; font-weight:600; line-height:1.5; letter-spacing:.1em; }
.gallery-dialog-images figure:last-child figcaption { color:#d82b97; padding-left:18px; }
.gallery-dialog-images picture { display:flex; flex:1; align-items:center; }
.gallery-dialog-images img { width:100%; height:auto; max-height:64dvh; aspect-ratio:4/3; object-fit:contain; }
.gallery-dialog-footer { padding:10px 20px; border-top:1px solid #edf0f3; }
.gallery-dialog-footer button { min-height:40px; padding:0 16px; border:1px solid #e3e8ec; border-radius:4px; color:#526879; font-size:11px; }
.gallery-dialog-footer button:hover:not(:disabled) { border-color:#f338ae; color:#d82b97; background:#fff5fb; }
.gallery-dialog-counter { color:#8c98a1; font-size:10px; letter-spacing:.1em; }
@media(max-width:639px) {
 .gallery-dialog { width:calc(100% - 16px); max-height:calc(100dvh - 16px); border-radius:8px; }
 .gallery-dialog-header { padding:10px 12px; gap:10px; }
 .gallery-dialog-header h2 { font-size:14px; line-height:1.4; }
 .gallery-dialog-close { width:38px; height:38px; }
 .gallery-dialog-images { grid-template-columns:1fr; gap:16px; padding:14px 12px; }
 .gallery-dialog-images img { height:auto; max-height:29dvh; }
 .gallery-dialog-images figure:last-child figcaption { padding-left:0; }
 .gallery-dialog-images figcaption { padding-bottom:7px; font-size:9px; }
 .gallery-dialog-footer { padding:9px 12px; }
 .gallery-dialog-footer button { padding:0 10px; font-size:10px; }
}

/* Smooth navigation and a full-screen, distraction-free photo lightbox. */
.gallery-grid { align-content:start; overflow-anchor:none; }
.gallery-area-button,.gallery-page { transition:background-color .22s ease,color .22s ease,border-color .22s ease; }
.gallery-dialog { width:100vw; max-width:none; height:100dvh; max-height:none; margin:0; border:0; border-radius:0; background:#10151b; box-shadow:none; overflow:hidden; }
.gallery-dialog[open] { display:flex; flex-direction:column; }
.gallery-dialog::backdrop { background:#10151b; backdrop-filter:none; }
.gallery-dialog-header { position:relative; flex:none; min-height:64px; padding:18px 76px; border:0; background:transparent; }
.gallery-dialog-header > div { flex:1; }
.gallery-dialog-header h2 { color:#d9e1e6; font-size:14px; font-weight:400; text-align:center; letter-spacing:0; }
.gallery-dialog-close { position:absolute; right:20px; top:10px; width:44px; height:44px; border:0; border-radius:0; background:transparent; color:#fff; font-size:30px; }
.gallery-dialog-close:hover { color:#f338ae; background:transparent; }
.gallery-dialog-images { flex:1; min-height:0; grid-template-columns:1fr 1fr; gap:24px; padding:8px 68px; overflow:auto; }
.gallery-dialog-images figure { min-height:0; background:transparent; }
.gallery-dialog-images figcaption { padding:0 0 12px; background:transparent; color:#aebcc7; font-size:10px; }
.gallery-dialog-images figure:last-child figcaption { padding-left:0; color:#f582c9; }
.gallery-dialog-images picture { min-height:0; }
.gallery-dialog-images img { width:100%; height:100%; max-height:calc(100dvh - 174px); aspect-ratio:auto; object-fit:contain; }
.gallery-dialog-footer { flex:none; padding:12px 68px 20px; border:0; background:transparent; }
.gallery-dialog-footer button { min-width:100px; height:40px; border-color:#ffffff30; border-radius:0; background:transparent; color:#d2dce3; }
.gallery-dialog-footer button:hover:not(:disabled) { border-color:#f338ae; background:#ffffff08; color:#fff; }
.gallery-dialog-counter { color:#8395a4; }
@media(max-width:639px) {
 .gallery-dialog { width:100vw; max-height:none; border-radius:0; }
 .gallery-dialog-header { min-height:56px; padding:16px 56px; }
 .gallery-dialog-header h2 { font-size:12px; }
 .gallery-dialog-close { right:8px; top:6px; }
 .gallery-dialog-images { grid-template-columns:1fr; grid-template-rows:repeat(2,minmax(0,1fr)); gap:16px; padding:4px 16px; }
 .gallery-dialog-images img { height:100%; max-height:calc((100dvh - 180px) / 2); }
 .gallery-dialog-images figcaption { padding-bottom:6px; font-size:9px; }
 .gallery-dialog-footer { padding:12px 16px 18px; }
 .gallery-dialog-footer button { min-width:84px; font-size:10px; }
}
@media(prefers-reduced-motion:reduce) { .gallery-area-button,.gallery-page { transition:none; } }

/* Keep the photo viewer contained, with the page visible around it. */
.gallery-dialog { width:min(1080px,calc(100% - 64px)); max-width:1080px; height:auto; max-height:88dvh; margin:auto; border-radius:12px; overflow:auto; }
.gallery-dialog::backdrop { background:#101923b8; backdrop-filter:blur(3px); }
.gallery-dialog-header { min-height:52px; padding:14px 60px; }
.gallery-dialog-header h2 { font-size:13px; }
.gallery-dialog-close { top:5px; right:10px; }
.gallery-dialog-images { flex:0 1 auto; grid-template-rows:auto; padding:8px 24px 12px; gap:18px; overflow:visible; }
.gallery-dialog-images picture { flex:initial; }
.gallery-dialog-images img { height:auto; max-height:55dvh; aspect-ratio:auto; }
.gallery-dialog-footer { padding:10px 24px 16px; }
@media(max-width:639px) {
 .gallery-dialog { width:calc(100% - 24px); height:auto; max-height:88dvh; margin:auto; border-radius:10px; }
 .gallery-dialog-header { min-height:48px; padding:13px 50px; }
 .gallery-dialog-header h2 { font-size:12px; }
 .gallery-dialog-close { right:4px; top:2px; }
 .gallery-dialog-images { grid-template-rows:auto auto; gap:12px; padding:4px 14px 10px; }
 .gallery-dialog-images img { height:auto; max-height:27dvh; }
 .gallery-dialog-footer { padding:8px 14px 12px; }
}

/* Size the popup to its content instead of stretching between modal insets. */
.gallery-dialog,.gallery-dialog[open] { height:fit-content; min-height:0; max-height:88dvh; }
.gallery-dialog[open] { display:block; }
.gallery-dialog-images { align-items:start; }

/* Readability update (2026-11-13): small gallery text +3px, matching the 13px tab menu. */
.gallery-redesign .gallery-hero .container > p:first-child { font-size:13px; }
.gallery-redesign .gallery-hero .container > div > span { font-size:13px; }
.gallery-redesign .gallery-hero-stat span { font-size:13px; }
.gallery-redesign .gallery-card .ba-label,
.gallery-redesign .gallery-card .ba-mobile-label { font-size:13px; }
.gallery-redesign .gallery-card .p-4 .text-xs { font-size:13px; }
.gallery-redesign .gallery-pagination .gallery-page,
.gallery-redesign .gallery-pagination .gallery-page-gap { font-size:13px; }
.gallery-redesign .gallery-disclaimer,
.gallery-redesign .gallery-disclaimer p,
.gallery-redesign .gallery-disclaimer .font-semibold { font-size:13px; }
.gallery-redesign #gallery-dialog-kicker { font-size:12px; }
.gallery-redesign #gallery-dialog-title { font-size:16px; }
.gallery-redesign .gallery-dialog-images figcaption,
.gallery-redesign .gallery-dialog-counter,
.gallery-redesign .gallery-dialog [data-case-step] { font-size:13px; }
@media(max-width:639px) {
 .gallery-redesign .gallery-pagination .gallery-page { min-width:30px; padding:0 7px; }
 .gallery-redesign .gallery-pagination .gallery-page-edge { min-width:0; padding:0 6px; }
}
