/* VRD 25 — stone, glass and photographic memory. Native scrolling is preserved. */
.u-interface :is(h1,h2,h3,h4),.u-interface :is(h1,h2,h3,h4) :is(span,em,strong){font-family:var(--ui-mono)!important;color:var(--ui-accent)!important;font-style:normal;letter-spacing:-.035em;line-height:1.18}
.u-interface .u-home-hero h1 span{background:none;-webkit-text-fill-color:currentColor;color:var(--ui-accent)!important}
.n-world-label{border-left:0!important;padding-left:0!important}
.vrd-stone-entry{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:clamp(1rem,5vw,6rem);padding:clamp(1rem,3vw,3rem);border:1px solid var(--ui-line);border-radius:12px;background:radial-gradient(ellipse at 74% 45%,#95b1a812,transparent 65%);overflow:hidden}
.vrd-stone-copy{max-width:40ch}.vrd-stone-copy h3{font-size:clamp(1.8rem,3vw,3rem)!important;margin:.7em 0}.vrd-stone-copy>p:not(.n-kicker){line-height:1.85;margin-bottom:2rem}
.vrd-stone-art{display:block;justify-self:center;width:min(100%,310px);transition:transform .65s ease,filter .65s ease;border-radius:12px}
.vrd-stone-art img{display:block;width:100%;height:auto;filter:grayscale(1);mix-blend-mode:luminosity}.vrd-stone-art:hover{transform:translateY(-5px);filter:drop-shadow(0 12px 22px #a3d2c61c)}
.vrd-home-memory{padding-top:clamp(3rem,7vw,7rem)}.vrd-home-memory>.u-section-head{margin-bottom:0}.vrd-home-memory .vrd-heritage{padding-bottom:1rem}
.vrd-heritage .vrd-chest-stage,.vrd-heritage[data-design=glass] .vrd-chest-stage{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.4fr);grid-template-rows:1fr auto;gap:0 1.5rem;padding:2rem 0;overflow:visible;align-items:center;min-height:0}
.vrd-heritage .vrd-magic-copy{grid-area:1/1;align-self:end;padding:0;max-width:36ch}.vrd-heritage .vrd-magic-copy :is(h2,h3){font-size:clamp(1.8rem,3.6vw,3.8rem)!important}
.vrd-chest-visual25{grid-area:1/2/3/3;width:100%;min-width:0;position:relative}
.vrd-chest-toggle25{display:block;position:relative;width:100%;aspect-ratio:3/2;padding:0;border:0;border-radius:12px;background:transparent;cursor:pointer;isolation:isolate}
.vrd-chest-toggle25>img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;transition:opacity 1.1s ease,transform 1.3s cubic-bezier(.2,.7,.2,1);pointer-events:none}
.vrd-chest-open25{opacity:0;transform:translateY(3%) scale(.97)}.vrd-archive-open .vrd-chest-open25{opacity:1;transform:none}.vrd-archive-open .vrd-chest-closed25{opacity:0;transform:translateY(2%) scale(.98)}
.vrd-chest-photos25{position:absolute;inset:0;pointer-events:none;visibility:hidden}.vrd-archive-open .vrd-chest-photos25{visibility:visible}.vrd-chest-photo25{position:absolute;top:50%;left:42%;width:19%;height:24%;padding:4px;background:#d9e1df;border:1px solid #dae9e1;border-radius:3px;box-shadow:0 8px 25px #0004;opacity:0;transform:translateY(5%) scale(.65);transition:transform 1.3s cubic-bezier(.2,.8,.2,1),opacity .85s ease;overflow:hidden}
.vrd-chest-photo25 img{width:100%;height:100%;object-fit:cover;filter:grayscale(1)!important;display:block}
.vrd-archive-open .vrd-chest-photo25{opacity:1}.vrd-archive-open .vrd-chest-photo25:nth-child(1){transform:translate(-170%,-85%) rotate(-8deg)}.vrd-archive-open .vrd-chest-photo25:nth-child(2){transform:translate(-58%,-155%) rotate(-3deg)}.vrd-archive-open .vrd-chest-photo25:nth-child(3){transform:translate(57%,-145%) rotate(4deg)}.vrd-archive-open .vrd-chest-photo25:nth-child(4){transform:translate(165%,-72%) rotate(9deg)}
.vrd-heritage .vrd-chest-stage>button{grid-area:2/1;justify-self:start;min-height:48px;margin-top:1rem}
.vrd-heritage-gallery{border-top:1px solid var(--ui-line);padding-top:2rem;scroll-margin-top:100px}.vrd-history-grid{gap:1.25rem}.vrd-history-card{background:var(--ui-surface);border-color:var(--ui-line)}
.vrd-history-card .vrd-photo-open img{height:260px;object-fit:contain;filter:grayscale(1)!important;opacity:1!important;background:var(--ui-raised)}
.vrd-history-card h3{font-size:1.1rem!important;letter-spacing:-.02em!important}.vrd-history-card>p:not(.n-kicker){font-size:.9rem}.vrd-photo-credit{font-size:.75rem}.vrd-photo-details a{text-decoration:underline!important;text-underline-offset:3px}
.vrd-gallery-page{padding-top:clamp(3rem,7vw,6rem);padding-bottom:4rem}.vrd-gallery-page .u-lead{max-width:70ch}.vrd-gallery-links,.vrd-gallery-filters{display:flex;flex-wrap:wrap;gap:.65rem;margin-block:1.5rem 2rem}.vrd-gallery-filters [aria-pressed=true]{background:var(--ui-accent);color:var(--ui-accent-ink);border-color:var(--ui-accent)}
.vrd-destination-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem}.vrd-destination-card{min-width:0;background:var(--ui-surface);border:1px solid var(--ui-line);border-radius:8px;overflow:hidden}.vrd-destination-card .vrd-photo-open img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;filter:grayscale(1)!important;opacity:1!important;display:block}.vrd-destination-copy{padding:1.4rem}.vrd-destination-copy h2{font-size:clamp(1.3rem,2vw,2rem)!important}.vrd-destination-copy>p{font-size:.95rem;line-height:1.8}
.c-place-text-only{align-self:start}.c-place-text-only .c-place-body{padding-top:1.5rem!important}.c-place-text-only .c-photo-missing{font-size:.75rem;color:var(--ui-muted)}
.vrd-viewer-open{overflow:hidden}.vrd-viewer25{width:min(1020px,calc(100vw - 24px));max-width:none;max-height:calc(100dvh - 24px);padding:0 1.25rem 1.25rem!important;border:1px solid var(--ui-line);background:var(--ui-surface)!important;color:var(--ui-ink);overscroll-behavior:contain}
.vrd-viewer25::backdrop{background:#010b13e8;backdrop-filter:blur(5px)}.vrd-viewer-toolbar{position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;z-index:2;padding:.5rem 0;background:var(--ui-surface)}.vrd-viewer-count{font:12px var(--ui-mono);color:var(--ui-muted)}.vrd-viewer-close{display:grid;place-items:center;width:48px;height:48px;border:1px solid var(--ui-line);border-radius:50%;background:var(--ui-raised);color:var(--ui-ink);font-size:30px!important;cursor:pointer}
.vrd-viewer-figure{width:100%;height:min(58dvh,680px);display:grid;place-items:center;overflow:hidden;background:var(--ui-bg)}.vrd-viewer-image{display:block;width:100%;height:100%;object-fit:contain;filter:grayscale(1)!important;animation:vrd-photo-reveal .38s cubic-bezier(.2,.8,.2,1) both}.vrd-viewer25 h2{font-size:clamp(1.15rem,2.3vw,1.8rem)!important;margin:1rem 0 .6rem}.vrd-viewer25>p{font-size:.95rem;line-height:1.8;margin-block:.6rem}.vrd-viewer-nav{display:flex;justify-content:space-between;gap:1rem;position:sticky;bottom:-1.25rem;padding:1rem 0;background:var(--ui-surface)}
@keyframes vrd-photo-reveal{from{opacity:.15;transform:scale(.965)}to{opacity:1;transform:none}}
.vrd-footer-ancient{margin:2rem auto 0;width:min(100%,1800px);overflow:hidden;border-top:1px solid var(--ui-line);line-height:0}.vrd-footer-ancient img{display:block;width:100%;height:auto;aspect-ratio:3/1;object-fit:contain;filter:grayscale(1);opacity:.88}
[data-theme=light] .vrd-footer-ancient{background:#dddeda}[data-theme=light] .vrd-footer-ancient img{opacity:1}
.vrd-stone-art:focus-visible,.vrd-chest-toggle25:focus-visible,.vrd-photo-open:focus-visible{outline:3px solid var(--ui-accent);outline-offset:5px}
.u-interface .settings-section{min-width:0}.u-interface .settings-fields{min-width:0}.u-interface .settings-fields input{width:100%;min-width:0}.u-interface .settings-security h3{font-size:1.15rem!important}.u-interface [data-view-panel=settings] .view-head h2{font-size:clamp(1.4rem,2.4vw,2rem)!important}
@media(max-width:700px){.vrd-stone-entry{grid-template-columns:1fr;gap:0;padding:1.25rem}.vrd-stone-art{width:min(62vw,265px);grid-row:1}.vrd-stone-copy{max-width:none}.vrd-stone-copy h3{font-size:1.7rem!important}.vrd-stone-copy .n-kicker{font-size:10px}.vrd-heritage .vrd-chest-stage,.vrd-heritage[data-design=glass] .vrd-chest-stage{grid-template-columns:1fr;grid-template-rows:auto auto auto;gap:.5rem;padding:1rem 0 2rem}.vrd-heritage .vrd-magic-copy{grid-area:1/1;max-width:100%}.vrd-heritage .vrd-magic-copy :is(h2,h3){font-size:2rem!important;margin:.5rem 0 1rem}.vrd-chest-visual25{grid-area:2/1;margin-top:1rem}.vrd-heritage .vrd-chest-stage>button,.vrd-heritage[data-design=glass] .vrd-chest-stage>button{grid-area:3/1;justify-self:stretch;width:100%}.vrd-destination-grid{grid-template-columns:1fr}.vrd-viewer25{padding-inline:.75rem!important}.vrd-viewer-figure{height:48dvh}.vrd-viewer-nav{gap:.5rem}.vrd-viewer-nav button{padding:.7rem .65rem!important;font-size:.8rem}.vrd-footer-ancient{margin-top:1rem}.vrd-footer-ancient img{aspect-ratio:2.3/1;object-fit:cover}.vrd-gallery-filters button{font-size:.8rem;padding:.65rem .75rem}}
@media(prefers-reduced-motion:reduce){.vrd-chest-toggle25>img,.vrd-chest-photo25,.vrd-stone-art{transition:none!important}.vrd-viewer-image{animation:none!important}.vrd-stone-art:hover{transform:none}}

.vrd-chest-photo25{pointer-events:auto;cursor:zoom-in;appearance:none}.vrd-chest-photo25:disabled{pointer-events:none}.vrd-chest-photo25:focus-visible{outline:3px solid var(--ui-accent);outline-offset:4px}.vrd-chest-photos25{z-index:2}.vrd-chest-photo25:hover:not(:disabled){box-shadow:0 0 0 2px var(--ui-accent),0 10px 24px #0005}
/* Bound portrait images to the viewer, independent of intrinsic grid sizing. */
.vrd-viewer-figure{position:relative;display:block}.vrd-viewer-figure>.vrd-viewer-image{position:absolute;inset:0;min-width:0;min-height:0;max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain}
/* Keep French search, menu and settings reachable on narrow phones. */
@media(max-width:420px){.u-interface .u-header>.shell{gap:6px}.u-interface .u-header .n-brand{min-width:0;flex:1 1 auto;gap:6px}.u-interface .u-header .n-brand>span{max-width:86px;white-space:normal}.u-interface .u-header .n-tools{flex:0 0 auto;gap:5px}.u-interface .u-header .n-search-trigger{font-size:0!important;position:relative;justify-content:center;width:42px;min-width:42px;min-height:44px;padding:0!important;gap:0}.u-interface .u-header .n-search-trigger:before{width:12px;height:12px;margin:0;flex:none;border:1.5px solid currentColor;border-radius:50%}.u-interface .u-header .n-search-trigger:after{content:'';position:absolute;left:26px;top:28px;width:6px;height:1.5px;background:currentColor;transform:rotate(45deg)}.u-interface .u-header .n-menu-toggle{padding:9px 7px!important;min-height:44px}.u-interface .u-header .u-settings>summary{min-width:38px;min-height:44px}.u-interface .u-header .n-brand small{font-size:6px;letter-spacing:.02em}}
@media(max-width:360px){:root{--ui-pad:14px}.u-interface .u-header .n-brand>span{max-width:76px;font-size:10px}.u-interface .u-header .n-brand small{display:none}.u-interface .u-header .n-brand img{width:28px;height:28px}}
:root[data-motion=off] :is(.vrd-chest-toggle25>img,.vrd-chest-photo25,.vrd-stone-art){transition:none!important}:root[data-motion=off] .vrd-viewer-image{animation:none!important}
/* Keep short navigation words intact on the smallest phones. */
@media(max-width:360px){.u-interface .s-app-dock{gap:2px;padding-inline:4px}.u-interface .s-app-dock a{padding-inline:1px;letter-spacing:0}.u-interface .s-app-dock a span{font:inherit;letter-spacing:0;word-break:normal;overflow-wrap:normal}}
