/* Gallery page — scoped .gallery-page / .gal-* (mockups: podstrona_gallery/sekcja_1–5.png) */

.gallery-page {
  --gal-gold: #b8973a;
  --gal-gold-deep: #9f8335;
  --gal-gold-soft: #c9a85a;
  --gal-cream: #f5f1e9;
  --gal-ink: #1a1a1a;
  --gal-ink-soft: #3d3a34;
  --gal-radius: 16px;
  --gal-radius-lg: 22px;
  --gal-max: var(--site-content-max);
  background: transparent;
  color: var(--gal-ink);
}

.gal-cap {
  margin: 10px 0 0;
  font-family: var(--type-h5-font-family);
  font-size: var(--type-h5-font-size);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gal-ink-soft);
}

.gal-cap::before {
  content: "— ";
  font-weight: 400;
  color: var(--gal-gold-deep);
}

.gal-cap.gal-cap--ruled {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.6vw, 20px);
  width: 100%;
  margin-top: 14px;
  color: var(--gal-gold-deep);
}

.gal-cap.gal-cap--ruled::before,
.gal-cap.gal-cap--ruled::after {
  content: "";
  flex: 1;
  height: var(--ui-gold-hairline-h);
  background: var(--ui-gold-hairline-soft);
  max-width: min(128px, 14vw);
  opacity: 1;
}

.gal-cap__inner {
  flex-shrink: 0;
  text-align: center;
  max-width: min(420px, 92%);
}

.gal-star-ico {
  display: inline-block;
  width: 7px;
  height: 7px;
  color: var(--gal-gold-deep);
  vertical-align: middle;
}

.gal-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-family: var(--type-h5-font-family);
  font-size: var(--type-h5-font-size);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gal-gold-deep);
  margin: 0 0 12px;
}

.gal-kicker__line {
  flex: 1;
  min-width: 48px;
  max-width: 120px;
  height: var(--ui-gold-hairline-h);
  background: var(--ui-gold-hairline-soft);
}

/* Kreska pod H1 w hero: .page-h1-rule (base.css), wcześniej .gal-rule. */

/* Icon | sep | copy (inspirowane au-place__bar): ten sam charakter co wcześniej na galerii + lekki podział treści */
.gal-bar {
  display: flex;
  align-items: center;
  gap: 0;
}

.gal-bar__icon {
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: clamp(10px, 1.4vw, 14px);
}

.gal-bar__sep {
  flex-shrink: 0;
  width: 1px;
  align-self: stretch;
  margin-right: clamp(10px, 1.4vw, 14px);
}

.gal-bar__copy {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gal-bar__lead {
  margin: 0;
  font-family: var(--type-body-font-family);
  font-size: var(--type-body-font-size);
  font-weight: 600;
  line-height: var(--type-body-line-height);
  letter-spacing: -0.01em;
  color: var(--gal-ink);
}

.gal-bar__text {
  margin: 0;
  color: var(--gal-ink-soft);
}

/* Hero: krem na zdjęciu (jak pierwotny .gal-hero__float) */
.gal-bar--float {
  padding: 14px 16px 16px;
  border-radius: var(--gal-radius);
  background: rgba(253, 250, 244, 0.96);
  border: 1px solid rgba(62, 49, 23, 0.12);
  box-shadow: 0 16px 40px rgba(20, 14, 6, 0.12);
}

.gal-bar--float .gal-bar__icon {
  width: 40px;
  height: 40px;
  background: rgba(184, 151, 58, 0.18);
  color: var(--gal-gold-deep);
  box-shadow: 0 3px 14px rgba(184, 151, 58, 0.15);
}

.gal-bar--float .gal-bar__icon svg {
  width: 20px;
  height: 20px;
}

.gal-bar--float .gal-bar__sep {
  min-height: 36px;
  background: rgba(62, 49, 23, 0.1);
}

.gal-bar--float .gal-bar__text {
  font-family: var(--type-h4-font-family);
  font-style: italic;
  font-size: var(--type-body-sm-font-size);
  line-height: var(--type-body-sm-line-height);
  font-weight: var(--type-body-font-weight);
}

/* Today / art: #ebe6dd jak wcześniej */
.gal-bar--stone {
  border-radius: var(--gal-radius-lg);
  background: #ebe6dd;
  border: 1px solid rgba(62, 49, 23, 0.1);
  box-shadow: var(--shadow-ambient-soft);
}

.gal-bar--stone .gal-bar__icon {
  width: 38px;
  height: 38px;
  background: rgba(184, 151, 58, 0.2);
  color: var(--gal-gold-deep);
  box-shadow: 0 3px 12px rgba(184, 151, 58, 0.12);
}

.gal-bar--stone .gal-bar__icon svg {
  width: 18px;
  height: 18px;
}

.gal-bar--stone .gal-bar__sep {
  min-height: 34px;
  background: rgba(62, 49, 23, 0.12);
}

.gal-bar--stone .gal-bar__text {
  font-family: var(--type-body-font-family);
  font-size: var(--type-body-sm-font-size);
  line-height: var(--type-body-sm-line-height);
  font-weight: var(--type-body-font-weight);
}

/* Hero: copy + feature pod nav (88px) */
.gal-s1 {
  background: var(--surface-cream-f);
}

.gal-fig {
  margin: 0;
  border-radius: var(--gal-radius);
  overflow: hidden;
  border: 1px solid rgba(62, 49, 23, 0.1);
  background: var(--surface-taupe-2);
  box-shadow: 0 12px 32px rgba(20, 14, 6, 0.06);
}

.gal-fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* —— Figure sliders (scroll-snap; touch + desktop) —— */
.gal-fig-slider {
  position: relative;
  width: 100%;
  min-width: 0;
  padding: 0 clamp(40px, 5vw, 52px);
  box-sizing: border-box;
}

.gal-fig-slider--single {
  padding-left: 0;
  padding-right: 0;
}

.gal-fig-slider__viewport {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  grid-template-rows: minmax(0, 1fr);
  align-items: stretch;
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  touch-action: pan-x pinch-zoom;
  scrollbar-width: none;
  border-radius: var(--gal-radius-lg);
  outline: none;
}

.gal-fig-slider__viewport::-webkit-scrollbar {
  display: none;
}

.gal-fig-slider__slide {
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  box-sizing: border-box;
}

.gal-fig-slider__slide > .gal-fig {
  height: 100%;
}

.gal-fig-slider__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(184, 151, 58, 0.5);
  border-radius: 50%;
  background: rgba(250, 247, 240, 0.92);
  color: var(--gal-gold-deep);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(20, 14, 6, 0.08);
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.gal-fig-slider__nav:hover {
  background: rgba(255, 252, 244, 0.98);
  color: var(--gal-gold);
  border-color: rgba(184, 151, 58, 0.75);
}

.gal-fig-slider__nav:focus-visible {
  outline: 2px solid rgba(184, 151, 58, 0.85);
  outline-offset: 3px;
}

.gal-fig-slider__nav--prev {
  left: 0;
}

.gal-fig-slider__nav--next {
  right: 0;
}

.gal-fig-slider__dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  padding: 0 4px 2px;
}

.gal-fig-slider__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(62, 49, 23, 0.22);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.gal-fig-slider__dot[aria-current="true"] {
  background: var(--gal-gold-deep);
  transform: scale(1.2);
}

.gal-fig-slider__dot:focus-visible {
  outline: 2px solid rgba(184, 151, 58, 0.85);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .gal-fig-slider__viewport {
    scroll-behavior: auto;
  }
}

.gal-hero__split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(16px, 2.5vw, 32px);
  align-items: stretch;
  min-height: 0;
}

.gal-hero__copy-header {
  display: flex;
  gap: clamp(16px, 2vw, 24px);
  align-items: flex-start;
  margin-bottom: 8px;
}

.gal-hero__title {
  font-family: var(--hero-h1-font-family);
  font-size: var(--hero-h1-font-size);
  line-height: var(--hero-h1-line-height);
  letter-spacing: var(--hero-h1-letter-spacing);
  font-weight: var(--hero-h1-font-weight);
  margin: 0 0 0;
}

.gal-hero__lead {
  margin: 0 0 10px;
  font-family: var(--type-body-font-family);
  font-size: var(--type-body-font-size);
  line-height: var(--type-body-line-height);
  font-weight: var(--type-body-font-weight);
  color: var(--gal-ink-soft);
  max-width: 38rem;
}

.gal-hero__lead--accent {
  margin: 0 0 18px;
  font-family: var(--type-body-font-family);
  font-size: var(--type-body-font-size);
  line-height: var(--type-body-line-height);
  font-weight: var(--type-body-font-weight);
}

.gal-hero__lead--accent em {
  font-style: italic;
  color: var(--gal-gold-deep);
  font-weight: 500;
}

.gal-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
  margin-top: clamp(18px, 2.5vh, 28px);
  justify-content: center;
}

.gal-hero__feature {
  position: relative;
  border-radius: var(--gal-radius-lg);
  overflow: visible;
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  align-self: stretch;
}

.gal-hero__feature > .gal-fig-slider {
  border-radius: var(--gal-radius-lg);
  margin: 0;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 0 clamp(36px, 4.5vw, 48px);
}

/* Stały „stage” 3:2 — jeden rozmiar slajdu; pion/poziom tylko przez object-fit (bez rozjeżdżania siatki). */
.gal-hero__feature .gal-fig-slider__viewport {
  border-radius: var(--gal-radius-lg);
  flex: none;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 3 / 2;
  max-height: min(58vh, 640px);
  margin-inline: auto;
  min-height: 0;
}

.gal-hero__feature .gal-fig-slider__slide {
  height: 100%;
  align-self: stretch;
}

.gal-hero__feature .gal-fig-slider__slide > .gal-fig {
  border-radius: var(--gal-radius-lg);
  margin: 0;
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.gal-hero__feature .gal-fig-slider__slide > .gal-fig img {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
}

.gal-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-self: stretch;
  min-height: 0;
  height: 100%;
}

.gal-hero__float {
  position: absolute;
  left: 50%;
  bottom: clamp(10px, 2vw, 22px);
  transform: translateX(-50%);
  max-width: min(340px, calc(100% - 24px));
}

@media (min-width: 1101px) {
  .gal-hero__copy .page-h1-rule {
    margin: 8px 0 10px;
  }
}

/* Full HD: hero na całą szerokość okna (treść wyrównana do insetu nawigacji) */
@media (min-width: 1920px) {
  .gal-s1 .gal-inner {
    max-width: none;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .gal-hero__split {
    width: 100%;
    gap: clamp(28px, 2.2vw, 56px);
  }

  .gal-hero__copy {
    padding-left: clamp(32px, 2.7vw, 48px);
    padding-right: clamp(20px, 2vw, 40px);
    box-sizing: border-box;
  }

  .gal-hero__feature {
    border-radius: var(--gal-radius-lg) 0 0 var(--gal-radius-lg);
  }

  .gal-hero__feature .gal-fig-slider__viewport,
  .gal-hero__feature .gal-fig-slider__slide > .gal-fig {
    border-radius: inherit;
    overflow: hidden;
  }
}

/* —— Section 2: The Museum Today —— */
.gal-s2 {
  background: var(--surface-cream-a);
}

.gal-today__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  grid-template-rows: auto;
  gap: clamp(14px, 1.8vw, 22px);
  align-items: stretch;
}

.gal-today__intro {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  padding-right: clamp(8px, 2vw, 16px);
}

.gal-today__title {
  font-family: var(--type-h2-font-family);
  font-size: var(--type-h2-font-size);
  line-height: var(--type-h2-line-height);
  letter-spacing: var(--type-h2-letter-spacing);
  font-weight: var(--type-h2-font-weight);
  margin: 0 0 0;
}

.gal-today__lead {
  margin: 0;
  font-family: var(--type-body-font-family);
  font-size: var(--type-body-font-size);
  line-height: var(--type-body-line-height);
  font-weight: var(--type-body-font-weight);
  color: var(--gal-ink-soft);
  max-width: 28rem;
}

.gal-today__cell {
  margin: 0;
}

.gal-today__cell .gal-fig {
  border-radius: var(--gal-radius-lg);
  height: 100%;
}

.gal-today__cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gal-today__cell--ext {
  grid-column: 2;
  grid-row: 1;
}

.gal-today__cell--ext img {
  aspect-ratio: 21 / 9;
  min-height: 200px;
}

/* —— Section 3: People —— */
.gal-s3 {
  background: var(--surface-cream-c);
}

.gal-people {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.gal-people__aside {
  position: relative;
  padding-left: 4px;
}

.gal-people__title {
  font-family: var(--type-h2-font-family);
  font-size: var(--type-h2-font-size);
  line-height: var(--type-h2-line-height);
  letter-spacing: var(--type-h2-letter-spacing);
  font-weight: var(--type-h2-font-weight);
  margin: 0 0 0;
  max-width: 12em;
}

.gal-people__lead {
  margin: 0 0 28px;
  font-family: var(--type-body-font-family);
  font-size: var(--type-body-font-size);
  line-height: var(--type-body-line-height);
  font-weight: var(--type-body-font-weight);
  color: var(--gal-ink-soft);
  max-width: 28rem;
}

.gal-people__grid {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2.2vw, 28px);
  min-width: 0;
}

.gal-people__row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 18px);
  min-width: 0;
  align-items: start;
}

.gal-people__row--portrait .gal-fig img {
  aspect-ratio: 3 / 4;
  min-height: 200px;
  border-radius: var(--gal-radius-lg);
}

.gal-people__row--wide .gal-fig--wide {
  border-radius: var(--gal-radius);
}

.gal-people__row--wide .gal-fig--wide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: clamp(110px, 16vw, 200px);
  min-height: 96px;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: var(--gal-radius);
}

/* —— Section 4: Artifacts —— */
.gal-s4 {
  background: var(--surface-cream-b);
}

.gal-art {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 44px);
  align-items: stretch;
}

.gal-art__intro {
  min-width: 0;
}

.gal-art__title {
  font-family: var(--type-h2-font-family);
  font-size: var(--type-h2-font-size);
  line-height: var(--type-h2-line-height);
  letter-spacing: var(--type-h2-letter-spacing);
  font-weight: var(--type-h2-font-weight);
  margin: 0 0 0;
}

.gal-art__lead {
  margin: 0;
  font-family: var(--type-body-font-family);
  font-size: var(--type-body-font-size);
  line-height: var(--type-body-line-height);
  font-weight: var(--type-body-font-weight);
  color: var(--gal-ink-soft);
  max-width: 40rem;
}

.gal-art__works {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2vh, 24px);
  min-height: 0;
}

.gal-sel-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

@media (min-width: 900px) {
  .gal-sel-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 24px);
    align-items: stretch;
  }

  .gal-sel-card {
    flex-direction: column;
    align-items: stretch;
    height: 100%;
  }

  .gal-sel-card__media {
    flex: none;
    width: 100%;
    max-width: none;
    aspect-ratio: 4 / 3;
  }

  .gal-sel-card__body {
    flex: 1 1 auto;
    padding: 10px 4px 6px;
  }
}

.gal-art__foot.gal-bar--stone {
  flex: 0 0 auto;
  min-height: clamp(120px, 15vh, 220px);
  padding: clamp(16px, 2vh, 24px) clamp(16px, 2vw, 20px);
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.gal-art__foot.gal-bar--stone .gal-bar__icon {
  align-self: center;
}

.gal-art__foot.gal-bar--stone .gal-bar__copy {
  flex: 0 1 auto;
  max-width: 36rem;
  text-align: center;
  align-self: center;
}

.gal-art__foot.gal-bar--stone .gal-bar__sep {
  align-self: center;
  min-height: 2.5rem;
}

.gal-sel-card {
  display: flex;
  gap: 16px;
  align-items: stretch;
  padding: 14px;
  border-radius: var(--gal-radius-lg);
  background: #f3efe7;
  border: 1px solid rgba(62, 49, 23, 0.1);
  box-shadow: 0 8px 24px rgba(20, 14, 6, 0.05);
}

.gal-sel-card__media {
  flex: 0 0 50%;
  width: 50%;
  max-width: none;
  min-width: 0;
  border-radius: var(--gal-radius);
  overflow: hidden;
}

.gal-sel-card__media img {
  width: 100%;
  height: 100%;
  min-height: 100px;
  object-fit: cover;
  display: block;
}

.gal-sel-card__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 4px 4px 4px 0;
}

.gal-sel-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 14px;
}

.gal-sel-card__h {
  font-family: var(--type-h4-font-family);
  font-size: var(--type-h4-font-size);
  line-height: var(--type-h4-line-height);
  letter-spacing: var(--type-h4-letter-spacing);
  font-weight: var(--type-h4-font-weight);
  margin: 0;
  flex: 1 1 8rem;
  min-width: 0;
}

.gal-sel-card__price {
  margin: 0;
  flex: 0 0 auto;
  text-align: right;
  font-family: var(--type-body-font-family);
  font-size: var(--type-caption-font-size);
  line-height: var(--type-caption-line-height);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  color: var(--gal-gold-deep);
}

.gal-sel-card__spark {
  display: block;
  width: 100%;
  max-width: 11rem;
  height: var(--ui-gold-hairline-h);
  margin: 0;
  flex-shrink: 0;
  background: var(--ui-gold-hairline-soft);
}

.gal-sel-card__p {
  margin: 0;
  font-family: var(--type-body-font-family);
  font-size: var(--type-body-sm-font-size);
  line-height: var(--type-body-sm-line-height);
  font-weight: var(--type-body-font-weight);
  color: var(--gal-ink-soft);
}

.gal-art__foot-cta {
  margin-top: clamp(14px, 2vw, 20px);
  display: flex;
  justify-content: center;
}

/* —— Section 5: Dark CTA —— */
.gal-s5 {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #f3ede3;
}

.gal-s5::before {
  content: "";
  position: absolute;
  inset: -16px;
  z-index: 0;
  background: url("../images/gallery/INTERIOR/Interior%20Upward.png") center / cover no-repeat;
  filter: blur(4px);
  transform: scale(1.06);
  transform-origin: center;
}

.gal-s5::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* Ten sam układ co wcześniej, ale ciemna baza w rgba — widać rozmyte zdjęcie pod spodem */
  background:
    radial-gradient(ellipse 90% 85% at 96% 48%, rgba(184, 151, 58, 0.22), transparent 52%),
    radial-gradient(ellipse 55% 45% at 8% 88%, rgba(255, 255, 255, 0.06), transparent 40%),
    radial-gradient(ellipse 80% 60% at 50% 120%, rgba(40, 32, 20, 0.42), transparent 45%),
    linear-gradient(
      168deg,
      rgba(20, 17, 13, 0.78) 0%,
      rgba(10, 9, 8, 0.85) 55%,
      rgba(18, 16, 14, 0.8) 100%
    );
}

.gal-s5__inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.gal-s5__title {
  font-family: var(--type-h2-font-family);
  font-size: var(--type-h2-font-size);
  line-height: var(--type-h2-line-height);
  letter-spacing: var(--type-h2-letter-spacing);
  font-weight: 400;
  margin: 0 0 0;
  color: #f8f4ec;
}

.gal-s5__lead {
  margin: 0 auto 32px;
  max-width: 36rem;
  font-family: var(--type-body-font-family);
  font-size: var(--type-body-font-size);
  line-height: var(--type-body-line-height);
  font-weight: var(--type-body-font-weight);
  color: rgba(222, 205, 160, 0.78);
}

.gal-s5__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(14px, 2vw, 22px);
}

.gal-cta-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: min(260px, 100%);
  padding: 16px 24px;
  border-radius: 0;
  text-decoration: none;
  font-family: var(--type-body-font-family);
  transition: background var(--motion-150) var(--motion-ease), color var(--motion-150) var(--motion-ease), border-color var(--motion-150) var(--motion-ease);
}

.gal-cta-btn--solid {
  background: #a88b3a;
  border: 1px solid #8f7530;
  color: #1a1408;
}

.gal-cta-btn--solid:hover {
  background: #bd9b42;
}

.gal-cta-btn--solid .gal-cta-btn__sub {
  color: rgba(26, 20, 8, 0.75);
  font-weight: 500;
}

.gal-cta-btn--ghost {
  background: transparent;
  border: 1px solid rgba(184, 151, 58, 0.65);
  color: #dfc98c;
}

.gal-cta-btn--ghost:hover {
  background: rgba(184, 151, 58, 0.1);
}

.gal-cta-btn--ghost .gal-cta-btn__sub {
  color: rgba(196, 172, 118, 0.92);
}

.gal-cta-btn--ghost .gal-cta-btn__top {
  color: #e8d7a8;
}

.gal-cta-btn__top {
  font-family: var(--type-h5-font-family);
  font-size: var(--type-caption-font-size);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gal-cta-btn__sub {
  font-family: var(--type-body-font-family);
  font-size: var(--type-caption-font-size);
  line-height: var(--type-caption-line-height);
}

/* —— Responsive —— */
@media (max-width: 1100px) {
  .gal-s1 .gal-inner {
    display: flex;
    flex-direction: column;
    gap: clamp(12px, 1.8vw, 20px);
  }

  .gal-s1 .gal-hero__split {
    display: flex;
    flex-direction: column;
    gap: clamp(12px, 1.8vw, 20px);
  }

  .gal-s1 .gal-hero__copy {
    height: auto;
  }

  .gal-s1 .gal-hero__feature {
    margin-top: 0;
    z-index: auto;
  }

  .gal-hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .gal-today__grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .gal-today__intro {
    grid-column: 1 / -1;
    grid-row: auto;
    padding-right: 0;
  }

  .gal-today__cell--ext {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .gal-people {
    grid-template-columns: 1fr;
  }

  .gal-people__row--portrait,
  .gal-people__row--wide {
    grid-template-columns: 1fr;
  }

  .gal-people__row--wide .gal-fig--wide img {
    max-height: min(220px, 42vw);
  }
}

@media (max-width: 640px) {
  .gal-s1 {
    --page-section-pad-top: 50px;
  }

  .gal-hero__float {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    max-width: none;
    margin-top: 12px;
  }

  .gal-hero__feature {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .gal-today__grid {
    grid-template-columns: 1fr;
  }

  .gal-sel-card {
    flex-direction: column;
  }

  .gal-sel-card__media {
    width: 100%;
    max-width: none;
    flex: none;
    aspect-ratio: 16 / 10;
  }

  .gal-s5__actions {
    flex-direction: column;
    align-items: stretch;
  }
}
