/* ==========================================================================
   NexFence — site stylesheet
   Brand variables (--nf-*) are printed inline from the Dashboard settings
   (nexfence-core/includes/settings.php → nf_css_variables()).
   Vocabulary: see tools/content/COMPONENTS.md. The base layer comes first;
   the NexFence layer at the end sets the look and adds the product blocks.
   ========================================================================== */

/* ---------------------------------------------------------------- tokens */
:root {
  --c-max: 1200px;
  --gutter: clamp(18px, 4vw, 32px);
  --sec-pad: clamp(68px, 8.5vw, 120px);
  --header-h: 88px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.2, .9, .25, 1.15);
  --shadow-1: 0 1px 2px rgb(var(--nf-dark-rgb) / .06), 0 12px 30px -14px rgb(var(--nf-dark-rgb) / .24);
  --shadow-2: 0 2px 6px rgb(var(--nf-dark-rgb) / .08), 0 28px 60px -22px rgb(var(--nf-dark-rgb) / .42);
  --tape: repeating-linear-gradient(90deg, rgb(255 255 255 / .12) 0 2px, transparent 2px 9px);
  --flap: clamp(18px, 3vw, 40px);
}

/* ----------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; font-size: calc(100% * var(--nf-scale, 1)); scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
body { margin: 0; background: var(--nf-light); color: var(--nf-text); font: 400 1.0625rem/1.7 var(--nf-f-body); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--nf-alt-on-light); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .2s; }
a:hover { color: var(--nf-accent-on-light); }
p, ul, ol, dl, figure, blockquote { margin: 0 0 1.1em; }
h1, h2, h3, h4 { margin: 0 0 .5em; color: var(--nf-deep); line-height: 1.1; }
h1, h2 { font-family: var(--nf-f-display); font-weight: 800; letter-spacing: -.025em; }
h3, h4 { font-family: var(--nf-f-ui); font-weight: 700; letter-spacing: -.01em; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.08rem; }
strong, b { font-weight: 700; color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--nf-accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--nf-accent); color: var(--nf-dark); }
.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; }
.nf-skip { position: absolute; left: 12px; top: -100px; z-index: 1000; padding: 12px 18px; background: var(--nf-btn); color: var(--nf-on-btn); font: 700 .95rem/1 var(--nf-f-ui); border-radius: var(--nf-radius); text-decoration: none; }
.nf-skip:focus { top: 12px; color: var(--nf-on-btn); }
.nf-main { display: block; }
.nf-main:focus { outline: none; }
html.nf-locked, html.nf-locked body { overflow: hidden; }

/* ------------------------------------------------------------ typography */
.nf-kicker {
  display: inline-flex; align-items: center; gap: .75em; margin: 0 0 1rem;
  font: 700 .8rem/1.3 var(--nf-f-ui); letter-spacing: .14em; text-transform: uppercase;
  color: var(--nf-accent-on-light);
}
/* The eyebrow marker (restyled in the Redline layer). */
.nf-kicker::before { content: ""; width: 30px; height: 10px; flex: none; background: var(--nf-accent) var(--tape); border-radius: 1px; transform: rotate(-6deg); box-shadow: 0 2px 4px rgb(var(--nf-dark-rgb) / .18); }
.nf-title { font-size: clamp(2rem, 1.3rem + 2.5vw, 3.3rem); line-height: 1.02; margin-bottom: .45em; text-wrap: balance; }
.nf-title .nf-accent, .nf-hero__title .nf-accent { color: var(--nf-accent-on-light); }
.nf-hand { display: inline-block; font: 700 1.25em/1 var(--nf-f-accent); letter-spacing: 0; color: var(--nf-accent-on-light); transform: rotate(-3deg); }
.nf-lead { font-size: clamp(1.08rem, 1rem + .35vw, 1.24rem); line-height: 1.62; color: var(--nf-muted); max-width: 64ch; }
.nf-head { margin-bottom: clamp(34px, 4.5vw, 56px); max-width: 780px; }
.nf-head--center { margin-inline: auto; text-align: center; }
.nf-head--center .nf-kicker { justify-content: center; }
.nf-head--center .nf-lead { margin-inline: auto; }
.nf-head .nf-lead:last-child { margin-bottom: 0; }
.nf-small { font-size: .9rem; color: var(--nf-muted); }
.nf-source { font-size: .86rem; color: var(--nf-muted); font-style: italic; }

/* ---------------------------------------------------------------- layout */
.nf-container { width: 100%; max-width: calc(var(--c-max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.nf-container--narrow { max-width: calc(820px + var(--gutter) * 2); }
.nf-section { position: relative; padding-block: var(--sec-pad); isolation: isolate; }
.nf-section--tight { padding-block: clamp(46px, 5.5vw, 76px); }
.nf-section--flush-top { padding-top: 0; }
.nf-section--white { background: var(--nf-light); }
.nf-section--paper { background: var(--nf-paper); }
.nf-section--deep, .nf-section--alt, .nf-section--photo { color: rgb(var(--nf-light-rgb) / .86); }
.nf-section--deep { background: var(--nf-deep); }
.nf-section--alt { background: radial-gradient(ellipse 80% 90% at 85% 0%, rgb(var(--nf-light-rgb) / .1), transparent 60%), linear-gradient(165deg, var(--nf-alt), var(--nf-deep)); }
.nf-section--deep h2, .nf-section--deep h3, .nf-section--deep h4,
.nf-section--alt h2, .nf-section--alt h3, .nf-section--alt h4,
.nf-section--photo h2, .nf-section--photo h3 { color: var(--nf-light); }
.nf-section--deep .nf-kicker, .nf-section--alt .nf-kicker, .nf-section--photo .nf-kicker, .nf-hero .nf-kicker, .nf-cta .nf-kicker, .nf-footer .nf-kicker { color: var(--nf-accent-on-dark); }
.nf-section--deep .nf-lead, .nf-section--alt .nf-lead, .nf-section--photo .nf-lead { color: rgb(var(--nf-light-rgb) / .78); }
.nf-section--deep .nf-hand, .nf-section--alt .nf-hand, .nf-section--photo .nf-hand, .nf-hero .nf-hand, .nf-cta .nf-hand { color: var(--nf-accent-on-dark); }
.nf-section--deep .nf-title .nf-accent, .nf-section--alt .nf-title .nf-accent, .nf-section--photo .nf-title .nf-accent { color: var(--nf-accent-on-dark); }
.nf-section--deep a:not(.nf-btn), .nf-section--alt a:not(.nf-btn), .nf-section--photo a:not(.nf-btn) { color: var(--nf-light); }
.nf-section--deep a:not(.nf-btn):hover, .nf-section--alt a:not(.nf-btn):hover { color: var(--nf-accent-on-dark); }
/* Texture on dark grounds (diamond plate in the Redline layer). */
.nf-section--deep::before, .nf-footer::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(45deg, rgb(var(--nf-light-rgb) / .03) 25%, transparent 25%, transparent 75%, rgb(var(--nf-light-rgb) / .03) 75%), linear-gradient(-45deg, rgb(var(--nf-light-rgb) / .03) 25%, transparent 25%, transparent 75%, rgb(var(--nf-light-rgb) / .03) 75%);
  background-size: 38px 38px;
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 35%, #000 30%, transparent 92%);
          mask-image: radial-gradient(ellipse 85% 75% at 50% 35%, #000 30%, transparent 92%);
}

.nf-grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.nf-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nf-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nf-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.nf-center { text-align: center; }
/* Doubled class so the spacing helper beats any component that resets its own margin (.nf-actions, .nf-note). */
.nf-mt.nf-mt { margin-top: clamp(28px, 4vw, 48px); }

/* --------------------------------------------------------------- buttons */
.nf-btn {
  --btn-bg: var(--nf-btn); --btn-fg: var(--nf-on-btn); --btn-bd: var(--nf-btn);
  position: relative; display: inline-flex; align-items: center; gap: .65em; min-height: 54px; padding: .55em 1.4em .55em .7em; overflow: hidden;
  border: 2px solid var(--btn-bd); border-radius: var(--nf-radius-btn); background: var(--btn-bg); color: var(--btn-fg);
  font: 700 .98rem/1.1 var(--nf-f-ui); letter-spacing: .01em; text-decoration: none; white-space: nowrap;
  box-shadow: 0 14px 28px -14px rgb(var(--nf-accent-rgb) / .85); cursor: pointer;
  transition: transform .25s var(--ease-out), box-shadow .25s, background-color .2s, color .2s, border-color .2s;
}
.nf-btn:hover { color: var(--btn-fg); --btn-bg: var(--nf-btn-hover); --btn-bd: var(--nf-btn-hover); transform: translateY(-2px); box-shadow: 0 20px 34px -16px rgb(var(--nf-accent-rgb) / .9); }
.nf-btn:active { transform: translateY(0); }
.nf-btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 38%, rgb(255 255 255 / .42) 50%, transparent 62%); transform: translateX(-130%); transition: transform .8s var(--ease-out); pointer-events: none; }
.nf-btn:hover::after { transform: translateX(130%); }
.nf-btn__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: calc(var(--nf-radius-btn) * .75); background: rgb(var(--nf-dark-rgb) / .12); flex: none; }
.nf-btn__icon .nf-i { width: 20px; height: 20px; }
.nf-btn--call:hover .nf-btn__icon .nf-i { animation: nf-ring .7s ease both; }
.nf-btn--book:hover .nf-btn__icon .nf-i { animation: nf-wiggle .6s ease both; }
.nf-btn__label { display: inline-flex; align-items: center; gap: .7em; }
.nf-btn__num { padding-left: .7em; border-left: 1.5px solid currentColor; opacity: .95; letter-spacing: .02em; }
.nf-btn--ghost { --btn-bg: transparent; --btn-fg: currentColor; --btn-bd: currentColor; box-shadow: none; color: inherit; }
.nf-btn--ghost .nf-btn__icon { background: rgb(var(--nf-light-rgb) / .14); }
.nf-btn--ghost:hover { --btn-bg: rgb(var(--nf-light-rgb) / .12); --btn-bd: currentColor; box-shadow: none; color: inherit; }
.nf-section--white .nf-btn--ghost, .nf-section--paper .nf-btn--ghost, .nf-formwrap .nf-btn--ghost { --btn-fg: var(--nf-deep); --btn-bd: rgb(var(--nf-deep-rgb) / .5); color: var(--nf-deep); }
.nf-section--white .nf-btn--ghost:hover, .nf-section--paper .nf-btn--ghost:hover { --btn-bg: var(--nf-deep); --btn-fg: var(--nf-on-deep); --btn-bd: var(--nf-deep); color: var(--nf-on-deep); }
.nf-section--white .nf-btn--ghost .nf-btn__icon, .nf-section--paper .nf-btn--ghost .nf-btn__icon { background: rgb(var(--nf-deep-rgb) / .08); }
.nf-btn--outline { --btn-bg: transparent; --btn-fg: var(--nf-deep); --btn-bd: var(--nf-deep); box-shadow: none; }
.nf-btn--outline .nf-btn__icon { background: rgb(var(--nf-deep-rgb) / .08); }
.nf-btn--outline:hover { --btn-bg: var(--nf-deep); --btn-bd: var(--nf-deep); --btn-fg: var(--nf-on-deep); box-shadow: var(--shadow-1); }
.nf-btn--light { --btn-bg: var(--nf-light); --btn-fg: var(--nf-deep); --btn-bd: var(--nf-light); box-shadow: 0 12px 26px -14px rgb(0 0 0 / .6); }
.nf-btn--light .nf-btn__icon { background: rgb(var(--nf-accent-rgb) / .16); color: var(--nf-accent-on-light); }
.nf-btn--light:hover { --btn-bg: var(--nf-paper); --btn-bd: var(--nf-paper); --btn-fg: var(--nf-deep); }
.nf-btn--dark { --btn-bg: var(--nf-deep); --btn-fg: var(--nf-on-deep); --btn-bd: var(--nf-deep); box-shadow: var(--shadow-1); }
.nf-btn--dark:hover { --btn-bg: var(--nf-deep-3); --btn-bd: var(--nf-deep-3); --btn-fg: var(--nf-on-deep); box-shadow: var(--shadow-2); }
.nf-btn--sm { min-height: 46px; font-size: .9rem; padding-right: 1.1em; }
.nf-btn--sm .nf-btn__icon { width: 32px; height: 32px; }
.nf-btn--lg { min-height: 62px; font-size: 1.06rem; }
.nf-btn--block { width: 100%; justify-content: center; }
.nf-btn--submit { min-width: 250px; justify-content: center; }
.nf-actions { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; margin: 0; }
.nf-actions--center, .nf-head--center + .nf-actions { justify-content: center; }
@keyframes nf-ring { 0%, 100% { transform: rotate(0); } 15%, 45%, 75% { transform: rotate(-14deg); } 30%, 60%, 90% { transform: rotate(14deg); } }
@keyframes nf-wiggle { 0%, 100% { transform: none; } 30% { transform: translateY(-3px) rotate(-6deg); } 60% { transform: translateY(1px) rotate(4deg); } }

/* ------------------------------------------------------------- masthead */
/* Only the header sticks: the bars above it scroll away, their height measured
   into --nf-stick-offset by site.js. Nothing here changes size on scroll. */
.nf-masthead { position: sticky; top: calc(var(--nf-adminbar, 0px) - var(--nf-stick-offset, 0px)); z-index: 60; }
.admin-bar { --nf-adminbar: 32px; }
@media screen and (max-width: 782px) { .admin-bar { --nf-adminbar: 46px; } }
@media screen and (max-width: 600px) { .admin-bar { --nf-adminbar: 0px; } }
.nf-announce { background: var(--nf-btn); color: var(--nf-on-btn); text-align: center; font: 700 .9rem/1.3 var(--nf-f-ui); }
.nf-announce .nf-container { padding-block: 8px; }
.nf-announce p { margin: 0; }
.nf-announce a { color: inherit; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.nf-announce .nf-i { width: 16px; height: 16px; }
.nf-topbar { background: var(--nf-deep); color: rgb(var(--nf-light-rgb) / .8); font: 500 .82rem/1 var(--nf-f-ui); }
.nf-topbar__inner { display: flex; align-items: center; gap: 22px; min-height: 40px; }
.nf-topbar p { margin: 0; display: inline-flex; align-items: center; gap: 8px; }
.nf-topbar .nf-i { width: 15px; height: 15px; color: var(--nf-accent-on-dark); }
.nf-topbar__meta { display: flex; gap: 22px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.nf-topbar__meta li { display: inline-flex; align-items: center; gap: 8px; }
.nf-topbar a { color: inherit; text-decoration: none; }
.nf-topbar a:hover { color: var(--nf-light); }
.nf-topbar .nf-social a { color: rgb(var(--nf-light-rgb) / .8); }

.nf-header { position: relative; background: rgb(var(--nf-light-rgb) / .97); color: var(--nf-deep); border-bottom: 1px solid var(--nf-line); backdrop-filter: blur(12px); transition: box-shadow .3s; }
.nf-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 4px; background: linear-gradient(90deg, var(--nf-accent) 0 30%, var(--nf-deep) 30% 32%, var(--nf-accent) 32% 100%); opacity: .95; }
.nf-masthead.is-scrolled .nf-header { box-shadow: 0 16px 34px -18px rgb(var(--nf-dark-rgb) / .45); }
.nf-header__inner { display: flex; align-items: center; gap: 22px; min-height: var(--header-h); }
.nf-header__brand { flex: none; color: inherit; text-decoration: none; }
.nf-brand { display: inline-flex; align-items: center; gap: 12px; line-height: 1; }
.nf-brand__logo { height: var(--nf-logo); width: auto; max-width: 260px; object-fit: contain; transition: transform .6s var(--ease-spring); transform-origin: 18% 70%; }
.nf-header__brand:hover .nf-brand__logo { transform: rotate(-3deg) scale(1.03); }
.nf-brand__mark { width: 52px; height: 52px; object-fit: contain; flex: none; }
.nf-brand__text { display: flex; flex-direction: column; gap: 4px; }
.nf-brand__name { font: 900 1.7rem/.9 var(--nf-f-display); letter-spacing: -.02em; color: var(--nf-light); }
.nf-brand__sub { font: 600 .82rem/1 var(--nf-f-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--nf-accent-on-dark); white-space: nowrap; }

/* Desktop nav */
.nf-nav { margin-left: auto; }
.nf-menu { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nf-menu__item { position: relative; display: flex; align-items: center; }
.nf-nav .nf-menu__item--d0 > .nf-menu__link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; white-space: nowrap; color: var(--nf-deep); font: 600 .98rem/1 var(--nf-f-ui); text-decoration: none; position: relative; }
.nf-nav .nf-menu__item--d0 > .nf-menu__link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 5px; height: 3px; border-radius: 3px; background: var(--nf-accent); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out); }
.nf-nav .nf-menu__item--d0:hover > .nf-menu__link::after, .nf-nav .nf-menu__item--d0.is-current > .nf-menu__link::after, .nf-nav .nf-menu__item--d0.is-ancestor > .nf-menu__link::after, .nf-nav .nf-menu__item--d0.is-open > .nf-menu__link::after { transform: scaleX(1); }
.nf-nav .has-sub > .nf-menu__link { padding-right: 4px; }
.nf-menu__toggle { display: inline-grid; place-items: center; width: 26px; height: 32px; padding: 0; margin-right: 4px; border: 0; background: none; color: var(--nf-muted); border-radius: 6px; }
.nf-menu__toggle .nf-i { width: 16px; height: 16px; transition: transform .25s; }
.nf-menu__item.is-open > .nf-menu__toggle .nf-i { transform: rotate(180deg); }
.nf-nav .nf-menu__sub {
  position: absolute; top: calc(100% + 18px); left: -14px; z-index: 5; width: 380px; list-style: none; margin: 0; padding: 12px;
  background: var(--nf-light); border-radius: var(--nf-radius-lg); box-shadow: var(--shadow-2); border: 1px solid var(--nf-line);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .22s, transform .3s var(--ease-out), visibility 0s .3s;
}
.nf-nav .nf-menu__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -21px; height: 21px; }
.nf-nav .nf-menu__item--d0:hover > .nf-menu__sub, .nf-nav .nf-menu__item--d0.is-open > .nf-menu__sub, .nf-nav .nf-menu__item--d0:focus-within > .nf-menu__sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nf-nav .nf-menu__sub .nf-menu__item { display: block; }
.nf-nav .nf-menu__sub .nf-menu__link { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: var(--nf-radius); color: var(--nf-deep); text-decoration: none; transition: background .2s; }
.nf-nav .nf-menu__sub .nf-menu__link:hover, .nf-nav .nf-menu__sub .is-current > .nf-menu__link { background: var(--nf-paper); }
.nf-menu__icon { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 11px; background: var(--nf-accent-soft); color: var(--nf-accent-on-light); transition: transform .35s var(--ease-out), background .25s, color .25s; }
.nf-menu__icon .nf-i { width: 20px; height: 20px; }
.nf-menu__link:hover .nf-menu__icon { transform: rotate(-8deg) scale(1.06); background: var(--nf-accent); color: var(--nf-dark); }
.nf-menu__text { display: flex; flex-direction: column; gap: 3px; }
.nf-menu__title { font: 700 .96rem/1.2 var(--nf-f-ui); }
.nf-menu__desc { font: 400 .82rem/1.35 var(--nf-f-body); color: var(--nf-muted); }
/* Two-column dropdown (Services, Service Areas). */
.nf-nav .nf-menu__item--cols > .nf-menu__sub { width: 620px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.nf-nav .nf-menu__item--cols:last-of-type > .nf-menu__sub, .nf-nav .nf-menu__item--right > .nf-menu__sub { left: auto; right: -14px; }

.nf-header__actions { display: flex; align-items: center; gap: 14px; margin-left: 10px; }
.nf-header__phone { display: inline-flex; align-items: center; gap: 10px; color: var(--nf-deep); text-decoration: none; line-height: 1.05; }
.nf-header__phone .nf-i { width: 22px; height: 22px; color: var(--nf-accent-on-light); }
.nf-header__phone span { display: flex; flex-direction: column; font: 800 1.12rem/1.05 var(--nf-f-display); letter-spacing: -.01em; }
.nf-header__phone small { font: 600 .7rem/1.2 var(--nf-f-ui); letter-spacing: .1em; text-transform: uppercase; color: var(--nf-muted); }
.nf-header__phone:hover { color: var(--nf-accent-on-light); }
.nf-header__phone:hover .nf-i { animation: nf-ring .7s ease both; }
.nf-header__iconcall { display: none; width: 46px; height: 46px; place-items: center; border-radius: var(--nf-radius-btn); background: var(--nf-deep); color: var(--nf-on-deep); }
.nf-header__iconcall .nf-i { width: 20px; height: 20px; }
.nf-burger { display: none; align-items: center; gap: 10px; min-height: 46px; padding: 0 14px; border: 1.5px solid var(--nf-line); border-radius: var(--nf-radius-btn); background: var(--nf-light); color: var(--nf-deep); font: 700 .86rem/1 var(--nf-f-ui); letter-spacing: .06em; text-transform: uppercase; }
.nf-burger__box { display: grid; gap: 4px; width: 20px; }
.nf-burger__box span { display: block; height: 2.5px; background: currentColor; border-radius: 2px; }
.nf-burger__box span:nth-child(2) { width: 70%; margin-left: auto; background: var(--nf-accent); }

/* --------------------------------------------------------------- drawer */
.nf-drawer { position: fixed; inset: 0; z-index: 200; }
.nf-drawer__scrim { position: absolute; inset: 0; background: rgb(var(--nf-dark-rgb) / .7); backdrop-filter: blur(3px); animation: nf-fade-in .3s ease both; }
.nf-drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(430px, 100%); overflow-y: auto; overscroll-behavior: contain;
  display: flex; flex-direction: column; gap: 22px; padding: 18px 22px 30px;
  background: var(--nf-deep); color: var(--nf-light); border-left: 4px solid var(--nf-accent);
  animation: nf-drawer-in .45s var(--ease-out) both;
}
.nf-drawer.is-closing .nf-drawer__panel { animation: nf-drawer-out .35s ease both; }
.nf-drawer.is-closing .nf-drawer__scrim { animation: nf-fade-out .35s ease both; }
.nf-drawer__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--nf-line-dark); }
.nf-drawer__brand { color: inherit; text-decoration: none; }
.nf-drawer__close { display: grid; place-items: center; width: 46px; height: 46px; border: 1.5px solid rgb(var(--nf-light-rgb) / .25); border-radius: var(--nf-radius-btn); background: transparent; color: var(--nf-light); }
.nf-drawer__close .nf-i { width: 22px; height: 22px; }
.nf-menu--drawer { flex-direction: column; align-items: stretch; gap: 0; }
.nf-menu--drawer .nf-menu__item { flex-wrap: wrap; border-bottom: 1px solid var(--nf-line-dark); }
.nf-menu--drawer .nf-menu__item--d0 > .nf-menu__link { flex: 1; padding: 15px 2px; color: var(--nf-light); font: 800 1.35rem/1.1 var(--nf-f-display); letter-spacing: -.01em; text-decoration: none; }
.nf-menu--drawer .nf-menu__toggle { width: 46px; height: 46px; margin: 0; border: 1px solid var(--nf-line-dark); color: var(--nf-light); }
.nf-menu--drawer .nf-menu__sub { display: none; width: 100%; list-style: none; margin: 0; padding: 4px 0 12px; }
.nf-menu--drawer .is-open > .nf-menu__sub { display: block; }
.nf-menu--drawer .nf-menu__sub .nf-menu__item { border: 0; }
.nf-menu--drawer .nf-menu__sub .nf-menu__link { display: flex; gap: 12px; align-items: center; padding: 8px 4px; color: rgb(var(--nf-light-rgb) / .88); text-decoration: none; }
.nf-menu--drawer .nf-menu__sub .nf-menu__icon { width: 34px; height: 34px; background: var(--nf-deep-3); color: var(--nf-accent-on-dark); }
.nf-menu--drawer .nf-menu__desc { display: none; }
.nf-menu--drawer .is-current > .nf-menu__link { color: var(--nf-accent-on-dark); }
.nf-drawer__cta { padding: 18px; border-radius: var(--nf-radius-lg); background: var(--nf-deep-2); border: 1px solid var(--nf-line-dark); display: grid; gap: 12px; }
.nf-drawer__ctatitle { margin: 0; font: 800 1.35rem/1.08 var(--nf-f-display); letter-spacing: -.01em; }
.nf-drawer__meta { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: rgb(var(--nf-light-rgb) / .8); font-size: .96rem; }
.nf-drawer__meta li { display: flex; gap: 10px; align-items: flex-start; }
.nf-drawer__meta .nf-i { width: 18px; height: 18px; flex: none; margin-top: 4px; color: var(--nf-accent-on-dark); }
.nf-drawer__meta a { color: inherit; }
@keyframes nf-drawer-in { from { transform: translateX(104%); } }
@keyframes nf-drawer-out { to { transform: translateX(104%); } }
@keyframes nf-fade-in { from { opacity: 0; } }
@keyframes nf-fade-out { to { opacity: 0; } }

.nf-social { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.nf-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid rgb(var(--nf-light-rgb) / .22); color: rgb(var(--nf-light-rgb) / .88); transition: background .2s, border-color .2s, color .2s, transform .25s var(--ease-out); }
.nf-social a:hover { background: var(--nf-accent); border-color: var(--nf-accent); color: var(--nf-dark); transform: translateY(-2px); }
.nf-social .nf-i { width: 18px; height: 18px; }
.nf-social--top a { width: 28px; height: 28px; border: 0; }
.nf-social--top .nf-i { width: 15px; height: 15px; }
.nf-social--inline a { border-color: rgb(var(--nf-deep-rgb) / .25); color: var(--nf-deep); }

/* ------------------------------------------------------------------ hero */
.nf-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--nf-deep); color: rgb(var(--nf-light-rgb) / .9); }
.nf-hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.nf-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgb(var(--nf-deep-rgb) / .96) 0%, rgb(var(--nf-deep-rgb) / .84) 40%, rgb(var(--nf-deep-rgb) / .45) 75%, rgb(var(--nf-deep-rgb) / .3) 100%), linear-gradient(0deg, rgb(var(--nf-deep-rgb) / .85) 0%, transparent 45%); }
.nf-bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: translate3d(0, var(--py, 0px), 0) scale(1.14); will-change: transform; }
.nf-hero__inner { position: relative; z-index: 2; }
/* Page heroes end in an angled box flap. */
.nf-hero--page { clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--flap)), 0 100%); margin-bottom: calc(var(--flap) * -1); }
.nf-hero--page + .nf-section { padding-top: calc(var(--sec-pad) + var(--flap)); }
.nf-hero--page .nf-hero__inner { padding-block: clamp(96px, 11vw, 150px) calc(clamp(64px, 7vw, 96px) + var(--flap)); }
.nf-hero--compact .nf-hero__inner { padding-block: clamp(80px, 8vw, 116px) calc(clamp(48px, 5vw, 72px) + var(--flap)); }
.nf-hero__title { max-width: 18ch; margin: 0 0 .35em; color: var(--nf-light); font: 900 clamp(2.5rem, 1.35rem + 4.3vw, 4.9rem)/.98 var(--nf-f-display); letter-spacing: -.03em; text-wrap: balance; }
.nf-hero--page .nf-hero__title { max-width: 21ch; font-size: clamp(2.3rem, 1.4rem + 3.4vw, 4.1rem); }
.nf-hero__title .nf-line { display: block; }
.nf-hero__title .nf-line--accent, .nf-hero__title .nf-accent { color: var(--nf-accent-on-dark); }
.nf-hero__title .nf-hand { font-size: .62em; vertical-align: .18em; margin-left: .15em; }
.nf-hero__sub { max-width: 60ch; margin: 0 0 1.9rem; font-size: clamp(1.06rem, 1rem + .4vw, 1.24rem); line-height: 1.62; color: rgb(var(--nf-light-rgb) / .86); }
.nf-hero .nf-kicker { margin-bottom: 1.2rem; }
.nf-hero .nf-trust { margin-top: 2rem; }

/* Breadcrumbs */
.nf-crumbs { margin: 0 0 1.4rem; }
.nf-crumbs ol { display: flex; flex-wrap: wrap; gap: 6px 10px; list-style: none; margin: 0; padding: 0; font: 600 .8rem/1.3 var(--nf-f-ui); letter-spacing: .04em; }
.nf-crumbs li { display: inline-flex; align-items: center; gap: 10px; color: rgb(var(--nf-light-rgb) / .66); }
.nf-crumbs li + li::before { content: ""; width: 6px; height: 6px; border-top: 2px solid var(--nf-accent); border-right: 2px solid var(--nf-accent); transform: rotate(45deg); }
.nf-crumbs a { color: rgb(var(--nf-light-rgb) / .88); text-decoration: none; }
.nf-crumbs a:hover { color: var(--nf-light); }
.nf-crumbs [aria-current] { color: var(--nf-light); }

/* Home hero */
.nf-hero--home { min-height: min(calc(100svh - var(--header-h) - 40px), 860px); display: flex; align-items: center; }
.nf-hero--home .nf-hero__inner { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr); gap: clamp(28px, 4vw, 60px); align-items: center; padding-block: clamp(64px, 7vw, 108px) clamp(84px, 8vw, 120px); }
.nf-hero--home .nf-hero__title { max-width: 12em; font-size: clamp(2.6rem, 1.3rem + 4.4vw, 5rem); }

/* The hero's side panel: "Moving soon?" with three steps and the two actions. */
.nf-hero__panel { position: relative; padding: 26px 26px 22px; border-radius: var(--nf-radius-lg); background: rgb(var(--nf-light-rgb) / .96); color: var(--nf-text); box-shadow: 0 34px 70px -30px rgb(0 0 0 / .85); }
.nf-hero__panel::before { content: ""; position: absolute; left: 50%; top: -12px; width: 120px; height: 24px; margin-left: -60px; background: var(--nf-accent) var(--tape); transform: rotate(-3deg); box-shadow: 0 4px 10px rgb(0 0 0 / .25); }
.nf-hero__panel .nf-hand { display: block; margin-bottom: 4px; font-size: 1.6rem; color: var(--nf-accent-on-light); }
.nf-hero__paneltitle { margin: 0 0 14px; font: 800 1.55rem/1.08 var(--nf-f-display); letter-spacing: -.02em; color: var(--nf-deep); }
.nf-hero__steps { list-style: none; counter-reset: hs; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.nf-hero__steps li { counter-increment: hs; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; font-size: .98rem; line-height: 1.45; }
.nf-hero__steps li::before { content: counter(hs); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--nf-deep); color: var(--nf-light); font: 800 .95rem/1 var(--nf-f-display); }
.nf-hero__steps strong { display: block; color: var(--nf-deep); font-family: var(--nf-f-ui); }
.nf-hero__panel .nf-btn { width: 100%; justify-content: center; }
.nf-hero__panel .nf-actions { display: grid; gap: 10px; }
.nf-hero__panel .nf-btn--ghost { --btn-fg: var(--nf-deep); --btn-bd: rgb(var(--nf-deep-rgb) / .35); color: var(--nf-deep); }
.nf-hero__panel .nf-btn--ghost .nf-btn__icon { background: rgb(var(--nf-deep-rgb) / .08); }
.nf-hero__panel .nf-btn--ghost:hover { --btn-bg: var(--nf-deep); --btn-fg: var(--nf-on-deep); color: var(--nf-on-deep); }

/* Fader (cross-fading photos) */
.nf-fader { position: absolute; inset: 0; overflow: hidden; background: var(--nf-deep); }
.nf-fader > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.6s ease; }
.nf-fader > img.is-on { opacity: 1; animation: nf-kenburns 12s ease-out both; }
.nf-fader > img:nth-child(2n).is-on { animation-name: nf-kenburns-2; }
@keyframes nf-kenburns { from { transform: scale(1.16) translate(1.5%, 1%); } to { transform: scale(1.03); } }
@keyframes nf-kenburns-2 { from { transform: scale(1.03); } to { transform: scale(1.16) translate(-1.5%, -1%); } }
.nf-fader__dots { position: absolute; left: 50%; translate: -50% 0; bottom: 30px; z-index: 4; display: flex; gap: 8px; }
.nf-fader__dots button { width: 11px; height: 11px; padding: 0; border-radius: 50%; border: 2px solid var(--nf-light); background: transparent; opacity: .85; transition: background .3s, width .3s; }
.nf-fader__dots button.is-on { background: var(--nf-accent); border-color: var(--nf-accent); width: 30px; border-radius: 6px; }


/* ----------------------------------------------------------------- icons */
.nf-i { width: 24px; height: 24px; }
.nf-ring { display: inline-grid; place-items: center; width: 64px; height: 64px; flex: none; border-radius: 20px; background: var(--nf-accent-soft); color: var(--nf-accent-on-light); transition: transform .5s var(--ease-spring), background .3s, color .3s; }
.nf-ring .nf-i { width: 30px; height: 30px; }
.nf-section--deep .nf-ring, .nf-section--alt .nf-ring { background: rgb(var(--nf-accent-rgb) / .16); color: var(--nf-accent-on-dark); }

/* ----------------------------------------------------------------- cards */
.nf-card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 2.6vw, 32px); border-radius: var(--nf-radius-lg); background: var(--nf-light); border: 1px solid var(--nf-line); box-shadow: var(--shadow-1); transition: transform .45s var(--ease-out), box-shadow .45s, border-color .45s; overflow: hidden; }
.nf-card::before { content: ""; position: absolute; z-index: 4; left: 22px; top: -2px; width: 74px; height: 14px; background: var(--nf-accent) var(--tape); transform: translateY(-120%) rotate(-3deg); transition: transform .5s var(--ease-spring); }
.nf-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); border-color: rgb(var(--nf-accent-rgb) / .35); }
.nf-card:hover::before { transform: translateY(0) rotate(-3deg); }
.nf-card:hover .nf-ring { transform: rotate(-8deg) scale(1.06); background: var(--nf-accent); color: var(--nf-dark); }
.nf-card__title { margin: 0; font-size: 1.3rem; color: var(--nf-deep); }
.nf-card__title a { color: inherit; text-decoration: none; }
.nf-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.nf-card__text { margin: 0; color: var(--nf-muted); }
.nf-card__more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 6px; font: 700 .9rem/1 var(--nf-f-ui); color: var(--nf-accent-on-light); }
.nf-card__more .nf-i { width: 17px; height: 17px; transition: transform .35s var(--ease-out); }
.nf-card:hover .nf-card__more .nf-i, .nf-post:hover .nf-card__more .nf-i { transform: translateX(6px); }
.nf-card__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.nf-card__list li { position: relative; padding-left: 22px; font-size: .96rem; }
.nf-card__list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 11px; height: 3px; border-radius: 2px; background: var(--nf-accent); }
.nf-section--deep .nf-card, .nf-section--alt .nf-card { background: var(--nf-deep-2); border-color: var(--nf-line-dark); color: rgb(var(--nf-light-rgb) / .85); }
.nf-section--deep .nf-card__title, .nf-section--alt .nf-card__title { color: var(--nf-light); }
.nf-section--deep .nf-card__text, .nf-section--alt .nf-card__text { color: rgb(var(--nf-light-rgb) / .74); }
.nf-section--deep .nf-card__more, .nf-section--alt .nf-card__more { color: var(--nf-accent-on-dark); }
/* A featured card. */
.nf-card--feature { border: 2px solid rgb(var(--nf-accent-rgb) / .5); }
.nf-card__badge { position: absolute; right: 16px; top: 16px; z-index: 3; padding: 5px 10px; border-radius: 999px; background: var(--nf-deep); color: var(--nf-light); font: 700 .7rem/1 var(--nf-f-ui); letter-spacing: .08em; text-transform: uppercase; }

/* Photo cards: image on top */
.nf-card--photo { padding: 0; gap: 0; }
.nf-card__media { position: relative; aspect-ratio: 16 / 10; background: var(--nf-deep); }
.nf-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.nf-card--photo:hover .nf-card__media img { transform: scale(1.07); }
.nf-card--photo > .nf-ring { position: relative; z-index: 3; margin: -32px 0 0 22px; box-shadow: 0 0 0 5px var(--nf-light); background: var(--nf-accent); color: var(--nf-dark); }
.nf-card--photo .nf-card__title { padding: 16px clamp(22px, 2.4vw, 28px) 0; }
.nf-card--photo .nf-card__text { padding: 8px clamp(22px, 2.4vw, 28px) 0; }
.nf-card--photo .nf-card__more { padding: 14px clamp(22px, 2.4vw, 28px) 26px; }
.nf-card--photo:hover > .nf-ring { background: var(--nf-deep); color: var(--nf-accent-on-dark); }

/* -------------------------------------------------------------- features */
.nf-features { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.nf-feature { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
.nf-feature__title { margin: 4px 0 6px; font-size: 1.15rem; }
.nf-feature p { margin: 0; color: var(--nf-muted); }
.nf-section--deep .nf-feature p, .nf-section--alt .nf-feature p { color: rgb(var(--nf-light-rgb) / .76); }
.nf-features--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 34px; }

/* ------------------------------------------------------------- checklist */
.nf-checks { list-style: none; margin: 0 0 1.4em; padding: 0; display: grid; gap: 11px; }
.nf-checks li { position: relative; padding-left: 36px; }
.nf-checks li::before { content: ""; position: absolute; left: 0; top: .16em; width: 24px; height: 24px; border-radius: 7px; background: var(--nf-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2318151a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6.5 9.2 17.3 4 12.1'/%3E%3C/svg%3E") center / 15px no-repeat; }
.nf-checks--2col { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px 28px; }
.nf-checks--3col { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px 24px; }
.nf-section--deep .nf-checks li, .nf-section--alt .nf-checks li { color: rgb(var(--nf-light-rgb) / .86); }
.nf-crosses { list-style: none; margin: 0 0 1.4em; padding: 0; display: grid; gap: 11px; }
.nf-crosses li { position: relative; padding-left: 36px; }
.nf-crosses li::before { content: "×"; position: absolute; left: 0; top: .1em; width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; background: rgb(var(--nf-deep-rgb) / .1); color: var(--nf-deep); font: 800 1.1rem/1 var(--nf-f-ui); }
:is(.nf-section--deep, .nf-section--alt, .nf-section--photo) .nf-crosses li::before { background: rgb(var(--nf-light-rgb) / .12); color: var(--nf-accent-on-dark); }

/* ----------------------------------------------------------------- steps */
/* Numbered steps joined by a dashed line with a machine travelling along it. */
.nf-steps { counter-reset: step; position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--steps, 4), minmax(0, 1fr)); gap: 24px; }
.nf-steps::before { content: ""; position: absolute; left: 34px; right: calc((100% - (var(--steps, 4) - 1) * 24px) / var(--steps, 4) - 34px); top: 32px; height: 4px; border-radius: 4px; background: repeating-linear-gradient(90deg, var(--nf-accent) 0 18px, transparent 18px 30px); }
.nf-steps::after { content: ""; position: absolute; top: 14px; left: 34px; width: 40px; height: 40px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2318151a'%3E%3Cpath d='M1.5 5.5h12.5v11.5H1.5z'/%3E%3Cpath d='M14 9h4l3.5 3.8V17H14z'/%3E%3Ccircle cx='6' cy='17.8' r='2.2' fill='%23fff' stroke='%2318151a' stroke-width='1.6'/%3E%3Ccircle cx='17.3' cy='17.8' r='2.2' fill='%23fff' stroke='%2318151a' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat; animation: nf-drive 9s var(--ease-out) infinite; z-index: 2; }
.nf-step { position: relative; counter-increment: step; }
.nf-step::before { content: counter(step); position: relative; z-index: 1; display: grid; place-items: center; width: 66px; height: 66px; margin-bottom: 20px; border-radius: 50%; background: var(--nf-deep); color: var(--nf-light); font: 900 1.4rem/1 var(--nf-f-display); box-shadow: 0 0 0 5px var(--nf-paper), 0 0 0 8px var(--nf-accent), 0 18px 30px -14px rgb(var(--nf-dark-rgb) / .8); }
.nf-section--white .nf-step::before { box-shadow: 0 0 0 5px var(--nf-light), 0 0 0 8px var(--nf-accent), 0 18px 30px -14px rgb(var(--nf-dark-rgb) / .8); }
.nf-section--deep .nf-step::before { background: var(--nf-deep-3); box-shadow: 0 0 0 5px var(--nf-deep), 0 0 0 8px var(--nf-accent); }
.nf-step__title { margin: 0 0 8px; font-size: 1.2rem; }
.nf-step p { margin: 0; color: var(--nf-muted); }
.nf-section--deep .nf-step p { color: rgb(var(--nf-light-rgb) / .76); }
@keyframes nf-drive { 0% { left: 20px; opacity: 0; } 8% { opacity: 1; } 80% { opacity: 1; } 100% { left: calc(100% - 120px); opacity: 0; } }

/* ---------------------------------------------------- split & photo frame */
.nf-split { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); gap: clamp(32px, 5.5vw, 84px); align-items: center; }
.nf-split--reverse > .nf-split__media { order: -1; }
.nf-split--contact { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: start; }
.nf-split__body > :last-child { margin-bottom: 0; }
.nf-frame { position: relative; margin: 0; }
.nf-frame > img { position: relative; width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; border-radius: var(--nf-radius-lg); box-shadow: var(--shadow-2); }
/* Framed photos (riveted copper in the Redline layer). */
.nf-frame::before, .nf-frame::after { content: ""; position: absolute; z-index: 2; width: 110px; height: 26px; background: rgb(var(--nf-accent-rgb) / .92) var(--tape); box-shadow: 0 3px 8px rgb(0 0 0 / .2); pointer-events: none; transition: transform .6s var(--ease-spring); }
.nf-frame::before { left: -24px; top: 14px; transform: rotate(-38deg); }
.nf-frame::after { right: -24px; bottom: 14px; transform: rotate(-38deg); }
.nf-frame:hover::before { transform: rotate(-34deg) translate(-4px, -2px); }
.nf-frame:hover::after { transform: rotate(-34deg) translate(4px, 2px); }
.nf-frame__tag { position: absolute; left: 18px; bottom: 18px; z-index: 3; max-width: calc(100% - 36px); padding: 9px 14px; border-radius: var(--nf-radius); background: rgb(var(--nf-deep-rgb) / .9); color: var(--nf-light); font: 600 .84rem/1.35 var(--nf-f-ui); border-left: 4px solid var(--nf-accent); }
.nf-frame--tall > img { aspect-ratio: 4 / 4.8; }

/* ------------------------------------------------------------- statement */
.nf-section--photo { background: var(--nf-deep); overflow: hidden; }
.nf-section__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.nf-section__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(var(--nf-deep-rgb) / .9), rgb(var(--nf-deep-rgb) / .7)), radial-gradient(ellipse at 50% 120%, rgb(var(--nf-accent-rgb) / .3), transparent 60%); }
.nf-statement { text-align: center; }
.nf-statement__text { max-width: 20ch; margin: 0 auto .5em; color: var(--nf-light); font: 900 clamp(2.2rem, 1.3rem + 4vw, 4.6rem)/1 var(--nf-f-display); letter-spacing: -.03em; text-wrap: balance; }
.nf-statement__text .nf-line { display: block; }
.nf-statement__text .nf-line--accent { color: var(--nf-accent-on-dark); }
.nf-statement .nf-actions { justify-content: center; }
.nf-statement__sub { max-width: 60ch; margin: 0 auto 2rem; font-size: 1.14rem; color: rgb(var(--nf-light-rgb) / .84); }


/* ------------------------------------------------------------- reviews */
.nf-review { position: relative; display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 26px 24px 22px; border-radius: var(--nf-radius-lg); background: var(--nf-light); border: 1px solid var(--nf-line); box-shadow: var(--shadow-1); transition: transform .45s var(--ease-out), box-shadow .45s; }
.nf-review::after { content: "“"; position: absolute; right: 18px; top: -6px; font: 900 6rem/1 var(--nf-f-display); color: rgb(var(--nf-accent-rgb) / .16); pointer-events: none; }
.nf-review:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.nf-review__stars { display: flex; gap: 2px; color: var(--nf-accent); }
.nf-review__stars .nf-i { width: 18px; height: 18px; }
.nf-review blockquote { margin: 0; flex: 1; }
.nf-review blockquote p { margin: 0; font-size: 1.02rem; line-height: 1.6; color: var(--nf-text); }
.nf-review figcaption { display: flex; flex-direction: column; gap: 2px; padding-top: 12px; border-top: 1px dashed var(--nf-line); }
.nf-review figcaption strong { font: 700 1rem/1.2 var(--nf-f-ui); color: var(--nf-deep); }
.nf-review figcaption span { font: 500 .82rem/1.35 var(--nf-f-ui); color: var(--nf-muted); }
.nf-section--deep .nf-review, .nf-section--alt .nf-review { background: var(--nf-deep-2); border-color: var(--nf-line-dark); }
.nf-section--deep .nf-review blockquote p { color: rgb(var(--nf-light-rgb) / .88); }
.nf-section--deep .nf-review figcaption strong { color: var(--nf-light); }
.nf-section--deep .nf-review figcaption span { color: var(--nf-muted-dark); }
.nf-trustindex { min-height: 120px; }


/* ------------------------------------------------------------------- FAQ */
.nf-faq { display: grid; gap: 12px; }
.nf-faq__item { border-radius: var(--nf-radius-lg); background: var(--nf-light); border: 1px solid var(--nf-line); box-shadow: 0 1px 2px rgb(var(--nf-dark-rgb) / .05); transition: box-shadow .3s, border-color .3s; }
.nf-faq__item[open] { border-color: rgb(var(--nf-accent-rgb) / .55); box-shadow: var(--shadow-1); }
.nf-faq__item summary { position: relative; display: flex; align-items: center; gap: 16px; padding: 20px 66px 20px 24px; cursor: pointer; list-style: none; font: 700 1.1rem/1.35 var(--nf-f-ui); color: var(--nf-deep); }
.nf-faq__item summary::-webkit-details-marker { display: none; }
.nf-faq__item summary::before, .nf-faq__item summary::after { content: ""; position: absolute; right: 26px; top: 50%; width: 18px; height: 3px; margin-top: -1.5px; border-radius: 2px; background: var(--nf-accent); transition: transform .35s var(--ease-out); }
.nf-faq__item summary::after { transform: rotate(90deg); }
.nf-faq__item[open] summary::after { transform: rotate(0); }
.nf-faq__item summary:hover { color: var(--nf-accent-on-light); }
.nf-faq__a { padding: 0 24px 22px; color: var(--nf-text); }
.nf-faq__a > :last-child { margin-bottom: 0; }
.nf-section--deep .nf-faq__item { background: var(--nf-deep-2); border-color: var(--nf-line-dark); }
.nf-section--deep .nf-faq__item summary { color: var(--nf-light); }
.nf-section--deep .nf-faq__a { color: rgb(var(--nf-light-rgb) / .82); }

/* ---------------------------------------------------------- chips, note */
.nf-chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0 0 1em; padding: 0; }
.nf-chips--center { justify-content: center; }
.nf-chips li { display: inline-flex; }
.nf-chips li > a, .nf-chips li:not(:has(a)) { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 6px 18px; border-radius: 999px; border: 1.5px solid rgb(var(--nf-deep-rgb) / .2); background: var(--nf-light); color: var(--nf-deep); font: 600 .94rem/1.25 var(--nf-f-ui); text-align: center; text-wrap: balance; text-decoration: none; transition: background .2s, color .2s, border-color .2s, transform .25s var(--ease-out); }
.nf-chips li > a:hover { background: var(--nf-accent); border-color: var(--nf-accent); color: var(--nf-dark); transform: translateY(-2px); }
.nf-chips li span { opacity: .7; font-weight: 500; font-size: .86em; }
.nf-section--deep .nf-chips li > a, .nf-section--deep .nf-chips li:not(:has(a)), .nf-section--alt .nf-chips li > a, .nf-section--alt .nf-chips li:not(:has(a)) { background: transparent; color: var(--nf-light); border-color: rgb(var(--nf-light-rgb) / .25); }
.nf-note { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; margin: 0 0 1.2em; border-radius: var(--nf-radius-lg); background: var(--nf-alt-soft); border-left: 5px solid var(--nf-alt); }
.nf-note .nf-i { flex: none; width: 24px; height: 24px; color: var(--nf-alt-on-light); margin-top: 2px; }
.nf-note p { margin: 0; }
.nf-note--warm { background: var(--nf-accent-soft); border-left-color: var(--nf-accent); }
.nf-note--warm .nf-i { color: var(--nf-accent-on-light); }
.nf-section--deep .nf-note { background: rgb(var(--nf-light-rgb) / .06); border-left-color: var(--nf-accent); }
.nf-section--deep .nf-note .nf-i { color: var(--nf-accent-on-dark); }

/* ------------------------------------------------------------------ table */
.nf-table { overflow-x: auto; margin: 0 0 1.4em; border-radius: var(--nf-radius-lg); border: 1px solid var(--nf-line); background: var(--nf-light); -webkit-overflow-scrolling: touch; }
.nf-table table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: .97rem; }
.nf-table th, .nf-table td { padding: 12px 16px; text-align: left; border-top: 1px solid var(--nf-line); vertical-align: top; }
.nf-table thead th { background: var(--nf-deep); color: var(--nf-light); font: 700 .8rem/1.2 var(--nf-f-ui); letter-spacing: .06em; text-transform: uppercase; border: 0; }
.nf-table tbody tr:nth-child(even) { background: rgb(var(--nf-paper-rgb) / .7); }
.nf-table caption { caption-side: bottom; padding: 10px 14px; text-align: left; font-size: .86rem; color: var(--nf-muted); }

/* --------------------------------------------------------------- gallery */
.nf-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.nf-gallery__item { position: relative; display: block; overflow: hidden; border-radius: var(--nf-radius-lg); aspect-ratio: 4 / 3; background: var(--nf-deep); }
.nf-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.nf-gallery__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(var(--nf-deep-rgb) / .85), transparent 55%); opacity: .75; transition: opacity .4s; }
.nf-gallery__item:hover img { transform: scale(1.08); }
.nf-gallery__item:hover::after { opacity: 1; }
.nf-gallery__cap { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 2; color: var(--nf-light); font: 600 .94rem/1.3 var(--nf-f-ui); }
.nf-gallery__item:nth-child(1) { grid-row: span 2; aspect-ratio: auto; }
.nf-gallery > br { display: none; }

/* ---------------------------------------------------- marquee */
/* The job-type strip under the home hero (hazard tape in the Redline layer);
   it paints the hero/next-section boundary on its own diagonal. */
.nf-marquee { position: relative; z-index: 3; padding: 34px 0; overflow: hidden; background: transparent; margin-block: -24px; pointer-events: none; }
.nf-marquee__viewport { position: relative; overflow: hidden; background: var(--nf-accent) var(--tape); color: var(--nf-dark); transform: rotate(-1.6deg); margin-inline: -20px; box-shadow: 0 10px 24px -10px rgb(var(--nf-dark-rgb) / .5); pointer-events: auto; }
.nf-marquee::before { content: ""; position: absolute; left: -20px; right: -20px; top: 50%; height: 46px; margin-top: -23px; background: var(--nf-deep); transform: rotate(1.4deg); }
.nf-marquee__track { display: flex; width: max-content; animation: nf-marquee 70s linear infinite; }
.nf-marquee:hover .nf-marquee__track { animation-play-state: paused; }
.nf-marquee__group { display: flex; align-items: center; flex: none; padding-block: 14px; }
.nf-marquee__item { padding: 0 20px; font: 900 clamp(1.15rem, .95rem + .9vw, 1.6rem)/1 var(--nf-f-display); letter-spacing: -.01em; text-transform: uppercase; white-space: nowrap; }
.nf-marquee__item--outline { -webkit-text-fill-color: transparent; -webkit-text-stroke: 1.4px var(--nf-dark); }
@supports not (-webkit-text-stroke: 1px black) { .nf-marquee__item--outline { -webkit-text-fill-color: currentColor; } }
.nf-marquee__sep { display: inline-grid; color: var(--nf-dark); }
.nf-marquee__sep .nf-i { width: 22px; height: 22px; }
.nf-marquee.is-static .nf-marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
.nf-marquee.is-static .nf-marquee__group + .nf-marquee__group { display: none; }
.nf-marquee.is-static .nf-marquee__group { flex-wrap: wrap; justify-content: center; row-gap: 8px; }
@keyframes nf-marquee { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------------- map */
.nf-map { margin: 0; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(26px, 4vw, 56px); align-items: center; }
.nf-map__stage { position: relative; }
.nf-map__svg { width: 100%; height: auto; color: var(--nf-accent); overflow: visible; }
.nf-map__disc { fill: var(--nf-deep-2); stroke: rgb(var(--nf-light-rgb) / .14); stroke-width: 2; }
.nf-map__lake:not(.nf-map__lake--waves) { fill: rgb(var(--nf-alt-rgb) / .75); }
.nf-map__wave { stroke: rgb(var(--nf-light-rgb) / .12); stroke-width: 1; }
.nf-map__river { fill: none; stroke: rgb(var(--nf-alt-rgb) / .9); stroke-width: 4; stroke-linecap: round; }
.nf-map__border { fill: none; stroke: rgb(var(--nf-light-rgb) / .35); stroke-width: 1.6; stroke-dasharray: 7 6; }
.nf-map__glow { color: var(--nf-accent); }
.nf-map__state { fill: rgb(var(--nf-light-rgb) / .34); font: 700 13px/1 var(--nf-f-ui); letter-spacing: .32em; text-transform: uppercase; }
.nf-map__water { fill: rgb(var(--nf-light-rgb) / .5); font: 700 18px/1 var(--nf-f-accent); }
.nf-map__route { fill: none; stroke: var(--nf-accent); stroke-width: 2; stroke-dasharray: 3 4; stroke-linecap: round; opacity: .85; }
.nf-map__route.is-hi { stroke-width: 3.5; opacity: 1; stroke-dasharray: none; }
.nf-map__town .nf-map__dot { fill: rgb(var(--nf-light-rgb) / .5); }
.nf-map__city .nf-map__dot { fill: var(--nf-accent); stroke: var(--nf-deep); stroke-width: 2.5; }
.nf-map__city text { fill: var(--nf-light); font: 700 15px/1 var(--nf-f-ui); paint-order: stroke; stroke: var(--nf-deep); stroke-width: 5px; stroke-linejoin: round; }
.nf-map__city.is-hi .nf-map__dot { r: 9; fill: var(--nf-light); stroke: var(--nf-accent); stroke-width: 4; }
.nf-map__city.is-hi text { fill: var(--nf-accent-on-dark); font-size: 18px; }
.nf-map a:hover text, .nf-map a:focus text { fill: var(--nf-accent-on-dark); }
.nf-map__pulse { fill: var(--nf-accent); transform-box: fill-box; transform-origin: center; animation: nf-pulse 2.8s ease-out infinite; animation-delay: calc(var(--n) * .22s); }
.nf-map__beacon { fill: none; stroke: var(--nf-accent); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: nf-beacon 2.8s ease-out infinite; }
.nf-map__beacon--2 { animation-delay: 1.4s; }
.nf-map__homedot { fill: var(--nf-accent); stroke: var(--nf-light); stroke-width: 3; }
.nf-map__mark { color: var(--nf-dark); }
.nf-map__homelabel { fill: var(--nf-light); font: 700 20px/1 var(--nf-f-accent); }
@keyframes nf-pulse { 0% { transform: scale(1); opacity: .75; } 100% { transform: scale(3.4); opacity: 0; } }
@keyframes nf-beacon { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(4); opacity: 0; } }
.nf-map__legend { display: grid; gap: 20px; }
.nf-map__grouplabel { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font: 700 .86rem/1.2 var(--nf-f-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--nf-accent-on-dark); }
.nf-map__swatch { width: 22px; height: 8px; border-radius: 2px; background: var(--nf-accent); }
.nf-map__group--mi .nf-map__swatch { background: rgb(var(--nf-light-rgb) / .7); }
.nf-map__group ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.nf-map__group li a, .nf-map__group li:not(:has(a)) { display: inline-flex; align-items: center; min-height: 38px; padding: 4px 14px; border-radius: 999px; border: 1.5px solid var(--nf-line-dark); color: var(--nf-light); text-decoration: none; font: 600 .92rem/1.2 var(--nf-f-ui); transition: background .2s, border-color .2s, color .2s; }
.nf-map__group li.nf-map__li--town { opacity: .72; }
.nf-map__group li.nf-map__li--town:not(:has(a)) { border-style: dashed; font-weight: 500; font-size: .86rem; }
.nf-map__group li a { border-color: rgb(var(--nf-accent-rgb) / .6); }
.nf-map__group li a:hover, .nf-map__group li.is-hi a { background: var(--nf-accent); border-color: var(--nf-accent); color: var(--nf-dark); }
.nf-map__cap { grid-column: 1 / -1; margin: 0; text-align: center; font: 500 .95rem/1.45 var(--nf-f-ui); color: rgb(var(--nf-light-rgb) / .7); }
/* On light grounds the disc stays dark; the legend turns dark-on-light. */
.nf-section--white .nf-map__grouplabel, .nf-section--paper .nf-map__grouplabel { color: var(--nf-accent-on-light); }
.nf-section--white .nf-map__group li a, .nf-section--white .nf-map__group li:not(:has(a)), .nf-section--paper .nf-map__group li a, .nf-section--paper .nf-map__group li:not(:has(a)) { color: var(--nf-deep); border-color: rgb(var(--nf-deep-rgb) / .2); }
.nf-section--white .nf-map__group li a, .nf-section--paper .nf-map__group li a { border-color: rgb(var(--nf-accent-rgb) / .7); }
.nf-section--white .nf-map__cap, .nf-section--paper .nf-map__cap { color: var(--nf-muted); }
.nf-section--white .nf-map__group--mi .nf-map__swatch, .nf-section--paper .nf-map__group--mi .nf-map__swatch { background: var(--nf-deep); }

/* ---------------------------------------------------------- testimonials */
.nf-quotes { position: relative; display: grid; }
.nf-quote { grid-area: 1 / 1; margin: 0; padding: clamp(28px, 4vw, 48px); border-radius: var(--nf-radius-lg); background: var(--nf-deep-2); border: 1px solid var(--nf-line-dark); text-align: center; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .6s, transform .6s var(--ease-out), visibility 0s .6s; }
.nf-quote.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nf-quote__mark { display: inline-grid; color: var(--nf-accent); margin-bottom: 8px; }
.nf-quote__mark .nf-i { width: 42px; height: 42px; }
.nf-quote blockquote { margin: 0 0 18px; }
.nf-quote blockquote p { margin: 0; font: 600 clamp(1.15rem, 1rem + .8vw, 1.5rem)/1.5 var(--nf-f-ui); color: var(--nf-light); }
.nf-quote figcaption strong { display: block; color: var(--nf-light); font: 700 1.05rem/1.3 var(--nf-f-ui); }
.nf-quote figcaption span { font: 500 .86rem/1.4 var(--nf-f-ui); color: var(--nf-muted-dark); }
.nf-quote__sample { display: inline-block; margin-bottom: 12px; padding: 5px 10px; border-radius: 999px; background: #f5a524; color: #1c1300; font: 700 .72rem/1 var(--nf-f-ui); letter-spacing: .08em; text-transform: uppercase; }
.nf-quotes__dots { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
.nf-quotes__dot { width: 12px; height: 12px; padding: 0; border-radius: 50%; border: 2px solid rgb(var(--nf-light-rgb) / .6); background: transparent; transition: width .3s, background .3s; }
.nf-quotes__dot.is-on { width: 30px; border-radius: 6px; background: var(--nf-accent); border-color: var(--nf-accent); }

/* --------------------------------------------------- callout & call card */
.nf-callout { display: flex; align-items: center; justify-content: space-between; gap: 22px 32px; flex-wrap: wrap; padding: clamp(24px, 3vw, 36px); border-radius: var(--nf-radius-lg); background: var(--nf-deep); color: rgb(var(--nf-light-rgb) / .86); box-shadow: var(--shadow-2); position: relative; overflow: hidden; }
.nf-callout::before { content: ""; position: absolute; left: -30px; top: 18px; width: 120px; height: 22px; background: var(--nf-accent) var(--tape); transform: rotate(-35deg); }
.nf-callout__title { margin: 0 0 6px; color: var(--nf-light); font: 800 1.6rem/1.1 var(--nf-f-display); letter-spacing: -.02em; }
.nf-callout p { margin: 0; }
.nf-callout a:not(.nf-btn) { color: var(--nf-light); }
.nf-callcard { position: relative; padding: clamp(26px, 3vw, 34px); border-radius: var(--nf-radius-lg); background: var(--nf-deep); color: rgb(var(--nf-light-rgb) / .86); box-shadow: var(--shadow-2); overflow: hidden; }
.nf-callcard::before { content: ""; position: absolute; right: -24px; top: 16px; width: 110px; height: 22px; background: var(--nf-accent) var(--tape); transform: rotate(35deg); }
.nf-callcard__title { margin: 0 0 8px; font: 700 .82rem/1.3 var(--nf-f-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--nf-accent-on-dark); }
.nf-callcard__num { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 8px; color: var(--nf-light); text-decoration: none; font: 900 clamp(1.9rem, 1.5rem + 1.6vw, 2.6rem)/1 var(--nf-f-display); letter-spacing: -.02em; }
.nf-callcard__num .nf-i { width: 30px; height: 30px; color: var(--nf-accent-on-dark); }
.nf-callcard__num:hover { color: var(--nf-accent-on-dark); }
.nf-callcard__rows { list-style: none; margin: 18px 0 20px; padding: 18px 0 0; display: grid; gap: 12px; border-top: 1px solid var(--nf-line-dark); }
.nf-callcard__rows li { display: flex; gap: 12px; align-items: flex-start; }
.nf-callcard__rows .nf-i { width: 20px; height: 20px; flex: none; color: var(--nf-accent-on-dark); margin-top: 3px; }
.nf-callcard__rows strong { display: block; font: 700 .74rem/1.3 var(--nf-f-ui); letter-spacing: .1em; text-transform: uppercase; color: var(--nf-muted-dark); }
.nf-callcard__rows a { color: var(--nf-light); }

/* -------------------------------------------------------------- map embed */
.nf-mapembed { position: relative; aspect-ratio: 16 / 10; border-radius: var(--nf-radius-lg); overflow: hidden; background: var(--nf-paper-2); border: 1px solid var(--nf-line); }
.nf-mapembed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.nf-mapembed__cover { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 20px; text-align: center; background: radial-gradient(circle at 50% 40%, rgb(var(--nf-accent-rgb) / .14), transparent 60%), repeating-linear-gradient(45deg, rgb(var(--nf-deep-rgb) / .03) 0 12px, transparent 12px 24px); }
.nf-mapembed__cover > .nf-i { width: 44px; height: 44px; color: var(--nf-accent-on-light); }
.nf-mapembed__cover p { margin: 0; color: var(--nf-deep); }
.nf-mapembed__dir { font: 600 .92rem/1.3 var(--nf-f-ui); }

/* ------------------------------------------------------------------ form */
.nf-formwrap { position: relative; padding: clamp(24px, 3.2vw, 42px); border-radius: var(--nf-radius-lg); background: var(--nf-light); border: 1px solid var(--nf-line); box-shadow: var(--shadow-2); }
.nf-formwrap::before { content: ""; position: absolute; left: 50%; top: -12px; width: 140px; height: 24px; margin-left: -70px; background: var(--nf-accent) var(--tape); transform: rotate(-2deg); box-shadow: 0 4px 10px rgb(0 0 0 / .18); }
.nf-formwrap__title { margin: 0 0 18px; font: 800 1.8rem/1.08 var(--nf-f-display); letter-spacing: -.02em; color: var(--nf-deep); }
.nf-form__step { margin: 0 0 22px; padding: 0 0 22px; border: 0; border-bottom: 1px dashed var(--nf-line); min-width: 0; }
.nf-form__step:last-of-type { border-bottom: 0; padding-bottom: 0; }
.nf-form__legend { display: flex; align-items: center; gap: 10px; width: 100%; margin: 0 0 14px; padding: 0; font: 800 1.15rem/1.2 var(--nf-f-display) !important; letter-spacing: -.01em !important; text-transform: none !important; color: var(--nf-deep); }
.nf-form__num { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--nf-accent); color: var(--nf-dark); font: 900 .95rem/1 var(--nf-f-display); }
.nf-form__opt { margin-left: auto; font: 600 .74rem/1 var(--nf-f-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--nf-muted); }
.nf-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.nf-form .nf-field { display: flex; flex-direction: column; gap: 7px; margin: 0; min-width: 0; }
.nf-form .nf-field--full { grid-column: 1 / -1; }
.nf-form label, .nf-form legend { font: 700 .9rem/1.25 var(--nf-f-ui); color: var(--nf-deep); }
.nf-field__hint { margin: 0; font-size: .85rem; color: var(--nf-muted); }
.nf-req { color: var(--nf-accent-on-light); }
.nf-form input[type=text], .nf-form input[type=email], .nf-form input[type=tel], .nf-form input[type=date], .nf-form select, .nf-form textarea {
  width: 100%; min-height: 54px; padding: 12px 15px; border: 1.5px solid rgb(var(--nf-deep-rgb) / .22); border-radius: var(--nf-radius); background: var(--nf-light); color: var(--nf-dark); font: 400 1rem/1.4 var(--nf-f-body); transition: border-color .2s, box-shadow .2s; }
.nf-form textarea { min-height: 120px; resize: vertical; }
.nf-form select { appearance: none; background: var(--nf-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1a1f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; padding-right: 42px; }
.nf-form input:focus, .nf-form select:focus, .nf-form textarea:focus { outline: none; border-color: var(--nf-accent); box-shadow: 0 0 0 4px rgb(var(--nf-accent-rgb) / .2); }
.nf-form ::placeholder { color: rgb(var(--nf-deep-rgb) / .48); }
.nf-form .has-error input, .nf-form .has-error textarea, .nf-form .has-error select { border-color: #c0262d; background: rgb(192 38 45 / .04); }
.nf-field__error { margin: 0; font: 600 .88rem/1.35 var(--nf-f-ui); color: #b3242a; }
.nf-form__alert { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 18px; padding: 12px 14px; border-radius: var(--nf-radius); background: rgb(192 38 45 / .08); color: #b3242a; font-weight: 600; }
.nf-form__alert .nf-i { flex: none; width: 20px; height: 20px; }
.nf-checkgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.nf-check { position: relative; display: flex; cursor: pointer; }
.nf-check input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.nf-check span { flex: 1; display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 14px 10px 12px; border-radius: var(--nf-radius); border: 1.5px solid rgb(var(--nf-deep-rgb) / .18); font: 600 .9rem/1.3 var(--nf-f-ui); color: var(--nf-deep); transition: background .2s, border-color .2s; }
.nf-check span::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 6px; border: 2px solid rgb(var(--nf-deep-rgb) / .35); background: var(--nf-light) center / 14px no-repeat; transition: background-color .2s, border-color .2s; }
.nf-check input:checked + span { border-color: var(--nf-accent); background: var(--nf-accent-soft); }
.nf-check input:checked + span::before { border-color: var(--nf-accent); background-color: var(--nf-accent); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2318151a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6.5 9.2 17.3 4 12.1'/%3E%3C/svg%3E"); }
.nf-check input:focus-visible + span { outline: 3px solid var(--nf-accent); outline-offset: 2px; }
.nf-field--radios { border: 0; padding: 0; display: flex !important; flex-direction: row !important; flex-wrap: wrap; align-items: center; gap: 10px !important; }
.nf-field--radios legend { width: 100%; margin-bottom: 8px; float: left; }
.nf-radio { position: relative; cursor: pointer; }
.nf-radio input { position: absolute; opacity: 0; }
.nf-radio span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1.5px solid rgb(var(--nf-deep-rgb) / .22); color: var(--nf-deep); font: 600 .94rem/1 var(--nf-f-ui); transition: background .2s, color .2s, border-color .2s; }
.nf-radio input:checked + span { background: var(--nf-deep); border-color: var(--nf-deep); color: var(--nf-on-deep); }
.nf-radio input:focus-visible + span { outline: 3px solid var(--nf-accent); outline-offset: 2px; }
.nf-form__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.nf-form__foot { display: flex; align-items: center; gap: 14px 22px; flex-wrap: wrap; margin-top: 24px; }
.nf-form__fine { margin: 0; font-size: .92rem; color: var(--nf-muted); }
.nf-form.is-sending { opacity: .7; pointer-events: none; }
.nf-form.is-sending .nf-btn--submit .nf-btn__icon .nf-i { animation: nf-spin 1s linear infinite; }
@keyframes nf-spin { to { transform: rotate(360deg); } }
.nf-form__done { text-align: center; padding: 26px 10px; outline: none; }
.nf-form__doneicon { display: inline-grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--nf-accent); color: var(--nf-dark); margin-bottom: 14px; animation: nf-pop .6s var(--ease-spring) both; }
.nf-form__doneicon .nf-i { width: 38px; height: 38px; }
.nf-form__donetitle { margin: 0 0 6px; font: 900 2rem/1.05 var(--nf-f-display); letter-spacing: -.02em; color: var(--nf-deep); }
.nf-form__donetext { max-width: 46ch; margin: 0 auto; color: var(--nf-muted); }
@keyframes nf-pop { from { transform: scale(.4); opacity: 0; } }

/* ----------------------------------------------------------------- posts */
.nf-post { position: relative; display: flex; flex-direction: column; border-radius: var(--nf-radius-lg); overflow: hidden; background: var(--nf-light); border: 1px solid var(--nf-line); box-shadow: var(--shadow-1); transition: transform .45s var(--ease-out), box-shadow .45s; }
.nf-post:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.nf-post__media { aspect-ratio: 16 / 9.5; overflow: hidden; background: var(--nf-deep); }
.nf-post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.nf-post:hover .nf-post__media img { transform: scale(1.07); }
.nf-post__body { display: flex; flex-direction: column; gap: 10px; padding: 24px 24px 26px; flex: 1; }
.nf-post__meta { margin: 0; font: 700 .78rem/1.2 var(--nf-f-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--nf-accent-on-light); }
.nf-post__title { margin: 0; font-size: 1.28rem; line-height: 1.22; }
.nf-post__title a { color: var(--nf-deep); text-decoration: none; }
.nf-post__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.nf-post__excerpt { margin: 0; color: var(--nf-muted); font-size: .98rem; }
.nf-pagination { margin-top: 40px; }
.nf-pagination .nav-links { display: flex; justify-content: center; gap: 8px; }
.nf-pagination .page-numbers { display: inline-grid; place-items: center; min-width: 46px; height: 46px; padding: 0 12px; border-radius: var(--nf-radius); background: var(--nf-light); border: 1px solid var(--nf-line); color: var(--nf-deep); text-decoration: none; font-weight: 700; }
.nf-pagination .page-numbers.current { background: var(--nf-deep); color: var(--nf-on-deep); }

/* ----------------------------------------------------------- prose/article */
.nf-prose { font-size: 1.08rem; line-height: 1.76; }
.nf-prose h2 { margin: 1.8em 0 .55em; font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.3rem); }
.nf-prose h3 { margin: 1.6em 0 .45em; font-size: 1.32rem; }
.nf-prose h2:first-child, .nf-prose h3:first-child { margin-top: 0; }
.nf-prose ul, .nf-prose ol { padding-left: 1.3em; }
.nf-prose li { margin-bottom: .45em; }
.nf-prose li::marker { color: var(--nf-accent-on-light); }
.nf-prose figure { margin: 2em 0; }
.nf-prose figure img { border-radius: var(--nf-radius-lg); box-shadow: var(--shadow-1); }
.nf-prose figcaption { margin-top: 10px; font-size: .88rem; color: var(--nf-muted); }
.nf-prose blockquote { margin: 1.8em 0; padding: 18px 24px; border-left: 5px solid var(--nf-accent); background: var(--nf-paper); border-radius: 0 var(--nf-radius-lg) var(--nf-radius-lg) 0; font-size: 1.1rem; }
.nf-prose img { height: auto; }
.nf-prose .nf-note { margin: 0 0 1.6em; }
.nf-prose .nf-table { margin: 1.4em 0 1.8em; }
.nf-article__foot { margin-top: 40px; display: grid; gap: 22px; }

/* Jump menu (long pages) */
.nf-jump { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; list-style: none; margin: 0; padding: 0; }
.nf-jump a { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 999px; background: var(--nf-light); border: 1.5px solid var(--nf-line); color: var(--nf-deep); font: 600 .92rem/1 var(--nf-f-ui); text-decoration: none; transition: background .2s, border-color .2s; }
.nf-jump a:hover { background: var(--nf-accent); border-color: var(--nf-accent); color: var(--nf-dark); }

.nf-columns { columns: 2; column-gap: 34px; }
.nf-columns > * { break-inside: avoid; }
.nf-404 { text-align: center; display: grid; gap: 28px; }
.nf-searchform { display: flex; gap: 10px; max-width: 520px; margin: 0 auto; }
.nf-searchform input { flex: 1; min-height: 54px; padding: 0 16px; border: 1.5px solid rgb(var(--nf-deep-rgb) / .22); border-radius: var(--nf-radius); }

/* -------------------------------------------------------------- CTA band */
.nf-cta { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(76px, 8vw, 118px); background: var(--nf-deep); color: rgb(var(--nf-light-rgb) / .86); clip-path: polygon(0 var(--flap), 100% 0, 100% 100%, 0 100%); margin-top: calc(var(--flap) * -1); }
.nf-cta__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.nf-cta__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(var(--nf-deep-rgb) / .96) 0%, rgb(var(--nf-deep-rgb) / .86) 55%, rgb(var(--nf-deep-rgb) / .66) 100%); }
.nf-cta__inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 70px); align-items: center; }
.nf-cta__title { margin: 0 0 .35em; color: var(--nf-light); font: 900 clamp(2.1rem, 1.3rem + 3vw, 3.7rem)/1 var(--nf-f-display); letter-spacing: -.03em; text-wrap: balance; }
.nf-cta__text { margin: 0; max-width: 54ch; font-size: 1.12rem; color: rgb(var(--nf-light-rgb) / .82); }
.nf-cta__actions { display: grid; gap: 18px; justify-items: start; }
.nf-cta__phone { display: inline-flex; align-items: center; gap: 18px; color: var(--nf-light); text-decoration: none; }
.nf-cta__phone:hover { color: var(--nf-light); }
.nf-cta__phoneicon { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--nf-accent); color: var(--nf-dark); box-shadow: 0 0 0 8px rgb(var(--nf-accent-rgb) / .24); animation: nf-glow 2.6s ease-in-out infinite; flex: none; }
.nf-cta__phoneicon .nf-i { width: 32px; height: 32px; }
.nf-cta__phone:hover .nf-cta__phoneicon .nf-i { animation: nf-ring .7s ease both; }
.nf-cta__num { display: flex; flex-direction: column; font: 900 clamp(2.2rem, 1.6rem + 2.2vw, 3.4rem)/1 var(--nf-f-display); letter-spacing: -.02em; }
.nf-cta__num small { margin-bottom: 4px; font: 700 .82rem/1.4 var(--nf-f-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--nf-accent-on-dark); }
.nf-cta__buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.nf-cta__note { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: .95rem; color: rgb(var(--nf-light-rgb) / .74); }
.nf-cta__note .nf-i { width: 17px; height: 17px; color: var(--nf-accent-on-dark); }
@keyframes nf-glow { 50% { box-shadow: 0 0 0 16px rgb(var(--nf-accent-rgb) / .08); } }

/* ---------------------------------------------------------------- footer */
.nf-footer { position: relative; isolation: isolate; padding-top: clamp(60px, 7vw, 90px); background: var(--nf-dark); color: rgb(var(--nf-light-rgb) / .76); font-size: .97rem; }
.nf-footer__grid { display: grid; grid-template-columns: 1.55fr 1fr 1fr .95fr 1.35fr; gap: clamp(24px, 3vw, 42px); padding-bottom: clamp(44px, 5vw, 60px); }
.nf-footer__logo { display: inline-block; color: inherit; text-decoration: none; margin-bottom: 18px; }
.nf-footer__tagline { margin: 0 0 10px; font: 700 1.5rem/1.1 var(--nf-f-accent); color: var(--nf-accent-on-dark); transform: rotate(-2deg); transform-origin: left; }
.nf-footer__about { margin: 0 0 18px; max-width: 42ch; }
.nf-footer__title { margin: 0 0 16px; color: var(--nf-light); font: 800 1.15rem/1.1 var(--nf-f-display); letter-spacing: -.01em; }
.nf-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.nf-footer__links a { color: rgb(var(--nf-light-rgb) / .78); text-decoration: none; transition: color .2s, padding .25s var(--ease-out); }
.nf-footer__links a:hover { color: var(--nf-light); padding-left: 4px; }
.nf-footer__phone { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 10px; color: var(--nf-light); text-decoration: none; font: 900 1.7rem/1 var(--nf-f-display); letter-spacing: -.02em; }
.nf-footer__phone .nf-i { width: 24px; height: 24px; color: var(--nf-accent-on-dark); }
.nf-footer__phone:hover { color: var(--nf-accent-on-dark); }
.nf-footer__meta { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.nf-footer__meta li { display: flex; gap: 10px; align-items: flex-start; }
.nf-footer__meta .nf-i { width: 18px; height: 18px; flex: none; color: var(--nf-accent-on-dark); margin-top: 4px; }
.nf-footer__meta a { color: rgb(var(--nf-light-rgb) / .88); }
.nf-footer__creds { margin: 0; font-size: .85rem; color: rgb(var(--nf-light-rgb) / .6); }
.nf-footer__bottom { display: flex; align-items: center; gap: 12px 26px; flex-wrap: wrap; padding: 22px 0 26px; border-top: 1px solid var(--nf-line-dark); font-size: .88rem; }
.nf-footer__copy { margin: 0; }
.nf-footer__bottom .nf-footer__links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.nf-footer__credit { margin: 0 0 0 auto; }
.nf-footer__credit a { color: rgb(var(--nf-light-rgb) / .88); }

/* --------------------------------------------------------- mobile action bar */
.nf-callbar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgb(var(--nf-dark-rgb) / .94); backdrop-filter: blur(10px); border-top: 3px solid var(--nf-accent); transition: transform .35s var(--ease-out); }
.nf-callbar__btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; border-radius: var(--nf-radius); background: var(--nf-deep-3); color: var(--nf-light); text-decoration: none; font: 700 1rem/1 var(--nf-f-ui); }
.nf-callbar__btn .nf-i { width: 21px; height: 21px; }
.nf-callbar__btn--book { background: var(--nf-btn); color: var(--nf-on-btn); }
html.nf-locked .nf-callbar { transform: translateY(110%); }

/* -------------------------------------------------------------- lightbox */
.nf-lightbox { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; }
.nf-lightbox__scrim { position: absolute; inset: 0; background: rgb(var(--nf-dark-rgb) / .94); animation: nf-fade-in .3s ease both; }
.nf-lightbox__stage { position: relative; z-index: 1; margin: 0; max-width: min(92vw, 1400px); animation: nf-pop .4s var(--ease-out) both; }
.nf-lightbox__img { max-height: 82vh; width: auto; margin: 0 auto; border-radius: var(--nf-radius); box-shadow: 0 30px 80px rgb(0 0 0 / .6); }
.nf-lightbox__cap { margin-top: 12px; text-align: center; color: rgb(var(--nf-light-rgb) / .82); font: 500 .92rem/1.4 var(--nf-f-ui); }
.nf-lightbox__btn { position: absolute; z-index: 2; display: grid; place-items: center; width: 54px; height: 54px; border: 1.5px solid rgb(var(--nf-light-rgb) / .3); border-radius: 50%; background: rgb(var(--nf-deep-rgb) / .7); color: var(--nf-light); }
.nf-lightbox__btn:hover { background: var(--nf-accent); border-color: var(--nf-accent); color: var(--nf-dark); }
.nf-lightbox__prev { left: 18px; top: 50%; translate: 0 -50%; }
.nf-lightbox__next { right: 18px; top: 50%; translate: 0 -50%; }
.nf-lightbox__close { right: 18px; top: 18px; }

/* =============================================================== effects */

/* Reveal. Content is visible by default; JS claims an element (data-reveal)
   before hiding it, and html.fx-done (failsafe) forces everything in. */
.js [data-reveal] { transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms); }
.js:not(.fx-noreveal) [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(38px); }
.js:not(.fx-noreveal) [data-reveal="left"]:not(.is-in) { transform: translateX(-48px); }
.js:not(.fx-noreveal) [data-reveal="right"]:not(.is-in) { transform: translateX(48px); }
.js:not(.fx-noreveal) [data-reveal="zoom"]:not(.is-in) { transform: scale(.92); }
.js:not(.fx-noreveal) [data-reveal="tilt"]:not(.is-in) { transform: translateY(30px) rotate(-3deg); }
.fx-done [data-reveal] { opacity: 1 !important; transform: none !important; }

/* Map routes draw out from the shop when the map scrolls in. */
.js:not(.fx-noroute) .nf-map[data-reveal] .nf-map__route { stroke-dasharray: 100 100; stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s var(--ease-out), stroke-dasharray 0s 1.7s; transition-delay: calc(var(--n) * .12s); }
.js:not(.fx-noroute) .nf-map[data-reveal]:not(.is-in) .nf-map__route { stroke-dashoffset: 100; }
.fx-done .nf-map__route { stroke-dashoffset: 0 !important; }

/* Hero entrance */
.js:not(.fx-noreveal) .nf-hero__inner > *, .js:not(.fx-noreveal) .nf-hero__copy > * { animation: nf-rise 1s var(--ease-out) both; }
.js:not(.fx-noreveal) .nf-hero__inner > :nth-child(2), .js:not(.fx-noreveal) .nf-hero__copy > :nth-child(2) { animation-delay: .1s; }
.js:not(.fx-noreveal) .nf-hero__inner > :nth-child(3), .js:not(.fx-noreveal) .nf-hero__copy > :nth-child(3) { animation-delay: .2s; }
.js:not(.fx-noreveal) .nf-hero__inner > :nth-child(4), .js:not(.fx-noreveal) .nf-hero__copy > :nth-child(4) { animation-delay: .3s; }
.js:not(.fx-noreveal) .nf-hero__inner > :nth-child(n+5), .js:not(.fx-noreveal) .nf-hero__copy > :nth-child(n+5) { animation-delay: .4s; }
.js:not(.fx-noreveal) .nf-hero__title .nf-line { animation: nf-line-in 1.1s var(--ease-out) both; }
.js:not(.fx-noreveal) .nf-hero__title .nf-line:nth-child(2) { animation-delay: .14s; }
.js:not(.fx-noreveal) .nf-hero__panel { animation: nf-panel-in 1.3s .35s var(--ease-out) both; }
@keyframes nf-rise { from { opacity: 0; transform: translateY(24px); } }
@keyframes nf-line-in { from { opacity: 0; transform: translateY(55%); } }
@keyframes nf-panel-in { from { opacity: 0; transform: translateY(30px) rotate(2deg); } }

/* Parallax: JS writes --py (px). The image is over-scaled so edges never show. */
.fx-noparallax .nf-bg-img { transform: scale(1.02); }

/* The flat QA render: nothing moves, nothing hides. */
.fx-off *, .fx-off *::before, .fx-off *::after { animation: none !important; transition: none !important; }
.fx-off .nf-hero--home { min-height: 0; }
.fx-off .nf-fader > img:first-child { opacity: 1; }
.fx-off .nf-steps::after { display: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .nf-marquee__track { animation: none !important; flex-wrap: wrap; width: auto; justify-content: center; }
  .nf-marquee__group + .nf-marquee__group { display: none; }
  .nf-marquee__group { flex-wrap: wrap; justify-content: center; }
  .nf-bg-img { transform: scale(1.02) !important; }
  .nf-steps::after { display: none; }
}

/* ============================================================ responsive */
@media (max-width: 1280px) {
  .nf-nav .nf-menu__item--d0 > .nf-menu__link { padding: 0 9px; font-size: .94rem; }
  .nf-header__inner { gap: 14px; }
  .nf-header__phone small { display: none; }
}
@media (max-width: 1200px) {
  :root { --header-h: 76px; }
  .nf-nav { display: none; }
  .nf-burger { display: inline-flex; }
  .nf-header__actions { margin-left: auto; }
  .nf-footer__grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .nf-footer__brand { grid-column: 1 / -1; }
  .nf-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nf-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .nf-grid--3, .nf-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nf-hero--home .nf-hero__inner { grid-template-columns: 1fr; }
  .nf-hero--home { min-height: 0; }
  .nf-hero__panel { max-width: 560px; }
  .nf-split, .nf-split--contact { grid-template-columns: 1fr; }
  .nf-split--reverse > .nf-split__media { order: 0; }
  .nf-split__media { max-width: 640px; }
  .nf-steps { grid-template-columns: 1fr 1fr; gap: 34px 24px; }
  .nf-steps::before, .nf-steps::after { display: none; }
  .nf-map { grid-template-columns: 1fr; }
  .nf-cta__inner { grid-template-columns: 1fr; }
  .nf-topbar__meta { display: none; }
  .nf-features--2 { grid-template-columns: 1fr; }
  .nf-gallery { grid-template-columns: 1fr 1fr; }
  .nf-gallery__item:nth-child(1) { grid-row: auto; aspect-ratio: 4 / 3; }
  .nf-checkgrid { grid-template-columns: 1fr 1fr; }
  .nf-header__phone { display: none; }
  .nf-header__iconcall { display: grid; }
}
@media (max-width: 760px) {
  :root { --header-h: 68px; }
  body { font-size: 1.02rem; }
  .has-callbar .nf-callbar { display: flex; }
  .has-callbar { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
  .nf-topbar { display: none; }
  .nf-header__book { display: none; }
  .nf-burger__label { display: none; }
  .nf-brand__logo { height: min(var(--nf-logo), 52px); }
  .nf-grid--2, .nf-grid--3, .nf-grid--4 { grid-template-columns: 1fr; }
  .nf-checks--2col, .nf-checks--3col { grid-template-columns: 1fr; }
  .nf-steps { grid-template-columns: 1fr; }
  .nf-form__grid { grid-template-columns: 1fr; }
  .nf-checkgrid { grid-template-columns: 1fr; }
  .nf-footer__grid { grid-template-columns: 1fr 1fr; }
  .nf-footer__contact { grid-column: 1 / -1; }
  .nf-footer__credit { margin-left: 0; }
  .nf-actions .nf-btn { flex: 1 1 auto; justify-content: center; }
  .nf-btn__num { display: none; }
  .nf-hero .nf-btn--call .nf-btn__num { display: inline-flex; }
  .nf-frame::before, .nf-frame::after { width: 80px; height: 20px; }
  .nf-columns { columns: 1; }
  .nf-gallery { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .nf-footer__grid { grid-template-columns: 1fr; }
  .nf-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .nf-stat { padding: 20px 12px 16px; }

  .nf-callbar__btn { font-size: .92rem; }
}

@media print {
  .nf-masthead, .nf-callbar, .nf-cta, .nf-footer, .nf-drawer, .nf-lightbox, .nf-marquee { display: none !important; }
  .nf-hero { color: #000; background: none; clip-path: none; }
  .nf-hero__bg { display: none; }
  .nf-hero__title, .nf-hero__sub { color: #000; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ------------------------------------------------- contrast fixes (QA) */
.nf-section--deep .nf-source, .nf-section--alt .nf-source, .nf-section--photo .nf-source { color: var(--nf-muted-dark); }
.nf-hero__sub a:not(.nf-btn), .nf-hero .nf-lead a:not(.nf-btn) { color: var(--nf-accent-on-dark); text-decoration: underline; text-underline-offset: 3px; }
.nf-hero__sub a:not(.nf-btn):hover { color: var(--nf-light); }


/* ==========================================================================
   NexFence: the manufacturer layer. Forest green, NexFence lime and the
   logo's charcoal. Technical-drawing details instead of decoration: dimension
   ticks on eyebrows, a dashed soil line, corner marks on photos, monospace
   part numbers. The grass blades from the logo edge the heroes.
   ========================================================================== */
:root {
  --grid-dark: linear-gradient(rgb(var(--nf-light-rgb) / .045) 1px, transparent 1px), linear-gradient(90deg, rgb(var(--nf-light-rgb) / .045) 1px, transparent 1px);
  --grid-light: linear-gradient(rgb(var(--nf-deep-rgb) / .05) 1px, transparent 1px), linear-gradient(90deg, rgb(var(--nf-deep-rgb) / .05) 1px, transparent 1px);
  --soil: repeating-linear-gradient(90deg, var(--nf-accent) 0 14px, transparent 14px 22px);
  --grass: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 22' preserveAspectRatio='none'%3E%3Cpath fill='%23000' d='M0 22V12l4-8 3 9 4-11 3 10 4-12 3 11 4-8 3 9 5-10 3 10 3-7 4 8 4-12 3 11 4-9 3 10 4-8 3 9 5-11 3 10 3-8 4 9 4-12 3 12 4-9 3 9 4-7 3 8 4-11 3 10 3-8 4 8V22z'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------------ type */
h1, h2 { font-weight: 900; letter-spacing: -.02em; }
h3, h4 { letter-spacing: 0; }
.nf-title { text-transform: none; }
.nf-kicker { font: 600 .74rem/1.3 var(--nf-f-accent); letter-spacing: .12em; gap: .9em; }
.nf-kicker::before {
  width: 34px; height: 9px; background: none; transform: none; box-shadow: none; border-radius: 0;
  background-image: linear-gradient(var(--nf-accent), var(--nf-accent)), linear-gradient(var(--nf-accent), var(--nf-accent)), linear-gradient(var(--nf-accent), var(--nf-accent));
  background-size: 100% 2px, 2px 100%, 2px 100%; background-position: 0 50%, 0 0, 100% 0; background-repeat: no-repeat;
}
.nf-mono, .nf-partno, .nf-upc { font-family: var(--nf-f-accent); letter-spacing: .02em; }
.nf-hand { font: 800 1em/1 var(--nf-f-display); transform: none; color: var(--nf-accent-on-light); }

/* ------------------------------------------------------------ grounds */
.nf-section--paper { background-color: var(--nf-paper); background-image: var(--grid-light); background-size: 32px 32px; }
.nf-section--deep::before, .nf-footer::before { opacity: 1; background-image: var(--grid-dark); background-size: 32px 32px; -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, #000 25%, transparent 90%); mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, #000 25%, transparent 90%); }
.nf-section--alt { background: radial-gradient(ellipse 70% 90% at 90% 0%, rgb(var(--nf-accent-rgb) / .14), transparent 60%), linear-gradient(160deg, var(--nf-alt), var(--nf-dark)); }
.nf-section--lime { background: var(--nf-accent); color: var(--nf-on-accent); }
.nf-section--lime h2, .nf-section--lime h3, .nf-section--lime .nf-kicker { color: var(--nf-on-accent); }
.nf-section--lime .nf-kicker::before { filter: brightness(0); }
.nf-section--lime .nf-lead, .nf-section--lime p { color: var(--nf-on-accent); }

/* ------------------------------------------------------------ buttons */
.nf-btn { font-weight: 800; letter-spacing: .02em; text-transform: uppercase; font-size: .9rem; box-shadow: 0 14px 28px -16px rgb(var(--nf-accent-rgb) / .9); }
.nf-btn__icon { background: rgb(var(--nf-dark-rgb) / .14); }
.nf-btn--ghost .nf-btn__icon { background: rgb(var(--nf-light-rgb) / .16); }
.nf-btn--sm { font-size: .82rem; }
.nf-btn--lg { font-size: .98rem; }

/* ------------------------------------------------------------ masthead */
.nf-header { background: rgb(var(--nf-light-rgb) / .97); }
.nf-header::after { height: 3px; bottom: -3px; background: var(--nf-accent); }
.nf-topbar { background: var(--nf-alt); }
.nf-topbar__area span { font-family: var(--nf-f-ui); letter-spacing: .04em; }
.nf-brand__logo { transform-origin: 50% 50%; }
.nf-header__brand:hover .nf-brand__logo { transform: scale(1.03); }
.nf-nav .nf-menu__item--d0 > .nf-menu__link { font-weight: 700; text-transform: uppercase; font-size: .86rem; letter-spacing: .05em; }
.nf-nav .nf-menu__item--d0 > .nf-menu__link::after { height: 3px; bottom: 6px; border-radius: 0; }
.nf-menu__icon { border-radius: var(--nf-radius); }
.nf-header__phone span { font-family: var(--nf-f-ui); font-weight: 800; }
.nf-burger__box span:nth-child(2) { background: var(--nf-accent); }
.nf-drawer__panel { border-left-color: var(--nf-accent); background-image: var(--grid-dark); background-size: 32px 32px; }
.nf-menu--drawer .nf-menu__item--d0 > .nf-menu__link { font-size: 1.2rem; text-transform: uppercase; letter-spacing: .01em; }

/* ------------------------------------------------------------ heroes */
.nf-hero { background-color: var(--nf-deep); }
.nf-hero__bg::after { background: linear-gradient(100deg, rgb(var(--nf-deep-rgb) / .97) 0%, rgb(var(--nf-deep-rgb) / .86) 42%, rgb(var(--nf-deep-rgb) / .5) 78%, rgb(var(--nf-deep-rgb) / .35) 100%), linear-gradient(0deg, rgb(var(--nf-deep-rgb) / .8) 0%, transparent 40%), var(--grid-dark); background-size: auto, auto, 32px 32px; }
.nf-hero__title { font-weight: 900; letter-spacing: -.025em; }
/* Page heroes end on a straight soil line with the logo's grass along it. */
.nf-hero--page { clip-path: none; margin-bottom: 0; }
.nf-hero--page + .nf-section { padding-top: var(--sec-pad); }
.nf-hero--page .nf-hero__inner { padding-block: clamp(84px, 9vw, 132px) clamp(70px, 7vw, 104px); }
.nf-hero--compact .nf-hero__inner { padding-block: clamp(70px, 7vw, 104px) clamp(56px, 5.5vw, 80px); }
.nf-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: 18px; background: var(--nf-accent); -webkit-mask: var(--grass) bottom / 240px 18px repeat-x; mask: var(--grass) bottom / 240px 18px repeat-x; pointer-events: none; }
.nf-hero::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: 4px; background: var(--nf-accent); pointer-events: none; }

/* Home hero: copy left, the post cutaway right, the soil line across. */
.nf-hero--home { min-height: min(calc(100svh - var(--header-h) - 40px), 900px); }
.nf-hero--home .nf-hero__inner { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); padding-block: clamp(56px, 6vw, 92px) clamp(72px, 7vw, 104px); }
.nf-hero--home .nf-hero__title { max-width: 13ch; font-size: clamp(2.5rem, 1.25rem + 4.2vw, 4.9rem); }
.nf-hero--home .nf-hero__bg .nf-bg-img { opacity: .5; filter: saturate(.85); }
.nf-hero__eyebrow { display: inline-flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1.3rem; padding: 0; list-style: none; }
.nf-hero__eyebrow li { display: inline-flex; align-items: center; gap: 7px; min-height: 30px; padding: 0 12px; border: 1px solid rgb(var(--nf-light-rgb) / .22); border-radius: 999px; background: rgb(var(--nf-dark-rgb) / .3); font: 600 .72rem/1 var(--nf-f-accent); letter-spacing: .08em; text-transform: uppercase; color: rgb(var(--nf-light-rgb) / .9); }
.nf-hero__eyebrow .nf-i { width: 15px; height: 15px; color: var(--nf-accent-on-dark); }
.nf-hero__visual { position: relative; display: grid; justify-items: center; }

/* ------------------------------------------------------------ trust strip */
.nf-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; list-style: none; margin: 0; padding: 0; }
.nf-facts > li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--nf-radius); background: var(--nf-light); border: 1px solid var(--nf-line); box-shadow: var(--shadow-1); color: var(--nf-deep); }
.nf-facts__icon { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: var(--nf-radius); background: var(--nf-accent); color: var(--nf-on-accent); }
.nf-facts__icon .nf-i { width: 21px; height: 21px; }
.nf-facts__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.nf-facts__big { font: 800 .98rem/1.15 var(--nf-f-ui); }
.nf-facts__sub { font: 500 .76rem/1.25 var(--nf-f-ui); color: var(--nf-muted); }
.nf-hero .nf-facts > li, .nf-facts--dark > li { background: rgb(var(--nf-dark-rgb) / .45); border-color: rgb(var(--nf-light-rgb) / .14); color: var(--nf-light); box-shadow: none; backdrop-filter: blur(6px); }
.nf-hero .nf-facts__sub, .nf-facts--dark .nf-facts__sub { color: rgb(var(--nf-light-rgb) / .72); }
.nf-hero--home .nf-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 620px; margin-top: 2rem; }

/* ------------------------------------------------------------ the cutaway */
.nf-cutaway { --lbl: clamp(170px, 15vw, 230px); --gap: 44px; position: relative; margin: 0; display: grid; grid-template-columns: clamp(150px, 15vw, 230px) var(--lbl); column-gap: var(--gap); justify-self: center; }
.nf-cutaway__stage { position: relative; }
.nf-cutaway__img { width: 100%; height: auto; filter: drop-shadow(0 34px 40px rgb(0 0 0 / .55)); }
.nf-cutaway__soil { position: absolute; left: -60%; right: calc(-1 * (var(--lbl) + var(--gap))); top: var(--y); height: 2px; background: var(--soil); }
.nf-cutaway__soil em { position: absolute; left: 0; top: -20px; font: 600 .62rem/1 var(--nf-f-accent); font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: var(--nf-accent-on-dark); white-space: nowrap; }
.nf-cutaway__pins { position: absolute; inset: 0; pointer-events: none; }
.nf-cutaway__pin { position: absolute; top: var(--y); left: var(--x); right: calc(-1 * var(--gap)); display: flex; align-items: center; transform: translateY(-50%); }
.nf-cutaway__dot { flex: none; display: grid; place-items: center; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--nf-accent); box-shadow: 0 0 0 4px rgb(var(--nf-accent-rgb) / .3), 0 0 0 1px var(--nf-deep); color: transparent; font: 700 0/1 var(--nf-f-accent); animation: nf-dot 2.6s ease-in-out infinite; animation-delay: calc(var(--n) * .3s); }
.nf-cutaway__lead { flex: 1; height: 1.5px; min-width: 12px; background: rgb(var(--nf-light-rgb) / .7); transform-origin: left; }
.nf-cutaway figcaption { position: relative; }
.nf-cutaway__tags { list-style: none; margin: 0; padding: 0; }
.nf-cutaway__tag { position: absolute; left: 0; top: var(--y); width: var(--lbl); transform: translateY(-50%); padding-left: 12px; border-left: 3px solid var(--nf-accent); color: rgb(var(--nf-light-rgb) / .8); font-size: .82rem; line-height: 1.35; }
.nf-cutaway__tag small { display: block; font: 600 .62rem/1.2 var(--nf-f-accent); letter-spacing: .14em; text-transform: uppercase; color: var(--nf-accent-on-dark); }
.nf-cutaway__tag small b { display: none; }
.nf-cutaway__tag strong { display: block; margin: 2px 0; color: var(--nf-light); font: 900 1.02rem/1.1 var(--nf-f-display); text-transform: uppercase; letter-spacing: .01em; }
@keyframes nf-dot { 50% { box-shadow: 0 0 0 9px rgb(var(--nf-accent-rgb) / 0), 0 0 0 1px var(--nf-deep); } }
/* Draw-in when it scrolls into view (JS adds .is-armed, then .is-in). */
.nf-cutaway.is-armed .nf-cutaway__lead { transform: scaleX(0); transition: transform .7s var(--ease-out); transition-delay: calc(.35s + var(--n) * .28s); }
.nf-cutaway.is-armed .nf-cutaway__tag { opacity: 0; translate: 14px 0; transition: opacity .6s, translate .7s var(--ease-out); transition-delay: calc(.6s + var(--n) * .28s); }
.nf-cutaway.is-armed .nf-cutaway__dot { scale: 0; transition: scale .5s var(--ease-spring); transition-delay: calc(.2s + var(--n) * .28s); }
.nf-cutaway.is-armed .nf-cutaway__soil { clip-path: inset(0 100% 0 0); transition: clip-path 1.2s var(--ease-out) .1s; }
.nf-cutaway.is-armed .nf-cutaway__img { opacity: 0; translate: 0 26px; transition: opacity .9s, translate 1.1s var(--ease-out); }
.nf-cutaway.is-armed.is-in .nf-cutaway__lead { transform: none; }
.nf-cutaway.is-armed.is-in .nf-cutaway__tag, .nf-cutaway.is-armed.is-in .nf-cutaway__img { opacity: 1; translate: none; }
.nf-cutaway.is-armed.is-in .nf-cutaway__dot { scale: 1; }
.nf-cutaway.is-armed.is-in .nf-cutaway__soil { clip-path: inset(0 0 0 0); }
.fx-nocutaway .nf-cutaway__dot { animation: none; }
/* On light grounds. */
.nf-section--white .nf-cutaway__tag, .nf-section--paper .nf-cutaway__tag { color: var(--nf-muted); }
.nf-section--white .nf-cutaway__tag strong, .nf-section--paper .nf-cutaway__tag strong { color: var(--nf-deep); }
.nf-section--white .nf-cutaway__tag small, .nf-section--paper .nf-cutaway__tag small, .nf-section--white .nf-cutaway__soil em, .nf-section--paper .nf-cutaway__soil em { color: var(--nf-accent-on-light); }
.nf-section--white .nf-cutaway__lead, .nf-section--paper .nf-cutaway__lead { background: rgb(var(--nf-deep-rgb) / .55); }
.nf-section--white .nf-cutaway__img, .nf-section--paper .nf-cutaway__img { filter: drop-shadow(0 26px 30px rgb(0 0 0 / .25)); }
@media (max-width: 760px) {
  .nf-cutaway { grid-template-columns: 1fr; justify-items: center; row-gap: 22px; width: 100%; }
  .nf-cutaway__stage { width: min(32vw, 140px); }
  .nf-cutaway__soil { left: -50%; right: -50%; }
  .nf-cutaway__pin { right: auto; }
  .nf-cutaway__lead { display: none; }
  .nf-cutaway__dot { width: 24px; height: 24px; margin-left: -12px; color: var(--nf-on-accent); font-size: .74rem; }
  .nf-cutaway figcaption { width: 100%; }
  .nf-cutaway__tags { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
  .nf-cutaway__tag { position: static; width: auto; transform: none; }
  .nf-cutaway__tag small b { display: inline-grid; place-items: center; width: 18px; height: 18px; margin-right: 4px; border-radius: 50%; background: var(--nf-accent); color: var(--nf-on-accent); font-size: .6rem; }
}
@media (max-width: 400px) { .nf-cutaway__tags { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ post story */

/* ------------------------------------------------- post story (threats) */
/* Four threats beside the base cutaway. Without the script every threat is
   listed and the pins just mark the parts; with it, tabs pick one threat,
   its pin lights up and the rest step back. */
.nf-story { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.nf-story__visual { position: relative; display: grid; place-items: center; padding: clamp(24px, 4vw, 48px) 0; border-radius: var(--nf-radius-lg); background: radial-gradient(circle at 50% 45%, rgb(var(--nf-accent-rgb) / .16), transparent 62%), var(--grid-dark), var(--nf-deep-2); background-size: auto, 28px 28px, 28px 28px, auto; border: 1px solid var(--nf-line-dark); }
.nf-story__pic { position: relative; width: min(56%, 260px); }
.nf-story__img { display: block; width: 100%; height: auto; filter: drop-shadow(0 24px 30px rgb(0 0 0 / .5)); }
.nf-story__pins { position: absolute; inset: 0; }
.nf-story__pin { position: absolute; left: var(--x); top: var(--y); translate: -50% -50%; display: flex; align-items: center; }
.nf-story__pin b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--nf-accent); color: var(--nf-on-accent); font: 700 .8rem/1 var(--nf-f-accent); box-shadow: 0 0 0 4px rgb(var(--nf-accent-rgb) / .28), 0 0 0 1px var(--nf-deep); transition: scale .45s var(--ease-out), opacity .4s, box-shadow .4s; }
.nf-story__pin em { position: absolute; left: calc(100% + 10px); top: 50%; translate: 0 -50%; padding: 6px 10px; border-radius: 6px; background: var(--nf-deep); border: 1px solid var(--nf-accent); color: var(--nf-light); font: 700 .74rem/1.1 var(--nf-f-ui); font-style: normal; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; visibility: hidden; scale: .9; pointer-events: none; transition: visibility .4s, scale .45s var(--ease-out); }
.nf-story__pin.is-left em { left: auto; right: calc(100% + 10px); }
.nf-story.is-live .nf-story__pin:not(.is-on) b { opacity: .45; scale: .8; box-shadow: none; }
.nf-story.is-live .nf-story__pin.is-on { z-index: 2; }
.nf-story.is-live .nf-story__pin.is-on b { scale: 1.15; animation: nf-story-ping 2.2s ease-out infinite; }
.nf-story.is-live .nf-story__pin.is-on em { visibility: visible; scale: 1; }
@keyframes nf-story-ping { 0% { box-shadow: 0 0 0 0 rgb(var(--nf-accent-rgb) / .7), 0 0 0 1px var(--nf-deep); } 70%, 100% { box-shadow: 0 0 0 16px rgb(var(--nf-accent-rgb) / 0), 0 0 0 1px var(--nf-deep); } }

.nf-story__tabs { display: none; }
.nf-story.is-live .nf-story__tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.nf-story__tab { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 10px 14px; border: 1px solid var(--nf-line-dark); border-radius: 12px; background: rgb(var(--nf-light-rgb) / .04); color: rgb(var(--nf-light-rgb) / .82); font: 700 1rem/1.15 var(--nf-f-ui); text-align: left; cursor: pointer; transition: background .3s, border-color .3s, color .3s; }
.nf-story__tab:hover { border-color: rgb(var(--nf-accent-rgb) / .6); color: var(--nf-light); }
.nf-story__tab:focus-visible { outline: 3px solid var(--nf-accent-on-dark); outline-offset: 2px; }
.nf-story__tab[aria-selected="true"] { background: var(--nf-accent); border-color: var(--nf-accent); color: var(--nf-on-accent); }
.nf-story__tabicon { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; background: rgb(var(--nf-light-rgb) / .08); }
.nf-story__tab[aria-selected="true"] .nf-story__tabicon { background: rgb(0 0 0 / .12); }
.nf-story__tabicon .nf-i { width: 20px; height: 20px; }

.nf-story__panels { position: relative; display: grid; gap: 14px; }
.nf-story__panel { padding: clamp(22px, 2.6vw, 30px); border: 1px solid var(--nf-line-dark); border-radius: var(--nf-radius-lg); background: rgb(var(--nf-light-rgb) / .04); }
.nf-story.is-live .nf-story__panels { overflow: hidden; border-radius: var(--nf-radius-lg); }
.nf-story.is-live .nf-story__panel { border-color: rgb(var(--nf-accent-rgb) / .55); animation: nf-story-in .5s var(--ease-out); }
.nf-story__panel[hidden] { display: none; }
@keyframes nf-story-in { from { opacity: 0; translate: 0 10px; } }
.nf-story__eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font: 600 .72rem/1 var(--nf-f-accent); letter-spacing: .14em; text-transform: uppercase; color: rgb(var(--nf-light-rgb) / .74); }
.nf-story__eyebrow span { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--nf-accent); color: var(--nf-on-accent); letter-spacing: 0; }
.nf-story__eyebrow .nf-i { width: 16px; height: 16px; }
.nf-story__eyebrow--fix { margin-top: 20px; padding-top: 18px; border-top: 1px dashed rgb(var(--nf-light-rgb) / .2); }
.nf-story__threat { margin: 0 0 8px; color: var(--nf-light); font: 900 clamp(1.4rem, 2.2vw, 1.75rem)/1.1 var(--nf-f-display); }
.nf-story__why { margin: 0; color: rgb(var(--nf-light-rgb) / .78); }
.nf-story__fix { margin: 0; color: rgb(var(--nf-light-rgb) / .9); }
.nf-story__fix strong { color: var(--nf-light); }
.nf-story__timer { display: none; }
.nf-story.is-auto .nf-story__timer { display: block; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--nf-accent); transform-origin: left; animation: nf-story-timer var(--story-ms, 7000ms) linear forwards; }
@keyframes nf-story-timer { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (max-width: 980px) {
  .nf-story { grid-template-columns: 1fr; }
  .nf-story__visual { padding: 24px 0; }
  .nf-story__pic { width: min(40%, 200px); }
}
@media (max-width: 480px) {
  .nf-story.is-live .nf-story__tabs { gap: 8px; }
  .nf-story__tab { gap: 8px; padding: 8px 10px; font-size: .9rem; }
  .nf-story__tabicon { width: 30px; height: 30px; }
  .nf-story__pin em { font-size: .66rem; padding: 5px 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .nf-story.is-live .nf-story__pin.is-on b, .nf-story.is-live .nf-story__panel { animation: none; }
}
.fx-off .nf-story.is-live .nf-story__pin.is-on b, .fx-off .nf-story.is-live .nf-story__panel { animation: none; }

/* ----------------------------------------------- post lineup + post shots */
/* Sizes are inches × --u, so the posts stand true to each other on one line. */
.nf-lineup { --u: 5.8px; }
.nf-lineup__stage { position: relative; overflow: hidden; padding: 34px clamp(12px, 3vw, 40px) 0; border-radius: var(--nf-radius-lg); background: var(--grid-dark), var(--nf-deep); background-size: 28px 28px, 28px 28px, auto; box-shadow: var(--shadow-2); --soil: calc(34px + var(--above) * var(--u)); }
.nf-lineup__ground { position: absolute; left: 0; right: 0; top: var(--soil); bottom: 0; background: linear-gradient(rgb(0 0 0 / .34), rgb(0 0 0 / .52)); }
.nf-lineup__soil { position: absolute; z-index: 1; left: 0; right: 0; top: var(--soil); height: 2px; background: repeating-linear-gradient(90deg, var(--nf-accent) 0 16px, transparent 16px 26px); }
.nf-lineup__soil em { position: absolute; right: clamp(12px, 2vw, 24px); top: -20px; font: 600 .66rem/1 var(--nf-f-accent); font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: var(--nf-accent-on-dark); white-space: nowrap; }
.nf-lineup__zone { position: absolute; z-index: 1; left: clamp(12px, 2vw, 24px); font: 600 .66rem/1 var(--nf-f-accent); letter-spacing: .14em; text-transform: uppercase; color: rgb(var(--nf-light-rgb) / .78); white-space: nowrap; }
.nf-lineup__zone--up { top: calc(var(--soil) - 20px); }
.nf-lineup__zone--down { top: calc(var(--soil) + 12px); }
.nf-lineup__row { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nf-lineup__col { display: flex; flex-direction: column; align-items: center; text-decoration: none; }
.nf-lineup__posts { display: flex; justify-content: center; align-items: flex-start; gap: clamp(0px, 1.2vw, 18px); }
.nf-lineup__post { flex: none; display: block; max-width: none; width: calc(var(--w) * var(--u)); height: calc(var(--h) * var(--u)); margin-top: calc((var(--above) - var(--a)) * var(--u)); margin-bottom: calc((var(--below) - (var(--h) - var(--a))) * var(--u)); filter: drop-shadow(0 12px 14px rgb(0 0 0 / .4)); transition: translate .5s var(--ease-out), filter .4s; }
.nf-lineup__col:hover .nf-lineup__post, .nf-lineup__col:focus-visible .nf-lineup__post { translate: 0 -8px; filter: drop-shadow(0 18px 18px rgb(0 0 0 / .5)) brightness(1.06); }
.nf-lineup__col:focus-visible { outline: 3px solid var(--nf-accent-on-dark); outline-offset: -3px; border-radius: 10px; }
.nf-lineup__name { display: block; padding: 14px 4px 18px; color: var(--nf-light); font: 700 .86rem/1.1 var(--nf-f-ui); letter-spacing: .08em; text-transform: uppercase; text-align: center; }
.nf-lineup__cards { margin-top: clamp(18px, 2.4vw, 28px); }
.nf-lineup.is-armed .nf-lineup__post { opacity: 0; translate: 0 44px; transition: opacity .6s, translate .9s var(--ease-out); }
.nf-lineup.is-armed .nf-lineup__col:nth-child(2) .nf-lineup__post { transition-delay: .14s; }
.nf-lineup.is-armed .nf-lineup__col:nth-child(3) .nf-lineup__post { transition-delay: .28s; }
.nf-lineup.is-armed.is-in .nf-lineup__post { opacity: 1; translate: none; }
.nf-lineup.is-armed.is-in .nf-lineup__col:hover .nf-lineup__post { translate: 0 -8px; transition-delay: 0s; }
@media (max-width: 1100px) { .nf-lineup { --u: 4.6px; } }
/* Narrower, the posts need the room: the soil line label moves to the top corner with a dash to match. */
@media (max-width: 1000px) {
  .nf-lineup__zone { display: none; }
  .nf-lineup__soil em { right: auto; left: 14px; top: calc(14px - var(--soil)); display: flex; align-items: center; gap: 8px; }
  .nf-lineup__soil em::before { content: ""; width: 26px; height: 2px; background: repeating-linear-gradient(90deg, var(--nf-accent) 0 9px, transparent 9px 13px); }
}
@media (max-width: 760px) { .nf-lineup { --u: 3.3px; } .nf-lineup__stage { padding-inline: 4px; } .nf-lineup__posts { gap: 0; } .nf-lineup__name { font-size: .74rem; } }
@media (max-width: 400px) { .nf-lineup { --u: 2.9px; } }
/* A real post photo beside page copy. */
.nf-postshot { position: relative; margin: 0; display: flex; align-items: center; justify-content: center; gap: clamp(14px, 3vw, 44px); min-height: 420px; padding: clamp(20px, 3vw, 34px) 16px 70px; overflow: hidden; border-radius: var(--nf-radius-lg); background: radial-gradient(circle at 50% 42%, rgb(var(--nf-accent-rgb) / .2), transparent 66%), var(--grid-dark), var(--nf-deep); background-size: auto, 28px 28px, 28px 28px, auto; box-shadow: var(--shadow-2); }
.nf-postshot img { flex: none; width: auto; max-width: none; height: clamp(380px, 42vw, 560px); filter: drop-shadow(0 16px 18px rgb(0 0 0 / .45)); }
.nf-postshot .nf-frame__tag { position: absolute; left: 14px; bottom: 14px; margin: 0; }
@media (max-width: 760px) { .nf-postshot img { height: 400px; } }

/* ------------------------------------------------------------ video */
.nf-video { margin: 0; }
.nf-video__frame { position: relative; overflow: hidden; border-radius: var(--nf-radius-lg); background: var(--nf-dark); box-shadow: var(--shadow-2); aspect-ratio: 16 / 9; outline: 1px solid rgb(var(--nf-light-rgb) / .12); outline-offset: -1px; }
.nf-video video { width: 100%; height: 100%; object-fit: cover; transition: opacity .45s ease; }
.nf-video.is-fading video { opacity: 0; }
.nf-video__toggle { position: absolute; right: 14px; bottom: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px 0 6px; border: 0; border-radius: 999px; background: rgb(var(--nf-dark-rgb) / .72); color: var(--nf-light); font: 700 .78rem/1 var(--nf-f-ui); letter-spacing: .04em; backdrop-filter: blur(6px); }
.nf-video__play { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--nf-accent); color: var(--nf-on-accent); }
.nf-video__play .nf-i { width: 14px; height: 14px; }
.nf-video__cap { margin-top: 12px; font: 500 .9rem/1.45 var(--nf-f-ui); color: var(--nf-muted); text-align: center; }
.nf-section--deep .nf-video__cap { color: var(--nf-muted-dark); }
.nf-video:not(.is-playing) .nf-video__toggle { min-height: 60px; padding: 0 22px 0 10px; right: 50%; bottom: 50%; transform: translate(50%, 50%); font-size: .9rem; }
.nf-video:not(.is-playing) .nf-video__play { width: 42px; height: 42px; }

/* ------------------------------------------------------------ parts table */
.nf-table { border-radius: var(--nf-radius-lg); }
.nf-table thead th { background: var(--nf-alt); font-family: var(--nf-f-accent); font-weight: 600; letter-spacing: .1em; font-size: .72rem; }
.nf-table--parts tbody tr { transition: background .2s; }
.nf-table--parts tbody tr:hover { background: var(--nf-accent-soft); }
.nf-table--parts th[scope="row"] { white-space: nowrap; }
.nf-partno { display: inline-block; padding: 4px 9px; border-radius: 4px; background: var(--nf-deep); color: var(--nf-light); font-size: .86rem; font-weight: 600; letter-spacing: .04em; }
.nf-upc { font-size: .86rem; color: var(--nf-muted); letter-spacing: .06em; }
.nf-parts__len { font: 700 .95rem/1 var(--nf-f-accent); color: var(--nf-deep); white-space: nowrap; }
.nf-avail { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; background: rgb(var(--nf-deep-rgb) / .08); font: 700 .74rem/1 var(--nf-f-ui); color: var(--nf-deep); white-space: nowrap; }
.nf-avail--stock { background: var(--nf-accent); color: var(--nf-on-accent); }
.nf-parts__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
.nf-parts__note { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-size: .92rem; color: var(--nf-muted); }
.nf-parts__note .nf-i { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--nf-accent-on-light); }

/* ------------------------------------------------------------ part-number decoder */
.nf-decoder { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 28px); }
.nf-decoder__ex { margin: 0; padding: clamp(22px, 2.6vw, 32px); border-radius: var(--nf-radius-lg); background: var(--nf-light); border: 1px solid var(--nf-line); box-shadow: var(--shadow-1); }
.nf-decoder__code { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 20px; font: 600 clamp(2rem, 1.4rem + 2.2vw, 3.1rem)/1 var(--nf-f-accent); letter-spacing: .02em; }
.nf-decoder__seg { position: relative; padding: 10px 12px 14px; border-radius: 6px; color: var(--nf-deep); }
.nf-decoder__seg::after { content: ""; position: absolute; left: 6px; right: 6px; bottom: 4px; height: 4px; border-radius: 2px; }
.nf-decoder__seg--size { background: rgb(var(--nf-deep-rgb) / .07); }
.nf-decoder__seg--size::after { background: var(--nf-deep); }
.nf-decoder__seg--len { background: var(--nf-accent-soft); }
.nf-decoder__seg--len::after { background: var(--nf-accent); }
.nf-decoder__seg--type { background: rgb(var(--nf-alt-rgb) / .1); }
.nf-decoder__seg--type::after { background: var(--nf-alt); }
.nf-decoder__key { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.nf-decoder__k { display: grid; grid-template-columns: 74px 1fr; gap: 12px; align-items: baseline; font-size: .96rem; }
.nf-decoder__k b { font: 600 1rem/1.2 var(--nf-f-accent); padding-left: 10px; border-left: 4px solid; }
.nf-decoder__k--size b { border-color: var(--nf-deep); }
.nf-decoder__k--len b { border-color: var(--nf-accent); }
.nf-decoder__k--type b { border-color: var(--nf-alt); }
.nf-decoder__notes { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.nf-decoder__notes p { margin: 0; padding: 18px 20px; border-radius: var(--nf-radius); background: rgb(var(--nf-deep-rgb) / .04); border-left: 4px solid var(--nf-accent); font-size: .96rem; }
.nf-decoder__notes strong { display: block; margin-bottom: 4px; color: var(--nf-deep); font-family: var(--nf-f-ui); }
.js:not(.fx-noreveal) .nf-decoder__ex.is-in .nf-decoder__seg { animation: nf-seg .7s var(--ease-spring) both; animation-delay: calc(var(--n) * .16s + .15s); }
@keyframes nf-seg { from { opacity: 0; transform: translateY(14px) scale(.9); } }

/* ------------------------------------------------------------ specs, data sheet */
.nf-specs { margin: 0 0 1.4em; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--nf-line); border-radius: var(--nf-radius-lg); overflow: hidden; background: var(--nf-light); }
.nf-specs > div { display: grid; grid-template-columns: 44% 1fr; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--nf-line); }
.nf-specs > div:nth-child(-n+2) { border-top: 0; }
.nf-specs > div:nth-child(odd) { border-right: 1px solid var(--nf-line); }
.nf-specs dt { font: 600 .72rem/1.4 var(--nf-f-accent); letter-spacing: .1em; text-transform: uppercase; color: var(--nf-muted); }
.nf-specs dd { margin: 0; font-weight: 600; color: var(--nf-deep); }
.nf-sheet { display: inline-flex; align-items: center; gap: 14px; padding: 14px 20px 14px 16px; border-radius: var(--nf-radius); background: var(--nf-light); border: 1.5px solid var(--nf-line); color: var(--nf-deep); text-decoration: none; box-shadow: var(--shadow-1); transition: transform .3s var(--ease-out), border-color .3s; }
.nf-sheet:hover { transform: translateY(-3px); border-color: var(--nf-accent); color: var(--nf-deep); }
.nf-sheet .nf-i { width: 26px; height: 26px; color: var(--nf-accent-on-light); }
.nf-sheet span { display: grid; }
.nf-sheet small { color: var(--nf-muted); font-size: .8rem; }
.nf-note--editor { border-left-color: #f5a524; background: #fff8e8; color: #4d3a00; font-size: .9rem; }

/* ------------------------------------------------------------ compare table + wind chart */
.nf-table--compare td, .nf-table--compare th { text-align: center; vertical-align: middle; }
.nf-table--compare th[scope="row"] { text-align: left; font-weight: 600; }
.nf-table--compare .is-us { background: var(--nf-accent-soft); font-weight: 800; color: var(--nf-deep); }
.nf-table--compare thead .is-us { background: var(--nf-accent); color: var(--nf-on-accent); }
.nf-yes, .nf-no { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; }
.nf-yes { background: var(--nf-accent); color: var(--nf-on-accent); }
.nf-no { background: rgb(192 38 45 / .1); color: #b3242a; }
.nf-yes .nf-i, .nf-no .nf-i { width: 16px; height: 16px; stroke-width: 3; }
.nf-wind { margin: 0; padding: clamp(22px, 3vw, 34px); border-radius: var(--nf-radius-lg); background: var(--nf-light); border: 1px solid var(--nf-line); }
.nf-wind__title { display: grid; gap: 2px; margin-bottom: 20px; }
.nf-wind__title span { color: var(--nf-muted); font-size: .92rem; }
.nf-wind__bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.nf-wind__bar { display: grid; grid-template-columns: 1fr; gap: 4px; }
.nf-wind__fill { display: flex; align-items: center; justify-content: flex-end; height: 34px; width: calc(var(--v) / 90 * 100%); padding-right: 10px; border-radius: 0 6px 6px 0; background: linear-gradient(90deg, rgb(var(--nf-deep-rgb) / .18), rgb(var(--nf-deep-rgb) / .35)); color: var(--nf-deep); font: 600 .9rem/1 var(--nf-f-accent); transform-origin: left; transition: transform 1s var(--ease-out); transition-delay: calc(var(--n) * .1s); }
.nf-wind__bar.is-us .nf-wind__fill { background: linear-gradient(90deg, var(--nf-accent), var(--nf-accent-deep)); color: var(--nf-on-accent); }
.nf-wind__label { font: 600 .86rem/1.2 var(--nf-f-ui); color: var(--nf-deep); }
.nf-wind__label small { margin-left: 8px; color: var(--nf-muted); font-weight: 500; }
.nf-wind__note { margin: 16px 0 0; font-size: .82rem; color: var(--nf-muted); }
.js:not(.fx-noreveal) .nf-wind:not(.is-in) .nf-wind__fill { transform: scaleX(0); }

/* ------------------------------------------------------------ dealers */
.nf-dealers { display: grid; gap: 36px; }
.nf-dealers__state { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font: 900 1.3rem/1 var(--nf-f-display); text-transform: uppercase; letter-spacing: .02em; }
.nf-dealers__state .nf-i { width: 22px; height: 22px; color: var(--nf-accent-on-light); }
.nf-dealers__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.nf-dealers__card { display: grid; justify-items: center; gap: 12px; height: 100%; padding: 28px 22px 22px; border-radius: var(--nf-radius-lg); background: var(--nf-light); border: 1px solid var(--nf-line); box-shadow: var(--shadow-1); color: var(--nf-deep); text-decoration: none; text-align: center; transition: transform .4s var(--ease-out), box-shadow .4s, border-color .4s; }
a.nf-dealers__card:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); border-color: var(--nf-accent); color: var(--nf-deep); }
.nf-dealers__logo { width: auto; max-width: 220px; height: 110px; object-fit: contain; }
.nf-dealers__name { font: 800 1rem/1.2 var(--nf-f-ui); }
.nf-dealers__name--big { display: grid; place-items: center; min-height: 110px; font-size: 1.4rem; }
.nf-dealers__place { font: 700 .95rem/1.2 var(--nf-f-ui); color: var(--nf-deep); }
.nf-dealers__empty { display: flex; align-items: center; gap: 12px; margin: 0; padding: 22px 24px; border: 1px dashed var(--nf-line); border-radius: var(--nf-radius-lg); font-weight: 700; }
.nf-dealers__empty .nf-i { flex: none; width: 22px; height: 22px; color: var(--nf-accent-on-light); }
.nf-dealers__visit { display: inline-flex; align-items: center; gap: 6px; font: 700 .8rem/1 var(--nf-f-ui); letter-spacing: .04em; text-transform: uppercase; color: var(--nf-accent-on-light); }
.nf-dealers__visit .nf-i { width: 14px; height: 14px; }

/* ------------------------------------------------------------ fence types & uses */
.nf-types { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; list-style: none; margin: 0; padding: 0; counter-reset: ft; }
.nf-type { counter-increment: ft; position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--nf-radius-lg); background: var(--nf-light); border: 1px solid var(--nf-line); box-shadow: var(--shadow-1); transition: transform .45s var(--ease-out), box-shadow .45s; }
.nf-type:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); }
.nf-type__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--nf-deep); }
.nf-type__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.nf-type:hover .nf-type__media img { transform: scale(1.07); }
.nf-type__media::before { content: counter(ft, decimal-leading-zero); position: absolute; left: 10px; top: 10px; z-index: 2; padding: 5px 8px; border-radius: 4px; background: var(--nf-accent); color: var(--nf-on-accent); font: 600 .74rem/1 var(--nf-f-accent); }
.nf-type__body { padding: 16px 18px 20px; }
.nf-type__title { margin: 0 0 6px; font-size: 1.08rem; }
.nf-type__body p { margin: 0; font-size: .93rem; color: var(--nf-muted); }
.nf-uses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.nf-use { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; padding: 20px; border-radius: var(--nf-radius-lg); border: 1px solid var(--nf-line); background: var(--nf-light); transition: border-color .3s, transform .4s var(--ease-out); }
.nf-use:hover { border-color: var(--nf-accent); transform: translateY(-3px); }
.nf-use .nf-ring { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--nf-accent); background: transparent; }
.nf-use h3 { margin: 4px 0 4px; font-size: 1.08rem; }
.nf-use p { margin: 0; font-size: .94rem; color: var(--nf-muted); }
.nf-section--deep .nf-use, .nf-section--alt .nf-use { background: var(--nf-deep-2); border-color: var(--nf-line-dark); }
.nf-section--deep .nf-use p { color: rgb(var(--nf-light-rgb) / .74); }

/* ------------------------------------------------------------ stats / big numbers */
.nf-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.nf-stat { padding: 26px 22px 22px; border-radius: var(--nf-radius-lg); border: 1px solid var(--nf-line-dark); background: rgb(var(--nf-light-rgb) / .04); }
.nf-stat__num { display: block; margin-bottom: 8px; font: 900 clamp(2.2rem, 1.6rem + 2vw, 3.4rem)/1 var(--nf-f-display); color: var(--nf-accent-on-dark); letter-spacing: -.02em; }
.nf-stat__label { font: 600 .95rem/1.4 var(--nf-f-ui); color: rgb(var(--nf-light-rgb) / .82); }
.nf-section--white .nf-stat, .nf-section--paper .nf-stat { border-color: var(--nf-line); background: var(--nf-light); }
.nf-section--white .nf-stat__num, .nf-section--paper .nf-stat__num { color: var(--nf-accent-on-light); }
.nf-section--white .nf-stat__label, .nf-section--paper .nf-stat__label { color: var(--nf-text); }

/* ------------------------------------------------------------ before/after: the problem */
.nf-problem { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.nf-problem figure { position: relative; margin: 0; overflow: hidden; border-radius: var(--nf-radius-lg); aspect-ratio: 3 / 4; background: var(--nf-dark); }
.nf-problem img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8) contrast(1.05); transition: transform 1s var(--ease-out); }
.nf-problem figure:hover img { transform: scale(1.06); }
.nf-problem figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; background: linear-gradient(0deg, rgb(var(--nf-dark-rgb) / .9), transparent); color: var(--nf-light); font: 800 .84rem/1.2 var(--nf-f-ui); letter-spacing: .06em; text-transform: uppercase; }
.nf-problem figcaption::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 8px; border-radius: 50%; background: #e0503b; box-shadow: 0 0 0 3px rgb(224 80 59 / .3); }

/* ------------------------------------------------------------ cards, features, steps */
.nf-card { border-radius: var(--nf-radius-lg); }
.nf-card::before { left: 0; right: 0; top: 0; width: auto; height: 4px; background: var(--nf-accent); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out); }
.nf-card:hover::before { transform: scaleX(1) rotate(0); }
.nf-ring { border-radius: var(--nf-radius); }
.nf-card:hover .nf-ring { transform: scale(1.06); background: var(--nf-accent); color: var(--nf-on-accent); }
.nf-card--photo > .nf-ring { color: var(--nf-on-accent); }
.nf-checks li::before { border-radius: 50%; }
.nf-steps::after { display: none; }
.nf-steps::before { background: var(--soil); height: 3px; top: 33px; }
.nf-step::before { font-family: var(--nf-f-accent); font-weight: 600; font-size: 1.15rem; background: var(--nf-deep); }
.nf-step__media { margin: 0 0 16px; overflow: hidden; border-radius: var(--nf-radius-lg); aspect-ratio: 1; }
.nf-step__media img { width: 100%; height: 100%; object-fit: cover; }

/* ------------------------------------------------------------ framed photo: drawing corner marks */
.nf-frame::before, .nf-frame::after { width: 46px; height: 46px; background: none; box-shadow: none; transform: none; border: 3px solid var(--nf-accent); z-index: 3; }
.nf-frame::before { left: -12px; top: -12px; border-right: 0; border-bottom: 0; }
.nf-frame::after { right: -12px; bottom: -12px; border-left: 0; border-top: 0; }
.nf-frame:hover::before { transform: translate(-4px, -4px); }
.nf-frame:hover::after { transform: translate(4px, 4px); }
.nf-frame > img { border-radius: var(--nf-radius); }
.nf-frame__tag { font-family: var(--nf-f-accent); font-weight: 500; letter-spacing: .02em; font-size: .78rem; }
.nf-frame--contain > img { object-fit: contain; background: radial-gradient(circle at 50% 40%, var(--nf-light), var(--nf-paper-2)); padding: 6%; }

/* ------------------------------------------------------------ plate (spec block) */
.nf-plate { margin: 0; padding: 22px 24px; border-radius: var(--nf-radius-lg); background: var(--nf-deep); color: rgb(var(--nf-light-rgb) / .86); background-image: var(--grid-dark); background-size: 24px 24px; border-top: 4px solid var(--nf-accent); }
.nf-plate__head { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px dashed var(--nf-line-dark); }
.nf-plate__head small { display: block; font: 600 .66rem/1.3 var(--nf-f-accent); letter-spacing: .14em; text-transform: uppercase; color: var(--nf-accent-on-dark); }
.nf-plate__head strong { color: var(--nf-light); font: 800 1.05rem/1.2 var(--nf-f-ui); }
.nf-plate dl { margin: 0; display: grid; gap: 8px; }
.nf-plate dl > div { display: grid; grid-template-columns: 40% 1fr; gap: 12px; }
.nf-plate dt { font: 600 .74rem/1.5 var(--nf-f-accent); letter-spacing: .08em; text-transform: uppercase; color: var(--nf-muted-dark); }
.nf-plate dd { margin: 0; color: var(--nf-light); }
.nf-plate__code { margin: 14px 0 0; font: 600 .7rem/1 var(--nf-f-accent); letter-spacing: .2em; color: rgb(var(--nf-light-rgb) / .4); }

/* ------------------------------------------------------------ marquee */
.nf-marquee__viewport { background: var(--nf-alt); color: var(--nf-light); transform: none; margin-inline: 0; box-shadow: none; border-block: 3px solid var(--nf-accent); }
.nf-marquee::before { display: none; }
.nf-marquee { padding: 0; margin: 0; }
.nf-marquee__item { color: var(--nf-light); font-size: clamp(1rem, .9rem + .6vw, 1.35rem); letter-spacing: .02em; }
.nf-marquee__item--outline { -webkit-text-stroke-color: var(--nf-accent); }
.nf-marquee__sep { color: var(--nf-accent); }

/* ------------------------------------------------------------ statement, callout, call card */
.nf-statement__text .nf-line--accent { color: var(--nf-accent-on-dark); }
.nf-callout, .nf-callcard { background-image: var(--grid-dark); background-size: 26px 26px; border-top: 4px solid var(--nf-accent); }
.nf-callout::before, .nf-callcard::before { display: none; }
.nf-callcard__title { color: var(--nf-accent-on-dark); font-family: var(--nf-f-accent); font-weight: 600; }
.nf-section .nf-callout .nf-btn--ghost, .nf-callout .nf-btn--ghost { --btn-fg: var(--nf-light); --btn-bd: rgb(var(--nf-light-rgb) / .55); color: var(--nf-light); }
.nf-callout .nf-btn--ghost:hover { --btn-bg: var(--nf-light); --btn-fg: var(--nf-deep); --btn-bd: var(--nf-light); color: var(--nf-deep); }

/* ------------------------------------------------------------ FAQ, chips, notes */
.nf-faq__item summary { font-size: 1.05rem; }
.nf-faq__item summary::before, .nf-faq__item summary::after { background: var(--nf-accent-on-light); }
.nf-chips li > a, .nf-chips li:not(:has(a)) { border-radius: var(--nf-radius); }
.nf-note { border-radius: var(--nf-radius); background: var(--nf-accent-soft); border-left-color: var(--nf-accent); }
.nf-note .nf-i { color: var(--nf-accent-on-light); }

/* ------------------------------------------------------------ the forms */
.nf-formwrap { border-top: 5px solid var(--nf-accent); }
.nf-formwrap::before { display: none; }
.nf-formwrap__intro { margin: -6px 0 18px; color: var(--nf-muted); }
.nf-form__num { font-family: var(--nf-f-accent); font-weight: 600; background: var(--nf-accent); color: var(--nf-on-accent); border-radius: 6px; }
.nf-form__legend { text-transform: none !important; }
.nf-form input[type=url], .nf-form input[type=number] { width: 100%; min-height: 54px; padding: 12px 15px; border: 1.5px solid rgb(var(--nf-deep-rgb) / .22); border-radius: var(--nf-radius); background: var(--nf-light); color: var(--nf-dark); font: 400 1rem/1.4 var(--nf-f-body); transition: border-color .2s, box-shadow .2s; }
.nf-form .nf-field--choices { border: 0; padding: 0; margin: 0; min-width: 0; }
.nf-form .nf-field--choices legend { margin-bottom: 8px; padding: 0; }
.nf-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.nf-pill { position: relative; cursor: pointer; }
.nf-pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.nf-pill span { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: var(--nf-radius); border: 1.5px solid rgb(var(--nf-deep-rgb) / .22); background: var(--nf-light); color: var(--nf-deep); font: 600 .94rem/1.2 var(--nf-f-ui); transition: background .2s, color .2s, border-color .2s, box-shadow .2s; }
.nf-pills--multi .nf-pill span::before { content: ""; width: 18px; height: 18px; border-radius: 4px; border: 2px solid rgb(var(--nf-deep-rgb) / .35); background: center / 12px no-repeat; }
.nf-pill:hover span { border-color: var(--nf-deep); }
.nf-pill input:checked + span { background: var(--nf-deep); border-color: var(--nf-deep); color: var(--nf-on-deep); box-shadow: inset 0 -3px 0 var(--nf-accent); }
.nf-pills--multi .nf-pill input:checked + span::before { border-color: var(--nf-accent); background-color: var(--nf-accent); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23161512' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6.5 9.2 17.3 4 12.1'/%3E%3C/svg%3E"); }
.nf-pill input:focus-visible + span { outline: 3px solid var(--nf-accent); outline-offset: 2px; }
.nf-form .has-error .nf-pill span { border-color: #c0262d; }
.nf-upload { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border: 2px dashed rgb(var(--nf-deep-rgb) / .25); border-radius: var(--nf-radius-lg); background: rgb(var(--nf-paper-rgb) / .6); cursor: pointer; transition: border-color .2s, background .2s; }
.nf-upload:hover, .nf-upload.is-over { border-color: var(--nf-accent); background: var(--nf-accent-soft); }
.nf-upload.has-files { border-style: solid; border-color: var(--nf-accent); }
.nf-upload__icon { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: var(--nf-radius); background: var(--nf-deep); color: var(--nf-accent-on-dark); }
.nf-upload__text { display: grid; gap: 2px; font-weight: 400; }
.nf-upload__text strong { color: var(--nf-deep); font-family: var(--nf-f-ui); }
.nf-upload__text span { color: var(--nf-muted); font-size: .9rem; }
.nf-upload__input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.nf-upload__input:focus-visible + .nf-upload__list, .nf-field--upload:focus-within .nf-upload { outline: 3px solid var(--nf-accent); outline-offset: 2px; }
.nf-upload__list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; font: 500 .88rem/1.4 var(--nf-f-accent); color: var(--nf-deep); }
.nf-form__recaptcha { display: block; margin-top: 4px; font-size: .78rem; }
.nf-form__done .nf-form__doneicon { background: var(--nf-accent); color: var(--nf-on-accent); }

/* Quote page: Residential / Commercial switch */
.nf-qswitch__tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.nf-qswitch__tab { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--nf-radius-lg); border: 2px solid var(--nf-line); background: var(--nf-light); text-align: left; color: var(--nf-deep); transition: border-color .25s, background .25s, box-shadow .25s, transform .3s var(--ease-out); }
.nf-qswitch__tab:hover { border-color: rgb(var(--nf-deep-rgb) / .4); transform: translateY(-2px); }
.nf-qswitch__tab[aria-selected="true"] { border-color: var(--nf-accent); background: var(--nf-accent-soft); box-shadow: var(--shadow-1); }
.nf-qswitch__icon { display: grid; place-items: center; width: 50px; height: 50px; flex: none; border-radius: var(--nf-radius); background: var(--nf-deep); color: var(--nf-accent-on-dark); transition: background .25s, color .25s; }
.nf-qswitch__tab[aria-selected="true"] .nf-qswitch__icon { background: var(--nf-accent); color: var(--nf-on-accent); }
.nf-qswitch__text { display: grid; gap: 3px; }
.nf-qswitch__text strong { font: 900 1.12rem/1.1 var(--nf-f-display); text-transform: uppercase; letter-spacing: .01em; }
.nf-qswitch__text small { font: 500 .86rem/1.35 var(--nf-f-ui); color: var(--nf-muted); }

/* ------------------------------------------------------------ Google reviews */
.nf-g-reviews { display: grid; gap: 20px; }
.nf-g-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.nf-g-summary__score { font: 900 1.8rem/1 var(--nf-f-display); color: var(--nf-deep); }
.nf-g-summary__count { font: 700 .95rem/1.2 var(--nf-f-ui); color: var(--nf-deep); }
.nf-g-summary__link { margin-left: auto; font: 700 .86rem/1 var(--nf-f-ui); }
.nf-g-stars { color: #f5b301; letter-spacing: 2px; font-size: 1.05rem; }
.nf-g-stars__off { color: rgb(var(--nf-deep-rgb) / .2); }
.nf-g-slider { position: relative; }
.nf-g-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 18px) / 3); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 2px 18px; scrollbar-width: thin; }
.nf-g-track:focus-visible { outline: 3px solid var(--nf-accent); outline-offset: 4px; border-radius: var(--nf-radius); }
.nf-g-card { scroll-snap-align: start; display: flex; flex-direction: column; gap: 12px; padding: 22px 22px 18px; border-radius: var(--nf-radius-lg); background: var(--nf-light); border: 1px solid var(--nf-line); box-shadow: var(--shadow-1); }
.nf-g-card__who { display: flex; align-items: center; gap: 12px; }
.nf-g-card__photo { width: 42px; height: 42px; flex: none; border-radius: 50%; object-fit: cover; }
.nf-g-card__photo--initial { display: grid; place-items: center; background: var(--nf-deep); color: var(--nf-accent-on-dark); font: 800 1.05rem/1 var(--nf-f-ui); }
.nf-g-card__meta { display: grid; flex: 1; min-width: 0; }
.nf-g-card__name { font: 800 .98rem/1.2 var(--nf-f-ui); color: var(--nf-deep); }
.nf-g-card__when { font-size: .8rem; color: var(--nf-muted); }
.nf-g-card__src { flex: none; }
.nf-g-card__text { position: relative; flex: 1; font-size: .98rem; line-height: 1.6; color: var(--nf-text); }
.nf-g-card__text p { margin: 0 0 .6em; }
.nf-g-card__text.is-clamped { max-height: 9.6em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.nf-g-card__more { align-self: flex-start; padding: 0; border: 0; background: none; color: var(--nf-accent-on-light); font: 700 .86rem/1 var(--nf-f-ui); text-decoration: underline; text-underline-offset: 3px; }
.nf-g-nav { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 46px; height: 46px; margin-top: -32px; border-radius: 50%; border: 1px solid var(--nf-line); background: var(--nf-light); color: var(--nf-deep); box-shadow: var(--shadow-1); transition: background .2s, color .2s; }
.nf-g-nav:hover { background: var(--nf-accent); color: var(--nf-on-accent); border-color: var(--nf-accent); }
.nf-g-nav[disabled] { opacity: 0; pointer-events: none; }
.nf-g-nav--prev { left: -22px; }
.nf-g-nav--next { right: -22px; }
.nf-g-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.nf-g-write { margin: 0; text-align: center; }
.nf-g-badge { display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px; border-radius: var(--nf-radius); background: var(--nf-light); color: var(--nf-deep); text-decoration: none; box-shadow: var(--shadow-1); }
.nf-g-badge__body { display: grid; }
.nf-g-badge__top { display: flex; gap: 8px; align-items: center; }
.nf-g-badge__count { font-size: .82rem; color: var(--nf-muted); }
.nf-section--deep .nf-g-summary__score, .nf-section--deep .nf-g-summary__count { color: var(--nf-light); }

/* ------------------------------------------------------------ CTA band, footer */
.nf-cta { clip-path: none; margin-top: 0; background-image: var(--grid-dark); background-size: 32px 32px; border-top: 4px solid var(--nf-accent); }
.nf-cta__slogan { margin: 0 0 10px; font: 600 .8rem/1.3 var(--nf-f-accent); letter-spacing: .14em; text-transform: uppercase; color: var(--nf-accent-on-dark); }
.nf-cta__title { font-weight: 900; }
.nf-cta__phoneicon { color: var(--nf-on-accent); }
.nf-footer { background: var(--nf-alt); }
.nf-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.4fr; }
.nf-footer__tagline { font: 700 1.02rem/1.35 var(--nf-f-ui); transform: none; color: var(--nf-light); }
.nf-footer__title { font: 600 .78rem/1.3 var(--nf-f-accent); letter-spacing: .14em; text-transform: uppercase; color: var(--nf-accent-on-dark); }
.nf-footer__phone { font-family: var(--nf-f-ui); font-weight: 800; }
.nf-footer__label { display: block; font: 600 .66rem/1.4 var(--nf-f-accent); letter-spacing: .12em; text-transform: uppercase; color: var(--nf-muted-dark); }
.nf-footer__claims { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; font-size: .88rem; }
.nf-footer__claims li { display: flex; gap: 10px; align-items: center; }
.nf-footer__claims .nf-i { width: 18px; height: 18px; color: var(--nf-accent-on-dark); }
.nf-footer .nf-brand__logo { height: 64px; }
.nf-callbar { border-top-color: var(--nf-accent); }
.nf-callbar__btn--quote { background: var(--nf-btn); color: var(--nf-on-btn); }

/* ------------------------------------------------------------ gallery */
.nf-gallery__item { border-radius: var(--nf-radius); }
.nf-gallery__item::before { content: ""; position: absolute; inset: 8px; z-index: 2; border: 2px solid transparent; border-radius: 2px; transition: border-color .4s, inset .4s var(--ease-out); pointer-events: none; }
.nf-gallery__item:hover::before { inset: 12px; border-color: rgb(var(--nf-accent-rgb) / .85); }
.nf-gallery__cap { font-family: var(--nf-f-ui); font-weight: 700; font-size: .86rem; }
.nf-gallery--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.nf-gallery--4 .nf-gallery__item:nth-child(1) { grid-row: auto; aspect-ratio: 4 / 3; }

/* ------------------------------------------------------------ split helpers */
.nf-split > * { min-width: 0; }
.nf-split__aside { display: grid; gap: 20px; align-content: start; }
@media (min-width: 981px) { .nf-split__aside { position: sticky; top: calc(var(--header-h) + 34px); } }
.nf-hourscard { padding: 22px 24px; border-radius: var(--nf-radius-lg); background: var(--nf-light); border: 1px solid var(--nf-line); box-shadow: var(--shadow-1); }
.nf-hourstable table { width: 100%; border-collapse: collapse; }
.nf-hourstable th, .nf-hourstable td { padding: 10px 12px; border-top: 1px solid var(--nf-line); text-align: left; }

/* ------------------------------------------------------------ effects off */
.fx-off .nf-cutaway__dot { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .nf-cutaway__dot { animation: none; }
}

/* ------------------------------------------------------------ responsive */
@media (max-width: 1200px) {
  .nf-footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .nf-types { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nf-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nf-g-nav--prev { left: -8px; }
  .nf-g-nav--next { right: -8px; }
}
@media (max-width: 980px) {
  .nf-hero--home .nf-hero__inner { grid-template-columns: 1fr; }
  .nf-hero__visual { order: 2; }
  .nf-decoder, .nf-decoder__notes { grid-template-columns: 1fr; }
  .nf-uses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nf-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nf-g-track { grid-auto-columns: calc((100% - 18px) / 2); }
  .nf-g-grid { grid-template-columns: 1fr 1fr; }
  .nf-gallery--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .nf-types, .nf-uses, .nf-problem { grid-template-columns: 1fr 1fr; }
  .nf-specs { grid-template-columns: 1fr; }
  .nf-specs > div:nth-child(2) { border-top: 1px solid var(--nf-line); }
  .nf-specs > div:nth-child(odd) { border-right: 0; }
  .nf-qswitch__tabs { grid-template-columns: 1fr; }
  .nf-g-track { grid-auto-columns: 86%; }
  .nf-g-nav { display: none; }
  .nf-g-grid { grid-template-columns: 1fr; }
  .nf-g-summary__link { margin-left: 0; }
  .nf-footer__grid { grid-template-columns: 1fr 1fr; }
  .nf-hero--home .nf-facts { grid-template-columns: 1fr; }
  .nf-facts { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .nf-types, .nf-uses, .nf-problem, .nf-stats { grid-template-columns: 1fr; }
  .nf-footer__grid { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------ fixes after the first render */
/* The logo has no light version: on dark grounds it sits on a white plate, like the catalog cover. */
.nf-footer .nf-brand__logo, .nf-drawer .nf-brand__logo { box-sizing: content-box; height: 52px; padding: 10px 14px; border-radius: var(--nf-radius); background: #fff; }
/* A single stat reads as a wide plate with the label beside the number. */
.nf-stats:has(> .nf-stat:only-child) { grid-template-columns: 1fr; margin-bottom: .6em; }
.nf-stat:only-child { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 18px; }
.nf-stat:only-child .nf-stat__num { margin: 0; white-space: nowrap; }
/* The rot photos beside text: one tall, two stacked. */
.nf-split .nf-problem { grid-template-columns: 1.15fr 1fr; grid-template-rows: 1fr 1fr; }
.nf-split .nf-problem figure { aspect-ratio: auto; min-height: 220px; }
.nf-split .nf-problem figure:first-child { grid-row: span 2; }
@media (max-width: 760px) {
  .nf-split .nf-problem { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .nf-split .nf-problem figure:first-child { grid-row: auto; grid-column: span 2; aspect-ratio: 16 / 10; }
}

/* Parts table: cells line up; on phones each part becomes a stacked card (no hidden UPC column). */
.nf-table--parts td, .nf-table--parts th { vertical-align: middle; }
.nf-parts__len { line-height: 1.4; }
@media (max-width: 760px) {
  .nf-table--parts { border: 0; background: none; overflow: visible; }
  .nf-table--parts table { min-width: 0; }
  .nf-table--parts thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .nf-table--parts tbody { display: grid; gap: 10px; }
  .nf-table--parts tr { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; padding: 14px 16px; border: 1px solid var(--nf-line); border-radius: var(--nf-radius); background: var(--nf-light); }
  .nf-table--parts tbody tr:nth-child(even) { background: var(--nf-light); }
  .nf-table--parts th, .nf-table--parts td { padding: 0; border: 0; }
  .nf-table--parts th[scope="row"] { grid-row: span 3; align-self: start; }
  .nf-table--parts td:nth-child(2) { font-weight: 600; color: var(--nf-deep); }
  .nf-table--parts td.nf-parts__len::before { content: "Length "; font: 600 .7rem/1 var(--nf-f-accent); letter-spacing: .08em; text-transform: uppercase; color: var(--nf-muted); }
  .nf-table--parts td:nth-child(4)::before { content: "UPC "; font: 600 .7rem/1 var(--nf-f-accent); letter-spacing: .08em; color: var(--nf-muted); }
}
/* Cutaway soil line: keep it out of a neighbouring text column; on phones the label sits clear of the post. */
.nf-split .nf-cutaway__soil, .nf-cutaway__soil { left: -30%; }
@media (max-width: 760px) {
  .nf-cutaway__soil { left: -40%; right: -40%; }
  .nf-cutaway__soil em { left: auto; right: 0; }
}
/* Grid children that hold a scroller must be allowed to shrink, or the track widens the page. */
.nf-g-reviews > *, .nf-g-slider { min-width: 0; }
/* Phones: the sticky action bar carries Get a Quote, so the header keeps the logo, call and menu. */
@media (max-width: 560px) {
  .nf-header__quote { display: none; }
  .nf-header__inner { gap: 10px; }
  .nf-header__actions { gap: 8px; margin-left: auto; }
  .nf-brand__logo { height: min(var(--nf-logo), 44px); }
}
.nf-g-card { position: relative; } /* keeps its screen-reader label inside the scrolling track */
.nf-g-stars { display: inline-flex; gap: 2px; }
.nf-g-star { width: 18px; height: 18px; fill: #f5b301; }
.nf-g-star.is-off { fill: rgb(var(--nf-deep-rgb) / .18); }
/* Outline buttons on the lime ground use the darkest ink to stay readable. */
.nf-section--lime .nf-btn--outline { --btn-fg: var(--nf-dark); --btn-bd: var(--nf-dark); color: var(--nf-dark); }
.nf-section--lime .nf-btn--outline:hover { --btn-bg: var(--nf-dark); --btn-fg: var(--nf-light); color: var(--nf-light); }
.nf-g-nav[disabled] { opacity: .35; pointer-events: none; cursor: default; }
