/* Customer album: responsive public gallery and accessible lightbox. */
.home-album-section { background: linear-gradient(180deg, #f2f6f8, #edf6ff); }
.home-album-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.home-album-card { min-height: 255px; position: relative; overflow: hidden; color: #fff; border-radius: 22px 0 22px 22px; background: #0b437f; box-shadow: 0 16px 38px rgba(10, 63, 127, .14); }
.home-album-card img { height: 100%; position: absolute; inset: 0; transition: transform .6s var(--ease); }
.home-album-card::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(1, 20, 48, .85)); }
.home-album-card span { position: absolute; z-index: 1; right: 16px; bottom: 15px; left: 16px; display: grid; gap: 4px; }
.home-album-card small, .album-card-copy small { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.home-album-card strong { font-size: 17px; line-height: 1.25; }
.home-album-card:hover img, .home-album-card:focus-visible img { transform: scale(1.06); }
.home-album-action { margin-top: 28px; display: flex; justify-content: center; }
.home-album-empty { min-height: 210px; padding: 30px; display: grid; place-items: center; gap: 13px; color: var(--muted); border: 1px dashed rgba(12, 69, 139, .20); border-radius: 28px 0 28px 28px; background: rgba(255, 255, 255, .58); text-align: center; }
.home-album-empty span { color: var(--blue); font-size: 25px; }
.home-album-empty p { max-width: 510px; margin: 0; }
.album-page { min-height: 100vh; }
.album-hero { padding: 190px 0 82px; color: #fff; background: radial-gradient(circle at 85% 10%, rgba(83, 167, 255, .40), transparent 32%), linear-gradient(135deg, #031c48, #0753ad); }
.album-hero > div { max-width: 930px; }
.album-hero .eyebrow { color: #b9dcff; background: rgba(255,255,255,.10); }
.album-hero h1 { max-width: 810px; margin: 20px 0; font-size: clamp(44px, 6vw, 78px); line-height: 1.04; letter-spacing: -.06em; }
.album-hero h1 span { color: #8ac9ff; }
.album-hero p { max-width: 660px; margin: 0; color: rgba(255,255,255,.70); }
.album-content { background: #f7fbff; }
.album-toolbar { margin-bottom: 38px; display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.album-toolbar h2 { margin: 0; font-size: clamp(30px, 4vw, 48px); letter-spacing: -.05em; }
.album-toolbar p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.album-filters { max-width: 100%; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.album-filters a { min-height: 42px; padding: 10px 14px; display: inline-flex; align-items: center; border: 1px solid rgba(12,69,139,.12); border-radius: 999px; color: var(--blue-dark); background: #fff; font-size: 12px; font-weight: 600; }
.album-filters a.is-active { color: #fff; border-color: var(--blue); background: var(--blue); }
.album-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.album-card { overflow: hidden; border-radius: 25px 0 25px 25px; background: #0a407d; box-shadow: 0 16px 42px rgba(10, 63, 127, .13); }
.album-lightbox-trigger { width: 100%; min-height: 340px; position: relative; padding: 0; display: block; overflow: hidden; color: #fff; border: 0; background: transparent; cursor: zoom-in; text-align: left; }
.album-lightbox-trigger > img { position: absolute; inset: 0; height: 100%; transition: transform .65s var(--ease), filter .65s ease; }
.album-card-shade { position: absolute; inset: 38% 0 0; background: linear-gradient(transparent, rgba(1, 18, 43, .88)); }
.album-card-copy { position: absolute; z-index: 1; right: 20px; bottom: 18px; left: 20px; display: grid; gap: 5px; }
.album-card-copy strong { font-size: 21px; line-height: 1.18; }
.album-card-copy > span { color: rgba(255,255,255,.75); font-size: 12px; line-height: 1.55; }
.album-expand { width: 42px; height: 42px; position: absolute; top: 16px; right: 16px; z-index: 1; display: grid; place-items: center; color: #fff; border-radius: 50%; background: rgba(255,255,255,.16); backdrop-filter: blur(8px); font-size: 18px; }
.album-lightbox-trigger:hover > img, .album-lightbox-trigger:focus-visible > img { transform: scale(1.055); filter: brightness(1.08); }
.album-empty { min-height: 360px; padding: 42px 24px; display: grid; place-items: center; align-content: center; gap: 12px; border: 1px dashed rgba(12,69,139,.20); border-radius: 32px 0 32px 32px; background: #fff; text-align: center; }
.album-empty > span { color: var(--blue); font-size: 31px; }
.album-empty h2, .album-empty p { margin: 0; }
.album-empty p { max-width: 540px; color: var(--muted); }
.album-empty .pill { margin-top: 12px; }
.album-lightbox { position: fixed; z-index: 30; inset: 0; padding: 22px; display: grid; place-items: center; overflow-y: auto; color: #fff; background: rgba(1, 15, 36, .86); backdrop-filter: blur(12px); opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.album-lightbox.is-open { opacity: 1; pointer-events: auto; }
.album-lightbox-panel { width: min(100%, 980px); max-height: calc(100vh - 44px); position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(290px, .7fr); overflow: auto; border-radius: 24px 0 24px 24px; background: #062657; box-shadow: 0 32px 90px rgba(0,0,0,.45); transform: translateY(18px) scale(.98); transition: transform .3s var(--ease); }
.album-lightbox.is-open .album-lightbox-panel { transform: translateY(0) scale(1); }
.album-lightbox-panel > img { width: 100%; height: min(72vh, 700px); background: #021631; object-fit: contain; }
.album-lightbox-copy { padding: 70px 28px 30px; align-self: center; }
.album-lightbox-copy p { margin: 0; color: rgba(255,255,255,.67); font-size: 14px; line-height: 1.7; }
.album-lightbox-copy > p:first-child { margin-bottom: 10px; color: #8ac9ff; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.album-lightbox-copy h2 { margin: 0 0 16px; font-size: 34px; line-height: 1.12; letter-spacing: -.04em; }
.album-lightbox-close { width: 46px; height: 46px; position: absolute; z-index: 2; top: 13px; right: 13px; display: grid; place-items: center; color: #fff; border: 1px solid rgba(255,255,255,.22); border-radius: 12px 0 12px 12px; background: rgba(2,20,49,.62); font-size: 29px; cursor: pointer; }
.willy-site.album-lightbox-open { overflow: hidden; }
@media (max-width: 900px) { .home-album-grid { grid-template-columns: repeat(2, 1fr); } .album-toolbar { align-items: flex-start; flex-direction: column; } .album-filters { justify-content: flex-start; } .album-grid { grid-template-columns: repeat(2, 1fr); } .album-lightbox-panel { grid-template-columns: 1fr; } .album-lightbox-panel > img { height: min(60vh, 580px); } .album-lightbox-copy { padding: 24px; } }
@media (max-width: 680px) { .home-album-grid { grid-template-columns: 1fr 1fr; gap: 10px; } .home-album-card { min-height: 190px; border-radius: 18px 0 18px 18px; } .home-album-card span { right: 12px; bottom: 12px; left: 12px; } .home-album-card strong { font-size: 14px; } .album-hero { padding: 130px 0 60px; } .album-hero h1 { font-size: clamp(42px, 12vw, 56px); } .album-toolbar { margin-bottom: 25px; } .album-filters { width: 100%; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 5px; scrollbar-width: none; } .album-filters::-webkit-scrollbar { display: none; } .album-filters a { flex: 0 0 auto; } .album-grid { grid-template-columns: 1fr; gap: 13px; } .album-lightbox-trigger { min-height: 320px; } .album-lightbox { padding: 10px; } .album-lightbox-panel { max-height: calc(100vh - 20px); } .album-lightbox-panel > img { height: min(52vh, 480px); } .album-lightbox-copy { padding: 20px; } .album-lightbox-copy h2 { font-size: 27px; } .album-lightbox-close { top: 10px; right: 10px; } }
@media (prefers-reduced-motion: reduce) { .home-album-card img, .album-lightbox-trigger > img, .album-lightbox, .album-lightbox-panel { transition: none; } }
