/* Left-side marquee comparison. Shared styles and the original page are unchanged. */
:root{--recruit-rail-width:64px}
body{padding-left:var(--recruit-rail-width)}

.recruit-rail{
  position:fixed;
  inset:0 auto 0 0;
  width:var(--recruit-rail-width);
  z-index:45;
  overflow:hidden;
  background:#fff;
  border-right:1px solid rgba(87,86,79,.1);
  color:#57564f;
}
.recruit-rail__track{
  display:flex;
  flex-direction:column;
  align-items:center;
  width:100%;
  animation:recruit-rail-flow 52s linear infinite;
  will-change:transform;
}
.recruit-rail__group{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:space-around;
  flex:none;
  width:100%;
  min-height:100svh;
  gap:64px;
  padding:32px 0;
}
.recruit-rail__item{
  display:block;
  flex:none;
  writing-mode:vertical-rl;
  text-orientation:mixed;
  transform:rotate(180deg);
  white-space:nowrap;
  font-size:13px;
  font-weight:500;
  line-height:1;
  letter-spacing:.16em;
}
@keyframes recruit-rail-flow{
  from{transform:translate3d(0,0,0)}
  to{transform:translate3d(0,-50%,0)}
}
.recruit-rail:hover .recruit-rail__track{animation-play-state:paused}

/* Fixed UI starts at the inner edge of the white strip, including the logo. */
.header,.reading-progress{
  left:var(--recruit-rail-width);
  width:calc(100% - var(--recruit-rail-width));
}
.mobile-menu{left:var(--recruit-rail-width)}
.skip{left:calc(var(--recruit-rail-width) + 15px)}
.hero-collage .hero-title{
  font-size:clamp(39.366px,calc((100vw - var(--recruit-rail-width)) * .05103),86.022px);
  font-family:var(--font);
  font-weight:800;
  transform-origin:left center;
}
@media(min-width:821px){
  .hero-collage{--hero-desktop-copy-offset:clamp(39.366px,calc((100vw - var(--recruit-rail-width)) * .05103),86.022px)}
  .hero-collage .hero-title{top:calc(17.5% + var(--hero-desktop-copy-offset))}
}
.promise-title h3,
.dual-copy h3{
  font-family:'Noto Serif JP','Yu Mincho','Hiragino Mincho ProN',serif;
  font-weight:600;
}
.promise-title h3{font-size:clamp(22px,3.2vw,46px);white-space:nowrap}

/* The glow artwork has different colors at its edges, so it must not tile. */
.sparkle-intro .hero-sticky::before{
  background-size:cover;
  background-repeat:no-repeat;
  background-position:left top;
}

/* Crop the white edge inside the salon photo without enlarging its layout box. */
.about-salon-photo{position:relative;width:100%;height:210px;overflow:hidden}
.about-stories .about-salon-photo img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  min-height:0;
  aspect-ratio:auto;
  object-fit:cover;
  transform:scale(1.06);
  transform-origin:center;
}
@media(max-width:1200px){
  .about-salon-photo{height:180px}
}
@media(max-width:820px){
  .about-salon-photo{height:100%;min-height:180px;grid-row:1/4;aspect-ratio:4/3}
}
@media(max-width:540px){
  .about-salon-photo{height:auto;min-height:0;aspect-ratio:1.65}
}

/* Match the adjacent portrait's face size while retaining space above the crown. */
.people .person-photo img[src*="nanaka-retouched.png"]{
  transform:scale(1.25);
  transform-origin:50% 22%;
}
.people .person:hover .person-photo img[src*="nanaka-retouched.png"]{
  transform:scale(1.3);
}

/* Move only the oversized background layer; sticky sections keep their normal geometry. */
.has-parallax{
  position:relative;
  isolation:isolate;
  overflow:clip;
  background-image:none;
}
.has-parallax::before{
  content:"";
  position:absolute;
  inset:-360px 0;
  z-index:-1;
  pointer-events:none;
  background-image:linear-gradient(90deg,rgba(255,255,255,.12),rgba(255,255,255,.2)),url('assets/pastel-sparkle-background.jpg?v=20261203img');
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
  transform:translate3d(0,var(--parallax-y,0px),0);
  will-change:transform;
}
footer.has-parallax::before{
  background-image:linear-gradient(115deg,rgba(154,142,170,.23),rgba(138,151,180,.25)),url('assets/pastel-sparkle-background.jpg?v=20261203img');
}

/* The original number reserves its size and remains the accessible text. */
.numbers b.counter-value{
  position:relative;
  display:inline-block;
  font-variant-numeric:tabular-nums;
  letter-spacing:0;
}
.counter-static{opacity:0}
.counter-digits{position:absolute;inset:0;display:grid;pointer-events:none}
.counter-digit{display:block;height:1.15em;overflow:hidden}
.counter-reel{display:flex;flex-direction:column}
.counter-reel>span{display:block;flex:0 0 1.15em;height:1.15em;line-height:1.15;text-align:center}

@media(prefers-reduced-motion:no-preference){
  .scroll-reveal.repeat-reveal{opacity:1;transform:translate3d(0,0,0)}
  .scroll-reveal.repeat-reveal.is-reveal-pending{
    opacity:0;
    transform:translate3d(0,var(--reveal-y,22px),0);
    transition:none;
  }
  .scroll-reveal.repeat-reveal:focus-within{opacity:1;transform:none;transition-delay:0s}
  .scroll-scale-heading{
    transform-origin:left center;
    transform:translate3d(0,var(--headline-y,0px),0) scale(var(--headline-scale,1));
    opacity:var(--headline-opacity,1);
    will-change:transform,opacity;
  }
}

@media(max-width:820px){
  :root{--recruit-rail-width:32px}
  .recruit-rail__item{font-size:10px;letter-spacing:.13em}
  .promise-title h3{font-size:clamp(20px,calc((100vw - var(--recruit-rail-width)) * .074),43px)}
  .hero-collage{
    --hero-copy-size:clamp(33.6px,calc((100vw - var(--recruit-rail-width)) * .0912),72px);
    --hero-copy-offset:clamp(16.8px,calc((100vw - var(--recruit-rail-width)) * .0456),36px);
  }
  .hero-collage .hero-title{
    font-size:var(--hero-copy-size);
    top:calc(7% + var(--hero-copy-offset));
  }
  .hero-collage .hero-kicker{top:calc(2.5% + var(--hero-copy-offset))}
  .learning-hero-copy{height:calc((100vw - var(--recruit-rail-width)) * .75)}
  .has-parallax::before{inset:-140px 0}
}
@media(max-width:480px){
  :root{--recruit-rail-width:28px}
  .recruit-rail__item{font-size:9px}
}
@media(prefers-reduced-motion:reduce){
  .recruit-rail__track{animation:none;will-change:auto}
  .scroll-reveal.repeat-reveal,.scroll-scale-heading{opacity:1;transform:none;transition:none;will-change:auto}
  .has-parallax::before{transform:none;will-change:auto}
}
@media print{
  body{padding-left:0}
  .recruit-rail{display:none}
  .scroll-reveal.repeat-reveal,.scroll-scale-heading{opacity:1!important;transform:none!important}
  .has-parallax::before{transform:none}
}

/* Reduce phone headers by ten percent and keep anchor offsets in sync. */
@media(max-width:640px){
  :root{--header:61.2px}
  body.about-page{--header:57.6px}
  body .header,body.about-page .header{height:var(--header)}
}
@media(max-width:540px){
  :root{--header:57.6px}
}
