.site-nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 38px); }
.gallery-page { min-height: 100vh; padding: 82px 8% 100px; background: #e9e8d9; color: #203c30; }
body:has(.gallery-page) > .topbar { position: relative; inset: auto; padding-top: 20px; padding-bottom: 20px; background: #122b22; }
.gallery-page .gallery-heading { padding-top: 18px; }
.gallery-heading { width: min(100%, 1240px); margin: 0 auto 48px; }
.gallery-heading .eyebrow { color: #73816d; }
.gallery-heading h1 { margin: 22px 0 17px; font: 500 clamp(48px, 7vw, 88px)/.98 'Playfair Display', serif; letter-spacing: -.05em; }
.gallery-heading h1 em { color: #63805e; font-weight: 500; }
.gallery-intro { max-width: 470px; margin: 0; color: #536552; font-size: 13px; line-height: 1.8; }
.activity-feature { position: relative; isolation: isolate; width: min(100%, 1240px); margin: 0 auto 75px; padding: clamp(22px, 4vw, 48px); border: 1px solid #91a36d55; border-radius: 10px; background: linear-gradient(145deg, #19392c, #122b22 78%); box-shadow: 0 18px 45px #071a1226; transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .35s ease, box-shadow .35s ease; }
.activity-feature::before { content: ''; position: absolute; z-index: -1; inset: -2px; border-radius: 12px; background: linear-gradient(135deg, #c8db934d, #628a591a 48%, #c8db9333); opacity: .55; transition: opacity .35s ease; }
.activity-feature::after { content: ''; position: absolute; z-index: -1; inset: 0; border-radius: inherit; background: linear-gradient(135deg, #c8db9320, transparent 54%, #628a591c); filter: blur(18px); opacity: .6; pointer-events: none; }
.activity-feature:hover { transform: translateY(-4px); border-color: #c8db9380; box-shadow: 0 24px 52px #071a1240; }
.activity-feature:hover::before { opacity: .9; }
.activity-copy { max-width: 740px; margin-bottom: 27px; }
.activity-kicker { margin: 0 0 14px; color: #c8db93; font-size: 9px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
.activity-copy h2 { margin: 0 0 15px; color: #f1eee4; font: 500 clamp(32px, 4.2vw, 54px)/1.06 'Playfair Display', serif; letter-spacing: -.035em; }
.activity-copy h2 em { color: #c8db93; font-weight: 500; }
.activity-copy > p:last-child { max-width: 640px; margin: 0; color: #d2dbcf; font-size: 12px; line-height: 1.8; }
.activity-photos { display: flex; gap: 5px; height: clamp(210px, 33vw, 410px); padding: 6px; overflow: hidden; border-radius: 9px; background: #10271f; }
.activity-photo { position: relative; min-width: 0; flex: 1 1 0; margin: 0; overflow: hidden; border: 1px solid #c8db9355; border-radius: 5px; background: #18352a; cursor: pointer; transition: flex .5s cubic-bezier(.2,.8,.2,1), border-color .3s ease, box-shadow .3s ease; }
.activity-photo:hover,.activity-photo:focus-visible { flex: 4 1 0; border-color: #c8db93; box-shadow: 0 0 17px #c8db9340; outline: none; }
.activity-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.activity-photo:hover img,.activity-photo:focus-visible img { transform: scale(1.025); }
.activity-photo figcaption { position: absolute; top: 50%; left: 50%; min-width: 14em; padding: 8px 12px; border: 1px solid #c8db9370; border-radius: 999px; background: #10271fbd; color: #e0e9c4; text-align: center; text-transform: uppercase; letter-spacing: .1em; font-size: 9px; white-space: nowrap; transform: translate(-50%,-50%) rotate(-90deg); transition: transform .5s cubic-bezier(.2,.8,.2,1), background .3s ease; }
.activity-photo:hover figcaption,.activity-photo:focus-visible figcaption { background: #10271fdc; transform: translate(-50%,-50%) rotate(0); }
.activity-photo--main img { object-position: center 42%; }
.activity-feature--single { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(22px, 4vw, 48px); }
.activity-feature--single .activity-copy { margin: 0; }
.activity-feature-photo { height: clamp(230px, 34vw, 420px); }
.activity-feature-photo img { object-position: center 48%; }
.gallery-subheading { width: min(100%, 1240px); margin: 0 auto 24px; }
.gallery-subheading span { color: #74816f; font-size: 8px; letter-spacing: .16em; text-transform: uppercase; }
.gallery-subheading h2 { margin: 8px 0 0; color: #203c30; font: 500 clamp(25px, 3vw, 36px)/1.1 'Playfair Display', serif; }
.gallery-grid { display: grid; width: min(100%, 1240px); margin: 0 auto; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 260px; gap: 16px; }
.gallery-card { position: relative; min-width: 0; margin: 0; overflow: hidden; background: #cbd0be; }
.gallery-card--tall { grid-row: span 2; }
.gallery-card--wide { grid-column: span 2; }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.gallery-card:hover img { transform: scale(1.045); }
.gallery-card::after { content: ''; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, #10271fd9); pointer-events: none; }
.gallery-card figcaption { position: absolute; z-index: 1; right: 20px; bottom: 19px; left: 20px; display: grid; gap: 7px; color: #f1eee4; }
.gallery-card figcaption span { color: #d4dfc2; font-size: 8px; letter-spacing: .15em; text-transform: uppercase; }
.gallery-card figcaption strong { font: 500 21px/1.15 'Playfair Display', serif; }
.activity-photo:focus-visible,.gallery-card:focus-visible { outline: 2px solid #c8db93; outline-offset: 3px; }
.image-lightbox { position: fixed; inset: 0; width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: auto; padding: 58px 28px 28px; overflow: hidden; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.image-lightbox::backdrop { background: #06130e55; backdrop-filter: blur(9px); }
.image-lightbox img { display: block; width: 100%; height: 100%; object-fit: contain; border: 1px solid #c8db9366; border-radius: 9px; box-shadow: 0 18px 56px #0008; }
.image-lightbox-close { position: absolute; top: 10px; right: 12px; display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid #c8db9366; border-radius: 50%; background: #19392c; color: #f1eee4; font-size: 24px; line-height: 1; cursor: pointer; }
.image-lightbox-close:hover,.image-lightbox-close:focus-visible { border-color: #c8db93; box-shadow: 0 0 16px #c8db9340; outline: none; }
.gallery-note { width: min(100%, 1240px); margin: 38px auto 0; color: #637462; font: italic 500 19px/1.5 'Playfair Display', serif; }
.gallery-footer { margin: 0; }
@media (max-width: 760px) {
  .gallery-page { padding: 46px 7% 76px; }
  .gallery-heading { margin-bottom: 34px; }
  .activity-feature { margin-bottom: 56px; }
  .activity-feature--single { grid-template-columns: 1fr; }
  .activity-feature-photo { height: 260px; }
  .activity-photos { display: grid; grid-template-columns: 1fr 1fr; height: auto; }
  .activity-photo { height: 190px; }
  .activity-photo:hover,.activity-photo:focus-visible { flex: initial; }
  .activity-photo figcaption { top: auto; bottom: 10px; left: 10px; min-width: 0; max-width: calc(100% - 20px); padding: 6px 9px; border-radius: 6px; font-size: 7px; text-align: left; white-space: normal; transform: none; }
  .activity-photo:hover figcaption,.activity-photo:focus-visible figcaption { transform: none; }
  .activity-photo--main { grid-column: span 2; height: 260px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 220px; gap: 11px; }
  .gallery-card--tall { grid-row: span 2; }
  .gallery-card--wide { grid-column: span 2; }
  .gallery-card figcaption { right: 13px; bottom: 14px; left: 13px; }
  .gallery-card figcaption strong { font-size: 18px; }
}
@media (max-width: 480px) {
  .topbar { padding: 18px 6%; }
  .topbar .bloom-search { display: none; }
  .site-nav { gap: 12px; }
  .site-nav .nav-link { font-size: 9px; }
  .gallery-page { padding: 38px 6% 60px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 175px; }
  .gallery-card figcaption strong { font-size: 15px; }
  .gallery-card figcaption span { font-size: 7px; }
}
@media (prefers-reduced-motion: reduce) { .gallery-card img,.activity-feature,.activity-photo,.activity-photo img,.activity-photo figcaption { transition: none; } .activity-feature:hover,.activity-photo:hover img { transform: none; } }
