.berina-hero{
  position:relative;
  isolation:isolate;
  display:grid;
  width:100%;
  height:100svh;
  min-height:100svh;
  place-items:center;
  overflow:hidden;
  padding:clamp(24px,5vw,72px);
  background:#000;
  color:#fff;
  text-align:center;
}
.hero-star-canvas{position:absolute;z-index:0;inset:0;display:block;width:100%;height:100%;opacity:0;pointer-events:none;background:linear-gradient(156deg,transparent 36%,rgba(255,255,255,.006) 45%,rgba(255,255,255,.016) 50%,rgba(255,255,255,.004) 55%,transparent 64%);transition:opacity .85s cubic-bezier(.22,1,.36,1)}
.berina-hero.hero-stars-visible .hero-star-canvas{opacity:.92}
.hero-copy-wrap{position:relative;z-index:1;width:min(100%,1240px);margin:0 auto}
.hero-title{margin:0 auto;font-family:var(--font);font-size:clamp(3.15rem,8.8vw,9rem);font-weight:560;line-height:.97;letter-spacing:-.06em;text-wrap:balance;color:#fff}
.hero-line{display:block;white-space:nowrap}
.hero-word{display:inline-block;opacity:1;filter:none;transform:translate3d(0,0,0);transition:opacity 620ms cubic-bezier(.22,1,.36,1),filter 620ms cubic-bezier(.22,1,.36,1),transform 620ms cubic-bezier(.22,1,.36,1);transition-delay:0ms;will-change:auto}
.hero-actions{display:grid;justify-items:center;gap:0;margin:34px auto 0;opacity:1;filter:none;transform:none;transition:opacity 500ms cubic-bezier(.32,.72,0,1),filter 500ms cubic-bezier(.32,.72,0,1),transform 500ms cubic-bezier(.32,.72,0,1)}
.hero-cta{display:inline-flex;min-height:48px;align-items:center;justify-content:center;padding:0 24px;border:1px solid rgba(255,255,255,.2);border-radius:999px;background:rgba(255,255,255,.075);box-shadow:inset 0 1px 0 rgba(255,255,255,.12);-webkit-backdrop-filter:blur(12px) saturate(125%);backdrop-filter:blur(12px) saturate(125%);color:#fff;font-size:.94rem;font-weight:560;letter-spacing:-.01em;text-decoration:none;transition:transform 240ms cubic-bezier(.22,1,.36,1),background-color 240ms cubic-bezier(.22,1,.36,1),border-color 240ms cubic-bezier(.22,1,.36,1)}
.hero-cta:hover{transform:scale(1.025);background:rgba(255,255,255,.11);border-color:rgba(255,255,255,.34)}
.hero-cta:active{transform:scale(.985)}
.hero-cta:focus-visible{outline:2px solid #fff;outline-offset:4px}
.hero-shooting-star{position:absolute;z-index:1;width:108px;height:1px;pointer-events:none;opacity:0;transform-origin:left center;background:linear-gradient(90deg,transparent,rgba(255,255,255,.24) 48%,rgba(255,255,255,.92));animation:hero-streak 900ms cubic-bezier(.22,1,.36,1) both;will-change:transform,opacity}
@keyframes hero-streak{0%{opacity:0;transform:translate3d(0,0,0) rotate(-18deg) scaleX(.18)}14%{opacity:.66}100%{opacity:0;transform:translate3d(104px,-28px,0) rotate(-18deg) scaleX(1)}}
.berina-hero.hero-animated .hero-word,.berina-hero.hero-intro-pending .hero-word{opacity:0;filter:blur(14px);transform:translate3d(0,8px,0)}
.berina-hero.hero-intro-pending .hero-word,.berina-hero.hero-intro-pending .hero-actions{transition:none}
.berina-hero.hero-started .hero-word{opacity:1;filter:blur(0);transform:translate3d(0,0,0);transition-delay:calc(var(--word-order,0)*160ms)}
.berina-hero.hero-animated .hero-actions,.berina-hero.hero-intro-pending .hero-actions{opacity:0;filter:blur(5px);transform:translate3d(0,9px,0)}
.berina-hero.hero-copy-visible .hero-actions{opacity:1;filter:none;transform:none}
.berina-hero.hero-css-stars::before,.berina-hero.hero-css-stars::after{content:"";position:absolute;z-index:0;inset:0;opacity:0;pointer-events:none;transition:opacity .85s cubic-bezier(.22,1,.36,1)}
.berina-hero.hero-css-stars::before{background-image:radial-gradient(circle at 5% 13%,rgba(255,255,255,.8) 0 1px,transparent 1.5px),radial-gradient(circle at 15% 75%,rgba(255,255,255,.56) 0 1px,transparent 1.5px),radial-gradient(circle at 24% 36%,rgba(255,255,255,.45) 0 1px,transparent 1.5px),radial-gradient(circle at 34% 8%,rgba(255,255,255,.72) 0 1px,transparent 1.5px),radial-gradient(circle at 68% 15%,rgba(255,255,255,.55) 0 1px,transparent 1.5px),radial-gradient(circle at 79% 36%,rgba(255,255,255,.8) 0 1px,transparent 1.5px),radial-gradient(circle at 91% 19%,rgba(255,255,255,.46) 0 1px,transparent 1.5px),radial-gradient(circle at 94% 78%,rgba(255,255,255,.7) 0 1px,transparent 1.5px),radial-gradient(circle at 8% 91%,rgba(255,255,255,.44) 0 1px,transparent 1.5px),radial-gradient(circle at 71% 88%,rgba(255,255,255,.6) 0 1px,transparent 1.5px)}
.berina-hero.hero-css-stars::after{background-image:radial-gradient(circle at 11% 48%,rgba(255,255,255,.5) 0 1px,transparent 1.5px),radial-gradient(circle at 19% 21%,rgba(255,255,255,.68) 0 1px,transparent 1.5px),radial-gradient(circle at 29% 89%,rgba(255,255,255,.48) 0 1px,transparent 1.5px),radial-gradient(circle at 41% 26%,rgba(255,255,255,.52) 0 1px,transparent 1.5px),radial-gradient(circle at 59% 82%,rgba(255,255,255,.68) 0 1px,transparent 1.5px),radial-gradient(circle at 73% 54%,rgba(255,255,255,.48) 0 1px,transparent 1.5px),radial-gradient(circle at 87% 66%,rgba(255,255,255,.66) 0 1px,transparent 1.5px),radial-gradient(circle at 97% 43%,rgba(255,255,255,.5) 0 1px,transparent 1.5px)}
.berina-hero.hero-css-stars.hero-stars-visible::before,.berina-hero.hero-css-stars.hero-stars-visible::after{opacity:.7}
@media(max-width:600px){
  .berina-hero{padding:24px 16px calc(24px + env(safe-area-inset-bottom,0px))}
  .hero-title{font-size:clamp(3rem,11vw,4.7rem);line-height:1;letter-spacing:-.062em}
  .hero-actions{max-width:34rem;margin-top:26px}
  .hero-cta{min-height:46px}
  .hero-star-canvas{image-rendering:auto}
  .hero-shooting-star{width:78px}
}
@media(prefers-reduced-motion:reduce){
  .hero-word,.hero-actions,.hero-cta,.hero-star-canvas,.hero-shooting-star,.berina-hero.hero-css-stars::before,.berina-hero.hero-css-stars::after{transition:none!important;animation:none!important;will-change:auto!important}
  .berina-hero.hero-animated .hero-word,.berina-hero.hero-animated .hero-actions,.berina-hero.hero-intro-pending .hero-word,.berina-hero.hero-intro-pending .hero-actions{opacity:1;filter:none;transform:none}
  .berina-hero.hero-star-canvas{opacity:.9}
  .berina-hero.hero-css-stars::before,.berina-hero.hero-css-stars::after{opacity:.7}
}
@media(prefers-reduced-transparency:reduce){.hero-cta{-webkit-backdrop-filter:none;backdrop-filter:none;background:rgba(22,22,22,.96)}}
