/* A full-bleed campaign with a quiet, frosted information layer. */
.hero.hero-glass {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(700px, calc(100svh - 88px), 1020px);
  height: auto;
  max-height: none;
  padding: clamp(28px, 4vw, 64px);
  overflow: hidden;
  background: #e8e8ea;
  color: #1d1d1f;
}
.hero-glass .hero-gallery-frame {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  touch-action: pan-y pinch-zoom;
  user-select: none;
  -webkit-user-select: none;
}
.hero-glass .hero-gallery-frame:focus-visible {
  outline: 3px solid #254bba;
  outline-offset: -7px;
}
.hero-glass .hero-slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  background: #e8e8ea;
}
.hero-glass .hero-slide.is-current { z-index: 1; opacity: 1; visibility: visible; }
.hero-glass .hero-slide.is-leaving { z-index: 2; opacity: 1; visibility: visible; pointer-events: none; }
.hero-glass .hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--image-focus, 50% 48%);
  pointer-events: none;
  -webkit-user-drag: none;
}
.hero-glass-content {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: 1792px;
  margin: 260px auto 0;
  pointer-events: none;
}
.hero-glass .glass-panel {
  pointer-events: auto;
  border: 1px solid rgba(255, 255, 255, .56);
  border-radius: 32px;
  background: rgba(249, 249, 251, .94);
  box-shadow: 0 12px 50px rgba(28, 33, 47, .06), inset 0 1px 0 rgba(255, 255, 255, .45);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .hero-glass .glass-panel {
    background: rgba(249, 249, 251, .44);
    -webkit-backdrop-filter: blur(18px) saturate(120%);
    backdrop-filter: blur(18px) saturate(120%);
  }
}
.hero-glass .hero-copy {
  flex: 0 1 580px;
  min-width: 0;
  min-height: 0;
  padding: clamp(26px, 2.6vw, 40px);
}
.hero-glass .eyebrow { font-size: 11px; letter-spacing: .12em; color: #343438; }
.hero-glass h1 {
  margin: 20px 0 18px;
  font-size: clamp(40px, 3.65vw, 58px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.055em;
}
.hero-glass h1 .line { overflow: visible; }
.hero-glass .hero-description { font-size: 16px; line-height: 1.75; color: #29292f; }
.hero-glass .hero-link {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  min-height: 46px;
  margin-top: 24px;
  padding: 12px 20px;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 999px;
  background: rgba(255, 255, 255, .42);
  box-shadow: 0 2px 9px rgba(23, 24, 29, .035);
  color: #202025;
  font-size: 14px;
  font-weight: 600;
  transition: background .2s, box-shadow .2s;
}
.hero-glass .hero-link:hover { background: #fff; box-shadow: 0 4px 14px rgba(23, 24, 29, .07); }
.hero-glass .hero-gallery-controls { flex: 0 1 430px; min-width: 360px; padding: 15px 18px 18px; border-radius: 26px; }
.hero-glass .hero-gallery-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 12px; margin-bottom: 9px; }
.hero-glass .hero-gallery-title { font-size: 13px; font-weight: 600; line-height: 1.5; }
.hero-glass .hero-gallery-tools { display: flex; align-items: center; gap: 8px; }
.hero-glass .hero-gallery-count { font: 11px/1.5 Arial, sans-serif; letter-spacing: .035em; color: #505056; font-variant-numeric: tabular-nums; }
.hero-glass .hero-gallery-nav { display: flex; gap: 2px; }
.hero-glass .hero-gallery-nav button,
.hero-glass .hero-gallery-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  min-height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .35);
  color: #36363c;
  font: 20px/1 Arial, sans-serif;
  cursor: pointer;
  transition: background .2s;
}
.hero-glass .hero-gallery-nav button:hover,
.hero-glass .hero-gallery-play:hover { background: rgba(255, 255, 255, .9); }
.hero-glass .hero-gallery-play i { display: block; width: 8px; height: 10px; border-inline: 2px solid currentColor; }
.hero-glass .hero-gallery-play[aria-pressed="true"] i { width: 0; height: 0; border: 5px solid transparent; border-right: 0; border-left: 7px solid currentColor; margin-left: 2px; }
.hero-glass .hero-gallery-thumbs { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 7px; padding: 3px; }
.hero-glass .hero-gallery-thumb { display: block; position: relative; min-width: 0; aspect-ratio: 1; padding: 0; border: 0; border-radius: 10px; background: #eee; overflow: hidden; cursor: pointer; opacity: .64; transition: opacity .2s, box-shadow .2s; }
.hero-glass .hero-gallery-thumb[aria-pressed="true"] { opacity: 1; box-shadow: 0 0 0 2px #45464a, 0 0 0 4px rgba(255, 255, 255, .7); }
.hero-glass .hero-gallery-thumb:hover { opacity: 1; }
.hero-glass .hero-gallery-thumb img { pointer-events: none; object-fit: cover; }
.hero-glass .hero-gallery-progress { height: 2px; margin: 12px 3px 0; background: rgba(43, 46, 56, .12); border-radius: 2px; overflow: hidden; }
.hero-glass .hero-gallery-progress span { display: block; height: 100%; background: #5c6373; transform: scaleX(0); transform-origin: left; }
.hero-glass :is(button, a):focus-visible { outline: 2px solid #254bba; outline-offset: 4px; }
.hero-glass [hidden] { display: none !important; }
.gallery-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
/* The information stays still while the campaign changes underneath it. */
.motion-enabled .hero-glass h1 .line > span,
.motion-enabled .hero-glass .hero-description,
.motion-enabled .hero-glass .hero-link { animation: none; }
.motion-enabled .hero-glass .hero-copy { animation: glass-arrive 1s cubic-bezier(.2, .65, .2, 1) both; }
@keyframes glass-arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (min-width: 1800px) { .hero-glass .hero-copy { flex-basis: 640px; } }
@media (max-width: 1100px) and (min-width: 761px) {
  .hero.hero-glass { padding: 28px; }
  .hero-glass-content { gap: 16px; }
  .hero-glass .hero-copy { padding: 26px; }
  .hero-glass h1 { font-size: clamp(32px, 3.6vw, 40px); }
  .hero-glass .hero-description { font-size: 14px; }
  .hero-glass .hero-gallery-controls { flex-basis: 300px; min-width: 270px; padding: 12px 14px 16px; }
  .hero-glass .hero-gallery-meta { gap: 3px; }
  .hero-glass .hero-gallery-title { flex-basis: 100%; }
  .hero-glass .hero-gallery-tools { width: 100%; justify-content: space-between; }
  .hero-glass .hero-gallery-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero-glass .hero-gallery-thumb { aspect-ratio: 1.35; }
}
@media (max-width: 760px) {
  .hero.hero-glass { min-height: calc(100svh - 74px); padding: 22px; }
  .hero-glass-content { flex-direction: column; align-items: stretch; gap: 12px; margin-top: clamp(260px, 35svh, 380px); max-width: 570px; }
  .hero-glass .hero-copy { flex: auto; width: 100%; padding: 25px 26px; border-radius: 28px; }
  .hero-glass .eyebrow { font-size: 10px; }
  .hero-glass h1 { font-size: clamp(30px, 7.6vw, 44px); margin: 15px 0 14px; }
  .hero-glass .hero-description { font-size: 14px; line-height: 1.7; }
  .hero-glass .hero-link { margin-top: 20px; min-height: 44px; padding: 11px 18px; font-size: 13px; }
  .hero-glass .hero-gallery-controls { flex: auto; min-width: 0; width: 100%; padding: 10px 14px 14px; border-radius: 22px; }
  .hero-glass .hero-gallery-thumbs { gap: 6px; }
  .hero-glass .hero-gallery-thumb { border-radius: 8px; min-height: 28px; }
  .hero-glass .hero-gallery-meta { margin-bottom: 7px; }
  .hero-glass .hero-gallery-title { font-size: 12px; }
  .hero-glass .hero-gallery-tools { gap: 5px; }
  .hero-glass .hero-slide img { height: 77%; min-height: 540px; object-position: var(--mobile-focus, 50% 35%); }
  .hero-glass .hero-slide::after { content: ''; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, #e8e8ea 52%); pointer-events: none; }
}
@media (max-width: 620px) { .hero.hero-glass { min-height: calc(100svh - 70px); } }
@media (max-width: 380px) {
  .hero.hero-glass { padding: 16px; }
  .hero-glass .hero-copy { padding: 23px 21px; }
  .hero-glass h1 { font-size: 29px; }
  .hero-glass .hero-gallery-title { font-size: 11px; }
  .hero-glass .hero-gallery-tools { gap: 3px; }
  .hero-glass .hero-gallery-nav button, .hero-glass .hero-gallery-play { width: 30px; min-height: 32px; }
  .hero-glass .hero-gallery-thumbs { gap: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero.hero-glass .hero-slide:not(.is-current) { opacity: 0 !important; visibility: hidden; }
  .hero.hero-glass .hero-slide.is-current { opacity: 1 !important; }
  .hero.hero-glass .hero-gallery-progress span { transform: scaleX(0) !important; }
}
@media (prefers-contrast: more), (prefers-reduced-transparency: reduce) {
  .hero-glass .glass-panel { background: #f7f7f9; border-color: #757579; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .hero-glass .hero-gallery-thumb { opacity: 1; }
}
