/* Cultural additions inherit the gallery's paper, ink, gold and display face. */
.heritage-intro,.guestbook-intro{display:flex;justify-content:space-between;align-items:center;gap:2rem;margin-bottom:2.5rem}.heritage-intro h2{max-width:36rem}.heritage-intro p{max-width:36rem;color:var(--mu)}.heritage-intro .bt{flex-shrink:0}.heritage-grid{display:grid;grid-template-columns:1.12fr 1fr 1fr;gap:1.8rem;align-items:start}.heritage-card:nth-child(3n+2){margin-top:2rem}.heritage-photo{display:block;width:100%;padding:0;border:0;background:var(--cr);cursor:pointer;overflow:hidden;position:relative;text-align:left}.heritage-photo img{display:block;width:100%;aspect-ratio:1;object-fit:cover;filter:saturate(.89) contrast(1.025) brightness(1.02);transition:transform .7s var(--e),filter .7s}.heritage-photo:hover img,.heritage-photo:focus-visible img{transform:scale(1.025);filter:saturate(.95) contrast(1.03)}.heritage-photo .photo-invitation{position:absolute;bottom:1rem;left:1rem;padding:.4rem .7rem;background:var(--iv);color:var(--ch);font-size:.7rem;letter-spacing:.08em}.heritage-card h3{font-size:1.7rem;margin:1rem 0 .25rem}.heritage-card .heritage-ar-title{font-size:1.1rem;color:var(--gd);margin:0 0 .6rem}.heritage-card .heritage-subtitle{font-size:.9rem;color:var(--mu);margin:0}.heritage-story{border-top:1px solid var(--ln);margin-top:1rem;padding-top:1rem;font-size:.95rem;animation:experience-reveal .4s ease both}.heritage-story p{margin:0 0 1rem}.heritage-story [lang=ar]{line-height:1.9}.heritage-story summary{cursor:pointer;color:var(--gd);padding:.6rem 0;font-size:.9rem}.heritage-story dl{margin:1rem 0}.heritage-story dt{font-weight:600;font-size:.85rem;margin-top:1rem}.heritage-story dd{margin:.4rem 0 1rem;color:var(--mu)}.heritage-caption{font-size:.75rem;margin:2rem 0 0;max-width:45rem}.voices-editorial{display:grid;grid-template-columns:3fr 2fr;gap:clamp(2rem,4vw,4rem);align-items:center}.voices-editorial figure{margin:0}.voices-editorial img{width:100%;height:auto;display:block;filter:grayscale(1);background:var(--sd)}.voices-copy h2{font-size:clamp(2.6rem,4vw,4.5rem);line-height:1.05}.voices-copy .voices-subtitle{font-family:var(--sf);font-style:italic;font-size:1.5rem;margin:1rem 0 2rem}.voices-copy .voices-story{white-space:pre-line;line-height:1.85;font-size:1rem}.voices-copy .bt{margin-top:1.5rem;font-size:.7rem;line-height:1.5;max-width:100%;text-align:center}.voices-reveal{animation:experience-reveal .8s ease both}.visitor-experiences{padding-top:7rem}.visitor-experiences h1{font-family:var(--sf);font-weight:400;font-size:clamp(3.2rem,7vw,6rem);line-height:1.1;letter-spacing:-.03em;margin:1rem 0 2rem}.review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2rem;margin:2rem 0}.visitor-review{border-top:1px solid var(--ln);padding:1.7rem 0;min-width:0;overflow-wrap:anywhere}.visitor-review blockquote{font-family:var(--sf);font-size:1.65rem;line-height:1.45;margin:1rem 0;white-space:pre-line}.visitor-review footer{display:block;background:none;padding:0;border:0;font-size:.9rem}.review-stars{color:var(--gd);letter-spacing:.2em}.visitor-review small{display:block;color:var(--mu);margin-top:.5rem}.guestbook-empty{padding:3rem 0;max-width:34rem}.review-form{max-width:48rem;margin-top:5rem;padding-top:3rem;border-top:1px solid var(--ln);scroll-margin-top:6rem}.review-fields{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}.review-form label,.experience-admin label{display:block;margin:1rem 0}.review-form input,.review-form textarea{display:block;width:100%;background:var(--iv);border:1px solid var(--sd);padding:.85rem;margin-top:.5rem;min-height:44px;font:inherit;border-radius:0}.review-form small{color:var(--mu);font-size:.8em}.rating-picker{border:0;padding:1rem 0;margin:0}.rating-picker>div{display:flex;gap:.4rem}.rating-picker label{display:block;position:relative;margin:.3rem 0}.rating-picker input{position:absolute;opacity:0;width:44px;height:44px;margin:0;cursor:pointer}.rating-picker label>span:first-of-type{display:grid;place-items:center;width:44px;height:44px;font-size:2rem;color:var(--sd)}.rating-picker input:checked+span,.rating-picker label:has(~label input:checked)>span:first-of-type{color:var(--gd)}.rating-picker input:focus-visible+span{outline:2px solid var(--gd);outline-offset:2px}.review-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.coffee-mute{border:0;border-bottom:1px solid var(--ln);background:transparent;color:var(--mu);font:inherit;font-size:.75rem;margin-left:1rem;padding:.6rem;min-height:44px;cursor:pointer}.experience-admin textarea{min-height:6rem}.experience-admin input[type=checkbox]{width:auto!important;min-height:auto!important;margin-right:.5rem}.experience-admin .admin-image{width:100%;max-width:35rem;height:auto;margin:1rem 0}.experience-admin .review-admin-entry{padding:1.5rem 0;border-top:1px solid var(--ln);overflow-wrap:anywhere}.review-admin-entry .review-message{white-space:pre-wrap;margin:1rem 0}.experience-admin .admin-actions{display:flex;gap:.5rem;flex-wrap:wrap}.experience-admin .admin-filter{display:flex;gap:1rem;align-items:center;flex-wrap:wrap;margin-bottom:2rem}.experience-admin .admin-filter select{width:auto!important}.experience-editor{width:min(50rem,95vw);max-height:90vh;padding:2rem;border:1px solid var(--ln);background:var(--iv);color:var(--ch)}.experience-editor::backdrop{background:#25221e88}.experience-editor input,.experience-editor textarea{display:block;width:100%;font:inherit;padding:.65rem;margin:.5rem 0 1rem;border:1px solid var(--sd);border-radius:0}.experience-editor textarea{min-height:6rem}.experience-editor [dir=rtl]{text-align:right}.experience-editor label{font-size:.85rem}.experience-editor h4{font-size:1rem;margin:2rem 0 1rem}.experience-editor .admin-actions{display:flex;gap:1rem;position:sticky;bottom:-2rem;background:var(--iv);padding:1rem 0}#review-form-status{margin:1rem 0}button:disabled{opacity:.6;cursor:wait}
@keyframes experience-reveal{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@media(max-width:900px){.voices-editorial{grid-template-columns:1fr;gap:2rem}.voices-editorial figure{width:100%}.voices-copy{max-width:38rem}.heritage-grid{gap:1rem}.heritage-intro{align-items:start;flex-direction:column}.guestbook-intro{align-items:start;flex-direction:column}.voices-copy .bt{margin-top:1rem}}
@media(max-width:600px){.heritage-grid,.review-grid,.review-fields{grid-template-columns:1fr}.heritage-grid{gap:2rem}.heritage-card:nth-child(3n+2){margin-top:0}.heritage-photo img{aspect-ratio:1.1}.heritage-card h3{font-size:1.9rem}.review-grid{gap:0}.experience-editor{padding:1.2rem}.coffee-mute{margin-left:.4rem}.review-form{margin-top:3rem}.voices-copy .voices-story{font-size:1rem}}
@media(prefers-reduced-motion:reduce){.heritage-photo img{transition:none}.heritage-photo:hover img,.heritage-photo:focus-visible img{transform:none}.heritage-story,.voices-reveal{animation:none}}
.heritage-intro h2{font-size:clamp(2.4rem,4.5vw,4rem);line-height:1.08;max-width:40rem}.heritage-photo img{height:auto}
/* A small museum of everyday Sudanese traditions. */
.heritage-exhibition{background:#f8f5ee;border-block:1px solid var(--ln);position:relative}.heritage-exhibition>.ey{color:var(--gd)}.heritage-intro{padding-bottom:1.5rem;border-bottom:1px solid var(--ln)}.heritage-intro p{line-height:1.8}.heritage-grid{gap:clamp(1rem,3vw,3rem)}.heritage-card{min-width:0}.heritage-card:nth-child(3n+2){margin-top:2.8rem}.heritage-photo{background:#e9dfcc}.heritage-photo img{aspect-ratio:4/5;object-fit:cover;transition:transform .7s var(--e),filter .7s}.heritage-photo .photo-invitation{inset:auto 0 0;display:flex;justify-content:space-between;background:#302a20e8;color:#fff9ec;padding:1rem;font-size:.68rem;letter-spacing:.1em;backdrop-filter:blur(8px)}.heritage-photo:hover img{transform:scale(1.045)}.heritage-card-heading{display:flex;align-items:baseline;justify-content:space-between;gap:.7rem}.heritage-card-heading h3{font-size:clamp(1.35rem,2.2vw,2rem)}.heritage-card .heritage-ar-title{flex-shrink:0;font-size:1rem}.heritage-card.is-selected .heritage-photo{outline:2px solid var(--gd);outline-offset:5px}.heritage-card .heritage-subtitle{font-family:var(--sf);font-style:italic;font-size:1.2rem}.heritage-reader{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,3fr);margin-top:3rem;background:#fffdf8;border:1px solid var(--ln);box-shadow:0 18px 50px #5544220a;scroll-margin-top:7rem;animation:experience-reveal .45s ease both}.heritage-reader[hidden]{display:none}.heritage-reader-image{position:relative;min-width:0;background:#e9dfcc;align-self:start}.heritage-reader-image img{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover}.heritage-reader-index{position:absolute;bottom:1.4rem;left:1.4rem;color:#fff8ec;background:#302a20e8;padding:.5rem .9rem;letter-spacing:.2em;font-size:.75rem}.heritage-reader-copy{padding:clamp(1.2rem,3vw,3rem);min-width:0}.heritage-reader-tools{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;margin-bottom:1.5rem}.heritage-reader-tools .ey{margin:0;flex:1}.heritage-languages{display:flex;border:1px solid var(--ln);padding:3px}.heritage-languages button,.heritage-close,.heritage-reader-nav button{font:inherit;color:var(--gd);cursor:pointer;border:0;background:transparent;min-height:44px;padding:.45rem .8rem;font-size:.8rem}.heritage-languages button[aria-pressed=true]{background:#eae2d2;color:#342c1d}.heritage-close{font-size:1.6rem;padding:.2rem .6rem}.heritage-reader-copy h3{font-family:var(--sf);font-weight:400;font-size:clamp(2.4rem,4vw,4rem);line-height:1.1;margin:0 0 .5rem}.heritage-reader-copy [dir=rtl]{line-height:1.9}.heritage-reader-subtitle{font-family:var(--sf);font-style:italic;color:var(--gd);font-size:1.5rem;margin:.5rem 0}.heritage-botanical{font-size:.8rem;color:var(--mu);margin:1rem 0 1.8rem}.heritage-reader dt{font-size:.7rem;letter-spacing:.1em;text-transform:uppercase;color:var(--gd);margin-top:1.4rem}.heritage-reader dd{margin:.5rem 0 1.2rem;line-height:1.85;font-size:.95rem}.heritage-extra{border-top:1px solid var(--ln);padding-top:1rem}.heritage-extra summary,.heritage-references summary{cursor:pointer;color:var(--gd);padding:.6rem 0;font-size:.85rem}.heritage-reader-nav{display:flex;justify-content:space-between;align-items:center;gap:.5rem;border-top:1px solid var(--ln);margin-top:1.5rem;padding-top:1rem}.heritage-reader-nav span{font-size:.7rem;color:var(--mu)}.heritage-reader-nav button{padding:.3rem}.heritage-reader button:hover{background:#efe8da}.heritage-exhibition button:focus-visible,.heritage-exhibition summary:focus-visible,.heritage-exhibition a:focus-visible{outline:2px solid var(--gd);outline-offset:4px}.heritage-references{border-top:1px solid var(--ln);margin-top:2.5rem;padding-top:1rem}.heritage-references h3{font-size:1.4rem}.heritage-references ol{columns:2;column-gap:3rem;padding-left:1.3rem}.heritage-references li{font-size:.8rem;line-height:1.7;break-inside:avoid;margin-bottom:.7rem;color:var(--mu)}
@media(max-width:900px){.heritage-reader{grid-template-columns:minmax(0,1fr) minmax(0,1.5fr)}.heritage-card-heading{display:block}.heritage-reader-tools{gap:.4rem}.heritage-reader-tools .ey{flex-basis:100%}.heritage-reader-nav{flex-wrap:wrap}}
@media(max-width:600px){.heritage-grid{grid-template-columns:1fr 1fr;gap:1.5rem 1rem}.heritage-card:first-child{grid-column:1/-1}.heritage-card:first-child .heritage-photo img{aspect-ratio:5/4}.heritage-card:nth-child(3n+2){margin-top:0}.heritage-card-heading h3{font-size:1.45rem}.heritage-card .heritage-subtitle{font-size:1rem}.heritage-photo .photo-invitation{padding:.65rem;font-size:.6rem;letter-spacing:.02em}.heritage-reader{grid-template-columns:1fr}.heritage-reader-image img{aspect-ratio:5/4}.heritage-references ol{columns:1}.heritage-reader-tools .ey{flex-basis:auto}.heritage-reader-copy{padding:1.3rem}.heritage-reader-nav{gap:.4rem}}
@media(prefers-reduced-motion:reduce){.heritage-reader{animation:none}.heritage-photo:hover img{transform:none}}

/* Dedicated QR entry point, sharing the homepage exhibition. */
.heritage-home-link{max-width:1600px;margin:auto;padding:7rem clamp(1.2rem,5vw,4rem) 2rem}.heritage-home-link .bt{white-space:normal;text-align:center}#v-heritage .heritage-exhibition{padding-top:clamp(3rem,6vw,5rem)}
