:root { --linen: url("/assets/linen.webp"); --canvas: url("/assets/cotton-canvas-v2.webp"); --green: url("/assets/green-weave-v2.webp"); }
* { box-sizing: border-box; }
html { background: #d3bd9a; }
body { margin: 0; color: #18352d; background: #d3bd9a var(--linen) center / 470px auto; font-family: Georgia, serif; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #b35d31; outline-offset: 4px; }
.gallery-header {
  position: relative;
  padding: clamp(90px, 12vw, 150px) 22px clamp(50px, 8vw, 95px);
  color: #f4e8d6;
  background-image: linear-gradient(#0a2923d9, #14352ce0), var(--green);
  background-size: auto, 460px auto;
  box-shadow: 0 6px 13px #3f291b70;
}
.gallery-top-weave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: clamp(35px, 4vw, 52px);
  background: url("/assets/weaving-top-wide.webp") center bottom / cover no-repeat;
  filter: drop-shadow(0 3px 3px #06161180);
}
.gallery-header-inner { max-width: 1120px; margin: auto; }
.gallery-back { display: inline-block; margin-bottom: clamp(30px, 5vw, 58px); color: #f4e8d6; font-size: 16px; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.gallery-eyebrow { margin: 0 0 10px; color: #dfc5a0; font-size: 12px; font-weight: 700; letter-spacing: .2em; }
h1 { margin: 0; font-size: clamp(50px, 8vw, 104px); font-weight: 400; line-height: 1; letter-spacing: -.055em; }
.gallery-deck { max-width: 38rem; margin: 23px 0 0; font-size: clamp(18px, 2.3vw, 25px); line-height: 1.42; }
.gallery-main { max-width: 1170px; margin: auto; padding: clamp(25px, 5vw, 55px) 20px 80px; }
.gallery-hint { margin: 0 0 25px; color: #4f5b4e; font-size: 15px; text-align: center; }
.gallery-grid { columns: 3 280px; column-gap: clamp(15px, 2vw, 25px); }
.gallery-card {
  display: inline-block;
  width: 100%;
  margin: 0 0 clamp(15px, 2vw, 25px);
  padding: 7px;
  break-inside: avoid;
  border: 1px solid #b79d78;
  background: #f5e9d6 var(--canvas) center / 360px auto;
  box-shadow: 0 5px 12px #49331f55;
}
.gallery-card a { display: block; }
.gallery-card img { display: block; width: 100%; height: auto; }
.gallery-return { display: inline-block; margin-top: 35px; color: #173d31; font-size: 17px; text-underline-offset: 4px; }
@media (max-width: 680px) {
  .gallery-top-weave { background-image: url("/assets/weaving-top-mobile.webp"); }
  .gallery-header { padding-top: 78px; }
  .gallery-main { padding-inline: 15px; }
}
