/* Gallery composition. The existing atelier palette and invitation art lead. */
.storefront-gallery .site-header { min-height: 88px; border-bottom: 0; }
.storefront-gallery .site-header .nav-order { background: var(--ink); color: var(--white); border-radius: 3px; }
.storefront-gallery .hero {
  display: block; width: 100%; max-width: none; padding: 46px max(32px,calc((100vw - 1220px)/2)) 28px;
  background: var(--ink); color: var(--white); overflow: hidden;
}
.storefront-gallery .hero-copy { display: grid; grid-template-columns: 1.45fr 1fr; gap: 56px; align-items: center; }
.storefront-gallery .hero h1 { font-size: clamp(64px,7vw,96px); line-height: .98; letter-spacing: -.03em; color: var(--white); }
.storefront-gallery .hero h1 em { font-style: normal; color: inherit; }
.storefront-gallery .hero .lead { max-width: 41ch; margin: 0 0 24px; color: #e5e8db; font-size: 15px; }
.storefront-gallery .hero .button-row { gap: 18px; }
.storefront-gallery .hero .button.primary { background: var(--white); color: var(--ink); }
.storefront-gallery .hero .text-link { color: var(--white); }
.storefront-gallery .hero :is(button,a):focus-visible { outline-color: var(--white); }
.storefront-gallery .atelier-stage { padding: 0; background: transparent; margin: 34px auto 0; max-width: 1080px; }
.storefront-gallery .stage-artworks { height: 420px; aspect-ratio: auto; margin: 0; }
.storefront-gallery .stage-card { width: 184px; box-shadow: 0 20px 30px #10241740; }
.storefront-gallery .stage-botanical { left: 9%; top: 32px; transform: rotate(-7deg); }
.storefront-gallery .stage-night { width: 208px; left: calc(50% - 104px); top: 0; transform: rotate(0); z-index: 2; }
.storefront-gallery .stage-silk { right: 9%; top: 32px; transform: rotate(7deg); }
.storefront-gallery .stage-card-label { padding: 8px 4px; font-size: 12px; letter-spacing: 0; }
.storefront-gallery .stage-toast { left: 1%; top: auto; bottom: 30px; padding: 12px 16px; }
.storefront-gallery .stage-toast-text small { font-size: 11px; }
.hero-hearts { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-heart { position: absolute; bottom: 0; width: 30px; height: 30px; color: var(--white); opacity: 0; }
.hero-heart:nth-child(1) { left: 3%; }
.hero-heart:nth-child(2) { left: 30%; width: 22px; height: 22px; }
.hero-heart:nth-child(3) { left: 68%; width: 25px; height: 25px; }
.hero-heart:nth-child(4) { left: 94%; }
.storefront-gallery .hero-index { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 24px; border-top: 1px solid #fffef940; padding-top: 22px; }
.storefront-gallery .stage-footer { border: 0; padding: 0; gap: 20px; }
.storefront-gallery .stage-footer > span { font-size: 28px; }
.storefront-gallery .stage-footer i { color: #e5e8db; }
.storefront-gallery .stage-footer p { color: #e5e8db; text-align: left; }
.storefront-gallery .hero-stats { margin: 0; gap: 32px; }
.storefront-gallery .hero-stats dd { flex-direction: row; align-items: baseline; gap: 8px; }
.storefront-gallery .hero-stats dd>span { font-size: 24px; color: var(--white); }
.storefront-gallery .hero-stats small { color: #e5e8db; letter-spacing: 0; }
.storefront-gallery .feature-strip { border: 0; background: var(--surface); }
.storefront-gallery .section-head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: end; }
.storefront-gallery .section-head>p,.storefront-gallery .section-head .collection-intro p { margin-top: 0; max-width: 42ch; }
.storefront-gallery .collection-switcher { gap: 12px; border: 0; padding: 3px 3px 12px; margin: 0 -3px 30px; }
.storefront-gallery .collection-switcher button { display: flex; align-items: center; justify-content: flex-start; gap: 14px; flex: 1; min-width: 190px; text-align: left; padding: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 3px; }
.storefront-gallery .collection-switcher button img { width: 44px; height: 62px; object-fit: cover; border-radius: 2px; }
.storefront-gallery .collection-switcher button[aria-pressed=true] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.storefront-gallery .collection-switcher button:last-child { min-width: 130px; flex: .65; justify-content: center; }
.storefront-gallery .wedding-series-head { margin-bottom: 30px; }
.storefront-gallery .wedding-series-head h3 { font-size: 42px; }
.storefront-gallery .wedding-series-grid { grid-template-columns: 1.2fr 1fr 1fr; gap: 30px; align-items: start; }
.storefront-gallery .wedding-card-preview { padding: 28px 36px 58px; background: #e5e8db; }
.storefront-gallery .wedding-card:nth-child(2) { margin-top: 50px; }
.storefront-gallery .wedding-card:nth-child(3) { margin-top: 100px; }
.storefront-gallery .wedding-card:nth-child(2) .wedding-card-preview { background: var(--surface); }
.storefront-gallery .wedding-card:nth-child(3) .wedding-card-preview { background: #ece3df; }
.storefront-gallery .wedding-card .wedding-art { max-width: 100%; }
.storefront-gallery .wedding-card-action { font-size: 12px; }
.storefront-gallery .collection-section { background: var(--white); }
.storefront-gallery .catalog-toolbar { border-top: 0; padding-top: 8px; }
.storefront-gallery .catalog-grid { gap: 28px; }
.storefront-gallery .design-card { background: var(--paper); padding: 12px; border-radius: 3px; }
.storefront-gallery .design-card-info { padding: 18px 8px 10px; }
.storefront-gallery .design-card-info h3 { font-size: 26px; }
.storefront-gallery .design-card-bottom { padding: 12px 8px 2px; }
.storefront-gallery .design-card-bottom .text-link { font-size: 12px; }
.storefront-gallery .design-card-bottom>a { font-size: 11px; }
.storefront-gallery .video-section { background: var(--ink); }
.storefront-gallery .video-card { border: 0; }
.storefront-gallery .package-section { background: var(--surface); }
.storefront-gallery .package-card { padding: 38px; background: var(--white); border: 0; border-radius: 3px; }
.storefront-gallery .package-card.featured { background: var(--ink); color: var(--white); }
.storefront-gallery .package-card.featured :is(h3,.price,.package-tag,.package-intro,li) { color: var(--white); }
.storefront-gallery .package-card.featured .button { background: var(--white); color: var(--ink); }
.storefront-gallery .package-card.featured li::before { color: var(--white); background: var(--white); }
@media (hover:hover) and (pointer:fine) {
  .storefront-gallery .stage-night:hover { transform: translateY(-6px); }
  .storefront-gallery .collection-switcher button:not([aria-pressed=true]):hover { background: #e5e8db; }
  .storefront-gallery .hero .button.primary:hover { background: #e5e8db; }
}
@media (max-width:1050px) {
  .storefront-gallery .hero { padding-inline: 32px; }
  .storefront-gallery .hero-copy { grid-template-columns: 1.2fr 1fr; gap: 32px; }
  .storefront-gallery .hero h1 { font-size: clamp(58px,7.7vw,80px); }
  .storefront-gallery .hero-index { flex-wrap: wrap; }
  .storefront-gallery .wedding-series-grid { gap: 20px; }
  .storefront-gallery .wedding-card-preview { padding: 20px 22px 56px; }
}
@media (max-width:800px) {
  .storefront-gallery .hero { padding-inline: 24px; }
  .storefront-gallery .hero-copy { display: block; }
  .storefront-gallery .hero-introduction { display: flex; gap: 24px; align-items: center; margin-top: 24px; }
  .storefront-gallery .hero .lead { margin: 0; font-size: 14px; }
  .storefront-gallery .hero .button-row { flex-shrink: 0; flex-direction: column; gap: 6px; }
  .storefront-gallery .stage-botanical { left: 3%; }
  .storefront-gallery .stage-silk { right: 3%; }
  .storefront-gallery .section-head { grid-template-columns: 1fr; gap: 18px; }
  .storefront-gallery .wedding-series-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 42%; overflow-x: auto; scroll-snap-type: x mandatory; }
  .storefront-gallery .wedding-card:nth-child(n) { margin-top: 0; }
  .storefront-gallery .wedding-card-preview { padding: 20px 22px 56px; }
}
@media (max-width:600px) {
  .storefront-gallery .site-header { min-height: 76px; }
  .storefront-gallery .hero { padding: 28px 20px 22px; }
  .storefront-gallery .hero h1 { font-size: clamp(42px,12vw,66px); line-height: 1.05; }
  .storefront-gallery .hero-introduction { display: block; margin-top: 20px; }
  .storefront-gallery .hero .lead { margin: 0 0 20px; max-width: 40ch; }
  .storefront-gallery .hero .button-row { flex-direction: row; gap: 16px; }
  .storefront-gallery .hero .button { padding: 12px 14px; }
  .storefront-gallery .atelier-stage { margin-top: 30px; }
  .storefront-gallery .stage-artworks { height: clamp(240px,68vw,350px); }
  .storefront-gallery .stage-card { width: 27%; }
  .storefront-gallery .stage-botanical { left: 0; top: 30px; }
  .storefront-gallery .stage-night { width: 33%; left: 33.5%; top: 0; }
  .storefront-gallery .stage-silk { right: 0; top: 30px; }
  .storefront-gallery .stage-card-label { font-size: 11px; padding: 8px 2px; }
  .storefront-gallery .stage-toast { position: relative; left: auto; bottom: auto; width: fit-content; margin: 14px auto 0; padding: 8px 12px; gap: 8px; }
  .storefront-gallery .stage-toast-check { width: 28px; height: 28px; }
  .storefront-gallery .stage-toast-text strong { font-size: 11px; }
  .storefront-gallery .stage-toast-text small { font-size: 11px; }
  .storefront-gallery .hero-index { gap: 18px; margin-top: 26px; padding-top: 18px; }
  .storefront-gallery .stage-footer { width: 100%; justify-content: space-between; }
  .storefront-gallery .stage-footer>span { font-size: 25px; }
  .storefront-gallery .stage-footer p { text-align: right; font-size: 11px; }
  .storefront-gallery .hero-stats { width: 100%; justify-content: space-between; gap: 12px; }
  .storefront-gallery .hero-stats dd { flex-direction: column; gap: 4px; }
  .storefront-gallery .hero-stats dd>span { font-size: 24px; }
  .storefront-gallery .hero-stats small { font-size: 11px; }
  .storefront-gallery .collection-switcher button { min-width: 158px; gap: 10px; padding: 10px; }
  .storefront-gallery .collection-switcher button img { width: 35px; height: 49px; }
  .storefront-gallery .wedding-series-head h3 { font-size: 34px; }
  .storefront-gallery .wedding-series-grid { grid-auto-columns: 84%; }
  .storefront-gallery .catalog-grid { gap: 20px 12px; }
  .storefront-gallery .design-card { padding: 8px; }
  .storefront-gallery .design-card-info { padding: 14px 4px 8px; }
  .storefront-gallery .design-card-info h3 { font-size: 20px; }
  .storefront-gallery .design-card-bottom { padding-inline: 4px; }
  .storefront-gallery .package-card { padding: 28px; }
}
@media (max-width:360px) {
  /* On the smallest phones the card frame would squeeze the invitation previews until their dates spill out;
     the previews run edge to edge instead. */
  .storefront-gallery .design-card { padding: 0; background: transparent; }
}
@media (prefers-reduced-motion:reduce) { .hero-hearts { display: none; } }
