/* Added for Susie's Nov 5 edits: logo, "Rent the gallery" tab, hero tagline, not-a-reservation notes, footer, art-first Artist Showcase, captions on the walls. */

/* ---- top menu: the logo on the left, the links on the right ---- */
nav{display:flex;justify-content:space-between!important;align-items:center;flex-wrap:wrap;gap:8px 16px}
nav>div{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end}
nav a.nav-logo{display:block!important;margin:0!important;padding:0!important;line-height:0;background:none!important;min-height:0!important;border-radius:0!important}
nav a.nav-logo img{display:block;width:clamp(124px,13vw,172px);height:auto}
@media (max-width:820px){nav a[href$="#rent"]{display:inline-flex!important;align-items:center;min-height:44px}}
@media (max-width:560px){nav{padding-left:16px;padding-right:16px}nav a{margin-left:12px}nav a.nav-logo{margin-left:0}}
/* phone: logo and Contact on one row, the other links evenly spaced on the row below (the logo is the Home link) */
@media (max-width:620px){
 nav:has(.nav-logo){padding:24px 16px 4px!important;gap:0 12px;justify-content:space-between}
 nav:has(.nav-logo)>div{display:contents}
 nav:has(.nav-logo)::after{content:'';order:1;flex-basis:100%;height:0}
 nav:has(.nav-logo) .nav-logo{order:0;margin-bottom:6px!important}
 nav:has(.nav-logo) a[href$="#contact"]{order:0;margin:0 0 6px!important}
 nav:has(.nav-logo)>div>a:not([href$="#contact"]){order:2;display:inline-flex!important;align-items:center;min-height:44px;margin:0!important;font-size:.95rem;white-space:nowrap}
 nav:has(.nav-logo)>div>a[href="index.html"]{display:none!important}
 nav:has(.nav-logo){flex-wrap:wrap}
}

/* ---- home page hero: the small line under the name over the tin ceiling ---- */
.hero-title{min-width:0}
.hero-tag{margin:0;padding:.15em 0 0 var(--m);font:700 clamp(.8rem,.4rem + 1.15vw,1.55rem)/1.2 "Archivo Narrow",system-ui,sans-serif;letter-spacing:.3em;text-transform:uppercase;color:var(--gold)}
@media (max-width:620px){.hero-tag{padding-left:16px;letter-spacing:.2em;font-size:.82rem}}

/* ---- the building section ---- */
.bld h2{font-size:clamp(2.2rem,1.1rem + 2.4vw,3.8rem);line-height:.95}

/* ---- "this is not a reservation" notes ---- */
.not-res{margin:16px 0 0;padding:12px 14px;border-left:3px solid var(--gold);background:rgba(198,163,90,.1);font-size:1rem;line-height:1.5;max-width:46ch;color:var(--plaster)}
.not-res b{color:var(--gold)}
#contact .not-res{margin:2px 0 18px;max-width:60ch}

/* ---- on the walls: a small caption under a piece the owner has named ---- */
.vx-row{align-items:flex-start!important}
.vx-row figure{position:relative}
.vx-row figure figcaption{position:absolute;left:0;right:0;bottom:0;margin:0;padding:9px 14px;background:rgba(14,14,14,.78);color:var(--plaster);font-size:.98rem;line-height:1.25}
.vx-row figure figcaption b{display:block;font-weight:700}
.vx-row figure figcaption span{display:block;color:var(--gold)}
@media (max-width:820px){.vx-row img{height:auto;max-height:52vh;width:auto;max-width:80vw}}

/* ---- footer on every page ---- */
.site-foot{background:#0b0b0b;border-top:1px solid var(--gold);padding:clamp(30px,4.5vw,52px) var(--m);display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:22px clamp(24px,4vw,56px);align-items:center;margin-top:clamp(30px,5vw,60px)}
.site-foot .f-logo{width:clamp(160px,18vw,230px);height:auto}
.site-foot p{margin:0;line-height:1.55;font-size:1rem}
.site-foot a{color:var(--plaster)}
.site-foot .f-soc{display:inline-flex;gap:10px}
.site-foot .f-soc a{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;border:1px solid var(--gold);color:var(--gold);transition:background-color .18s ease,color .18s ease}
@media (hover:hover){.site-foot .f-soc a:hover{background:var(--gold);color:#121212}}
.site-foot .f-soc a:focus-visible{outline:3px solid var(--plaster);outline-offset:3px}
@media (max-width:820px){.site-foot{grid-template-columns:minmax(0,1fr)}}

/* ---- Artist Showcase: the artwork comes first, big, with the name below; the artist's own picture is a small round stamp ---- */
.ag{display:block;columns:3 280px;column-gap:22px}
.ag.small{columns:4 210px;column-gap:16px}
.ac{break-inside:avoid;display:block;margin:0 0 30px}
.ac .ph{display:block;aspect-ratio:auto;background:#1b1a18;overflow:hidden}
.ac .ph img{display:block;width:100%;height:auto;object-fit:cover;object-position:50% 50%}
.ac .ph.ph-mono{aspect-ratio:4/5;position:relative}
.ag.small .ac .ph:not(.ph-mono){aspect-ratio:auto}   /* the small grid used to force square boxes, which left dark bars under wide pictures */
.ag.small .ac .ph.ph-mono{aspect-ratio:1}
.ac .who{display:flex;align-items:center;gap:11px;margin-top:11px}
.ac .who .nm{margin:0;min-width:0}
.ac .pt{flex:none;width:46px;height:46px;border-radius:50%;object-fit:cover;object-position:50% 18%;border:2px solid var(--gold);background:#1b1a18}
@media (hover:hover){.ac:hover .pt{transform:none}}
@media (max-width:620px){.ag{columns:2 150px;column-gap:12px}.ag.small{columns:2 140px;column-gap:12px}}

/* one artist: the portrait sits beside the name, the artwork leads the page */
.bio .bio-head{display:flex;align-items:center;gap:20px;margin:0 0 4px}
.bio .bio-head h1{margin:0;min-width:0}
.bio .pt-lg{flex:none;width:clamp(78px,9vw,112px);height:clamp(78px,9vw,112px);border-radius:50%;object-fit:cover;object-position:50% 18%;border:3px solid var(--gold);background:#1b1a18}
.works .cap{margin:12px 0 0;font-weight:700;font-size:1.2rem}

/* phone: the current-event block under the name gets a compact layout of its own (desktop keeps the tall side-bar version) */
@media (max-width:620px){
 .ev3{margin:6px 0 20px!important;max-width:none;border-left:0;border-top:1px solid rgba(198,163,90,.45);padding:16px 16px 0!important}
 .ev3 h2{font-size:clamp(1.75rem,8vw,2.2rem);line-height:1.02}
 .ev3 p{margin-top:8px;font-size:1.02rem;line-height:1.45}
 .ev3 .go{display:inline-flex;align-items:center;min-height:46px;margin-top:14px;padding:0 22px;border:1px solid var(--gold);border-radius:999px;font-size:1rem}
}

/* two banners: the web one beside the name on computers and tablets; on phones the mobile banner is a bar across the very top (off until turned on in the dashboard) */
.top-banner{display:none;flex-direction:column;align-items:center;text-align:center;gap:4px;padding:14px 16px 16px;background:var(--gold);color:#121212;text-decoration:none;font-weight:600;position:relative;z-index:50}
.top-banner strong{font-family:"Abril Fatface",serif;font-weight:400;font-size:clamp(1.5rem,6.6vw,1.9rem);line-height:1.05}
.top-banner .tb-sub{font-size:1rem;line-height:1.4}
.top-banner .tb-go{margin-top:6px;font-weight:700;text-decoration:underline;text-underline-offset:.2em}
.top-banner:focus-visible{outline:3px solid #121212;outline-offset:-6px}
@media (max-width:620px){.top-banner{display:flex}.hero-row aside.ev3{display:none}}

/* footer credit back to Smart & Main */
.site-foot .f-credit{grid-column:1/-1;margin:6px 0 0;padding-top:16px;border-top:1px solid #2a2824;font-size:.9rem;text-align:center;color:#9b9486}
.site-foot .f-credit a{color:#b9b1a2;text-decoration:none;border-bottom:1px solid transparent;transition:color .18s ease,border-color .18s ease}
@media (hover:hover){.site-foot .f-credit a:hover{color:var(--gold);border-color:var(--gold)}}
.site-foot .f-credit a:focus-visible{outline:3px solid var(--plaster);outline-offset:3px}

/* phones: the name keeps the tin-ceiling photo showing through the letters, like the computer version */
@media (max-width:620px){
 .name h1{background:url(img/gallery.jpg) 0% 0%/150% auto!important;-webkit-background-clip:text!important;background-clip:text!important;color:transparent!important;-webkit-text-fill-color:transparent!important;-webkit-text-stroke:0!important;font-size:clamp(5rem,31vw,9.5rem)!important}
 .name h1 small{-webkit-text-fill-color:var(--gold)!important;color:var(--gold)!important}
}

/* artist page on a phone or small tablet: "← All artists" and Contact on one row, the links evenly spaced below (the phone number is in the footer) */
@media (max-width:820px){
 nav:has(.back){padding:20px 16px 4px!important;gap:0 12px;justify-content:space-between;flex-wrap:wrap}
 nav:has(.back)>div{display:contents}
 nav:has(.back)::after{content:'';order:1;flex-basis:100%;height:0}
 nav:has(.back) .back{order:0;margin:0 0 6px!important;display:inline-flex!important;align-items:center;min-height:44px}
 nav:has(.back) a[href$="#contact"]{order:0;margin:0 0 6px!important}
 nav:has(.back)>div>a:not([href$="#contact"]){order:2;display:inline-flex!important;align-items:center;min-height:44px;margin:0!important;font-size:.95rem;white-space:nowrap}
 nav:has(.back)>div>a[href^="tel:"]{display:none!important}
}

/* ---- Art events page: upcoming events, under their own heading like Past events: two to a row, poster with its words to the right ---- */
.upc{padding:10px var(--m) 70px}
.upc h2{font-size:clamp(2.2rem,1.2rem + 2.6vw,4rem);margin-bottom:6px}
.upc .upsub{margin-bottom:26px;color:var(--gold)}
.ugrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(24px,3vw,48px) clamp(20px,3vw,48px)}
.uev{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:clamp(14px,1.8vw,26px);align-items:start}
.uev.no-img{grid-template-columns:minmax(0,1fr)}
.uev>button{all:unset;display:block;cursor:zoom-in;background:#1f1d1b;overflow:hidden}
.uev>button img{display:block;width:100%;height:auto;transition:transform .5s var(--ease-soft)}
@media (hover:hover){.uev>button:hover img{transform:scale(1.04)}}
.uev>button:focus-visible{outline:3px solid var(--gold);outline-offset:3px}
.uev-t .lbl{margin-bottom:6px}
.uev-t h3{font-size:clamp(1.7rem,1.1rem + 1.5vw,2.8rem);line-height:.95;color:var(--plaster)}
.uev-t ul{list-style:none;margin-top:12px;border-top:1px solid #444}
.uev-t li{padding:9px 0;border-bottom:1px solid #444;font-size:1.05rem;line-height:1.4}
.uev-t li:first-child{font-family:"Abril Fatface",serif;color:var(--gold);font-size:1.2rem}
@media (max-width:760px){.ugrid{grid-template-columns:minmax(0,1fr)}}
@media (max-width:460px){.uev{grid-template-columns:minmax(0,1fr)}}

/* current event: room between the words and the Get directions button */
.feat>div>p:last-child{margin-top:26px}
.feat>div>[hidden]+p{margin-top:26px}
