/* The approved photo hero and compact custom-design demonstration only. */
.miso-photo-cover,.miso-custom-showcase{
  --photo-hero-paper:#fffaf3;
  --photo-hero-ink:#30435f;
  --photo-hero-plum:#745578;
  --photo-hero-blue:#415f99;
  --photo-hero-pink:#e9c1d5;
  --photo-hero-peach:#fae7da;
  --photo-hero-rose:#f3d6e4;
  color:var(--photo-hero-ink);
}

.miso-cover.miso-photo-cover{
  display:grid;
  grid-template-columns:47% 53%;
  max-width:1440px;
  min-width:0;
  min-height:540px;
  margin:0 auto;
  border-radius:30px;
  overflow:hidden;
  background:var(--photo-hero-peach);
}
.miso-photo-cover .miso-cover-copy{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  min-width:0;
  padding:44px 28px;
  gap:26px;
  text-align:center;
}
.miso-photo-cover .miso-cover-copy h1{
  margin:0;
  color:var(--photo-hero-ink);
  font:500 clamp(62px,8.3vw,96px)/1.04 Fraunces,var(--serif);
  font-optical-sizing:auto;
  font-synthesis:none;
  letter-spacing:-.055em;
}
.miso-photo-cover .miso-cover-copy h1 em{color:var(--photo-hero-plum);font-style:normal}
.miso-cover.miso-photo-cover .miso-cover-copy>p:not(.miso-kicker){
  max-width:355px;
  margin:0;
  color:var(--photo-hero-ink);
  font-size:19px;
  line-height:1.65;
  text-align:left;
}
.miso-photo-cover .miso-hero-actions{
  display:flex;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
  width:100%;
  margin-top:1px;
}
.miso-photo-cover .miso-hero-actions .button,
.miso-custom-showcase .miso-custom-copy .button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:52px;
  margin:0;
  padding:14px 20px;
  gap:0;
  border:0;
  border-radius:30px;
  box-shadow:none;
  background:var(--photo-hero-blue);
  color:var(--photo-hero-paper);
  font:700 16px/1.4 var(--sans);
  text-align:center;
  touch-action:manipulation;
}
.miso-photo-cover .miso-hero-actions .miso-custom-button{background:var(--photo-hero-pink);color:#4a365c}
.miso-photo-cover .miso-hero-nails{position:relative;min-width:0;min-height:540px;background:#eadbcf}
.miso-photo-cover .miso-hero-nails img{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 49%}
.miso-photo-cover .button:focus-visible,.miso-custom-showcase .button:focus-visible{outline:3px solid var(--photo-hero-blue);outline-offset:5px}

.miso-custom-showcase{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  max-width:1440px;
  min-width:0;
  margin:52px auto 0;
  scroll-margin-top:20px;
}
.miso-custom-showcase .custom-nail-story{
  --story-gap:14px;
  --story-source-width:min(61cqi,250px);
  --story-output-half:min(calc((100cqi - var(--story-gap))/2),220px);
  --story-height:490px;
  --story-source-center:150px;
  align-self:start;
  min-width:0;
  padding:28px;
  border-radius:28px;
  overflow:hidden;
  background:var(--photo-hero-rose);
  color:#171314;
}
.miso-custom-showcase .custom-story-scene{height:var(--story-height)}
.miso-custom-showcase .custom-story-header{top:4px;transform:translateY(0)}
.miso-custom-showcase .custom-story-header>span{font:400 clamp(25px,6.4cqi,35px)/1.2 var(--serif);letter-spacing:-.04em;color:#171314}
.miso-custom-showcase .custom-nail-story:not([data-phase='result']) .custom-story-header{transform:translateY(50px)}
.miso-custom-showcase .custom-story-inspiration{
  width:var(--story-source-width);
  padding:7px;
  border-radius:8px;
  background:var(--photo-hero-paper);
  box-shadow:0 8px 22px #69556b13;
  transform:translate(-50%,150px) rotate(-4deg);
  transform-origin:50% 0;
}
.miso-custom-showcase .custom-story-inspiration img{border-radius:3px}
.miso-custom-showcase .custom-story-pointer{right:9px;bottom:12px;width:26px;height:26px;fill:var(--photo-hero-paper);color:#171314}
.miso-custom-showcase .custom-story-demo{
  top:120px;
  width:min(97%,540px);
  height:300px;
  padding:14px;
  border-radius:22px;
  background:var(--photo-hero-paper);
  transform:translate(-50%,12px) scale(.98);
}
.miso-custom-showcase .custom-story-drop{border-color:#b7aebe;border-radius:13px;color:#171314}
.miso-custom-showcase .custom-story-drop>svg{width:40px;height:40px;stroke-width:1.5}
.miso-custom-showcase .custom-story-designing{inset:14px;gap:24px}
.miso-custom-showcase .custom-story-design-mark{font-size:70px;color:#171314}
.miso-custom-showcase .custom-story-progress{width:70%;height:4px;border-radius:3px;background:#dce9fd}
.miso-custom-showcase .custom-story-progress>span{background:var(--photo-hero-blue)}
.miso-custom-showcase .custom-story-outputs{
  left:50%;
  bottom:0;
  width:min(100%,454px);
  gap:var(--story-gap);
}
.miso-custom-showcase .custom-story-outputs img{border-radius:15px}
.miso-custom-showcase .custom-story-outputs figcaption{padding-top:9px;font:400 16px/1.3 var(--serif);color:#171314}
.miso-custom-showcase .custom-nail-story:not([data-phase='result']) .custom-story-outputs{opacity:0;transform:translate(-50%,22px) scale(.97)}
.miso-custom-showcase .custom-nail-story[data-phase='ready'] .custom-story-inspiration{transform:translate(-50%,150px) rotate(-4deg)}
.miso-custom-showcase .custom-nail-story[data-phase='dragging'] .custom-story-inspiration,
.miso-custom-showcase .custom-nail-story[data-phase='uploaded'] .custom-story-inspiration,
.miso-custom-showcase .custom-nail-story[data-phase='designing'] .custom-story-inspiration{transform:translate(-50%,146px) rotate(1deg) scale(.92)}
.miso-custom-showcase .custom-nail-story[data-phase='dragging'] .custom-story-demo,
.miso-custom-showcase .custom-nail-story[data-phase='uploaded'] .custom-story-demo,
.miso-custom-showcase .custom-nail-story[data-phase='designing'] .custom-story-demo{opacity:1;transform:translate(-50%,0) scale(1)}
.miso-custom-showcase .custom-nail-story[data-phase='result'] .custom-story-inspiration{transform:translate(-50%,57px) rotate(-4deg) scale(.64)}
.miso-custom-showcase .custom-nail-story[data-phase='result'] .custom-story-outputs{opacity:1;transform:translate(-50%,0) scale(1)}
.miso-custom-showcase .miso-custom-copy{display:flex;align-items:flex-start;justify-content:center;flex-direction:column;gap:24px;min-width:0;padding:44px clamp(26px,5vw,60px)}
.miso-custom-showcase .miso-custom-copy h2{margin:0;color:var(--photo-hero-ink);font:500 clamp(35px,4.8vw,55px)/1.12 Fraunces,var(--serif);font-optical-sizing:auto;font-synthesis:none;letter-spacing:-.04em}
.miso-custom-showcase .miso-custom-copy h2 em{color:var(--photo-hero-plum);font-style:normal}
.miso-custom-showcase .miso-custom-copy p{max-width:355px;margin:0;color:var(--photo-hero-ink);font-size:19px;line-height:1.7}
.miso-custom-showcase .miso-custom-copy .button{font-size:17px;padding-inline:25px}

@media(max-width:1100px){.miso-cover.miso-photo-cover,.miso-custom-showcase{margin-inline:20px}}
@media(max-width:820px){
  .miso-photo-cover .miso-cover-copy{padding-inline:22px;gap:23px}
  .miso-cover.miso-photo-cover .miso-cover-copy>p:not(.miso-kicker){font-size:18px}
  .miso-photo-cover .miso-hero-actions .button{font-size:15px;padding:13px 17px}
  .miso-photo-cover .miso-hero-actions{gap:9px}
  .miso-custom-showcase .custom-nail-story{--story-height:460px;padding:22px}
  .miso-custom-showcase .miso-custom-copy{padding:28px}
  .miso-custom-showcase .miso-custom-copy p{font-size:18px}
}
@media(max-width:700px){
  .miso-cover.miso-photo-cover{display:grid;grid-template-columns:minmax(0,1fr);margin-inline:16px;border-radius:26px}
  .miso-photo-cover .miso-hero-nails{order:-1;min-height:250px;height:250px}
  .miso-photo-cover .miso-hero-nails img{object-position:50% 47%}
  .miso-photo-cover .miso-cover-copy{padding:29px 24px 34px;gap:21px}
  .miso-photo-cover .miso-cover-copy h1{font-size:66px}
  .miso-photo-cover .miso-cover-copy h1 br{display:block}
  .miso-cover.miso-photo-cover .miso-cover-copy>p:not(.miso-kicker){max-width:390px;text-align:center;font-size:18px}
  .miso-photo-cover .miso-hero-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .miso-photo-cover .miso-hero-actions .button{min-height:51px;padding:13px 12px;font-size:15px}
  .miso-custom-showcase{grid-template-columns:minmax(0,1fr);margin:35px 16px 0}
  .miso-custom-showcase .custom-nail-story{--story-height:480px;padding:25px}
  .miso-custom-showcase .miso-custom-copy{padding:30px 24px 18px;gap:20px}
  .miso-custom-showcase .miso-custom-copy h2{font-size:43px}
  .miso-custom-showcase .miso-custom-copy p{font-size:18px}
}
@media(max-width:365px){
  .miso-photo-cover .miso-cover-copy h1{font-size:57px}
  .miso-photo-cover .miso-cover-copy{padding-inline:18px}
  .miso-photo-cover .miso-hero-actions{grid-template-columns:minmax(0,1fr)}
  .miso-custom-showcase .custom-nail-story{--story-height:440px;padding:20px}
  .miso-custom-showcase .custom-story-demo{height:270px}
  .miso-custom-showcase .miso-custom-copy h2{font-size:39px}
}
@media(prefers-reduced-motion:reduce){
  .miso-custom-showcase .custom-story-header,.miso-custom-showcase .custom-story-inspiration,.miso-custom-showcase .custom-story-outputs,.miso-custom-showcase .custom-story-demo{transition:none}
}
