/* Nexgen Restyle 1.0.0 for the npm theme (nishamalahoo.com).
   Loaded only while the restyle is on; the theme's own CSS stays in place underneath.
   Palette: charcoal header and footer, white content, gold for accents only. */

:root {
	--nx-ink: #1a1a1a;
	--nx-ink-soft: #444;
	--nx-charcoal: #111;
	--nx-charcoal-2: #1b1b1b;
	--nx-paper: #fff;
	--nx-tint: #f6f4ef;
	--nx-line: #e4dfd3;
	--nx-gold: #c9a44c;
	--nx-gold-hi: #dcbc6a;
	--nx-gold-text: #7a5a00;
	--nx-serif: "Fraunces", Georgia, "Times New Roman", serif;
	--nx-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--nx-wrap: 1180px;
	/* Radius tokens (release 1.5.0): one curve family. */
	--nx-r-card: 20px;
	--nx-r-img: 16px;
	--nx-r-input: 12px;
	--nx-r-pill: 999px;
}

/* Base */
body.nx-restyle {
	background: var(--nx-paper);
	color: var(--nx-ink);
	font-family: var(--nx-sans);
	font-size: 17px;
	font-weight: 400;
	line-height: 1.65;
	letter-spacing: 0;
}
.nx-restyle h1, .nx-restyle h2, .nx-restyle h3, .nx-restyle h4, .nx-restyle h5, .nx-restyle h6 {
	background: none;
	-webkit-background-clip: border-box;
	background-clip: border-box;
	-webkit-text-fill-color: currentColor;
	color: var(--nx-ink);
	font-family: var(--nx-sans);
	text-transform: none;
	text-align: left;
	letter-spacing: 0;
	line-height: 1.25;
	margin: 0 0 .6em;
}
.nx-restyle h1, .nx-restyle h2 { font-family: var(--nx-serif); font-weight: 600; }
.nx-restyle h1 { font-size: clamp(34px, 4.2vw, 56px); line-height: 1.12; }
.nx-restyle h2 { font-size: clamp(28px, 3vw, 38px); }
.nx-restyle h3 { font-size: 21px; font-weight: 700; }
.nx-restyle h4, .nx-restyle h5, .nx-restyle h6 { font-size: 18px; font-weight: 700; }
.nx-restyle p { margin: 0 0 1em; }
.nx-restyle a { color: var(--nx-gold-text); text-decoration: underline; text-underline-offset: 2px; }
.nx-restyle a:hover { color: var(--nx-ink); }
.nx-restyle a:focus-visible, .nx-restyle button:focus-visible, .nx-restyle input:focus-visible, .nx-restyle select:focus-visible, .nx-restyle textarea:focus-visible {
	outline: 3px solid var(--nx-gold);
	outline-offset: 2px;
}
.nx-restyle img { height: auto; }
.nx-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nx-skip { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--nx-gold); color: var(--nx-charcoal) !important; padding: 10px 16px; font-weight: 700; text-decoration: none !important; }
.nx-skip:focus { top: 12px; }
#nx-main:focus { outline: none; }
.nx-wrap { max-width: var(--nx-wrap); margin: 0 auto; padding: 0 24px; box-sizing: border-box; }

/* Labels in small caps tracking (not script) */
.nx-eyebrow {
	font-family: var(--nx-sans);
	font-size: 13px !important;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--nx-gold-text);
	margin: 0 0 10px !important;
}

/* Buttons: flat gold, no gradients behind text */
.nx-btn, .nx-restyle .btn, .nx-restyle .btn-primary, .nx-restyle .wpcf7-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 24px;
	border-radius: var(--nx-r-pill);
	border: 2px solid transparent;
	font-family: var(--nx-sans);
	font-size: 16px !important;
	font-weight: 700;
	letter-spacing: .01em;
	line-height: 1.2;
	text-transform: none;
	text-decoration: none !important;
	box-shadow: none;
	white-space: normal;
	box-sizing: border-box;
	cursor: pointer;
	margin: 0;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.nx-restyle .btn-primary.btn:before, .nx-restyle .btn:before { content: none; display: none; }
.nx-btn--gold, .nx-restyle .btn, .nx-restyle .btn-primary, .nx-restyle .wpcf7-submit {
	background: var(--nx-gold) !important;
	color: var(--nx-charcoal) !important;
	border-color: var(--nx-gold);
}
.nx-btn--gold:hover, .nx-restyle .btn:hover, .nx-restyle .btn-primary:hover, .nx-restyle .wpcf7-submit:hover { background: var(--nx-gold-hi) !important; color: var(--nx-charcoal) !important; }
.nx-btn--dark { background: var(--nx-charcoal) !important; color: #fff !important; border-color: var(--nx-charcoal); }
.nx-btn--dark:hover { background: #333 !important; color: #fff !important; }
.nx-btn--outline-light { background: transparent; color: #fff !important; border-color: rgba(255, 255, 255, .7); }
.nx-btn--outline-light:hover { border-color: var(--nx-gold); color: var(--nx-gold-hi) !important; }
.nx-btn--outline { background: transparent; color: var(--nx-ink) !important; border-color: var(--nx-ink); }
.nx-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.nx-link { font-weight: 700; display: inline-block; padding: 10px 0; }

/* Header */
.nx-header { background: var(--nx-charcoal); color: #fff; position: relative; z-index: 50; border-bottom: 1px solid #2a2a2a; }
.nx-header__bar { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.nx-brand { display: flex; align-items: center; gap: 12px; color: #fff !important; text-decoration: none !important; flex: 0 0 auto; }
.nx-brand__img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--nx-gold); }
.nx-brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.nx-brand__name { font-family: var(--nx-serif); font-weight: 600; font-size: 19px; color: #fff; }
.nx-brand__tag { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #cfcfcf; }
.nx-nav { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.nx-nav__list { display: flex; flex-wrap: nowrap; list-style: none; margin: 0; padding: 0; gap: 2px; }
.nx-nav__list li { margin: 0; padding: 0; list-style: none; }
.nx-nav__list a { display: flex; align-items: center; min-height: 44px; padding: 0 10px; color: #f2f2f2 !important; font-size: 15px; font-weight: 600; text-decoration: none !important; white-space: nowrap; border-bottom: 2px solid transparent; }
.nx-nav__list a:hover, .nx-nav__list .current-menu-item > a, .nx-nav__list a[aria-current="page"] { color: var(--nx-gold-hi) !important; border-bottom-color: var(--nx-gold); }
.nx-nav__cta { white-space: nowrap; padding: 10px 18px; min-height: 44px; }
.nx-menu-toggle { display: none; margin-left: auto; width: 48px; height: 48px; border: 1px solid #444; border-radius: var(--nx-r-input); background: transparent; color: #fff; align-items: center; justify-content: center; cursor: pointer; }
.nx-menu-toggle__bars, .nx-menu-toggle__bars::before, .nx-menu-toggle__bars::after { display: block; width: 22px; height: 2px; background: #fff; position: relative; content: ""; }
.nx-menu-toggle__bars::before { position: absolute; top: -7px; }
.nx-menu-toggle__bars::after { position: absolute; top: 7px; }
.nx-menu-toggle[aria-expanded="true"] .nx-menu-toggle__bars { background: transparent; }
.nx-menu-toggle[aria-expanded="true"] .nx-menu-toggle__bars::before { top: 0; transform: rotate(45deg); }
.nx-menu-toggle[aria-expanded="true"] .nx-menu-toggle__bars::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1023px) {
	/* Without JavaScript: links stay visible, wrapped under the brand. */
	.nx-header__bar { flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
	.nx-nav { width: 100%; flex-direction: column; align-items: stretch; gap: 0; margin-left: 0; }
	.nx-nav__list { flex-direction: column; flex-wrap: wrap; }
	.nx-nav__list a { min-height: 48px; padding: 0 4px; border-bottom: 1px solid #262626; font-size: 17px; }
	.nx-nav__cta { margin: 12px 0 8px; min-height: 48px; }
	/* With JavaScript (nx-js on <html>): collapsible menu behind the toggle. */
	.nx-js .nx-header__bar { flex-wrap: nowrap; padding-top: 0; padding-bottom: 0; }
	.nx-js .nx-menu-toggle { display: inline-flex; }
	.nx-js .nx-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; width: auto; background: var(--nx-charcoal); padding: 8px 24px 24px; border-top: 1px solid #2a2a2a; box-shadow: 0 12px 24px rgba(0, 0, 0, .25); }
	.nx-js .nx-nav.is-open { display: flex; }
	.nx-js .nx-nav__cta { margin: 16px 0 0; }
}
@media (max-width: 420px) {
	.nx-brand__tag { display: none; }
	.nx-brand__name { font-size: 17px; }
}

/* Home hero */
.nx-hero { background: var(--nx-charcoal-2); color: #fff; padding: 72px 0; }
.nx-hero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 56px; align-items: center; }
.nx-hero h1 { color: #fff; margin-bottom: 18px; }
.nx-hero .nx-eyebrow { color: var(--nx-gold-hi); }
.nx-hero__lead { font-size: 19px; color: #e6e6e6; max-width: 40em; }
.nx-proof { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.nx-proof li { margin: 0; padding: 0 0 0 16px; position: relative; color: #fff; font-weight: 600; font-size: 15px; }
.nx-proof li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; background: var(--nx-gold); border-radius: 50%; }
.nx-hero__photo { margin: 0; }

/* Inner page head */
.nx-pagehead { background: var(--nx-charcoal-2); color: #fff; padding: 40px 0 44px; }
.nx-pagehead h1 { color: #fff; margin: 0 0 10px; }
.nx-subtitle { font-size: 19px; color: #e0e0e0; max-width: 46em; margin: 0 !important; }
.nx-pagehead .nx-actions { margin-top: 22px; }
.nx-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: -8px 0 4px; padding: 0; font-size: 13px; color: #cfcfcf; }
.nx-crumbs li { margin: 0; padding: 0; }
.nx-crumbs li + li::before { content: "/"; margin-right: 6px; color: #8a8a8a; }
.nx-crumbs a { color: #e8d39a !important; display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.nx-crumbs li { display: flex; align-items: center; }

/* Theme content area on inner pages */
.nx-restyle .section-padding { padding: 48px 0 56px; background: var(--nx-paper); }
.nx-restyle .entry-header { display: none; }
.nx-restyle .entry-content { color: var(--nx-ink); font-size: 17px; }
.nx-restyle .entry-content h1 { font-size: clamp(28px, 3vw, 38px); }
.nx-restyle .entry-content h2 { margin-top: 1.4em; }
.nx-restyle .entry-content h3 { margin-top: 1.2em; }
.nx-restyle .entry-content a, .nx-restyle .panel-grid .textwidget a { color: var(--nx-gold-text); }
.nx-restyle .entry-content a:hover, .nx-restyle .panel-grid .textwidget a:hover { color: var(--nx-ink); }
.nx-restyle .lead, .nx-lead { font-size: 21px; font-weight: 600; line-height: 1.5; color: var(--nx-ink); }
.nx-restyle .entry-content blockquote { border-left: 3px solid var(--nx-gold); color: var(--nx-ink-soft); }
.nx-restyle .entry-content strong { color: var(--nx-ink); }
.nx-restyle .entry-content ul, .nx-restyle .entry-content ol { margin: 0 0 1.2em 1.2em; padding: 0; }
.nx-restyle .entry-content li { margin: 0 0 .4em; padding: 0; }
.nx-restyle .entry-content .wp-caption-text { color: var(--nx-ink-soft); }
.nx-restyle .entry-content iframe { max-width: 100%; }
.nx-restyle .panel-grid, .nx-restyle .panel-row-style, .nx-restyle .so-panel { color: var(--nx-ink); }
.nx-restyle .panel-row-style[style*="background"], .nx-restyle .panel-widget-style[style*="background"] { background-image: none !important; }
.nx-restyle .video-frame::before, .nx-restyle .video-frame:before { content: none; display: none; }

/* Numbered engagement steps: ordered lists in page content get numbers inside gold circles.
   Selectors match the theme's own ol rule (style.css) so these win without !important. */
body.nx-restyle .content-area article .entry-content ol { list-style: none; counter-reset: nxstep; margin: 1em 0 1.4em; padding: 0; }
body.nx-restyle .content-area article .entry-content ol > li { counter-increment: nxstep; position: relative; padding: 6px 0 6px 60px; min-height: 44px; margin: 0 0 14px; list-style: none; }
body.nx-restyle .content-area article .entry-content ol > li::before {
	content: counter(nxstep);
	position: absolute; left: 0; top: 0; z-index: 1;
	width: 44px; height: 44px; border-radius: 50%;
	background: var(--nx-gold); color: var(--nx-charcoal); border: 0;
	font-family: var(--nx-sans); font-weight: 700; font-size: 18px; line-height: 44px; text-align: center;
}
body.nx-restyle .content-area article .entry-content ol > li::after { content: none; display: none; }
body.nx-restyle .content-area article .entry-content ol li strong { display: inline; font-size: inherit; }

/* Bulleted lists in page content: small gold square instead of the theme's chevron */
body.nx-restyle .entry-content ul li { padding-left: 22px; position: relative; line-height: 1.6; }
body.nx-restyle .entry-content ul li::before { content: ""; font-family: inherit; position: absolute; left: 2px; top: .7em; width: 7px; height: 7px; margin: 0; padding: 0; background: var(--nx-gold); }
body.nx-restyle .entry-content ul.nx-awards li, body.nx-restyle .entry-content ul.nx-gallery li, body.nx-restyle .entry-content ul.nx-proof li, body.nx-restyle .entry-content ul.nx-social li { padding-left: 0; }
body.nx-restyle .entry-content ul.nx-awards li::before, body.nx-restyle .entry-content ul.nx-gallery li::before, body.nx-restyle .entry-content ul.nx-social li::before { content: none; display: none; }
body.nx-restyle .entry-content ul.nx-proof li { padding-left: 16px; }
body.nx-restyle .entry-content > p:first-child > .nx-btn { margin-bottom: 8px; }

/* Sections */
.nx-section { padding: 72px 0; background: var(--nx-paper); }
.nx-section--tint { background: var(--nx-tint); }
.nx-intro { font-size: 19px; color: var(--nx-ink-soft); max-width: 44em; }
.nx-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.nx-video { position: relative; aspect-ratio: 16 / 9; background: var(--nx-charcoal); border-radius: var(--nx-r-img); overflow: hidden; border-bottom: 4px solid var(--nx-gold); }
.nx-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.nx-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 28px; }
.nx-card { background: #fff; border: 1px solid var(--nx-line); border-radius: var(--nx-r-card); box-shadow: inset 0 2px 0 var(--nx-gold); padding: 28px; }
.nx-card h3 { margin-top: 0; }
.nx-card p:last-child { margin-bottom: 0; }
.nx-card--wide { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.nx-card--wide .nx-actions { margin-top: 0; flex: 0 0 auto; }
.nx-awards { list-style: none; margin: 24px 0 12px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.nx-awards li { margin: 0; padding: 18px 0 0; border-top: 2px solid var(--nx-gold); display: flex; flex-direction: column; gap: 6px; }
.nx-awards strong { font-size: 17px; line-height: 1.35; }
.nx-awards span { font-size: 15px; color: var(--nx-ink-soft); }
.nx-gallery { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.nx-gallery li { margin: 0; padding: 0; }
.nx-gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--nx-r-img); }
.nx-home { background: var(--nx-paper); }

/* Closing call to action band */
.nx-band { background: var(--nx-charcoal-2); color: #fff; padding: 56px 0; border-top: 4px solid var(--nx-gold); }
.nx-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.nx-band h2 { color: #fff; margin-bottom: 8px; }
.nx-band p { color: #e0e0e0; margin: 0; max-width: 40em; }
.nx-band .nx-actions { margin-top: 0; flex: 0 0 auto; }

/* Lead-in block above the inquiry form */
.nx-leadin { background: var(--nx-tint); border: 1px solid var(--nx-line); box-shadow: inset 0 2px 0 var(--nx-gold); border-radius: var(--nx-r-card); padding: 24px 28px; margin: 0 0 32px; }
.nx-leadin h2 { margin-top: 0 !important; font-size: 26px; }
.nx-leadin p:last-child { margin-bottom: 0; }

/* Footer */
.nx-footer { background: var(--nx-charcoal); color: #d6d6d6; padding: 56px 0 0; font-size: 15px; }
.nx-footer__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; padding-bottom: 40px; }
.nx-footer__name { font-family: var(--nx-serif); font-size: 22px; font-weight: 600; color: #fff; margin-bottom: 8px !important; }
.nx-footer__head { font-size: 13px !important; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--nx-gold-hi); margin-bottom: 8px !important; }
.nx-footer ul { list-style: none; margin: 0; padding: 0; }
.nx-footer li { margin: 0; padding: 0; }
.nx-footer a { color: #fff !important; text-decoration: none !important; display: inline-flex; align-items: center; min-height: 44px; }
.nx-footer a:hover { color: var(--nx-gold-hi) !important; text-decoration: underline !important; }
.nx-social { display: flex !important; gap: 8px; margin-top: 12px !important; }
.nx-social a { width: 44px; height: 44px; justify-content: center; border: 1px solid #444; border-radius: 50%; }
.nx-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; border-top: 1px solid #2a2a2a; padding-top: 8px; padding-bottom: 8px; font-size: 14px; color: #c8c8c8; }
.nx-footer__base p { margin: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 0 6px; }
.nx-footer__base a { text-decoration: underline !important; }

/* Forms (Contact Form 7) */
.nx-restyle .wpcf7 { max-width: 720px; }
.nx-restyle .wpcf7 label { display: block; font-weight: 600; color: var(--nx-ink); margin: 0 0 4px; }
.nx-restyle .wpcf7 p { margin: 0 0 18px; }
.nx-restyle .wpcf7 input[type="text"], .nx-restyle .wpcf7 input[type="email"], .nx-restyle .wpcf7 input[type="tel"], .nx-restyle .wpcf7 select, .nx-restyle .wpcf7 textarea {
	display: block; width: 100%; max-width: 100%; box-sizing: border-box; min-height: 48px;
	padding: 10px 12px; margin-top: 6px; font: inherit; font-weight: 400; color: var(--nx-ink);
	background: #fff; border: 1px solid #8c8c8c; border-radius: var(--nx-r-input);
}
.nx-restyle .wpcf7 textarea { min-height: 140px; }
.nx-restyle .wpcf7 .wpcf7-list-item { display: block; margin: 0; }
.nx-restyle .wpcf7 .wpcf7-list-item label { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 400; }
.nx-restyle .wpcf7 input[type="checkbox"], .nx-restyle .wpcf7 input[type="radio"] { width: 20px; height: 20px; accent-color: var(--nx-gold-text); flex: 0 0 auto; }
.nx-restyle .wpcf7 .nx-help { display: block; font-weight: 400; font-size: 14px; color: var(--nx-ink-soft); margin-top: 4px; }
.nx-restyle .wpcf7 fieldset { border: 0; margin: 0 0 18px; padding: 0; }
.nx-restyle .wpcf7 legend { font-size: 17px; font-weight: 600; color: var(--nx-ink); border: 0; margin: 0 0 4px; width: auto; }
.nx-restyle .wpcf7-not-valid-tip { color: #a40000; font-weight: 600; }
.nx-restyle .wpcf7 form .wpcf7-response-output { margin: 12px 0 0; padding: 12px 16px; border-radius: var(--nx-r-input); color: var(--nx-ink); }
.nx-restyle .wpcf7 .row { margin: 0; }
.nx-restyle .wpcf7 [class*="col-sm-"] { float: none; width: 100%; padding: 0; }

/* Responsive */
@media (max-width: 991px) {
	.nx-hero__grid, .nx-split { grid-template-columns: minmax(0, 1fr); gap: 36px; }
	.nx-hero__img { margin: 0 auto; max-width: 360px; }
	.nx-awards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nx-footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.nx-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
	body.nx-restyle { font-size: 16px; }
	.nx-wrap { padding: 0 16px; }
	.nx-hero { padding: 44px 0 52px; }
	.nx-pagehead { padding: 28px 0 32px; }
	.nx-section { padding: 52px 0; }
	.nx-cards, .nx-gallery { grid-template-columns: minmax(0, 1fr); }
	.nx-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.nx-awards { grid-template-columns: minmax(0, 1fr); }
	.nx-card--wide, .nx-band__inner { flex-direction: column; align-items: flex-start; }
	.nx-actions .nx-btn { flex: 1 1 100%; }
	.nx-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.nx-restyle .section-padding { padding: 32px 0 40px; }
	.nx-restyle .section-padding > .container { padding-left: 16px; padding-right: 16px; }
}
@media (prefers-reduced-motion: reduce) {
	.nx-btn, .nx-restyle .btn { transition: none; }
}

/* Form spacing: drop the auto line breaks Contact Form 7 adds after labels */
.nx-restyle .wpcf7 label + br, .nx-restyle .wpcf7 .nx-help + br { display: none; }
.nx-restyle .wpcf7 p:empty { display: none; }
.nx-footer__base { padding-top: 16px; padding-bottom: 16px; }
.nx-restyle .entry-content blockquote, .nx-restyle .entry-content blockquote p { border-right: 0; background: var(--nx-tint); font-size: 17px; line-height: 1.6; text-align: left; color: var(--nx-ink); font-style: italic; }
.nx-restyle .entry-content blockquote { padding: 18px 22px; }

/* Tables in page content: the theme paints header cells with gold gradient text (fails contrast on white) */
body.nx-restyle .table-bordered > tbody > tr > th, body.nx-restyle .entry-content th {
	background: var(--nx-tint);
	-webkit-background-clip: border-box;
	background-clip: border-box;
	-webkit-text-fill-color: currentColor;
	color: var(--nx-ink);
	font-size: 15px;
	letter-spacing: .12em;
	font-weight: 700;
}
body.nx-restyle .table-bordered > tbody > tr > td a { color: var(--nx-gold-text); }
body.nx-restyle .table-bordered, body.nx-restyle .table-bordered td, body.nx-restyle .table-bordered th { border-color: var(--nx-line); }

/* Portrait: owner-supplied light-background crop; thin gold rule and soft corners on charcoal */
.nx-hero__img, .nx-pagehead__img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; border-radius: var(--nx-r-img); border: 1px solid rgba(220, 188, 106, .55); border-bottom: 4px solid var(--nx-gold); box-shadow: 0 18px 40px rgba(0, 0, 0, .35); background: #f3f3f1; }
.nx-hero__img { max-width: 420px; margin-left: auto; }
.nx-pagehead__grid { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 48px; align-items: center; }
.nx-pagehead__photo { margin: 0; }
.nx-pagehead__img { max-width: 260px; margin-left: auto; }
@media (max-width: 991px) {
	.nx-hero__img { margin: 0 auto; max-width: 360px; }
	.nx-pagehead__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.nx-pagehead__img { margin: 0; max-width: 220px; }
}

/* Print: no navigation or controls, dark text on white */
@media print {
	.nx-skip, .nx-menu-toggle, .nx-nav, .nx-actions, .nx-band, .nx-video, .nx-social, .nx-crumbs, .nx-footer__col, #scrollUp, .wpcf7 { display: none !important; }
	body.nx-restyle, .nx-header, .nx-hero, .nx-pagehead, .nx-section, .nx-section--tint, .nx-footer, .nx-card, .nx-leadin { background: #fff !important; box-shadow: none !important; }
	body.nx-restyle, body.nx-restyle * { color: #000 !important; -webkit-text-fill-color: #000 !important; }
	.nx-restyle a { text-decoration: underline !important; }
	.nx-hero, .nx-pagehead, .nx-section, .nx-footer { padding: 12px 0 !important; border: 0 !important; }
	.nx-hero__grid, .nx-split, .nx-cards, .nx-awards, .nx-gallery, .nx-pagehead__grid, .nx-footer__grid { display: block !important; }
	.nx-hero__img, .nx-pagehead__img { max-width: 180px !important; box-shadow: none !important; }
	.nx-gallery { display: none !important; }
}

/* Photographic page heads (release 1.3.0): full-width photo, dark overlay, text over it.
   The overlay keeps white text above 7:1 contrast even where the photo is white. */
.nx-pagehead--photo { position: relative; overflow: hidden; display: flex; align-items: flex-end; min-height: 360px; padding: 56px 0 48px; background: var(--nx-charcoal-2); isolation: isolate; }
.nx-restyle .nx-pagehead__bg, .nx-pagehead__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center 30%; }
.nx-pagehead--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12, 12, 12, .86) 0%, rgba(12, 12, 12, .72) 42%, rgba(12, 12, 12, .38) 100%); }
.nx-pagehead--photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--nx-gold); }
.nx-pagehead__inner { position: relative; width: 100%; }
.nx-pagehead--photo h1, .nx-pagehead--photo .nx-subtitle { text-shadow: 0 1px 2px rgba(0, 0, 0, .45); max-width: 34em; }
.nx-pagehead--photo .nx-crumbs ol { color: #e6e6e6; }
@media (max-width: 767px) {
	.nx-pagehead--photo { min-height: 260px; padding: 36px 0 32px; }
	.nx-pagehead--photo::before { background: rgba(12, 12, 12, .78); }
}
/* The hero carries the booking button; the duplicate button at the top of the Consulting text is hidden. */
.nx-restyle .entry-content > p:first-child:has(> .nx-btn:only-child) { display: none; }
@media print {
	.nx-pagehead__bg, .nx-pagehead--photo::before, .nx-pagehead--photo::after { display: none !important; }
	.nx-pagehead--photo { min-height: 0 !important; }
}

/* Home slider (release 1.4.0): slides from MetaSlider, stacked; the viewport keeps the slide aspect ratio,
   so nothing shifts while images load. Without JavaScript only the first slide shows. */
.nx-slider { background: var(--nx-charcoal-2); padding: 20px 0 4px; }
.nx-slider__viewport { position: relative; max-width: 1080px; margin: 0 auto; overflow: hidden; background: #000; }
.nx-slide { position: absolute; inset: 0; }
.nx-slide:not(:first-child) { display: none; }
.nx-js .nx-slider.is-ready .nx-slide { display: block; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s linear .6s; }
.nx-js .nx-slider.is-ready .nx-slide.is-active { opacity: 1; visibility: visible; transition: opacity .6s ease; }
.nx-restyle .nx-slide__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.nx-slide a { display: block; height: 100%; }
.nx-slide--portrait, .nx-js .nx-slider.is-ready .nx-slide--portrait { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); background: var(--nx-charcoal-2); }
.nx-js .nx-slider.is-ready .nx-slide--portrait:not(.is-active) { display: grid; }
.nx-slide__copy { align-self: center; padding: 5% 7%; color: #fff; }
.nx-slide__title { font-family: var(--nx-serif); font-weight: 600; font-size: clamp(18px, 3.1vw, 40px); line-height: 1.2; color: #fff; margin: 0 0 .6em !important; }
.nx-slide__copy .nx-proof { margin-top: 8px; }
.nx-restyle .nx-slide__portrait { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 15%; border-left: 4px solid var(--nx-gold); }
.nx-slider__controls { display: none; }
.nx-js .nx-slider.is-ready .nx-slider__controls { display: flex; align-items: center; justify-content: center; gap: 4px; max-width: 1080px; margin: 0 auto; padding: 6px 0; }
.nx-slider__btn, .nx-slider__dot { appearance: none; -webkit-appearance: none; background: transparent; border: 0; color: #fff; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; border-radius: 50%; }
.nx-slider__btn { font-size: 30px; line-height: 1; border: 1px solid #555; }
.nx-slider__btn:hover { border-color: var(--nx-gold); color: var(--nx-gold-hi); }
.nx-slider__dots { display: flex; }
.nx-slider__dot::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 2px solid #bdbdbd; box-sizing: border-box; }
.nx-slider__dot[aria-current="true"]::before { background: var(--nx-gold); border-color: var(--nx-gold); }
.nx-slider__pause-icon { position: relative; width: 12px; height: 14px; }
.nx-slider__pause-icon::before, .nx-slider__pause-icon::after { content: ""; position: absolute; top: 0; width: 4px; height: 14px; background: currentColor; }
.nx-slider__pause-icon::before { left: 0; }
.nx-slider__pause-icon::after { right: 0; }
.nx-slider__pause.is-paused .nx-slider__pause-icon::before { left: 2px; width: 0; height: 0; background: none; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent currentColor; }
.nx-slider__pause.is-paused .nx-slider__pause-icon::after { display: none; }
.nx-cta-strip { background: var(--nx-charcoal-2); color: #fff; padding: 20px 0 48px; border-bottom: 4px solid var(--nx-gold); }
.nx-cta-strip__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.nx-cta-strip h1 { color: #fff; font-size: clamp(28px, 3.2vw, 42px); margin: 0 0 8px; }
.nx-cta-strip__lead { color: #e6e6e6; margin: 0 !important; max-width: 46em; }
.nx-cta-strip .nx-actions { margin-top: 0; flex: 0 0 auto; }
@media (max-width: 991px) { .nx-cta-strip__inner { flex-direction: column; align-items: flex-start; } }
@media (max-width: 767px) {
	.nx-slider { padding-top: 0; }
	.nx-slide__copy { padding: 4% 5%; }
	.nx-slide__copy .nx-proof, .nx-slide__copy .nx-eyebrow { display: none; }
	.nx-cta-strip { padding: 16px 0 36px; }
}
@media (prefers-reduced-motion: reduce) {
	.nx-js .nx-slider.is-ready .nx-slide, .nx-js .nx-slider.is-ready .nx-slide.is-active { transition: none; }
}
@media print { .nx-slider__controls { display: none !important; } .nx-slide:not(.is-active) { display: none !important; } }

/* Gold scheme (option nexgen_restyle_scheme = gold): the live site's identity. Black sections with white
   body text; the live theme's golds for headings (#e6c45c, about 12:1 on black) and for buttons, rules and
   icons (#BF953F, 7.1:1 on black, black button text on it). No gold paragraph text. */
body.nx-scheme-gold {
	--nx-paper: #0b0b0b;
	--nx-tint: #141414;
	--nx-ink: #f2f2f2;
	--nx-ink-soft: #d0d0d0;
	--nx-line: #4a3f22;
	--nx-gold: #bf953f;
	--nx-gold-hi: #e6c45c;
	--nx-gold-text: #e6c45c;
	--nx-charcoal: #0b0b0b;
	--nx-charcoal-2: #141414;
	background: #0b0b0b;
	color: #f2f2f2;
}
.nx-scheme-gold h1, .nx-scheme-gold h2, .nx-scheme-gold h3, .nx-scheme-gold h4, .nx-scheme-gold h5, .nx-scheme-gold h6 { color: var(--nx-gold-hi); }
.nx-scheme-gold .nx-header { border-bottom: 2px solid var(--nx-gold); }
.nx-scheme-gold .nx-brand__name { color: var(--nx-gold-hi); }
.nx-scheme-gold .nx-pagehead h1, .nx-scheme-gold .nx-hero h1, .nx-scheme-gold .nx-cta-strip h1, .nx-scheme-gold .nx-band h2 { color: var(--nx-gold-hi); }
.nx-scheme-gold .nx-pagehead--photo::after, .nx-scheme-gold .nx-cta-strip { border-bottom-width: 6px; }
.nx-scheme-gold .nx-pagehead--photo::after { height: 6px; }
.nx-scheme-gold .nx-section { background: #0b0b0b; }
.nx-scheme-gold .nx-section--tint { background: #141414; }
.nx-scheme-gold .nx-card { background: #141414; border: 1px solid var(--nx-line); box-shadow: inset 0 2px 0 var(--nx-gold); }
.nx-scheme-gold .nx-btn--dark { background: transparent !important; color: var(--nx-gold-hi) !important; border-color: var(--nx-gold); }
.nx-scheme-gold .nx-btn--dark:hover { background: var(--nx-gold) !important; color: #0b0b0b !important; }
.nx-scheme-gold .nx-btn--outline { color: #fff !important; border-color: var(--nx-gold); }
.nx-scheme-gold .nx-btn--outline-light { border-color: var(--nx-gold); }
.nx-scheme-gold .nx-video { border-bottom-color: var(--nx-gold); }
.nx-scheme-gold .nx-awards li { border-top-color: var(--nx-gold); }
.nx-scheme-gold .nx-gallery img { outline: 1px solid var(--nx-line); }
.nx-scheme-gold .nx-band { background: #141414; border-top: 6px solid var(--nx-gold); }
.nx-scheme-gold .nx-footer { border-top: 4px solid var(--nx-gold); }
.nx-scheme-gold .nx-footer__name { color: var(--nx-gold-hi); }
.nx-scheme-gold .nx-social a { border-color: var(--nx-gold); color: var(--nx-gold-hi) !important; }
.nx-scheme-gold .section-padding { background: #0b0b0b; }
.nx-scheme-gold .entry-content, .nx-scheme-gold .entry-content p, .nx-scheme-gold .entry-content li, .nx-scheme-gold .entry-content td { color: #f2f2f2; }
.nx-scheme-gold .entry-content strong { color: #fff; }
.nx-scheme-gold .entry-content blockquote, .nx-scheme-gold .entry-content blockquote p { background: #141414; color: #f2f2f2; }
.nx-scheme-gold .nx-leadin { background: #141414; border-color: var(--nx-line); }
.nx-scheme-gold .table-bordered, .nx-scheme-gold .table-bordered td, .nx-scheme-gold .table-bordered th { border-color: var(--nx-line); }
body.nx-scheme-gold .table-bordered > tbody > tr > th, body.nx-scheme-gold .entry-content th { background: #141414; color: var(--nx-gold-hi); -webkit-text-fill-color: currentColor; }
/* Forms stay white with dark text for readability */
.nx-scheme-gold .wpcf7 label, .nx-scheme-gold .wpcf7 legend { color: #f2f2f2; }
.nx-scheme-gold .wpcf7 .nx-help { color: #d0d0d0; }
.nx-scheme-gold .wpcf7 input[type="text"], .nx-scheme-gold .wpcf7 input[type="email"], .nx-scheme-gold .wpcf7 input[type="tel"], .nx-scheme-gold .wpcf7 select, .nx-scheme-gold .wpcf7 textarea { background: #fff; color: #111; border-color: var(--nx-gold); }
.nx-scheme-gold .wpcf7-not-valid-tip { color: #ff9a8a; }
.nx-scheme-gold .wpcf7 form .wpcf7-response-output { color: #f2f2f2; }
.nx-scheme-gold .entry-content ol > li::before { background: var(--nx-gold); color: #0b0b0b; }
.nx-scheme-gold .entry-content ul li::before { background: var(--nx-gold); }
@media print { body.nx-scheme-gold, body.nx-scheme-gold * { color: #000 !important; -webkit-text-fill-color: #000 !important; background: #fff !important; } }


/* ===== Release 1.5.0: full-bleed hero, proof strip, arch motif (demo2 direction) ===== */
/* Desktop navigation stays visible down to 1024 px (no hamburger on desktop). */
@media (min-width: 1024px) and (max-width: 1279px) {
	.nx-header__bar { gap: 14px; }
	.nx-brand__tag { display: none; }
	.nx-brand__name { font-size: 17px; }
	.nx-nav { gap: 10px; }
	.nx-nav__list a { padding: 0 6px; font-size: 14px; }
	.nx-nav__cta { padding: 10px 14px; font-size: 15px !important; }
}

/* Pill buttons; the ghost button is a white outline over photos */
.nx-btn--ghost { background: transparent; color: #fff !important; border: 1.5px solid #fff; }
.nx-btn--ghost:hover { border-color: var(--nx-gold-hi); color: var(--nx-gold-hi) !important; }
.nx-btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 6px #0b0b0b; }

/* Home header: transparent over the hero, solid after 80 px (JavaScript adds .is-solid). */
.home .nx-header { position: fixed; top: 0; left: 0; right: 0; background: linear-gradient(180deg, rgba(11, 11, 11, .78) 0%, rgba(11, 11, 11, 0) 100%); border-bottom-color: transparent; transition: background-color .3s ease, border-color .3s ease; }
.home .nx-header.is-solid, .home .nx-header:focus-within { background: #0b0b0b; border-bottom-color: var(--nx-gold); }
.admin-bar.home .nx-header { top: 32px; }

/* Full-bleed hero: width 100% (never 100vw), height clamp(560px, 86vh, 880px); phones at least 72svh / 520 px. */
.nx-hero2 { position: relative; width: 100%; height: clamp(560px, 86vh, 880px); overflow: hidden; background: #0b0b0b; color: #fff; display: flex; align-items: flex-end; isolation: isolate; }
.nx-hero2__media { position: absolute; inset: 0; z-index: -2; }
.nx-hero2__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.nx-hero2__slide.is-active { opacity: 1; }
.nx-restyle .nx-hero2__img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center 35%; }
.nx-hero2__shade { position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(180deg, rgba(11, 11, 11, 0) calc(100% - 120px), #0b0b0b 100%), linear-gradient(90deg, rgba(11, 11, 11, .9) 0%, rgba(11, 11, 11, .74) 48%, rgba(11, 11, 11, .28) 100%); }
.nx-hero2__content { width: 100%; padding-top: 120px; padding-bottom: 136px; }
.nx-hero2__eyebrow { font-family: var(--nx-sans); font-size: 14px !important; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #e6c45c; margin: 0 0 14px !important; }
.nx-restyle .nx-hero2 h1 { font-family: var(--nx-serif); font-size: clamp(38px, 5vw, 72px); line-height: 1.08; color: #fff; max-width: 15ch; margin: 0 0 18px; }
.nx-hero2__lead { font-size: clamp(17px, 1.35vw, 20px); color: rgba(255, 255, 255, .92); max-width: 46ch; margin: 0 !important; }
.nx-hero2 .nx-actions { margin-top: 28px; }
.nx-hero2 .nx-btn { min-height: 48px; padding: 12px 28px; }
.nx-hero2__pause { position: absolute; right: 24px; bottom: 88px; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .8); background: rgba(11, 11, 11, .55); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.nx-hero2__pause[hidden] { display: none; }
.nx-hero2__pause-icon { position: relative; width: 12px; height: 14px; }
.nx-hero2__pause-icon::before, .nx-hero2__pause-icon::after { content: ""; position: absolute; top: 0; width: 4px; height: 14px; background: currentColor; }
.nx-hero2__pause-icon::before { left: 0; }
.nx-hero2__pause-icon::after { right: 0; }
.nx-hero2.is-paused .nx-hero2__pause-icon::before { left: 2px; width: 0; height: 0; background: none; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent currentColor; }
.nx-hero2.is-paused .nx-hero2__pause-icon::after { display: none; }
.nx-hero2__cue { position: absolute; left: 50%; bottom: 76px; transform: translateX(-50%); color: #e6c45c !important; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; animation: nx-bob 2s ease-in-out infinite; }
@keyframes nx-bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 6px); } }
@keyframes nx-kenburns { from { transform: scale(1); } to { transform: scale(1.06); } }
@media (min-width: 768px) {
	.nx-hero2.is-live .nx-hero2__slide.is-active .nx-hero2__img, .nx-hero2:not(.is-live) .nx-hero2__slide.is-active .nx-hero2__img { animation: nx-kenburns 8.2s ease-out both; }
	.nx-hero2.is-paused .nx-hero2__img { animation-play-state: paused !important; }
}
@media (max-width: 767px) {
	.nx-hero2 { height: auto; min-height: max(72svh, 520px); }
	/* Phones: the photo shows clearly in the top third; the text sits below it on a dark scrim. */
	.nx-hero2__shade { background: linear-gradient(180deg, rgba(11, 11, 11, .3) 0%, rgba(11, 11, 11, .3) 22%, rgba(11, 11, 11, .9) 38%, rgba(11, 11, 11, .95) 60%, #0b0b0b 100%); }
	.nx-restyle .nx-hero2__img { object-position: center 18%; }
	.nx-hero2__content { padding-top: max(38svh, 300px); padding-bottom: 104px; }
	.nx-hero2__eyebrow { font-size: 12px !important; letter-spacing: .14em; }
	/* Reserve the H1's lines so the web font swap does not move the text below it (layout shift). */
	.nx-restyle .nx-hero2 h1 { min-height: calc(4 * 1.08em); }
	.nx-hero2 .nx-actions .nx-btn { flex: 1 1 100%; }
	.nx-hero2__pause { right: 16px; bottom: auto; top: 92px; }
	.nx-hero2__cue { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.nx-hero2__slide { transition: none; }
	.nx-restyle .nx-hero2__img { animation: none !important; }
	.nx-hero2__cue { animation: none; }
}

/* Proof strip overlapping the bottom of the hero */
.nx-proof2 { position: relative; z-index: 2; margin-top: -64px; padding-bottom: 8px; }
.nx-proof2__list { list-style: none; margin: 0; padding: 28px 32px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; background: #141414; border-radius: 24px; box-shadow: inset 0 2px 0 var(--nx-gold), 0 24px 48px rgba(0, 0, 0, .35); }
.nx-proof2__list li { margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.nx-proof2__list strong { font-family: var(--nx-serif); font-weight: 600; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.1; color: #e6c45c; }
.nx-proof2__list span { color: #e6e6e6; font-size: 15px; line-height: 1.4; }
@media (max-width: 767px) {
	.nx-proof2 { margin-top: -48px; }
	.nx-proof2__list { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 22px 20px; gap: 18px 16px; border-radius: 20px; }
}

/* Arched portrait with a gold ring (home About) */
.nx-arch { position: relative; margin: 0 auto; max-width: 420px; width: 100%; }
.nx-arch::before { content: ""; position: absolute; inset: -10px; border: 2px solid var(--nx-gold); border-radius: 999px 999px 34px 34px; pointer-events: none; }
.nx-restyle .nx-arch__img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border-radius: 999px 999px 24px 24px; background: #f3f3f1; }

/* Gold accent line under section H2s */
.nx-section h2::after, .nx-band h2::after { content: ""; display: block; width: 64px; height: 3px; margin-top: 14px; background: var(--nx-gold); border-radius: 3px; }

/* "Presented at" row */
.nx-presented { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--nx-line); }
.nx-presented__label { font-size: 13px !important; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--nx-gold-text); margin: 0 0 14px !important; }
.nx-presented__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.nx-presented__list li { margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.nx-presented__list strong { font-family: var(--nx-serif); font-size: 24px; letter-spacing: .04em; color: var(--nx-ink); }
.nx-presented__list span { font-size: 14px; color: var(--nx-ink-soft); }
@media (max-width: 767px) { .nx-presented__list { grid-template-columns: minmax(0, 1fr); gap: 14px; } }

/* Video with a poster (loads YouTube only on click) */
.nx-lite { position: relative; aspect-ratio: 16 / 9; border-radius: var(--nx-r-img); overflow: hidden; background: #0b0b0b; box-shadow: inset 0 -2px 0 var(--nx-gold); }
.nx-restyle .nx-lite__poster { display: block; width: 100%; height: 100%; object-fit: cover; }
.nx-lite__play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.nx-lite__play svg { transition: transform .2s ease; }
.nx-lite__play:hover svg, .nx-lite__play:focus-visible svg { transform: scale(1.08); }
.nx-lite iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Banners (artwork with their own text) on Awards and Media */
.nx-artwork { margin: 0 0 32px; }
.nx-restyle .nx-artwork img { display: block; width: 100%; height: auto; border-radius: var(--nx-r-img); }
.nx-artwork-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0 0 32px; }
@media (max-width: 767px) { .nx-artwork-row { grid-template-columns: minmax(0, 1fr); } }
@media print { .nx-hero2__media, .nx-hero2__strip, .nx-hero2__pause, .nx-hero2__cue { display: none !important; } .home .nx-header { position: static; } }
body.nx-restyle .entry-content ul.nx-presented__list li, body.nx-restyle .entry-content ul.nx-proof2__list li { padding-left: 0; }
body.nx-restyle .entry-content ul.nx-presented__list li::before, body.nx-restyle .entry-content ul.nx-proof2__list li::before { content: none; display: none; }
/* SiteOrigin rows that carry Bootstrap's fixed-width .container inside the page container overflowed at 768 px */
.nx-restyle .entry-content .container { width: auto; max-width: 100%; padding-left: 0; padding-right: 0; }

/* ===== Release 1.6.0 (wave 2) ===== */
/* Shallow arc divider: the next section's top edge, with a thin gold line along the curve */
.nx-arc { position: relative; z-index: 1; height: 48px; margin-top: -48px; pointer-events: none; }
.nx-arc svg { display: block; width: 100%; height: 100%; overflow: visible; }
.nx-arc__fill { fill: var(--nx-paper); }
.nx-arc--tint .nx-arc__fill { fill: var(--nx-tint); }
.nx-arc__line { fill: none; stroke: var(--nx-gold); stroke-width: 1.5; stroke-opacity: .7; }
.nx-scheme-gold .nx-arc--dark .nx-arc__fill { fill: #0b0b0b; }
.nx-scheme-gold .nx-arc--tint .nx-arc__fill { fill: #141414; }
.nx-arc + .nx-section, .nx-arc + .nx-band { position: relative; }
@media (max-width: 767px) { .nx-arc { height: 24px; margin-top: -24px; } }

/* Gallery mosaic: one large 2x2 tile, two 4:3 tiles beside it, three 4:5 tiles below (CSS grid only) */
.nx-mosaic { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
body.nx-restyle .entry-content ul.nx-mosaic { margin-left: 0; margin-right: 0; padding: 0; }
.nx-mosaic li { position: relative; margin: 0; padding: 0; min-width: 0; aspect-ratio: 4 / 3; }
/* Large 2x2 tile: its height comes from the two tiles beside it (4:5 over 4:3), never from the photo */
.nx-mosaic li:nth-child(1) { grid-column: 1 / 3; grid-row: 1 / 3; aspect-ratio: auto; }
.nx-mosaic li:nth-child(2) { grid-column: 3; aspect-ratio: 4 / 5; }
.nx-mosaic li:nth-child(3) { grid-column: 3; }
.nx-restyle .nx-mosaic img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; border-radius: var(--nx-r-img); }
@media (max-width: 767px) {
	.nx-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.nx-mosaic li:nth-child(1), .nx-mosaic li:nth-child(6) { grid-column: 1 / 3; grid-row: auto; aspect-ratio: 4 / 3; }
	.nx-mosaic li:nth-child(2), .nx-mosaic li:nth-child(3) { grid-column: auto; aspect-ratio: 4 / 5; }
}

/* Consulting: "How an engagement works" as a timeline. Gold-ringed numbers joined by a curved gold
   connector (desktop), a straight gold line on phones. */
body.nx-page-consulting .content-area article .entry-content ol { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 28px 0 36px; padding: 0; }
body.nx-page-consulting .content-area article .entry-content ol > li { position: relative; z-index: 1; padding: 64px 4px 0; text-align: center; min-height: 0; margin: 0; }
body.nx-page-consulting .content-area article .entry-content ol > li::before { left: 50%; top: 0; transform: translateX(-50%); width: 48px; height: 48px; line-height: 44px; background: #0b0b0b; color: #e6c45c; border: 2px solid var(--nx-gold); box-sizing: border-box; font-family: var(--nx-serif); font-size: 20px; }
body.nx-page-consulting .content-area article .entry-content ol::after {
	content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 0; height: 48px; z-index: 0;
	background: no-repeat center / 100% 100% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 48' preserveAspectRatio='none'%3E%3Cpath d='M0 24 Q50 2 100 24 Q150 46 200 24 Q250 2 300 24' fill='none' stroke='%23bf953f' stroke-width='1.5' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
}
body.nx-page-consulting .content-area article .entry-content ol > li strong { display: block; margin-bottom: 4px; color: #fff; }
body:not(.nx-scheme-gold).nx-page-consulting .content-area article .entry-content ol > li::before { background: #fff; color: var(--nx-gold-text); }
body:not(.nx-scheme-gold).nx-page-consulting .content-area article .entry-content ol > li strong { color: var(--nx-ink); }
@media (max-width: 767px) {
	body.nx-page-consulting .content-area article .entry-content ol { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	body.nx-page-consulting .content-area article .entry-content ol > li { padding: 10px 0 0 64px; text-align: left; min-height: 48px; }
	body.nx-page-consulting .content-area article .entry-content ol > li::before { left: 0; transform: none; }
	body.nx-page-consulting .content-area article .entry-content ol::after { left: 23px; right: auto; top: 24px; bottom: 24px; width: 2px; height: auto; background: var(--nx-gold); }
}

/* Scroll reveal: hidden only after JavaScript confirmed IntersectionObserver and no reduced motion */
.nx-reveal-on .nx-reveal { opacity: 0; transform: translateY(12px); transition: opacity .4s ease, transform .4s ease; }
.nx-reveal-on .nx-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .nx-reveal-on .nx-reveal { opacity: 1; transform: none; transition: none; } }
@media print { .nx-reveal-on .nx-reveal { opacity: 1 !important; transform: none !important; } .nx-arc { display: none; } }

/* ---------- 1.7.0 ---------- */
/* Sticky header on every page. Home keeps the transparent header over the hero (fixed, solid after 80 px);
   other pages get a solid header that sticks from the start. Sticky keeps its place in the flow, so the
   page does not move. Phones without JavaScript keep a static header, because the open link list would
   fill the screen. */
.nx-restyle:not(.home) .nx-header { position: sticky; top: 0; }
.nx-scheme-gold:not(.home) .nx-header { background: #0b0b0b; }
@media (min-width: 783px) { .admin-bar.nx-restyle:not(.home) .nx-header { top: 32px; } }
@media (max-width: 782px) { .admin-bar.nx-restyle:not(.home) .nx-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar.nx-restyle:not(.home) .nx-header { top: 0; } }
@media (max-width: 1023px) {
	html:not(.nx-js) .nx-restyle:not(.home) .nx-header { position: relative; }
	.nx-js .nx-nav.is-open { max-height: calc(100vh - 76px); overflow-y: auto; }
	.nx-js .nx-scheme-gold .nx-nav { background: #0b0b0b; }
}
@media print { .nx-restyle .nx-header { position: static !important; } }

/* Home hero: banner slides (artwork that carries its own text) and photo slides.
   A banner shows uncropped on the dark band between the header and a slim button strip; the hero text
   fades out with the photo and the strip fades in. The band height never changes. */
.nx-restyle .nx-hero2__slide--banner .nx-hero2__img { top: 84px; bottom: auto; height: calc(100% - 220px); object-fit: contain; object-position: center; animation: none !important; transform: none; }
.nx-hero2__slide--banner .nx-hero2__shade { background: linear-gradient(180deg, rgba(11, 11, 11, 0) calc(100% - 140px), #0b0b0b calc(100% - 64px)); }
.nx-hero2__content { transition: opacity .6s ease; }
.nx-hero2__content .nx-actions { transition: visibility 0s; }
.nx-hero2__strip { position: absolute; left: 0; right: 0; bottom: 64px; height: 72px; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s .6s; }
.nx-hero2__strip .nx-actions { margin-top: 0; justify-content: center; }
.nx-hero2__cue { transition: opacity .6s ease, visibility 0s; }
@media (min-width: 768px) {
	.nx-hero2.is-banner .nx-hero2__content { opacity: 0; pointer-events: none; }
	.nx-hero2.is-banner .nx-hero2__content .nx-actions { visibility: hidden; transition: visibility 0s .6s; }
	.nx-hero2.is-banner .nx-hero2__strip { opacity: 1; visibility: visible; transition: opacity .6s ease, visibility 0s; }
	.nx-hero2.is-banner .nx-hero2__cue { opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s .6s; }
}
/* Phones: the hero text already sits below the picture, so a banner takes the picture's place at the top
   (uncropped) and the text and buttons stay; there is no strip. */
@media (max-width: 767px) {
	.nx-restyle .nx-hero2__slide--banner .nx-hero2__img { top: 72px; height: calc(max(38svh, 300px) - 84px); }
	.nx-hero2__slide--banner .nx-hero2__shade { background: none; }
	.nx-hero2__strip { display: none; }
}
@media (prefers-reduced-motion: reduce) { .nx-hero2__content, .nx-hero2__strip, .nx-hero2__cue { transition: none !important; } }

/* ---------- 1.8.0 ---------- */
/* Per-slide eyebrow (the slide caption). It fades while the text changes; on phones two lines are
   reserved, so a longer eyebrow never moves the heading. */
.nx-hero2__eyebrow { transition: opacity .3s ease; }
.nx-hero2__eyebrow.is-changing { opacity: 0; }
@media (max-width: 767px) { .nx-hero2__eyebrow { min-height: calc(2 * 1.5em); display: flex; align-items: flex-end; line-height: 1.5; } }
@media (prefers-reduced-motion: reduce) { .nx-hero2__eyebrow { transition: none; } }

/* Page head with a whole photo (not a wide band), for example the family photo on About. Wide screens:
   the photo stands at the right at full band height, its left edge fading into the band, and the text keeps
   to the left. Narrow screens: the photo sits above the text, whole. */
.nx-pagehead--portrait::before { display: none; }
.nx-restyle .nx-pagehead--portrait .nx-pagehead__fig { display: block; max-width: none; }
@media (min-width: 992px) {
	.nx-pagehead--portrait { min-height: 480px; }
	.nx-restyle .nx-pagehead--portrait .nx-pagehead__fig { position: absolute; z-index: -1; top: 0; bottom: 4px; right: max(0px, calc((100% - 1240px) / 2)); height: calc(100% - 4px); width: auto; aspect-ratio: auto; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 15%, #000 94%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 15%, #000 94%, transparent 100%); }
	.nx-pagehead--portrait .nx-pagehead__inner > * { max-width: min(600px, calc(100% - 560px)); }
}
@media (min-width: 992px) and (max-width: 1239px) {
	.nx-restyle .nx-pagehead--portrait .nx-pagehead__fig { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 15%); mask-image: linear-gradient(90deg, transparent 0, #000 15%); }
}
@media (max-width: 991px) {
	.nx-pagehead--portrait { display: block; min-height: 0; padding-top: 0; }
	.nx-restyle .nx-pagehead--portrait .nx-pagehead__fig { position: static; width: 100%; height: auto; -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent 100%); mask-image: linear-gradient(180deg, #000 82%, transparent 100%); }
	.nx-pagehead--portrait .nx-pagehead__inner { margin-top: 8px; }
}
@media print { .nx-pagehead__fig { display: none !important; } }

/* ---------- 1.8.3 ---------- */
/* Figure slides (her whole figure on a dark backdrop): the scrim covers only the text side, never her; no bottom
   fade, so her feet show. On phones the picture area above the text stays clear. */
.nx-hero2__slide--figure .nx-hero2__shade { background: linear-gradient(90deg, rgba(11, 11, 11, .85) 0%, rgba(11, 11, 11, .55) 34%, rgba(11, 11, 11, 0) 56%); }
@media (max-width: 767px) {
	.nx-hero2__slide--figure .nx-hero2__shade { background: linear-gradient(180deg, rgba(11, 11, 11, 0) 0%, rgba(11, 11, 11, 0) 36%, rgba(11, 11, 11, .92) 42%, #0b0b0b 100%); }
}
