/* The autumn edition: a light gallery, purple identity, warm orange details. */
:root[data-palette="purple-nine"] {
  --autumn: #a84e2b;
  --autumn-dark: #78351e;
  --autumn-paper: #f6e8dd;
  --autumn-line: #dfb99f;
}
.site-header .brand-wordmark { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.site-header .brand-anniversary {
  display: inline-flex; align-items: center; gap: 4px; width: max-content; padding: 3px 7px;
  border: 1px solid var(--autumn-line); border-radius: 4px;
  background: var(--autumn-paper); color: var(--autumn-dark);
  font: 600 10px/1.2 var(--font-body); letter-spacing: .075em; white-space: nowrap;
}
.site-header .brand-anniversary strong { font: inherit; }
.site-header .anniversary-star { color: #b78628; font-size: 10px; }
.site-header .brand-logo-plate { border-color: var(--autumn-line); box-shadow: none; }
html[data-palette="purple-nine"] .site-header { border-bottom-color: var(--autumn-line); }
.site-header .nav-link:hover, .site-header .nav-link:focus-visible { text-decoration-color: var(--autumn); }

/* One shared width and rhythm carries all three opening sections. */
html[data-palette="purple-nine"] main > .hero-feature.home-gallery {
  background: var(--gallery-paper); color: var(--gallery-ink); border: 0;
  min-height: 0; padding: clamp(32px, 4vw, 56px) 0 48px; overflow: hidden;
}
.home-gallery .hero-inner { width: min(68rem, calc(100% - 48px)); max-width: 68rem; margin: 0 auto; padding: 0; gap: 32px; }
.home-gallery .hero-top.hero-top-with-frame {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  align-items: center; gap: clamp(28px, 4vw, 64px); width: 100%; max-width: none; margin: 0; padding: 0;
}
html[data-palette="purple-nine"][data-napkin] .hero-feature.home-gallery.hero-has-crew-frame .hero-top-with-frame > .hero-copy {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  grid-column: auto; width: 100%; max-width: none; min-height: 0; height: auto;
  margin: 0; padding: 24px 0; gap: 0; text-align: left;
  background: transparent !important; border: 0; border-radius: 0; box-shadow: none;
  transform: none; animation: none; overflow: visible; clip-path: none;
}
html[data-palette="purple-nine"] .hero-feature.home-gallery .hero-copy :is(h1,.greeting,.lede,.hero-kicker) {
  position: static !important; inset: auto !important; height: auto !important; width: auto; max-width: none; padding: 0; transform: none; white-space: normal !important;
  color: var(--gallery-ink) !important; -webkit-text-fill-color: currentColor; text-shadow: none; text-align: left;
}
html[data-palette="purple-nine"] .hero-feature.home-gallery .hero-copy h1 {
  font-size: clamp(32px, 3.5vw, 49px); line-height: 1.13; letter-spacing: -.025em;
  margin: 0 0 20px; text-wrap: balance;
}
html[data-palette="purple-nine"] .hero-feature.home-gallery .hero-copy .greeting {
  margin: 0 0 18px; color: var(--autumn) !important; font: 650 13px/1.4 var(--font-body);
  letter-spacing: .08em; text-transform: uppercase;
}
html[data-palette="purple-nine"] .hero-feature.home-gallery .hero-copy .lede {
  margin: 0 0 12px; font: 500 clamp(20px, 2vw, 24px)/1.4 var(--font-body); max-width: 28ch;
}
.home-gallery .hero-copy .home-hero-intro { margin: 0; max-width: 40ch; color: var(--gallery-muted); font-size: 17px; line-height: 1.6; }
.home-gallery .hero-copy .home-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 22px; margin: 26px 0 0; }
.home-gallery .home-hero-actions .btn { font-size: 16px; min-height: 46px; }
.home-gallery .home-hero-link { font-size: 16px; font-weight: 600; text-decoration: underline; text-decoration-color: var(--autumn); text-underline-offset: 5px; }
.home-gallery :is(.napkin-atmo,.napkin-corner) { display: none; }

/* Picture above, solid caption below. No double frames or text over faces. */
.hero-feature.home-gallery.hero-has-crew-frame .seasonal-banner {
  grid-column: auto; width: 100%; max-width: none; margin: 0; align-self: center;
  background: var(--gallery-white); border: 1px solid var(--autumn-line); border-radius: 16px;
  overflow: hidden; box-shadow: 0 12px 28px #211b4c09; animation: none;
}
.hero-feature.home-gallery.hero-has-crew-frame .seasonal-banner .hero-crew-card {
  min-height: 0; height: auto; aspect-ratio: auto; border-radius: 0; border: 0;
  background: var(--gallery-white); box-shadow: none; overflow: visible;
}
.home-gallery .hero-crew-card::before { display: none; }
.home-gallery .hero-crew-card-media { position: relative; inset: auto; width: 100%; height: auto; aspect-ratio: 2 / 1; border-radius: 0; }
.home-gallery .hero-crew-card-copy { padding: 22px 24px 18px; gap: 10px; align-items: flex-start; text-align: left; background: var(--gallery-white); }
.home-gallery .hero-crew-card-copy :is(h3,p) { color: var(--gallery-ink); text-shadow: none; }
.home-gallery .hero-crew-card-copy h3 { font-size: clamp(22px, 2vw, 26px); }
.home-gallery .hero-crew-card-copy .seasonal-eyebrow { color: var(--autumn); font-size: 11px; }
.home-gallery .hero-crew-card-copy > p:not(.seasonal-eyebrow):not(.hero-crew-card-actions) { font-size: 16px; line-height: 1.5; }
.home-gallery .hero-crew-card-actions { margin-top: 4px; }
.home-gallery .seasonal-choices { justify-content: flex-start; gap: 6px; margin: 0; padding: 14px 24px 18px; border-top: 1px solid var(--autumn-line); background: var(--autumn-paper); }
.home-gallery .seasonal-choices button { background: var(--gallery-white); color: var(--autumn-dark); border: 1px solid var(--autumn-line); font-size: 13px; min-height: 40px; padding: 8px 12px; border-radius: 6px; }
.home-gallery .seasonal-choices button[aria-pressed="true"] { background: var(--autumn); border-color: var(--autumn); color: #fff; }
.home-gallery .seasonal-choices button:hover { border-color: var(--autumn-dark); }

/* Three photo cards retain their gold, blue and pink stars. */
.home-gallery .hero-bottom { width: 100%; margin: 32px 0 0; padding: 0; }
.hero-feature.home-gallery .hero-card-band[data-columns] { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; width: 100%; margin: 0; padding: 0; }
.hero-feature.home-gallery .hero-card-band > .hero-card.hero-card-has-collage {
  display: block; width: 100%; min-width: 0; max-width: none; height: 308px; min-height: 0; aspect-ratio: auto;
  padding: 0; margin: 0; border: 1px solid var(--gallery-line); border-radius: 12px;
  background: var(--gallery-white) !important; box-shadow: 0 7px 20px #211b4c07;
  flex: none; container-type: normal; animation: none; transform: none; overflow: hidden;
}
.hero-feature.home-gallery .hero-card-band > .hero-card.hero-card-has-collage:hover { border-color: var(--autumn); box-shadow: 0 8px 24px #a84e2b12; transform: translateY(-2px); }
.hero-feature.home-gallery .hero-card-band > .hero-card.hero-card-has-collage :is(h3,h4) {
  inset: auto; left: 18px; right: 18px; width: auto; padding: 0; margin: 0;
  text-align: left; background: none; color: var(--gallery-ink); text-shadow: none;
}
.hero-feature.home-gallery .hero-card-band > .hero-card.hero-card-has-collage h3 { top: 16px; font-size: 11px; line-height: 1.3; letter-spacing: .08em; color: var(--gallery-muted); }
.hero-feature.home-gallery .hero-card-band > .hero-card.hero-card-has-collage h4 { top: 35px; font-size: 24px; line-height: 1.2; letter-spacing: -.015em; }
.hero-feature.home-gallery .hero-card-band > .hero-card.hero-card-has-collage .hero-collage { inset: 78px 12px 52px; clip-path: none; border-radius: 7px; box-shadow: none; }
.hero-feature.home-gallery .hero-card-band > .hero-card.hero-card-has-collage .hero-collage::before { display: none; }
.hero-feature.home-gallery .hero-card-band > .hero-card.hero-card-has-collage .hero-collage-label { bottom: 10px; padding: 5px 9px; background: var(--gallery-white); color: var(--gallery-ink); font: 600 12px/1.3 var(--font-body); letter-spacing: 0; border-radius: 4px; max-width: calc(100% - 16px); }
.hero-feature.home-gallery .hero-card-band > .hero-card.hero-card-has-collage > .plate-stars { inset: auto; left: 18px; bottom: 20px; display: flex; gap: 3px; height: 12px; }
.hero-feature.home-gallery .hero-card-band > .hero-card.hero-card-has-collage > .plate-stars::before,
.hero-feature.home-gallery .hero-card-band > .hero-card.hero-card-has-collage > .plate-stars::after { display: none; }
.hero-feature.home-gallery .hero-card-band > .hero-card .plate-stars li { position: relative; inset: auto; transform: none; width: 10px; height: 10px; filter: none; }
.hero-feature.home-gallery .hero-card-band > .hero-card.hero-card-has-collage .hero-card-cta { position: absolute; display: block; inset: auto 18px 15px auto; margin: 0; padding: 0; color: var(--gallery-ink); font: 600 14px/1.5 var(--font-body); background: none; box-shadow: none; }
.hero-feature.home-gallery .hero-card-band > .hero-card.hero-card-has-collage .hero-card-cta::after { display: none; }

/* The retired photograph column must not keep squeezing the audience cards. */
html[data-palette="purple-nine"] main > .section.band.section-rely { display: block; min-height: 0; padding: 48px 0; background: var(--gallery-mist) !important; }
.home-gallery + .section-rely .section-shell { width: min(68rem, calc(100% - 48px)); max-width: 68rem; margin: 0 auto; padding: 0; }
.section-rely .rely-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.section-rely .rely-card-link { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding: 24px 20px; }
.section-rely .rely-stat { display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 10px; width: auto; min-height: 0; padding: 8px 10px; background: var(--autumn-paper); color: var(--autumn-dark); border: 1px solid var(--autumn-line); box-shadow: none; border-radius: 6px; }
.section-rely .rely-stat strong { color: inherit; font-size: 23px; }
.section-rely .rely-stat span { color: inherit; text-align: left; font-size: 9px; max-width: 70px; }
.section-rely .rely-copy h3 { font-size: 19px; line-height: 1.35; letter-spacing: .015em; margin-bottom: 12px; }
.section-rely .rely-copy h3::after { display: none; }
.section-rely .rely-copy p { font-size: 16px; line-height: 1.55; overflow-wrap: normal; }
.section-rely .rely-facts { color: var(--gallery-muted); max-width: none; margin-top: 24px; }
.section-rely + .section.section-client-logos { padding-block: 48px; }
.section-rely + .section-client-logos .section-shell { width: min(68rem, calc(100% - 48px)); max-width: 68rem; padding: 0; margin-inline: auto; }

@media (max-width: 1099px) {
  .section-rely .rely-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 759px) {
  .home-gallery .hero-inner, .home-gallery + .section-rely .section-shell,
  .section-rely + .section-client-logos .section-shell { width: calc(100% - 32px); }
  .home-gallery .hero-top.hero-top-with-frame { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  html[data-palette="purple-nine"][data-napkin] .hero-feature.home-gallery.hero-has-crew-frame .hero-top-with-frame > .hero-copy { padding: 0; }
  .home-gallery .hero-crew-card-media { aspect-ratio: 2.2 / 1; }
  .home-gallery .hero-card-band { gap: 12px; }
  .hero-feature.home-gallery .hero-card-band > .hero-card.hero-card-has-collage .hero-card-cta { right: 12px; font-size: 13px; }
  .hero-feature.home-gallery .hero-card-band > .hero-card.hero-card-has-collage > .plate-stars { left: 12px; gap: 1px; }
}
@media (max-width: 599px) {
  .hero-feature.home-gallery .hero-card-band[data-columns] { grid-template-columns: minmax(0, 1fr); }
  .hero-feature.home-gallery .hero-card-band > .hero-card.hero-card-has-collage { height: 178px; }
  .hero-feature.home-gallery .hero-card-band > .hero-card.hero-card-has-collage .hero-collage { inset: 12px auto 12px 12px; width: 36%; }
  .hero-feature.home-gallery .hero-card-band > .hero-card.hero-card-has-collage :is(h3,h4) { left: calc(36% + 28px); right: 12px; }
  .hero-feature.home-gallery .hero-card-band > .hero-card.hero-card-has-collage h3 { top: 20px; }
  .hero-feature.home-gallery .hero-card-band > .hero-card.hero-card-has-collage h4 { top: 41px; font-size: 22px; }
  .hero-feature.home-gallery .hero-card-band > .hero-card.hero-card-has-collage .hero-collage-label { font-size: 11px; padding: 4px; bottom: 8px; }
  .hero-feature.home-gallery .hero-card-band > .hero-card.hero-card-has-collage > .plate-stars { left: calc(36% + 28px); bottom: 24px; gap: 3px; }
  .hero-feature.home-gallery .hero-card-band > .hero-card.hero-card-has-collage .hero-card-cta { left: calc(36% + 28px); right: auto; bottom: 52px; font-size: 14px; }
  .section-rely .rely-grid { grid-template-columns: minmax(0, 1fr); }
  .section-rely .rely-card-link { padding: 22px; gap: 16px; }
  .home-gallery .hero-crew-card-copy { padding-inline: 20px; }
  .home-gallery .seasonal-choices { padding-inline: 20px; }
  .site-header .brand-anniversary { font-size: 9px; padding: 2px 5px; letter-spacing: .045em; }
}
@media (prefers-reduced-motion: reduce) {
  .home-gallery .hero-card, .nav-mega-chevron { transition: none !important; }
}

/* Gift-wrap surround for the DIY invitation, with an uninterrupted reading mat. */
html[data-palette="purple-nine"] main > .section.section-diy-teaser {
  background: url("gift-wrap.svg") 0 0 / 180px 180px repeat #f5eee8 !important;
  padding: clamp(40px, 6vw, 72px) 16px; border-block: 1px solid var(--autumn-line);
}
html[data-palette="purple-nine"] .section-diy-teaser .diy-teaser-shell {
  background: #fff !important; color: var(--gallery-ink); border: 1px solid var(--autumn-line);
  border-radius: 12px; box-shadow: 0 12px 28px #78351e10; padding: clamp(24px, 4vw, 44px);
}
html[data-palette="purple-nine"] .section-diy-teaser .diy-teaser-shell::before { display: none; }
html[data-palette="purple-nine"] .section-diy-teaser .diy-teaser-shell :is(h2,p,li,a:not(.btn)) { color: var(--gallery-ink); }
html[data-palette="purple-nine"] .section-diy-teaser .diy-eyebrow { color: var(--autumn); }
.client-guest-logo[src*="ritz-carlton"] { max-height: 74px; }
