/* ==========================================================================
   BLZB PREMIUM HOME
   Ink black + champagne gold · full-screen scroll sections
   ========================================================================== */

html.home-premium {
  --hp-ink: #14120e;
  --hp-ink-2: #1a1712;
  --hp-ink-3: #221d16;
  --hp-paper: #f7f3ea;
  --hp-muted: #c4bfb3;
  --hp-gold: #c9a96a;
  --hp-gold-2: #e8d5aa;
  --hp-line: rgba(247, 243, 234, 0.14);
  --hp-sans: "Inter", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  --hp-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  background: var(--hp-ink);
}

html.home-premium.hp-virtual {
  scroll-snap-type: none;
  scroll-behavior: auto;
  height: 100%;
  overflow: hidden;
}

html.home-premium.hp-virtual body.home-premium-body {
  height: 100%;
  overflow: hidden;
}

html.home-premium.hp-virtual .hp-sections {
  transition: transform 0.55s cubic-bezier(0.33, 0, 0.2, 1);
  transform: translate3d(0, calc(var(--slide, 0) * -100svh), 0);
  will-change: transform;
}

html.home-premium.hp-virtual .hp-section {
  height: 100svh;
  min-height: 0;
}

@media (prefers-reduced-motion: reduce) {
  html.home-premium.hp-virtual .hp-sections {
    transition: none;
  }
}

html.home-premium body.home-premium-body {
  margin: 0;
  background: var(--hp-ink) !important;
  color: var(--hp-paper);
  font-family: var(--hp-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.home-premium-body ::selection {
  background: var(--hp-gold);
  color: #14120e;
}

.home-premium-body a {
  color: inherit;
  text-decoration: none;
}

.hp {
  --nav-h: 84px;
  position: relative;
}

/* noise overlay --------------------------------------------------------- */
.hp-noise {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

/* background stack ------------------------------------------------------ */
.hp-bg-stack {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--hp-ink);
}

.hp-bg-layer {
  position: absolute;
  inset: -4%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.7s ease;
  will-change: opacity;
}

.hp-bg-layer.is-active {
  opacity: 1;
}

.hp-bg-stack::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      90deg,
      rgba(20, 18, 14, 0.88) 0%,
      rgba(20, 18, 14, 0.68) 38%,
      rgba(20, 18, 14, 0.3) 72%,
      rgba(20, 18, 14, 0.45) 100%
    ),
    linear-gradient(
      180deg,
      rgba(20, 18, 14, 0.45) 0%,
      rgba(20, 18, 14, 0.24) 50%,
      rgba(20, 18, 14, 0.78) 100%
    );
}

/* top progress ---------------------------------------------------------- */
.hp-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 88;
  background: rgba(243, 240, 232, 0.06);
}

.hp-progress i {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--hp-gold), var(--hp-gold-2));
  transform: scaleX(var(--progress, 0));
  transform-origin: left center;
  transition: transform 0.3s linear;
}

/* header ---------------------------------------------------------------- */
.hp-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 22px clamp(20px, 4.5vw, 64px);
  border-bottom: 1px solid transparent;
  transition: padding 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.45s ease, border-color 0.45s ease;
}

.hp-header.is-scrolled {
  padding-top: 14px;
  padding-bottom: 14px;
  background: rgba(20, 18, 14, 0.94);
  border-bottom-color: var(--hp-line);
}

.hp-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.hp-brand-mark {
  width: 34px;
  height: 34px;
  display: block;
}

.hp-brand-logo {
  display: block;
  height: 30px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
  transition: opacity 0.35s ease;
}

.hp-brand:hover .hp-brand-logo {
  opacity: 1;
}

.hp-brand-text {
  font-family: var(--hp-serif);
  font-size: 1.02rem;
  letter-spacing: 0.16em;
  color: var(--hp-paper);
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}

.hp-brand-text em {
  font-family: var(--hp-sans);
  font-style: normal;
  font-size: 0.55rem;
  letter-spacing: 0.34em;
  color: var(--hp-gold);
}

.hp-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 38px);
}

.hp-nav a {
  position: relative;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  color: rgba(243, 240, 232, 0.62);
  padding: 6px 0;
  transition: color 0.35s ease;
}

.hp-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--hp-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.hp-nav a:hover,
.hp-nav a.is-active {
  color: var(--hp-paper);
}

.hp-nav a.is-active::after,
.hp-nav a:hover::after {
  transform: scaleX(1);
}

.hp-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  color: var(--hp-gold);
  border: 1px solid rgba(200, 169, 106, 0.45);
  padding: 11px 20px;
  transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}

.hp-header-cta span {
  transition: transform 0.4s ease;
}

.hp-header-cta:hover {
  background: var(--hp-gold);
  color: #14120e;
  border-color: var(--hp-gold);
}

.hp-header-cta:hover span {
  transform: translate(2px, -2px);
}

.hp-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 42px;
  height: 42px;
  padding: 0 10px;
  background: none;
  border: 1px solid rgba(243, 240, 232, 0.2);
  cursor: pointer;
}

.hp-burger span {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--hp-paper);
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.hp-burger[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.hp-burger[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* mobile menu ----------------------------------------------------------- */
.hp-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
  padding: 100px clamp(24px, 8vw, 60px) 48px;
  background: rgba(20, 18, 14, 0.985);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.4s;
}

.hp-mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.hp-mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hp-mobile-menu nav a {
  font-family: var(--hp-serif);
  font-size: clamp(1.6rem, 7vw, 2.2rem);
  line-height: 1.6;
  color: var(--hp-paper);
  padding: 6px 0;
  border-bottom: 1px solid var(--hp-line);
}

.hp-mobile-menu nav a:hover {
  color: var(--hp-gold);
}

.hp-mobile-meta {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--hp-muted);
}

/* section rail ---------------------------------------------------------- */
.hp-rail {
  position: fixed;
  right: clamp(16px, 2.2vw, 36px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hp-rail-dot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 0;
  background: none;
  border: 0;
  color: rgba(243, 240, 232, 0.34);
  font: inherit;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  cursor: pointer;
  transition: color 0.4s ease;
}

.hp-rail-dot i {
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.hp-rail-dot:hover,
.hp-rail-dot.is-active {
  color: var(--hp-gold);
}

.hp-rail-dot.is-active i {
  width: 38px;
}

/* sections -------------------------------------------------------------- */
.hp-sections {
  position: relative;
  z-index: 1;
}

.hp-section {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(96px, 12vh, 132px) clamp(22px, 6vw, 104px)
    clamp(44px, 6vh, 72px);
  scroll-snap-align: start;
  overflow: hidden;
  isolation: isolate;
}

.hp-bg {
  position: absolute;
  inset: -5%;
  z-index: -2;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.06) translate3d(0, var(--parallax, 0px), 0);
  transition: transform 1.1s cubic-bezier(0.2, 0.6, 0.2, 1), opacity 1s ease;
  will-change: transform;
}

.hp-section.is-active .hp-bg {
  transform: scale(1.015) translate3d(0, var(--parallax, 0px), 0);
}

.hp-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(20, 18, 14, 0.14) 0%,
    rgba(20, 18, 14, 0.04) 50%,
    rgba(20, 18, 14, 0.34) 100%
  );
}

.hp-inner,
.hp-hero-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

/* shared typography ----------------------------------------------------- */
.hp-kicker {
  margin: 0 0 0.7rem;
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  color: var(--hp-gold);
  text-transform: uppercase;
}

.hp-h2 {
  margin: 0.15rem 0 0;
  font-family: var(--hp-serif);
  font-weight: 600;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.18;
  letter-spacing: 0.01em;
  color: var(--hp-paper);
}

.hp-sec-head {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr) minmax(0, 0.92fr);
  gap: clamp(18px, 3vw, 52px);
  align-items: end;
  padding-bottom: clamp(14px, 2vh, 22px);
  border-bottom: 1px solid var(--hp-line);
  margin-bottom: clamp(20px, 3vh, 34px);
}

.hp-sec-num {
  font-family: var(--hp-serif);
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  line-height: 0.9;
  color: rgba(200, 169, 106, 0.5);
}

.hp-sec-desc {
  margin: 0;
  max-width: 46ch;
  font-size: 0.92rem;
  line-height: 1.9;
  color: var(--hp-muted);
}

/* hero ------------------------------------------------------------------ */
.hp-hero {
  justify-content: center;
}

.hp-hero .hp-bg {
  transform: scale(1.06)
    translate3d(calc(var(--mx, 0) * 16px), calc(var(--my, 0) * 16px + var(--parallax, 0px)), 0);
}

.hp-hero.is-active .hp-bg {
  transform: scale(1.015)
    translate3d(calc(var(--mx, 0) * 16px), calc(var(--my, 0) * 16px + var(--parallax, 0px)), 0);
}

.hp-display {
  margin: 0.4rem 0 1.6rem;
  font-family: var(--hp-serif);
  font-weight: 600;
  font-size: clamp(3rem, 7.6vw, 6.8rem);
  line-height: 1.08;
  letter-spacing: 0.005em;
}

.hp-display em {
  font-style: normal;
  color: var(--hp-gold);
}

.hp-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.04em;
}

.hp-line > span {
  display: block;
}

.hp-hero-sub {
  max-width: 34em;
  margin: 0 0 2.2rem;
  font-size: clamp(0.95rem, 1.15vw, 1.06rem);
  line-height: 2;
  color: rgba(243, 240, 232, 0.72);
}

.hp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hp-hero-foot {
  position: absolute;
  left: clamp(22px, 6vw, 104px);
  right: clamp(22px, 6vw, 104px);
  bottom: clamp(22px, 3.4vh, 36px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  font-size: 0.64rem;
  letter-spacing: 0.24em;
  color: rgba(243, 240, 232, 0.4);
}

.hp-scroll {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.hp-scroll-line {
  position: relative;
  display: block;
  width: 56px;
  height: 1px;
  background: rgba(243, 240, 232, 0.22);
  overflow: hidden;
}

.hp-scroll-line::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--hp-gold);
  animation: hp-sweep 2.4s cubic-bezier(0.6, 0, 0.4, 1) infinite;
}

@keyframes hp-sweep {
  0% {
    left: -100%;
  }
  55% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}

.hp-hero-meta {
  text-align: right;
  line-height: 1.9;
}

/* buttons --------------------------------------------------------------- */
.hp-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 28px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 1px;
  transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease,
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

.hp-btn--gold {
  background: var(--hp-gold);
  color: #14120e;
  font-weight: 600;
}

.hp-btn--gold:hover {
  background: var(--hp-gold-2);
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(200, 169, 106, 0.2);
}

.hp-btn--ghost {
  border: 1px solid rgba(243, 240, 232, 0.26);
  color: var(--hp-paper);
}

.hp-btn--ghost:hover {
  border-color: var(--hp-gold);
  color: var(--hp-gold);
  transform: translateY(-2px);
}

.hp-btn span {
  transition: transform 0.4s ease;
}

.hp-btn:hover span {
  transform: translateX(4px);
}

/* product cards --------------------------------------------------------- */
.hp-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--hp-line);
  border: 1px solid var(--hp-line);
}

.hp-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: clamp(196px, 23vh, 244px);
  padding: clamp(20px, 2vw, 30px);
  background: rgba(22, 19, 14, 0.7);
  transition: background 0.5s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.hp-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--hp-gold), transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.hp-card:hover {
  background: rgba(200, 169, 106, 0.06);
  transform: translateY(-4px);
}

.hp-card:hover::before {
  opacity: 1;
}

.hp-card-no {
  font-size: 0.64rem;
  letter-spacing: 0.22em;
  color: rgba(243, 240, 232, 0.34);
}

.hp-card h3 {
  margin: clamp(20px, 3.4vh, 34px) 0 10px;
  font-family: var(--hp-serif);
  font-weight: 500;
  font-size: clamp(1.1rem, 1.4vw, 1.28rem);
  color: var(--hp-paper);
}

.hp-card p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.85;
  color: var(--hp-muted);
}

.hp-card ul {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.hp-card li {
  position: relative;
  padding-left: 16px;
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  color: rgba(243, 240, 232, 0.58);
}

.hp-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 8px;
  height: 1px;
  background: var(--hp-gold);
}

.hp-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: clamp(18px, 2.4vh, 26px);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  color: var(--hp-gold);
}

.hp-inline-link span {
  transition: transform 0.4s ease;
}

.hp-inline-link:hover span {
  transform: translateX(5px);
}

/* solution rows --------------------------------------------------------- */
.hp-rows {
  border-top: 1px solid var(--hp-line);
}

.hp-row {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 0.9fr) minmax(0, 1.35fr) 44px;
  gap: clamp(14px, 2.4vw, 36px);
  align-items: center;
  padding: clamp(18px, 2.8vh, 30px) 6px;
  border-bottom: 1px solid var(--hp-line);
  transition: padding 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.hp-row::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(200, 169, 106, 0.1), transparent 62%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.hp-row:hover {
  padding-left: 20px;
}

.hp-row:hover::before {
  opacity: 1;
}

.hp-row-no {
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  color: var(--hp-gold);
}

.hp-row h3 {
  margin: 0;
  font-family: var(--hp-serif);
  font-weight: 500;
  font-size: clamp(1.15rem, 1.5vw, 1.4rem);
  color: var(--hp-paper);
}

.hp-row p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.85;
  color: var(--hp-muted);
}

.hp-row-arrow {
  justify-self: end;
  color: var(--hp-gold);
  font-size: 1.05rem;
  transition: transform 0.4s ease;
}

.hp-row:hover .hp-row-arrow {
  transform: translate(3px, -3px);
}

/* news ------------------------------------------------------------------ */
.hp-news-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--hp-line);
  border: 1px solid var(--hp-line);
}

.hp-news-item {
  display: flex;
  flex-direction: column;
  min-height: clamp(196px, 23vh, 244px);
  padding: clamp(22px, 2.4vw, 32px);
  background: rgba(22, 19, 14, 0.68);
  transition: background 0.5s ease;
}

.hp-news-item:hover {
  background: rgba(243, 240, 232, 0.04);
}

.hp-news-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: rgba(243, 240, 232, 0.42);
}

.hp-news-meta span {
  color: var(--hp-gold);
}

.hp-news-item h3 {
  margin: clamp(18px, 2.6vh, 26px) 0 10px;
  font-family: var(--hp-serif);
  font-weight: 500;
  font-size: clamp(1.05rem, 1.35vw, 1.22rem);
  line-height: 1.55;
  color: var(--hp-paper);
  transition: color 0.4s ease;
}

.hp-news-item:hover h3 {
  color: var(--hp-gold-2);
}

.hp-news-item p {
  margin: 0 0 22px;
  font-size: 0.84rem;
  line-height: 1.85;
  color: var(--hp-muted);
}

.hp-news-arrow {
  margin-top: auto;
  color: var(--hp-gold);
  transition: transform 0.4s ease;
}

.hp-news-item:hover .hp-news-arrow {
  transform: translateX(5px);
}

/* stats + CTA ----------------------------------------------------------- */
.hp-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--hp-line);
  border-top: 1px solid var(--hp-line);
  border-bottom: 1px solid var(--hp-line);
}

.hp-stat {
  padding: clamp(20px, 3vh, 34px) 8px;
  text-align: center;
  background: rgba(22, 19, 14, 0.5);
}

.hp-stat strong {
  display: block;
  font-family: var(--hp-serif);
  font-weight: 500;
  font-size: clamp(2.1rem, 4vw, 3.5rem);
  line-height: 1;
  color: var(--hp-gold-2);
}

.hp-stat span {
  display: block;
  margin-top: 10px;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--hp-muted);
}

.hp-cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: clamp(18px, 2.6vh, 30px);
  padding: clamp(20px, 2.6vw, 32px);
  border: 1px solid rgba(200, 169, 106, 0.28);
  background: linear-gradient(
    100deg,
    rgba(200, 169, 106, 0.1),
    rgba(200, 169, 106, 0.02) 65%
  );
}

.hp-cta-band h3 {
  margin: 0.2rem 0 0;
  font-family: var(--hp-serif);
  font-weight: 500;
  font-size: clamp(1.25rem, 1.9vw, 1.7rem);
  color: var(--hp-paper);
}

.hp-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hp-cta-actions .hp-btn--ghost {
  text-transform: none;
  letter-spacing: 0.04em;
}

.hp-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: clamp(16px, 2.4vh, 26px);
  padding-top: 16px;
  border-top: 1px solid var(--hp-line);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  color: rgba(243, 240, 232, 0.36);
}

/* reveal animations ----------------------------------------------------- */
.hp-js .hp-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--d, 0ms);
}

.hp-js .hp-section.is-active .hp-reveal {
  opacity: 1;
  transform: none;
}

.hp-js .hp-section.is-seen .hp-reveal {
  opacity: 1;
  transform: none;
}

.hp-js .hp-line > span {
  transform: translateY(112%);
  transition: transform 1.15s cubic-bezier(0.19, 1, 0.22, 1);
}

.hp-js .hp-hero .hp-line:nth-child(2) > span {
  transition-delay: 0.12s;
}

.hp-js .hp-hero.is-active .hp-line > span {
  transform: none;
}

.hp-js .hp-section.is-seen .hp-line > span {
  transform: none;
}

.hp-js[data-dir="up"] .hp-section .hp-reveal {
  transform: translateY(-16px);
}

.hp-js[data-dir="up"] .hp-line > span {
  transform: translateY(-112%);
}

/* responsive ------------------------------------------------------------ */
@media (max-width: 1100px) {
  .hp-nav {
    display: none;
  }

  .hp-header-cta {
    margin-left: auto;
  }

  .hp-burger {
    display: flex;
  }

  .hp-sec-head {
    grid-template-columns: 64px minmax(0, 1fr);
    align-items: start;
  }

  .hp-sec-desc {
    grid-column: 2;
    max-width: 60ch;
  }

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

  .hp-news-list {
    grid-template-columns: 1fr;
  }

  .hp-news-item {
    min-height: 0;
  }

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

@media (max-width: 900px) {
  html.home-premium {
    scroll-snap-type: y proximity;
  }

  .hp-rail {
    display: none;
  }

  .hp-section {
    min-height: auto;
    padding-top: 112px;
    padding-bottom: 64px;
  }

  .hp-hero {
    min-height: 100svh;
    padding-bottom: 96px;
  }

  .hp-display {
    font-size: clamp(2.6rem, 10vw, 4rem);
  }

  .hp-row {
    grid-template-columns: 40px minmax(0, 1fr) 32px;
    align-items: start;
    row-gap: 8px;
  }

  .hp-row p {
    grid-column: 2 / 3;
  }

  .hp-row-arrow {
    grid-column: 3;
    grid-row: 1;
  }

  .hp-cta-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .hp-hero-foot {
    display: none;
  }
}

@media (max-width: 640px) {
  .hp-header {
    padding: 16px 20px;
  }

  .hp-header-cta {
    display: none;
  }

  .hp-brand-text em {
    display: none;
  }

  .hp-cards {
    grid-template-columns: 1fr;
  }

  .hp-card {
    min-height: 0;
  }

  .hp-stats {
    grid-template-columns: 1fr 1fr;
  }

  .hp-cta-actions .hp-btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.home-premium {
    scroll-behavior: auto;
  }

  .hp-js .hp-reveal,
  .hp-js .hp-line > span {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  .hp-scroll-line::after {
    animation: none;
  }
}
