/* Modern brand hero */
.brand-hero,
.brand-hero[data-brand] {
  position: relative;
  display: block;
  height: min(760px, 78vw);
  min-height: 620px;
  overflow: hidden;
  background: #101827 !important;
}

.brand-hero .brand-hero-image,
.brand-hero[data-brand] .brand-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.brand-hero .brand-hero-image img,
.brand-hero[data-brand] .brand-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .35s ease, transform 1.1s ease;
}

.brand-hero:hover .brand-hero-image img { transform: scale(1.015); }
.brand-hero::after,
.brand-hero[data-brand]::after {
  content: '';
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(4,12,24,.78) 0%, rgba(4,12,24,.46) 38%, rgba(4,12,24,.08) 72%), linear-gradient(0deg, rgba(3,10,20,.48), transparent 45%);
  pointer-events: none;
}

.brand-hero .brand-hero-copy,
.brand-hero[data-brand] .brand-hero-copy {
  position: absolute;
  z-index: 2;
  left: clamp(30px, 6vw, 92px);
  right: auto;
  bottom: clamp(48px, 8vh, 92px);
  width: min(620px, 55vw);
  padding: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  color: #fff;
}

.brand-hero .brand-hero-copy .eyebrow {
  display: inline-flex;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 999px;
  background: rgba(4,13,26,.18);
  backdrop-filter: blur(8px);
  font-size: 9px;
}

.brand-hero .brand-script,
.brand-hero[data-brand] .brand-script { margin: 21px 0 3px; color: #fff; font-size: clamp(38px, 4vw, 60px); }
.brand-hero .brand-hero-copy h1,
.brand-hero[data-brand] .brand-hero-copy h1 { max-width: 610px; margin: 8px 0 20px; font-size: clamp(48px, 5.3vw, 76px); line-height: .98; letter-spacing: -.035em; }
.brand-hero .brand-hero-copy > p:not(.brand-script),
.brand-hero[data-brand] .brand-hero-copy > p:not(.brand-script) { max-width: 530px; margin: 0 0 29px; color: rgba(255,255,255,.88); font-size: 14px; line-height: 1.7; }
.brand-hero .brand-hero-copy .button { min-width: 205px; padding: 16px 24px; border-color: #fff; background: #fff; color: #071b36; }
.brand-hero .brand-hero-index,
.brand-hero[data-brand] .brand-hero-index { z-index: 2; right: 25px; bottom: 22px; left: auto; color: rgba(255,255,255,.7); }

/* More legible, editorial filter drawer */
.brand-filter-panel,
.brand-filter-panel.open {
  width: min(500px, 94vw);
  padding: 0;
  background: #f7f5f0;
}

.filter-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 31px 32px 26px;
  border-bottom: 1px solid #d7d2c9;
  background: #071b36;
  color: #fff;
}

.filter-panel-heading .eyebrow { color: rgba(255,255,255,.7); font-size: 10px; }
.filter-panel-heading h2 { margin: 8px 0 0; color: #fff; font-size: 39px; }
.mobile-filter-close { border-color: rgba(255,255,255,.34); background: transparent; color: #fff; }
.filter-panel-intro { max-width: none; margin: 0; padding: 22px 32px 18px; color: #626b74; font-size: 13px; line-height: 1.65; }

.brand-filter-panel .brand-categories {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0 32px 22px;
  overflow-y: auto;
}

.brand-filter-panel .brand-categories button,
.brand-filter-panel .brand-categories button:hover,
.brand-filter-panel .brand-categories button.active {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: 56px;
  padding: 0 4px;
  border: 0;
  border-bottom: 1px solid #d9d5ce;
  border-radius: 0;
  background: transparent;
  color: #283443;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .01em;
  transform: none;
}

.brand-filter-panel .brand-categories button:hover { padding-left: 10px; color: #071b36; }
.brand-filter-panel .brand-categories button.active { padding-right: 12px; padding-left: 14px; border-bottom-color: #071b36; background: #071b36; color: #fff; }
.brand-filter-panel .brand-categories button small { display: grid; place-items: center; min-width: 29px; height: 25px; padding: 0 7px; border-radius: 999px; background: #e6e1d8; color: #606973; font-size: 10px; }
.brand-filter-panel .brand-categories button.active small { background: rgba(255,255,255,.17); color: #fff; }
.filter-panel-footer { margin-top: auto; padding: 18px 32px 25px; border-top: 1px solid #d7d2c9; background: #f7f5f0; }
.filter-panel-footer button { min-height: 50px; font-size: 10px; }

/* Updated discovery cards */
.shortcut-card { height: 420px; border-radius: 2px; background: #d9dce1; }
.shortcut-card::after { background: linear-gradient(0deg, rgba(5,17,33,.8), rgba(5,17,33,.05) 64%); }
.shortcut-card > span { left: 27px; bottom: 28px; }
.shortcut-card strong { font-size: 30px; }

@media (max-width: 640px) {
  .brand-hero,
  .brand-hero[data-brand] { height: 690px; min-height: 690px; }
  .brand-hero::after,
  .brand-hero[data-brand]::after { background: linear-gradient(0deg, rgba(3,10,20,.84) 0%, rgba(3,10,20,.25) 60%, rgba(3,10,20,.04) 100%); }
  .brand-hero .brand-hero-copy,
  .brand-hero[data-brand] .brand-hero-copy { left: 21px; right: 21px; bottom: 42px; width: auto; padding: 0; }
  .brand-hero .brand-script,
  .brand-hero[data-brand] .brand-script { font-size: 33px; }
  .brand-hero .brand-hero-copy h1,
  .brand-hero[data-brand] .brand-hero-copy h1 { margin-bottom: 15px; font-size: 43px; }
  .brand-hero .brand-hero-copy > p:not(.brand-script),
  .brand-hero[data-brand] .brand-hero-copy > p:not(.brand-script) { margin-bottom: 22px; font-size: 13px; }
  .brand-hero .brand-hero-copy .button { min-width: 190px; }
  .brand-hero .brand-hero-index { display: none; }

  .brand-filter-panel,
  .brand-filter-panel.open { width: 100%; }
  .filter-panel-heading { padding: 25px 21px 21px; }
  .filter-panel-heading h2 { font-size: 34px; }
  .filter-panel-intro { padding: 18px 21px 13px; font-size: 14px; }
  .brand-filter-panel .brand-categories { display: flex; padding: 0 21px 18px; }
  .brand-filter-panel .brand-categories button,
  .brand-filter-panel .brand-categories button:hover,
  .brand-filter-panel .brand-categories button.active { min-height: 54px; padding-right: 5px; padding-left: 5px; font-size: 14px; }
  .brand-filter-panel .brand-categories button.active { padding-right: 12px; padding-left: 13px; }
  .brand-filter-panel .brand-categories button small { font-size: 11px; }
  .filter-panel-footer { padding: 15px 21px max(20px, env(safe-area-inset-bottom)); }
  .shortcut-card { min-width: 82vw; height: 390px; }
}
