/* 高階・作品牆：照片像牆一樣排滿（瀑布流），點一張全螢幕放大，可以左右翻（全部用 CSS 的 :target）。 */
.s-wall { --bg: #fff; --bg2: #f5f5f3; --fg: #141414; --muted: #707070; --line: #e6e6e3; --accent: #141414; --on-accent: #fff; --card: #fff;
  --radius: 0; --radius-btn: 0; --h1: clamp(2rem, 5vw, 3.2rem); --wrap: 1400px; }
.hero-wall { text-align: center; }
.hero-wall .wrap { padding-block: clamp(40px, 7vw, 80px) clamp(28px, 4vw, 48px); }
.hero-wall .hero-lede { margin-inline: auto; }
.hero-wall .hero-act { justify-content: center; }
.s-wall .hero-en { letter-spacing: .4em; }
.sec-wall { padding: 0 clamp(6px, 1vw, 12px) var(--sec-pad); }
.masonry { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 46%), 1fr)); grid-auto-rows: 8px; grid-auto-flow: dense; gap: clamp(6px, 1vw, 12px); }
.tile { display: block; position: relative; overflow: hidden; grid-row: span 34; }
.tile:nth-child(4n+2) { grid-row: span 26; }
.tile:nth-child(4n+3) { grid-row: span 40; }
.tile:nth-child(5n) { grid-row: span 30; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s, filter .4s; }
.tile span { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.6));
  font-size: .9rem; opacity: 0; transform: translateY(8px); transition: .35s; }
.tile:hover img { transform: scale(1.05); }
.tile:hover span, .tile:focus span { opacity: 1; transform: none; }
@media (hover: none) { .tile span { opacity: 1; transform: none; } }
/* 放大看 */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(8, 8, 8, .94); display: none; place-items: center; padding: 56px 16px; }
.lightbox:target { display: grid; animation: fadein .25s both; }
.lightbox figure { margin: 0; max-width: min(1100px, 100%); max-height: 100%; display: grid; gap: 12px; justify-items: center; }
.lightbox img { max-height: calc(100vh - 160px); width: auto; object-fit: contain; }
.lightbox figcaption { color: #ddd; font-size: .95rem; text-align: center; }
.lb-close { position: absolute; inset: 0; cursor: zoom-out; }
.lb-close::after { content: "×"; position: absolute; top: 12px; right: 20px; color: #fff; font-size: 2.4rem; line-height: 1; }
.lb-prev, .lb-next { position: absolute; top: 50%; width: 52px; height: 52px; margin-top: -26px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; z-index: 2; }
.lb-prev { left: 16px; } .lb-next { right: 16px; }
.lb-prev::after, .lb-next::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 12px; border: solid #fff; border-width: 0 0 2px 2px; }
.lb-prev::after { transform: translate(-30%, -50%) rotate(45deg); } .lb-next::after { transform: translate(-70%, -50%) rotate(-135deg); }
@keyframes fadein { from { opacity: 0; } }
.s-wall .sec { border-top: 1px solid var(--line); }
.s-wall .sec-h { text-align: center; letter-spacing: .2em; }
.s-wall .price-tb, .s-wall .about, .s-wall .info, .s-wall .days { max-width: 760px; margin-inline: auto; }
.s-wall .sec-act { justify-content: center; }
