:root{--header-height:var(--nm-bar-height,78px)}
.nm-home .nm-footer{display:block;max-width:none;padding:0;}
.nm-home .nm-footer .nm-foot-inner{display:block;margin:auto;}
.nm-home .nm-footer .nm-groups{display:grid}
.nm-home .nm-footer .nm-fine{display:flex;flex-wrap:wrap}
.nm-home .nm-groups section{scroll-margin:0}
.nm-home .hero{padding-top:var(--nm-bar-height)}
.nm-home .description{position:relative}
body:has(.nm-menu[open]) #quickGift{display:none!important}
.nm-home #artTouch{touch-action:pan-y}
.nm-home .flavour-dots{scroll-snap-type:x proximity;overscroll-behavior-x:contain}
.nm-home .flavour-dots button{scroll-snap-align:center}
.nm-home .paging button{min-width:44px;min-height:44px}
.nm-home .story-copy{position:relative}
.story-leaving{position:absolute;pointer-events:none}
.story-menu-link,.static-story a{text-decoration:underline;text-underline-offset:3px}
#layerLabels{opacity:0;position:absolute;inset:15% 2% 15% auto;width:25%;display:flex;flex-direction:column;justify-content:space-evenly;font:600 clamp(10px,.89vw,13px)/1.2 DM,sans-serif;color:#693044;pointer-events:none}
#layerLabels span{display:flex;align-items:center;gap:6px}
#layerLabels span::before{content:"";width:clamp(8px,1.6vw,24px);height:1px;background:#aa7580}
.static-gift,.static-story{display:block}
.static-gift{color:#fff0e7;padding:60px var(--page-edge);max-width:48rem}
.static-gift h2{font:500 clamp(44px,6vw,85px)/1 var(--serif);margin:16px 0}
.static-gift p{line-height:1.5;margin-bottom:16px}
html.atelier-active :is(.static-gift,.static-story){display:none}
html:not(.atelier-active) .gift-inner,html:not(.motion-controls) .picker,html:not(.atelier-active) :is(.step-controls,#quickGift,#layerLabels){display:none}
html:not(.atelier-active) #inside{height:auto}
html:not(.atelier-active) .story-pin{position:relative;height:auto;top:auto}
html:not(.atelier-active) .story-inner{height:auto;min-height:0;padding-block:36px}
html:not(.atelier-active) .static-story{margin-top:10px}
html:not(.atelier-active) .shops{display:none}
@media(max-width:760px){
 .nm-home .flavour-dots{mask-image:linear-gradient(90deg,transparent,#000 12px,#000 calc(100% - 12px),transparent);padding-inline:14px;scroll-padding-inline:14px;scroll-snap-type:x mandatory}
 .nm-home .story-copy{padding:0;margin:0 auto;text-align:center;max-width:min(100%,32rem);}
 .nm-home .story-copy .eyebrow,.nm-home .step-controls{justify-content:center;text-align:center;}
 .nm-home .story-copy .eyebrow{margin-inline:auto;}
 .nm-home .story-copy h2{margin:6px 0 4px;}
 .nm-home #storyText p,.nm-home .story-leaving p{margin:3px auto 0;max-width:38ch;}
 .nm-home #storyText,.nm-home .story-leaving{min-height:0;}
 .nm-home .step-controls{margin:8px 0 0;}
 .nm-home .story-inner{padding:14px var(--site-gutter) 12px;gap:8px;justify-content:center;}
 .nm-home .story-art{height:clamp(155px,29svh,260px);min-height:0;flex:none}
}
@media (max-width:760px) and (min-height:620px) {
 .atelier-active #inside{height:205svh}
 .atelier-active .story-pin{position:sticky;top:var(--nm-bar-height);height:calc(100svh - var(--nm-bar-height));overflow:clip}
 .atelier-active .story-inner{height:100%;min-height:0;display:flex;flex-direction:column;justify-content:center;}
}
@media (max-width:760px) and (max-height:619px) {
 .nm-home #inside,.nm-home .story-inner{height:auto;min-height:0}
 .nm-home .story-pin{position:relative;top:0;height:auto;overflow:visible}
}

.nm-home .story-copy .story-leaving{inset-inline:0!important;width:auto!important;max-width:100%;box-sizing:border-box}
.nm-home #model{max-width:100%}
.nm-home .description h1{align-content:center}
@media(min-width:761px){
 .nm-home .description{container-type:inline-size}
 .nm-home .description h1 .long-first{font-size:min(.76em,17cqi);white-space:nowrap}
}

/* The phone plate is one photograph-sized illustration with all shadows baked in. */
.phone-plate,.phone-note,.phone-layers{display:none}
@media(max-width:767.98px){
 .nm-home #flavours.hero{height:auto;min-height:0;overflow:hidden;padding:var(--nm-bar-height,64px) 0 0;background:var(--hero);transition:background-color .34s ease}
 .nm-home #flavours .hero-inner{display:grid;grid-template-columns:minmax(0,1fr);padding:clamp(18px,4.6vw,30px) clamp(18px,5vw,34px) clamp(16px,4vw,28px);margin:auto;max-width:555px;align-items:center;gap:0}
 .nm-home #flavours .shelf,.nm-home #flavours .description{display:contents}
 .nm-home #flavours .eyebrow{grid-row:1;margin:0;min-height:0;font-size:10px;line-height:1.5;letter-spacing:.16em;justify-content:flex-start;animation:none}
 .nm-home #flavours #flavourTitle{grid-row:2;box-sizing:border-box;width:100%;font-family:var(--serif);font-size:var(--phone-title,clamp(40px,12vw,62px));line-height:1.08;letter-spacing:-.045em;min-height:0!important;height:clamp(52px,16vw,72px);white-space:nowrap;text-wrap:nowrap;margin:8px 0 5px;padding:0;overflow:visible;animation:none}
 .nm-home #flavours #flavourTitle br{display:none}
 .nm-home #flavours #flavourTitle em{margin:0}
 .nm-home #flavours #flavourTitle br+em{margin-left:.14em}
 .nm-home #flavours #flavourTitle .long-first{font-size:inherit}
 .nm-home #flavours .phone-note{display:block;grid-row:3;min-height:2.76em;font:450 16px/1.38 var(--nm-sans);color:#54343f;margin:0;max-width:38ch}
 .nm-home #flavours :is(#heroArt,#flavourNote,.depart-title,#wash,.nic-colour-wipe,.nic-cursor-light,.nic-burst),.nm-home #model{display:none!important}
 .nm-home #flavours .paper{opacity:.14;pointer-events:none}
 .nm-home #flavours .phone-plate{display:block;grid-row:4;position:relative;width:100%;height:auto;aspect-ratio:1080/580;margin:clamp(6px,1.8vw,12px) 0;touch-action:pan-y pinch-zoom;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
 .nm-home #flavours .actions{grid-row:6;display:flex;justify-content:center;align-items:center;gap:12px;flex-wrap:nowrap;margin:14px 0 0;padding:0;animation:none}
 .nm-home #flavours .actions a{min-height:44px;padding:0 15px;white-space:nowrap;font-size:13px;box-sizing:border-box}
 .nm-home .tray.has-traveller .well[data-reserved] img{opacity:1!important;visibility:visible!important}
 .nm-home .tray.has-traveller .well[data-reserved]::before{display:none}
 .nm-home .phone-layers:not(:empty){display:block;position:absolute;inset:0;pointer-events:none}
 .phone-layers img{position:absolute;left:23%;top:50%;width:53%;height:auto;transform:translateY(-50%);transition:transform .48s ease}
 .phone-layers img:first-child{transform:translateY(calc(-50% + var(--spread,0px)))}
 .phone-layers img:last-child{transform:translateY(calc(-50% - var(--spread,0px)))}
 .nm-home .phone-layers:not(:empty)~.art-shadow{display:none}
 .nm-home .story-art:has(.phone-layers:not(:empty)) #insideStill{display:none}
}
