/* Training photo albums */
.album-feature {
  position: relative;
  display: block;
  margin-top: 42px;
  overflow: hidden;
  border-radius: 24px;
  background: #d9d5cd;
  color: #fff;
  text-decoration: none;
  isolation: isolate;
}

.album-feature-images {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  height: clamp(390px, 43vw, 600px);
}

.album-feature-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transition: transform 600ms ease;
}

.album-feature:hover .album-feature-images img,
.album-feature:focus-visible .album-feature-images img { transform: scale(1.035); }

.album-feature::after {
  position: absolute;
  z-index: 0;
  inset: 35% 0 0;
  content: "";
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.77));
  pointer-events: none;
}

.album-feature-info {
  position: absolute;
  z-index: 1;
  right: clamp(22px, 4vw, 58px);
  bottom: clamp(22px, 4vw, 50px);
  left: clamp(22px, 4vw, 58px);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.album-feature-logo {
  display: grid;
  width: clamp(190px, 24vw, 310px);
  min-height: 86px;
  padding: 22px 27px;
  place-items: center;
  border-radius: 16px;
  background: #fff;
}

.album-feature-logo img { width: 100%; height: auto; }
.album-feature-copy { display: grid; gap: 7px; text-align: right; }
.album-feature-copy strong { font-size: clamp(1.35rem, 2.4vw, 2.15rem); font-weight: 600; letter-spacing: -.045em; line-height: 1.1; }
.album-feature-copy > span { font-size: .83rem; font-weight: 600; }

.shoots-hero,
.album-hero { padding: 170px 0 82px; background: var(--ivory); }
.shoots-hero-inner { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(260px, .65fr); gap: 55px; align-items: end; }
.shoots-hero h1,
.album-hero h1 { max-width: 900px; margin: 0; font-size: clamp(3.2rem, 6.4vw, 6.9rem); font-weight: 500; letter-spacing: -.065em; line-height: 1.02; }
.shoots-hero p:last-child,
.album-hero-description { max-width: 500px; margin: 0; color: var(--muted); font-size: 1.05rem; }
.shoots-list { padding: 0 0 130px; background: var(--ivory); }
.shoots-list .album-feature { margin-top: 0; }
.shoots-list-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

.album-back { display: inline-flex; gap: 10px; align-items: center; margin-bottom: 62px; color: var(--muted); font-size: .82rem; font-weight: 700; text-decoration: none; }
.album-back:hover { color: var(--espresso); }
.album-hero-inner { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(240px, .6fr); gap: 60px; align-items: end; }
.album-hero .eyebrow { margin-bottom: 22px; }
.album-hero-side { display: grid; justify-items: start; gap: 24px; }
.album-brand { width: min(100%, 340px); padding: 24px 30px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.album-brand img { width: 100%; height: auto; }
.album-count { margin: 0; color: var(--muted); font-size: .78rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.album-gallery { padding: 0 0 130px; background: var(--ivory); }
.album-gallery-intro { display: flex; justify-content: space-between; gap: 20px; padding: 23px 0 30px; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
.album-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.album-item { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 5; border-radius: 14px; background: #dedad2; text-decoration: none; }
.album-item--wide { grid-column: span 2; aspect-ratio: 8 / 5; }
.album-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease; }
.album-item:hover img,
.album-item:focus-visible img { transform: scale(1.045); }
.album-item span { position: absolute; right: 12px; bottom: 12px; padding: 7px 11px; border-radius: 999px; background: rgba(10, 10, 10, .7); color: #fff; font-size: .7rem; font-weight: 700; }

.album-lightbox[hidden] { display: none; }
.album-lightbox { position: fixed; z-index: 3000; inset: 0; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; background: rgba(10, 10, 10, .97); color: #fff; }
.album-lightbox-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 28px; }
.album-lightbox-title { font-size: .82rem; font-weight: 700; }
.album-lightbox button { display: grid; width: 48px; height: 48px; padding: 0; place-items: center; border: 1px solid rgba(255,255,255,.32); border-radius: 50%; background: transparent; color: #fff; cursor: pointer; font-size: 1.4rem; }
.album-lightbox button:hover { background: rgba(255,255,255,.15); }
.album-lightbox-stage { display: grid; grid-template-columns: 60px minmax(0, 1fr) 60px; align-items: center; gap: 12px; min-height: 0; padding: 0 26px; }
.album-lightbox-stage img { width: 100%; height: 100%; max-height: calc(100dvh - 170px); object-fit: contain; }
.album-lightbox-caption { margin: 0; padding: 16px 24px 24px; color: rgba(255,255,255,.72); font-size: .8rem; text-align: center; }
body.album-open { overflow: hidden; }
body.album-open .skip-link { visibility: hidden; }

@media (max-width: 900px) {
  .shoots-hero-inner,
  .album-hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .album-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .album-feature { margin-top: 28px; border-radius: 18px; }
  .album-feature-images { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, 1fr); height: 520px; }
  .album-feature-info { align-items: flex-start; flex-direction: column; gap: 15px; }
  .album-feature-logo { width: 185px; min-height: 66px; padding: 16px 20px; }
  .album-feature-copy { text-align: left; }
  .shoots-hero,
  .album-hero { padding: 125px 0 56px; }
  .shoots-hero h1,
  .album-hero h1 { font-size: clamp(2.15rem, 9vw, 2.55rem); letter-spacing: -.03em; line-height: 1.14; }
  .shoots-hero p:last-child,
  .album-hero-description { font-size: 1rem; line-height: 1.7; }
  .album-back { margin-bottom: 38px; }
  .album-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .album-item { border-radius: 10px; }
  .album-item--wide { aspect-ratio: 8 / 5; }
  .album-gallery,
  .shoots-list { padding-bottom: 86px; }
  .album-gallery-intro { flex-direction: column; gap: 4px; }
  .album-lightbox-top { padding: 10px 14px; }
  .album-lightbox-stage { grid-template-columns: 42px minmax(0,1fr) 42px; gap: 2px; padding: 0 6px; }
  .album-lightbox button { width: 40px; height: 40px; }
}
