/*-- -------------------------- -->
<---          Landing           -->
<--- -------------------------- -*/
/* Mobile */
@media only screen and (min-width: 0em) {
  #int-hero {
    min-height: 50vh;
    background: url("/images/shawn-hero.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
  }
  #int-hero:before {
    content: '';
    position: absolute;
    display: block;
    height: 100%;
    width: 100%;
    opacity: .5;
    top: 0;
    left: 0;
    z-index: -1;
  }
  #int-hero h1 {
    color: #fff;
    font-size: 3.2em;
    text-align: center;
    margin: 0;
    position: relative;
  }
  #int-hero h1:before {
    content: '';
    position: absolute;
    display: block;
    height: 200%;
    width: 50%;
    background: transparent;
    border: 0.15625em solid var(--primary);
    opacity: .5;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
  }
}
/* Tablet */
@media only screen and (min-width: 48em) {
  #int-hero {
    font-size: 20px;
    background: url("/images/shawn-hero.png");
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
  }
}
/* Small Desktop */
@media only screen and (min-width: 64em) {
  #int-hero {
    min-height: 40em;
    height: 15em;
    margin-top: 7.4em;
    background-position: top;
    background-attachment: fixed;
    font-size: inherit;
  }
}
/*-- -------------------------- -->
<---           About            -->
<--- -------------------------- -*/
/* Mobile */
@media only screen and (min-width: 0em) {
  #about-content .container {
    padding: 0;
    width: 96%;
    margin: auto;
  }
  #about-content .image {
    position: relative;
    width: 100%;
    max-width: 20em;
    height: 20em;
    margin: auto;
    margin-bottom: 2.5em;
  }
  #about-content .image img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
  #about-content .content .topper {
    font-size: 0.7em;
    line-height: 1.35714286;
    color: var(--primary);
    letter-spacing: .06em;
    margin-bottom: 0.42857143em;
    display: block;
    text-transform: uppercase;
    font-weight: bold;
  }
  #about-content .content h2 {
    font-size: 1.8em;
    line-height: 1.16666667;
    color: #000;
    font-weight: 900;
    margin-bottom: 0.66666667em;
    position: relative;
  }
  #about-content .content h2:before {
    content: '';
    position: absolute;
    display: block;
    height: 4.16666667em;
    width: 4.16666667em;
    background: var(--primary);
    opacity: .05;
    top: -1.38888889em;
    left: -1.38888889em;
    z-index: -1;
  }
  #about-content .content .decoration {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 0.9em;
  }
  #about-content .content .decoration img {
    width: 1.5em;
    height: 1.5em;
    display: inline-block;
    margin-right: 0.75em;
  }
  #about-content .content .decoration .line {
    width: 80%;
    height: 1px;
    background: var(--primary);
  }
  #about-content .content p {
    font-size: 0.9em;
    line-height: 1.5;
    color: #595959;
  }
}
/* Tablet */
@media only screen and (min-width: 48em) {
  #about-content {
    padding-top: 5em;
  }
  #about-content .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 57.2em;
  }
  #about-content .image {
    margin: 0;
    max-width: 20em;
  }
  #about-content .content {
    width: 27.5em;
    margin-left: 2.5em;
  }
}
/* Small Desktop */
@media only screen and (min-width: 64em) {
  #about-content .image {
    max-width: 25em;
  }
}
/*-- -------------------------- -->
<---           Staff            -->
<--- -------------------------- -*/
/* Mobile */
@media only screen and (min-width: 0em) {
  #staff {
    padding-top: 5em;
  }
  #staff .container {
    width: 90%;
    margin: auto;
  }
  #staff .topper {
    font-size: 0.7em;
    line-height: 1.35714286;
    color: #0e817c;
    letter-spacing: .06em;
    margin-bottom: 0.42857143em;
    display: block;
    text-transform: uppercase;
    font-weight: bold;
    margin: auto;
    text-align: center;
  }
  #staff h2 {
    font-size: 2.1em;
    line-height: 1em;
    font-weight: 900;
    text-align: center;
    display: block;
    margin-bottom: 0.47619048em;
    position: relative;
  }
  #staff h2:before {
    content: '';
    position: absolute;
    height: 3.57142857em;
    width: 3.57142857em;
    background: var(--primary);
    opacity: .05;
    top: -1.19047619em;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
  }
  #staff .main-p {
    font-size: 0.9em;
    color: #595959;
    text-align: center;
    width: 100%;
    max-width: 35em;
    margin: auto;
    margin-bottom: 3.88888889em;
  }
  #staff .member {
    margin-bottom: 3.75em;
    width: 100%;
    max-width: 20em;
  }
  #staff .member .image {
    position: relative;
    width: 100%;
    max-width: 20em;
    height: 20em;
    margin: auto;
    margin-bottom: 2.5em;
  }
  #staff .member .image img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
  #staff .member .desc {
    border-left: 5px solid var(--primary);
    padding-left: 20px;
  }
  #staff .member h3 {
    font-size: 1.5em;
    line-height: 1.5em;
    margin-bottom: 0em;
  }
  #staff .member .title {
    font-size: 0.8em;
    line-height: 1.6875;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #595959;
    margin-bottom: 1.5em;
    display: block;
  }
}
/* Tablet */
@media only screen and (min-width: 48em) {
  #staff .container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 96%;
    max-width: 57.2em;
    padding: 0;
  }
  #staff .member {
    margin: 0;
    margin-bottom: 5em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: none;
  }
  #staff .member .image {
    width: 40%;
    margin: 0;
    margin-right: 2.5em;
  }
  #staff .member .content {
    width: 60%;
  }
}
/* Small Desktop */
/* Large Desktop */



/* ===============================
   ABOUT PAGE – GALLERY
   =============================== */

/* Section & container */
#lb-cap:empty { display: none; margin-top: 0; }


#about-gallery{
  padding-block: clamp(1.5rem, 4vw, 2.5rem);
}
#about-gallery .container{
  display: block;                          /* don't inherit site grid */
  max-width: min(1200px, 92vw);
  margin-inline: auto;
}

/* Header */
#about-gallery h2{
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  text-align: center;
}
#about-gallery .gallery-intro{
  margin: .5rem 0 1.25rem 0;
  text-align: center;
  opacity: .85;
}

/* Grid of thumbnails */
#about-gallery .gallery-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: clamp(.75rem, 2.5vw, 1rem);
  align-items: stretch;
}

#about-gallery .gallery-item{
  display: block;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #0f0f0f;
  border: 2px solid var(--campaign-yellow, #E8CA00);
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
}

#about-gallery .gallery-item img{
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;                      /* adjust to 3/2 or 1/1 if preferred */
  object-fit: cover;
  transition: transform .25s ease, opacity .25s ease;
}

#about-gallery .gallery-item:hover img{
  transform: scale(1.03);
  opacity: .95;
}

/* Responsive grid tweaks */
@media (max-width: 900px){
  #about-gallery .gallery-grid{
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
}
@media (max-width: 520px){
  #about-gallery .gallery-grid{
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}

/* ===============================
   LIGHTBOX (merged + fixed)
   =============================== */

.lightbox{
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  background: rgba(0,0,0,.85);
  z-index: 9999;                            /* bump higher if header overlaps */
  padding: clamp(12px, 3vw, 24px);
}
.lightbox[aria-hidden="false"]{ display: grid; }

/* Figure sized to viewport */
.lb-figure{
  margin: 0;
  max-width: min(1200px, 92vw);
  max-height: 90vh;                         /* fit within viewport height */
  display: grid;
  place-items: center;
}

/* Image scales to fit; no cropping */
#lb-img{
  display: block;
  max-width: 100%;
  max-height: 90vh;                         /* prevent tall overflow */
  width: auto;
  height: auto;
  object-fit: contain;                      /* no cropping */
  background: #000;                         /* avoids gray behind transparent PNGs */
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,.5);
}

/* Caption */
#lb-cap{
  margin-top: .6rem;
  color: #fff;
  text-align: center;
  opacity: .9;
}

/* Controls */
.lb-close, .lb-prev, .lb-next{
  position: absolute;
  border: none;
  background: rgba(0,0,0,.5);
  color: #fff;
  line-height: 1;
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  padding: .5rem .7rem;
  border-radius: 10px;
  cursor: pointer;
  transition: background .2s ease;
}
.lb-close{ top: 12px; right: 12px; }
.lb-prev{ left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next{ right: 12px; top: 50%; transform: translateY(-50%); }

.lb-close:hover, .lb-prev:hover, .lb-next:hover{
  background: rgba(0,0,0,.7);
}

/* Focus ring */
.lb-close:focus-visible, .lb-prev:focus-visible, .lb-next:focus-visible{
  outline: 3px solid var(--campaign-yellow, #E8CA00);
  outline-offset: 2px;
}
