:root {
  --ink: #07100f;
  --ink-soft: #10201f;
  --bone: #eff0eb;
  --stone: #c2cbc6;
  --quiet: #8c9994;
  --line-dark: rgba(240, 247, 242, .22);
  --line-light: rgba(7, 16, 15, .2);
  --lilac: #085069;
  --brand-on-dark: #67c1d2;
  --coral: #ee7664;
  --side: clamp(1.25rem, 6vw, 5.4rem);
  --display: "Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body: "Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { background: var(--ink); scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font-family: var(--body); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.ne-page { overflow: clip; background: var(--ink); }
.ne-skip { position: fixed; z-index: 99; left: 50%; top: -5rem; transform: translateX(-50%); padding: .75rem 1rem; background: var(--lilac); color: white; font: 11px/1 var(--mono); text-transform: uppercase; }
.ne-skip:focus { top: 1rem; }
.ne-kicker { margin: 0; color: inherit; font: 10px/1.2 var(--mono); letter-spacing: .03em; text-transform: uppercase; }

.ne-hero { position: relative; isolation: isolate; overflow: hidden; color: white; background: #050807; }
.ne-nav { position: absolute; z-index: 3; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; height: 6rem; padding: 0 var(--side); background: #fff; }
.ne-brand-image { display: block; width: clamp(8.2rem, 9.3vw, 10rem); height: auto; }
.ne-nav__links { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); color: var(--ink); font: 10px/1.2 var(--mono); letter-spacing: .03em; text-transform: uppercase; }
.ne-nav__links a { display: inline-flex; align-items: center; gap: .45rem; transition: opacity .2s ease; }
.ne-nav__links a:hover { opacity: .62; }
.ne-nav__contact { padding: .65rem .76rem; background: var(--coral); color: var(--ink); }
.ne-hero__grid { display: grid; grid-template-columns: minmax(19rem, .83fr) minmax(21rem, 1fr); align-items: center; gap: clamp(2.5rem, 7vw, 8rem); width: min(100% - (var(--side) * 2), 88rem); min-height: 100svh; margin: 0 auto; padding: 8.2rem 0 4rem; }
.ne-hero__text { max-width: 37rem; text-align: left; }
.ne-hero h1 { margin: 0; font-family: var(--display); font-size: clamp(2.65rem, 4.55vw, 5.25rem); font-weight: 500; letter-spacing: -.058em; line-height: 1.06; text-wrap: balance; }
.ne-hero h1 em { color: var(--brand-on-dark); font-style: normal; }
.ne-hero__video-frame { position: relative; justify-self: end; width: min(100%, 39rem); aspect-ratio: 1; overflow: hidden; background: #0d1513; box-shadow: 0 24px 70px rgba(0,0,0,.42); }
.ne-hero__video-frame::after { position: absolute; inset: 0; content: ""; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.2)); }
.ne-hero__video { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.82) contrast(1.06) brightness(.78); }
.ne-scroll-cue { display: inline-flex; align-items: center; gap: .7rem; margin-top: 2.1rem; color: rgba(255,255,255,.74); font: 10px/1.2 var(--mono); letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; }
.ne-scroll-cue b { display: grid; width: 2rem; aspect-ratio: 1; place-items: center; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; font: 1rem/1 var(--body); }

.ne-workflow { display: grid; grid-template-columns: minmax(0, 1.32fr) minmax(360px, .9fr); min-height: 1050px; color: white; background: var(--ink); }
.ne-workflow__visual { position: relative; min-height: 100%; overflow: hidden; background: #101d1c; }
.ne-workflow__visual video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.8) contrast(1.05); }
.ne-workflow__visual-shade { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(3,15,14,.4), rgba(3,15,14,.04) 55%, rgba(21,6,44,.34)); }
.ne-media-caption { position: absolute; left: 1rem; bottom: 1rem; padding: .42rem .55rem; border: 1px solid rgba(255,255,255,.45); background: rgba(7,16,15,.52); font: 9px/1.1 var(--mono); letter-spacing: .02em; text-transform: uppercase; }
.ne-workflow__rail { padding: clamp(4rem, 8vw, 7.6rem) clamp(1.5rem, 4vw, 4rem); background: #0a1514; }
.ne-workflow__rail > .ne-kicker { color: var(--lilac); }
.ne-workflow h2, .ne-services h2, .ne-library h2, .ne-contact h2, .ne-library-page h1 { margin: 0; font-family: var(--display); font-weight: 500; letter-spacing: -.05em; line-height: 1.02; text-wrap: balance; }
.ne-workflow h2 { margin-top: 1.1rem; font-size: clamp(2.55rem, 4vw, 4.65rem); }
.ne-workflow__steps { margin-top: clamp(3.5rem, 7vw, 6rem); }
.ne-step { display: grid; grid-template-columns: 2.15rem 1fr; gap: .8rem; padding: 1rem 0 1.45rem; border-top: 1px solid var(--line-dark); }
.ne-step > span { color: var(--lilac); font: 10px/1.35 var(--mono); }
.ne-step h3 { margin: 0; font-size: 1.05rem; font-weight: 500; letter-spacing: -.02em; }
.ne-step p { max-width: 25rem; margin: .48rem 0 0; color: var(--stone); font-size: .96rem; line-height: 1.42; }

.ne-intro { padding: clamp(5rem, 10vw, 9rem) var(--side); color: var(--ink); background: var(--bone); text-align: center; }
.ne-intro .ne-kicker { color: var(--coral); }
.ne-intro h2 { max-width: 68rem; margin: 1.6rem auto 0; font-family: var(--display); font-size: clamp(2rem, 3.35vw, 3.85rem); font-weight: 500; letter-spacing: -.055em; line-height: 1.16; text-wrap: balance; }
.ne-intro h2 span { display: block; opacity: 0; transform: translateY(1rem); animation: ne-line-in .82s cubic-bezier(.22, 1, .36, 1) forwards; }
.ne-intro h2 span:nth-child(1) { animation-delay: .12s; }
.ne-intro h2 span:nth-child(2) { animation-delay: .22s; }
.ne-intro h2 span:nth-child(3) { animation-delay: .32s; }
.ne-intro h2 em { color: #085069; font-style: normal; }
@keyframes ne-line-in { to { opacity: 1; transform: translateY(0); } }
@supports (animation-timeline: view()) {
  .ne-intro h2 span { animation-delay: 0s; animation-timeline: view(); animation-range: entry 0% cover 32%; }
}

.ne-services { padding: clamp(5rem, 10vw, 9rem) var(--side) 0; background: var(--bone); color: var(--ink); }
.ne-services > .ne-kicker { color: var(--coral); }
.ne-services__heading { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(15rem, .7fr); gap: clamp(2rem, 8vw, 9rem); margin-top: 1.4rem; padding-bottom: clamp(3.8rem, 8vw, 7rem); }
.ne-services h2 { font-size: clamp(2.6rem, 5.2vw, 5.65rem); }
.ne-services__heading p { max-width: 27rem; margin: .55rem 0 0; color: #50605a; font-size: clamp(1rem, 1.32vw, 1.26rem); line-height: 1.35; }
.ne-services__list { border-top: 1px solid var(--line-light); }
.ne-services__list a { display: grid; grid-template-columns: 4rem minmax(13rem, .8fr) minmax(14rem, 1fr) 2rem; align-items: center; gap: 1rem; padding: 1.6rem 0; border-bottom: 1px solid var(--line-light); transition: padding .25s ease, color .25s ease; }
.ne-services__list a:hover { padding-left: .75rem; color: #085069; }
.ne-services__list span, .ne-article > span { font: 10px/1.2 var(--mono); color: #6e7a75; }
.ne-services__list strong { font-size: clamp(1.2rem, 2vw, 1.72rem); font-weight: 500; letter-spacing: -.03em; }
.ne-services__list small { color: #5d6b66; font-size: .94rem; line-height: 1.35; }
.ne-services__list a > span:last-child { justify-self: end; font-size: 1.25rem; }

.ne-library { display: grid; grid-template-columns: minmax(18rem, .84fr) minmax(0, 1.16fr); gap: clamp(3rem, 8vw, 9rem); padding: clamp(5rem, 11vw, 10rem) var(--side); color: white; background: #085069; }
.ne-library__intro .ne-kicker { color: #dceff2; }
.ne-library h2 { margin-top: 1.25rem; font-size: clamp(2.65rem, 4.65vw, 5.25rem); }
.ne-text-link { display: inline-flex; gap: .6rem; margin-top: 2.5rem; padding-bottom: .3rem; border-bottom: 1px solid currentColor; font: 10px/1.2 var(--mono); letter-spacing: .02em; text-transform: uppercase; }
.ne-article-list { align-self: end; }
.ne-article { display: grid; grid-template-columns: 2.25rem 1fr 1.8rem; gap: 1rem; padding: 1.25rem 0 1.55rem; border-top: 1px solid rgba(255,255,255,.3); transition: color .2s ease; }
.ne-article:last-child { border-bottom: 1px solid rgba(255,255,255,.3); }
.ne-article:hover { color: #e0f7fb; }
.ne-article small { color: #dceff2; font: 9px/1.2 var(--mono); letter-spacing: .03em; text-transform: uppercase; }
.ne-article h3 { max-width: 30rem; margin: .5rem 0 0; font-size: clamp(1.2rem, 2vw, 1.75rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.12; }
.ne-article p { max-width: 31rem; margin: .65rem 0 0; color: #e6f3f5; font-size: .94rem; line-height: 1.38; }
.ne-article > span:last-child { align-self: center; font-size: 1.3rem; }

.ne-contact { position: relative; display: grid; min-height: 700px; align-items: end; isolation: isolate; overflow: hidden; color: white; background: #0e1716; }
.ne-contact > img { z-index: -3; object-fit: cover; object-position: center; filter: saturate(.75) contrast(1.04); }
.ne-contact__veil { position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg, rgba(4,13,12,.87), rgba(4,13,12,.48) 58%, rgba(4,13,12,.2)); }
.ne-contact__copy { width: min(100% - (var(--side) * 2), 70rem); margin: 0 var(--side); padding: clamp(5rem, 9vw, 8rem) 0; }
.ne-contact .ne-kicker { color: var(--coral); }
.ne-contact h2 { max-width: 62rem; margin-top: 1.25rem; font-size: clamp(3.1rem, 5.7vw, 6.2rem); }
.ne-contact__copy > p:not(.ne-kicker) { max-width: 28rem; margin: 1.5rem 0 2rem; color: var(--stone); font-size: clamp(1rem, 1.4vw, 1.25rem); line-height: 1.35; }
.ne-cta { display: inline-flex; gap: 2.6rem; align-items: center; padding: .9rem 1rem; background: var(--coral); color: var(--ink); font: 10px/1 var(--mono); letter-spacing: .03em; text-transform: uppercase; }
.ne-cta span { font-size: 1.1rem; }

.ne-footer { padding: 3.5rem var(--side) 1.25rem; color: #073f52; background: #fff; }
.ne-footer__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 3rem; min-height: 9.5rem; }
.ne-footer nav { display: grid; gap: .65rem; min-width: 10rem; font-size: .95rem; }
.ne-footer nav a:hover { color: #0b6685; }
.ne-footer__bottom { display: grid; grid-template-columns: 1fr 1fr auto; gap: 1rem; padding-top: 1rem; border-top: 1px solid #d8e5e8; color: #41616b; font: 9px/1.25 var(--mono); letter-spacing: .02em; text-transform: uppercase; }
.ne-footer__bottom a { text-decoration: underline; text-underline-offset: .25em; }

.ne-library-page { min-height: 100vh; color: var(--ink); background: var(--bone); }
.ne-library-nav { display: flex; justify-content: space-between; align-items: center; padding: 1.8rem var(--side); border-bottom: 1px solid var(--line-light); }
.ne-library-nav img { display: block; width: 10rem; height: auto; }
.ne-library-nav__back { font: 10px/1.2 var(--mono); letter-spacing: .03em; text-transform: uppercase; }
.ne-library-page__hero { padding: clamp(6rem, 13vw, 12rem) var(--side) clamp(5rem, 9vw, 8rem); }
.ne-library-page__hero .ne-kicker { color: var(--coral); }
.ne-library-page h1 { max-width: 66rem; margin-top: 1.25rem; font-size: clamp(3rem, 7vw, 7.8rem); }
.ne-library-page__hero > p:last-child { max-width: 31rem; margin: 2rem 0 0; color: #53615d; font-size: 1.15rem; line-height: 1.38; }
.ne-library-page__list { padding: 0 var(--side) 7rem; }
.ne-library-page__list article { display: grid; grid-template-columns: 4rem minmax(0, 1fr) auto; gap: 1rem; padding: 1.6rem 0 2rem; border-top: 1px solid var(--line-light); }
.ne-library-page__list article > span { font: 10px/1.2 var(--mono); color: #697570; }
.ne-library-page__list small { color: var(--coral); font: 9px/1.2 var(--mono); letter-spacing: .03em; text-transform: uppercase; }
.ne-library-page__list h2 { margin: .5rem 0 0; max-width: 44rem; font-size: clamp(1.7rem, 3vw, 3.1rem); }
.ne-library-page__list p { max-width: 38rem; margin: .6rem 0 0; color: #586660; line-height: 1.4; }
.ne-library-page__list article > a { align-self: center; color: #085069; font: 10px/1.2 var(--mono); letter-spacing: .02em; text-transform: uppercase; }
.ne-library-footer { display: flex; justify-content: space-between; gap: 1rem; padding: 1.3rem var(--side); color: #64716c; border-top: 1px solid var(--line-light); font: 9px/1.2 var(--mono); text-transform: uppercase; }

:focus-visible { outline: 2px solid var(--lilac); outline-offset: 3px; }

@media (max-width: 991px) {
  .ne-nav { height: 5.5rem; }
  .ne-nav__links { gap: .85rem; }
  .ne-workflow { grid-template-columns: 1fr .92fr; }
  .ne-services__heading, .ne-library { gap: 3rem; }
}

@media (max-width: 767px) {
  :root { --side: 1.25rem; }
  .ne-hero { min-height: 0; }
  .ne-nav { height: 5.1rem; }
  .ne-brand-image { width: 8.1rem; }
  .ne-nav__links { gap: .72rem; }
  .ne-nav__links a:not(.ne-nav__contact) { display: none; }
  .ne-hero__grid { grid-template-columns: 1fr; align-items: start; gap: 2.35rem; width: calc(100% - (var(--side) * 2)); min-height: 0; padding: 7.5rem 0 2.2rem; }
  .ne-hero__text { max-width: 32rem; }
  .ne-hero h1 { font-size: clamp(2.45rem, 10.7vw, 4.4rem); line-height: 1.07; }
  .ne-hero__video-frame { justify-self: start; width: min(100%, 28rem); }
  .ne-scroll-cue { margin-top: 1.5rem; }
  .ne-workflow { display: block; min-height: 0; }
  .ne-workflow__visual { min-height: 70svh; height: 580px; }
  .ne-workflow__rail { padding: 4rem var(--side) 4.5rem; }
  .ne-workflow h2 { font-size: clamp(2.75rem, 11vw, 4.1rem); }
  .ne-services { padding: 4.8rem var(--side) 0; }
  .ne-services__heading, .ne-library { display: block; }
  .ne-services__heading { padding-bottom: 4.25rem; }
  .ne-services__heading p { margin-top: 1.6rem; }
  .ne-services__list a { grid-template-columns: 2.2rem 1fr 1.2rem; gap: .7rem; padding: 1.3rem 0; }
  .ne-services__list small { grid-column: 2 / 4; }
  .ne-library { padding: 5rem var(--side); }
  .ne-article-list { margin-top: 3.5rem; }
  .ne-contact { min-height: 620px; }
  .ne-contact__copy { width: auto; margin: 0 var(--side); }
  .ne-contact h2 { font-size: clamp(3rem, 12vw, 4.5rem); }
  .ne-footer { padding: 3rem var(--side) 1.2rem; }
  .ne-footer__top { display: grid; gap: 3.4rem; }
  .ne-footer nav { grid-template-columns: 1fr 1fr; }
  .ne-footer__bottom { grid-template-columns: 1fr; }
  .ne-library-nav { padding: 1.25rem var(--side); }
  .ne-library-nav img { width: 8.5rem; }
  .ne-library-page__hero { padding: 5rem var(--side); }
  .ne-library-page__list { padding: 0 var(--side) 5rem; }
  .ne-library-page__list article { grid-template-columns: 2rem 1fr; }
  .ne-library-page__list article > a { grid-column: 2; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  video { display: none; }
  .ne-hero { background: radial-gradient(circle at 50% 30%, #59416e, #0a1716 70%); }
  .ne-workflow__visual { background: radial-gradient(circle at 60% 30%, #3f675f, #0c1716 72%); }
  .ne-contact { background: linear-gradient(120deg, #172b27, #0b1514); }
}

.neorgan-wordpress img { max-width: none; }
.neorgan-wordpress .ne-contact > img { position: absolute; inset: 0; width: 100%; height: 100%; }

/* The active WordPress theme styles headings dark by default. Keep all text
   inside the deliberately dark brand sections legible and theme-independent. */
.neorgan-wordpress .ne-hero h1,
.neorgan-wordpress .ne-library h2,
.neorgan-wordpress .ne-library .ne-text-link,
.neorgan-wordpress .ne-library .ne-article h3,
.neorgan-wordpress .ne-contact h2 {
  color: #fff !important;
}
.neorgan-wordpress .ne-library .ne-article > span {
  color: #dceff2 !important;
}
