/* ==========================================================================
   OffScript — main stylesheet
   Recycled-paper system: paper white, kraft tan, pure black ink, recycle green.
   Fold creases are the only dividers.
   ========================================================================== */

/* Brand fonts (SIL Open Font License), self-hosted. Space Grotesk = headlines + wordmark. Inter = body + UI. */
@font-face { font-family: "Space Grotesk"; font-style: normal; font-display: swap; font-weight: 300 700; src: url("../fonts/space-grotesk-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-display: swap; font-weight: 300 700; src: url("../fonts/space-grotesk-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Caveat"; font-style: normal; font-display: swap; font-weight: 700; src: url("../fonts/caveat-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }

/*
 * OffScript brand tokens. Variable names are historical (nm- prefix, "green" = primary accent);
 * values follow the brand board: Off Orange, Script Ink, Paper, White, Stone, Peach.
 */
:root {
	--os-orange: #FF5A1F;   /* Dot, sneakers, buttons, big headlines (shapes / 24px+ text only) */
	--os-ink: #111113;      /* Ollie, body text, dark mode */
	--os-paper: #F4F2EE;    /* main background */
	--os-white: #FFFFFF;    /* cards on Paper */
	--os-stone: #C9C6BF;    /* speed lines, hop trails, dividers */
	--os-peach: #FFD6C7;    /* soft backgrounds */

	--nm-green: var(--os-orange);
	--nm-green-deep: var(--os-ink);
	--nm-green-wash: var(--os-peach);
	--nm-black: var(--os-ink);
	--nm-white: var(--os-white);
	--nm-kraft: var(--os-stone);
	--nm-kraft-soft: var(--os-peach);
	--nm-kraft-ink: var(--os-orange);
	--nm-grey: #545454;
	--nm-line: rgba(17, 17, 19, .12);
	--nm-radius: 22px;
	--nm-radius-sm: 14px;

	--nm-font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--nm-display: "Space Grotesk", "Inter", ui-sans-serif, system-ui, sans-serif;

	--nm-step--1: clamp(.875rem, .85rem + .1vw, .95rem);
	--nm-step-0: clamp(1.0625rem, 1rem + .2vw, 1.1875rem);
	--nm-step-1: clamp(1.25rem, 1.15rem + .4vw, 1.5rem);
	--nm-step-2: clamp(1.6rem, 1.3rem + 1.2vw, 2.25rem);
	--nm-step-3: clamp(2.2rem, 1.6rem + 2.6vw, 4rem);
	--nm-step-4: clamp(2.9rem, 1.8rem + 5.4vw, 7rem);
	--nm-step-5: clamp(3.4rem, 1.6rem + 8.2vw, 9.5rem);

	--nm-wrap: 1240px;
	--nm-gutter: clamp(1.25rem, 4vw, 3rem);
	--nm-space: clamp(4.5rem, 10vw, 9rem);
	--nm-header-h: 72px;
	--nm-ease: cubic-bezier(.2, .7, .1, 1);
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nm-header-h) + 1rem); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	font-family: var(--nm-font);
	font-size: var(--nm-step-0);
	line-height: 1.6;
	color: var(--nm-black);
	background: var(--nm-white);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-color: var(--nm-green); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.05; font-weight: 750; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--nm-green); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--nm-green); color: var(--nm-black); }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.nm-skip:focus { position: fixed !important; top: 1rem; left: 1rem; width: auto; height: auto; clip: auto; z-index: 1000; background: var(--nm-black); color: var(--nm-white); padding: .75rem 1rem; }

.nm-wrap { width: min(100% - 2 * var(--nm-gutter), var(--nm-wrap)); margin-inline: auto; }
.nm-wrap--narrow { width: min(100% - 2 * var(--nm-gutter), 760px); margin-inline: auto; }

.nm-icon { width: 1.25em; height: 1.25em; flex: none; }

/* A fold crease: highlight + shadow pair, like a sheet that was folded and opened */
.nm-crease { height: 2px; border: 0; margin: 0; background: linear-gradient(180deg, rgba(0,0,0,.10) 0 1px, rgba(255,255,255,.9) 1px 2px); }

/* ---------- Type helpers ---------- */
.nm-h2 { font-size: var(--nm-step-3); font-weight: 780; letter-spacing: -.03em; max-width: 16ch; }
.nm-lede { font-size: var(--nm-step-1); line-height: 1.5; color: #222; max-width: 52ch; }
.nm-link { display: inline-flex; gap: .4em; align-items: center; font-weight: 650; text-decoration: underline; text-decoration-color: var(--nm-green); text-decoration-thickness: 2px; text-underline-offset: .3em; }
.nm-link:hover { color: var(--nm-green-deep); }

/* ---------- Buttons ---------- */
.nm-btn {
	--bg: var(--nm-black); --fg: var(--nm-white); --bd: var(--nm-black);
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 52px; padding: .8rem 1.5rem;
	font: inherit; font-weight: 680; font-size: 1rem; line-height: 1.1; letter-spacing: -.005em;
	color: var(--fg); background: var(--bg); border: 2px solid var(--bd); border-radius: 999px;
	text-decoration: none; cursor: pointer;
	transition: transform .2s var(--nm-ease), background-color .2s, color .2s, box-shadow .2s;
	box-shadow: 0 2px 0 var(--nm-black);
}
.nm-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 0 var(--nm-black); }
.nm-btn:active { transform: translateY(1px); box-shadow: 0 0 0 var(--nm-black); }
.nm-btn--green { --bg: var(--nm-green); --fg: var(--nm-black); --bd: var(--nm-black); }
.nm-btn--dark { --bg: var(--nm-black); --fg: var(--nm-white); --bd: var(--nm-black); }
.nm-btn--line { --bg: transparent; --fg: var(--nm-black); --bd: var(--nm-black); box-shadow: none; }
.nm-btn--line:hover { --bg: var(--nm-black); --fg: var(--nm-white); box-shadow: none; }
.nm-btn--line-dark { --bg: transparent; --fg: var(--nm-black); --bd: var(--nm-black); box-shadow: none; }
.nm-btn--light { --bg: var(--nm-white); --fg: var(--nm-black); --bd: var(--nm-white); box-shadow: none; }
.nm-btn--sm { min-height: 42px; padding: .55rem 1.1rem; font-size: .95rem; }
.nm-btn--block { width: 100%; }

/* ==========================================================================
   Header
   ========================================================================== */
.nm-header {
	position: sticky; top: 0; z-index: 60;
	background: rgba(255, 255, 255, .92);
	-webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid transparent;
	transition: border-color .3s;
}
.nm-header.is-scrolled { border-bottom-color: var(--nm-line); }
.admin-bar .nm-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .nm-header { top: 46px; } }
.nm-header__inner { width: min(100% - 2 * var(--nm-gutter), 1400px); margin-inline: auto; height: var(--nm-header-h); display: flex; align-items: center; gap: 2rem; }

.nm-lockup { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--nm-black); flex: none; }
.nm-mark { width: 34px; height: 34px; }
.nm-lockup__word { display: flex; flex-direction: column; line-height: .9; }
.nm-lockup__a { font-weight: 800; font-size: 1.3rem; letter-spacing: -.03em; }
.nm-lockup__b { font-weight: 500; font-size: .8rem; letter-spacing: .01em; color: var(--nm-grey); }
.custom-logo-link img { max-height: 48px; width: auto; }

.nm-nav { margin-left: auto; display: flex; align-items: center; gap: 1.75rem; }
.nm-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; }
.nm-menu > li { position: relative; }
.nm-menu a { display: block; padding: .5rem .8rem; border-radius: 999px; font-weight: 560; font-size: .98rem; text-decoration: none; }
.nm-menu a:hover { background: var(--nm-kraft-soft); }
.nm-menu .current-menu-item > a, .nm-menu .current_page_item > a, .nm-menu .current-menu-ancestor > a { background: var(--nm-black); color: var(--nm-white); }
.nm-menu .sub-menu { list-style: none; margin: 0; padding: .5rem; position: absolute; top: calc(100% + .4rem); left: 0; min-width: 200px; background: var(--nm-white); border: 1.5px solid var(--nm-black); border-radius: 14px; box-shadow: 4px 4px 0 var(--nm-black); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: .2s var(--nm-ease); }
.nm-menu li:hover > .sub-menu, .nm-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nm-menu .sub-menu a { border-radius: 8px; white-space: nowrap; }
.nm-nav__extra { display: flex; align-items: center; gap: 1rem; }
.nm-nav__login { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .95rem; text-decoration: none; }
.nm-nav__login .nm-icon { width: 1.05em; height: 1.05em; }
.nm-nav__login:hover { color: var(--nm-green-deep); }

.nm-burger { display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--nm-black); background: var(--nm-white); color: var(--nm-black); align-items: center; justify-content: center; cursor: pointer; }
.nm-burger .nm-icon { width: 22px; height: 22px; }
.nm-burger__close { display: none; }
.nm-burger[aria-expanded="true"] .nm-burger__open { display: none; }
.nm-burger[aria-expanded="true"] .nm-burger__close { display: block; }

@media (max-width: 1080px) {
	.nm-burger { display: inline-flex; }
	.nm-nav {
		position: fixed; inset: var(--nm-header-h) 0 0 0; z-index: 59;
		flex-direction: column; align-items: stretch; gap: 0;
		padding: 1.5rem var(--nm-gutter) calc(2rem + env(safe-area-inset-bottom));
		background: var(--nm-white);
		overflow-y: auto;
		transform: translateY(-8px); opacity: 0; visibility: hidden;
		transition: opacity .25s, transform .25s var(--nm-ease), visibility 0s .25s;
	}
	.admin-bar .nm-nav { top: calc(var(--nm-header-h) + 46px); }
	.nm-nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .25s var(--nm-ease); }
	.nm-menu { flex-direction: column; gap: 0; }
	.nm-menu > li { border-bottom: 1px solid var(--nm-line); }
	.nm-menu a { padding: 1rem 0; border-radius: 0; font-size: clamp(1.6rem, 7vw, 2.4rem); font-weight: 720; letter-spacing: -.03em; }
	.nm-menu a:hover, .nm-menu .current-menu-item > a, .nm-menu .current_page_item > a, .nm-menu .current-menu-ancestor > a { background: none; color: var(--nm-green-deep); }
	.nm-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 0 0 1rem 1rem; min-width: 0; }
	.nm-menu .sub-menu a { font-size: 1.2rem; font-weight: 560; padding: .5rem 0; }
	.nm-nav__extra { flex-direction: column; align-items: stretch; gap: 1rem; margin-top: 2rem; }
	.nm-nav__extra .nm-btn { min-height: 56px; font-size: 1.05rem; }
	.nm-nav__login { justify-content: center; padding: .9rem; border: 1.5px solid var(--nm-black); border-radius: 999px; }
	body.nm-menu-open { overflow: hidden; }
}

/* ==========================================================================
   Home — hero
   ========================================================================== */
.nm-hero { position: relative; padding: clamp(2.5rem, 7vw, 6rem) 0 0; overflow: hidden; }
.nm-hero__grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 2rem; align-items: end; min-height: min(72vh, 760px); }
.nm-hero__title {
	font-size: var(--nm-step-5); font-weight: 800; line-height: .9; letter-spacing: -.035em; margin: 0 0 2rem; max-width: 9ch;
}
.nm-hero__text { font-size: var(--nm-step-1); line-height: 1.5; max-width: 46ch; color: #1a1a1a; }
.nm-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.nm-hero__services { list-style: none; margin: clamp(3rem, 7vw, 5rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1.5px solid var(--nm-black); }
.nm-hero__services li + li { border-left: 1.5px solid var(--nm-black); }
.nm-hero__services a { display: flex; gap: .7rem; align-items: center; padding: 1.25rem var(--nm-gutter); font-weight: 650; text-decoration: none; transition: background-color .2s; }
.nm-hero__services a:hover { background: var(--nm-green); }

/* ==========================================================================
   Trust chain
   ========================================================================== */
.nm-chain { background: var(--nm-kraft-soft); padding: var(--nm-space) 0; position: relative; }
.nm-chain::before, .nm-chain::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: linear-gradient(180deg, rgba(0,0,0,.08) 0 1px, rgba(255,255,255,.7) 1px 2px); }
.nm-chain::before { top: 33%; } .nm-chain::after { top: 66%; }
.nm-chain__list { list-style: none; margin: 0; padding: 0; position: relative; z-index: 1; }
.nm-chain__list li { font-size: var(--nm-step-4); font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.nm-chain__list li:nth-child(2) { padding-left: 8vw; }
.nm-chain__list li:nth-child(3) { padding-left: 16vw; }
.nm-chain__no { color: var(--nm-kraft-ink); }
.nm-chain__fix { position: relative; z-index: 1; margin: clamp(2rem, 5vw, 3.5rem) 0 0 auto; max-width: 30ch; font-size: var(--nm-step-2); font-weight: 650; line-height: 1.2; letter-spacing: -.02em; }

/* ==========================================================================
   Services — folded sheets
   ========================================================================== */
.nm-services { padding: var(--nm-space) 0; }
.nm-services__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 2.5vw, 2rem); }
.nm-sheet {
	position: relative; padding: clamp(1.75rem, 4vw, 3rem); background: var(--nm-white);
	border: 1.5px solid var(--nm-black); border-radius: 4px;
	clip-path: polygon(0 0, calc(100% - 44px) 0, 100% 44px, 100% 100%, 0 100%);
}
/* the dog-ear: a folded corner, the only "card" ornament */
.nm-sheet::after { content: ""; position: absolute; top: 0; right: 0; width: 44px; height: 44px; background: linear-gradient(225deg, transparent 50%, var(--nm-kraft) 50%); border-left: 1.5px solid var(--nm-black); border-bottom: 1.5px solid var(--nm-black); }
.nm-sheet::before { content: ""; position: absolute; z-index: 1; top: 0; right: 0; width: 62px; height: 1.5px; background: var(--nm-black); transform: translate(9px, 21px) rotate(45deg); }
.nm-sheet--ai::before { background: var(--nm-white); }
.nm-sheet--branding { background: var(--nm-green); }
.nm-sheet--branding .nm-link { text-decoration-color: var(--nm-black); }
.nm-sheet--branding::after { background: linear-gradient(225deg, transparent 50%, var(--nm-green-deep) 50%); }
.nm-sheet--ai { background: var(--nm-black); color: var(--nm-white); border-color: var(--nm-black); }
.nm-sheet--ai::after { background: linear-gradient(225deg, transparent 50%, #333 50%); border-color: var(--nm-white); }
.nm-sheet--ai .nm-link { text-decoration-color: var(--nm-green); }
.nm-sheet--social { background: var(--nm-kraft-soft); }
.nm-sheet__icon { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid currentColor; margin-bottom: 1.5rem; }
.nm-sheet__icon .nm-icon { width: 26px; height: 26px; }
.nm-sheet h3 { font-size: var(--nm-step-2); letter-spacing: -.035em; margin-bottom: .6rem; }
.nm-sheet p { max-width: 40ch; }
.nm-sheet ul { list-style: none; padding: 0; margin: 1.25rem 0 1.75rem; display: grid; gap: .45rem; }
.nm-sheet li { display: flex; gap: .6rem; align-items: baseline; }
.nm-sheet li::before { content: ""; flex: none; width: .55rem; height: .55rem; border: 1.5px solid currentColor; transform: rotate(45deg) translateY(-1px); }

/* ==========================================================================
   Work / case studies
   ========================================================================== */
.nm-work { background: var(--nm-black); color: var(--nm-white); padding: var(--nm-space) 0; }
.nm-work__head { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: end; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.nm-work__head .nm-lede { color: #d9d9d9; }
.nm-work__list { display: grid; }
.nm-case { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); padding: clamp(2rem, 4vw, 3rem) 0; border-top: 1px solid rgba(255,255,255,.25); }
.nm-case:last-child { border-bottom: 1px solid rgba(255,255,255,.25); }
.nm-case__name { font-size: var(--nm-step-2); letter-spacing: -.035em; margin-bottom: .35rem; }
.nm-case__name a { text-decoration: none; }
.nm-case__name a:hover { color: var(--nm-green); }
.nm-case__industry { color: #bdbdbd; margin-bottom: .5rem; font-size: var(--nm-step--1); }
.nm-case__url { color: var(--nm-green); font-weight: 600; font-size: var(--nm-step--1); }
.nm-case__body p { color: #e4e4e4; }
.nm-tags { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.nm-tags li { font-size: .82rem; font-weight: 600; padding: .3rem .7rem; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; }
.nm-case__shift { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; margin-top: 1.25rem; font-size: var(--nm-step--1); }
.nm-case__before { color: #9a9a9a; text-decoration: line-through; text-decoration-color: rgba(255,255,255,.4); }
.nm-case__after { color: var(--nm-white); font-weight: 650; }
.nm-case__shift .nm-icon { color: var(--nm-green); }
.nm-case__metrics { margin: 0; display: grid; gap: 1.25rem; align-content: start; }
.nm-case__metrics div { display: flex; flex-direction: column-reverse; }
.nm-case__metrics dd { margin: 0; font-size: var(--nm-step-3); font-weight: 800; line-height: .95; letter-spacing: -.05em; color: var(--nm-green); }
.nm-case__metrics dt { color: #cfcfcf; font-size: var(--nm-step--1); margin-top: .3rem; }

/* light variant for inner pages */
.nm-work--light { background: var(--nm-white); color: var(--nm-black); }
.nm-work--light .nm-work__head .nm-lede, .nm-work--light .nm-case__body p { color: #222; }
.nm-work--light .nm-case { border-color: var(--nm-line); }
.nm-work--light .nm-case__industry, .nm-work--light .nm-case__metrics dt { color: var(--nm-grey); }
.nm-work--light .nm-case__url { color: var(--nm-green-deep); }
.nm-work--light .nm-tags li { border-color: var(--nm-line); }
.nm-work--light .nm-case__metrics dd { color: var(--nm-green-deep); }
.nm-work--light .nm-case__before { color: var(--nm-grey); }
.nm-work--light .nm-case__after { color: var(--nm-black); }

/* ==========================================================================
   Speed + race
   ========================================================================== */
.nm-speed { padding: var(--nm-space) 0; background: var(--nm-white); }
.nm-speed__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.nm-speed .nm-lede { margin-bottom: 2rem; }

.nm-race { margin: 0; padding: clamp(1.25rem, 3vw, 2rem); border: 1.5px solid var(--nm-black); border-radius: 4px; background: var(--nm-kraft-soft); }
.nm-race__steps { list-style: none; padding: 0 0 0 clamp(6.5rem, 16vw, 9.5rem); margin: 0 0 1rem; display: grid; grid-template-columns: repeat(4, 1fr); font-size: .78rem; font-weight: 650; color: var(--nm-kraft-ink); }
.nm-race__steps li { border-left: 1px dashed rgba(0,0,0,.3); padding-left: .4rem; }
.nm-race__lane { display: grid; grid-template-columns: clamp(6rem, 15vw, 9rem) 1fr; gap: .5rem; align-items: center; margin-top: 1rem; }
.nm-race__label { font-weight: 700; font-size: .92rem; line-height: 1.15; }
.nm-race__track { position: relative; height: 46px; background: var(--nm-white); border: 1.5px solid var(--nm-black); border-radius: 999px; overflow: hidden; }
.nm-race__fill { position: absolute; inset: 0 auto 0 0; width: 0; background: repeating-linear-gradient(90deg, rgba(0,0,0,.14) 0 6px, transparent 6px 12px); transition: width 2.8s var(--nm-ease); }
.nm-race__lane--us .nm-race__fill { background: var(--nm-green); transition-duration: 1.3s; }
.nm-race__plane { position: absolute; top: 50%; left: 0; transform: translate(4px, -50%); transition: left 2.8s var(--nm-ease); }
.nm-race__lane--us .nm-race__plane { transition-duration: 1.3s; }
.nm-race__plane .nm-icon { width: 26px; height: 26px; }
.nm-race__note { grid-column: 2; font-size: .82rem; color: var(--nm-grey); opacity: 0; transition: opacity .4s 1.4s; }
.nm-race.is-go .nm-race__note { opacity: 1; }
.nm-race.is-go .nm-race__lane--them .nm-race__fill { width: 38%; }
.nm-race.is-go .nm-race__lane--them .nm-race__plane { left: calc(38% - 34px); }
.nm-race.is-go .nm-race__lane--us .nm-race__fill { width: 100%; }
.nm-race.is-go .nm-race__lane--us .nm-race__plane { left: calc(100% - 38px); }

/* ==========================================================================
   CTA
   ========================================================================== */
.nm-cta { background: var(--nm-green); padding: var(--nm-space) 0; position: relative; overflow: hidden; }
.nm-cta__inner { position: relative; }
.nm-cta__title { font-size: var(--nm-step-4); font-weight: 800; letter-spacing: -.035em; line-height: .94; max-width: 13ch; }
.nm-cta p { font-size: var(--nm-step-1); max-width: 46ch; }
.nm-cta__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.nm-cta__plane { position: absolute; right: 0; top: -1rem; width: clamp(110px, 18vw, 240px); transform: rotate(-8deg); filter: drop-shadow(6px 10px 0 rgba(0,0,0,.18)); }
@media (prefers-reduced-motion: no-preference) {
	.nm-cta__plane { animation: nm-bob 6s ease-in-out infinite; }
}
@keyframes nm-bob { 50% { transform: rotate(-4deg) translateY(-12px); } }

/* ==========================================================================
   Footer
   ========================================================================== */
.nm-footer { background: var(--nm-black); color: var(--nm-white); padding: clamp(3.5rem, 8vw, 6rem) 0 2rem; }
.nm-footer .nm-lockup { color: var(--nm-white); }
.nm-footer .nm-lockup__b { color: #bdbdbd; }
.nm-footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.nm-footer__brand p { color: #cfcfcf; margin: 1.25rem 0 1.5rem; max-width: 32ch; }
.nm-footer__col h2 { font-size: 1rem; font-weight: 700; color: var(--nm-green); margin-bottom: 1rem; letter-spacing: 0; }
.nm-footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.nm-footer__col a { text-decoration: none; color: #e9e9e9; }
.nm-footer__col a:hover { color: var(--nm-white); text-decoration: underline; text-decoration-color: var(--nm-green); }
.nm-footer__col li { color: #cfcfcf; }
.nm-footer__social { margin-top: 1.25rem !important; display: flex !important; flex-wrap: wrap; gap: .5rem 1rem !important; }
.nm-footer__word { font-size: clamp(3.6rem, 17vw, 17rem); font-weight: 800; letter-spacing: -.015em; line-height: .8; margin: clamp(3rem, 8vw, 5rem) 0 1.5rem -.04em; color: #161616; user-select: none; }
.nm-footer__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; border-top: 1px solid #2a2a2a; padding-top: 1.5rem; font-size: var(--nm-step--1); color: #9d9d9d; }
.nm-footer__base p { margin: 0; }

/* ==========================================================================
   Inner page hero
   ========================================================================== */
.nm-phero { position: relative; padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 5rem); overflow: hidden; }
.nm-phero--kraft { background: var(--nm-kraft-soft); }
.nm-phero--ink { background: var(--nm-black); color: var(--nm-white); }
.nm-phero--green { background: var(--nm-green); }
.nm-phero__crumb { display: inline-block; font-weight: 650; font-size: var(--nm-step--1); margin-bottom: 1rem; text-decoration: none; border-bottom: 2px solid var(--nm-green); }
.nm-phero__title { font-size: var(--nm-step-4); font-weight: 800; line-height: .93; letter-spacing: -.035em; max-width: 14ch; margin-bottom: 1.5rem; }
.nm-phero__text { font-size: var(--nm-step-1); line-height: 1.5; max-width: 50ch; margin: 0; }
.nm-phero--ink .nm-phero__text { color: #dcdcdc; }
.nm-phero__plane { position: absolute; width: 64px; top: 30%; left: -80px; color: var(--nm-white); filter: drop-shadow(0 1px 0 rgba(0,0,0,.3)); }
.nm-phero--paper .nm-phero__plane, .nm-phero--kraft .nm-phero__plane { color: var(--nm-black); }
@media (prefers-reduced-motion: no-preference) {
	.nm-phero__plane { animation: nm-across 3.2s .3s var(--nm-ease) forwards; }
}
@media (prefers-reduced-motion: reduce) { .nm-phero__plane { display: none; } }
@keyframes nm-across {
	0% { transform: translate(0, 40px) rotate(-14deg); }
	60% { transform: translate(70vw, -40px) rotate(-6deg); }
	100% { transform: translate(calc(100vw + 120px), -90px) rotate(-18deg); }
}

/* ==========================================================================
   Generic section scaffolding for inner pages
   ========================================================================== */
.nm-section { padding: var(--nm-space) 0; }
.nm-section--kraft { background: var(--nm-kraft-soft); }
.nm-section--ink { background: var(--nm-black); color: var(--nm-white); }
.nm-section--tight { padding: clamp(3rem, 6vw, 5rem) 0; }
.nm-section__head { margin-bottom: clamp(2rem, 5vw, 3.5rem); display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: end; }
.nm-section__head .nm-lede { margin: 0; }

/* Service deep dives (What we do) */
.nm-svc { padding: clamp(3.5rem, 8vw, 6.5rem) 0; border-top: 2px solid transparent; background-image: linear-gradient(180deg, rgba(0,0,0,.09) 0 1px, rgba(255,255,255,.9) 1px 2px); background-size: 100% 2px; background-repeat: no-repeat; }
.nm-svc:nth-of-type(even) { background-color: var(--nm-kraft-soft); }
.nm-svc__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); }
.nm-svc__num { font-size: var(--nm-step--1); font-weight: 700; color: var(--nm-green-deep); margin-bottom: 1rem; display: flex; align-items: center; gap: .6rem; }
.nm-svc__num .nm-icon { width: 28px; height: 28px; color: var(--nm-black); }
.nm-svc h2 { font-size: var(--nm-step-3); letter-spacing: -.045em; font-weight: 800; }
.nm-svc__lead { font-size: var(--nm-step-1); line-height: 1.45; }
.nm-svc__list { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--nm-black); }
.nm-svc__list li { display: flex; gap: .9rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--nm-line); font-weight: 560; font-size: var(--nm-step-1); letter-spacing: -.01em; }
.nm-svc__list .nm-icon { color: var(--nm-green-deep); }
.nm-svc__outcome { margin-top: 1.75rem; padding: 1.25rem 1.5rem; background: var(--nm-black); color: var(--nm-white); border-radius: 4px; }
.nm-svc__outcome strong { color: var(--nm-green); display: block; font-size: .9rem; margin-bottom: .2rem; }

/* Process (real sequence → numbered) */
.nm-process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; border-top: 1.5px solid currentColor; }
.nm-process li { position: relative; padding: 1.75rem 1.5rem 0 0; counter-increment: step; }
.nm-process li::before { content: counter(step); display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--nm-green); color: var(--nm-black); font-weight: 800; margin: -3rem 0 1.25rem; border: 1.5px solid var(--nm-black); }
.nm-process h3 { font-size: var(--nm-step-1); letter-spacing: -.02em; margin-bottom: .4rem; }
.nm-process p { font-size: var(--nm-step--1); line-height: 1.55; opacity: .85; max-width: 30ch; }
.nm-section--ink .nm-process li::before { border-color: var(--nm-green); }

.nm-process--vertical { grid-template-columns: 1fr; border-top: 0; border-left: 1.5px solid currentColor; margin: 2.5rem 0 0 1.2rem; }
.nm-process--vertical li { padding: 0 0 1.75rem 2rem; }
.nm-process--vertical li:last-child { padding-bottom: 0; }
.nm-process--vertical li::before { position: absolute; left: -1.25rem; top: -.2rem; margin: 0; }

/* Comments */
.comment-respond { margin-top: 3rem; padding-top: 2rem; border-top: 1.5px solid var(--nm-black); }
.comment-form { display: grid; gap: 1rem; }
.comment-form label { display: block; font-weight: 640; font-size: .95rem; margin-bottom: .3rem; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; font: inherit; padding: .75rem 1rem; border: 1.5px solid var(--nm-black); border-radius: 10px; }
.comment-form .submit { font: inherit; font-weight: 680; padding: .8rem 1.5rem; border-radius: 999px; border: 1.5px solid var(--nm-black); background: var(--nm-green); cursor: pointer; }
.comment-list { list-style: none; padding: 0; }

/* FAQ */
.nm-faq { border-top: 1.5px solid var(--nm-black); }
.nm-faq details { border-bottom: 1px solid var(--nm-line); }
.nm-faq summary { cursor: pointer; list-style: none; padding: 1.35rem 3rem 1.35rem 0; font-weight: 680; font-size: var(--nm-step-1); letter-spacing: -.015em; position: relative; }
.nm-faq summary::-webkit-details-marker { display: none; }
.nm-faq summary::after { content: ""; position: absolute; right: .4rem; top: 50%; width: 14px; height: 14px; border-right: 2px solid; border-bottom: 2px solid; transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--nm-ease); }
.nm-faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.nm-faq details > div { padding: 0 0 1.5rem; max-width: 64ch; }

/* Advantage cards */
.nm-adv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1.5px solid var(--nm-black); border-left: 1.5px solid var(--nm-black); }
.nm-adv > div { padding: clamp(1.5rem, 3vw, 2.25rem); border-right: 1.5px solid var(--nm-black); border-bottom: 1.5px solid var(--nm-black); background: var(--nm-white); }
.nm-adv > div:first-child { background: var(--nm-green); }
.nm-adv--four { grid-template-columns: repeat(4, 1fr); }
.nm-adv--four > div:first-child { background: var(--nm-white); }
@media (max-width: 1080px) { .nm-adv--four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .nm-adv--four { grid-template-columns: 1fr; } }
.nm-adv .nm-icon { width: 30px; height: 30px; margin-bottom: 1.25rem; }
.nm-adv h3 { font-size: var(--nm-step-1); letter-spacing: -.02em; margin-bottom: .5rem; }
.nm-adv p { margin: 0; font-size: var(--nm-step--1); line-height: 1.6; }

.nm-compare { width: 100%; border-collapse: collapse; font-size: var(--nm-step-0); }
.nm-compare th, .nm-compare td { text-align: left; padding: 1rem 1rem 1rem 0; border-bottom: 1px solid var(--nm-line); vertical-align: top; }
.nm-compare thead th { font-size: var(--nm-step--1); border-bottom: 1.5px solid var(--nm-black); }
.nm-compare thead th:last-child { color: var(--nm-green-deep); }
.nm-compare td:first-child { font-weight: 650; width: 26%; }
.nm-compare td:nth-child(2) { color: var(--nm-grey); }
.nm-compare td:last-child { font-weight: 600; }
@media (max-width: 700px) {
	.nm-compare thead { display: none; }
	.nm-compare tr { display: grid; padding: 1rem 0; border-bottom: 1px solid var(--nm-line); }
	.nm-compare td { border: 0; padding: .2rem 0; width: auto !important; }
	.nm-compare td:nth-child(2)::before { content: "Typical agency: "; font-weight: 600; }
	.nm-compare td:last-child::before { content: "Us: "; color: var(--nm-green-deep); font-weight: 700; }
}

/* Education hub */
.nm-hub { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 3vw, 2rem); }
.nm-hub__card { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 340px; padding: clamp(1.75rem, 4vw, 3rem); border: 1.5px solid var(--nm-black); border-radius: 4px; text-decoration: none; transition: transform .25s var(--nm-ease), box-shadow .25s; }
.nm-hub__card:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--nm-black); }
.nm-hub__card--blog { background: var(--nm-kraft-soft); }
.nm-hub__card--tools { background: var(--nm-black); color: var(--nm-white); }
.nm-hub__card .nm-icon { width: 40px; height: 40px; }
.nm-hub__card h2 { font-size: var(--nm-step-3); letter-spacing: -.05em; font-weight: 800; margin: 2rem 0 .5rem; }
.nm-hub__card p { margin: 0; max-width: 36ch; }
.nm-hub__card--tools .nm-icon { color: var(--nm-green); }

/* Post cards */
.nm-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 3vw, 2.25rem); }
.nm-post { display: flex; flex-direction: column; }
.nm-post__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 4px; border: 1.5px solid var(--nm-black); background: var(--nm-kraft-soft); margin-bottom: 1.1rem; position: relative; }
.nm-post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--nm-ease); }
.nm-post:hover .nm-post__img img { transform: scale(1.04); }
.nm-post__ph { position: absolute; inset: 0; display: grid; place-items: center; }
.nm-post__ph svg { width: 34%; }
.nm-post__meta { font-size: var(--nm-step--1); color: var(--nm-grey); margin-bottom: .4rem; display: flex; gap: .9rem; flex-wrap: wrap; }
.nm-post__meta a { color: var(--nm-green-deep); font-weight: 650; text-decoration: none; }
.nm-post h3 { font-size: var(--nm-step-1); letter-spacing: -.025em; line-height: 1.15; margin-bottom: .5rem; }
.nm-post h3 a { text-decoration: none; }
.nm-post h3 a:hover { text-decoration: underline; text-decoration-color: var(--nm-green); }
.nm-post p { font-size: var(--nm-step--1); color: #333; margin: 0; }
.nm-post--feature { grid-column: 1 / -1; display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.nm-post--feature .nm-post__img { margin: 0; aspect-ratio: 16 / 9; }
.nm-post--feature h3 { font-size: var(--nm-step-3); letter-spacing: -.045em; }
.nm-post--feature p { font-size: var(--nm-step-0); }

.nm-filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; padding: 0; list-style: none; }
.nm-filter a, .nm-filter button { display: inline-block; padding: .5rem 1rem; border: 1.5px solid var(--nm-black); border-radius: 999px; font: inherit; font-weight: 600; font-size: .92rem; text-decoration: none; background: var(--nm-white); color: var(--nm-black); cursor: pointer; }
.nm-filter .is-active, .nm-filter a:hover, .nm-filter button:hover, .nm-filter button[aria-pressed="true"] { background: var(--nm-black); color: var(--nm-white); }

.nm-pagination { margin-top: 3.5rem; display: flex; gap: .4rem; flex-wrap: wrap; }
.nm-pagination .page-numbers { min-width: 44px; height: 44px; display: grid; place-items: center; padding: 0 .9rem; border: 1.5px solid var(--nm-black); border-radius: 999px; text-decoration: none; font-weight: 650; }
.nm-pagination .current { background: var(--nm-black); color: var(--nm-white); }

/* Single post */
.nm-progress { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 70; background: transparent; }
.nm-progress span { display: block; height: 100%; width: 100%; background: var(--nm-green); transform-origin: left; transform: scaleX(0); }
.nm-article__head { padding: clamp(3rem, 8vw, 6rem) 0 2.5rem; }
.nm-article__head h1 { font-size: var(--nm-step-4); font-weight: 800; line-height: .95; letter-spacing: -.05em; max-width: 18ch; }
.nm-article__meta { display: flex; gap: 1rem; flex-wrap: wrap; color: var(--nm-grey); font-size: var(--nm-step--1); }
.nm-article__meta a { color: var(--nm-green-deep); font-weight: 650; }
.nm-article__img { margin: 0 auto 3rem; width: min(100% - 2 * var(--nm-gutter), 1100px); }
.nm-article__img img { width: 100%; border-radius: 4px; border: 1.5px solid var(--nm-black); }
.nm-prose { font-size: clamp(1.08rem, 1rem + .3vw, 1.22rem); line-height: 1.7; }
.nm-prose > * { max-width: 68ch; }
.nm-prose h2 { font-size: var(--nm-step-2); margin: 2.4em 0 .6em; letter-spacing: -.03em; }
.nm-prose h3 { font-size: var(--nm-step-1); margin: 2em 0 .5em; }
.nm-prose blockquote { margin: 2em 0; padding: .25em 0 .25em 1.4em; border-left: 4px solid var(--nm-green); font-size: var(--nm-step-1); font-weight: 600; letter-spacing: -.015em; }
.nm-prose a { text-decoration-color: var(--nm-green); text-decoration-thickness: 2px; }
.nm-prose li { margin-bottom: .4em; }
.nm-prose img { border-radius: 4px; }
.nm-prose .alignwide { max-width: 1000px; }
.nm-prose .alignfull { max-width: none; }

.nm-related { border-top: 1.5px solid var(--nm-black); margin-top: 5rem; padding-top: 3rem; }

/* Free tools */
.nm-tools-nav { position: sticky; top: calc(var(--nm-header-h) + .5rem); z-index: 5; display: flex; gap: .5rem; overflow-x: auto; padding: .6rem; margin: 0 0 3rem; list-style: none; background: var(--nm-white); border: 1.5px solid var(--nm-black); border-radius: 999px; scrollbar-width: none; }
.admin-bar .nm-tools-nav { top: calc(var(--nm-header-h) + 32px + .5rem); }
.nm-tools-nav::-webkit-scrollbar { display: none; }
.nm-tools-nav a { white-space: nowrap; display: block; padding: .5rem 1rem; border-radius: 999px; font-weight: 620; font-size: .94rem; text-decoration: none; }
.nm-tools-nav a:hover, .nm-tools-nav a.is-active { background: var(--nm-green); }
.nm-tool { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(1.5rem, 5vw, 4rem); padding: clamp(3rem, 7vw, 5rem) 0; border-top: 1.5px solid var(--nm-black); }
.nm-tool h2 { font-size: var(--nm-step-3); font-weight: 800; letter-spacing: -.05em; }
.nm-tool__panel { padding: clamp(1.25rem, 3vw, 2rem); border: 1.5px solid var(--nm-black); border-radius: 4px; background: var(--nm-kraft-soft); }
.nm-tool__out { margin-top: 1.25rem; padding: 1.25rem; background: var(--nm-white); border: 1.5px solid var(--nm-black); border-radius: 4px; }
.nm-tool__big { font-size: var(--nm-step-3); font-weight: 800; letter-spacing: -.05em; line-height: 1; margin: 0 0 .3rem; }
.nm-tool__big.is-good { color: var(--nm-green-deep); }
.nm-tool__big.is-mid { color: #8a5a00; }
.nm-tool__big.is-bad { color: #b3261e; }
.nm-quiz { display: grid; gap: .75rem; }
.nm-quiz fieldset { border: 0; padding: 0; margin: 0; }
.nm-quiz legend { font-weight: 640; margin-bottom: .45rem; }
.nm-seg { display: inline-flex; border: 1.5px solid var(--nm-black); border-radius: 999px; overflow: hidden; background: var(--nm-white); }
.nm-seg label { position: relative; }
.nm-seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.nm-seg span { display: block; padding: .45rem 1rem; font-weight: 600; font-size: .9rem; }
.nm-seg label + label span { border-left: 1.5px solid var(--nm-black); }
.nm-seg input:checked + span { background: var(--nm-black); color: var(--nm-white); }
.nm-seg input:focus-visible + span { outline: 3px solid var(--nm-green); outline-offset: -3px; }
.nm-swatches { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.nm-preview { margin-top: 1rem; padding: 1.25rem; border-radius: 4px; border: 1.5px solid var(--nm-black); }
.nm-preview strong { font-size: 1.5rem; display: block; letter-spacing: -.02em; }
.nm-checks { list-style: none; padding: 0; margin: .75rem 0 0; display: grid; gap: .35rem; font-size: .92rem; }
.nm-checks li { display: flex; gap: .5rem; align-items: center; }
.nm-pass { color: var(--nm-green-deep); font-weight: 700; }
.nm-fail { color: #b3261e; font-weight: 700; }
.nm-meters { display: grid; gap: .8rem; margin-top: 1rem; }
.nm-meter { display: grid; grid-template-columns: 7.5rem 1fr 4.5rem; gap: .6rem; align-items: center; font-size: .9rem; }
.nm-meter__bar { height: 10px; border-radius: 999px; background: rgba(0,0,0,.08); overflow: hidden; }
.nm-meter__bar span { display: block; height: 100%; width: 0; background: var(--nm-green); transition: width .25s; }
.nm-meter.is-over .nm-meter__bar span { background: #b3261e; }
.nm-meter__n { text-align: right; font-variant-numeric: tabular-nums; }

/* Forms */
.nm-form { display: grid; gap: 1.1rem; }
.nm-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.nm-field { display: grid; gap: .35rem; }
.nm-field > span { font-weight: 640; font-size: .95rem; }
.nm-field input, .nm-field textarea, .nm-field select, .nm-input {
	width: 100%; font: inherit; font-size: 1rem; color: var(--nm-black);
	padding: .8rem 1rem; min-height: 50px; background: var(--nm-white);
	border: 1.5px solid var(--nm-black); border-radius: 10px;
}
.nm-field input:focus, .nm-field textarea:focus, .nm-field select:focus, .nm-input:focus { outline: none; box-shadow: 0 0 0 4px rgba(34,160,75,.35); border-color: var(--nm-green-deep); }
.nm-field input[type="color"] { padding: .25rem; height: 50px; cursor: pointer; }
.nm-chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.nm-chips legend { font-weight: 640; font-size: .95rem; margin-bottom: .5rem; width: 100%; }
.nm-chip { position: relative; }
.nm-chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.nm-chip span { display: inline-block; padding: .55rem 1rem; border: 1.5px solid var(--nm-black); border-radius: 999px; font-weight: 600; font-size: .93rem; background: var(--nm-white); }
.nm-chip input:checked + span { background: var(--nm-green); }
.nm-chip input:focus-visible + span { outline: 3px solid var(--nm-green); outline-offset: 2px; }
.nm-hp { position: absolute !important; left: -9999px; }
.nm-notice { padding: 1rem 1.25rem; border-radius: 10px; font-weight: 600; border: 1.5px solid var(--nm-black); }
.nm-notice--ok { background: var(--nm-green-wash); }
.nm-notice--err { background: #fde8e6; }

.nm-contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); }
.nm-contact__aside dl { margin: 2rem 0 0; display: grid; gap: 1.25rem; }
.nm-contact__aside dt { font-size: var(--nm-step--1); color: var(--nm-grey); }
.nm-contact__aside dd { margin: 0; font-weight: 650; font-size: var(--nm-step-1); }
.nm-contact__aside dd a { text-decoration-color: var(--nm-green); }

/* Store */
.nm-store { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 1.75rem); }
.nm-product { position: relative; display: flex; flex-direction: column; padding: clamp(1.5rem, 3vw, 2rem); border: 1.5px solid var(--nm-black); border-radius: 4px; background: var(--nm-white); }
.nm-product[hidden] { display: none; }
.nm-product__badge { position: absolute; top: -1px; right: 1.25rem; transform: translateY(-50%); background: var(--nm-green); border: 1.5px solid var(--nm-black); padding: .25rem .7rem; border-radius: 999px; font-size: .78rem; font-weight: 700; }
.nm-product__type { font-size: var(--nm-step--1); color: var(--nm-kraft-ink); font-weight: 650; margin-bottom: .75rem; }
.nm-product h3 { font-size: var(--nm-step-1); letter-spacing: -.025em; margin-bottom: .5rem; }
.nm-product__img { margin: -1px -1px 1.25rem; aspect-ratio: 16/10; overflow: hidden; border-radius: 3px; }
.nm-product__img img { width: 100%; height: 100%; object-fit: cover; }
.nm-product__price { margin: 1.25rem 0 0; display: flex; align-items: baseline; gap: .5rem; }
.nm-product__price strong { font-size: var(--nm-step-2); font-weight: 800; letter-spacing: -.04em; }
.nm-product__price span { color: var(--nm-grey); font-size: var(--nm-step--1); }
.nm-product ul { list-style: none; padding: 0; margin: 1rem 0 1.5rem; display: grid; gap: .35rem; font-size: .95rem; }
.nm-product li { display: flex; gap: .5rem; }
.nm-product li .nm-icon { color: var(--nm-green-deep); width: 1.1em; height: 1.1em; margin-top: .25em; }
.nm-product .nm-btn { margin-top: auto; }
.nm-product--featured { background: var(--nm-kraft-soft); }

/* Generic page + 404 */
.nm-page { padding: 0 0 var(--nm-space); }
.nm-404 { min-height: 70vh; display: grid; align-content: center; padding: var(--nm-space) 0; }
.nm-404 h1 { font-size: var(--nm-step-5); font-weight: 800; letter-spacing: -.06em; line-height: .85; }
.search-form { display: flex; gap: .5rem; max-width: 520px; }
.search-form label { flex: 1; }
.search-form .search-field { width: 100%; font: inherit; padding: .8rem 1rem; border: 1.5px solid var(--nm-black); border-radius: 999px; min-height: 50px; }
.search-form .search-submit { font: inherit; font-weight: 680; padding: 0 1.25rem; border-radius: 999px; border: 1.5px solid var(--nm-black); background: var(--nm-green); cursor: pointer; }

/* WooCommerce minimal harmonizing */
.woocommerce ul.products li.product .button, .woocommerce a.button, .woocommerce button.button { background: var(--nm-green) !important; color: var(--nm-black) !important; border: 1.5px solid var(--nm-black) !important; border-radius: 999px !important; font-weight: 680 !important; }

/* Reveal helper (used sparingly: one orchestrated reveal per section head) */
.nm-js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--nm-ease), transform .7s var(--nm-ease); }
.nm-js [data-reveal].is-in { opacity: 1; transform: none; }
.nm-reduced [data-reveal] { opacity: 1 !important; transform: none !important; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
	.nm-footer__top { grid-template-columns: 1fr 1fr; }
	.nm-footer__brand { grid-column: 1 / -1; }
	.nm-case { grid-template-columns: 1fr 1fr; }
	.nm-case__metrics { grid-column: 1 / -1; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
	.nm-store, .nm-posts { grid-template-columns: repeat(2, 1fr); }
	.nm-adv { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
	:root { --nm-header-h: 64px; }
	.nm-hero__grid { grid-template-columns: 1fr; min-height: auto; }
			.nm-hero__title { max-width: 8ch; }
	.nm-hero__services { grid-template-columns: 1fr 1fr; }
	.nm-hero__services li:nth-child(3) { border-left: 0; }
	.nm-hero__services li:nth-child(n+3) { border-top: 1.5px solid var(--nm-black); }
	.nm-hero__services a { padding: 1rem; font-size: .95rem; }
	.nm-chain__list li:nth-child(2) { padding-left: 1.5rem; }
	.nm-chain__list li:nth-child(3) { padding-left: 3rem; }
	.nm-chain__fix { margin-left: 0; }
	.nm-services__grid, .nm-work__head, .nm-speed__grid, .nm-section__head, .nm-svc__grid, .nm-hub, .nm-contact, .nm-tool, .nm-post--feature { grid-template-columns: 1fr; }
	.nm-case { grid-template-columns: 1fr; gap: 1rem; }
	.nm-case__metrics { grid-template-columns: 1fr 1fr; }
	.nm-process { grid-template-columns: 1fr; border-top: 0; border-left: 1.5px solid currentColor; margin-left: 1.2rem; }
	.nm-process li { padding: 0 0 2rem 2rem; }
	.nm-process li::before { position: absolute; left: -1.25rem; top: -.2rem; margin: 0; }
	.nm-form__row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
	.nm-store, .nm-posts, .nm-adv { grid-template-columns: 1fr; }
	.nm-footer__top { grid-template-columns: 1fr; }
	.nm-hero__actions .nm-btn { flex: 1 1 100%; }
	.nm-race__steps { display: none; }
	.nm-race__lane { grid-template-columns: 1fr; }
	.nm-race__note { grid-column: 1; }
	.nm-meter { grid-template-columns: 6rem 1fr 3.5rem; }
	.nm-sheet { clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 0 100%); }
	.nm-sheet::after { width: 34px; height: 34px; }
	.nm-sheet::before { width: 48px; transform: translate(7px, 16px) rotate(45deg); }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ==========================================================================
   OffScript brand layer
   Paper background, white cards with soft 22px corners, Script Ink type,
   Off Orange for Dot, buttons and big headlines only. Two shapes do all the
   decorating: Ollie's ring and Dot's rounded square.
   ========================================================================== */
body { background: var(--os-paper); color: var(--os-ink); font-size: clamp(1rem, .97rem + .15vw, 1.0625rem); line-height: 1.6; }
h1, h2, h3, h4,
.nm-hero__title, .nm-chain__list li, .nm-chain__fix, .nm-h2, .nm-cta__title, .nm-phero__title,
.nm-case__metrics dd, .nm-tool__big, .nm-product__price strong, .nm-404 h1, .nm-lede strong,
.nm-race__label, .nm-svc__list li, .nm-faq summary, .nm-menu a, .nm-btn, .nm-contact__aside dd {
	font-family: var(--nm-display);
}
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -.035em; }
.nm-lede { color: #2a2a2d; }
.nm-accent { color: var(--os-orange); }
::selection { background: var(--os-orange); color: var(--os-ink); }
:focus-visible { outline-color: var(--os-orange); }
a:hover { text-decoration-color: var(--os-orange); }
.nm-link { text-decoration-color: var(--os-orange); }
.nm-link:hover { color: var(--os-ink); text-decoration-thickness: 3px; }

/* ---------- Wordmark ---------- */
.nm-word { display: inline-block; position: relative; font-family: var(--nm-display); font-weight: 700; font-size: 30px; line-height: 1; letter-spacing: -.05em; color: var(--os-ink); white-space: nowrap; }
.nm-word__o { display: inline-block; width: .56em; height: .56em; margin-right: .02em; vertical-align: -.01em; overflow: visible; }
.nm-word__eye { fill: currentColor; }
.nm-word__i { position: relative; display: inline-block; }
.nm-word__dot { position: absolute; left: -.02em; top: -.3em; width: .36em; height: .36em; overflow: visible; }
.nm-lockup { color: var(--os-ink); gap: 0; }
.nm-lockup:hover .nm-word__dot { transform: translateY(-3px) rotate(-8deg); transition: transform .25s var(--nm-ease); }
.nm-lockup__a { font-family: var(--nm-display); font-weight: 700; font-size: 1.5rem; letter-spacing: -.04em; }

/* ---------- Buttons ---------- */
.nm-btn { border-width: 2px; border-color: transparent; box-shadow: none; font-weight: 600; letter-spacing: -.01em; }
.nm-btn:hover { box-shadow: none; transform: translateY(-2px); }
.nm-btn:active { transform: none; }
.nm-btn--green { --bg: var(--os-orange); --fg: var(--os-ink); --bd: var(--os-orange); }
.nm-btn--green:hover { --bg: #ff6d38; }
.nm-btn--dark { --bg: var(--os-ink); --fg: var(--os-paper); --bd: var(--os-ink); }
.nm-btn--line, .nm-btn--line-dark { --bg: transparent; --fg: var(--os-ink); --bd: var(--os-ink); }
.nm-btn--line:hover { --bg: var(--os-ink); --fg: var(--os-paper); }

/* ---------- Header: a white bar floating on Paper ---------- */
.nm-header { background: rgba(244, 242, 238, .86); border-bottom: 0; padding: 10px 0; }
.nm-header.is-scrolled { border-bottom: 0; }
.nm-header__inner { width: min(100% - 2 * var(--nm-gutter), 1320px); height: calc(var(--nm-header-h) - 8px); background: var(--os-white); border-radius: 18px; padding: 0 10px 0 22px; }
.nm-header.is-scrolled .nm-header__inner { box-shadow: 0 6px 24px -14px rgba(17, 17, 19, .35); }
.nm-menu a { font-weight: 500; font-size: .95rem; }
.nm-menu a:hover { background: var(--os-paper); }
.nm-menu .sub-menu { border: 0; border-radius: 16px; box-shadow: 0 18px 40px -18px rgba(17, 17, 19, .4); }
.nm-burger { border: 0; background: var(--os-paper); }
@media (max-width: 1080px) {
	.nm-nav { background: var(--os-paper); }
	.nm-menu > li { border-bottom-color: rgba(17, 17, 19, .1); }
	.nm-menu a { font-family: var(--nm-display); font-weight: 700; letter-spacing: -.035em; }
	.nm-menu a:hover, .nm-menu .current-menu-item > a, .nm-menu .current_page_item > a, .nm-menu .current-menu-ancestor > a { color: var(--os-orange); }
	.nm-nav__login { border: 0; background: var(--os-white); }
	.nm-header__inner { padding: 0 8px 0 16px; }
	.nm-word { font-size: 27px; }
}

/* ---------- Hero ---------- */
.nm-hero { background: var(--os-paper); }
.nm-hero__title { font-weight: 700; letter-spacing: -.055em; line-height: .9; max-width: 8ch; }
.nm-hero__services { border-top: 0; gap: 12px; padding: 0 var(--nm-gutter); width: min(100%, var(--nm-wrap) + 2 * var(--nm-gutter)); margin-inline: auto; margin-bottom: 0; }
.nm-hero__services li + li { border-left: 0; }
.nm-hero__services a { background: var(--os-white); border-radius: 18px; padding: 1.05rem 1.2rem; font-family: var(--nm-display); font-weight: 700; letter-spacing: -.02em; }
.nm-hero__services a:hover { background: var(--os-orange); }
.nm-hero__services .nm-icon { color: var(--os-ink); }
.nm-hero { padding-bottom: clamp(2rem, 5vw, 3.5rem); }

/* ---------- Trust chain: Ink ---------- */
.nm-chain { background: var(--os-ink); color: var(--os-paper); }
.nm-chain::before, .nm-chain::after { display: none; }
.nm-chain__list li { font-weight: 700; letter-spacing: -.045em; }
.nm-chain__no { color: var(--os-orange); }
.nm-chain__fix { font-weight: 600; color: var(--os-paper); }

/* ---------- Services ---------- */
.nm-services { background: var(--os-paper); }
.nm-services__grid { gap: 16px; }
.nm-sheet { clip-path: none; border: 0; border-radius: var(--nm-radius); background: var(--os-white); }
.nm-sheet::before, .nm-sheet::after { display: none; }
.nm-sheet--branding { background: var(--os-orange); }
.nm-sheet--branding .nm-link { text-decoration-color: var(--os-ink); }
.nm-sheet--ai { background: var(--os-ink); color: var(--os-paper); }
.nm-sheet--ai .nm-link { text-decoration-color: var(--os-orange); }
.nm-sheet--social { background: var(--os-peach); }
.nm-sheet h3 { font-weight: 700; letter-spacing: -.04em; }
.nm-sheet__icon { border: 0; width: 58px; height: 58px; }
.nm-sheet--branding .nm-sheet__icon, .nm-sheet--social .nm-sheet__icon { border-radius: 18%; background: var(--os-ink); color: var(--os-paper); }
.nm-sheet--websites .nm-sheet__icon, .nm-sheet--ai .nm-sheet__icon { border-radius: 50%; box-shadow: inset 0 0 0 5px currentColor; }
.nm-sheet li::before { border: 0; width: .6rem; height: .6rem; border-radius: 18%; background: var(--os-orange); transform: rotate(12deg) translateY(-1px); }
.nm-sheet--branding li::before { background: var(--os-ink); }

/* ---------- Work (dark) ---------- */
.nm-work { background: var(--os-ink); }
.nm-case__metrics dd { color: var(--os-orange); font-weight: 700; letter-spacing: -.045em; }
.nm-case__url { color: var(--os-orange); }
.nm-case__name a:hover { color: var(--os-orange); }
.nm-case__shift .nm-icon { color: var(--os-orange); }
.nm-work--light { background: var(--os-paper); }
.nm-work--light .nm-case__metrics dd { color: var(--os-orange); }
.nm-work--light .nm-case__url { color: var(--os-ink); }

/* ---------- Speed race ---------- */
.nm-speed { background: var(--os-paper); }
.nm-race { border: 0; border-radius: var(--nm-radius); background: var(--os-white); }
.nm-race__steps { color: #545454; }
.nm-race__steps li { border-left: 2px dotted var(--os-stone); }
.nm-race__track { border: 0; background: var(--os-paper); height: 52px; }
.nm-race__fill { background: repeating-linear-gradient(90deg, var(--os-stone) 0 8px, transparent 8px 16px); }
.nm-race__lane--us .nm-race__fill { background: var(--os-peach); }
.nm-race__plane { display: grid; place-items: center; }
.nm-race__plane svg { display: block; }

/* ---------- CTA: Off Orange ---------- */
.nm-cta { background: var(--os-orange); color: var(--os-ink); }
.nm-cta__title { font-weight: 700; letter-spacing: -.05em; }
.nm-cta__mark { position: absolute; right: 0; top: -1.5rem; width: clamp(150px, 22vw, 300px); color: var(--os-ink); }
.nm-cta__mark svg { width: 100%; height: auto; display: block; }
.nm-cta__mark .nm-mark g[stroke="#C9C6BF"] { stroke: rgba(17, 17, 19, .25); }
@media (prefers-reduced-motion: no-preference) {
	.nm-cta__mark { animation: nm-run 1.1s ease-in-out infinite alternate; }
}
@keyframes nm-run { from { transform: translateY(0) rotate(0); } to { transform: translateY(-6px) rotate(-1.5deg); } }
.nm-cta .nm-btn--dark:hover { --bg: #2a2a2e; }
.nm-cta .nm-btn--line-dark:hover { --bg: var(--os-ink); --fg: var(--os-paper); }

/* ---------- Footer ---------- */
.nm-footer { background: var(--os-ink); color: var(--os-paper); }
.nm-footer .nm-word { color: var(--os-paper); }
.nm-footer .nm-word__eye { fill: var(--os-orange); }
.nm-footer__col h2 { color: var(--os-orange); font-size: 1.05rem; letter-spacing: -.02em; }
.nm-footer__word { color: #26262a; margin: clamp(3rem, 8vw, 5rem) 0 1.5rem; line-height: .9; }
.nm-footer__word .nm-word { color: #26262a; font-size: clamp(4rem, 19vw, 17.5rem); }
.nm-footer__word .nm-word__eye { fill: #26262a; }
.nm-footer__base { border-top-color: #2a2a2e; }

/* ---------- Inner page hero ---------- */
.nm-phero { background: var(--os-paper); }
.nm-phero--kraft { background: var(--os-peach); }
.nm-phero--ink { background: var(--os-ink); color: var(--os-paper); }
.nm-phero--green { background: var(--os-orange); }
.nm-phero__title { font-weight: 700; letter-spacing: -.05em; }
.nm-phero__crumb { border-bottom-color: var(--os-orange); }
.nm-phero--green .nm-phero__crumb { border-bottom-color: var(--os-ink); }
.nm-phero__plane { display: none; }
.nm-phero__hop { position: absolute; right: max(var(--nm-gutter), calc((100vw - var(--nm-wrap)) / 2)); bottom: clamp(2rem, 6vw, 4rem); width: 210px; height: 130px; color: var(--os-ink); }
.nm-phero--ink .nm-phero__hop { color: var(--os-paper); }
.nm-phero__trail { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .45; overflow: visible; }
.nm-phero__dot { position: absolute; left: 0; top: 0; offset-path: path("M12 124 C40 20 130 -10 176 70"); offset-distance: 100%; offset-rotate: 0deg; }
.nm-phero--green .nm-phero__dot rect { fill: var(--os-paper); }
@media (prefers-reduced-motion: no-preference) {
	.nm-phero__dot { animation: nm-hop 1.4s .25s cubic-bezier(.3, .1, .3, 1) both; }
	.nm-phero__trail path { stroke-dashoffset: 0; animation: nm-trail 1.4s .25s ease-out both; }
}
@keyframes nm-hop { from { offset-distance: 0%; transform: rotate(-30deg) scale(.7); } to { offset-distance: 100%; transform: rotate(0) scale(1); } }
@keyframes nm-trail { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 820px) { .nm-phero__hop { display: none; } }

/* ---------- Generic sections & cards ---------- */
.nm-section--kraft { background: var(--os-peach); }
.nm-section--ink { background: var(--os-ink); color: var(--os-paper); }
.nm-svc { background-image: none; background-color: var(--os-paper); }
.nm-svc:nth-of-type(even) { background-color: var(--os-white); }
.nm-svc h2 { font-weight: 700; letter-spacing: -.05em; }
.nm-svc__num { color: var(--os-ink); }
.nm-svc__num .nm-icon { color: var(--os-orange); }
.nm-svc__list { border-top: 2px solid var(--os-ink); }
.nm-svc__list li { border-bottom-color: rgba(17, 17, 19, .1); font-weight: 600; letter-spacing: -.02em; }
.nm-svc__list .nm-icon { color: var(--os-orange); }
.nm-svc__outcome { border-radius: 18px; background: var(--os-ink); }
.nm-svc__outcome strong { color: var(--os-orange); }

.nm-process { border-top-color: var(--os-stone); border-top-width: 2px; }
.nm-process li::before { border: 0; border-radius: 18%; background: var(--os-orange); color: var(--os-ink); font-family: var(--nm-display); transform: rotate(-6deg); }
.nm-section--ink .nm-process { border-color: #3a3a3e; }
.nm-process--vertical { border-left-color: var(--os-stone); border-left-width: 2px; }
@media (max-width: 820px) { .nm-process { border-left-color: var(--os-stone); border-left-width: 2px; } }

.nm-faq { border-top: 2px solid var(--os-ink); }
.nm-faq details { border-bottom-color: rgba(17, 17, 19, .12); }
.nm-faq summary { font-weight: 600; letter-spacing: -.02em; }
.nm-faq summary::after { border-color: var(--os-orange); }

.nm-adv { border: 0; gap: 16px; }
.nm-adv > div { border: 0; border-radius: var(--nm-radius); background: var(--os-white); }
.nm-adv > div:first-child { background: var(--os-orange); }
.nm-adv--four > div:first-child { background: var(--os-white); }
.nm-adv .nm-icon { color: var(--os-ink); }
.nm-section--kraft .nm-adv > div:first-child { background: var(--os-white); }

.nm-compare thead th { border-bottom: 2px solid var(--os-ink); }
.nm-compare thead th:last-child { color: var(--os-ink); }
.nm-compare td:last-child { font-weight: 600; }
.nm-compare td:last-child::before { color: var(--os-ink); }

.nm-hub__card { border: 0; border-radius: var(--nm-radius); position: relative; overflow: hidden; }
.nm-hub__card:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -26px rgba(17, 17, 19, .45); }
.nm-hub__card--blog { background: var(--os-peach); }
.nm-hub__card--tools { background: var(--os-ink); color: var(--os-paper); }
.nm-hub__card--tools .nm-icon { color: var(--os-orange); }
.nm-hub__card h2 { font-weight: 700; letter-spacing: -.05em; }

.nm-post__img { border: 0; border-radius: 18px; background: var(--os-peach); }
.nm-post__ph { display: flex; align-items: flex-end; justify-content: center; padding-bottom: 12%; gap: 0; }
.nm-post__ph svg { width: auto; }
.nm-post__ph .nm-dot { margin-left: -8px; margin-bottom: 30px; }
.nm-post__meta a { color: var(--os-ink); text-decoration: underline; text-decoration-color: var(--os-orange); text-decoration-thickness: 2px; text-underline-offset: .2em; }
.nm-post h3 { font-weight: 700; letter-spacing: -.03em; }
.nm-post h3 a:hover { text-decoration-color: var(--os-orange); }

.nm-filter a, .nm-filter button { border: 0; background: var(--os-white); font-weight: 600; }
.nm-filter .is-active, .nm-filter a:hover, .nm-filter button:hover, .nm-filter button[aria-pressed="true"] { background: var(--os-ink); color: var(--os-paper); }
.nm-pagination .page-numbers { border: 0; background: var(--os-white); }
.nm-pagination .current { background: var(--os-ink); color: var(--os-paper); }

.nm-progress span { background: var(--os-orange); }
.nm-article__meta a { color: var(--os-ink); text-decoration-color: var(--os-orange); }
.nm-article__img img { border: 0; border-radius: 18px; }
.nm-prose blockquote { border-left-color: var(--os-orange); font-family: var(--nm-display); letter-spacing: -.02em; }
.nm-prose a { text-decoration-color: var(--os-orange); }
.nm-related { border-top: 2px solid var(--os-ink); }

/* Tools */
.nm-tools-nav { border: 0; box-shadow: 0 10px 30px -18px rgba(17, 17, 19, .4); }
.nm-tools-nav a:hover, .nm-tools-nav a.is-active { background: var(--os-orange); }
.nm-tool { border-top: 2px solid var(--os-ink); }
.nm-tool h2 { font-weight: 700; letter-spacing: -.05em; }
.nm-tool__panel { border: 0; border-radius: var(--nm-radius); background: var(--os-white); }
.nm-tool__out { border: 0; border-radius: 16px; background: var(--os-paper); }
.nm-tool__big { font-weight: 700; letter-spacing: -.045em; }
.nm-tool__big.is-good, .nm-pass { color: #1d6b36; }
.nm-seg { border-width: 1.5px; }
.nm-preview { border: 0; border-radius: 16px; }
.nm-meter__bar span { background: var(--os-orange); }

/* Forms */
.nm-field input, .nm-field textarea, .nm-field select, .nm-input { border: 1.5px solid var(--os-stone); border-radius: 12px; background: var(--os-white); }
.nm-field input:focus, .nm-field textarea:focus, .nm-field select:focus, .nm-input:focus { border-color: var(--os-ink); box-shadow: 0 0 0 4px rgba(255, 90, 31, .3); }
.nm-chip span { border: 1.5px solid var(--os-stone); }
.nm-chip input:checked + span { background: var(--os-orange); border-color: var(--os-orange); }
.nm-notice { border: 0; border-radius: 14px; }
.nm-notice--ok { background: var(--os-peach); }
.nm-contact__aside dd a { text-decoration-color: var(--os-orange); }

/* Store */
.nm-product { border: 0; border-radius: var(--nm-radius); }
.nm-product--featured { background: var(--os-peach); }
.nm-product__badge { border: 0; background: var(--os-ink); color: var(--os-paper); }
.nm-product__type { color: #545454; }
.nm-product li .nm-icon { color: var(--os-orange); }
.nm-product__price strong { font-weight: 700; letter-spacing: -.04em; }
.nm-product__img { border-radius: 16px; margin: 0 0 1.25rem; }

/* 404 */
.nm-404 h1 { font-weight: 700; letter-spacing: -.055em; max-width: 12ch; }
.nm-404__dot { margin-bottom: 1.5rem; }

.woocommerce ul.products li.product .button, .woocommerce a.button, .woocommerce button.button { background: var(--os-orange) !important; color: var(--os-ink) !important; border: 0 !important; }

@media (max-width: 820px) {
			.nm-hero__services { grid-template-columns: 1fr 1fr; gap: 10px; }
	.nm-hero__services li:nth-child(n+3) { border-top: 0; }
	.nm-cta__mark { position: static; width: 150px; margin-bottom: 1rem; }
}
@media (max-width: 600px) {
	.nm-sheet { padding: 1.5rem; }
}

/* ==========================================================================
   Animated wordmark
   Home hero: big, a little transparent, looping behind the headline like a background video.
   Footer: full strength, plays when you reach it, click to replay.
   ========================================================================== */
.os-logo { width: 100%; line-height: 0; }
.os-logo__svg { width: 100%; height: auto; display: block; overflow: visible; }
.os-logo--once { cursor: pointer; border-radius: 12px; }
.os-logo--once:focus-visible { outline: 3px solid var(--os-orange); outline-offset: 8px; }

.nm-hero { isolation: isolate; }
.nm-hero__grid { position: relative; z-index: 1; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; min-height: min(66vh, 640px); }
.nm-hero__copy { max-width: 620px; }

/* Home promo video */
.nm-hvideo { position: relative; margin: 0; border-radius: var(--nm-radius); overflow: hidden; background: var(--os-ink); aspect-ratio: 16 / 9; box-shadow: 0 30px 60px -34px rgba(17, 17, 19, .55); }
.nm-hvideo__media { display: block; width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.nm-hvideo__controls { position: absolute; left: 14px; bottom: 14px; display: flex; gap: 8px; }
.nm-hvideo__btn { display: inline-flex; align-items: center; gap: .45rem; height: 40px; min-width: 40px; padding: 0 .8rem; border: 0; border-radius: 999px; background: rgba(244, 242, 238, .92); color: var(--os-ink); font: 600 .85rem/1 var(--nm-font); cursor: pointer; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background-color .2s, transform .2s; }
.nm-hvideo__btn:hover { background: var(--os-white); transform: translateY(-1px); }
.nm-hvideo__btn:focus-visible { outline: 3px solid var(--os-orange); outline-offset: 2px; }
.nm-hvideo__btn--sound { background: var(--os-orange); }
.nm-hvideo__btn--sound:hover { background: #ff6d38; }
.nm-hvideo.is-sound .nm-hvideo__btn--sound { background: rgba(244, 242, 238, .92); }
.nm-hvideo__i { width: 18px; height: 18px; fill: currentColor; flex: none; }
.nm-hvideo__i--play, .nm-hvideo.is-paused .nm-hvideo__i--pause { display: none; }
.nm-hvideo.is-paused .nm-hvideo__i--play { display: block; }
.nm-hvideo__i--sound, .nm-hvideo.is-sound .nm-hvideo__i--muted { display: none; }
.nm-hvideo.is-sound .nm-hvideo__i--sound { display: block; }
.nm-hvideo__btn:not(.nm-hvideo__btn--sound) { padding: 0; width: 40px; justify-content: center; }
html:not(.nm-js) .nm-hvideo__controls { display: none; }
.nm-hero__services { position: relative; z-index: 1; }
@media (max-width: 820px) {
	.nm-hero__grid { grid-template-columns: 1fr; min-height: 0; }
}

/* ---------- What we do intro ---------- */
.nm-intro { background: var(--os-paper); padding: var(--nm-space) 0 0; }
.nm-intro__grid { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; }
.nm-intro .nm-lede { margin: 0; }
.nm-intro__crew { position: relative; flex: none; width: 320px; height: 170px; color: var(--os-stone); }
.nm-intro__crew .nm-ollie { position: absolute; left: 0; bottom: 0; }
.nm-intro__trail { position: absolute; left: 64px; bottom: 44px; width: 210px; height: 130px; overflow: visible; }
.nm-intro__dot { position: absolute; left: 214px; top: 6px; }
.nm-services { padding-top: clamp(2rem, 4vw, 3rem); }

/* ---------- How we work (crew) on Ink with the Friends pattern ---------- */
.nm-crew {
	padding: var(--nm-space) 0; color: var(--os-paper);
	background-color: var(--os-ink);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72'%3E%3Ccircle cx='18' cy='18' r='9' fill='none' stroke='%23F4F2EE' stroke-opacity='.07' stroke-width='5'/%3E%3Crect x='45' y='45' width='16' height='16' rx='3' fill='%23FF5A1F' fill-opacity='.22' transform='rotate(12 53 53)'/%3E%3C/svg%3E");
}
.nm-crew__head { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.nm-crew__head .nm-h2 { max-width: 18ch; }
.nm-crew__head .nm-lede { color: #cfccc6; margin: 0; }
.nm-crew__pair { display: flex; align-items: flex-end; }
.nm-crew__pair .nm-dot { margin-left: -10px; margin-bottom: 40px; }
.nm-crew__traits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.nm-crew__traits li { display: flex; gap: .9rem; align-items: flex-start; padding: 1.25rem; border-radius: var(--nm-radius); background: #1c1c1f; }
.nm-crew__traits .nm-dot { flex: none; }
.nm-crew__traits h3 { font-size: var(--nm-step-1); margin: .1rem 0 .3rem; }
.nm-crew__traits p { margin: 0; font-size: .95rem; color: #cfccc6; line-height: 1.5; }

/* ---------- Hops pattern on Peach page heroes ---------- */
.nm-phero--kraft {
	background-color: var(--os-peach);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='96'%3E%3Cpath d='M8 82 C24 22 70 16 94 54' fill='none' stroke='%23111113' stroke-opacity='.16' stroke-width='2' stroke-dasharray='1 6' stroke-linecap='round'/%3E%3Crect x='88' y='54' width='14' height='14' rx='2.5' fill='%23FF5A1F' fill-opacity='.35' transform='rotate(14 95 61)'/%3E%3C/svg%3E");
}
/* Corner peek: Dot peeks into the dark Free tools card */
.nm-hub__peek { position: absolute; right: -16px; bottom: -14px; transform: rotate(-18deg); }

@media (max-width: 1080px) {
	.nm-crew__traits { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
	.nm-intro__grid { flex-direction: column; align-items: flex-start; }
	.nm-intro__crew { transform: scale(.8); transform-origin: left bottom; }
	.nm-crew__head { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.nm-crew__traits { grid-template-columns: 1fr; }
}
.nm-footer__tag { font: 700 clamp(1.8rem, 1.4rem + 1.5vw, 2.6rem)/1 var(--nm-display); letter-spacing: -.045em; margin: 1.5rem 0 0 !important; color: var(--os-paper) !important; }
.nm-footer__tag span { color: var(--os-orange); }
.nm-footer__tag + p { margin-top: .75rem !important; }

/* ==========================================================================
   Footer on White, with the animated wordmark at the bottom
   ========================================================================== */
.nm-footer { background: var(--os-white); color: var(--os-ink); }
.nm-footer .nm-word { color: var(--os-ink); }
.nm-footer .nm-word__eye { fill: var(--os-ink); }
.nm-footer__tag { color: var(--os-ink) !important; }
.nm-footer__brand p { color: #3a3a3d; }
.nm-footer__col h2 { color: var(--os-ink); }
.nm-footer__col a { color: #2a2a2d; }
.nm-footer__col a:hover { color: var(--os-ink); text-decoration-color: var(--os-orange); }
.nm-footer__col li { color: #3a3a3d; }
.nm-footer__word { margin: clamp(3rem, 7vw, 5rem) 0 clamp(1.5rem, 3vw, 2.5rem); line-height: 0; color: inherit; }
.nm-footer__word .os-logo { max-width: 1100px; }
.nm-footer__base { border-top: 1px solid rgba(17, 17, 19, .12); color: #545454; }

/* CTA on Peach */
.nm-cta { background: var(--os-peach); }
.nm-cta__mark .nm-mark g[stroke="#C9C6BF"] { stroke: rgba(17, 17, 19, .2); }

/* ==========================================================================
   Chain animation (trust chain section, under "We fix the first link…")
   ========================================================================== */
.os-chain { position: relative; z-index: 1; width: 100%; height: 72px; margin-top: clamp(2rem, 5vw, 3.5rem); overflow: hidden; }
.os-chain svg { display: block; width: 100%; height: 100%; overflow: visible; }
.os-chain .os-link { opacity: 0; transition: transform 1.25s cubic-bezier(.16, .84, .24, 1), opacity .35s ease; }
.os-chain.is-in .os-link { opacity: 1; transform: translateX(0) !important; }
.os-chain .os-center { transform-box: fill-box; transform-origin: center; opacity: 0; transform: translateY(-46px) rotate(90deg) scale(.4); }
.os-chain.is-locked .os-center { opacity: 1; animation: osDrop .55s cubic-bezier(.3, 1.6, .5, 1) both; }
.os-chain .os-ring { transform-box: fill-box; transform-origin: center; opacity: 0; }
.os-chain.is-locked .os-ring { animation: osRing .9s ease-out .35s both; }
.os-chain.is-locked .os-whole { animation: osGlow 1.1s ease-out .35s both; }
.os-chain .os-spark { opacity: 0; stroke-dasharray: 14; stroke-dashoffset: 14; }
.os-chain.is-locked .os-spark { animation: osSpark .5s ease-out .38s both; }
@keyframes osDrop { 0% { opacity: 0; transform: translateY(-46px) rotate(90deg) scale(.4); } 100% { opacity: 1; transform: none; } }
@keyframes osRing { 0% { opacity: .9; transform: scale(.4); } 100% { opacity: 0; transform: scale(2.6); } }
@keyframes osGlow { 0% { filter: drop-shadow(0 0 0 rgba(255, 90, 31, 0)); } 30% { filter: drop-shadow(0 0 10px rgba(255, 90, 31, .85)); } 100% { filter: drop-shadow(0 0 0 rgba(255, 90, 31, 0)); } }
@keyframes osSpark { 0% { opacity: 1; stroke-dashoffset: 14; } 60% { opacity: 1; stroke-dashoffset: 0; } 100% { opacity: 0; stroke-dashoffset: -14; } }
@media (prefers-reduced-motion: reduce) {
	.os-chain .os-link, .os-chain .os-center { transition: none; animation: none !important; opacity: 1; transform: none !important; }
}
html:not(.nm-js) .os-chain { display: none; }

/* "What we do" crew: Dot winks */
.nm-intro__face--wink { display: none; }
.nm-intro__crew.is-winking .nm-intro__face--wink { display: inline; }
.nm-intro__crew.is-winking .nm-intro__face--happy { display: none; }
.nm-intro__dot { transition: transform .25s var(--nm-ease); }
.nm-intro__crew.is-winking .nm-intro__dot { transform: rotate(-6deg) scale(1.06); }

/* ==========================================================================
   Service cards: "Good fit if", starting price
   ========================================================================== */
.nm-sheet { display: flex; flex-direction: column; }
.nm-sheet h3 { margin-bottom: .9rem; }
.nm-sheet__fit { margin: 0 0 1rem; padding: .7rem .9rem; border-radius: 10px; font-size: .9rem; line-height: 1.5; max-width: 34ch; background: var(--os-paper); }
.nm-sheet--branding .nm-sheet__fit { background: rgba(255, 255, 255, .28); }
.nm-sheet--ai .nm-sheet__fit { background: #26262a; }
.nm-sheet--social .nm-sheet__fit { background: rgba(255, 255, 255, .6); }
.nm-sheet ul { margin-bottom: 1.5rem; }
.nm-sheet__foot { margin-top: auto; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem 1rem; }
.nm-sheet__price { display: inline-block; padding: .4rem .85rem; border: 1.5px solid currentColor; border-radius: 999px; font: 700 .9rem/1.2 var(--nm-display); letter-spacing: -.01em; white-space: nowrap; }
.nm-store .nm-product:target { box-shadow: 0 0 0 3px var(--os-orange); }
.nm-product { scroll-margin-top: calc(var(--nm-header-h) + 2rem); }

/* ==========================================================================
   Not sure where to start?
   ========================================================================== */
.nm-start { background: var(--os-paper); padding: clamp(1rem, 3vw, 2rem) 0 var(--nm-space); }
.nm-start .nm-h2 { max-width: 12ch; }
.nm-start .nm-lede { margin-bottom: clamp(1.5rem, 4vw, 2.5rem); }
.nm-start__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.nm-start__card { display: flex; flex-direction: column; gap: .5rem; height: 100%; padding: clamp(1.25rem, 2.5vw, 1.75rem); border-radius: var(--nm-radius); background: var(--os-white); color: var(--os-ink); text-decoration: none; transition: transform .2s var(--nm-ease), box-shadow .2s; }
.nm-start__list li:first-child .nm-start__card { background: var(--os-peach); }
.nm-start__card:hover { transform: translateY(-3px); box-shadow: 0 20px 34px -24px rgba(17, 17, 19, .45); }
.nm-start__quote { font: 700 var(--nm-step-1)/1.2 var(--nm-display); letter-spacing: -.025em; }
.nm-start__pick { font-size: .95rem; color: #3a3a3d; }
.nm-start__cta { margin-top: auto; padding-top: 1.25rem; font-weight: 700; font-size: .95rem; color: var(--os-orange); }
.nm-start__card:hover .nm-start__cta { text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 820px) { .nm-start__list { grid-template-columns: 1fr; } }

/* ==========================================================================
   "What's off?" brand diagnosis (parts/whats-off.php, assets/js/whats-off.js)
   ========================================================================== */
.nm-tool--wide { display: block; padding: clamp(2rem, 5vw, 3rem) 0; }
.nm-tool--wide .os-wo { border-radius: 28px; border: 2px solid var(--os-ink); }
.nm-section--wo { padding: 0; }
.os-wo { --ink: #111113; --or: #FF5A1F; --paper: #F4F2EE; --stone: #C9C6BF; --peach: #FFD6C7; --muted: #55524D; --sketch: 255px 18px 225px 18px / 18px 225px 18px 255px;
	font-family: Inter, system-ui, sans-serif; color: var(--ink); background-color: var(--paper);
	background-image: radial-gradient(var(--stone) 1.4px, transparent 1.5px); background-size: 30px 30px;
	padding: clamp(40px, 7vw, 72px) 20px clamp(48px, 8vw, 80px); scroll-margin-top: calc(var(--nm-header-h, 72px) + 12px); }
.os-wo *, .os-wo *::before, .os-wo *::after { box-sizing: border-box; }
.os-wo .wrap { max-width: 680px; margin: 0 auto; }
.os-wo .top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; }
.os-wo .steps { display: flex; gap: 8px; }
.os-wo .steps span { width: 28px; height: 8px; border-radius: 4px; background: var(--stone); transition: background .2s; }
.os-wo .steps span.on { background: var(--ink); }
.os-wo .hero { display: flex; gap: 16px; align-items: flex-end; justify-content: space-between; }
.os-wo .hero svg { flex: none; }
.os-wo .note { font-family: Caveat, cursive; font-weight: 700; font-size: 28px; line-height: 1.1; transform: rotate(-2deg); display: inline-block; }
.os-wo .note--sm { font-size: 24px; }
.os-wo .os-h1 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: clamp(40px, 8vw, 64px); line-height: .98; letter-spacing: -.045em; margin: 6px 0 12px; color: var(--ink); }
.os-wo .os-h1--md { font-size: clamp(34px, 6vw, 48px); }
.os-wo .os-h1:focus { outline: none; }
.os-wo .os-h2 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 28px; line-height: 1.1; letter-spacing: -.03em; margin: 0 0 6px; }
.os-wo .os-h3 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 21px; letter-spacing: -.02em; margin: 0 0 4px; }
.os-wo p { margin: 0; font-size: 17px; line-height: 1.5; max-width: none; }
.os-wo .lead { font-size: 19px; color: #2A2826; max-width: 520px; }
.os-wo .card { background: #fff; border: 3px solid var(--ink); border-radius: var(--sketch); padding: 24px 26px; margin-top: 22px; }
.os-wo .q { display: block; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 19px; margin: 0 0 10px; }
.os-wo .hint { font-size: 14px; color: var(--muted); font-weight: 500; font-family: Inter, sans-serif; }
.os-wo textarea, .os-wo input[type=text] { width: 100%; font: inherit; font-size: 17px; color: var(--ink); background: var(--paper); border: 2px solid var(--ink); border-radius: 12px; padding: 12px 14px; box-shadow: none; }
.os-wo textarea { min-height: 110px; resize: vertical; }
.os-wo textarea:focus, .os-wo input:focus { outline: 3px solid var(--or); outline-offset: 2px; }
.os-wo .chips { display: flex; flex-wrap: wrap; gap: 10px; }
.os-wo .chip { font: inherit; font-size: 16px; font-weight: 500; min-height: 44px; padding: 10px 16px; border-radius: 999px; border: 2px solid var(--ink); background: #fff; color: var(--ink); cursor: pointer; text-align: left; line-height: 1.25; }
.os-wo .chip:hover { background: var(--peach); }
.os-wo .chip[aria-pressed=true] { background: var(--ink); color: var(--paper); }
.os-wo .chip:focus-visible, .os-wo .btn:focus-visible, .os-wo a:focus-visible { outline: 3px solid var(--or); outline-offset: 3px; }
.os-wo .row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 26px; }
.os-wo .btn { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 18px; min-height: 52px; padding: 12px 26px; border-radius: 14px; border: 3px solid var(--ink); background: var(--or); color: var(--ink); cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: transform .15s; }
.os-wo .btn:hover { transform: translateY(-2px); }
.os-wo .btn.ghost { background: transparent; }
.os-wo .btn[disabled] { opacity: .45; cursor: progress; transform: none; }
.os-wo .err { color: #A3300B; font-weight: 600; font-size: 15px; margin-top: 10px; }
.os-wo .err:empty { display: none; }
.os-wo .said { font-family: Caveat, cursive; font-weight: 700; font-size: 26px; line-height: 1.15; margin-top: 8px; }
.os-wo .meters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.os-wo .meter { background: var(--paper); border-radius: 14px; padding: 12px 14px; border: 2px solid transparent; }
.os-wo .meter.is-top { border-color: var(--ink); background: var(--peach); }
.os-wo .meter b { font-family: 'Space Grotesk', sans-serif; font-size: 18px; }
.os-wo .meter small { display: block; font-size: 14px; color: var(--muted); margin: 2px 0 8px; }
.os-wo .meter.is-top small { color: #3d3a36; }
.os-wo .bar { display: flex; gap: 5px; }
.os-wo .bar span { flex: 1; height: 10px; border-radius: 3px; background: #fff; border: 2px solid var(--ink); }
.os-wo .bar span.on { background: var(--or); }
.os-wo .fix { display: flex; gap: 14px; padding: 16px 0; border-top: 2px dashed var(--stone); }
.os-wo .fix:first-of-type { border-top: 0; padding-top: 4px; }
.os-wo .fix__do { font-weight: 600; }
.os-wo .num { flex: none; width: 36px; height: 36px; border-radius: 7px; background: var(--or); font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 18px; display: flex; align-items: center; justify-content: center; }
.os-wo .why { font-size: 15px; color: var(--muted); margin-top: 4px; }
.os-wo .tag { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; background: var(--paper); border-radius: 6px; padding: 3px 8px; margin-bottom: 6px; }
.os-wo .svc { background: var(--ink); color: var(--paper); border-radius: var(--sketch); padding: 24px 26px; margin-top: 22px; border: 3px solid var(--ink); }
.os-wo .svc p { color: #E9E6E0; }
.os-wo .svc .note { color: var(--paper); margin-bottom: 8px; }
.os-wo .svc .os-h2 { color: var(--paper); }
.os-wo .svc__next { margin-top: 18px; }
.os-wo .grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.os-wo .field { display: flex; flex-direction: column; gap: 6px; }
.os-wo .field span { font-weight: 600; font-size: 15px; }
.os-wo .send { background: var(--paper); border-radius: 14px; padding: 16px; margin-top: 16px; }
.os-wo .send a:not(.btn) { color: var(--ink); font-weight: 700; }
.os-wo .hidden { display: none !important; }
@media (max-width: 560px) {
	.os-wo .meters, .os-wo .grid2 { grid-template-columns: minmax(0, 1fr); }
	.os-wo .hero svg { width: 84px; height: auto; }
	.os-wo .card, .os-wo .svc { padding: 20px 18px; }
	.os-wo .top { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { .os-wo .btn:hover { transform: none; } .os-wo .btn { transition: none; } }
