/*
 * helpBALI Renewal 2026
 * Scope: .helpbali-renewal only
 * Palette: DEWATA — Sacred Tropical Journey
 */

.helpbali-renewal {
  --hb-jungle: #12382d;
  --hb-temple: #17201c;
  --hb-rice: #58754a;
  --hb-teal: #2f7171;
  --hb-sand: #d8c7a5;
  --hb-ivory: #f4efe4;
  --hb-gold: #d89a2b;
  --hb-red: #8e3b32;
  --hb-ink: #1c2822;
  --hb-muted: #657169;
  --hb-line: rgba(23, 32, 28, 0.14);
  --hb-radius: 1.4rem;
  --hb-shadow: 0 24px 70px rgba(9, 26, 21, 0.14);
  --hb-serif: "Zen Old Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --hb-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
  width: 100%;
  max-width: none;
  margin: 0;
  overflow: clip;
  color: var(--hb-ink);
  background: var(--hb-ivory);
  font-family: var(--hb-sans);
  font-size: 16px;
  line-height: 1.9;
}

.helpbali-renewal *,
.helpbali-renewal *::before,
.helpbali-renewal *::after {
  box-sizing: border-box;
}

.helpbali-renewal :where(h1, h2, h3, h4, p, figure) {
  margin-top: 0;
}

.helpbali-renewal :where(h1, h2, h3, h4) {
  font-family: var(--hb-serif);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.035em;
}

.helpbali-renewal a {
  color: inherit;
}

.helpbali-renewal img,
.helpbali-renewal video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.helpbali-renewal :focus-visible {
  outline: 3px solid var(--hb-gold);
  outline-offset: 4px;
}

.hb-section {
  position: relative;
  padding: clamp(5.5rem, 11vw, 10rem) clamp(1.25rem, 4vw, 4rem);
}

.hb-inner {
  width: min(100%, 1180px);
  margin-inline: auto;
}

.hb-inner--narrow {
  width: min(100%, 820px);
}

.hb-kicker {
  margin-bottom: 1.1rem;
  color: var(--hb-teal);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hb-heading {
  max-width: 18ch;
  margin-bottom: 1.6rem;
  font-size: clamp(2rem, 4.4vw, 4.5rem);
}

.hb-heading--light {
  color: var(--hb-ivory);
}

.hb-intro {
  max-width: 46rem;
  margin-bottom: clamp(2.5rem, 6vw, 5rem);
  color: var(--hb-muted);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
}

.hb-caption {
  margin-top: 0.9rem;
  color: var(--hb-muted);
  font-size: 0.76rem;
  line-height: 1.65;
}

.hb-media {
  height: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: var(--hb-radius);
  background: var(--hb-jungle);
}

.hb-media img {
  aspect-ratio: 16 / 9;
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.hb-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.hb-button-row .wp-block-button__link {
  min-height: 3.2rem;
  padding: 0.8rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--hb-gold);
  color: var(--hb-temple);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.hb-button-row .wp-block-button__link:hover {
  transform: translateY(-2px);
  background: #e4aa42;
}

.hb-button-row .is-style-outline .wp-block-button__link {
  border-color: currentColor;
  background: transparent;
  color: inherit;
}

/* Scene 1: Initial Impact */
.hb-hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: end;
  isolation: isolate;
  color: var(--hb-ivory);
  background: var(--hb-temple);
}

.hb-hero__media,
.hb-hero__shade {
  position: absolute;
  inset: 0;
}

.hb-hero__media {
  z-index: -3;
}

.hb-hero__media video {
  object-position: center 55%;
}

.hb-hero__shade {
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(8, 18, 14, 0.1) 20%, rgba(8, 18, 14, 0.82) 100%),
    linear-gradient(90deg, rgba(8, 18, 14, 0.58), transparent 65%);
}

.hb-hero__copy {
  width: min(100%, 1180px);
  margin-inline: auto;
  padding: clamp(7rem, 16vh, 11rem) clamp(1.25rem, 4vw, 4rem) clamp(4.5rem, 9vh, 7rem);
}

.hb-hero__eyebrow {
  margin-bottom: 1rem;
  color: var(--hb-sand);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.23em;
}

.hb-hero__title {
  max-width: 11ch;
  margin-bottom: 1.4rem;
  color: var(--hb-ivory);
  font-size: clamp(3.1rem, 8vw, 7.8rem);
  line-height: 1.16;
  letter-spacing: 0.02em;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.25);
}

.hb-hero__lead {
  max-width: 36rem;
  margin-bottom: 0;
  color: rgba(244, 239, 228, 0.88);
  font-size: clamp(1rem, 1.8vw, 1.3rem);
}

.hb-scroll-cue {
  position: absolute;
  right: clamp(1.25rem, 4vw, 4rem);
  bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: rgba(244, 239, 228, 0.72);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  writing-mode: vertical-rl;
}

.hb-scroll-cue::after {
  width: 1px;
  height: 4rem;
  content: "";
  background: linear-gradient(var(--hb-gold), transparent);
}

@media (max-height: 672px) and (min-width: 721px) {
  .hb-hero {
    min-height: 42rem;
  }
}

/* Scene 2: Thirst */
.hb-thirst {
  padding-top: clamp(5rem, 8vw, 7rem);
  padding-bottom: clamp(5rem, 8vw, 7rem);
  background: var(--hb-temple);
  color: var(--hb-ivory);
}

.hb-thirst__stage {
  position: relative;
  min-height: clamp(36rem, 72vh, 44rem);
  display: grid;
  grid-template-columns: 42% 58%;
  overflow: hidden;
  border-radius: var(--hb-radius);
  box-shadow: var(--hb-shadow);
}

.hb-thirst__heat,
.hb-thirst__cool {
  position: relative;
  grid-row: 1;
  overflow: hidden;
}

.hb-thirst__heat {
  grid-column: 1;
}

.hb-thirst__cool {
  grid-column: 2;
}

.hb-thirst__heat::after,
.hb-thirst__cool::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.hb-thirst__heat::after {
  background: linear-gradient(90deg, rgba(142, 59, 50, 0.35), rgba(216, 154, 43, 0.2));
}

.hb-thirst__cool::after {
  background: linear-gradient(90deg, rgba(18, 56, 45, 0.12), rgba(18, 56, 45, 0.5));
}

.hb-thirst__copy {
  position: relative;
  z-index: 2;
  top: auto;
  right: auto;
  bottom: auto;
  grid-column: 1 / -1;
  grid-row: 1;
  align-self: center;
  justify-self: end;
  width: min(58%, 590px);
  margin: clamp(1.5rem, 4vw, 3.5rem);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid rgba(244, 239, 228, 0.2);
  border-radius: 1rem;
  background: rgba(12, 32, 25, 0.76);
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(12px);
  transform: none;
}

.hb-thirst__copy h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 3.3vw, 3.25rem);
}

.hb-thirst__copy p {
  margin-bottom: 0;
  color: rgba(244, 239, 228, 0.82);
  font-size: clamp(0.85rem, 1vw, 0.95rem);
  line-height: 1.8;
}

.hb-fact-note {
  padding-left: 1rem;
  border-left: 2px solid var(--hb-gold);
  font-size: 0.82rem;
}

/* Scene 3: Experience */
.hb-experience {
  background: var(--hb-ivory);
}

.hb-experience__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.2rem, 2.5vw, 2rem);
}

.hb-experience__card {
  position: relative;
  grid-column: span 6;
  min-height: 32rem;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-radius: var(--hb-radius);
  color: var(--hb-ivory);
  box-shadow: var(--hb-shadow);
}

.hb-experience__card:nth-child(3) {
  grid-column: 2 / span 5;
}

.hb-experience__card:nth-child(4) {
  grid-column: 7 / span 5;
}

.hb-experience__card .hb-media {
  position: absolute;
  inset: 0;
  border-radius: 0;
}

.hb-experience__card::after {
  position: absolute;
  inset: 20% 0 0;
  z-index: 1;
  content: "";
  background: linear-gradient(transparent, rgba(9, 25, 20, 0.88));
}

.hb-experience__content {
  position: relative;
  z-index: 2;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.hb-experience__content h3 {
  margin-bottom: 0.7rem;
  color: var(--hb-ivory);
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

.hb-experience__content p {
  margin-bottom: 0;
  color: rgba(244, 239, 228, 0.82);
}

/* Scene 4: Dewata */
.hb-dewata {
  --hb-dewata-heading: #eee9de;
  --hb-dewata-body: #cbd0c8;
  --hb-dewata-meta: #c8bfa9;
  background: var(--hb-jungle);
  color: var(--hb-dewata-heading);
}

.helpbali-renewal .hb-dewata .hb-kicker {
  color: var(--hb-dewata-meta);
}

.helpbali-renewal .hb-dewata .hb-heading--light {
  color: var(--hb-dewata-heading);
}

.helpbali-renewal .hb-dewata__intro {
  max-width: 55rem;
  color: var(--hb-dewata-body);
}

.hb-dewata__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(18rem, 0.92fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.hb-dewata__visual {
  position: sticky;
  top: 7vh;
  height: 86vh;
  max-height: 820px;
  overflow: hidden;
  border-radius: var(--hb-radius);
  background: var(--hb-temple);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}

.hb-dewata__layer {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity 0.9s ease, transform 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.hb-dewata__layer.is-active,
.hb-dewata__layer:first-child {
  opacity: 1;
  transform: scale(1);
}

.hb-dewata__layer figcaption {
  position: absolute;
  right: 1.2rem;
  bottom: 1rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(9, 25, 20, 0.62);
  color: rgba(244, 239, 228, 0.78);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
}

.hb-dewata__stories {
  padding-bottom: 22vh;
}

.hb-dewata__step {
  min-height: 66vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 3rem;
  border-bottom: 1px solid rgba(244, 239, 228, 0.14);
}

.helpbali-renewal .hb-dewata__step h3 {
  margin-bottom: 1rem;
  color: var(--hb-dewata-heading);
  font-size: clamp(2rem, 4vw, 3.7rem);
}

.helpbali-renewal .hb-dewata__step p {
  color: var(--hb-dewata-body);
}

.helpbali-renewal .hb-dewata__step p.hb-dewata__number {
  margin-bottom: 1rem;
  color: var(--hb-dewata-meta);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
}

.hb-dewata__closing {
  max-width: 50rem;
  margin: clamp(3rem, 8vw, 7rem) auto 0;
  color: var(--hb-dewata-meta);
  font-family: var(--hb-serif);
  font-size: clamp(1.35rem, 2.8vw, 2.35rem);
  line-height: 1.75;
  text-align: center;
}

/* Scene 5: Before You Go */
.hb-before {
  background: #eee6d7;
}

.hb-before__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.hb-info-card {
  display: block;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  border: 1px solid rgba(23, 32, 28, 0.1);
  border-radius: 1.1rem;
  background: rgba(244, 239, 228, 0.78);
  text-decoration: none;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.hb-info-card:hover {
  transform: translateY(-4px);
  border-color: rgba(18, 56, 45, 0.28);
  box-shadow: 0 18px 42px rgba(9, 26, 21, 0.1);
}

.hb-info-card__icon {
  width: 2.7rem;
  height: 2.7rem;
  display: grid;
  place-items: center;
  margin-bottom: 1.2rem;
  border-radius: 50%;
  background: var(--hb-jungle);
  color: var(--hb-ivory);
  font-family: var(--hb-serif);
}

.hb-info-card h3 {
  margin-bottom: 0.8rem;
  font-size: 1.35rem;
}

.hb-info-card p {
  margin-bottom: 0;
  color: var(--hb-muted);
  font-size: 0.92rem;
}

/* Scene 6: Travel Guide */
.hb-guide {
  background: var(--hb-ivory);
}

.hb-guide__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.hb-region-card {
  position: relative;
  min-height: 28rem;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-radius: var(--hb-radius);
  color: var(--hb-ivory);
  box-shadow: var(--hb-shadow);
}

.hb-region-card--east {
  grid-column: 1 / -1;
  min-height: min(72vh, 650px);
}

.hb-region-card .hb-media {
  position: absolute;
  inset: 0;
  border-radius: 0;
}

.hb-region-card::after {
  position: absolute;
  inset: 25% 0 0;
  z-index: 1;
  content: "";
  background: linear-gradient(transparent, rgba(7, 22, 17, 0.9));
}

.hb-region-card__content {
  position: relative;
  z-index: 2;
  width: min(100%, 40rem);
  padding: clamp(1.5rem, 4vw, 3rem);
}

.hb-region-card__content h3 {
  margin-bottom: 0.5rem;
  color: var(--hb-ivory);
  font-size: clamp(1.7rem, 3.3vw, 3.2rem);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

.hb-region-card__places {
  margin-bottom: 1rem;
  color: var(--hb-sand);
  font-size: 0.72rem;
  letter-spacing: 0.11em;
}

.hb-region-card__content p:last-child {
  margin-bottom: 0;
  color: rgba(244, 239, 228, 0.78);
}

.hb-region-card:hover img,
.hb-selection-card:hover img {
  transform: scale(1.045);
}

/* Scene 7: Local Selection */
.hb-selection {
  background: #e5dac5;
}

.hb-selection__feature {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  overflow: hidden;
  border-radius: var(--hb-radius);
  background: var(--hb-jungle);
  color: var(--hb-ivory);
  box-shadow: var(--hb-shadow);
}

.hb-selection__feature .hb-media {
  min-height: 34rem;
  border-radius: 0;
}

.hb-selection__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4rem);
}

.hb-label-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.3rem;
}

.hb-label {
  display: inline-flex;
  padding: 0.3rem 0.65rem;
  border: 1px solid rgba(244, 239, 228, 0.28);
  border-radius: 999px;
  color: var(--hb-sand);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.hb-selection__copy h3 {
  margin-bottom: 1rem;
  color: var(--hb-ivory);
  font-size: clamp(1.8rem, 3.5vw, 3.3rem);
}

.hb-selection__copy p {
  color: rgba(244, 239, 228, 0.74);
}

.hb-category-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.hb-category-list p {
  margin: 0;
  padding: 0.85rem 0.4rem;
  border-top: 1px solid rgba(23, 32, 28, 0.18);
  color: var(--hb-jungle);
  font-size: 0.76rem;
  font-weight: 700;
  text-align: center;
}

/* Scene 8: Trust */
.hb-trust {
  background: var(--hb-temple);
  color: var(--hb-ivory);
}

.hb-trust .hb-kicker,
.hb-final .hb-kicker {
  color: var(--hb-sand);
}

.hb-trust__statement {
  max-width: 50rem;
  margin: 0 auto clamp(3rem, 7vw, 5rem);
  color: var(--hb-sand);
  font-family: var(--hb-serif);
  font-size: clamp(1.25rem, 2.8vw, 2.25rem);
  line-height: 1.8;
  text-align: center;
}

.hb-trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(244, 239, 228, 0.14);
  border-radius: 1rem;
  background: rgba(244, 239, 228, 0.14);
}

.hb-trust-card {
  padding: clamp(1.3rem, 2.6vw, 2.2rem);
  background: var(--hb-temple);
}

.hb-trust-card h3 {
  margin-bottom: 0.8rem;
  color: var(--hb-sand);
  font-size: 1.15rem;
}

.hb-trust-card p {
  margin-bottom: 0;
  color: rgba(244, 239, 228, 0.66);
  font-size: 0.86rem;
}

/* Scene 9: Latest Stories */
.hb-stories {
  background: var(--hb-ivory);
}

.hb-story-query .wp-block-post-template {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hb-story-query .wp-block-post {
  overflow: hidden;
  border: 1px solid var(--hb-line);
  border-radius: 1rem;
  background: #fffdf8;
  box-shadow: 0 16px 45px rgba(9, 26, 21, 0.07);
}

.hb-story-query .wp-block-post-featured-image {
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
}

.hb-story-query .wp-block-post-featured-image img {
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.hb-story-query .wp-block-post:hover .wp-block-post-featured-image img {
  transform: scale(1.04);
}

.hb-story-query .wp-block-post-terms,
.hb-story-query .wp-block-post-date,
.hb-story-query .wp-block-post-title,
.hb-story-query .wp-block-post-excerpt {
  padding-inline: 1.4rem;
}

.hb-story-query .wp-block-post-terms {
  margin: 1.3rem 0 0.45rem;
  color: var(--hb-teal);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.hb-story-query .wp-block-post-title {
  margin-bottom: 0.8rem;
  font-size: 1.3rem;
}

.hb-story-query .wp-block-post-excerpt {
  padding-bottom: 1.4rem;
  color: var(--hb-muted);
  font-size: 0.85rem;
}

.hb-story-query .wp-block-post-excerpt__more-link {
  display: inline-block;
  margin-top: 0.7rem;
  color: var(--hb-jungle);
  font-weight: 700;
}

/* Scene 10: Final CTA */
.hb-final {
  position: relative;
  min-height: min(86vh, 820px);
  display: grid;
  place-items: center;
  isolation: isolate;
  padding: clamp(6rem, 12vw, 10rem) 1.25rem;
  overflow: hidden;
  color: var(--hb-ivory);
  text-align: center;
  background: var(--hb-temple);
}

.hb-final__media,
.hb-final__shade {
  position: absolute;
  inset: 0;
}

.hb-final__media {
  z-index: -3;
  margin: 0;
  border-radius: 0;
}

.hb-final__media img {
  animation: hbFinalBreath 18s ease-in-out infinite alternate;
}

.hb-final__shade {
  z-index: -2;
  background: rgba(10, 27, 21, 0.68);
}

.hb-final__copy {
  width: min(100%, 760px);
}

.hb-final__copy h2 {
  margin-bottom: 1.4rem;
  color: var(--hb-ivory);
  font-size: clamp(2.4rem, 6vw, 5.6rem);
}

.hb-final__copy > p {
  color: rgba(244, 239, 228, 0.78);
}

.hb-final__copy .hb-final__subline {
  max-width: 36rem;
  margin: 0 auto;
  color: rgba(244, 239, 228, 0.78);
  font-family: var(--hb-serif);
  font-size: clamp(1.2rem, 2.4vw, 1.8rem);
  line-height: 1.75;
}

.hb-final .hb-button-row {
  justify-content: center;
  color: var(--hb-ivory);
}

@keyframes hbFinalBreath {
  from { transform: scale(1); }
  to { transform: scale(1.045); }
}

/* Shared subpages: Entry, Love Bali and All Indonesia */
.hb-subpage {
  background: #f7f1e6;
}

.hb-subhero {
  position: relative;
  min-height: min(78vh, 760px);
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
  background: var(--hb-temple);
  color: var(--hb-ivory);
}

.hb-subhero__media,
.hb-subhero__shade {
  position: absolute;
  inset: 0;
}

.hb-subhero__media {
  z-index: -3;
  margin: 0;
}

.hb-subhero__media img {
  object-position: center 52%;
}

.hb-subhero--love .hb-subhero__media img {
  object-position: center 58%;
}

.hb-subhero--arrival .hb-subhero__media img {
  object-position: center 48%;
}

.hb-subhero__shade {
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(7, 20, 15, 0.12) 12%, rgba(7, 20, 15, 0.88) 100%),
    linear-gradient(90deg, rgba(7, 20, 15, 0.72), transparent 72%);
}

.hb-subhero__copy {
  width: min(100%, 1180px);
  margin-inline: auto;
  padding: clamp(7rem, 15vh, 10rem) clamp(1.25rem, 4vw, 4rem) clamp(4rem, 8vh, 6.5rem);
}

.helpbali-renewal .hb-subhero .hb-kicker {
  color: var(--hb-sand);
}

.hb-subhero__title {
  max-width: 17ch;
  margin-bottom: 1.2rem;
  color: var(--hb-ivory);
  font-size: clamp(2.6rem, 6.8vw, 6.2rem);
  line-height: 1.18;
  text-shadow: 0 3px 28px rgba(0, 0, 0, 0.36);
}

.hb-subhero__lead {
  max-width: 39rem;
  margin-bottom: 0.8rem;
  color: rgba(244, 239, 228, 0.88);
  font-size: clamp(1rem, 1.6vw, 1.22rem);
}

.hb-updated {
  margin-bottom: 0;
  color: rgba(244, 239, 228, 0.68);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
}

.hb-page-intro {
  background: #f7f1e6;
}

.hb-notice {
  margin-top: 2.2rem;
  padding: clamp(1.35rem, 3vw, 2rem);
  border-left: 4px solid var(--hb-teal);
  border-radius: 0 1rem 1rem 0;
  background: rgba(47, 113, 113, 0.08);
}

.hb-notice--important {
  border-left-color: var(--hb-gold);
  background: rgba(216, 154, 43, 0.1);
}

.hb-notice--warning {
  border-left-color: var(--hb-red);
  background: rgba(142, 59, 50, 0.08);
}

.hb-notice h3 {
  margin-bottom: 0.7rem;
  color: var(--hb-jungle);
  font-size: 1.3rem;
}

.hb-notice :last-child {
  margin-bottom: 0;
}

.hb-journey-flow {
  background: var(--hb-jungle);
  color: var(--hb-ivory);
}

.hb-journey-flow .hb-kicker {
  color: var(--hb-sand);
}

.hb-step-grid,
.hb-fact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(244, 239, 228, 0.16);
  border-radius: 1rem;
  background: rgba(244, 239, 228, 0.16);
}

.hb-step-card {
  min-height: 20rem;
  padding: clamp(1.35rem, 2.8vw, 2.2rem);
  background: var(--hb-jungle);
}

.hb-step-card__number {
  margin-bottom: clamp(2.4rem, 6vw, 5rem);
  color: var(--hb-sand);
  font-family: var(--hb-serif);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
}

.hb-step-card h3 {
  margin-bottom: 0.8rem;
  color: var(--hb-ivory);
  font-size: 1.35rem;
}

.hb-step-card p:last-child {
  margin-bottom: 0;
  color: rgba(244, 239, 228, 0.72);
  font-size: 0.88rem;
}

.hb-topic-links,
.hb-help-section {
  background: #eee6d7;
}

.hb-topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.hb-topic-card {
  min-height: 17rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.4rem, 3vw, 2.3rem);
  border: 1px solid var(--hb-line);
  border-radius: 1rem;
  background: rgba(255, 253, 248, 0.78);
  color: var(--hb-ink);
  text-decoration: none;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.hb-topic-card:hover {
  transform: translateY(-4px);
  border-color: rgba(18, 56, 45, 0.3);
  box-shadow: 0 18px 42px rgba(9, 26, 21, 0.1);
}

.hb-topic-card__meta {
  margin-bottom: auto;
  color: var(--hb-teal);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.hb-topic-card h3 {
  margin-bottom: 0.7rem;
  color: var(--hb-jungle);
  font-size: 1.45rem;
}

.hb-topic-card p:last-child {
  margin-bottom: 0;
  color: var(--hb-muted);
  font-size: 0.88rem;
}

.hb-fact-grid {
  margin-top: clamp(2.2rem, 5vw, 4rem);
  border-color: var(--hb-line);
  background: var(--hb-line);
}

.hb-fact-card {
  min-height: 16rem;
  padding: clamp(1.3rem, 2.8vw, 2.1rem);
  background: rgba(255, 253, 248, 0.88);
}

.hb-fact-card__label {
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
  color: var(--hb-teal);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.hb-fact-card h3 {
  margin-bottom: 0.75rem;
  color: var(--hb-jungle);
  font-size: 1.3rem;
}

.hb-fact-card p:last-child {
  margin-bottom: 0;
  color: var(--hb-muted);
  font-size: 0.86rem;
}

.hb-help-section .is-style-outline .wp-block-button__link,
.hb-topic-links .is-style-outline .wp-block-button__link {
  color: var(--hb-jungle);
}

.hb-source-section {
  background: var(--hb-temple);
  color: var(--hb-ivory);
}

.hb-source-list {
  margin: 2rem 0;
  padding: 0;
  list-style: none;
}

.hb-source-list li {
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(244, 239, 228, 0.14);
}

.hb-source-list a {
  color: var(--hb-sand);
  text-underline-offset: 0.25em;
}

.hb-source-note {
  margin-bottom: 0;
  color: rgba(244, 239, 228, 0.66);
  font-size: 0.82rem;
}

/* Motion enhancement: content remains visible if JS never runs. */
.hb-motion-ready [data-hb-reveal],
.hb-motion-ready .hb-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.85s ease, transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.hb-motion-ready [data-hb-reveal="left"] {
  transform: translateX(-36px);
}

.hb-motion-ready [data-hb-reveal="right"] {
  transform: translateX(36px);
}

.hb-motion-ready [data-hb-reveal].is-visible,
.hb-motion-ready .hb-reveal.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

.hb-motion-ready [data-hb-stagger] > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.hb-motion-ready [data-hb-stagger].is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

.hb-motion-ready [data-hb-stagger].is-visible > *:nth-child(2) { transition-delay: 90ms; }
.hb-motion-ready [data-hb-stagger].is-visible > *:nth-child(3) { transition-delay: 180ms; }
.hb-motion-ready [data-hb-stagger].is-visible > *:nth-child(4) { transition-delay: 270ms; }
.hb-motion-ready [data-hb-stagger].is-visible > *:nth-child(5) { transition-delay: 360ms; }
.hb-motion-ready [data-hb-stagger].is-visible > *:nth-child(6) { transition-delay: 450ms; }

@media (max-width: 960px) {
  .hb-thirst__stage {
    grid-template-columns: 34% 66%;
  }

  .hb-thirst__copy {
    width: min(68%, 560px);
  }

  .hb-experience__card,
  .hb-experience__card:nth-child(3),
  .hb-experience__card:nth-child(4) {
    grid-column: span 6;
  }

  .hb-dewata__grid {
    grid-template-columns: 1fr;
  }

  .hb-dewata__visual {
    top: 4rem;
    z-index: 2;
    height: 48vh;
  }

  .hb-dewata__step {
    min-height: 52vh;
    padding-top: 8rem;
  }

  .hb-selection__feature {
    grid-template-columns: 1fr;
  }

  .hb-selection__feature .hb-media {
    min-height: 28rem;
  }

  .hb-category-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .hb-trust__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hb-step-grid,
  .hb-fact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .helpbali-renewal {
    font-size: 15px;
  }

  .hb-section {
    padding-inline: 1rem;
  }

  .hb-hero {
    min-height: 100vh;
  }

  .hb-hero__copy {
    padding-inline: 1.25rem 2.4rem;
  }

  .hb-scroll-cue {
    right: 0.7rem;
  }

  .hb-thirst__stage {
    min-height: 46rem;
    grid-template-columns: 1fr;
    grid-template-rows: 32% 68%;
  }

  .hb-thirst__heat {
    grid-column: 1;
    grid-row: 1;
  }

  .hb-thirst__cool {
    grid-column: 1;
    grid-row: 2;
  }

  .hb-thirst__copy {
    position: absolute;
    top: auto;
    right: 0.8rem;
    bottom: 0.8rem;
    width: calc(100% - 1.6rem);
    margin: 0;
    transform: none;
  }

  .hb-experience__grid {
    display: block;
  }

  .hb-experience__card {
    min-height: 30rem;
    margin-bottom: 1rem;
  }

  .hb-before__grid,
  .hb-guide__grid,
  .hb-story-query .wp-block-post-template {
    grid-template-columns: 1fr;
  }

  .hb-region-card,
  .hb-region-card--east {
    grid-column: auto;
    min-height: 30rem;
  }

  .hb-selection__feature .hb-media {
    min-height: 22rem;
  }

  .hb-category-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .hb-trust__grid {
    grid-template-columns: 1fr;
  }

  .hb-subhero {
    min-height: 72vh;
  }

  .hb-subhero__copy {
    padding-inline: 1.25rem;
  }

  .hb-step-grid,
  .hb-fact-grid,
  .hb-topic-grid {
    grid-template-columns: 1fr;
  }

  .hb-step-card,
  .hb-fact-card,
  .hb-topic-card {
    min-height: auto;
  }

  .hb-step-card__number,
  .hb-fact-card__label {
    margin-bottom: 1.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .helpbali-renewal *,
  .helpbali-renewal *::before,
  .helpbali-renewal *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hb-motion-ready [data-hb-reveal],
  .hb-motion-ready .hb-reveal,
  .hb-motion-ready [data-hb-stagger] > * {
    opacity: 1;
    transform: none;
  }
}
