/* Matt O'Driscoll · Gallery — Orbital Pro Edition.
   Isolated to .gallery-page: the approved shared styling is unchanged. */
.gallery-page{position:relative;isolation:isolate}
.gallery-hero{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);align-items:center;gap:clamp(22px,3.7vw,65px);padding:60px 12px 85px;min-height:620px}
.gallery-hero-copy{position:relative;z-index:2}
.gallery-kicker,.gallery-section-id{display:flex;align-items:center;gap:13px;margin:0 0 22px;color:#83cfee;font-weight:800;letter-spacing:.23em;font-size:11px;text-transform:uppercase}
.gallery-spark{height:8px;width:34px;background:linear-gradient(105deg,#47d4ff 0 38%,transparent 38% 47%,#48ceff 47% 67%,transparent 67% 75%,#92f6ff 75%);transform:skew(-22deg);filter:drop-shadow(0 0 10px #39cbff)}
.gallery-hero h1{font-size:clamp(76px,9vw,136px);font-weight:850;line-height:.92;letter-spacing:-.085em;margin:0;white-space:nowrap}
.gallery-hero h1 span{background:linear-gradient(105deg,#f6fcff,#76eaff 40%,#20bfff);-webkit-background-clip:text;background-clip:text;color:transparent}
.gallery-rule{height:3px;width:130px;margin:30px 0;background:linear-gradient(90deg,#8aedff,#0c91ed 45%,transparent);box-shadow:0 0 18px rgba(62,208,255,.6)}
.gallery-lead{color:#f3faff;font-weight:600;line-height:1.4;font-size:clamp(18px,2vw,27px);max-width:590px;margin:0 0 15px;letter-spacing:-.035em}
.gallery-intro{color:#a6bed1;font-size:15px;line-height:1.8;max-width:520px;margin:0}
.gallery-hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}
.gallery-hero-meta{display:flex;align-items:center;gap:16px;margin-top:35px;font-size:10px;color:#80abc6;letter-spacing:.14em;font-weight:750;flex-wrap:wrap}
.gallery-hero-meta strong{font-weight:800;color:#bff3ff;font-size:13px}
.gallery-meta-dot{display:inline-block;width:7px;height:7px;margin-right:5px;border-radius:50%;background:#6eead9;box-shadow:0 0 13px #5dd6d3}
.gallery-meta-divider{width:1px;height:17px;background:rgba(95,198,255,.28)}
.gallery-portrait{height:540px;min-width:0;position:relative;display:grid;place-items:center;isolation:isolate}
.gallery-portrait:before{content:"";position:absolute;width:min(100%,530px);aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,rgba(21,107,199,.24),rgba(15,66,135,.08) 48%,transparent 75%);filter:blur(28px)}
.gallery-orbit{position:absolute;width:430px;aspect-ratio:1;border:1px solid rgba(72,192,248,.21);border-radius:50%;pointer-events:none}
.gallery-orbit.orbit-one{width:min(85%,460px);border:1px dashed rgba(87,211,255,.31);transform:rotate(17deg);animation:gallery-rotate 36s linear infinite}
.gallery-orbit.orbit-two{width:min(95%,515px);border:1px solid rgba(85,201,249,.21);transform:rotate(-23deg);animation:gallery-rotate-reverse 42s linear infinite}
.gallery-orbit.orbit-three{width:min(75%,398px);border:2px solid transparent;border-top-color:#6ae5ff;border-bottom-color:#007ac6;box-shadow:0 0 26px rgba(31,144,235,.18);animation:gallery-rotate 24s linear infinite}
.gallery-orbit-dot{position:absolute;z-index:3;width:10px;height:10px;border-radius:50%;background:#8decff;box-shadow:0 0 19px 5px rgba(91,224,255,.65)}
.gallery-orbit-dot.dot-a{right:8%;top:17%}.gallery-orbit-dot.dot-b{left:9%;bottom:24%;width:6px;height:6px}
.gallery-photo-figure{position:relative;z-index:2;margin:0;width:min(67%,325px);aspect-ratio:1;border-radius:50%;padding:7px;border:2px solid #57d7ff;box-shadow:0 0 0 8px rgba(18,90,151,.12),0 0 42px rgba(7,150,255,.35);background:#06162b}
.gallery-photo-figure:before{content:"";position:absolute;inset:-15px;z-index:-1;border-radius:50%;border:1px solid rgba(128,225,255,.2)}
.gallery-photo-figure img{width:100%;height:100%;border-radius:50%;object-fit:cover;object-position:50% 40%;border:2px solid rgba(79,183,232,.23)}
.gallery-photo-figure figcaption{position:absolute;bottom:-27px;left:50%;transform:translateX(-50%);white-space:nowrap;background:rgba(4,16,34,.9);border:1px solid rgba(113,213,255,.35);padding:10px 15px;border-radius:100px;color:#bad9e8;font-size:9px;letter-spacing:.12em;font-weight:800;box-shadow:0 10px 30px rgba(0,0,0,.45)}
.gallery-photo-figure figcaption span{color:#61e0ff;margin:0 5px}
.gallery-hud-label{position:absolute;z-index:2;font:10px/1.2 'Courier New',monospace;letter-spacing:.2em;color:#638da9}.gallery-hud-label.hud-one{top:9%;left:8%}.gallery-hud-label.hud-two{bottom:7%;right:6%}
.gallery-collection{padding:25px 0 85px;scroll-margin-top:110px}
.gallery-collection-heading{display:flex;justify-content:space-between;align-items:end;gap:35px;padding-bottom:32px;border-bottom:1px solid rgba(100,187,239,.2)}
.gallery-section-id{margin-bottom:14px;font-size:10px}
.gallery-collection h2,.gallery-bottom h2{font-size:clamp(46px,5vw,75px);line-height:1.02;letter-spacing:-.067em;margin:0;font-weight:820}
.gallery-collection h2 span,.gallery-bottom h2 span{color:#62dcff}
.gallery-collection-note{max-width:270px;text-align:right;color:#849fb7;font-size:13px;line-height:1.7;margin:0}
.gallery-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:25px 0}
.gallery-total{display:flex;align-items:center;gap:7px;font-size:12px;color:#a5c4d9}.gallery-total strong{color:#f5fbff;font-size:19px}.gallery-status-indicator{width:7px;height:7px;background:#62e7d4;border-radius:50%;margin-right:5px;box-shadow:0 0 12px #4be7d4}
.gallery-sort-controls{display:flex;gap:5px;padding:4px;border:1px solid rgba(111,207,255,.19);border-radius:12px;background:rgba(6,20,39,.74)}
.gallery-sort{appearance:none;border:0;border-radius:9px;background:transparent;color:#91acc3;font-size:12px;padding:10px 14px;cursor:pointer;transition:background .2s,color .2s}.gallery-sort:hover{color:#fff}.gallery-sort.is-selected{color:#e9fbff;background:rgba(29,138,197,.21);box-shadow:inset 0 0 0 1px rgba(101,210,255,.25)}
.gallery-loading{min-height:220px;display:flex;align-items:center;justify-content:center;gap:15px;font-size:13px;letter-spacing:.07em;color:#9ebfd2}
.loading-orbit{width:23px;height:23px;border:2px solid rgba(94,215,255,.17);border-top-color:#6ae8ff;border-radius:50%;animation:gallery-rotate 1.2s linear infinite}
.gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-flow:row dense;gap:16px;padding:5px 0 0}
.gallery-tile{position:relative;display:block;overflow:hidden;border:1px solid rgba(104,193,235,.18);border-radius:18px;aspect-ratio:4/3;background:linear-gradient(130deg,#081e35,#050c19);padding:0;text-align:left;cursor:zoom-in;box-shadow:0 12px 40px rgba(0,0,0,.12);transition:transform .27s,border-color .27s,box-shadow .27s}
.gallery-tile:nth-child(7n+1){grid-column:span 2;aspect-ratio:1.65/1}
.gallery-tile:nth-child(7n+5){aspect-ratio:3/4}
.gallery-tile img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .5s ease;pointer-events:none}
.gallery-tile:hover{transform:translateY(-3px);border-color:rgba(103,221,255,.6);box-shadow:0 20px 50px rgba(0,0,0,.3),0 0 30px rgba(10,133,233,.11)}
.gallery-tile:hover img{transform:scale(1.045)}
.gallery-tile:after{content:"";position:absolute;inset:42% 0 0;background:linear-gradient(transparent,rgba(1,8,18,.72));pointer-events:none}
.gallery-tile-bar{position:absolute;z-index:2;bottom:0;left:0;right:0;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:17px 20px;color:#f0fbff;letter-spacing:.09em;font-size:11px;font-weight:760;text-shadow:0 2px 8px rgba(0,0,0,.65)}
.gallery-tile-expander{display:grid;place-items:center;width:31px;height:31px;border-radius:50%;border:1px solid rgba(199,238,255,.42);background:rgba(1,16,31,.56);font-size:19px}
.gallery-empty{position:relative;overflow:hidden;text-align:center;min-height:420px;padding:56px 20px 60px;border:1px solid rgba(88,176,227,.23);border-radius:25px;background:radial-gradient(circle at 50% 34%,rgba(22,97,161,.16),transparent 45%),linear-gradient(155deg,rgba(7,26,49,.85),rgba(5,17,32,.76))}
.gallery-empty:before{content:"";position:absolute;inset:17px;pointer-events:none;border:1px solid rgba(115,203,255,.065);border-radius:20px}
.empty-orbital{position:relative;margin:0 auto 14px;width:124px;height:124px;display:grid;place-items:center}
.empty-orbital:before{content:"";position:absolute;inset:11px;border:1px solid rgba(91,210,255,.35);border-radius:50%;box-shadow:0 0 25px rgba(22,149,253,.12)}
.empty-orbit-ring{position:absolute;inset:0;border:1px dashed rgba(83,195,250,.25);border-radius:50%;animation:gallery-rotate 32s linear infinite}
.empty-orbital svg{width:58px;height:58px;fill:none;stroke:#85e5ff;stroke-width:1.5;stroke-linejoin:round;filter:drop-shadow(0 0 12px rgba(90,209,255,.3))}
.empty-orbit-node{position:absolute;width:8px;height:8px;top:12px;right:22px;border-radius:50%;background:#87eaff;box-shadow:0 0 12px #6ad6ff}
.gallery-empty-kicker{font:700 10px/1.6 'Courier New',monospace;letter-spacing:.2em;color:#68cdef;margin:0 0 10px}
.gallery-empty h3{font-size:clamp(30px,4vw,45px);letter-spacing:-.055em;margin:0 0 13px}.gallery-empty p:not(.gallery-empty-kicker){max-width:425px;margin:0 auto 23px;line-height:1.75;color:#98b3c9;font-size:14px}
.gallery-bottom{position:relative;display:flex;align-items:center;justify-content:space-between;gap:34px;min-height:200px;padding:42px 45px;margin:0 0 25px;overflow:hidden;border:1px solid rgba(94,194,255,.27);border-radius:24px;background:linear-gradient(120deg,rgba(7,37,68,.9),rgba(3,17,34,.85))}
.gallery-bottom>div:not(.gallery-bottom-art){position:relative;z-index:2}.gallery-bottom p:not(.gallery-section-id){font-size:14px;color:#a6bfd0;max-width:470px;line-height:1.7;margin:14px 0 0}.gallery-bottom>.btn{position:relative;z-index:2;flex-shrink:0}
.gallery-bottom-art{position:absolute;right:18%;top:50%;transform:translateY(-50%);width:220px;height:220px;opacity:.25}.gallery-bottom-art span{position:absolute;inset:0;border:1px solid #6ccfff;border-radius:50%}.gallery-bottom-art span:nth-child(2){inset:20px;border-style:dashed}.gallery-bottom-art span:nth-child(3){inset:48px;border-width:2px}
.gallery-lightbox{position:fixed;inset:0;margin:auto;width:100vw;height:100dvh;max-width:none;max-height:none;border:0;padding:0;background:rgba(3,9,21,.98);color:var(--ink);overflow:hidden}
.gallery-lightbox::backdrop{background:rgba(0,0,0,.9)}
.gallery-lightbox-top{position:absolute;z-index:3;top:0;left:0;right:0;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 28px;background:linear-gradient(rgba(3,9,21,.84),transparent);color:#b7d7ed;font-size:12px;font-weight:800;letter-spacing:.16em}
.gallery-lightbox-actions{display:flex;align-items:center;gap:14px}.gallery-open-original{font-size:11px;letter-spacing:.03em;color:#a2cfe3;border-bottom:1px solid rgba(103,215,255,.4);padding-bottom:4px}
.gallery-close,.gallery-lightbox-nav{display:grid;place-items:center;color:#dcf7ff;cursor:pointer;background:rgba(6,32,57,.85);border:1px solid rgba(108,212,255,.35);border-radius:13px;width:43px;height:43px}.gallery-close svg,.gallery-lightbox-nav svg{width:20px;height:20px;stroke:currentColor;stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round}
.gallery-lightbox-content{height:100%;display:grid;grid-template-columns:66px minmax(0,1fr) 66px;align-items:center;gap:14px;padding:77px 23px 54px}
.gallery-lightbox-nav{margin:auto}.gallery-lightbox-nav[disabled]{opacity:.2;cursor:not-allowed}
.gallery-lightbox-figure{min-width:0;min-height:0;width:100%;height:100%;margin:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px}
.gallery-lightbox-figure img{min-height:0;max-width:100%;max-height:calc(100% - 25px);width:auto;height:auto;object-fit:contain;box-shadow:0 15px 60px rgba(0,0,0,.35)}
.gallery-lightbox-figure figcaption{color:#8ba9c0;font-size:12px;letter-spacing:.08em}
.gallery-lightbox-hint{position:absolute;bottom:15px;left:0;right:0;text-align:center;margin:0;font-size:11px;color:#789bb2;letter-spacing:.04em}
@keyframes gallery-rotate{from{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes gallery-rotate-reverse{from{transform:rotate(0)}to{transform:rotate(-360deg)}}
@media(max-width:1050px){.gallery-hero{gap:20px;padding-top:35px}.gallery-portrait{height:440px}.gallery-hero h1{font-size:clamp(60px,8vw,95px)}.gallery-photo-figure{width:min(70%,280px)}.gallery-grid{gap:12px}}
@media(max-width:860px){.gallery-hero{grid-template-columns:1fr;min-height:0;padding:55px 0 30px}.gallery-hero-copy{text-align:center}.gallery-kicker,.gallery-hero-actions,.gallery-hero-meta{justify-content:center}.gallery-rule{margin:25px auto}.gallery-intro,.gallery-lead{margin-inline:auto}.gallery-portrait{height:405px;max-width:510px;width:100%;margin-inline:auto}.gallery-photo-figure{width:min(65%,285px)}.gallery-collection-heading{align-items:start}.gallery-bottom{padding:32px}}
@media(max-width:620px){.gallery-hero{padding-top:40px;gap:5px}.gallery-hero h1{font-size:clamp(54px,13vw,80px)}.gallery-kicker{font-size:9px;letter-spacing:.13em;gap:9px}.gallery-intro{font-size:14px}.gallery-lead{font-size:20px}.gallery-hero-meta{margin-top:25px}.gallery-portrait{height:330px}.gallery-hud-label{font-size:8px}.gallery-collection{padding:20px 0 53px}.gallery-collection-heading{display:block}.gallery-collection h2,.gallery-bottom h2{font-size:clamp(38px,9vw,53px)}.gallery-collection-note{max-width:none;text-align:left;margin:17px 0 0}.gallery-toolbar{padding:18px 0}.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.gallery-tile,.gallery-tile:nth-child(7n+5){aspect-ratio:3/4}.gallery-tile:nth-child(7n+1){grid-column:span 2;aspect-ratio:1.3}.gallery-tile-bar{font-size:10px;padding:12px}.gallery-tile-expander{width:26px;height:26px}.gallery-empty{min-height:390px;padding:50px 17px}.gallery-bottom{display:block;text-align:left;padding:30px 23px}.gallery-bottom>.btn{margin-top:25px}.gallery-lightbox-top{padding:12px 14px}.gallery-lightbox-content{grid-template-columns:36px minmax(0,1fr) 36px;gap:4px;padding:70px 5px 47px}.gallery-lightbox-nav{width:33px;height:42px;border-radius:9px}.gallery-lightbox-nav svg{width:16px;height:16px}.gallery-lightbox-hint{font-size:9px}.gallery-open-original{font-size:10px}}
@media(max-width:365px){.gallery-hero h1{font-size:50px}.gallery-sort{font-size:10px;padding:9px}.gallery-toolbar{gap:12px}.gallery-hero-actions{gap:8px}}
@media(prefers-reduced-motion:reduce){.gallery-orbit,.empty-orbit-ring,.loading-orbit{animation:none}.gallery-tile,.gallery-tile img{transition:none}}
