@import url("https://fonts.googleapis.com/css2?family=Amiri:wght@400;700&family=Hind:wght@400;500;600&display=swap");

/* ==========================================================================
   Hero Fullscreen (v1.9.0)
   Layout  : full-bleed photo, copy block centered horizontally + anchored bottom
   Type    : serif display headline (Amiri / theme title font) + sans body & CTA
   Scrim   : no full-screen or side gradient - only a soft local glow behind copy
   ========================================================================== */

.hero-banner {
  --hb-header-h: 0px;
  --hb-title-font: "Amiri", var(--sort-title-font, "Playfair Display", Georgia, "Times New Roman", serif);
  --hb-body-font: "Hind", var(--sort-body-font, "Helvetica Neue", Helvetica, Arial, sans-serif);
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  min-height: calc(100vh - var(--hb-header-h));
  min-height: calc(100svh - var(--hb-header-h));
  margin: 0;
  overflow: hidden;
  background-color: #1E1A16;
  color: #FFFFFF;
}

/* ---------- full-bleed background image ---------- */
.hero-banner__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background-color: #241F1A;
  background-image: linear-gradient(150deg, #3A332B 0%, #6E6252 45%, #2A241E 100%);
}

.hero-banner__media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ---------- 移动端独立首屏图 ---------- */
/* 桌面端隐藏「移动端专用图」（若有配置） */
.hero-banner__media img.hero-banner__media-img--mobile {
  display: none;
}

@media (max-width: 959px) {
  /* 配了移动端专图时，隐藏桌面图，改用竖版专图 */
  .hero-banner__media img.hero-banner__media-img--desktop {
    display: none;
  }

  .hero-banner__media img.hero-banner__media-img--mobile {
    display: block;
  }
}

.hero-banner__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-banner__placeholder svg {
  width: 100%;
  height: 100%;
  opacity: 0.55;
}

.hero-banner__placeholder-note {
  position: absolute;
  inset-inline: 20px;
  bottom: 20px;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- copy layer: horizontally centered, anchored to the bottom ---------- */
.hero-banner__content {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  width: 100%;
  padding: clamp(56px, 9vh, 120px) 24px clamp(46px, 7vh, 80px);
}

.hero-banner__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: min(100%, 490px);
  text-align: center;
}

/* soft local glow right behind the copy - keeps the photo subject untouched */
.hero-banner__inner::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: -1;
  width: calc(100% + 240px);
  height: calc(100% + 170px);
  max-width: 760px;
  max-height: 580px;
  transform: translate(-50%, -50%);
  background-image: radial-gradient(
    50% 50% at 50% 50%,
    rgba(0, 0, 0, 0.46) 0%,
    rgba(0, 0, 0, 0.26) 46%,
    rgba(0, 0, 0, 0) 100%
  );
  filter: blur(34px);
  pointer-events: none;
}

/* ---------- typography ---------- */
.hero-banner__eyebrow {
  margin: 0;
  font-family: var(--hb-body-font);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
}

.hero-banner__heading {
  margin: 0;
  font-family: var(--hb-title-font);
  font-size: clamp(28px, 2.8vw, 40px);
  font-weight: 700;
  font-style: normal;
  line-height: 1.2;
  letter-spacing: normal;
  text-transform: none;
  color: #FFFFFF;
  text-wrap: balance;
}

.hero-banner__desc {
  margin: 0;
  max-width: 420px;
  font-family: var(--hb-body-font);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.95);
}

/* ---------- tier offers (single centered line with thin dividers) ---------- */
.hero-banner__offers {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 16px;
  margin: 2px 0 0;
  padding: 0;
  font-family: var(--hb-body-font);
  font-size: 15px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.88);
}

.hero-banner__offers li {
  position: relative;
  padding: 0;
}

.hero-banner__offers li + li::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 50%;
  width: 1px;
  height: 11px;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.42);
}

/* ---------- CTA: near-square white button, black label, no shadow / arrow ---------- */
.hero-banner__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
}

.hero-banner__btn,
.hero-banner .hero-banner__inner .hero-banner__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 30px;
  border: 1px solid transparent;
  border-radius: 2px;
  background-color: #FFFFFF;
  box-shadow: none;
  color: #1A1A1A;
  font-family: var(--hb-body-font);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-transform: none;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.hero-banner__btn:hover {
  background-color: #ECE7DF;
  color: #1A1A1A;
}

.hero-banner__link {
  padding: 0;
  border: 0;
  font-family: var(--hb-body-font);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-banner__link:hover {
  color: #FFFFFF;
}

.hero-banner__note {
  margin: 0;
  max-width: 420px;
  font-family: var(--hb-body-font);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
}

/* ---------- mobile ---------- */
@media (max-width: 959px) {
  .hero-banner__content {
    padding: clamp(48px, 8vh, 90px) 22px 48px;
  }

  .hero-banner__inner {
    width: min(100%, 330px);
    gap: 12px;
  }

  .hero-banner__inner::before {
    width: calc(100% + 130px);
    height: calc(100% + 120px);
    max-height: 460px;
    filter: blur(26px);
  }

  .hero-banner__eyebrow {
    font-size: 11px;
    letter-spacing: 0.16em;
  }

  .hero-banner__heading {
    font-size: clamp(20px, 5.6vw, 26px);
    line-height: 1.2;
  }

  .hero-banner__desc {
    font-size: 15px;
  }

  .hero-banner__offers {
    gap: 6px 13px;
    font-size: 13.5px;
  }

  .hero-banner__offers li + li::before {
    left: -7px;
  }

  .hero-banner__actions {
    gap: 12px;
    margin-top: 6px;
  }

  .hero-banner__btn {
    min-height: 44px;
    padding: 11px 24px;
    font-size: 13px;
  }

  .hero-banner__link,
  .hero-banner__note {
    font-size: 12.5px;
  }
}


/* ============================================================
   Hero 入场动效 — 文案逐级升起 + 背景缓慢推近（Ken Burns）
   ============================================================ */
@keyframes hero-rise-in {
  from {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes hero-ken-burns {
  from {
    transform: scale(1.0);
  }
  to {
    transform: scale(1.07);
  }
}

.hero-banner__media img {
  animation: hero-ken-burns 20s ease-out both;
}

.hero-banner__eyebrow,
.hero-banner__heading,
.hero-banner__desc,
.hero-banner__offers,
.hero-banner__actions,
.hero-banner__note {
  animation: hero-rise-in 0.95s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.hero-banner__eyebrow  { animation-delay: 0.12s; }
.hero-banner__heading  { animation-delay: 0.24s; }
.hero-banner__desc     { animation-delay: 0.38s; }
.hero-banner__offers   { animation-delay: 0.50s; }
.hero-banner__actions  { animation-delay: 0.62s; }
.hero-banner__note     { animation-delay: 0.74s; }

@media (prefers-reduced-motion: reduce) {
  .hero-banner__media img,
  .hero-banner__eyebrow,
  .hero-banner__heading,
  .hero-banner__desc,
  .hero-banner__offers,
  .hero-banner__actions,
  .hero-banner__note {
    animation: none;
  }
}
