.hero-score{
  position: relative;
  background: var(--hero-bg);
  overflow: visible;
  min-height: 100vh;
  isolation: isolate;
  padding-top: 0;
  padding-bottom: 0;
}

.hero-score .hero-stage{
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  z-index: 1;
}

.hero-score .hero-dots{
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.hero-score .hero-gradient{
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(900px 600px at 50% 35%, rgba(255,255,255,0.06), rgba(255,255,255,0));
  mix-blend-mode: soft-light;
  opacity: 0.7;
}

.hero-score .score-sticky{
  position: sticky;
  top: 22vh;
  z-index: 10;
  width: 100%;
  margin: 0 auto;
  text-align: left;
  box-sizing: border-box;
  --score-pad: clamp(1.5rem, 6vw, 6rem);
  padding-left: var(--score-pad);
  padding-right: var(--score-pad);
  display: flex;
  justify-content: center;
}

.hero-score .hero-text{
  margin-top: 0;
  mix-blend-mode: normal;
}

.hero-score .score-copy{
  transition: none;
}

.hero-score .score-panels{
  position: relative;
  z-index: 1;
  padding-top: 0;
  padding-bottom: 0;
  height: 100%;
}

.hero-score .score-panel{
  height: 100vh;
}

.hero-score .hero-headline{
  color: var(--hero-text);
  letter-spacing: -0.02em;
  font-weight: 520;
  line-height: 1.42;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  margin: 0;
}

.hero-score .hero-headline-script{
  font-family: "Give You Glory", cursive;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.hero-score .hero-coming{
  margin-top: 2.2rem;
  color: var(--hero-subtext);
  font-size: clamp(0.72rem, 1.05vw, 0.88rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 1.35s ease-out, transform 1.35s ease-out;
}

.hero-score .score-copy[data-step="intro"] .hero-coming{
  margin-top: 3.7rem;
}

.hero-score .hero-lock-subheadline{
  margin-top: 1.2rem;
  color: var(--hero-subtext);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: lowercase;
  line-height: 1.1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.hero-score.show-lock-subheadline .hero-lock-subheadline{
  opacity: 1;
}

.hero-score .hero-scroll{
  margin-top: 0.6rem;
  color: var(--hero-subtext);
  font-size: clamp(0.66rem, 0.95vw, 0.78rem);
  letter-spacing: 0.04em;
  text-transform: none;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  margin-top: 0;
  width: min(64rem, 90vw);
  text-align: center;
}

.hero-score .hero-scroll-main{
  display: block;
  letter-spacing: 0.04em;
}

.hero-score .hero-scroll:focus-visible{
  opacity: 1;
  outline: 2px solid color-mix(in srgb, var(--hero-subtext) 70%, #ffffff 30%);
  outline-offset: 6px;
  border-radius: 0.4rem;
}

.hero-score .hero-scroll-arrow{
  display: block;
  margin-top: 0.35rem;
  font-size: 1em;
  opacity: 0.7;
}

.hero-score .hero-scroll-icon{
  display: block;
  width: 0.95rem;
  height: auto;
  margin: 0 auto;
}

.hero-score .hero-coming.is-on{
  opacity: 1;
  transform: translateY(0);
}

.hero-score .hero-scroll.is-on{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.hero-score .score-copy h3{
  font-size: clamp(3.1rem, 7.4vw, 4.6rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: lowercase;
  margin: 0;
  line-height: 1.1;
  color: var(--hero-text);
}

@media (min-width: 769px){
  .hero-score .score-copy h3{
    font-size: 2.4rem !important;
  }
}

.hero-score .score-copy p{
  margin-top: 2rem;
  color: var(--hero-text);
  line-height: 2;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
}

:root[data-theme="dark"] .hero-score .score-copy h3,
:root.dark .hero-score .score-copy h3{
  color: #B8BFCC !important;
}

:root[data-theme="dark"] .hero-score .score-copy p,
:root.dark .hero-score .score-copy p{
  color: #B8BFCC !important;
}

html.dark .hero-score,
html[data-theme="dark"] .hero-score,
body.dark .hero-score,
body[data-theme="dark"] .hero-score{
  --hero-text: #A6AFBF;
  --hero-subtext: #7E889B;
  color: #A6AFBF;
}

html.dark .hero-score .score-copy h3,
html[data-theme="dark"] .hero-score .score-copy h3,
body.dark .hero-score .score-copy h3,
body[data-theme="dark"] .hero-score .score-copy h3{
  color: #A6AFBF !important;
}

html.dark .hero-score .score-copy p,
html[data-theme="dark"] .hero-score .score-copy p,
body.dark .hero-score .score-copy p,
body[data-theme="dark"] .hero-score .score-copy p{
  color: #A6AFBF !important;
}

html.dark .hero-score .score-copy *,
html[data-theme="dark"] .hero-score .score-copy *,
body.dark .hero-score .score-copy *,
body[data-theme="dark"] .hero-score .score-copy *{
  color: #A6AFBF !important;
}

html.dark .hero-score .hero-headline,
html[data-theme="dark"] .hero-score .hero-headline,
body.dark .hero-score .hero-headline,
body[data-theme="dark"] .hero-score .hero-headline{
  color: #A6AFBF !important;
}

html.dark .hero-score .hero-coming,
html[data-theme="dark"] .hero-score .hero-coming,
body.dark .hero-score .hero-coming,
body[data-theme="dark"] .hero-score .hero-coming{
  color: #7E889B !important;
}

html.dark .hero-score .hero-scroll,
html[data-theme="dark"] .hero-score .hero-scroll,
body.dark .hero-score .hero-scroll,
body[data-theme="dark"] .hero-score .hero-scroll{
  color: #7E889B !important;
}

.hero-score .score-copy[data-step="intro"]{
  text-align: center;
  width: min(64rem, 90vw);
  margin-left: auto;
  margin-right: auto;
  margin-top: clamp(4rem, 14vh, 9rem);
  left: auto;
  transform: none;
}

.hero-score .score-copy:not([data-step="intro"]){
  text-align: left;
  left: calc(-1 * var(--score-pad) - clamp(0.5rem, 4vw, 5rem));
  right: auto;
  width: min(34rem, 90vw);
  transform: none;
}

@media (min-width: 769px){
  .hero-score .score-sticky{
    margin-left: auto;
    margin-right: auto;
  }
}

.hero-score .type-line span{
  opacity: 0;
  display: inline-block;
  animation: letterFadeIn 1.1s ease-out forwards;
  will-change: opacity;
}

@keyframes letterFadeIn{
  from { opacity: 0; }
  to   { opacity: 1; }
}

.hero-score::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index: 4;
  background:
    radial-gradient(1200px 800px at 50% 35%,
      rgba(0,0,0,0) 0%,
      rgba(0,0,0,0.06) 65%,
      rgba(0,0,0,0.10) 100%);
  opacity: var(--vignette, 0);
  mix-blend-mode: multiply;
}

:root[data-theme="dark"] .hero-score::after,
:root.dark .hero-score::after{
  mix-blend-mode: screen;
  background:
    radial-gradient(1200px 800px at 50% 35%,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,0.06) 70%,
      rgba(255,255,255,0.12) 100%);
}

.hero-score.is-feel .hero-dots .dot,
.hero-score.is-shape .hero-dots .dot,
.hero-score.is-grow .hero-dots .dot{
  animation: none;
}

@media (max-width: 768px){
  .hero-score{
    min-height: 100svh;
  }

  .hero-score .hero-stage,
  .hero-score .score-panel{
    height: 100svh;
  }

  .hero-score .hero-gradient{
    opacity: 0.55;
  }

  .hero-score .score-sticky{
    top: 16vh;
    text-align: center;
    padding-left: clamp(1.25rem, 6vw, 2rem);
    padding-right: clamp(1.25rem, 6vw, 2rem);
  }

  .hero-score .hero-headline{
    font-size: clamp(1.25rem, 6.6vw, 1.8rem) !important;
    line-height: 1.14 !important;
  }

  .hero-score .score-copy[data-step="intro"]{
    width: min(96vw, 24rem);
    margin-top: clamp(2.4rem, 8vh, 4.4rem);
  }

  .hero-score .score-copy[data-step="intro"] .hero-headline{
    font-size: clamp(1.34rem, 6.5vw, 1.72rem) !important;
    line-height: 1.28 !important;
    letter-spacing: -0.015em;
    display: block;
    overflow: visible;
    padding-bottom: 0.2em;
  }

  .hero-score .score-copy[data-step="intro"] .type-line.handwrite-line{
    padding-bottom: 0.28em;
    overflow: visible;
    clip-path: inset(0 100% -0.24em 0);
  }

  .hero-score .score-copy[data-step="intro"] .type-line.handwrite-line.handwrite-done{
    clip-path: inset(0 0 -0.24em 0);
  }

  .hero-score .hero-lock-subheadline{
    margin-top: 0.7rem;
    font-size: clamp(0.88rem, 4vw, 1rem);
    letter-spacing: 0.08em;
  }

  .hero-score .score-copy[data-step="intro"] .hero-coming{
    margin-top: 2rem;
    font-size: 0.7rem !important;
  }

  .hero-score .score-copy:not([data-step="intro"]){
    text-align: center;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    width: min(90vw, 32rem);
  }

  .hero-score .score-copy[data-step="feel"]{
    margin-top: -4rem;
  }

  .hero-score .score-copy[data-step="shape"],
  .hero-score .score-copy[data-step="grow"]{
    margin-top: -4rem;
  }

  .page-landing .hero-score .hero-scroll{
    bottom: calc(6.7rem + env(safe-area-inset-bottom));
  }
}

@media (min-width: 769px) and (max-width: 1023px){
  .page-landing .hero-score .hero-scroll{
    bottom: calc(6.2rem + env(safe-area-inset-bottom));
  }
}
