.gallery-page .primary-nav a[aria-current="page"] { color: var(--ink); }
.gallery-page .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.gallery-hero { background: var(--paper); border-bottom: 1px solid var(--line); }
.gallery-hero__inner { min-height: 575px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr); gap: clamp(40px, 7vw, 110px); align-items: stretch; }
.gallery-hero__copy { padding: clamp(82px, 9vw, 138px) 0 90px; align-self: center; }
.gallery-hero h1 { max-width: 720px; font-size: clamp(4rem, 7vw, 7.8rem); line-height: .93; }
.gallery-hero h1 em { color: var(--gold); font-weight: 400; }
.gallery-hero__copy > p:not(.eyebrow) { max-width: 560px; margin: 37px 0 0; padding-left: 24px; color: var(--muted); border-left: 2px solid var(--gold); font-size: 1.06rem; line-height: 1.8; }
.gallery-hero__jump { margin-top: 38px; display: inline-flex; align-items: center; gap: 25px; color: var(--gold); font-size: .69rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.gallery-hero__jump span { font-size: 1.25rem; font-weight: 400; }
.gallery-hero__jump:hover, .gallery-hero__jump:focus-visible { color: var(--ink); }
.gallery-hero__panel { min-height: 575px; padding: 42px; display: flex; flex-direction: column; justify-content: space-between; color: var(--white); background: #37312a; border-top: 6px solid var(--gold); }
.gallery-hero__edition { color: var(--gold-light); font-size: .64rem; font-weight: 900; letter-spacing: .27em; text-transform: uppercase; }
.gallery-hero__monogram { align-self: center; color: rgba(213,184,132,.72); font: italic clamp(5rem, 12vw, 10rem)/1 var(--serif); letter-spacing: -.13em; }
.gallery-hero__stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-light); }
.gallery-hero__stats div { padding: 26px 8px 0 0; }
.gallery-hero__stats div + div { padding-left: 22px; border-left: 1px solid var(--line-light); }
.gallery-hero__stats strong { display: block; font: 2.4rem/1 var(--serif); }
.gallery-hero__stats span { display: block; margin-top: 9px; color: #cfc5b7; font-size: .62rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.gallery-section { padding: 110px 0 130px; background: var(--white); }
.gallery-section__heading { margin-bottom: 44px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 8%; align-items: end; }
.gallery-section h2 { font-size: clamp(3.1rem, 5.5vw, 5.8rem); }
.gallery-section__heading > p { max-width: 420px; margin: 0 0 4px; color: var(--muted); line-height: 1.8; }
.gallery-tools { padding: 24px 0; display: grid; grid-template-columns: 1fr 235px; gap: 30px; align-items: center; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.gallery-filters { display: flex; flex-wrap: wrap; gap: 7px; }
.gallery-filter { min-height: 39px; padding: 8px 13px; border: 1px solid var(--line); background: transparent; cursor: pointer; color: #5d564d; font-size: .68rem; font-weight: 800; letter-spacing: .055em; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.gallery-filter:hover, .gallery-filter:focus-visible { border-color: var(--ink); }
.gallery-filter[aria-pressed="true"] { color: var(--white); background: var(--dark); border-color: var(--dark); }
.gallery-search { color: var(--gold); font-size: .62rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.gallery-search input { width: 100%; min-height: 42px; margin-top: 5px; padding: 0 0 4px; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; outline: none; font-size: .85rem; font-weight: 400; letter-spacing: 0; text-transform: none; }
.gallery-search input:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.gallery-search input::placeholder { color: #8c857c; }
.gallery-count { margin: 19px 0 0; color: var(--muted); font-size: .73rem; font-weight: 700; letter-spacing: .06em; }
.gallery-groups { margin-top: 55px; }
.gallery-brand { margin-bottom: 85px; scroll-margin-top: 150px; }
.gallery-brand__heading { margin-bottom: 18px; display: grid; grid-template-columns: 58px 1fr; gap: 22px; align-items: end; }
.gallery-brand__number { align-self: center; color: var(--gold); font: italic 1.45rem var(--serif); }
.gallery-brand__title p { margin: 0 0 2px; color: var(--gold); font-size: .61rem; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.gallery-brand__title h3 { margin: 0; font: 400 clamp(2rem, 3.2vw, 3.25rem)/1.05 var(--serif); letter-spacing: -.045em; }
.gallery-products { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; list-style: none; background: var(--line); border: 1px solid var(--line); }
.gallery-product { min-width: 0; background: var(--paper); }
.gallery-product__art { height: clamp(160px, 18vw, 230px); overflow: hidden; background: #f4f1eb; }
.gallery-product__art img { display: block; width: 100%; height: 100%; padding: 10px; object-fit: contain; }
.gallery-product__text { min-height: 188px; padding: 18px 17px 22px; }
.gallery-product__text > span { color: var(--gold); font-size: .57rem; font-weight: 900; letter-spacing: .17em; text-transform: uppercase; }
.gallery-product h4 { margin: 9px 0 0; font: 1.13rem/1.27 var(--serif); letter-spacing: -.018em; overflow-wrap: anywhere; }
.gallery-product__description { margin: 10px 0 0; color: var(--muted); font-size: .78rem; line-height: 1.5; }
.gallery-loading, .gallery-empty { padding: 70px 20px; color: var(--muted); text-align: center; border: 1px solid var(--line); }
.gallery-empty[hidden] { display: none; }
.gallery-outro { padding: 95px 0; color: var(--white); background: var(--dark); }
.gallery-outro__inner { display: flex; align-items: end; justify-content: space-between; gap: 50px; }
.gallery-outro h2 { font-size: clamp(3rem, 5vw, 5.2rem); }
.gallery-outro p:not(.eyebrow) { max-width: 560px; color: #c7bfb4; }
.gallery-outro .button { flex: 0 0 auto; }

@media (max-width: 1100px) {
  .gallery-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gallery-product__art { height: 210px; }
  .gallery-hero__inner { grid-template-columns: 1fr .8fr; gap: 36px; }
}
@media (max-width: 820px) {
  .gallery-hero__inner { grid-template-columns: 1fr; gap: 0; }
  .gallery-hero__copy { padding: 80px 0 65px; }
  .gallery-hero__panel { min-height: 330px; margin-bottom: 35px; }
  .gallery-hero__monogram { font-size: 7rem; }
  .gallery-section { padding: 85px 0 100px; }
  .gallery-section__heading { grid-template-columns: 1fr; gap: 22px; }
  .gallery-tools { grid-template-columns: 1fr; }
  .gallery-search { max-width: 400px; }
  .gallery-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .gallery-hero h1 { font-size: clamp(3.5rem, 14vw, 5.4rem); }
  .gallery-hero__panel { padding: 28px; }
  .gallery-hero__stats strong { font-size: 1.9rem; }
  .gallery-hero__stats div + div { padding-left: 10px; }
  .gallery-section { padding: 70px 0 80px; }
  .gallery-section h2 { font-size: clamp(2.8rem, 12vw, 4.5rem); }
  .gallery-brand { margin-bottom: 62px; }
  .gallery-brand__heading { grid-template-columns: 36px 1fr; gap: 10px; }
  .gallery-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-product__art { height: 145px; }
  .gallery-product__text { min-height: 190px; padding: 14px 12px 18px; }
  .gallery-product h4 { font-size: .98rem; }
  .gallery-outro { padding: 75px 0; }
  .gallery-outro__inner { display: block; }
  .gallery-outro .button { margin-top: 25px; }
}
@media (max-width: 350px) {
  .gallery-products { grid-template-columns: 1fr; }
  .gallery-product { display: grid; grid-template-columns: 105px 1fr; }
  .gallery-product__art { height: 125px; }
  .gallery-product__text { min-height: 150px; }
}
