
    /* --- Full-window image --- */
    .hero {
      position: relative;
      width: 100%;
      /* 100svh = “small viewport height” for mobile browser chrome; 100vh as fallback */
      height: 100vh;
      height: 100svh;
      overflow: clip;
      background: #000; /* prevents white flash while image loads */
	  margin-bottom:10px;
    }
    .hero > img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;       /* fills area without distortion */
      object-position: center; /* adjust if you need to “focus” a subject */
      display: block;
    }
    /* Subtle vignette to help any overlaid elements (kept minimal) */
    .hero::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(to bottom, rgba(0,0,0,.15), rgba(0,0,0,0) 40%);
      pointer-events: none;
    }

    /* --- Content section below the image --- */
    .section {
      padding: clamp(8px, 1vw, 16px) 20px;
    }
    .section h1,
.section h2 {
      font-family: "Cinzel Decorative", Georgia, serif; 
  font-size: clamp(2.0rem, 2.5vw, 2.8rem);
  line-height: 1.15;
  margin: 0 0 .4em;
  letter-spacing: .01em;
  color: white;
}

    .section p {
      font-size: clamp(1.0rem, 1.9vw, 1.4rem);
      line-height: 1.7;
      color: #333;
      margin: 0 auto;
	  color:white;
    }


/* Text at the bottom of the image */
.hero-content {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 2.5rem 5vw 3rem;
  color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,.7), rgba(0,0,0,0));
	/* Center text block */
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 35vh;
}

.hero-content h1,
.hero-content h2 {
      font-family: "Cinzel Decorative", Georgia, serif; 
  font-size: clamp(2.0rem, 2.5vw, 2.8rem); /* bigger headings */
  margin-bottom: .5rem;
  letter-spacing: 0.04em;
}


.hero-content p {
  max-width: 50rem;
  font-size: clamp(1.5rem, 2.5vw, 1.9rem); /* bigger paragraph on image */
  line-height: 1.6;
  text-shadow: var(--text-outline);
  font-style: italic;
	
}
.container2 {
  /* 70% of viewport width, but never wider than 960px */
  width: min(70vw, 960px);
  margin: 0 auto;
  padding-top: clamp(2.5rem, 4vw, 4rem);
  padding-bottom: clamp(.25rem, .5vw, .5rem);
  color: #fff;
  text-align: center;
  position: relative;
}
.container {
  /* 70% of viewport width, but never wider than 960px */
  width: min(70vw, 960px);
  margin: 0 auto;
  padding: clamp(2.5rem, 4vw, 4rem) 3vw;
  color: #fff;
  text-align: center;
  position: relative;
}

/* subtle divider lines above and below the copy */
.container::before,
.container::after {
  content: "";
  position: absolute;
  left: 50%;
  width: min(160px, 60%);
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
  transform: translateX(-50%);
}

.container::before {
  top: 1.2rem;
}

.container::after {
  bottom: 1.2rem;
}


/* ===== Uniform-height, expandable gallery (images + videos) ===== */

.gallery-grid{ display: grid;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: var(--row);  /* every tile same height */
  grid-auto-flow: dense;       /* packs items tightly */
  gap: var(--gap);
  max-width: 1240px;
  margin: clamp(8px,1vw,16px) auto;
  padding: 0 clamp(14px,2vw,24px);
}

/* Mobile: single column & shorter rows */
@media (max-width: 699px){
  .gallery-grid{
    grid-template-columns: 1fr;
    grid-auto-rows: 350px;     /* tweak mobile tile height here */
  }
}

/* Base tile */
.gallery-grid .tile{
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #000;            /* good backdrop for videos */
  grid-row: span 1;
  min-width: 0;                /* prevent overflow in grid */
  cursor: zoom-in;
}

/* Media in tiles: images + videos share layout rules */
.gallery-grid .tile > img{
  width: 100%;
  height: 100%;
  object-fit: cover;           /* fills tile, cropping when needed */
  object-position: center center;
  display: block;
  transform: scale(1.001);
  transition: transform .35s ease;
}
.gallery-grid .tile > video{
  width: 100%;
  height: 100%;
  object-fit: cover;           /* fills tile, cropping when needed */
  object-position: center center;
  display: block;
  transform: scale(1.0);
  transition: transform .35s ease;
}

/* Hover zoom (desktop) */
.gallery-grid .tile:hover > img,
.gallery-grid .tile:hover > video{
  transform: scale(1.03);
}

/* Caption bar */
.gallery-grid .tile figcaption{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: clamp(12px,1.2vw,20px) clamp(14px,1.6vw,24px);
  color: #fff;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0,0,0,.6);
  font-size: clamp(1rem, .45vw + 1rem, 1.125rem);
  background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0) 55%);
  pointer-events: none; /* don’t block clicks on tile */
}

/* Width utilities (desktop/tablet) */
@media (min-width: 700px){
  .gallery-grid .w-12{ grid-column: span 12; }
  .gallery-grid .w-8 { grid-column: span 8;  }
  .gallery-grid .w-7 { grid-column: span 7;  }
  .gallery-grid .w-6 { grid-column: span 6;  }
  .gallery-grid .w-5 { grid-column: span 5;  }
  .gallery-grid .w-4 { grid-column: span 4;  }
}

/* Mobile: all tiles full width */
@media (max-width: 699px){
  .gallery-grid .tile{ grid-column: 1 / -1; }
}

/* Optional: make the whole tile a link if you use .tile-link */
.gallery-grid .tile .tile-link{
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
}

/* Keyboard focus ring for accessibility */
.gallery-grid .tile .tile-link:focus-visible{
  outline: 3px solid #5aa9ff;
  outline-offset: 3px;
  border-radius: inherit;
}

/* ===== Expanded / fullscreen view ===== */

.gallery-grid .tile.is-expanded{
  position: fixed;
  inset: 0;
  z-index: 9999;
  width: 100vw;
  height: 100vh;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  background: rgba(0,0,0,.95);
  display: block;
  cursor: zoom-out;
}

/* Media when expanded: show full image/video (no cropping) */
.gallery-grid .tile.is-expanded > img,
.gallery-grid .tile.is-expanded > video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  transform: none;
  transition: none;
}

/* Caption in expanded view */
.gallery-grid .tile.is-expanded figcaption{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0) 55%);
  padding: clamp(12px,1.2vw,20px) clamp(14px,1.6vw,24px);
  text-align: center;
  color: #fff;
  pointer-events: none;
}

/* Disable body scroll while an item is expanded */
body.no-scroll{
  overflow: hidden;
}

/* Respect reduced motion users */
@media (prefers-reduced-motion: reduce){
  .gallery-grid .tile > img,
  .gallery-grid .tile:hover > img,
  .gallery-grid .tile > video,
  .gallery-grid .tile:hover > video{
    transition: none;
  }
}
/* ===== Video gallery grid (namespaced) ===== */
/* Only difference vs .gallery-grid: row height is 100vh */
.gallery-grid-vid{

  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: var(--rowv);
  grid-auto-flow: dense;
  gap: var(--gap);
  max-width: 1240px;
  margin: clamp(8px,1vw,16px) auto;
  padding: 0 clamp(14px,2vw,24px);
}

/* Mobile: single column & shorter rows */
@media (max-width: 699px){
  .gallery-grid-vid{
    grid-template-columns: 1fr;
    grid-auto-rows: 500px;     /* tweak if you want taller on mobile */
  }
}

/* Base tile */
.gallery-grid-vid .tile{
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #000;
  grid-row: span 1;
  min-width: 0;
  cursor: zoom-in;
}

/* Media */
.gallery-grid-vid .tile > img,
.gallery-grid-vid .tile > video{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transform: scale(1.001);
  transition: transform .35s ease;
}

/* Hover zoom */
.gallery-grid-vid .tile:hover > img,
.gallery-grid-vid .tile:hover > video{
  transform: scale(1.03);
}

/* Caption */
.gallery-grid-vid .tile figcaption{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: clamp(12px,1.2vw,20px) clamp(14px,1.6vw,24px);
  color: #fff;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0,0,0,.6);
  font-size: clamp(1rem, .45vw + 1rem, 1.125rem);
  background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0) 55%);
  pointer-events: none;
}

/* Width utilities (desktop/tablet) */
@media (min-width: 700px){
  .gallery-grid-vid .w-12{ grid-column: span 12; }
  .gallery-grid-vid .w-8 { grid-column: span 8;  }
  .gallery-grid-vid .w-7 { grid-column: span 7;  }
  .gallery-grid-vid .w-6 { grid-column: span 6;  } /* <-- used for 6+6 */
  .gallery-grid-vid .w-5 { grid-column: span 5;  }
  .gallery-grid-vid .w-4 { grid-column: span 4;  }
}

/* Mobile: all tiles full width */
@media (max-width: 699px){
  .gallery-grid-vid .tile{ grid-column: 1 / -1; }
}

/* Optional: make whole tile a link */
.gallery-grid-vid .tile .tile-link{
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
}

/* Focus ring */
.gallery-grid-vid .tile .tile-link:focus-visible{
  outline: 3px solid #5aa9ff;
  outline-offset: 3px;
  border-radius: inherit;
}

/* ===== Expanded / fullscreen view ===== */
.gallery-grid-vid .tile.is-expanded{
  position: fixed;
  inset: 0;
  z-index: 9999;
  width: 100vw;
  height: 100vh;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  background: rgba(0,0,0,.95);
  display: block;
  cursor: zoom-out;
}

.gallery-grid-vid .tile.is-expanded > img,
.gallery-grid-vid .tile.is-expanded > video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  transform: none;
  transition: none;
}

.gallery-grid-vid .tile.is-expanded figcaption{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0) 55%);
  padding: clamp(12px,1.2vw,20px) clamp(14px,1.6vw,24px);
  text-align: center;
  color: #fff;
  pointer-events: none;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .gallery-grid-vid .tile > img,
  .gallery-grid-vid .tile:hover > img,
  .gallery-grid-vid .tile > video,
  .gallery-grid-vid .tile:hover > video{
    transition: none;
  }
}

