/* Shared lightbox foundation, including home and collection pages. */
.tl-photo-lightbox{position:fixed;inset:0;max-width:none;max-height:none;width:100vw;height:100dvh;margin:0;padding:64px 72px;background:rgba(16,16,16,.98);color:#f5f5f2;border:0;z-index:999999}.tl-photo-lightbox::backdrop{background:#101010}.tl-photo-lightbox[open]{display:flex;align-items:center;justify-content:center}.tl-photo-lightbox img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}.tl-photo-lightbox button{position:absolute;display:grid;place-items:center;min-width:44px;min-height:44px;padding:0;border:1px solid #777;border-radius:999px;background:#202020!important;color:#f5f5f2!important;font:24px/1 'Fira Sans',sans-serif;transform:none!important}.tl-photo-lightbox button::before{display:none!important}.tl-photo-lightbox .tl-photo-close{top:16px;right:24px}.tl-photo-prev{left:16px;top:50%}.tl-photo-next{right:16px;top:50%}.tl-photo-lightbox button:focus-visible{outline:2px solid white;outline-offset:4px}.tl-photo-lightbox-count{position:absolute;bottom:16px;left:50%;transform:translateX(-50%);font:12px/1.4 'Fira Mono',monospace}

.tl-photo-tools-anchor{height:64px;margin-top:16px;align-self:flex-start}
.tl-photo-views{display:inline-flex;align-items:center;padding:5px;border:1px solid color-mix(in srgb,var(--home-fg) 24%,transparent);border-radius:14px;gap:4px;max-width:100%;background:var(--home-bg);color:var(--home-fg);box-shadow:0 4px 18px #0001}
.tl-photo-views button{display:flex!important;align-items:center;gap:8px;font:11px/1.4 'Fira Mono',monospace!important;letter-spacing:0!important;text-transform:none!important;border:0!important;border-radius:9px!important;min-height:44px;padding:10px 12px!important;background:transparent!important;color:inherit!important;cursor:pointer;transform:none!important;box-shadow:none!important}
.tl-photo-views button:before{display:none!important}.tl-photo-views button[aria-pressed=true]{background:var(--home-fg)!important;color:var(--home-bg)!important}.tl-photo-views button:hover:not([aria-pressed=true]){background:color-mix(in srgb,var(--home-fg) 10%,transparent)!important}.tl-photo-views button:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.tl-view-icon{display:grid;grid-template-columns:repeat(3,1fr);gap:2px;width:18px;height:18px;flex:none}.tl-view-icon i{display:block;background:currentColor;border-radius:1px}.tl-view-icon-medium{grid-template-columns:repeat(2,1fr)}.tl-view-icon-large{grid-template-columns:1fr}
.tl-photo-views.is-floating{position:fixed!important;left:50%;bottom:max(24px,env(safe-area-inset-bottom));transform:translateX(-50%);z-index:9990;margin:0!important;box-shadow:0 8px 30px #0005}
@media(max-width:767px){.tl-photo-views button{padding:10px!important;gap:7px}.tl-photo-views.is-floating{bottom:max(22px,env(safe-area-inset-bottom))}}
/* Icon-only pill: labels remain available to assistive technology. */
.tl-photo-views{border-radius:999px;padding:5px;gap:4px}
.tl-photo-views button{border-radius:999px!important;width:46px;height:46px;padding:0!important;justify-content:center;gap:0}
body.page-id-938 .elementor-938>[data-id="2f06f8b7"]{background:transparent!important;position:relative;z-index:3}
body.page-id-938 [data-id="4d834cde"]{position:relative;isolation:isolate;color:#f5f5f2!important;--home-bg:#101010;--home-fg:#f5f5f2}
body.page-id-938 [data-id="4d834cde"]:before{content:"";position:absolute;top:-200px;bottom:0;left:50%;width:100vw;transform:translateX(-50%);z-index:-1;pointer-events:none;background:linear-gradient(90deg,rgba(8,8,12,.78),rgba(8,8,12,.35) 65%,rgba(8,8,12,.25)),url('https://tailueckerath.com/wp-content/uploads/2026/11/tl-photo-zen-dsc-8437.jpg') center 40%/cover no-repeat}
body.page-id-938 [data-id="4d834cde"] p,body.page-id-938 [data-id="4d834cde"] h1{color:#f5f5f2!important}
.tl-photo-views.is-floating{--home-bg:#101010;--home-fg:#f5f5f2}
@media(max-width:767px){.tl-photo-views button{width:44px;height:44px;padding:0!important}body.page-id-938 [data-id="4d834cde"]:before{background-position:center,60% center}}
/* Elementor supplies height:100% on pseudo-elements; allow the full-bleed layer to span its negative top inset too. */
body.page-id-938 [data-id="4d834cde"]:before{height:auto!important;bottom:0!important;background-image:linear-gradient(0deg,#101010 0%,rgba(16,16,16,0) 30%),linear-gradient(90deg,rgba(8,8,12,.78),rgba(8,8,12,.35) 65%,rgba(8,8,12,.25)),url('https://tailueckerath.com/wp-content/uploads/2026/11/tl-photo-zen-dsc-8437.jpg');background-size:cover;background-position:center,center,center 40%;background-repeat:no-repeat}
/* Show the photographer's original grade without tint, dimming or a fade. */
body.page-id-938 [data-id="4d834cde"]:before{background-image:url('https://tailueckerath.com/wp-content/uploads/2026/11/tl-photo-zen-dsc-8437.jpg')!important;background-position:center 40%;opacity:1!important;filter:none!important}
/* Gallery controls share the fixed corner-tool vocabulary. */
.tl-photo-corner-tools{position:fixed!important;left:24px;bottom:max(24px,env(safe-area-inset-bottom));z-index:9990;display:flex;flex-direction:column;align-items:flex-start;gap:10px;--home-bg:#101010;--home-fg:#f5f5f2;color:#f5f5f2;max-width:calc(100vw - 48px)}
.tl-photo-corner-tools[hidden]{display:none!important}
.tl-photo-corner-tools [data-id="1b1fec27"]{margin:0!important;padding:0!important;gap:6px!important;width:auto!important;flex-wrap:nowrap!important}
.tl-photo-corner-tools [data-id="1b1fec27"] button{font:12px/1.4 'Fira Mono',monospace!important;min-height:44px!important;padding:10px 15px!important;border:1px solid #ffffff40!important;border-radius:999px!important;background:rgba(40,40,40,.65)!important;color:#f5f5f2!important;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
.tl-photo-corner-tools [data-id="1b1fec27"] button[aria-pressed=true]{background:#f5f5f2!important;color:#101010!important;border-color:#f5f5f2!important}
.tl-photo-corner-tools .tl-photo-views{margin:0!important;background:rgba(40,40,40,.65)!important;border-color:#ffffff40!important;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);box-shadow:inset 0 1px 0 #ffffff18}
body.page-id-938 [data-id="4d834cde"]{min-height:calc(100svh - 172px)}
body.page-id-938 [data-id="306f4d26"]{padding-bottom:160px}
@media(max-width:767px){.tl-photo-corner-tools{left:24px;bottom:max(24px,env(safe-area-inset-bottom));gap:8px}.tl-photo-corner-tools [data-id="1b1fec27"] button{font-size:11px!important;padding:10px 12px!important}body.page-id-938 [data-id="4d834cde"]{min-height:calc(100svh - 136px)}}

/* Pick one dark original per visit before the cover is painted. */
body.page-id-938 [data-id="4d834cde"]:before{background-image:var(--tl-photo-cover,url('https://tailueckerath.com/wp-content/uploads/2026/11/tl-photo-zen-dsc-8437.jpg'))!important;background-position:var(--tl-photo-cover-position,center 40%)!important}

/* The same view setting controls both the cover and the picture grid. */
html[data-photo-view="small"] body.page-id-938 [data-id="4d834cde"]{min-height:0!important;padding-top:24px!important;padding-bottom:32px!important}
html[data-photo-view="small"] body.page-id-938 [data-id="4d834cde"] h1{font-size:clamp(64px,8vw,112px)!important;line-height:.95!important;margin-bottom:16px!important}
html[data-photo-view="small"] body.page-id-938 [data-id="4d834cde"] p{font-size:20px!important;margin-bottom:0!important}
html[data-photo-view="medium"] body.page-id-938 [data-id="4d834cde"]{min-height:calc(68svh - 172px)!important;padding-top:48px!important;padding-bottom:48px!important}
@media(max-width:767px){
html[data-photo-view="small"] body.page-id-938 [data-id="4d834cde"]{padding-top:16px!important;padding-bottom:28px!important}
html[data-photo-view="small"] body.page-id-938 [data-id="4d834cde"] h1{font-size:64px!important}
html[data-photo-view="medium"] body.page-id-938 [data-id="4d834cde"]{min-height:calc(68svh - 136px)!important;padding-top:32px!important;padding-bottom:40px!important}
}

/* Start directly with photographs; the page title lives beside the monogram. */
body.page-id-938 [data-id="4d834cde"]{display:none!important}
body.page-id-938 [data-id="1b1fec27"]{display:none!important}
body.page-id-938 [data-interaction-id="3a157398"]{position:relative;overflow:visible!important}
body.page-id-938 .tl-photo-header-title{position:absolute;left:calc(100% + 16px);top:50%;transform:translateY(-50%);margin:0!important;padding:0!important;width:max-content;font:400 16px/1.2 'Fira Mono',monospace!important;text-transform:none!important;letter-spacing:0!important;color:var(--tl-logo-ink,#f5f5f2)!important;white-space:nowrap}
@media(max-width:767px){body.page-id-938 .tl-photo-header-title{left:calc(100% + 8px);font-size:11px!important}}

.tl-view-icon-large{grid-template-columns:1fr;grid-template-rows:repeat(3,1fr);width:20px;height:22px;gap:3px}.tl-view-icon-large i{border-radius:1px}
/* Full-image stream: one square with neighbouring frames peeking in. */
.tl-view-icon-large{width:18px;height:26px;grid-template-rows:3px 18px 3px;gap:1px}
/* Float the shared header over the photographs without reserving a strip. */
body.page-id-938 [data-interaction-id="6af13ec0"]{position:fixed!important;left:0;right:0;width:100%;background:transparent!important}
/* Match the shared corner controls: 60px glass surface, 16px blur, quiet border. */
.tl-photo-corner-tools .tl-photo-views{height:60px;box-sizing:border-box;padding:7px;gap:4px;background:color-mix(in srgb,currentColor 7%,transparent)!important;border:1px solid color-mix(in srgb,currentColor 28%,transparent)!important;box-shadow:none!important;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
.tl-photo-corner-tools .tl-photo-views button{width:44px;height:44px;min-height:44px;flex:none}
.tl-photo-corner-tools .tl-photo-views button:hover:not([aria-pressed=true]){background:color-mix(in srgb,currentColor 7%,transparent)!important}
@media(max-width:767px){.tl-photo-corner-tools .tl-photo-views{height:44px;padding:5px;gap:4px}.tl-photo-corner-tools .tl-photo-views button{width:32px;height:32px;min-height:32px}}
/* Enlarged photographs become an editorial reading view. */
.tl-photo-lightbox.tl-story-lightbox{padding:72px 80px 64px;overflow:auto;background:#101010}
.tl-photo-lightbox.tl-story-lightbox[open]{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(240px,300px);gap:clamp(32px,5vw,80px);align-items:center}
.tl-story-image{margin:0;min-width:0;width:100%;height:calc(100dvh - 136px);display:flex;align-items:center;justify-content:center}
.tl-story-image img{width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;opacity:1;filter:none}
.tl-story-info{min-width:0;text-align:left;max-height:calc(100dvh - 160px);overflow:auto;padding:8px 0}
.tl-story-title{font:400 clamp(26px,3vw,38px)/1.15 'Fira Sans',sans-serif!important;letter-spacing:-.025em;text-transform:none!important;margin:0 0 18px!important;color:#f5f5f2!important}
.tl-story-description{font:400 16px/1.65 'Fira Sans',sans-serif!important;color:#bdbdb9;margin:0 0 36px!important;max-width:32ch}
.tl-story-details{margin:0;padding-top:22px;border-top:1px solid #ffffff25;display:grid;gap:18px}
.tl-story-detail{display:grid;grid-template-columns:1fr;gap:5px}
.tl-story-detail dt{display:flex;align-items:center;gap:9px;color:#92928e;font:11px/1.4 'Fira Mono',monospace}
.tl-story-detail dt svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.25;stroke-linecap:round;stroke-linejoin:round;flex:none}
.tl-story-detail dd{margin:0 0 0 24px;color:#e0e0da;font:12px/1.5 'Fira Mono',monospace}
.tl-story-credit{margin:32px 0 0;font:10px/1.5 'Fira Mono',monospace;color:#92928e}
.tl-story-lightbox .tl-photo-close,.tl-story-lightbox .tl-photo-prev,.tl-story-lightbox .tl-photo-next{width:44px;height:44px;border-color:#ffffff40;background:#ffffff0d!important;backdrop-filter:blur(16px)}
@media(max-width:767px){.tl-photo-lightbox.tl-story-lightbox{padding:64px 24px 100px}.tl-photo-lightbox.tl-story-lightbox[open]{display:flex!important;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:28px}.tl-story-image{height:55svh;min-height:240px;flex:none}.tl-story-info{max-height:none;overflow:visible;padding:0}.tl-story-title{font-size:28px!important}.tl-story-description{margin-bottom:24px!important;max-width:none}.tl-story-details{grid-template-columns:1fr 1fr;gap:18px 12px}.tl-story-lightbox .tl-photo-close{position:fixed;top:12px;right:16px}.tl-story-lightbox .tl-photo-prev,.tl-story-lightbox .tl-photo-next{position:fixed;top:auto;bottom:16px}.tl-story-lightbox .tl-photo-lightbox-count{position:fixed;bottom:28px}.tl-story-credit{margin-top:24px}}
/* Editorial image titles use the shared display face. */
.tl-story-title{font-family:Perfect,'Perfect Condensed',sans-serif!important;font-size:clamp(40px,4vw,56px)!important;font-weight:400!important;line-height:.98!important;letter-spacing:0!important;text-transform:uppercase!important}
@media(max-width:767px){.tl-story-title{font-size:40px!important}}
/* Metadata is expressed by icon and value; keep labels for screen readers. */
.tl-story-detail{grid-template-columns:15px minmax(0,1fr);align-items:center;column-gap:9px}
.tl-story-detail dt span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.tl-story-detail dd{margin:0}

/* Mobile story: uncropped full-width photograph, title in a local bottom fade. */
@media(max-width:767px){
.tl-photo-lightbox.tl-story-lightbox{padding:64px 0 100px}
.tl-photo-lightbox.tl-story-lightbox[open]{gap:24px}
.tl-story-image{position:relative;display:block;width:100%;height:auto;min-height:0;flex:none}
.tl-story-image img{display:block;width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important}
.tl-story-image>.tl-story-title{position:absolute;left:0;bottom:0;width:100%;box-sizing:border-box;margin:0!important;padding:64px 24px 24px!important;background:linear-gradient(180deg,transparent 0%,rgba(0,0,0,.18) 35%,rgba(0,0,0,.66) 100%);font-size:44px!important;z-index:1;pointer-events:none}
.tl-story-info{padding:0 24px}
}
.tl-story-image{touch-action:pan-y pinch-zoom}
/* The mobile photograph starts at the top; the close control floats on it. */
@media(max-width:767px){.tl-photo-lightbox.tl-story-lightbox{padding-top:0!important}.tl-story-lightbox .tl-photo-close{top:max(12px,env(safe-area-inset-top));right:16px;z-index:5;background:rgba(24,24,24,.3)!important}}
.tl-story-image.is-sliding{position:relative;overflow:hidden}
.tl-story-image img.tl-story-slide{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-height:none!important;object-fit:contain!important;pointer-events:none;z-index:0;will-change:transform}
.tl-story-image.is-sliding>.tl-story-title{z-index:2}

@media(max-width:767px){.tl-photo-views button[data-view=medium]{display:none!important}}

/* Keep the photograph and its story together, centred as one composition. */
@media(min-width:768px){.tl-photo-lightbox.tl-story-lightbox[open]{grid-template-columns:minmax(0,var(--tl-story-width,700px)) minmax(240px,300px);justify-content:center;gap:clamp(28px,3vw,48px)}}

/* Mobile two-way view switch: outlined symbols and generous oval selection. */
.tl-view-mobile-icon{display:none}
@media(max-width:767px){.tl-photo-corner-tools .tl-photo-views{height:48px;padding:5px;gap:0;background:rgba(32,32,36,.72)!important}.tl-photo-corner-tools .tl-photo-views button{width:52px;height:36px;min-height:36px}.tl-photo-views .tl-view-icon{display:none}.tl-view-mobile-icon{display:block;width:24px;height:24px}.tl-view-mobile-icon svg{display:block;width:100%;height:100%}.tl-photo-views button[aria-pressed=true]{background:#f5f5f2!important;color:#101010!important}}
/* Desktop uses the same outlined icon and oval-selection language as mobile. */
@media(min-width:768px){
.tl-photo-corner-tools .tl-photo-views{gap:0;background:rgba(32,32,36,.72)!important}
.tl-photo-corner-tools .tl-photo-views button{width:64px;height:44px;min-height:44px}
.tl-photo-views .tl-view-icon{width:24px;height:24px;gap:3px}
.tl-photo-views .tl-view-icon i{background:none;box-sizing:border-box;border:1.5px solid currentColor;border-radius:1.5px}
.tl-photo-views button[data-view=large] .tl-view-icon{display:none}
.tl-photo-views button[data-view=large] .tl-view-mobile-icon{display:block;width:24px;height:24px}
.tl-photo-views .tl-view-mobile-icon svg{display:block;width:100%;height:100%}
.tl-photo-views button[aria-pressed=true]{background:#f5f5f2!important;color:#101010!important}
}
/* Match the theme control's quiet circular active state on every viewport. */
.tl-photo-corner-tools .tl-photo-views{gap:4px}
.tl-photo-corner-tools .tl-photo-views button{width:44px;height:44px;min-height:44px;border-radius:50%!important;opacity:.55;transition:background-color 220ms ease,opacity 220ms ease}
.tl-photo-corner-tools .tl-photo-views button[aria-pressed=true]{background:color-mix(in srgb,currentColor 15%,transparent)!important;color:inherit!important;opacity:1}
@media(max-width:767px){.tl-photo-corner-tools .tl-photo-views{height:44px}.tl-photo-corner-tools .tl-photo-views button{width:32px;height:32px;min-height:32px}}
@media(prefers-reduced-motion:reduce){.tl-photo-corner-tools .tl-photo-views button{transition:none}}

/* Project credits share the quiet metadata treatment. */
.tl-story-detail dd a{color:inherit;text-decoration:underline;text-underline-offset:.22em;text-decoration-color:currentColor;overflow-wrap:anywhere}
.tl-story-detail dd a svg{display:inline-block;width:12px;height:12px;margin-left:6px;vertical-align:baseline;fill:none;stroke:currentColor;stroke-width:1.5}
.tl-story-detail dd a:hover{opacity:.7}

/* A clean bottom edge, without changing the masonry above it. */
.tl-photo-grid article[style*="--tl-end-height"]{height:var(--tl-end-height)!important;overflow:hidden}
.tl-photo-grid article[style*="--tl-end-height"] a,.tl-photo-grid article[style*="--tl-end-height"] a img{height:100%!important;min-height:100%!important}
.tl-photo-grid article[style*="--tl-end-height"] img{object-fit:cover!important;width:100%!important}

/* Mobile detail: pinned photograph, scrolling story, local glass fade. */
@media(max-width:767px){
.tl-photo-lightbox.tl-story-lightbox[open]{display:block!important;isolation:isolate;padding-bottom:112px;overflow-y:auto}
.tl-story-lightbox .tl-story-image{position:sticky;top:0;z-index:0;margin:0!important;height:auto;overflow:hidden}
.tl-story-lightbox .tl-story-image>img:not(.tl-story-slide){width:100%!important;height:auto!important;max-height:100svh!important;object-fit:contain!important;object-position:center top}
.tl-story-lightbox .tl-story-info{position:relative;z-index:2;margin-top:-96px;padding:0 24px 40px;min-height:280px;background:linear-gradient(to bottom,transparent,#101010 150px);isolation:isolate}
.tl-story-lightbox .tl-story-info:before{content:"";position:absolute;inset:-56px 0 0;z-index:-1;pointer-events:none;background:linear-gradient(180deg,transparent,rgba(16,16,16,.42) 96px,#101010 240px);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);mask-image:linear-gradient(180deg,transparent,#000 120px);-webkit-mask-image:linear-gradient(180deg,transparent,#000 120px)}
.tl-story-lightbox .tl-story-info>.tl-story-title{position:relative;margin:0 0 36px!important;padding:0!important;background:none!important;font-size:44px!important}
.tl-story-lightbox .tl-story-details{padding-top:22px}
}

/* Reorder shares the translucent corner controls. */
.tl-photo-reorder{position:fixed;right:240px;bottom:max(24px,env(safe-area-inset-bottom));z-index:9990;display:flex;align-items:center;justify-content:center;gap:10px;height:60px;min-width:150px;padding:0 20px;border:1px solid color-mix(in srgb,currentColor 28%,transparent);border-radius:999px;background:rgba(32,32,36,.65);color:#f5f5f2;font:12px/1.3 'Fira Mono',monospace;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);cursor:pointer;box-shadow:none;transition:background-color 180ms ease}
.tl-photo-reorder svg{width:22px;height:22px;flex:none}.tl-photo-reorder:hover{background:rgba(64,64,68,.7)}.tl-photo-reorder:focus-visible{outline:2px solid currentColor;outline-offset:4px}.tl-photo-reorder[hidden]{display:none!important}
.tl-order-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
body:has(.tl-photo-lightbox[open]) .tl-photo-reorder,body:has(.tl-site-drawer[open]) .tl-photo-reorder{visibility:hidden}
@media(max-width:767px){.tl-photo-reorder{right:76px;bottom:max(24px,env(safe-area-inset-bottom));height:44px;min-width:0;max-width:calc(100vw - 220px);padding:0 12px;gap:7px;font-size:10px}.tl-photo-reorder svg{width:18px;height:18px}}
@media(prefers-reduced-motion:reduce){.tl-photo-reorder{transition:none}}
/* Override theme CTA defaults on this utility control. */
body.page-id-938 button.tl-photo-reorder{background:rgba(32,32,36,.65)!important;border:1px solid color-mix(in srgb,currentColor 28%,transparent)!important;border-radius:999px!important;color:var(--tl-reorder-ink,#f5f5f2)!important;font:12px/1.3 'Fira Mono',monospace!important;text-transform:none!important;letter-spacing:0!important;box-shadow:none!important;transform:none!important}
body.page-id-938 button.tl-photo-reorder span{font:inherit!important;text-transform:none!important;letter-spacing:0!important}
@media(max-width:767px){body.page-id-938 button.tl-photo-reorder{font-size:10px!important}}

/* Icon-only reorder sits beside the view-mode pill. */
body.page-id-938 .tl-photo-corner-tools{flex-direction:row;align-items:center;gap:10px}
body.page-id-938 .tl-photo-corner-tools button.tl-photo-reorder{position:relative;inset:auto;flex:none;width:60px;height:60px;min-width:60px;min-height:60px;padding:0!important;border-radius:50%!important}
.tl-photo-reorder .tl-reorder-label{display:none!important}
body.page-id-938 .tl-photo-reorder svg{width:25px;height:25px}
@media(max-width:767px){body.page-id-938 .tl-photo-corner-tools button.tl-photo-reorder{width:44px;height:44px;min-width:44px;min-height:44px;max-width:none}body.page-id-938 .tl-photo-reorder svg{width:23px;height:23px}}

/* The mobile image is independent of the scroll container's bottom boundary. */
@media(max-width:767px){
.tl-photo-lightbox.tl-story-lightbox[open]{inset:0;margin:0;width:100vw;max-width:none;height:100dvh;max-height:none;box-sizing:border-box;border:0;padding:0 0 112px;overscroll-behavior-y:contain}
.tl-story-lightbox .tl-story-image{position:fixed;inset:0 0 auto;width:100%;height:auto;z-index:0}
.tl-story-lightbox .tl-story-info{margin-top:max(0px,calc(min(100vw / var(--tl-story-ratio,1),100svh) - 96px));min-height:0;padding-bottom:40px}
}

/* Keep mobile navigation in a clear, thumb-reachable bottom row. */
@media(max-width:767px){
.tl-story-lightbox .tl-photo-lightbox-count{display:none!important}
.tl-photo-lightbox.tl-story-lightbox[open]{padding-bottom:calc(104px + env(safe-area-inset-bottom,0px));scroll-padding-bottom:calc(104px + env(safe-area-inset-bottom,0px))}
.tl-photo-lightbox.tl-story-lightbox::after{content:"";position:fixed;inset:auto 0 0;height:calc(88px + env(safe-area-inset-bottom,0px));background:linear-gradient(to bottom,transparent,#101010 24px);pointer-events:none;z-index:4}
.tl-story-lightbox .tl-photo-close,.tl-story-lightbox .tl-photo-prev,.tl-story-lightbox .tl-photo-next{position:fixed;top:auto!important;bottom:calc(16px + env(safe-area-inset-bottom,0px));z-index:6;width:44px;height:44px}
.tl-story-lightbox .tl-photo-close{left:50%;right:auto;transform:translateX(-50%)!important}
.tl-story-lightbox .tl-photo-prev{left:24px;right:auto;transform:none!important}
.tl-story-lightbox .tl-photo-next{right:24px;left:auto;transform:none!important}
}

/* Share links point to the standalone photo document. */
.tl-story-lightbox .tl-photo-share{position:fixed;top:24px;right:80px;z-index:7;display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:1px solid #ffffff40;border-radius:50%;background:rgba(24,24,24,.65)!important;color:#f5f5f2;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);cursor:pointer}
.tl-photo-share svg{width:22px;height:22px}.tl-photo-share:focus-visible{outline:2px solid currentColor;outline-offset:4px}
.tl-photo-share-feedback{position:fixed;top:80px;right:24px;z-index:8;max-width:calc(100vw - 48px);padding:12px 16px;background:#252528;color:#f5f5f2;border:1px solid #ffffff30;border-radius:12px;font:12px/1.5 'Fira Mono',monospace}.tl-photo-share-feedback[hidden]{display:none}.tl-photo-share-feedback a{color:inherit;text-underline-offset:4px}
@media(max-width:767px){.tl-story-lightbox .tl-photo-share{top:max(12px,env(safe-area-inset-top));right:16px}.tl-photo-share-feedback{top:calc(68px + env(safe-area-inset-top,0px));right:16px}}

/* Landscape images use the free vertical space; their story sits below the frame. */
@media(max-width:767px){
.tl-story-lightbox.is-landscape{--tl-landscape-top:max(64px,min(calc((100svh - min(100vw / var(--tl-story-ratio,1),100svh)) / 2),calc(100svh - min(100vw / var(--tl-story-ratio,1),100svh) - var(--tl-story-meta-height,200px) - 128px)))}
.tl-story-lightbox.is-landscape .tl-story-image{top:var(--tl-landscape-top)}
.tl-story-lightbox.is-landscape .tl-story-info{margin-top:calc(var(--tl-landscape-top) + min(100vw / var(--tl-story-ratio,1),100svh) + 24px);background:none;padding-bottom:24px}
.tl-story-lightbox.is-landscape .tl-story-info:before{display:none}
.tl-story-lightbox.is-landscape .tl-story-info>.tl-story-title{margin-bottom:24px!important}
}

/* Share lives with the story on desktop; mobile swaps share and close positions. */
@media(min-width:768px){.tl-story-share-row{display:flex;align-items:center;gap:12px;margin-bottom:24px}.tl-story-lightbox .tl-photo-share{position:static;flex:none}.tl-story-share-row .tl-photo-share-feedback{position:static;margin:0;max-width:220px}}
@media(max-width:767px){.tl-story-share-row{height:0;margin:0}.tl-story-lightbox .tl-photo-share{top:auto!important;bottom:calc(16px + env(safe-area-inset-bottom,0px));left:50%;right:auto;transform:translateX(-50%)!important}.tl-story-lightbox .tl-photo-close{top:max(12px,env(safe-area-inset-top))!important;right:16px;bottom:auto;left:auto;transform:none!important}.tl-story-share-row .tl-photo-share-feedback{top:auto;bottom:calc(76px + env(safe-area-inset-bottom,0px));right:24px}}

@media(min-width:768px){.tl-story-lightbox .tl-photo-share{transform:none!important;margin:0!important;inset:auto}}
/* Continue the metadata surface below its content during mobile overscroll. */
@media(max-width:767px){.tl-story-lightbox .tl-story-info:after{content:"";position:absolute;top:100%;left:0;right:0;height:1px;background:#101010;box-shadow:0 50vmax 0 50vmax #101010;clip-path:inset(0 0 -100vmax);pointer-events:none;z-index:-1}}
/* Equal desktop edge insets for lightbox navigation. */
@media(min-width:768px){.tl-story-lightbox .tl-photo-close,.tl-story-lightbox .tl-photo-next{right:24px!important}.tl-story-lightbox .tl-photo-prev{left:24px!important}.tl-story-lightbox .tl-photo-close{top:24px!important}}

/* One stable viewport during horizontal transitions; each slide keeps its own final frame. */
@media(max-width:767px){.tl-story-lightbox .tl-story-image.is-slide-viewport{top:0!important;height:100svh!important;overflow:hidden}}

@media(max-width:767px){.tl-photo-grid.is-mobile-checker article a{display:block!important;width:100%!important;height:100%!important}.tl-photo-grid.is-mobile-checker article img{width:100%!important;height:100%!important;object-fit:cover!important}}
.tl-story-detail{grid-template-columns:24px minmax(0,1fr);column-gap:12px}.tl-story-detail dt svg{width:24px;height:24px;stroke-width:1.5}.tl-story-detail dd a svg{width:14px;height:14px;vertical-align:-2px}

.tl-story-details .tl-project-meta{grid-column:1/-1}.tl-project-meta dd{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px}.tl-project-separator{opacity:.4;padding-inline:4px}

/* Lighter strokes, with the existing generous hit areas. */
.tl-photo-views .tl-view-icon i{border-width:1px;border-radius:1px}.tl-photo-views .tl-view-mobile-icon svg,.tl-photo-reorder svg{stroke-width:1.25!important}.tl-photo-views .tl-view-mobile-icon svg *,.tl-photo-reorder svg *{vector-effect:non-scaling-stroke}body.page-id-938 .tl-photo-reorder svg{width:24px;height:24px}

.tl-photo-share svg{stroke-width:1.25!important}.tl-photo-share svg *{vector-effect:non-scaling-stroke}

.tl-story-detail dt svg{width:24px;height:24px;stroke-width:1.25;shape-rendering:geometricPrecision;filter:none;transform:none}.tl-story-detail dt svg *{vector-effect:non-scaling-stroke}

.tl-story-lightbox :is(.tl-photo-prev,.tl-photo-next) svg{display:block;width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.25}.tl-story-lightbox :is(.tl-photo-prev,.tl-photo-next) svg path{vector-effect:non-scaling-stroke}

/* Private report badges stay inside their image tile and never intercept clicks. */
.tl-photo-grid article{position:relative}
.tl-photo-grid .tl-photo-view-count{position:absolute;left:12px;bottom:12px;z-index:3;display:inline-flex;align-items:center;gap:7px;padding:6px 9px;border-radius:999px;background:rgba(16,16,16,.68);color:#f5f5f2;font:400 12px/1.3 'Fira Mono',monospace;pointer-events:none;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.tl-photo-view-count svg{width:18px;height:18px;flex:none}
@media(max-width:767px){.tl-photo-grid .tl-photo-view-count{left:7px;bottom:7px;gap:5px;padding:5px 7px;font-size:11px}.tl-photo-view-count svg{width:16px;height:16px}}

/* Smaller symbols, unchanged touch targets. */
.tl-photo-corner-tools .tl-photo-views .tl-view-icon{width:18px!important;height:18px!important;gap:2px}
.tl-photo-corner-tools .tl-photo-views .tl-view-mobile-icon{width:18px!important;height:18px!important}
body .tl-photo-corner-tools .tl-photo-reorder svg{width:18px!important;height:18px!important}

.tl-photo-views .tl-view-icon i{border-width:1.25px}
@media(prefers-reduced-motion:no-preference){.tl-photo-grid article.tl-entry-ready{animation:tl-photo-entry 280ms ease-out both;animation-delay:var(--tl-entry-delay,0ms)}}
@keyframes tl-photo-entry{from{opacity:0}to{opacity:1}}

.tl-photo-grid .tl-photo-view-count{left:5px;bottom:5px;padding:5px 7px}
@media(hover:hover) and (pointer:fine){.tl-photo-grid .tl-photo-view-count{opacity:0;transition:opacity 180ms ease}.tl-photo-grid article:hover .tl-photo-view-count,.tl-photo-grid article:focus-within .tl-photo-view-count{opacity:1}}
@media(prefers-reduced-motion:reduce){.tl-photo-grid .tl-photo-view-count{transition:none}}

/* Correct preferred tile size before the deferred masonry script starts. */
html .elementor .tl-photo-grid:not(.is-masonry){--initial-columns:3;display:grid!important;grid-template-columns:repeat(var(--initial-columns),minmax(0,1fr));gap:0;align-items:start}
html[data-photo-view=small] .elementor .tl-photo-grid:not(.is-masonry){--initial-columns:8}
html[data-photo-view=large] .elementor .tl-photo-grid:not(.is-masonry){--initial-columns:1}
html .elementor .tl-photo-grid:not(.is-masonry) article{width:100%;min-width:0}
@media(min-width:1100px){html[data-photo-view=medium] .elementor .tl-photo-grid:not(.is-masonry) article:is(:nth-child(1),:nth-child(4),:nth-child(7),:nth-child(10)){grid-column:span 2}}
@media(max-width:1099px){html .elementor .tl-photo-grid:not(.is-masonry){--initial-columns:2}html[data-photo-view=small] .elementor .tl-photo-grid:not(.is-masonry){--initial-columns:5}}
@media(max-width:767px){html .elementor .tl-photo-grid:not(.is-masonry){--initial-columns:1}html[data-photo-view=small] .elementor .tl-photo-grid:not(.is-masonry){--initial-columns:3}}

.tl-photo-views .tl-view-icon{display:block}.tl-photo-views .tl-view-icon svg{display:block;width:100%;height:100%;stroke-width:1.25}.tl-photo-views .tl-view-icon svg *{vector-effect:non-scaling-stroke}
@media(max-width:767px){.tl-photo-views .tl-view-icon{display:none}}

/* Compact share glyph; retain the comfortable button target. */
html body .tl-photo-share svg{width:18px!important;height:18px!important}

/* Explore owns navigation and order. View controls retain their own quiet centre. */
html body .tl-photo-corner-tools{left:50%!important;right:auto!important;transform:translateX(-50%)!important;flex-direction:row;align-items:center;max-width:calc(100vw - 160px)}
.tl-photo-explore{position:fixed;left:24px;bottom:max(24px,env(safe-area-inset-bottom));z-index:9990;color:var(--home-fg,#f5f5f2);font:13px/1.4 'Fira Mono',monospace}
.tl-photo-explore[hidden],.tl-photo-explore [hidden]{display:none!important}
html body .tl-photo-explore button,html body .tl-photo-explore a{font:inherit!important;letter-spacing:0!important;text-transform:none!important;box-shadow:none!important;color:inherit!important;transform:none!important;text-decoration:none!important;cursor:pointer}
html body .tl-photo-explore button::before,html body .tl-photo-explore button::after,html body .tl-photo-explore a::before,html body .tl-photo-explore a::after{display:none!important}
html body button.tl-explore-trigger{display:grid;place-items:center;width:60px;height:60px;min-width:60px;min-height:60px;padding:0!important;border:1px solid color-mix(in srgb,currentColor 28%,transparent)!important;border-radius:50%!important;background:color-mix(in srgb,var(--home-bg,#101010) 85%,transparent)!important;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
.tl-explore-trigger svg{display:block;width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.25}.tl-explore-trigger svg *{vector-effect:non-scaling-stroke}
.tl-explore-panel{box-sizing:border-box;position:absolute;bottom:calc(100% + 12px);left:0;width:264px;max-width:calc(100vw - 48px);max-height:calc(100dvh - 132px);overflow:auto;padding:12px;background:var(--home-bg,#101010);color:var(--home-fg,#f5f5f2);border:1px solid color-mix(in srgb,currentColor 25%,transparent);border-radius:24px;box-shadow:0 12px 40px #0002}
.tl-explore-panel nav{display:flex;flex-direction:column;gap:2px}
html body .tl-explore-panel a,html body .tl-explore-panel button{box-sizing:border-box;display:flex;position:relative;align-items:center;width:100%;min-height:44px;padding:11px 30px 11px 12px!important;border:0!important;border-radius:12px!important;background:transparent!important;text-align:left}
html body .tl-explore-panel a[aria-current=page],html body .tl-explore-panel button[aria-pressed=true]{background:color-mix(in srgb,currentColor 10%,transparent)!important}
html body .tl-explore-panel a[aria-current=page]::after,html body .tl-explore-panel button[aria-pressed=true]::after{display:block!important;content:'';position:absolute;right:14px;top:calc(50% - 2px);width:4px;height:4px;border-radius:50%;background:currentColor}
html body .tl-photo-explore button:hover,html body .tl-photo-explore a:hover{background:color-mix(in srgb,var(--home-fg,#f5f5f2) 13%,var(--home-bg,#101010))!important}
.tl-photo-explore :is(a,button):focus-visible{outline:2px solid currentColor!important;outline-offset:2px}
.tl-explore-order{border-top:1px solid color-mix(in srgb,currentColor 18%,transparent);margin-top:10px;padding-top:10px}.tl-explore-caption{padding:4px 12px 8px;opacity:.6;font-size:11px}
.tl-photo-explore button:disabled{opacity:.5;cursor:wait!important}
body:has(.tl-photo-lightbox[open]) .tl-photo-explore,body:has(.tl-site-drawer[open]) .tl-photo-explore{visibility:hidden}
@media(max-width:767px){.tl-photo-explore{left:20px;bottom:max(20px,env(safe-area-inset-bottom))}html body button.tl-explore-trigger{width:44px;height:44px;min-width:44px;min-height:44px}.tl-explore-panel{max-width:calc(100vw - 40px);max-height:calc(100dvh - 108px)}html body .tl-photo-corner-tools{bottom:max(20px,env(safe-area-inset-bottom));max-width:calc(100vw - 144px)}.tl-explore-trigger svg{width:22px;height:22px}}
@media(prefers-reduced-motion:no-preference){.tl-explore-panel:not([hidden]){animation:tl-explore-reveal 180ms ease-out}@keyframes tl-explore-reveal{from{opacity:0;clip-path:inset(100% 0 0 0 round 24px)}to{opacity:1;clip-path:inset(0 round 24px)}}}
/* Leave clear room for the existing social controls on narrow screens. */
@media(max-width:767px){html body .tl-photo-corner-tools{left:calc(50% - 40px)!important}}
@media(max-width:359px){body:has(.tl-photo-explore) .tl-floating-social{bottom:max(80px,calc(env(safe-area-inset-bottom) + 60px))!important}}
/* The open Explore surface must also cover the floating social hit areas. */
.tl-photo-explore{z-index:10000}

/* View sizes sit directly beside Explore, rather than occupying the centre. */
.tl-photo-explore{display:flex;align-items:center;gap:10px}
html body .tl-photo-explore .tl-photo-corner-tools{position:static!important;inset:auto!important;transform:none!important;max-width:none!important;margin:0!important;flex:none}
@media(max-width:767px){.tl-photo-explore{gap:8px}}

/* Image-only viewport mode. No crop, no separate browser fullscreen requirement. */
.tl-story-image[role=button]{cursor:zoom-in;outline-offset:-4px}
.tl-story-image[role=button]:focus-visible{outline:1px solid #f5f5f2}
.tl-story-lightbox .tl-photo-fullscreen{position:fixed!important;top:24px;right:80px;z-index:12;display:flex;align-items:center;justify-content:center;min-width:44px;width:44px;height:44px;padding:0;border:1px solid #ffffff40;border-radius:50%;background:rgba(24,24,24,.65);color:#f5f5f2;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);cursor:pointer}
.tl-story-lightbox .tl-photo-fullscreen svg{width:18px;height:18px;display:block;fill:none;stroke:currentColor;stroke-width:1.25}
.tl-photo-lightbox.tl-story-lightbox.tl-image-fullscreen[open]{display:block!important;padding:0!important;overflow:hidden!important;gap:0!important}
.tl-photo-lightbox.tl-image-fullscreen .tl-story-info,.tl-photo-lightbox.tl-image-fullscreen .tl-photo-share,.tl-photo-lightbox.tl-image-fullscreen .tl-photo-share-feedback{display:none!important}
.tl-photo-lightbox.tl-image-fullscreen .tl-story-image,.tl-photo-lightbox.tl-image-fullscreen.is-landscape .tl-story-image{box-sizing:border-box!important;position:fixed!important;inset:0!important;top:0!important;width:100%!important;height:100dvh!important;max-height:none!important;min-height:0!important;margin:0!important;padding:24px 72px!important;display:flex!important;align-items:center!important;justify-content:center!important;cursor:zoom-out;overflow:hidden!important}
.tl-photo-lightbox.tl-image-fullscreen .tl-story-image img{position:static!important;display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important;filter:none!important;border-radius:0!important}
.tl-photo-lightbox.tl-image-fullscreen .tl-story-image .tl-story-slide{position:absolute!important;inset:0!important;box-sizing:border-box;padding:24px 72px!important}
.tl-photo-lightbox.tl-image-fullscreen .tl-photo-lightbox-count{position:fixed!important;z-index:12;bottom:max(16px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);pointer-events:none}
.tl-photo-lightbox.tl-image-fullscreen :is(.tl-photo-prev,.tl-photo-next){position:fixed!important;top:50%!important;bottom:auto!important;transform:translateY(-50%)!important;z-index:12}
.tl-photo-lightbox.tl-image-fullscreen .tl-photo-prev{left:16px!important}.tl-photo-lightbox.tl-image-fullscreen .tl-photo-next{right:16px!important}
.tl-image-fullscreen :is(.tl-photo-fullscreen,.tl-photo-close,.tl-photo-prev,.tl-photo-next,.tl-photo-lightbox-count){transition:opacity 240ms ease!important}
@media(hover:hover) and (pointer:fine){.tl-image-fullscreen.tl-fullscreen-idle:not(:has(button:focus-visible)) :is(.tl-photo-fullscreen,.tl-photo-close,.tl-photo-prev,.tl-photo-next,.tl-photo-lightbox-count){opacity:0!important;pointer-events:none!important}}
@media(max-width:767px){.tl-story-lightbox .tl-photo-fullscreen{top:max(12px,env(safe-area-inset-top));right:72px}.tl-photo-lightbox.tl-image-fullscreen .tl-story-image{padding:64px 8px!important}.tl-photo-lightbox.tl-image-fullscreen .tl-story-image .tl-story-slide{padding:64px 8px!important}}
@media(prefers-reduced-motion:reduce){.tl-image-fullscreen :is(.tl-photo-fullscreen,.tl-photo-close,.tl-photo-prev,.tl-photo-next,.tl-photo-lightbox-count){transition:none!important}}

/* Mobile image-only mode must override the landscape-detail selector too.
   Keep the animation frames on the same viewport stage as the visible photo. */
@media(max-width:1023px),(pointer:coarse){
 .tl-photo-lightbox.tl-story-lightbox.tl-image-fullscreen .tl-story-image,
 .tl-photo-lightbox.tl-story-lightbox.tl-image-fullscreen.is-landscape .tl-story-image,
 .tl-photo-lightbox.tl-story-lightbox.tl-image-fullscreen .tl-story-image .tl-story-slide{
  box-sizing:border-box!important;
  padding:max(64px,calc(env(safe-area-inset-top,0px) + 16px)) max(8px,env(safe-area-inset-right,0px)) max(64px,calc(env(safe-area-inset-bottom,0px) + 16px)) max(8px,env(safe-area-inset-left,0px))!important;
 }
 .tl-photo-lightbox.tl-story-lightbox.tl-image-fullscreen{overflow:hidden!important}
}
