.gallery-page{background:#faf8f4;color:#20313b}.gallery-hero{position:relative;min-height:540px!important;isolation:isolate;display:flex;align-items:end;padding:0!important}.gallery-hero-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 52%;z-index:-2}.gallery-hero:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#101719bb,#10171922);z-index:-1}.gallery-hero-copy{width:min(1180px,86%);margin:auto;padding:180px 0 55px;color:white}.gallery-eyebrow{font:600 11px/1.5 Barlow,sans-serif;letter-spacing:.24em;margin:0 0 20px}.gallery-hero h1{font-size:clamp(48px,6vw,80px);line-height:1.04;margin:0 0 30px;color:white}.gallery-hero-copy>p:last-child{max-width:530px;font-size:17px;line-height:1.7;margin:0}.gallery-categories{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:14px 28px 0}.gallery-category{position:relative;height:305px;border-radius:9px;overflow:hidden;color:white}.gallery-category img{width:100%;height:100%;object-fit:cover}.gallery-category:after{content:'';position:absolute;inset:0;background:linear-gradient(transparent 30%,#000c)}.gallery-category>div{position:absolute;bottom:24px;left:24px;right:14px;z-index:1}.gallery-category h2{font-size:29px;line-height:1.1;color:white;margin:0 0 10px}.gallery-category span{font-size:15px}.gallery-collection{padding:58px 28px 30px;scroll-margin-top:110px}.gallery-heading{max-width:1180px;margin:auto}.gallery-heading .gallery-eyebrow{color:#7D765B}.gallery-heading h2{font-size:60px;line-height:1.05;margin:0 0 25px}.gallery-filters{display:flex;flex-wrap:wrap;gap:12px;margin:0 0 20px}.gallery-filters button{border:1px solid #d8d3c9;border-radius:28px;padding:12px 25px;min-height:46px;background:transparent;color:inherit;font:15px Barlow,sans-serif;cursor:pointer}.gallery-filters button[aria-pressed=true]{background:#7D765B;border-color:#7D765B;color:white}.gallery-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.gallery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.gallery-tile{position:relative;padding:0;border:0;border-radius:8px;overflow:hidden;background:#e5e0d6;cursor:zoom-in;aspect-ratio:1.45}.gallery-tile img{width:100%;height:100%;object-fit:cover}.gallery-tile.portrait img{object-fit:contain}.gallery-tile span{position:absolute;bottom:12px;right:12px;color:white;text-shadow:0 1px 5px #000;font-size:24px}.gallery-tile[hidden],.gallery-more[hidden]{display:none!important}.gallery-more{display:block;margin:28px auto 0;padding:16px 30px;min-height:48px;border:1px solid #7D765B;background:transparent;color:inherit;font:600 11px Barlow,sans-serif;letter-spacing:.16em;text-transform:uppercase;cursor:pointer}.gallery-related{display:flex;flex-wrap:wrap;justify-content:center;gap:15px 30px;padding:12px 25px 35px}.gallery-related a{color:#7D765B;font-size:14px}.gallery-page :focus-visible{outline:3px solid #7D765B;outline-offset:5px}.gallery-lightbox{padding:60px 70px 25px;border:0;background:#171b1b;color:white;width:min(1200px,96vw);height:92vh;max-width:96vw;max-height:96vh}.gallery-lightbox::backdrop{background:#000d}.gallery-lightbox figure{height:100%;margin:0;display:flex;flex-direction:column;align-items:center;gap:14px}.gallery-lightbox figure img{width:100%;min-height:0;flex:1;object-fit:contain}.gallery-lightbox figcaption{text-align:center;font:15px/1.5 Barlow,sans-serif}.gallery-lightbox button{position:absolute;min-width:48px;min-height:48px;border:1px solid #aaa;background:#242b2b;color:white;cursor:pointer;font-size:30px}.gallery-close{right:12px;top:10px}.gallery-prev{left:10px;top:48%}.gallery-next{right:10px;top:48%}.gallery-lightbox:modal{display:block}@media(max-width:1000px){.gallery-hero{min-height:510px!important}.gallery-categories{grid-template-columns:repeat(2,minmax(0,1fr));padding-inline:20px}.gallery-category{height:240px}.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gallery-collection{padding-inline:20px}.gallery-heading h2{font-size:50px}}@media(max-width:600px){.gallery-hero{min-height:460px!important}.gallery-hero-copy{width:calc(100% - 40px);padding:150px 0 40px}.gallery-hero h1{font-size:46px;margin-bottom:24px}.gallery-hero-copy>p:last-child{font-size:15px;line-height:1.65}.gallery-hero-photo{object-position:58% center}.gallery-categories{padding:10px 12px 0;gap:8px}.gallery-category{height:205px}.gallery-category>div{left:14px;bottom:18px}.gallery-category h2{font-size:23px}.gallery-category span{font-size:13px}.gallery-collection{padding:40px 12px 20px}.gallery-heading{padding-inline:8px}.gallery-heading h2{font-size:40px}.gallery-filters{gap:8px}.gallery-filters button{padding:10px 14px;font-size:13px}.gallery-grid{gap:8px}.gallery-tile{aspect-ratio:1.05}.gallery-lightbox{padding:65px 8px 68px;height:85vh}.gallery-prev,.gallery-next{top:auto;bottom:10px}.gallery-lightbox figcaption{font-size:13px}.gallery-more{letter-spacing:.1em;padding:16px 20px}}
/* Editorial typography and readable category actions, scoped to Gallery. */
.gallery-page main h1,.gallery-page main h2{font-family:Georgia,'Times New Roman',serif;font-weight:400}
body.gallery-page .gallery-category{color:#fff}
.gallery-category img,.gallery-tile img{display:block}

/* Unified visual filters — Gallery RO/EN, STAGING, 2026-10-21. */
.gallery-page .gallery-heading .gallery-filters {
  display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:10px;
  margin:0 0 26px; padding:6px 0; color:#173f3b;
}
.gallery-page .gallery-filters > button.gallery-filter {
  box-sizing:border-box; display:flex; min-width:0; min-height:134px; flex-direction:column;
  align-items:stretch; justify-content:flex-start; gap:0; padding:7px; overflow:visible;
  border:1px solid #c9cebd; border-radius:8px; color:#173f3b; background:#fffaf0;
  font:600 13px/1.45 Arial,Helvetica,sans-serif; text-align:center; cursor:pointer;
}
.gallery-page .gallery-filters .gallery-filter img {
  box-sizing:border-box; display:block; width:100%; height:70px; flex:0 0 70px;
  margin:0; border-radius:4px; object-fit:cover; object-position:center;
}
.gallery-page .gallery-filter-label {
  display:flex; min-height:44px; align-items:center; justify-content:center; padding:8px 2px 2px;
  color:inherit; font:inherit; text-wrap:balance; overflow-wrap:break-word;
}
.gallery-page .gallery-filter-overview { display:flex; height:70px; flex:0 0 70px; align-items:center; justify-content:center; color:#967e4b; }
.gallery-page .gallery-filter-overview::before { content:""; width:13px; height:13px; border-radius:1px; background:currentColor; box-shadow:19px 0 0 currentColor,0 19px 0 currentColor,19px 19px 0 currentColor; transform:translate(-9.5px,-9.5px); }
.gallery-page .gallery-filters > button.gallery-filter[aria-pressed="true"] { color:#fffaf0; border-color:#173f3b; background:#173f3b; box-shadow:0 4px 14px #173f3b16; }
.gallery-page .gallery-filter[aria-pressed="true"] .gallery-filter-overview { color:#ecd8aa; }
.gallery-page .gallery-filters > button.gallery-filter:focus-visible { outline:3px solid #a38343; outline-offset:3px; }
@media (hover:hover) and (pointer:fine) {
  .gallery-page .gallery-filters > button.gallery-filter:hover { border-color:#173f3b; box-shadow:0 4px 14px #173f3b16; }
}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  .gallery-page .gallery-filters > button.gallery-filter { transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease; }
  .gallery-page .gallery-filters > button.gallery-filter:hover { transform:translateY(-2px); }
}
@media (max-width:1100px) {
  .gallery-page .gallery-heading .gallery-filters { grid-template-columns:repeat(4,minmax(0,1fr)); }
}
@media (max-width:700px) {
  .gallery-page .gallery-heading .gallery-filters {
    display:flex; flex-wrap:nowrap; gap:10px; overflow-x:auto; overscroll-behavior-x:contain;
    scroll-snap-type:x proximity; scroll-padding-inline:6px; padding:7px 6px 16px; margin-inline:-6px;
    scrollbar-width:thin; scrollbar-color:#9e885b #e8e4d7;
  }
  .gallery-page .gallery-filters > button.gallery-filter { flex:0 0 140px; min-height:134px; scroll-snap-align:start; }
}
@media (prefers-reduced-motion:reduce) {
  .gallery-page .gallery-filters > button.gallery-filter { transition:none; animation:none; }
}

/* Gallery category navigation: photographs with attached editorial captions. */
.gallery-page .gallery-heading .gallery-filters {
  gap:22px 18px; padding:8px 2px 12px; margin-bottom:30px;
}
.gallery-page .gallery-filters > button.gallery-filter,
.gallery-page .gallery-filters > button.gallery-filter[aria-pressed="true"] {
  position:relative; min-height:0; padding:0; gap:0;
  border:0; border-radius:0; background:transparent; color:#263e35;
  box-shadow:none; text-align:left; transform:none;
}
.gallery-page .gallery-filters .gallery-filter img {
  height:104px; flex-basis:104px; border:1px solid #d2c8b3;
  border-radius:12px 12px 0 12px;
  box-shadow:0 4px 12px #233c3509;
}
.gallery-page .gallery-filter .gallery-filter-label {
  position:relative; z-index:1; align-self:flex-end; justify-content:flex-start;
  width:calc(100% - 12px); min-height:52px; margin:-10px 0 0 12px;
  padding:12px 20px 8px 12px; border-left:1px solid #c8b993;
  border-bottom:1px solid #d4cbb8; background:#faf8f4;
  color:#263e35; font:400 17px/1.2 Georgia,'Times New Roman',serif;
  text-align:left; text-wrap:balance;
}
.gallery-page .gallery-filter .gallery-filter-overview {
  position:relative; height:104px; flex-basis:104px; overflow:hidden;
  border:1px solid #d2c8b3; border-radius:12px 12px 0 12px;
  color:#89764c; background:linear-gradient(145deg,#f1ecdd,#e0e4d6);
  box-shadow:inset 0 0 0 5px #fffdf755,0 4px 12px #233c3509;
}
.gallery-page .gallery-filter .gallery-filter-overview::before {
  width:22px; height:17px; border-radius:1px; background:currentColor;
  box-shadow:27px 0 0 #9c9d77,0 22px 0 #bac4b0,27px 22px 0 #657f6e;
  transform:translate(-13.5px,-11px) rotate(-3deg);
}
.gallery-page .gallery-filter .gallery-filter-overview::after {
  content:""; position:absolute; inset:14px 18px; border:1px solid #b4a98d;
  border-radius:2px; transform:rotate(3deg); pointer-events:none;
}
.gallery-page .gallery-filter[aria-pressed="true"] img,
.gallery-page .gallery-filter[aria-pressed="true"] .gallery-filter-overview {
  border-color:#426454; box-shadow:0 0 0 1px #426454;
}
.gallery-page .gallery-filter[aria-pressed="true"] .gallery-filter-label {
  color:#163e34; border-left:3px solid #426454; border-bottom-color:#426454;
  padding-left:10px;
}
.gallery-page .gallery-filter[aria-pressed="true"] .gallery-filter-label::after {
  content:""; position:absolute; right:5px; top:17px; width:5px; height:5px;
  border-radius:50%; background:#977a40;
}
.gallery-page .gallery-filter[aria-pressed="true"] .gallery-filter-overview { color:#4b6a58; }
.gallery-page .gallery-filters > button.gallery-filter:focus-visible {
  outline:2px solid #426454; outline-offset:5px; border-radius:2px;
}
@media(hover:hover) and (pointer:fine) {
  .gallery-page .gallery-filters > button.gallery-filter:hover {
    border-color:transparent; box-shadow:none; transform:none;
  }
  .gallery-page .gallery-filter:hover .gallery-filter-label { border-bottom-color:#426454; }
  .gallery-page .gallery-filter:hover img { border-color:#8f9e8d; }
}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  .gallery-page .gallery-filters > button.gallery-filter { transition:none; }
  .gallery-page .gallery-filter img { transition:border-color .2s ease,box-shadow .2s ease; }
}
@media(max-width:700px) {
  .gallery-page .gallery-heading .gallery-filters {
    gap:16px; padding:8px 6px 18px; margin-bottom:22px;
  }
  .gallery-page .gallery-filters > button.gallery-filter { flex-basis:154px; min-height:0; }
  .gallery-page .gallery-filters .gallery-filter img,
  .gallery-page .gallery-filter .gallery-filter-overview { height:96px; flex-basis:96px; }
  .gallery-page .gallery-filter .gallery-filter-label { min-height:52px; font-size:17px; }
}
@media(prefers-reduced-motion:reduce) {
  .gallery-page .gallery-filter img { transition:none; }
}
/* ALIZ_GALLERY_CATEGORIES_20261022: wrap categories, preserve editorial captions. */
@media (max-width:700px) {
  .gallery-page .gallery-heading .gallery-filters {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    grid-auto-flow:row;
    gap:8px;
    overflow:visible;
    overscroll-behavior:auto;
    scroll-snap-type:none;
    scroll-padding:0;
    padding:6px 0;
    margin-inline:0;
  }
  .gallery-page .gallery-filters > button.gallery-filter {
    flex:none;
    flex-direction:column;
    align-items:stretch;
    justify-content:flex-start;
    gap:0;
    width:100%;
    min-height:0;
    height:auto;
    padding:0;
    text-align:left;
    scroll-snap-align:none;
  }
  .gallery-page .gallery-filters .gallery-filter img,
  .gallery-page .gallery-filter .gallery-filter-overview {
    width:100%;
    height:72px;
    flex:0 0 72px;
  }
  .gallery-page .gallery-filter .gallery-filter-label {
    box-sizing:border-box;
    min-width:0;
    width:calc(100% - 8px);
    min-height:52px;
    margin:-8px 0 0 8px;
    justify-content:flex-start;
    padding:10px 16px 8px 10px;
    font-size:15px;
    line-height:1.3;
    white-space:normal;
    text-align:left;
    text-wrap:balance;
    overflow-wrap:break-word;
  }
}
@media (max-width:359px) {
  .gallery-page .gallery-heading .gallery-filters {
    grid-template-columns:minmax(0,1fr);
  }
  .gallery-page .gallery-filters > button.gallery-filter {
    min-height:0;
  }
}

/* ALIZ_FINAL_GALLERY_ACTIONS_20261022 — readable secondary navigation, generous native targets. */
.gallery-page .gallery-related a {display:inline-flex;align-items:center;min-height:48px;padding:8px 2px;box-sizing:border-box;font-size:16px;line-height:1.4;}
.gallery-page .gallery-more {min-height:48px;font-size:15px;line-height:1.4;letter-spacing:.03em;text-transform:none;}

/* ALIZ_GALLERY_MOBILE_GRID_20261026: one overview row, then three pairs. */
@media (max-width:700px) {
  body.aliz-global-shell.gallery-page .gallery-heading .gallery-filters {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  body.aliz-global-shell.gallery-page .gallery-filters > button.gallery-filter[data-filter="all"] {
    grid-column:1 / -1;
  }
}

/* ALIZ editorial album: #all-photos only. */
#all-photos[data-album="ready"] .gallery-album-frame {
  --album-ink: #244a3d;
  --album-olive: #7d765b;
  --album-line: #d7d1bf;
  --album-paper: #fffdf6;
  --album-space: clamp(13px, 3.2vw, 42px);
  border: 1px solid var(--album-line);
  border-radius: 5px 24px 5px 24px;
  background: linear-gradient(160deg, #f8f5eb, #f7f8f2 45%, #f8f5eb);
  box-shadow: 0 12px 36px #263b2c0b;
}

#all-photos[data-album="ready"] .gallery-album-frame > .gallery-grid {
  padding: var(--album-space);
  align-items: start;
}

#all-photos .gallery-album-chapter {
  grid-column: 1 / -1;
  display: grid;
  gap: clamp(14px, 2vw, 26px);
  min-width: 0;
  padding-block: 0 clamp(15px, 2.8vw, 32px);
}

#all-photos .gallery-album-chapter:last-of-type {
  padding-block-end: 0;
}

#all-photos .gallery-album-chapter-head {
  display: grid;
  grid-template-columns: auto minmax(0, auto) minmax(18px, 1fr);
  gap: clamp(8px, 1.3vw, 18px);
  align-items: center;
  margin-block: clamp(4px, 1.5vw, 18px) 0;
}

#all-photos .gallery-album-chapter-number {
  align-self: center;
  padding: 6px 8px;
  border: 1px solid var(--album-line);
  color: var(--album-olive);
  font: 600 12px/1.15 Barlow, system-ui, sans-serif;
  letter-spacing: .09em;
}

#all-photos .gallery-album-chapter-title {
  margin: 0;
  color: var(--album-ink);
  font: 400 clamp(22px, 3.2vw, 42px)/1.1 Georgia, serif;
  letter-spacing: -.035em;
  text-wrap: balance;
}

#all-photos .gallery-album-rule {
  display: block;
  block-size: 1px;
  background: var(--album-line);
  transform-origin: left;
}

#all-photos .gallery-album-spread {
  display: grid;
  gap: clamp(10px, 1.8vw, 23px);
  align-items: start;
}

#all-photos [data-album-mode="grid"] :is(.gallery-album-chapter, .gallery-album-spread) {
  display: contents;
}

#all-photos [data-album-mode="grid"] .gallery-album-chapter-head {
  display: none;
}

#all-photos[data-album="ready"] .gallery-tile {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  aspect-ratio: auto;
  border: 1px solid var(--album-line);
  border-radius: 13px 4px 12px 4px;
  background: var(--album-paper);
  box-shadow: 0 5px 16px #263b2c0f;
  text-align: start;
  scroll-margin-block-start: 120px;
}

#all-photos .gallery-tile .gallery-album-media {
  display: block;
  position: relative;
  inset: auto;
  overflow: hidden;
}

#all-photos[data-album="ready"] .gallery-tile img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

#all-photos .gallery-tile .gallery-album-open {
  position: absolute;
  inset: 10px 10px auto auto;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #fffdf6b3;
  border-radius: 8px 2px 8px 2px;
  background: #224238ed;
  color: #fffdf6;
  font: 500 18px/1 Barlow, system-ui, sans-serif;
  text-shadow: none;
}

#all-photos .gallery-album-caption {
  display: block;
  padding: 10px clamp(9px, 1.2vw, 17px) 12px;
  border-top: 1px solid #e9e4d7;
  color: var(--album-ink);
  font: 500 clamp(12px, 1.25vw, 16px)/1.35 Barlow, system-ui, sans-serif;
  overflow-wrap: anywhere;
}

#all-photos .gallery-album-end {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
  padding: clamp(20px, 3vw, 32px) var(--album-space);
  border-top: 1px solid var(--album-line);
  border-radius: 0 0 5px 24px;
  background: #e9eee5;
}

#all-photos .gallery-album-end-title {
  margin: 0 0 5px;
  color: var(--album-ink);
  font: 400 clamp(22px, 2.5vw, 32px)/1.12 Georgia, serif;
  letter-spacing: -.02em;
}

#all-photos .gallery-album-tally {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: #4a5e4f;
  font: 600 13px/1.4 Barlow, system-ui, sans-serif;
}

#all-photos .gallery-album-tally .gallery-status {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip-path: none;
  font-variant-numeric: tabular-nums;
}

#all-photos .gallery-album-end .gallery-more {
  margin: 0;
  min-height: 48px;
  border-radius: 4px;
}

@media (hover: hover) {
  #all-photos[data-album="ready"] .gallery-tile:hover {
    border-color: var(--album-olive);
    box-shadow: 0 9px 23px #263b2c24;
  }
}

@media (max-width: 600px) {
  #all-photos .gallery-album-end .gallery-more {
    width: 100%;
  }
  #all-photos .gallery-tile .gallery-album-open {
    inset: 6px 6px auto auto;
    width: 29px;
    height: 29px;
    font-size: 16px;
  }
}

@supports (animation-timeline: view()) and (animation-range: entry 0% cover 28%) {
  @media (prefers-reduced-motion: no-preference) {
    #all-photos .gallery-album-rule {
      animation: aliz-album-horizon linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 28%;
    }
  }
}

@keyframes aliz-album-horizon {
  from { transform: scaleX(.18); }
  to { transform: scaleX(1); }
}
