/* Shared editorial navigation and heroes; legacy content sections stay scoped separately. */
#header.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 92px;
  margin-bottom: -92px;
  padding: 0;
  background: linear-gradient(180deg, rgba(9,9,9,.94), rgba(9,9,9,.65) 72%, transparent);
  color: #f5f1e8;
  transition: background-color .2s;
}
.scrolled #header.site-header,
#header.site-header--legal { background: #090909; }
#header.site-header--legal { margin-bottom: 0; }
#header .site-header__inner {
  max-width: 1440px;
  padding: 0 clamp(24px, 6vw, 88px);
  margin: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
#header .site-brand {
  display: inline-flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
#header .site-brand__name {
  color: #f5f1e8;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: .26em;
  text-indent: .26em;
}
#header .site-brand__sub {
  color: #c7ae6a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: .52em;
  text-indent: .52em;
}
#header .site-navigation { display: flex; align-items: center; gap: 36px; }
#header .site-navigation ul { list-style: none; margin: 0; padding: 0; }
#header .site-navigation__links { display: flex; align-items: center; gap: 32px; }
#header .site-navigation a,
#header .site-navigation button {
  color: #f5f1e8;
  font: 400 15px/1.4 var(--default-font);
  text-decoration: none;
  background: transparent;
  border: 0;
  padding: 12px 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
#header .site-navigation :is(a, button):hover,
#header .site-navigation [aria-current="page"],
#header .site-navigation .is-current-category { color: #dcc188; }
#header :is(a, button):focus-visible { outline: 2px solid #dcc188; outline-offset: 5px; }
#header .site-dropdown { position: relative; }
#header .site-dropdown > button { gap: 7px; }
#header .site-dropdown > button > span[aria-hidden="true"] {
  display: block;
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .18s ease;
}
#header .site-dropdown > button[aria-expanded="true"] > span[aria-hidden="true"] {
  transform: translateY(2px) rotate(225deg);
}
@media (min-width: 1200px) {
  #header .site-header__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
  }
  #header .site-brand { grid-column: 1; justify-self: start; }
  /* Keep the navigation landmark and its DOM order; lay out its two children
     as grid items so unequal logo/social widths cannot shift the menu. */
  #header .site-navigation { display: contents; }
  #header .site-navigation__links { grid-column: 2; justify-self: center; gap: 36px; }
  #header .site-navigation__social { grid-column: 3; justify-self: end; }
}
#header .site-dropdown > ul {
  position: absolute;
  top: 100%;
  left: -20px;
  width: 250px;
  padding: 12px 20px;
  background: #12100d;
  border: 1px solid rgba(199,174,106,.35);
  box-shadow: 0 12px 24px rgba(0,0,0,.2);
}
#header .site-dropdown > ul:not([hidden]) { animation: nav-reveal .16s ease-out; }
#header .site-dropdown > ul a { width: 100%; padding: 12px 0; }
#header .site-navigation__social { display: flex; gap: 14px; padding: 0; }
#header .site-navigation__social a { justify-content: center; width: 28px; height: 44px; font-size: 17px; }
#header .site-menu-toggle { display: none; }
@keyframes nav-reveal { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

/* Remove old hero class hooks in markup rather than overriding each legacy design. */
#marketing-page main > section.editorial-hero {
  --hero-focus: 65% 50%;
  --hero-overlay: linear-gradient(90deg, rgba(9,9,9,.96) 0%, rgba(9,9,9,.86) 32%, rgba(9,9,9,.60) 65%, rgba(9,9,9,.12) 100%);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: clamp(620px, 82vh, 900px);
  padding: 150px 0 80px;
  background: #090909;
  color: #f5f1e8;
}
#marketing-page main > section.editorial-hero::before { content: none; }
#marketing-page main > section.editorial-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--hero-overlay); pointer-events: none; }
#marketing-page main .editorial-hero__media { display: block; position: absolute; inset: 0; z-index: -2; height: 100%; width: 100%; }
#marketing-page main .editorial-hero__media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--hero-focus); }
#marketing-page main .editorial-hero__content { width: 100%; max-width: 1440px; margin: auto; padding: 0 clamp(24px, 6vw, 88px); text-align: left; }
#marketing-page main section.editorial-hero:is(#hero, #top, .editorial-hero) h1 {
  color: #f1ece3;
  font-family: var(--heading-font);
  font-size: clamp(3.4rem, 5vw, 5rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -.025em;
  max-width: min(850px, 64vw);
  margin: 0 0 28px;
  text-shadow: none;
  text-align: left;
}
#marketing-page main section.editorial-hero:is(#hero, #top, .editorial-hero) p { color: #f5f1e8; font: 400 clamp(17px, 1.4vw, 20px)/1.6 var(--default-font); max-width: 600px; margin: 0 0 28px; text-align: left; }
#marketing-page main .editorial-hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 30px; }
#marketing-page main .editorial-hero__actions a {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 16px 26px;
  border: 1px solid #d8bb79; border-radius: 4px;
  color: #120f09; background: #d8bb79;
  font: 700 13px/1.4 var(--default-font); letter-spacing: .09em; text-transform: uppercase;
  text-decoration: none;
}
#marketing-page main .editorial-hero__actions a + a { color: #dcc188; background: rgba(9,9,9,.76); }
#marketing-page main .editorial-hero__actions a:hover { background: #ead29a; color: #120f09; }
#marketing-page main .editorial-hero__actions a:focus-visible { outline: 2px solid #f1ece3; outline-offset: 5px; }
#marketing-page main section.editorial-hero--wedding { --hero-focus: 65% 45%; }
#marketing-page main section.editorial-hero--corporate { --hero-focus: 70% 50%; }
#marketing-page main section.editorial-hero--gold,
#marketing-page main section.editorial-hero--open-air { --hero-focus: 65% 38%; }
#marketing-page main section.editorial-hero--digital { --hero-focus: 70% 50%; }
#marketing-page main section.editorial-hero--audio { --hero-focus: 65% 50%; }
#marketing-page main section.editorial-hero--home h1 { max-width: 780px; }
@media (min-width: 768px) and (max-width: 1199px) {
  #marketing-page main > section.editorial-hero { --hero-overlay: linear-gradient(90deg, rgba(9,9,9,.94), rgba(9,9,9,.80) 55%, rgba(9,9,9,.64)); }
  #marketing-page main section.editorial-hero:is(#hero, #top, .editorial-hero) h1 { max-width: 850px; }
}
#marketing-page main :is(.editorial-hero--gold, .editorial-hero--open-air) .editorial-hero__media { width: 58%; left: auto; right: 0; }
#marketing-page main :is(.editorial-hero--gold, .editorial-hero--open-air) .editorial-hero__media img { object-fit: cover; object-position: 80% 38%; }
@media (min-width: 768px) {
  #marketing-page main :is(.editorial-hero--gold, .editorial-hero--open-air) .editorial-hero__media { mask-image: linear-gradient(90deg, transparent, #000 24%); }
}
/* The shared footer taxonomy also appears on the two legal pages. */
@media (min-width: 992px) and (max-width: 1199px) {
  #footer .footer-sitemap { column-gap: 28px; }
}

@media (max-width: 1199px) {
  #header.site-header { height: 80px; margin-bottom: -80px; }
  #header.site-header--legal { margin-bottom: 0; }
  #header .site-header__inner { padding-inline: 24px; }
  #header .site-brand__name { font-size: 28px; }
  #header .site-brand__sub { font-size: 10.5px; }
  #header .site-menu-toggle { display: flex; position: relative; z-index: 2; flex-direction: column; justify-content: center; gap: 16px; width: 48px; height: 48px; border: 0; padding: 12px; background: transparent; }
  #header .site-menu-toggle span { display: block; height: 2px; width: 24px; background: #f1ece3; }
  #header .site-menu-toggle::before { content: ""; position: absolute; top: 50%; left: 50%; width: 24px; height: 2px; background: #f1ece3; transform: translate(-50%, -50%); }
  #header .site-menu-toggle[aria-expanded="true"]::before { opacity: 0; }
  #header .site-menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(9px) rotate(45deg); }
  #header .site-menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-9px) rotate(-45deg); }
  #header .site-navigation { display: none; position: fixed; inset: 80px 0 0; background: #090909; padding: 24px clamp(24px,6vw,72px); overflow-y: auto; align-items: stretch; flex-direction: column; gap: 28px; }
  #header .site-navigation.is-open { display: flex; }
  #header .site-navigation__links { display: block; }
  #header .site-navigation__links > li { border-bottom: 1px solid rgba(199,174,106,.2); }
  #header .site-navigation__links > li > :is(a,button) { width: 100%; font-size: 23px; min-height: 62px; justify-content: space-between; }
  #header .site-dropdown > ul { position: static; width: auto; padding: 0 0 16px 16px; border: 0; box-shadow: none; background: transparent; }
  #header .site-dropdown > ul a { font-size: 17px; min-height: 46px; }
  #header .site-navigation__social { border-left: 0; padding: 8px 0; margin-top: auto; gap: 20px; }
  #header .site-navigation__social a { width: 48px; height: 48px; font-size: 22px; }
  body.site-menu-open { overflow: hidden; }
}
@media (max-width: 767px) {
  #marketing-page main > section.editorial-hero { display: flex; flex-direction: column; min-height: 0; padding: 80px 0 40px; }
  #marketing-page main .editorial-hero__media { position: relative; inset: auto; width: 100%; height: 260px; z-index: -2; }
  #marketing-page main .editorial-hero__media img { object-position: var(--hero-mobile-focus, 50% 45%); }
  #marketing-page main :is(.editorial-hero--gold, .editorial-hero--open-air) .editorial-hero__media { width: 100%; }
  #marketing-page main > section.editorial-hero::after { inset: 80px 0 auto; height: 261px; background: linear-gradient(0deg,#090909,rgba(9,9,9,.05) 45%,rgba(9,9,9,.08)); }
  #marketing-page main .editorial-hero__content { padding: 0 24px; margin: -8px 0 0; }
  #marketing-page main section.editorial-hero:is(#hero, #top, .editorial-hero) h1 { font-size: clamp(38px, 9.8vw, 44px); line-height: 1.05; max-width: 650px; margin: 0 0 22px; }
  #marketing-page main section.editorial-hero:is(#hero, #top, .editorial-hero) p { font-size: 17px; line-height: 1.55; margin: 0 0 24px; }
  #marketing-page main .editorial-hero__actions { margin-top: 24px; gap: 12px; }
  #marketing-page main .editorial-hero__actions a { flex: 1 1 210px; padding-inline: 18px; }
  #marketing-page main section.editorial-hero--gold,
  #marketing-page main section.editorial-hero--open-air { --hero-mobile-focus: 50% 38%; }
}
@media (prefers-reduced-motion: reduce) {
  #header.site-header { transition: none; }
  #header .site-dropdown > ul:not([hidden]) { animation: none; }
  #header .site-dropdown > button > span[aria-hidden="true"] { transition: none; }
}


/* Approved narrow-screen exception: preserve the homepage hero height. */
@media (max-width: 359px) {
  #marketing-page main section.editorial-hero--home#hero h1 { font-size: 30px; }
}

/* Booth head clearance: keep the image beneath the existing overlaid header.
   The hero height, content and mobile media remain unchanged. */
@media (min-width: 768px) {
  #marketing-page main :is(.editorial-hero--gold, .editorial-hero--open-air) .editorial-hero__media {
    top: 80px;
    height: calc(100% - 80px);
    max-width: calc((clamp(620px, 82vh, 900px) - 80px) * 1.7777778);
  }
  #marketing-page main :is(.editorial-hero--gold, .editorial-hero--open-air) .editorial-hero__media img {
    object-position: 80% 0%;
  }
}
@media (min-width: 1200px) {
  #marketing-page main :is(.editorial-hero--gold, .editorial-hero--open-air) .editorial-hero__media {
    top: 92px;
    height: calc(100% - 92px);
    max-width: calc((clamp(620px, 82vh, 900px) - 92px) * 1.7777778);
  }
}
