.hive-page {
  --yellow: #f3c64e;
  --soft-yellow: #fff0bd;
  --pink: #ff7f73;
  --soft-pink: #ffe2df;
  --hive-hex-mask: url("assets/images/the-hive/hex-shape.svg");
}

.brand--hive {
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 6px;
  row-gap: 0;
  align-items: end;
  justify-items: center;
}

.site-header .brand--hive .brand-logo {
  display: block;
  width: clamp(20px, 2vw, 28px);
  height: clamp(22px, 2.2vw, 31px);
  margin-bottom: 2px;
  object-fit: contain;
  transition: width 180ms ease, height 180ms ease, margin 180ms ease;
}

.site-header .brand--hive__script {
  justify-self: start;
  color: #121823;
  font-family: "Great Vibes", "Segoe Script", "Brush Script MT", cursive;
  font-size: clamp(2.1rem, 3.4vw, 2.9rem);
  font-weight: 400;
  line-height: 0.78;
}

.site-header .brand--hive__tagline {
  grid-column: 1 / 3;
  justify-self: stretch;
  box-sizing: border-box;
  padding-left: 5px;
  color: #121823;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.44em;
  line-height: 1;
  text-align: center;
  text-transform: lowercase;
  white-space: nowrap;
}

.hive-page .site-header > .brand--hive {
  left: 50vw;
}

.hive-page .site-header.is-scrolled .brand--hive {
  grid-template-columns: 1fr;
  place-items: center;
}

.hive-page .site-header.is-scrolled .brand--hive .brand-logo {
  width: clamp(42px, 4.4vw, 58px);
  height: clamp(42px, 4.4vw, 58px);
  margin: 0;
}

.hive-page .site-header.is-scrolled .brand--hive__script,
.hive-page .site-header.is-scrolled .brand--hive__tagline {
  display: none;
}

.hive-hero {
  background-color: rgba(16, 45, 66, 0.68);
  background-image: url("assets/images/the-hive/rustic_salon_hero_fast.webp");
  background-position: center 45%;
  background-blend-mode: multiply;
}

.hive-hero::after {
  display: none;
}

.hive-hero .hero-copy {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hive-intro__bee,
.hive-card-icon,
.hive-products__art,
.hive-cta__art {
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.hive-intro {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(320px, 1.14fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(58px, 7vw, 96px) clamp(18px, 5vw, 72px);
  background: var(--paper);
  border-bottom: 1px solid rgba(23, 63, 95, 0.1);
  z-index: 3;
}

.hive-intro::after {
  display: none;
}

.hive-intro__copy {
  position: relative;
  z-index: 4;
  max-width: 620px;
}

.hive-intro__copy p:not(.eyebrow) {
  color: var(--muted);
}

.hive-intro__bee {
  display: none;
}

.hive-photo-stack {
  position: relative;
  z-index: 4;
  min-height: clamp(420px, 52vw, 620px);
}

.hive-photo-stack img {
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(23, 63, 95, 0.08);
}

.hive-photo-main {
  height: clamp(380px, 48vw, 560px);
}

.hive-photo-secondary {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(46%, 280px);
  aspect-ratio: 667 / 732;
  border: 0;
  -webkit-mask: var(--hive-hex-mask) center / contain no-repeat;
  mask: var(--hive-hex-mask) center / contain no-repeat;
}

.hive-team {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(260px, 0.38fr) minmax(420px, 0.62fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding-block: clamp(56px, 7vw, 94px);
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(255, 248, 242, 0.96)),
    var(--paper);
}

.hive-profile-testimonials {
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(246, 248, 241, 0.96)),
    var(--paper);
}

.hive-profile-testimonials .eyebrow,
.hive-profile-testimonials .profile-testimonial-card__stars {
  color: var(--clay);
}

.hive-profile-testimonials .profile-testimonial-card__avatar {
  background: var(--soft-yellow);
}

.hive-team::before {
  content: "";
  position: absolute;
  inset: auto clamp(18px, 5vw, 72px) 0;
  height: 1px;
  background: rgba(23, 63, 95, 0.1);
}

.hive-team__intro {
  position: relative;
  z-index: 1;
  max-width: 500px;
}

.hive-team__intro p:not(.eyebrow) {
  max-width: 470px;
  color: var(--muted);
}

.hive-team__intro h2 {
  font-family: var(--display-font);
  font-size: clamp(2.2rem, 4.2vw, 3.5rem);
  letter-spacing: 0;
}

.hive-team__intro .eyebrow {
  color: var(--clay);
}

.hive-team__strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 26px);
}

.hive-team-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(116px, 0.48fr) minmax(0, 0.52fr);
  align-items: stretch;
  min-height: 210px;
  overflow: hidden;
  border: 1px solid rgba(23, 63, 95, 0.1);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.94);
  box-shadow: var(--premium-shadow);
}

.hive-team-card:nth-child(2) {
  background: rgba(246, 248, 241, 0.95);
}

.hive-team-card::before {
  content: attr(data-initials);
  grid-column: 1;
  grid-row: 1;
  display: grid;
  place-items: center;
  min-height: 210px;
  color: var(--deep-blue);
  background:
    linear-gradient(135deg, rgba(246, 248, 241, 0.94), rgba(255, 248, 242, 0.98)),
    var(--paper);
  font-family: var(--display-font);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1;
}

.hive-team-card img {
  position: relative;
  z-index: 1;
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
  object-position: center 24%;
  filter: saturate(0.96) contrast(1.02);
}

.hive-team-card--image-missing img {
  display: none;
}

.hive-team-card__copy {
  grid-column: 2;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: clamp(18px, 2.6vw, 28px);
}

.hive-team-card h3 {
  color: var(--deep-blue);
  font-family: var(--display-font);
  font-size: clamp(1.24rem, 2.2vw, 1.72rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.hive-team-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.45;
}

.hive-team__bee {
  position: absolute;
  right: clamp(18px, 4vw, 58px);
  bottom: clamp(18px, 3vw, 42px);
  width: clamp(62px, 8vw, 110px);
  opacity: 0.24;
  transform: rotate(-10deg);
}

.hive-pricing {
  position: relative;
  overflow: hidden;
  padding-block: clamp(32px, 4vw, 56px);
  color: var(--paper);
  background-color: #0a2232;
  background-image:
    radial-gradient(circle at 50% 12%, rgba(243, 198, 78, 0.18), transparent 34%),
    radial-gradient(circle at 18% 84%, rgba(74, 169, 223, 0.16), transparent 30%),
    linear-gradient(180deg, #0a2232 0%, #102d42 48%, #0a2232 100%);
  border-block: 1px solid rgba(255, 253, 248, 0.12);
}

.hive-pricing .section-heading {
  margin-bottom: clamp(12px, 2vw, 20px);
}

.hive-pricing .section-heading h2 {
  color: var(--paper);
  text-shadow: 0 14px 34px rgba(0, 0, 0, 0.26);
  font-size: clamp(2.85rem, 5vw, 4.5rem);
}

.hive-pricing__bee {
  display: none;
}

.hive-pricing-carousel {
  position: relative;
  margin-top: clamp(12px, 2.2vw, 28px);
  margin-inline: calc(50% - 50vw);
  overflow: hidden;
}

.hive-pricing-carousel::before,
.hive-pricing-carousel::after {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 4;
  width: clamp(88px, 14vw, 170px);
  content: "";
  pointer-events: none;
}

.hive-pricing-carousel::before {
  left: 0;
  background:
    linear-gradient(
      90deg,
      #0a2232 0%,
      rgba(10, 34, 50, 0.96) 18%,
      rgba(10, 34, 50, 0.78) 38%,
      rgba(13, 40, 59, 0.44) 66%,
      rgba(16, 45, 66, 0) 100%
    );
}

.hive-pricing-carousel::after {
  right: 0;
  background:
    linear-gradient(
      270deg,
      #0a2232 0%,
      rgba(10, 34, 50, 0.96) 18%,
      rgba(10, 34, 50, 0.78) 38%,
      rgba(13, 40, 59, 0.44) 66%,
      rgba(16, 45, 66, 0) 100%
    );
}

.hive-pricing-carousel__button {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  width: clamp(52px, 7vw, 92px);
  border: 0;
  color: rgba(255, 253, 248, 0.68);
  background: transparent;
  cursor: pointer;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1;
  opacity: 0.52;
  transition: color 220ms ease, opacity 220ms ease, transform 220ms ease;
}

.hive-pricing-carousel__button[data-carousel-prev] {
  left: 0;
  background: linear-gradient(90deg, rgba(10, 34, 50, 0.88), rgba(10, 34, 50, 0));
}

.hive-pricing-carousel__button[data-carousel-next] {
  right: 0;
  background: linear-gradient(270deg, rgba(10, 34, 50, 0.88), rgba(10, 34, 50, 0));
}

.hive-pricing-carousel__button:hover,
.hive-pricing-carousel__button:focus-visible {
  outline: 0;
  color: var(--paper);
  opacity: 1;
}

.hive-pricing-carousel__button[data-carousel-prev]:hover,
.hive-pricing-carousel__button[data-carousel-prev]:focus-visible {
  transform: translateX(-2px);
}

.hive-pricing-carousel__button[data-carousel-next]:hover,
.hive-pricing-carousel__button[data-carousel-next]:focus-visible {
  transform: translateX(2px);
}

.hive-pricing-swipe-cue {
  display: none;
}

.hive-pricing-grid {
  --hive-price-card-width: clamp(340px, 30vw, 440px);
  display: grid;
  grid-auto-columns: var(--hive-price-card-width);
  grid-auto-flow: column;
  gap: clamp(16px, 2vw, 24px);
  overflow-x: auto;
  overflow-y: hidden;
  padding: 10px max(68px, calc((100vw - var(--hive-price-card-width)) / 2)) clamp(26px, 2.6vw, 38px);
  cursor: grab;
  scrollbar-width: none;
  scroll-behavior: smooth;
  scroll-padding-inline: max(68px, calc((100vw - var(--hive-price-card-width)) / 2));
  scroll-snap-type: x mandatory;
  touch-action: pan-y;
  user-select: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  overscroll-behavior-y: auto;
  contain: layout paint;
}

.hive-pricing-carousel.is-dragging .hive-pricing-grid {
  cursor: grabbing;
}

.hive-pricing-carousel[data-carousel-loop] .hive-pricing-grid {
  width: max-content;
  overflow: visible;
  scroll-behavior: auto;
  scroll-padding-inline: 0;
  scroll-snap-type: none;
  contain: none;
}

.hive-pricing-grid:focus-visible {
  outline: 3px solid rgba(23, 63, 95, 0.28);
  outline-offset: 6px;
}

.hive-pricing-grid::-webkit-scrollbar {
  display: none;
}

.hive-price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 0 0 var(--hive-price-card-width);
  height: clamp(520px, calc(100vh - 230px), 640px);
  padding: clamp(16px, 1.8vw, 22px) 0 0;
  border: 1px solid rgba(185, 137, 48, 0.24);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 12%, rgba(255, 255, 255, 0.98), rgba(255, 250, 242, 0.78) 34%, transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 252, 246, 0.97) 54%, rgba(255, 244, 222, 0.9) 100%);
  box-shadow:
    0 26px 70px rgba(23, 63, 95, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  overflow: hidden;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.hive-price-card::before {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: url("assets/images/the-hive/hex-grid.svg");
  background-position: center bottom;
  background-repeat: repeat;
  background-size: clamp(560px, 62vw, 760px) auto;
  content: "";
  opacity: 0.58;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.5) 18%, transparent 58%);
  mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.5) 18%, transparent 58%);
}

.hive-price-card > * {
  position: relative;
  z-index: 1;
}

.hive-price-card__ornament {
  display: grid;
  grid-template-columns: minmax(44px, 1fr) auto minmax(44px, 1fr);
  gap: clamp(12px, 2vw, 18px);
  align-items: center;
  width: min(68%, 280px);
  margin: 0 auto clamp(8px, 1.1vw, 12px);
}

.hive-price-card__ornament span {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(185, 137, 48, 0.78));
}

.hive-price-card__ornament span:last-child {
  background: linear-gradient(90deg, rgba(185, 137, 48, 0.78), transparent);
}

.hive-price-card__ornament img {
  width: clamp(28px, 2.6vw, 34px);
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 6px 10px rgba(185, 137, 48, 0.16));
}

.hive-price-card__details {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 0 clamp(20px, 2.2vw, 28px) clamp(12px, 1.6vw, 16px);
}

.hive-price-card__hero {
  display: grid;
  justify-items: center;
  margin: 0 auto clamp(12px, 1.5vw, 18px);
  padding: 0 clamp(20px, 2vw, 26px);
  text-align: center;
}

.hive-price-card__hero h3 {
  margin: 0;
  max-width: 8.8em;
  color: var(--deep-blue);
  font-family: var(--display-font);
  font-size: clamp(2.35rem, 2.7vw, 2.9rem);
  font-weight: 400;
  line-height: 1;
}

.hive-price-card__hero h3::after {
  display: block;
  width: min(68%, 190px);
  height: 1px;
  margin: clamp(7px, 0.9vw, 10px) auto 0;
  background: linear-gradient(90deg, transparent, rgba(185, 137, 48, 0.52), transparent);
  content: "";
}

.hive-price-card__meta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.2vw, 14px);
  max-width: 100%;
  margin-top: clamp(8px, 1vw, 12px);
}

.hive-price-card__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 0;
  padding: 0;
  color: #9a6719;
  font-family: var(--sans-font);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: none;
  white-space: nowrap;
}

.hive-price-card__duration::after {
  display: inline-block;
  width: 4px;
  aspect-ratio: 1;
  margin-left: clamp(10px, 1.2vw, 14px);
  border-radius: 50%;
  background: rgba(185, 137, 48, 0.58);
  content: "";
}

.hive-price-card__cost {
  color: var(--deep-blue);
}

.hive-price-card--botanical .hive-price-card__hero h3 {
  max-width: 10.6em;
  font-size: clamp(2.12rem, 2.42vw, 2.58rem);
}

.hive-price-card__subhead {
  align-self: center;
  margin: clamp(-8px, -1vw, -4px) 0 clamp(8px, 1.2vw, 12px);
  color: #b17d28;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.hive-price-card__details ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  color: #121823;
  list-style: none;
}

.hive-price-card__details > ul {
  border-block: 1px solid rgba(185, 137, 48, 0.18);
}

.hive-price-card__details > ul > li {
  position: relative;
  min-height: 68px;
  padding: clamp(9px, 1.1vw, 12px) 0 clamp(9px, 1.1vw, 12px) clamp(52px, 4.4vw, 60px);
}

.hive-price-card__details > ul > li + li {
  border-top: 1px solid rgba(185, 137, 48, 0.18);
}

.hive-price-card__details > ul > li::before {
  position: absolute;
  top: clamp(9px, 1.1vw, 12px);
  left: 0;
  width: clamp(40px, 3.6vw, 46px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 255, 255, 0.82), transparent 54%),
    rgba(247, 236, 219, 0.94);
  box-shadow: inset 0 0 0 1px rgba(185, 137, 48, 0.08);
  content: "";
}

.hive-price-card__details > ul > li::after {
  position: absolute;
  top: calc(clamp(9px, 1.1vw, 12px) + clamp(8px, 0.8vw, 10px));
  left: clamp(9px, 0.9vw, 11px);
  width: clamp(23px, 2vw, 25px);
  aspect-ratio: 1;
  background-color: #b8872f;
  content: "";
  filter: drop-shadow(0 4px 6px rgba(185, 137, 48, 0.16));
  -webkit-mask: var(--feature-icon) center / contain no-repeat;
  mask: var(--feature-icon) center / contain no-repeat;
}

.hive-price-card__feature--cleanse {
  --feature-icon: url("assets/images/the-hive/icon-drop.svg");
}

.hive-price-card__feature--massage {
  --feature-icon: url("assets/images/the-hive/icon-heart-hands.svg");
}

.hive-price-card__feature--steam {
  --feature-icon: url("assets/images/the-hive/icon-steam.svg");
}

.hive-price-card__feature--botanical-cleanse {
  --feature-icon: url("assets/images/the-hive/icon-plant.svg");
}

.hive-price-card__feature--cleanse::after {
  top: calc(clamp(9px, 1.1vw, 12px) + clamp(7px, 0.7vw, 8px));
  left: clamp(13px, 1.1vw, 14px);
  width: clamp(18px, 1.6vw, 20px);
  aspect-ratio: 480.7865 / 724.2249;
}

.hive-price-card__feature--botanical-cleanse::after {
  top: calc(clamp(9px, 1.1vw, 12px) + clamp(5px, 0.6vw, 7px));
  left: clamp(8px, 0.8vw, 10px);
  width: clamp(25px, 2.3vw, 28px);
  aspect-ratio: 614.245 / 763.3392;
}

.hive-price-card__feature--steam::after {
  top: calc(clamp(9px, 1.1vw, 12px) + clamp(8px, 0.7vw, 9px));
  left: clamp(7px, 0.7vw, 9px);
  width: clamp(28px, 2.5vw, 31px);
}

.hive-price-card__details > ul > li > span,
.hive-price-card__feature-group > span {
  display: block;
  margin-bottom: 3px;
  color: var(--deep-blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hive-price-card__details > ul > li > p,
.hive-price-card__details p:not(.hive-price-card__subhead) {
  color: #273241;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.86rem;
  line-height: 1.34;
}

.hive-price-card__details > ul > li > p {
  margin: 0;
}

.hive-price-card__feature-group {
  display: grid;
  gap: 4px;
}

.hive-price-card__feature-group ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin: 2px 0 0;
  padding: 0;
  color: #273241;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.84rem;
}

.hive-price-card__feature-group ul li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hive-price-card__feature-group ul li::before {
  width: 0.34em;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #b17d28;
  content: "";
}

.hive-price-card__details > p:not(.hive-price-card__subhead) {
  position: relative;
  margin: auto 0 0;
  padding: clamp(10px, 1.2vw, 12px) clamp(6px, 1vw, 10px) 0 clamp(34px, 3.2vw, 42px);
  color: #273241;
  font-style: italic;
}

.hive-price-card__details > p:not(.hive-price-card__subhead)::before {
  position: absolute;
  top: clamp(10px, 1.2vw, 12px);
  left: clamp(2px, 0.5vw, 4px);
  width: clamp(18px, 1.6vw, 21px);
  aspect-ratio: 1;
  background-color: #b8872f;
  content: "";
  filter: drop-shadow(0 4px 6px rgba(185, 137, 48, 0.14));
  -webkit-mask: url("assets/images/the-hive/icon-brush.svg") center / contain no-repeat;
  mask: url("assets/images/the-hive/icon-brush.svg") center / contain no-repeat;
}

.hive-price-card__footer {
  display: block;
  min-height: clamp(78px, 6vw, 88px);
  padding: clamp(12px, 1.4vw, 16px) clamp(16px, 2vw, 22px);
  border-top: 1px solid rgba(185, 137, 48, 0.44);
  background: linear-gradient(180deg, rgba(255, 251, 244, 0.82), rgba(255, 244, 222, 0.76));
}

.hive-price-card__book {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  padding: 0 clamp(16px, 2.2vw, 24px);
  border: 1px solid rgba(10, 34, 50, 0.92);
  border-radius: 6px;
  color: var(--paper);
  background: linear-gradient(180deg, #15394f, #0a2232);
  box-shadow:
    0 14px 26px rgba(10, 34, 50, 0.18),
    inset 0 1px 0 rgba(255, 253, 248, 0.18);
  font-family: var(--sans-font);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}

.hive-price-card__book::after {
  margin-left: clamp(12px, 2vw, 20px);
  content: "\2192";
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8em;
  font-weight: 400;
  line-height: 0.8;
  transition: transform 180ms ease;
}

.hive-price-card__book:hover,
.hive-price-card__book:focus-visible {
  outline: 0;
  border-color: #b8872f;
  color: #fff7dc;
  background: linear-gradient(180deg, #1b435d, #102d42);
  box-shadow:
    0 18px 32px rgba(10, 34, 50, 0.24),
    inset 0 1px 0 rgba(255, 253, 248, 0.22);
  transform: translateY(-1px);
}

.hive-price-card__book:hover::after,
.hive-price-card__book:focus-visible::after {
  transform: translateX(3px);
}

.hive-pricing-progress {
  display: flex;
  justify-content: center;
  gap: 4px;
  min-height: 44px;
  margin: clamp(4px, 0.8vw, 8px) auto 0;
}

.hive-pricing-progress button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.hive-pricing-progress button::before {
  display: block;
  width: 30px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.28);
  content: "";
  transition: background 180ms ease, transform 180ms ease;
}

.hive-pricing-progress button[aria-current="true"]::before {
  background: var(--yellow);
  transform: scaleY(1.5);
}

.hive-pricing-progress button:focus-visible {
  outline: 2px solid rgba(255, 253, 248, 0.86);
  outline-offset: 4px;
}

.hive-pricing__note {
  max-width: 880px;
  margin: 26px auto 0;
  padding: 16px 18px;
  border: 1px dashed rgba(255, 253, 248, 0.28);
  border-radius: 8px;
  color: rgba(255, 253, 248, 0.88);
  background: rgba(255, 253, 248, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 253, 248, 0.08);
  text-align: center;
  font-weight: 700;
}

.hive-benefits {
  background-color: var(--cream);
  background-image: linear-gradient(180deg, rgba(255, 248, 242, 0.98), rgba(255, 253, 248, 0.98));
}

.hive-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding-top: clamp(38px, 5vw, 56px);
}

.hive-card-grid article,
.hive-products__panel {
  border: 1px solid rgba(23, 63, 95, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 22px rgba(23, 63, 95, 0.035);
}

.hive-card-grid article {
  position: relative;
  min-height: 100%;
  padding: clamp(50px, 6vw, 68px) clamp(18px, 3vw, 26px) clamp(18px, 3vw, 26px);
  border-top: 5px solid var(--yellow);
  overflow: visible;
  text-align: center;
}

.hive-card-grid article::after {
  display: none;
}

.hive-card-icon {
  position: absolute;
  top: 0;
  left: 50%;
  width: clamp(92px, 8.6vw, 114px);
  height: auto;
  aspect-ratio: 1.16 / 1;
  margin: 0;
  padding: clamp(9px, 1.1vw, 12px) clamp(11px, 1.4vw, 15px);
  background: var(--soft-yellow);
  border-radius: 8px;
  clip-path: none;
  box-shadow: none;
  filter: drop-shadow(0 10px 16px rgba(23, 63, 95, 0.14));
  transform: translate(-50%, -50%);
  z-index: 2;
}

.hive-card-grid article::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: clamp(100px, 9.2vw, 124px);
  height: auto;
  aspect-ratio: 1.16 / 1;
  background: var(--paper);
  border-radius: 8px;
  clip-path: none;
  content: "";
  transform: translate(-50%, -50%);
  z-index: 1;
}

.hive-card-grid h3 {
  color: var(--deep-blue);
  font-family: var(--display-font);
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
}

.hive-card-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.hive-products {
  display: grid;
  grid-template-columns: minmax(320px, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(24px, 5vw, 60px);
  align-items: stretch;
  background: linear-gradient(135deg, rgba(255, 253, 248, 0.98) 0%, rgba(247, 251, 253, 0.92) 100%);
}

.hive-products__panel {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4vw, 38px);
  border-top: 5px solid var(--yellow);
}

.hive-products__panel p:not(.eyebrow) {
  position: relative;
  z-index: 1;
  color: var(--muted);
}

.hive-products__panel h2,
.hive-products__panel .eyebrow,
.hive-products__panel .check-list {
  position: relative;
  z-index: 1;
}

.hive-products .hive-products__art {
  position: absolute;
  right: -18px;
  top: 18px;
  width: clamp(74px, 10vw, 112px);
  min-height: 0;
  height: auto;
  opacity: 0.14;
  transform: rotate(6deg);
}

.hive-products__feature {
  position: relative;
  display: grid;
  min-height: 420px;
  align-content: center;
  justify-items: center;
  overflow: hidden;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid rgba(23, 63, 95, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--premium-shadow);
  text-align: center;
}

.hive-products__feature p {
  position: relative;
  z-index: 1;
  max-width: 420px;
  margin-bottom: 12px;
  color: var(--deep-blue);
  font-family: var(--display-font);
  font-size: clamp(2.4rem, 5vw, 4.9rem);
  line-height: 0.96;
}

.hive-products__feature span {
  position: relative;
  z-index: 1;
  max-width: 360px;
  color: var(--muted);
  font-weight: 700;
}

.hive-products__feature img {
  position: absolute;
  right: clamp(-18px, -2vw, -8px);
  bottom: clamp(-18px, -2vw, -8px);
  width: clamp(150px, 18vw, 230px);
  opacity: 0.08;
  transform: rotate(-8deg);
}

.hive-cta {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(340px, 1.1fr);
  gap: clamp(30px, 6vw, 88px);
  align-items: center;
  min-height: clamp(410px, 40vw, 520px);
  padding-block: clamp(54px, 7vw, 86px);
  background-color: var(--soft-yellow);
  background-image:
    radial-gradient(circle at 15% 22%, rgba(255, 253, 248, 0.86) 0 18%, transparent 40%),
    linear-gradient(135deg, rgba(255, 253, 248, 0.96) 0%, rgba(255, 240, 189, 0.9) 100%);
  border-block: 1px solid rgba(23, 63, 95, 0.1);
}

.hive-cta::after {
  position: absolute;
  inset: 0;
  background-image: url("assets/images/the-hive/hex-grid.svg");
  background-position: center;
  background-repeat: repeat;
  background-size: clamp(520px, 64vw, 920px) auto;
  content: "";
  opacity: 0.38;
  pointer-events: none;
}

.hive-cta__mark,
.hive-cta__copy {
  position: relative;
  z-index: 1;
}

.hive-cta__mark {
  display: grid;
  place-items: center;
  min-height: clamp(250px, 34vw, 430px);
}

.hive-cta h2 {
  max-width: 560px;
  margin-bottom: clamp(14px, 2vw, 18px);
  color: var(--deep-blue);
  font-family: var(--sans-font);
  font-size: clamp(1.65rem, 2.25vw, 2.25rem);
  font-weight: 800;
  line-height: 1.16;
}

.hive-cta__copy {
  max-width: 600px;
}

.hive-cta__copy .eyebrow {
  color: var(--clay);
}

.hive-cta__copy p:not(.eyebrow) {
  max-width: 530px;
  margin: 0 0 clamp(22px, 3vw, 34px);
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  font-weight: 600;
  line-height: 1.65;
}

.hive-cta__art {
  width: clamp(250px, 32vw, 460px);
  filter: drop-shadow(0 22px 34px rgba(16, 45, 66, 0.12));
}

.site-footer {
  position: relative;
  margin-top: 0;
  padding-top: clamp(46px, 7vw, 72px);
}

.site-footer::before {
  display: none;
}

.site-footer .hive-updates {
  position: relative;
  z-index: 1;
  margin: 0 auto clamp(26px, 5vw, 48px);
}

@media (min-width: 981px) and (max-height: 820px) {
  .hive-pricing {
    padding-block: 22px 30px;
  }

  .hive-pricing .section-heading {
    margin-bottom: 8px;
  }

  .hive-pricing .section-heading h2 {
    font-size: clamp(2.65rem, 4.6vw, 3.75rem);
  }

  .hive-pricing-carousel {
    margin-top: 8px;
  }

  .hive-pricing-grid {
    padding-block: 6px 22px;
  }

  .hive-price-card {
    height: clamp(590px, calc(100vh - 170px), 640px);
    padding-top: 16px;
  }

  .hive-price-card__ornament {
    margin-bottom: 8px;
  }

  .hive-price-card__ornament img {
    width: 32px;
  }

  .hive-price-card__details {
    padding-inline: clamp(18px, 2.4vw, 30px);
    padding-bottom: 12px;
  }

  .hive-price-card__hero {
    margin-bottom: 10px;
  }

  .hive-price-card__hero h3 {
    font-size: clamp(2.08rem, 2.95vw, 2.45rem);
    line-height: 0.98;
  }

  .hive-price-card--botanical .hive-price-card__hero h3 {
    max-width: 11.8em;
    font-size: clamp(1.95rem, 2.75vw, 2.3rem);
  }

  .hive-price-card__hero h3::after {
    margin-top: 9px;
  }

  .hive-price-card__meta span {
    font-size: 0.76rem;
  }

  .hive-price-card__subhead {
    margin-bottom: 7px;
    font-size: 0.78rem;
  }

  .hive-price-card__details > ul > li {
    min-height: 66px;
    padding: 8px 0 8px 56px;
  }

  .hive-price-card__details > ul > li::before {
    top: 8px;
    width: 42px;
  }

  .hive-price-card__details > ul > li::after {
    top: 17px;
    left: 10px;
    width: 24px;
  }

  .hive-price-card__feature--cleanse::after {
    top: 15px;
    left: 13px;
    width: 19px;
  }

  .hive-price-card__feature--botanical-cleanse::after {
    top: 13px;
    left: 8px;
    width: 27px;
  }

  .hive-price-card__feature--steam::after {
    top: 16px;
    left: 7px;
    width: 30px;
  }

  .hive-price-card__details > ul > li > span,
  .hive-price-card__feature-group > span {
    font-size: 0.76rem;
  }

  .hive-price-card__details > ul > li > p,
  .hive-price-card__details p:not(.hive-price-card__subhead) {
    font-size: 0.82rem;
    line-height: 1.3;
  }

  .hive-price-card__feature-group {
    gap: 4px;
  }

  .hive-price-card__feature-group ul {
    gap: 3px 10px;
    font-size: 0.8rem;
  }

  .hive-price-card__details > p:not(.hive-price-card__subhead) {
    padding: 8px 10px 0 34px;
  }

  .hive-price-card__details > p:not(.hive-price-card__subhead)::before {
    top: 8px;
    left: 0;
    width: 18px;
  }

  .hive-price-card__footer {
    min-height: 74px;
    padding-block: 10px;
  }

  .hive-price-card__book {
    min-height: 52px;
    font-size: 0.76rem;
  }
}

@media (max-width: 980px) {
  .hive-intro,
  .hive-products,
  .hive-cta {
    grid-template-columns: 1fr;
  }

  .hive-team {
    grid-template-columns: 1fr;
  }

  .hive-team__intro,
  .hive-team__intro p:not(.eyebrow) {
    max-width: 720px;
  }

  .hive-cta {
    gap: clamp(20px, 5vw, 36px);
    text-align: center;
  }

  .hive-cta::after {
    background-size: 620px auto;
    opacity: 0.32;
  }

  .hive-cta__copy,
  .hive-cta__copy p:not(.eyebrow),
  .hive-cta h2 {
    margin-inline: auto;
  }

  .hive-cta__art {
    order: -1;
    width: clamp(210px, 52vw, 340px);
  }

  .hive-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .hive-hero {
    background-position: 58% center;
  }

  .hive-intro__bee {
    display: none;
  }

  .hive-team {
    padding-top: 104px;
  }

  .hive-team__strip {
    grid-template-columns: 1fr;
  }

  .hive-team-card {
    grid-template-columns: minmax(108px, 0.42fr) minmax(0, 0.58fr);
    min-height: 176px;
  }

  .hive-team-card::before,
  .hive-team-card img {
    min-height: 176px;
  }

  .hive-team-card__copy {
    padding: 18px;
  }

  .hive-team-card h3 {
    font-size: 1.2rem;
  }

  .hive-team__bee {
    top: 24px;
    right: 16px;
    bottom: auto;
    width: 70px;
  }

  .hive-photo-stack {
    min-height: 0;
  }

  .hive-photo-main {
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .hive-photo-secondary {
    position: static;
    width: 72%;
    margin: -54px auto 0;
  }

  .hive-card-grid {
    grid-template-columns: 1fr;
  }

  .hive-pricing__bee {
    right: -8px;
    top: 24px;
    width: 78px;
  }

  .hive-pricing-carousel {
    grid-template-columns: 1fr;
    margin-inline: calc(50% - 50vw);
  }

  .hive-pricing-carousel::before,
  .hive-pricing-carousel::after {
    display: block;
    width: 38px;
  }

  .hive-pricing-carousel__button {
    display: grid;
    width: 46px;
    color: rgba(255, 253, 248, 0.82);
    font-size: 2.2rem;
    opacity: 0.78;
  }

  .hive-pricing-swipe-cue {
    position: absolute;
    left: 50%;
    bottom: 20px;
    z-index: 6;
    display: grid;
    place-items: center;
    width: 58px;
    height: 28px;
    border: 1px solid rgba(255, 253, 248, 0.2);
    border-radius: 999px;
    background: rgba(10, 34, 50, 0.66);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(8px);
    transition: opacity 220ms ease, transform 220ms ease;
  }

  .hive-pricing-swipe-cue::before,
  .hive-pricing-swipe-cue::after {
    position: absolute;
    top: 50%;
    color: rgba(255, 253, 248, 0.82);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1rem;
    line-height: 1;
    transform: translateY(-52%);
  }

  .hive-pricing-swipe-cue::before {
    left: 10px;
    content: "\2039";
  }

  .hive-pricing-swipe-cue::after {
    right: 10px;
    content: "\203A";
  }

  .hive-pricing-swipe-cue span {
    width: 8px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: rgba(243, 198, 78, 0.92);
  }

  .hive-pricing-carousel.is-swipe-hinting .hive-pricing-swipe-cue {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }

  .hive-pricing-carousel.is-swipe-hinting .hive-pricing-swipe-cue span {
    animation: hive-swipe-dot 1120ms ease-in-out both;
  }

  @keyframes hive-swipe-dot {
    0%,
    100% {
      transform: translateX(0);
    }

    38% {
      transform: translateX(-12px);
    }

    72% {
      transform: translateX(12px);
    }
  }

  .hive-pricing-grid {
    --mobile-card-width: min(318px, calc(100vw - 72px));
    --mobile-card-gutter: max(20px, calc((100vw - var(--mobile-card-width)) / 2));
    --hive-price-card-width: var(--mobile-card-width);
    grid-auto-columns: var(--mobile-card-width);
    gap: 16px;
    padding-block: 10px 54px;
    padding-inline: var(--mobile-card-gutter);
    scroll-padding-inline: var(--mobile-card-gutter);
  }

  .hive-pricing-grid::-webkit-scrollbar {
    display: none;
  }

  .hive-price-card {
    height: auto;
    min-height: 710px;
    padding-top: 24px;
  }

  .hive-price-card__ornament {
    width: min(78%, 300px);
    margin-bottom: 18px;
  }

  .hive-price-card__details {
    padding-inline: 22px;
  }

  .hive-price-card__hero {
    margin-bottom: 16px;
    padding-inline: 20px;
  }

  .hive-price-card__hero h3 {
    font-size: 2.28rem;
  }

  .hive-price-card__meta span {
    font-size: 0.76rem;
  }

  .hive-price-card--botanical .hive-price-card__hero h3 {
    max-width: 9.6em;
    font-size: 2.16rem;
    line-height: 1.02;
  }

  .hive-price-card__details > ul > li {
    min-height: 92px;
    padding-left: 68px;
  }

  .hive-price-card__details > ul > li > p,
  .hive-price-card__details p:not(.hive-price-card__subhead) {
    font-size: 0.96rem;
  }

  .hive-price-card__feature--botanical-cleanse::after {
    top: 17px;
    left: 10px;
    width: 34px;
  }

  .hive-price-card__feature-group ul {
    gap: 6px 12px;
  }

  .hive-price-card__details > p:not(.hive-price-card__subhead) {
    padding-left: 42px;
  }

  .hive-price-card__details > p:not(.hive-price-card__subhead)::before {
    left: 4px;
    width: 26px;
  }

  .hive-price-card__footer {
    min-height: 96px;
    padding: 16px 18px 18px;
  }

  .hive-price-card__book {
    min-height: 60px;
    padding-inline: 14px;
    font-size: 0.76rem;
    letter-spacing: 0.1em;
  }

  .hive-price-card__book::after {
    margin-left: 10px;
  }

}
