/* N.E-Thing Core: popup, form and element styles */
.ne-popup{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:20px}
.ne-popup[hidden]{display:none}
.ne-popup__backdrop{position:absolute;inset:0;background:rgba(10,10,10,.82);animation:ne-pop-fade .3s both}
.ne-popup__panel{position:relative;background:var(--ne-bg,#fff);color:var(--ne-ink,#0a0a0a);width:min(680px,100%);max-height:calc(100vh - 40px);max-height:calc(100dvh - 40px);overflow:auto;border-radius:10px;padding:clamp(26px,5vw,52px);animation:ne-pop-rise .4s cubic-bezier(.2,.8,.2,1) both}
.ne-popup__panel h2{font-size:clamp(30px,4vw,46px);margin:0 0 10px}
.ne-popup__intro{color:var(--ne-body,#6b6b6b);margin:0 0 26px}
.ne-popup__close{position:absolute;top:14px;right:16px;width:44px;height:44px;border:0;background:none;font-size:30px;line-height:1;cursor:pointer;color:inherit;border-radius:50%}
.ne-popup__close:hover{background:var(--ne-card,#f4f4f4)}
.ne-popup-open{overflow:hidden}
@keyframes ne-pop-fade{from{opacity:0}}
@keyframes ne-pop-rise{from{opacity:0;transform:translateY(24px)}}

.ne-form{margin:0}
.ne-form__grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}
.ne-field{margin:0 0 18px}
.ne-field label{display:block;font-size:13px;font-weight:600;letter-spacing:.04em;margin-bottom:8px}
.ne-form input[type=text],.ne-form input[type=email],.ne-form input[type=tel],.ne-form select,.ne-form textarea{width:100%;font:inherit;font-size:16px;color:inherit;background:var(--ne-bg,#fff);border:1px solid var(--ne-field,#d9d9d9);border-radius:6px;padding:13px 15px}
.ne-form input:focus,.ne-form select:focus,.ne-form textarea:focus{border-color:var(--ne-ink,#0a0a0a);outline:none}
.ne-form textarea{min-height:120px;resize:vertical}
.ne-field.has-error input,.ne-field.has-error textarea{border-color:#b3261e}
.ne-field__error{color:#b3261e;font-size:13px;margin-top:6px;display:block}
.ne-field--check label{display:flex;gap:10px;align-items:flex-start;font-weight:400;letter-spacing:0;font-size:14px;color:var(--ne-body,#6b6b6b);line-height:1.5}
.ne-field--check input{margin-top:4px;flex:none;width:16px;height:16px}
.ne-hp{position:absolute!important;left:-9999px!important;top:auto;width:1px;height:1px;overflow:hidden}
.ne-form__actions{margin:8px 0 0}
.ne-form__status{margin:16px 0 0;font-weight:600;min-height:1em}
.ne-form__status.is-error{color:#b3261e}
.ne-form.is-sent>*:not(.ne-form__status){display:none}
.ne-form.is-sent .ne-form__status{font-size:20px;margin:0}
.ne-form.is-busy button{opacity:.6;pointer-events:none}
.ne-turnstile:empty{display:none}.ne-turnstile{margin-bottom:16px}
.ne-dark .ne-form input,.ne-dark .ne-form select,.ne-dark .ne-form textarea,.ne-section--dark .ne-form input,.ne-section--dark .ne-form select,.ne-section--dark .ne-form textarea{background:transparent;border-color:#3a3a3a;color:#fff}
@media(max-width:600px){.ne-form__grid{grid-template-columns:1fr}}

/* Elements used by shortcodes and WPBakery */
.ne-splitrow{display:grid;grid-template-columns:1fr 1.4fr;gap:clamp(30px,6vw,110px);padding:clamp(50px,7vw,100px) 0;border-top:1px solid var(--ne-rule,#e6e6e6)}
.ne-splitrow h2{font-size:clamp(30px,3.6vw,52px);margin:0}
.ne-splitrow .ne-lead{margin-top:0}
@media(max-width:820px){.ne-splitrow{grid-template-columns:1fr}}
.ne-cta--inline{padding:clamp(50px,7vw,100px) clamp(24px,5vw,72px);border-radius:6px}
.ne-cta--inline.ne-cta--light{background:var(--ne-card,#f4f4f4)}
.ne-contactlist{list-style:none;margin:26px 0 0;padding:0}
.ne-contactlist li{display:flex;gap:14px;align-items:center;padding:14px 0;border-bottom:1px solid var(--ne-rule,#e6e6e6)}
.ne-contactlist a{text-decoration:none}
.ne-iconblock{line-height:0}
.ne-statbox .ne-label{margin:0}

/* Line journey: one line through every stop */
.ne-journey{position:relative;isolation:isolate;overflow:hidden;color:var(--ne-ink,#0a0a0a);--ne-j-line:var(--ne-line,#755630)}
.ne-journey__art{position:absolute;inset:0;width:100%;height:100%;max-width:none;z-index:-1;pointer-events:none}
.ne-journey__art path{fill:none;stroke:var(--ne-j-line);stroke-linecap:round;stroke-linejoin:round}
.ne-journey__ghost{opacity:.18;stroke-width:1.3}
.ne-journey__ink{opacity:.85;stroke-width:1.8;stroke-dasharray:1;stroke-dashoffset:0}
.ne-journey.is-live .ne-journey__ink{stroke-dashoffset:1}
.ne-stop{position:relative;min-height:56vh;display:grid;align-content:center;padding:6vh var(--ne-pad,7vw);max-width:none!important;margin:0!important}
.ne-stop__copy{width:min(100%,520px);padding:30px 0;}
.ne-stop:nth-of-type(even) .ne-stop__copy{margin-left:auto}
@media(min-width:700px){.ne-stop__copy{width:min(520px,40vw)}}
.ne-stop__title{font-size:clamp(40px,6.2vw,96px);line-height:.96;letter-spacing:-.035em;margin:0 0 .22em}
.ne-stop__link{color:var(--ne-ink);text-decoration:none!important;display:inline-block;transition:color .28s ease}
.ne-stop__link::before{content:"";position:absolute;inset:0}
@media(hover:hover){.ne-stop__link:hover{color:var(--ne-j-line)}}
.ne-stop__link:focus-visible{color:var(--ne-j-line)}
.ne-stop__link span{display:inline-block;transition:scale .42s cubic-bezier(.2,.7,.2,1);transform-origin:left center}
.ne-stop:nth-of-type(even) .ne-stop__link span{transform-origin:right center}
.ne-stop--band .ne-stop__link span{transform-origin:center}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.ne-stop__link:hover span{scale:1.045}}
.ne-stop__text{font-size:clamp(17px,1.5vw,21px);color:var(--ne-body,#6b6b6b);max-width:30ch;margin:0}
.ne-stop:has(.ne-stop__link){cursor:pointer}

/* A stop that stands apart from the list, such as an introduction to the company */
.ne-stop--band{min-height:78vh;margin-top:6vh!important;margin-bottom:4vh!important;justify-items:center;text-align:center}
.ne-stop--band .ne-stop__copy{width:min(100%,760px);margin:0!important;padding:60px 30px;}
.ne-stop--band .ne-stop__title{font-size:clamp(48px,8vw,128px)}
.ne-stop--band .ne-stop__text{max-width:36ch;margin:0 auto;font-size:clamp(19px,1.9vw,26px)}

/* Opening screen: the logo holds still, the words flip beneath it */
.ne-stop--hero{min-height:100vh;min-height:100svh;justify-items:center;text-align:center;padding-top:clamp(110px,16vh,160px);padding-bottom:8vh}
.ne-flip{width:min(100%,1100px);padding:4vh 0}
.ne-flip__h{margin:0;font-size:clamp(42px,9.4vw,150px);line-height:1;letter-spacing:-.04em;font-weight:900}
.ne-flip__lead{display:block}
.ne-flip__logo{display:block;position:relative;width:min(86vw,900px);margin:0 auto}
.ne-flip__logo img{display:block;width:100%;height:auto}
.ne-flip__logo .ne-flip__rest{position:absolute;left:0;top:0}
.ne-flip__logo.is-staged .ne-flip__base{clip-path:polygon(0 0,100% 0,100% var(--ne-ry),var(--ne-rx) var(--ne-ry),var(--ne-rx) 100%,0 100%)}
.ne-flip__logo.is-staged .ne-flip__rest{clip-path:inset(var(--ne-ry) 0 0 var(--ne-rx));transition:opacity 1.5s cubic-bezier(.3,0,.2,1),transform 1.7s cubic-bezier(.2,.7,.2,1)}
.ne-flip__logo.is-live .ne-flip__rest{opacity:0;transform:translateY(7%)}
.ne-flip__logo.is-live.is-named .ne-flip__rest{opacity:1;transform:none}
.ne-on-dark{display:none!important}
[data-ne-mode=dark] .ne-on-dark{display:block!important}
[data-ne-mode=dark] .ne-on-light{display:none!important}
.ne-flip__words{display:block;position:relative;height:1.22em;margin-top:.2em;font-size:.5em;letter-spacing:-.02em;color:var(--ne-mid,#909090);white-space:nowrap}
.ne-flip__w{position:absolute;left:0;right:0;top:0}
.ne-flip__w.is-final{color:var(--ne-ink,#0a0a0a)}
.ne-flip__w.is-in{animation:ne-flip-in .95s cubic-bezier(.2,.7,.2,1) both}
.ne-flip__w.is-out{animation:ne-flip-out .6s cubic-bezier(.5,0,.8,.4) both}
@keyframes ne-flip-in{from{opacity:0;transform:translateY(.42em)}to{opacity:1;transform:none}}
@keyframes ne-flip-out{from{opacity:1;transform:none}to{opacity:0;transform:translateY(-.32em)}}
.ne-flip__sub{font-size:clamp(20px,2.3vw,32px);font-weight:800;letter-spacing:-.02em;margin:clamp(22px,4vh,44px) 0 6px}
.ne-flip__text{font-size:clamp(16px,1.4vw,19px);color:var(--ne-body,#6b6b6b);margin:0 auto;max-width:44ch}
.ne-flip__actions{display:flex;gap:16px;justify-content:center;flex-wrap:wrap;margin-top:clamp(26px,5vh,44px)}
@media(max-width:699px){
	.ne-stop{min-height:58vh;align-content:end;padding:4vh var(--ne-pad,7vw) 6vh}
	.ne-stop:nth-of-type(even) .ne-stop__copy{margin-left:0}
	.ne-stop--hero{align-content:center;padding-bottom:6vh}
	.ne-stop--band{align-content:center}
	.ne-journey__ink{opacity:.6}
	.ne-flip__words{font-size:.62em}
}

/* Single illustrations */
.ne-art{display:inline-flex;width:92px;height:92px;color:var(--ne-line,#755630);line-height:0}
.ne-art svg{width:100%;height:100%;overflow:visible}
.ne-art--sm{width:56px;height:56px}.ne-art--lg{width:min(100%,300px);height:auto;aspect-ratio:1}
/* Width is in the drawing's own units and corrected by script to 1.7px on screen. Scaling the stroke with
   the drawing keeps the dash that draws each line exact, so every drawing finishes complete. */
.ne-art svg *{stroke-width:var(--ne-sw,1.7)}
.ne-art--hero-motif svg *{stroke-width:var(--ne-sw,.6)}
@media(prefers-reduced-motion:no-preference){
	.ne-art--play:not(.is-done) svg *, .ne-art.is-drawing svg *{stroke-dasharray:1;animation:ne-trace 1.15s cubic-bezier(.42,0,.22,1) both}
	.ne-art--play:not(.is-done) svg :nth-child(2),.ne-art.is-drawing svg :nth-child(2){animation-delay:.12s}
	.ne-art--play:not(.is-done) svg :nth-child(n+3),.ne-art.is-drawing svg :nth-child(n+3){animation-delay:.23s}
}
@keyframes ne-trace{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@media(max-width:699px) and (prefers-reduced-motion:no-preference){.ne-art--play:not(.is-done) svg *,.ne-art.is-drawing svg *{animation-duration:.6s}}

/* Page change. The next page is fetched while the drawing is already moving. The old text fades away, the
   drawing glides to where it sits on the next page and does its own small act on the way, and the new
   text arrives to meet it. Going back runs the same path in reverse. Nothing covers the screen. */
.ne-go{position:fixed;inset:0;z-index:2000;pointer-events:all;color:var(--ne-line,#755630);--ne-fill:#e0bf87;--ne-fill-line:#795822}
.ne-go--stay{pointer-events:none}
.ne-go__art{position:absolute;overflow:visible;fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;transform-origin:50% 50%;will-change:transform}
.ne-go__art *{vector-effect:non-scaling-stroke}
.ne-go__art--units *{vector-effect:none;stroke-width:var(--ne-sw,1)}
html.ne-leaving .ne-main,html.ne-leaving .ne-footer,html.ne-leaving .ne-cta{opacity:0;transition:opacity calc(.55s*var(--ne-speed,1)) cubic-bezier(.4,0,.2,1)}
/* The new page: its text waits out of sight, then rises to meet the drawing */
html.ne-arriving .ne-hero__text>*,html.ne-arriving .ne-stop__copy,html.ne-arriving .ne-flip{opacity:0;transform:translateY(18px)}
html.ne-arriving.ne-meet .ne-hero__text>*,html.ne-arriving.ne-meet .ne-stop__copy,html.ne-arriving.ne-meet .ne-flip{opacity:1;transform:none;transition:opacity calc(1s*var(--ne-speed,1)) cubic-bezier(.2,.6,.2,1) calc(var(--ne-d,0s)*var(--ne-speed,1)),transform calc(1s*var(--ne-speed,1)) cubic-bezier(.2,.7,.2,1) calc(var(--ne-d,0s)*var(--ne-speed,1))}
html.ne-arriving .ne-hero__text>:nth-child(2){--ne-d:.12s}html.ne-arriving .ne-hero__text>:nth-child(3){--ne-d:.24s}
/* The real drawing stays out of sight until the travelling copy of it has arrived, then takes over */
html.ne-arriving:not(.ne-landed) .ne-hero__art,html.ne-arriving:not(.ne-landed) .ne-journey__art{opacity:0}
html.ne-landed .ne-hero__art,html.ne-landed .ne-journey__art{animation:ne-art-in calc(.4s*var(--ne-speed,1)) ease both}
@keyframes ne-art-in{from{opacity:0}to{opacity:1}}
html.ne-fadein .ne-main{animation:ne-art-in calc(.6s*var(--ne-speed,1)) ease both}
/* What each drawing does while it travels */
.ne-go__fx .paper{fill:var(--ne-fill);stroke:none;animation:ne-fx-sheet .7s both}
.ne-go__fx .lockup,.ne-go__fx .beam,.ne-go__fx .feed-card,.ne-go__fx .billboard{fill:var(--ne-fill);stroke:var(--ne-fill-line);transform-box:fill-box}
.ne-go__fx .lockup{animation:ne-fx-lockup .65s both;transform-origin:center}
.ne-go__fx .beam{animation:ne-fx-spot .72s both;transform-origin:top}
.ne-go__fx .feed-card{animation:ne-fx-swipe .68s both}
.ne-go__fx .billboard{animation:ne-fx-panel .72s both;transform-origin:top}
.ne-go__fx .aperture{display:none}
.ne-go__fx .curve{stroke:#fff1ce}
.ne-go__fx .handles{animation:ne-fx-handles .72s both}
.ne-go__fx .ribbon{display:none}
.ne-go .moving-nib{fill:var(--ne-fill);stroke:var(--ne-fill-line)}
@keyframes ne-fx-sheet{0%{clip-path:inset(0 0 100%)}75%{clip-path:inset(0);opacity:1}100%{clip-path:inset(0);opacity:0}}
@keyframes ne-fx-lockup{0%{opacity:0;transform:translate(-8px,4px) scale(.7)}65%{opacity:1;transform:none}100%{opacity:0}}
@keyframes ne-fx-spot{0%{opacity:0;transform:rotate(-14deg) scaleX(.25)}65%{opacity:.65;transform:rotate(5deg)}100%{opacity:0;transform:none}}
@keyframes ne-fx-swipe{0%{transform:translateY(8px);opacity:0}35%{opacity:1}100%{transform:translateY(-25px);opacity:0}}
@keyframes ne-fx-panel{0%{transform:scaleY(0);opacity:0}60%{transform:scaleY(1);opacity:1}100%{opacity:0}}
@keyframes ne-fx-handles{0%,100%{opacity:0}40%{opacity:1}}
/* Content Creation only: a camera shutter closes over the page, and opens onto the new one */
.ne-go--content i{position:absolute;left:0;right:0;height:51%;background:#171510;transform:scaleY(0)}
.ne-go--content i:nth-of-type(1){top:0;transform-origin:top}.ne-go--content i:nth-of-type(2){bottom:0;transform-origin:bottom}
.ne-go--content.is-close i{animation:ne-blade-close .5s cubic-bezier(.6,0,.25,1) both}
.ne-go--content.is-open i{animation:ne-blade-open .65s cubic-bezier(.6,0,.25,1) both}
.ne-go--content b{position:absolute;inset:0;background:#fff;opacity:0;pointer-events:none}
.ne-go--content.is-close b{animation:ne-fx-flash .5s .3s ease-out both}
@keyframes ne-blade-close{from{transform:scaleY(0)}to{transform:scaleY(1)}}
@keyframes ne-blade-open{from{transform:scaleY(1)}to{transform:scaleY(0)}}
@keyframes ne-fx-flash{0%{opacity:0}30%{opacity:.4}100%{opacity:0}}
html.ne-shutter .ne-art--play svg *{animation-delay:.45s!important}
@media(prefers-reduced-motion:reduce){.ne-flip__w{animation:none!important}.ne-journey.is-live .ne-journey__ink{stroke-dashoffset:0}}

.ne-hero .ne-art--hero-motif{aspect-ratio:120/92}
