:root{
  --ink: #000000;
  --sun: #FECD01;
  --sand: #C1B696;
  --radius: 18px;
}

html { scroll-behavior: smooth; }

body{
font-family: "museo-sans", sans-serif;
font-weight: 300;
font-style: normal;
  color: var(--ink);
}
h1, h2, h3 {
  font-family: "calder-dark-grit", sans-serif;
  font-weight: 400;
  font-style: normal;
}

h4, h5, h6 {
font-family: "museo-sans", sans-serif;
font-weight: 400;
font-style: normal;
}


/* Utility-ish */
.section-pad{
  padding: 72px 0;
}

.section-title{
  letter-spacing: 0.12em;
}

.section-subtitle{
  opacity: 0.75;
  letter-spacing: 0.08em;
  text-transform: none;
}

/* =========================
   Nav + Hero
   ========================= */
.nav-hero-section{
  background: var(--sun);
}

.logo-placeholder{
  width: 150px;
  height: 46px;
  border: 2px solid rgba(37, 40, 46, 0.35);
  border-radius: 10px;
  background: rgba(255,255,255,0.25);
}

.nav-link-custom {
  position: relative;
  font-family: "calder-dark-grit", sans-serif;
  font-weight: 100;
  letter-spacing: 0.04em;
  padding-bottom: 6px;
  color: var(--ink) !important;
}

/* Underline effect */
.nav-link-custom::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background-color: #25282E;
  transition: width 0.3s ease;
}

/* On hover, grow the line */
.nav-link-custom:hover::after {
  width: 100%;
}

/* Keep active link underlined */
.nav-link-custom.active::after {
  width: 100%;
}
.dropdown-toggle::after {
  border-top: 0;
}
.navbar-logo {
  height: 64px;   /* smaller logo */
  width: auto;
  object-fit: contain;
}

.hero-image-wrap{
  position: relative;
}

.hero-image{
  height: clamp(260px, 42vw, 520px);
  object-fit: cover;
  display: block;
}

/* Yellow overlay styling */
.hero-main{
  height: 90vh;
  overflow: hidden;
  position: relative;
}


.happening-copy{
  max-width: 560px;
}

.badge-sun{
  background: rgba(254,205,1,0.25);
  color: var(--ink);
  border: 1px solid rgba(37,40,46,0.18);
  font-weight: 600;
  padding: 10px 12px;
  border-radius: 999px;
}

.poster-frame {
  height: 100%;
  width: 100%;
  overflow: hidden;
}

.poster-image {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* fills height without distortion */
  display: block;
  transition: transform 0.6s ease, filter 0.6s ease;
}


/* Slow pop-out effect */
.poster-frame:hover .poster-image {
  transform: scale(1.06);
}


/* =========================
   Happened (invert on hover)
   ========================= */
.section-dark{
  background: var(--ink);
}

.event-card{
  display: block;
  text-decoration: none;
  overflow: hidden;
  background: var(--ink);
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
  color: #fff;
}

.event-image-wrap img{
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  filter: saturate(0.95) contrast(1.02);
  transition: filter 180ms ease, transform 180ms ease;
}

.event-body{
  padding: 16px 16px 18px;
}

.event-title{
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  margin: 0 0 6px;
  text-transform: uppercase;
}

.event-dates{
  margin: 0;
  opacity: 0.8;
  font-size: 0.9rem;
}

/* Invert behavior */
.event-card:hover{
  background: #fff;
  color: var(--ink);
  border-color: rgba(37,40,46,0.12);
  transform: translateY(-2px);
}

.event-card:hover .event-image-wrap img{
  filter: grayscale(1) contrast(1.05) brightness(0.92);
  transform: scale(1.02);
}

/* Ensure text flips properly */
.event-card:hover .event-title,
.event-card:hover .event-dates{
  color: var(--ink);
}

/* =========================
   Location
   ========================= */
.location-panel{
  background: var(--sand);
  min-height: 420px;
}


.info-block{
  padding: 14px;
}

.info-label{
  letter-spacing: 0.12em;
  font-weight: 700;
  font-size: 0.85rem;
  opacity: 0.8;
}

.info-value{
  font-size: 1.25rem;
  font-weight: 700;
}

.btn-sun{
  background: var(--sun);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 12px 16px;
}

.btn-sun:hover{
  background: #ffd533;
  color: var(--ink);
}

.map-wrap{
  overflow: hidden;
  height: 450px;
}

.map-wrap iframe{
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* =========================
   Footer
   ========================= */
.footer-section{
  background: #000000;
}
.footer-logo-img {
  height: 120px;
  width: auto;
  object-fit: contain;}

.footer-text{
  color: #fff;
  max-width: 820px;
  margin: 0 auto;
  opacity: 0.85;
}

.social-box{
  width: 64px;
  height: 64px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: transparent;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
  font-size: 1.4rem;
}

.social-box:hover{
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.6);
  color: #000;
}

.footer-small{
  color:#fff;
  opacity: 0.8;
}

/* =========================
   HERO SECTION (Single Image)
   ========================= */

.hero-section{
  position: relative;
  height: 90vh;
  overflow: hidden;
}

/* Background image */
.hero-bg{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

/* Dark overlay */
.hero-bg::after{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.20);
}

/* Centered content */
.hero-content{
  position: relative;
  z-index: 5;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}

.hero-title{
  font-size: clamp(2rem, 5vw, 3.5rem);
  text-transform: uppercase;
  letter-spacing: .18em;
  margin-bottom: 20px;
}

.hero-subtitle{
  max-width: 650px;
  font-size: 1.1rem;
  margin-bottom: 28px;
  opacity: .9;
}

/* Minimal button */
.hero-btn{
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid rgba(255,255,255,.8);
  color: #fff;
  text-decoration: none;
  font-size: .85rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: all .25s ease;
}

.hero-btn:hover{
  background: #fff;
  color: #000;
  border-color: #fff;
}

/* Mobile adjustments */
@media (max-width: 768px){
  .hero-section{
    height: 75vh;
  }

  .hero-subtitle{
    font-size: 1rem;
  }
}


.contact-btn {
  display: inline-block;
  padding: 12px 2px;
  color: #FECD01;
  background-color: transparent;
  letter-spacing: .12em;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Hover invert */
.contact-btn:hover {
  background-color: #FECD01;
  color: #ffffff;
}


/* CARDS TOUCH */
.exhibit-row-card{
  margin: 0;
  border-radius: 0;
  background: #fff;
  overflow: hidden;
}

/* IMAGE BIG + FLUSH LEFT */
.exhibit-row-media{
  min-height: 360px;
  max-height: 520px;
  overflow: hidden;
}

.exhibit-row-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .8s ease;
}

.exhibit-row-card:hover .exhibit-row-media img{
  transform: scale(1.06);
}

/* TEXT RIGHT + CENTERED */
.exhibit-row-body{
  width: min(560px, 85%);
  margin-left: auto;      /* pushes text right */
  padding: 60px 60px 60px 40px;
  
  
}

.exhibit-row-title{
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0 0 6px;
}

.exhibit-row-meta{
  opacity: .8;
}


.contact-panel{
  padding: 24px;
  background: #fff;
}

.contact-link-plain{
  color: #25282E;
  text-decoration: none;
}

.contact-link-plain:hover{
  text-decoration: underline;
}

.map-wrap{
  overflow: hidden;
  min-height: 420px;
}

.map-wrap iframe{
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.dropdown-item{
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 600;
  font-size: .85rem;
}

.dropdown-item:active{
  background: #FECD01;
  color: #25282E;
}

/* Publications cards */
.pub-row-card{
  padding: 22px 0;
  border-bottom: 1px solid rgba(37,40,46,.12);
}

.pub-title{
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.pub-meta{
  opacity: .75;
  margin: 0;
}


.social-box{
  width: 45px;
  height: 45px;
  border: 1px solid rgba(37,40,46,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #25282E;
  transition: all .25s ease;
}

.social-box:hover{
  background: #FECD01;
  color: #25282E;
  border-color: #FECD01;
}

.artist-bio{
  padding: 40px 40px 42px;
}

.artist-bio p{
  margin-bottom: 12px;
}

.artist-bio p:last-child{
  margin-bottom: 0;
}

/* Horizontal scrolling rail */
.artist-rail{
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 4px;
}

/* optional: hide scrollbar (still scrolls) */
.artist-rail::-webkit-scrollbar{
  height: 8px;
}

.artist-tile{
  position: relative;
  flex: 0 0 auto;
  width: 260px;               /* tile width */
  height: 340px;              /* tile height */
  overflow: hidden;
  text-decoration: none;
  scroll-snap-align: start;
  border: 1px solid rgba(37,40,46,.10);
}

.artist-tile img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

/* Hover zoom like your poster hover */
.artist-tile:hover img{
  transform: scale(1.05);
}

/* Name overlay appears on hover only */
.artist-name{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 14px;
  background: rgba(37,40,46,.78);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .10em;
  font-size: .85rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease;
}

.artist-tile:hover .artist-name{
  opacity: 1;
  transform: translateY(0);
}

/* Accessibility: show label on keyboard focus too */
.artist-tile:focus-visible .artist-name{
  opacity: 1;
  transform: translateY(0);
}

.artist-scroll-btn{
  position: absolute;
  top: 55%;
  transform: translateY(-50%);
  background: #25282E;
  color: #fff;
  border: none;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: background 0.2s ease;
}

.artist-scroll-btn:hover{
  background: #FECD01;
  color: #25282E;
}

.artist-scroll-btn.left{
  left: -10px;
}

.artist-scroll-btn.right{
  right: -10px;
}
/* Exhibition detail page */
.exhibit-page-mainimg img{
  width: 100%;
  object-fit: cover;
  display: block;
}

.exhibit-hscroll{
  display: flex;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 10px 4px 3rem;
  border-top: 1px solid rgba(37,40,46,.12);
  border-bottom: 1px solid rgba(37,40,46,.12);
}

.exhibit-hscroll::-webkit-scrollbar{ height: 10px; }
.exhibit-hscroll::-webkit-scrollbar-thumb{
  background: rgba(37,40,46,.25);
  border-radius: 999px;
}

.exhibit-hitem {
  flex: 0 0 auto;
  width: min(360px, 78vw);
  max-height: 400px;
  scroll-snap-align: start;
  position: relative;
  text-decoration: none;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}



.exhibit-hitem img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.exhibit-hitem:hover img{
  transform: scale(1.04);
}

/* Hover caption (only shows on hover) */
.exhibit-hcap{
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 10px 12px;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: .85rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .25s ease, transform .25s ease;
}

.exhibit-hitem:hover .exhibit-hcap{
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 576px){
  .exhibit-page-mainimg img{ max-height: 540px; }
  .exhibit-hitem{ height: 200px; }
}
.exhibit-hscroll{
  display:flex;
  gap:14px;
  overflow-x:auto;
  overflow-y:hidden;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
  padding: 10px 4px 14px;
  border-top: 1px solid rgba(37,40,46,.12);
  border-bottom: 1px solid rgba(37,40,46,.12);

  white-space: nowrap;        /* IMPORTANT */
}




.exhibit-hitem:hover img{ transform:scale(1.04); }

.exhibit-hcap{
  position:absolute;
  left:0; bottom:0;
  width:100%;
  padding:10px 12px;
  background:rgba(0,0,0,.55);
  color:#fff;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:.85rem;
  opacity:0;
  transform:translateY(6px);
  transition:opacity .25s ease, transform .25s ease;
}

.exhibit-hitem:hover .exhibit-hcap{
  opacity:1;
  transform:translateY(0);
}
.btn-back-happening{
  display: inline-block;
  padding: 10px 0;
  letter-spacing: .14em;
  text-decoration: none;
  color: #25282E;
  border-bottom: 1px solid #25282E;
  transition: all .25s ease;
}

.btn-back-happening:hover{
  color: #FECD01;
  border-color: #FECD01;
}
.map-wrap{
  position: relative;
  overflow: hidden;
  min-height: 420px;
}

.map-image-link{
  display: block;
  position: relative;
  text-decoration: none;
}

.map-preview-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

.map-image-link:hover .map-preview-img{
  transform: scale(1.04);
}

/* Overlay */
.map-overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .85rem;
  opacity: 0;
  transition: opacity .3s ease;
}

.map-image-link:hover .map-overlay{
  opacity: 1;
}
