/* Hero redesign v1 — self-contained header+hero block for the homepage.
   Uses the same locally-hosted Cormorant Garamond / Montserrat as style.css. */

:root {
  --hero-font-display: "Cormorant Garamond", Georgia, serif;
  --hero-font-ui: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

  --hero-ink: #241073;
  --hero-nav: #1e1265;
  --hero-subtitle: #9a78ec;
  --hero-copy: #30236d;

  --hero-background:
    radial-gradient(circle at 12% 76%, rgba(247, 199, 235, .52), transparent 33%),
    radial-gradient(circle at 80% 31%, rgba(195, 183, 247, .58), transparent 38%),
    radial-gradient(circle at 92% 78%, rgba(201, 220, 255, .44), transparent 32%),
    linear-gradient(118deg, #fffafd 0%, #f7f0ff 48%, #e8e7ff 100%);
  --hero-header-surface: rgba(255, 255, 255, .56);
  --hero-header-border: rgba(255, 255, 255, .92);
  --hero-header-shadow: 0 20px 55px rgba(99, 65, 151, .08);
  --hero-cta-gradient: linear-gradient(100deg, #ec72e5 0%, #a465ed 54%, #7050fa 100%);
  --hero-button-shadow: 0 14px 34px rgba(117, 76, 220, .25), 0 0 22px rgba(222, 111, 222, .14);
}

.hero-page {
  position: relative;
  min-height: max(860px, 100svh);
  overflow: hidden;
  isolation: isolate;
  background: var(--hero-background);
}

.hero-atmosphere,
.hero-ribbons,
.hero-sparkles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
  user-select: none;
}

.hero-atmosphere { z-index: 1; opacity: .96; }
.hero-ribbons { z-index: 2; opacity: .88; }
.hero-sparkles { z-index: 6; opacity: .92; }

/* The separate glare layers used to move together with the hero while scrolling. */
.hero-bokeh,
.hero-sparkles { display: none !important; }

.hero-header {
  position: relative;
  z-index: 10;
  width: min(calc(100% - 78px), 1594px);
  min-height: 122px;
  margin: 32px auto 0;
  padding: 20px 49px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  border: 1px solid var(--hero-header-border);
  border-radius: 37px;
  background: var(--hero-header-surface);
  box-shadow: var(--hero-header-shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.hero-nav {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: clamp(34px, 3.9vw, 65px);
}

.hero-nav a {
  position: relative;
  color: var(--hero-nav);
  font-family: var(--hero-font-ui);
  font-size: clamp(18px, 1.45vw, 24px);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.hero-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -22px;
  height: 3px;
  border-radius: 999px;
  background: #8c65ed;
}

.hero-socials { display: flex; align-items: center; gap: 25px; }

.hero-admin-link {
  margin-left: auto;
  padding: 13px 21px;
  border: 1px solid rgba(112, 80, 242, .42);
  border-radius: 999px;
  background: rgba(255, 255, 255, .68);
  color: var(--hero-nav);
  font: 700 15px/1 var(--hero-font-ui);
  text-decoration: none;
  transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}

.hero-admin-link:hover { border-color: #7050fa; background: #fff; transform: translateY(-1px); }
.hero-admin-link:focus-visible { outline: 3px solid rgba(112, 80, 242, .26); outline-offset: 3px; }

.hero-header-row {
  position: relative;
  z-index: 10;
  display: block;
  width: min(calc(100% - 78px), 1594px);
  margin: 32px auto 0;
}

.hero-header-row .hero-header {
  z-index: auto;
  width: 100%;
  min-width: 0;
  margin: 0;
}

.hero-header-row .hero-admin-link {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: calc(100% + 12px);
  margin: 0;
  padding: 14px 20px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 12px 30px rgba(88, 58, 154, .15);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transform: translateY(-50%);
}

.hero-header-row .hero-admin-link:hover { transform: translateY(calc(-50% - 1px)); }

.hero-social {
  width: 60px;
  height: 60px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #ad87f4 0%, #7254f2 100%);
  box-shadow: 0 10px 26px rgba(111, 77, 213, .18);
  transition: transform .18s ease, box-shadow .18s ease;
}

.hero-social svg { width: 31px; height: 31px; fill: currentColor; }
.hero-social:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(111, 77, 213, .24); }

.hero-stage {
  position: relative;
  z-index: 3;
  width: min(calc(100% - 180px), 1492px);
  min-height: calc(max(860px, 100svh) - 154px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 52%) minmax(0, 48%);
  align-items: start;
}

.hero-copy {
  position: relative;
  z-index: 7;
  min-width: 0;
  padding-top: clamp(82px, 9.8vh, 98px);
}

.hero-title {
  max-width: 760px;
  margin: 0;
  color: var(--hero-ink);
  font-family: var(--hero-font-display);
  font-size: clamp(76px, 6.1vw, 102px);
  font-weight: 700;
  line-height: .96;
  letter-spacing: -.025em;
}

.hero-subtitle {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--hero-subtitle);
  font-family: var(--hero-font-display);
  font-size: clamp(40px, 3.25vw, 54px);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -.015em;
}

.hero-inline-sparkle {
  display: inline-block;
  width: .66em;
  height: .66em;
  margin-left: .12em;
  color: #a36fe7;
  vertical-align: .08em;
  fill: currentColor;
}

.hero-description {
  max-width: 540px;
  margin: 40px 0 0;
  color: var(--hero-nav);
  font-family: var(--hero-font-ui);
  font-size: clamp(18px, 1.45vw, 24px);
  font-weight: 500;
  line-height: 1.45;
}

.hero-primary-cta {
  width: min(458px, 100%);
  min-height: 106px;
  margin-top: 29px;
  padding: 14px 17px 14px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--hero-cta-gradient);
  box-shadow: var(--hero-button-shadow);
  font-family: var(--hero-font-ui);
  font-size: clamp(23px, 1.92vw, 32px);
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}

.hero-primary-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(117, 76, 220, .30), 0 0 25px rgba(222, 111, 222, .17);
}

.hero-primary-cta__arrow {
  width: 75px;
  height: 75px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #7655ef;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 8px 22px rgba(94, 59, 178, .16);
}

.hero-primary-cta__arrow svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 2.4; }

.hero-visual {
  position: relative;
  z-index: 4;
  width: 100%;
  min-height: 650px;
  margin-top: 8px;
  display: grid;
  place-items: center;
}

.hero-logo-stack {
  position: relative;
  width: min(100%, 720px);
  aspect-ratio: 720 / 650;
}

.hero-logo-halo,
.hero-logo-disc {
  position: absolute;
  inset: 0;
  margin: auto;
  display: block;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.hero-logo-halo {
  z-index: 4;
  width: 100%;
  height: 100%;
}

.hero-logo-disc {
  z-index: 5;
  width: clamp(410px, 30vw, 505px);
  height: clamp(410px, 30vw, 505px);
  filter: drop-shadow(0 18px 38px rgba(116, 77, 190, .18));
  animation: none;
}

@media (max-width: 1279px) {
  .hero-header-row { width: calc(100% - 48px); margin-top: 24px; }
  .hero-header { width: calc(100% - 48px); min-height: 96px; margin-top: 24px; padding: 16px 30px; border-radius: 29px; }
  .hero-social { width: 50px; height: 50px; }
  .hero-stage { width: calc(100% - 96px); min-height: calc(max(800px, 100svh) - 120px); grid-template-columns: 51% 49%; }
  .hero-copy { padding-top: 86px; }
  .hero-title { font-size: clamp(72px, 7.2vw, 84px); }
  .hero-subtitle { font-size: clamp(38px, 4vw, 46px); }
  .hero-description { margin-top: 32px; }
  .hero-primary-cta { width: 390px; min-height: 88px; padding-left: 48px; }
  .hero-primary-cta__arrow { width: 64px; height: 64px; }
  .hero-visual { min-height: 580px; }
  .hero-logo-stack { max-width: 620px; }
  .hero-logo-disc { width: clamp(380px, 39vw, 440px); height: clamp(380px, 39vw, 440px); }
}

@media (max-width: 1023px) {
  .hero-header { padding-inline: 24px; }
  .hero-nav { gap: 24px; }
  .hero-stage { width: calc(100% - 64px); grid-template-columns: 52% 48%; }
  .hero-title { font-size: clamp(64px, 7.5vw, 76px); }
  .hero-subtitle { font-size: clamp(36px, 4.1vw, 40px); }
  .hero-description { font-size: 18px; }
  .hero-primary-cta { width: 340px; min-height: 78px; padding-left: 36px; }
  .hero-primary-cta__arrow { width: 56px; height: 56px; }
  .hero-logo-disc { width: min(40vw, 400px); height: min(40vw, 400px); }
}

@media (max-width: 767px) {
  .hero-page { min-height: auto; padding-bottom: 46px; }
  .hero-header { width: calc(100% - 32px); min-height: 74px; margin-top: 16px; padding: 10px; gap: 8px; flex-wrap: wrap; border-radius: 22px; }
  .hero-nav {
    flex: 1 1 100%;
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    overflow: visible;
  }
  .hero-nav a:first-child,
  .hero-nav .desktop-photos-link { display: none; }
  .hero-nav a {
    flex: 1 1 50%;
    width: auto;
    padding: 12px 8px;
    border-radius: 13px;
    font-size: clamp(13px, 3.8vw, 15px);
    text-align: center;
  }
  .hero-nav a + a { border-top: 0; }
  .hero-nav a:last-child { border-left: 1px solid rgba(102, 75, 174, .13); }
  .hero-nav a[aria-current="page"] { background: rgba(138, 111, 254, .11); }
  .hero-nav a[aria-current="page"]::after { display: none; }
  .hero-socials { display: none; }
  .hero-admin-link { align-self: flex-end; margin-left: auto; padding: 9px 13px; font-size: 12px; }
  .hero-stage { width: calc(100% - 36px); min-height: auto; grid-template-columns: 1fr; }
  .hero-visual { order: 1; min-height: 430px; margin-top: 18px; }
  .hero-copy { order: 2; padding-top: 16px; }
  .hero-title { font-size: clamp(52px, 12vw, 68px); }
  .hero-subtitle { font-size: clamp(36px, 8.7vw, 44px); }
  .hero-description { margin-top: 28px; font-size: 17px; }
  .hero-primary-cta { width: min(390px, 100%); min-height: 82px; margin-top: 26px; font-size: 23px; }
  .hero-logo-stack { width: min(100%, 480px); }
  .hero-logo-disc { width: min(78vw, 370px); height: min(78vw, 370px); }
  .hero-ribbons { opacity: .54; object-fit: cover; object-position: 68% center; }
  .hero-sparkles { opacity: .7; }
}

@media (max-width: 479px) {
  .hero-copy { padding-top: 12px; }
  .hero-title { font-size: clamp(48px, 14vw, 54px); }
  .hero-subtitle { font-size: clamp(34px, 10vw, 38px); }
  .hero-description { font-size: 16px; }
  .hero-primary-cta { min-height: 76px; padding: 11px 12px 11px 28px; }
  .hero-primary-cta__arrow { width: 54px; height: 54px; }
  .hero-visual { min-height: 370px; margin-top: 14px; }
  .hero-logo-disc { width: min(86vw, 330px); height: min(86vw, 330px); }
}

/* Desktop composition: the copy starts on the same vertical guide as the first navigation item. */
@media (min-width: 1024px) {
  .hero-header-row {
    width: min(calc(100% - 48px), 1360px);
  }

  .hero-header,
  .hero-stage {
    width: min(calc(100% - 48px), 1360px);
  }

  .hero-header {
    padding-inline: 28px;
  }

  .hero-stage {
    grid-template-columns: minmax(0, 66%) minmax(0, 34%);
    padding-inline: 28px;
  }

  .hero-copy {
    padding-top: clamp(58px, 7vh, 68px);
  }

  .hero-title {
    max-width: none;
    font-size: clamp(82px, 6.55vw, 108px);
    line-height: .94;
    white-space: nowrap;
  }

  .hero-subtitle {
    max-width: none;
    margin-top: 20px;
    font-size: clamp(38px, 2.55vw, 46px);
    line-height: 1.06;
    white-space: nowrap;
  }

  .hero-description {
    max-width: 680px;
    margin-top: 38px;
    font-size: clamp(26px, 1.65vw, 30px);
    line-height: 1.4;
  }

  .hero-primary-cta {
    width: min(420px, 100%);
    min-height: 92px;
    margin-top: 28px;
    padding: 12px 14px 12px 50px;
    font-size: clamp(23px, 1.72vw, 28px);
  }

  .hero-primary-cta__arrow {
    width: 66px;
    height: 66px;
  }

  .hero-logo-stack {
    transform: translateX(24px);
  }
}

/* The loyalty link adds one more item; keep the header comfortable on tablets. */
@media (min-width: 768px) and (max-width: 1180px) {
  .hero-header { gap: 20px; }
  .hero-nav { gap: clamp(12px, 1.8vw, 20px); }
  .hero-nav a { font-size: clamp(14px, 1.7vw, 17px); }
  .hero-nav .desktop-photos-link { display: none; }
  .hero-nav .nav-new-badge {
    top: -19px;
    right: -7px;
    min-height: 18px;
    padding: 2px 6px;
    font-size: 7.5px;
  }
}

@media (max-width: 767px) {
  .hero-nav a {
    flex: 1 1 33.333%;
    padding: 14px 3px 10px;
    font-size: clamp(11px, 3.15vw, 14px);
  }

  .hero-nav a:nth-child(3),
  .hero-nav a:nth-child(4) {
    border-left: 1px solid rgba(102, 75, 174, .13);
  }

  .hero-nav .nav-new-badge {
    top: -1px;
    right: 2px;
    min-height: 14px;
    padding: 2px 4px;
    font-size: 6.5px;
    letter-spacing: .02em;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hero-header,
  .hero-stage {
    width: calc(100% - 48px);
  }

  .hero-stage {
    grid-template-columns: minmax(0, 60%) minmax(0, 40%);
    padding-inline: 24px;
  }

  .hero-copy { padding-top: 62px; }
  .hero-title {
    max-width: none;
    font-size: clamp(48px, 5.7vw, 58px);
    white-space: nowrap;
  }
  .hero-subtitle {
    max-width: none;
    font-size: clamp(25px, 3vw, 29px);
    white-space: nowrap;
  }
  .hero-description { font-size: 20px; }
  .hero-logo-stack { transform: translateX(12px); }
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .hero-logo-stack { transform: none; }
}

/* Updated homepage message: one clear line under the main title and a short promise below it. */
.hero-subtitle {
  max-width: 900px;
  margin-top: 24px;
  font-size: clamp(26px, 1.6vw, 30px);
  line-height: 1.16;
  letter-spacing: -.012em;
}

.hero-description {
  max-width: 680px;
  margin-top: 24px;
  font-size: clamp(24px, 1.55vw, 29px);
  font-weight: 600;
  line-height: 1.35;
}

@media (min-width: 1024px) {
  .hero-subtitle {
    max-width: none;
    white-space: nowrap;
  }

  .hero-primary-cta {
    margin-top: 28px;
  }
}

/* Microsoft Calibri typography for the main homepage message. */
.hero-title,
.hero-subtitle,
.hero-description {
  font-family: Calibri, "Segoe UI", Arial, sans-serif;
}

.hero-title {
  margin-left: 1px;
  font-weight: 700;
  line-height: .94;
  letter-spacing: -.04em;
}

@media (min-width: 1280px) {
  .hero-title {
    font-size: clamp(82px, 6.387vw, 105.9px);
  }
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .hero-title {
    font-size: calc(54.5px + 2.12vw);
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hero-title {
    font-size: clamp(54px, 6.3vw, 64px);
  }
}

@media (max-width: 767px) {
  .hero-title {
    margin-left: 0;
    font-size: clamp(54px, 14vw, 60px);
    line-height: .98;
  }
}

@media (min-width: 1280px) {
  .hero-subtitle {
    font-size: 30px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hero-subtitle {
    max-width: none;
    font-size: clamp(20px, 2.45vw, 24px);
    white-space: nowrap;
  }

  .hero-description {
    margin-top: 20px;
    font-size: 21px;
  }
}

@media (max-width: 767px) {
  .hero-subtitle {
    max-width: 100%;
    margin-top: 22px;
    font-size: clamp(24px, 6.6vw, 29px);
    line-height: 1.2;
  }

  .hero-description {
    margin-top: 20px;
    font-size: clamp(19px, 5vw, 22px);
    line-height: 1.35;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-logo-disc { animation: none; }
}

/* Center the label in the free space before the arrow. */
.hero-primary-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  justify-content: stretch;
  gap: 0;
  padding: 14px 17px 14px 0;
  font-size: clamp(28px, 2.15vw, 36px);
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
}

.hero-primary-cta::before {
  display: none;
}

.hero-primary-cta > span:first-child {
  grid-column: 1;
  justify-self: center;
  white-space: nowrap;
  transform: none;
}

.hero-primary-cta__arrow {
  grid-column: 2;
  justify-self: end;
}

@media (max-width: 1023px) {
  .hero-primary-cta {
    padding: 11px 12px 11px 0;
    font-size: clamp(26px, 3vw, 30px);
  }
}

@media (max-width: 767px) {
  .hero-primary-cta {
    font-size: clamp(24px, 6.6vw, 29px);
  }

}

@media (max-width: 479px) {
  .hero-primary-cta {
    padding: 8px 8px 8px 0;
    font-size: clamp(23px, 6.6vw, 27px);
  }
}

/* Desktop hero composition: copy and logo read as one balanced block. */
@media (min-width: 1024px) {
  .hero-copy {
    padding-top: clamp(108px, 9.5vh, 122px);
  }

  .hero-logo-stack {
    transform: translate(28px, -52px);
  }

  .hero-logo-disc {
    left: auto;
    right: 0;
    margin-left: auto;
    margin-right: 0;
  }

  body.hero-logo-scrolled-out .hero-logo-disc,
  body.hero-logo-scrolled-out .hero-copy {
    visibility: hidden;
  }
}

/* Mobile hero: larger navigation, tighter logo spacing and a title that fits. */
@media (min-width: 768px) and (max-width: 1550px) {
  .hero-header-row--admin { margin-top: 76px; }

  .hero-header-row .hero-admin-link {
    top: -48px;
    right: 0;
    left: auto;
    transform: none;
  }

  .hero-header-row .hero-admin-link:hover { transform: translateY(-1px); }
}

@media (max-width: 767px) {
  .hero-header-row {
    display: flex;
    width: calc(100% - 32px);
    margin-top: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .hero-header-row .hero-header {
    order: 2;
    width: 100%;
    margin: 0;
  }

  .hero-header-row .hero-admin-link {
    position: static;
    order: 1;
    align-self: flex-end;
    margin-bottom: 0;
    padding: 8px 13px;
    font-size: 12px;
    transform: none;
  }

  .hero-header-row .hero-admin-link:hover { transform: translateY(-1px); }

  .hero-header {
    min-height: 118px;
    padding: 8px 14px 10px;
  }

  .hero-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto auto;
    gap: 0 4px;
    width: 100%;
    align-items: center;
  }

  .hero-nav a {
    flex: none;
    width: 100%;
    padding: 10px 3px 8px;
    font-size: clamp(14px, 4.25vw, 16px);
    letter-spacing: -0.02em;
  }

  .hero-nav a:nth-child(2) {
    grid-column: 1;
    grid-row: 1;
  }

  .hero-nav a:nth-child(3) {
    grid-column: 2;
    grid-row: 1;
  }

  .hero-nav a:nth-child(2),
  .hero-nav a:nth-child(3),
  .hero-nav a:nth-child(4) {
    border-left: 0;
  }

  .hero-nav .hero-loyalty-link {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: center;
    justify-content: center;
    width: min(72vw, 224px);
    padding: 8px 24px 9px;
  }

  .hero-nav .hero-loyalty-link .nav-new-badge {
    top: -1px;
    right: 9px;
  }

  .hero-stage {
    row-gap: 0;
  }

  .hero-visual {
    min-height: clamp(286px, 82vw, 340px);
    margin-top: 2px;
    place-items: start center;
  }

  .hero-logo-stack {
    width: min(88vw, 340px);
    aspect-ratio: 1 / 1;
  }

  .hero-logo-disc {
    width: min(82vw, 330px);
    height: min(82vw, 330px);
  }

  .hero-copy {
    padding-top: 4px;
  }

  .hero-title {
    max-width: 100%;
    font-size: clamp(40px, 11.8vw, 50px);
    line-height: 1;
    letter-spacing: -0.035em;
    overflow-wrap: normal;
    word-break: normal;
  }
}
