/* NobleHeart Experience Studio v3.6
   Loaded last so Customizer choices consistently control both cloned and signature pages. */

:root {
  --nhe-primary: var(--nh-primary, #135f66);
  --nhe-secondary: var(--nh-secondary, #ef765f);
  --nhe-accent: var(--nh-accent, #f2bd58);
  --nhe-ink: var(--nh-ink, #17343a);
  --nhe-paper: var(--nh-paper, #fffaf2);
  --nhe-soft: var(--nh-soft, #e8f4ef);
  --nhe-radius: var(--nhe-edge-radius, 24px);
  --nhe-card-gap: 24px;
  --nhe-card-pad: 28px;
  --nhe-depth-x: 0px;
  --nhe-depth-y: 0px;
  --nhe-depth-blur: 0px;
  --nhe-depth-color: color-mix(in srgb, var(--nhe-ink) 18%, transparent);
  --nhe-gradient-opacity: var(--nhe-gradient-strength, .65);
  --nhe-logo-scale: 1;
  --nhe-cursor-main: var(--nhe-cursor-color, var(--nhe-primary));
  --nhe-cursor-accent-color: var(--nhe-cursor-accent, var(--nhe-secondary));
}

/* Color studio: new palettes. Existing four presets retain their original theme rules. */
body.nhe-palette-cobalt-cloud,
body.color-preset-cobalt-cloud,
body.palette-cobalt-cloud {
  --nhe-primary: #174ea6; --nh-primary: #174ea6;
  --nhe-secondary: #2d9cdb; --nh-secondary: #2d9cdb;
  --nhe-accent: #f5b971; --nh-accent: #f5b971;
  --nhe-ink: #102a43; --nh-ink: #102a43;
  --nhe-paper: #f6f9ff; --nh-paper: #f6f9ff;
  --nhe-soft: #e4efff; --nh-soft: #e4efff;
}
body.nhe-palette-forest-sun,
body.color-preset-forest-sun,
body.palette-forest-sun {
  --nhe-primary: #184d3b; --nh-primary: #184d3b;
  --nhe-secondary: #5e8c61; --nh-secondary: #5e8c61;
  --nhe-accent: #f5b941; --nh-accent: #f5b941;
  --nhe-ink: #173329; --nh-ink: #173329;
  --nhe-paper: #fffaf0; --nh-paper: #fffaf0;
  --nhe-soft: #e8f1df; --nh-soft: #e8f1df;
}
body.nhe-palette-coral-tide,
body.color-preset-coral-tide,
body.palette-coral-tide {
  --nhe-primary: #0e6973; --nh-primary: #0e6973;
  --nhe-secondary: #ff6b5f; --nh-secondary: #ff6b5f;
  --nhe-accent: #ffd166; --nh-accent: #ffd166;
  --nhe-ink: #173e43; --nh-ink: #173e43;
  --nhe-paper: #fff9f2; --nh-paper: #fff9f2;
  --nhe-soft: #dff3f1; --nh-soft: #dff3f1;
}
body.nhe-palette-mono-pop,
body.color-preset-mono-pop,
body.palette-mono-pop {
  --nhe-primary: #181818; --nh-primary: #181818;
  --nhe-secondary: #ff3d00; --nh-secondary: #ff3d00;
  --nhe-accent: #c7ff38; --nh-accent: #c7ff38;
  --nhe-ink: #181818; --nh-ink: #181818;
  --nhe-paper: #f4f1ea; --nh-paper: #f4f1ea;
  --nhe-soft: #e7e2d8; --nh-soft: #e7e2d8;
}
body.nhe-palette-berry-sky,
body.color-preset-berry-sky,
body.palette-berry-sky {
  --nhe-primary: #6c2d62; --nh-primary: #6c2d62;
  --nhe-secondary: #4ca4c8; --nh-secondary: #4ca4c8;
  --nhe-accent: #f3a6b4; --nh-accent: #f3a6b4;
  --nhe-ink: #35263b; --nh-ink: #35263b;
  --nhe-paper: #fff8fb; --nh-paper: #fff8fb;
  --nhe-soft: #efe3f1; --nh-soft: #efe3f1;
}

/* Shared surface and spacing repair. */
.site-main { overflow: clip; }
.hoh-inner > .elementor-container,
.hoh-grid > .elementor-container,
.nhe-card-grid > .elementor-container,
.hoh-signature-grid > .elementor-container,
.nhe-signature-grid > .elementor-container {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: var(--nhe-card-gap);
}
.hoh-inner > .elementor-container > .elementor-column,
.hoh-grid > .elementor-container > .elementor-column,
.nhe-card-grid > .elementor-container > .elementor-column,
.hoh-signature-grid > .elementor-container > .elementor-column,
.nhe-signature-grid > .elementor-container > .elementor-column {
  width: auto !important;
  min-width: min(100%, 220px);
  flex: 1 1 220px;
}
.hoh-card > .elementor-widget-wrap,
.hoh-image-card > .elementor-widget-wrap,
.nhe-card > .elementor-widget-wrap,
.hoh-signature-card > .elementor-widget-wrap,
.nhe-signature-card > .elementor-widget-wrap {
  align-content: flex-start;
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.5vw, 22px);
  height: 100%;
  padding: var(--nhe-card-pad) !important;
}
.hoh-card .elementor-widget,
.hoh-image-card .elementor-widget,
.nhe-card .elementor-widget,
.hoh-signature-card .elementor-widget,
.nhe-signature-card .elementor-widget {
  margin-bottom: 0 !important;
}
.hoh-card .elementor-widget-button,
.nhe-card .elementor-widget-button,
.hoh-signature-card .elementor-widget-button,
.nhe-signature-card .elementor-widget-button {
  margin-top: auto !important;
  padding-top: 4px;
}
.hoh-card,
.hoh-image-card,
.nhe-card,
.hoh-signature-card,
.nhe-signature-card {
  border-radius: var(--nhe-radius);
  box-shadow: var(--nhe-depth-x) var(--nhe-depth-y) var(--nhe-depth-blur) var(--nhe-depth-color);
  isolation: isolate;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-radius .3s ease;
}
.hoh-card img,
.hoh-image-card img,
.nhe-card img,
.hoh-signature-card img,
.nhe-signature-card img,
.elementor-widget-image img {
  border-radius: calc(var(--nhe-radius) * .72);
}
.hoh-card .elementor-heading-title,
.nhe-card .elementor-heading-title,
.hoh-signature-card .elementor-heading-title,
.nhe-signature-card .elementor-heading-title {
  text-wrap: balance;
}
.hoh-card p:last-child,
.nhe-card p:last-child,
.hoh-signature-card p:last-child,
.nhe-signature-card p:last-child { margin-bottom: 0; }

body.nhe-spacing-compact { --nhe-card-gap: 14px; --nhe-card-pad: 20px; }
body.nhe-spacing-balanced { --nhe-card-gap: 24px; --nhe-card-pad: 28px; }
body.nhe-spacing-airy { --nhe-card-gap: clamp(28px, 3vw, 44px); --nhe-card-pad: clamp(30px, 3vw, 46px); }
body.nhe-card-spacing-compact { --nhe-card-gap: 14px; --nhe-card-pad: 20px; }
body.nhe-card-spacing-balanced { --nhe-card-gap: 24px; --nhe-card-pad: 28px; }
body.nhe-card-spacing-airy { --nhe-card-gap: clamp(28px, 3vw, 44px); --nhe-card-pad: clamp(30px, 3vw, 46px); }

/* Edge language. */
body.nhe-edge-classic { --nhe-radius: 6px; }
body.nhe-edge-soft { --nhe-radius: var(--nhe-edge-radius, 24px); }
body.nhe-edge-editorial { --nhe-radius: var(--nhe-edge-radius, 30px) 6px var(--nhe-edge-radius, 30px) 6px; }
body.nhe-edge-organic { --nhe-radius: 42px 14px 38px 18px; }
body.nhe-edges-classic { --nhe-radius: 6px; }
body.nhe-edges-soft { --nhe-radius: var(--nhe-edge-radius, 24px); }
body.nhe-edges-editorial { --nhe-radius: var(--nhe-edge-radius, 30px) 6px var(--nhe-edge-radius, 30px) 6px; }
body.nhe-edges-organic { --nhe-radius: 42px 14px 38px 18px; }
body.nhe-edge-editorial .elementor-button,
body.nhe-edges-editorial .elementor-button { border-radius: 18px 4px !important; }
body.nhe-edge-organic .elementor-button,
body.nhe-edges-organic .elementor-button { border-radius: 999px 999px 999px 18px !important; }

/* Gradient atmosphere. */
body[class*="nhe-gradient-"]::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: var(--nhe-gradient-opacity);
  background-repeat: no-repeat;
  background-size: cover;
}
body.nhe-gradient-none::before { display: none; }
body.nhe-gradient-soft::before {
  background:
    radial-gradient(circle at 8% 15%, color-mix(in srgb, var(--nhe-secondary) 24%, transparent), transparent 32%),
    radial-gradient(circle at 88% 82%, color-mix(in srgb, var(--nhe-primary) 20%, transparent), transparent 35%);
}
body.nhe-gradient-aurora::before {
  background:
    radial-gradient(ellipse at 12% 12%, color-mix(in srgb, var(--nhe-accent) 42%, transparent), transparent 36%),
    radial-gradient(ellipse at 82% 18%, color-mix(in srgb, var(--nhe-secondary) 36%, transparent), transparent 34%),
    radial-gradient(ellipse at 56% 92%, color-mix(in srgb, var(--nhe-primary) 34%, transparent), transparent 42%);
}
body.nhe-gradient-sunrise::before {
  background: linear-gradient(145deg, color-mix(in srgb, var(--nhe-accent) 36%, transparent), transparent 35%, color-mix(in srgb, var(--nhe-secondary) 22%, transparent));
}
body.nhe-gradient-mesh::before {
  background:
    radial-gradient(at 8% 8%, color-mix(in srgb, var(--nhe-primary) 28%, transparent), transparent 30%),
    radial-gradient(at 92% 12%, color-mix(in srgb, var(--nhe-accent) 38%, transparent), transparent 30%),
    radial-gradient(at 88% 90%, color-mix(in srgb, var(--nhe-secondary) 28%, transparent), transparent 30%),
    radial-gradient(at 18% 84%, color-mix(in srgb, var(--nhe-soft) 72%, transparent), transparent 34%);
}

/* Isometric depth. */
body.nhe-depth-none,
body.nhe-isometric-none { --nhe-depth-x: 0px; --nhe-depth-y: 0px; --nhe-depth-blur: 0px; }
body.nhe-depth-subtle,
body.nhe-isometric-subtle { --nhe-depth-x: 7px; --nhe-depth-y: 9px; --nhe-depth-blur: 0px; }
body.nhe-depth-bold,
body.nhe-isometric-bold { --nhe-depth-x: 12px; --nhe-depth-y: 14px; --nhe-depth-blur: 0px; }
body.nhe-depth-subtle .hoh-card,
body.nhe-depth-subtle .nhe-card,
body.nhe-isometric-subtle .hoh-card,
body.nhe-isometric-subtle .nhe-card { border: 1px solid color-mix(in srgb, var(--nhe-ink) 10%, transparent); }
body.nhe-depth-bold .hoh-card,
body.nhe-depth-bold .nhe-card,
body.nhe-isometric-bold .hoh-card,
body.nhe-isometric-bold .nhe-card { border: 2px solid var(--nhe-ink); }
@media (hover: hover) {
  body.nhe-depth-subtle .hoh-card:hover,
  body.nhe-depth-subtle .nhe-card:hover,
  body.nhe-isometric-subtle .hoh-card:hover,
  body.nhe-isometric-subtle .nhe-card:hover { transform: translate(-3px, -4px); box-shadow: 10px 13px 0 var(--nhe-depth-color); }
  body.nhe-depth-bold .hoh-card:hover,
  body.nhe-depth-bold .nhe-card:hover,
  body.nhe-isometric-bold .hoh-card:hover,
  body.nhe-isometric-bold .nhe-card:hover { transform: translate(-6px, -7px) rotate(-.35deg); box-shadow: 18px 20px 0 var(--nhe-depth-color); }
}

/* Header studio. */
.nhe-scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100002;
  height: 3px;
  pointer-events: none;
}
.nhe-scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--nhe-primary), var(--nhe-secondary), var(--nhe-accent));
}
.nhe-site-header {
  position: relative;
  z-index: 1000;
  color: var(--nhe-ink);
  transition: filter .25s ease, transform .25s ease, background .25s ease;
}
.nhe-site-header.is-scrolled {
  position: sticky;
  top: 0;
  filter: drop-shadow(0 12px 18px color-mix(in srgb, var(--nhe-ink) 12%, transparent));
}
.admin-bar .nhe-site-header.is-scrolled { top: 32px; }
.nhe-header-shell {
  width: min(1240px, calc(100% - 40px));
  min-height: 82px;
  margin-inline: auto;
  padding: 14px 20px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(18px, 3vw, 44px);
  position: relative;
}
.nhe-header-density-compact .nhe-header-shell { min-height: 64px; padding-block: 8px; }
.nhe-header-density-balanced .nhe-header-shell { min-height: 82px; }
.nhe-header-density-generous .nhe-header-shell { min-height: 104px; padding-block: 20px; }
.nhe-header-surface-solid .nhe-header-shell { background: var(--nhe-paper); }
.nhe-header-surface-glass .nhe-header-shell {
  background: color-mix(in srgb, var(--nhe-paper) 82%, transparent);
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
}
.nhe-header-surface-transparent .nhe-header-shell { background: transparent; }
.nhe-header-surface-gradient .nhe-header-shell {
  background: linear-gradient(120deg, color-mix(in srgb, var(--nhe-primary) 94%, white), color-mix(in srgb, var(--nhe-secondary) 74%, var(--nhe-primary)));
  color: white;
}
.nhe-header-surface-gradient .nhe-primary-menu a,
.nhe-header-surface-gradient .nhe-wordmark,
.nhe-header-surface-gradient .nhe-header-phone { color: inherit; }
.nhe-site-branding { min-width: 0; position: relative; z-index: 2; }
.nhe-site-branding .custom-logo-link { display: inline-flex; align-items: center; }
.nhe-site-branding .custom-logo {
  display: block;
  width: auto;
  max-height: calc(62px * var(--nhe-logo-scale));
  max-width: calc(210px * var(--nhe-logo-scale));
}
.nhe-bundled-logo-link {
  display: inline-flex;
  align-items: center;
  max-width: calc(360px * var(--nhe-logo-scale));
  padding: 6px 10px;
  border-radius: 13px;
  background: rgba(255,255,255,.92);
}
.nhe-bundled-logo { display: block; width: 100%; height: auto; max-height: calc(76px * var(--nhe-logo-scale)); object-fit: contain; }
.nhe-wordmark { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.nhe-wordmark__mark {
  width: 45px; height: 45px; display: grid; place-items: center;
  border-radius: 15px 5px 15px 5px;
  color: white; background: linear-gradient(145deg, var(--nhe-secondary), var(--nhe-primary));
  font: 800 24px/1 Georgia, serif;
  box-shadow: 5px 6px 0 color-mix(in srgb, var(--nhe-accent) 82%, transparent);
}
.nhe-wordmark__copy { display: grid; line-height: 1.05; }
.nhe-wordmark__copy strong { font: 750 clamp(18px, 2vw, 25px)/1 Georgia, serif; }
.nhe-wordmark__copy small { max-width: 190px; margin-top: 4px; font-size: 10px; line-height: 1.25; opacity: .72; }
.nhe-primary-navigation { min-width: 0; }
.nhe-primary-menu { display: flex; justify-content: center; align-items: center; gap: clamp(14px, 2vw, 30px); margin: 0; padding: 0; list-style: none; }
.nhe-primary-menu li { position: relative; }
.nhe-primary-menu a { display: block; color: inherit; font-weight: 700; font-size: 14px; line-height: 1.2; text-decoration: none; white-space: nowrap; }
.nhe-primary-menu a::after {
  content: ""; display: block; height: 2px; margin-top: 5px;
  transform: scaleX(0); transform-origin: left; transition: transform .22s ease;
  background: var(--nhe-secondary);
}
.nhe-primary-menu a:hover::after,
.nhe-primary-menu .current-menu-item > a::after { transform: scaleX(1); }
.nhe-header-align-left .nhe-primary-menu { justify-content: flex-start; }
.nhe-header-align-center .nhe-primary-menu { justify-content: center; }
.nhe-header-align-right .nhe-primary-menu { justify-content: flex-end; }
.nhe-header-actions { display: flex; align-items: center; gap: 13px; }
.nhe-header-phone { display: inline-flex; align-items: center; gap: 6px; color: inherit; font-size: 13px; font-weight: 750; text-decoration: none; }
.nhe-header-phone .dashicons { color: var(--nhe-secondary); }
.nhe-header-cta,
.nhe-footer-button {
  display: inline-flex; justify-content: center; align-items: center;
  min-height: 46px; padding: 12px 20px;
  color: white !important; background: var(--nhe-primary);
  border: 1px solid transparent; text-decoration: none;
  font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.nhe-header-button-pill .nhe-header-cta { border-radius: 999px; }
.nhe-header-button-rounded .nhe-header-cta { border-radius: 13px; }
.nhe-header-button-square .nhe-header-cta { border-radius: 2px; }
.nhe-header-accent-on .nhe-header-shell::after {
  content: ""; position: absolute; left: 20px; right: 20px; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--nhe-secondary), var(--nhe-accent), transparent);
}
.nhe-header-accent-off .nhe-header-shell::after { display: none; }
.nhe-header-topline { color: white; background: var(--nhe-ink); font-size: 12px; }
.nhe-header-topline__inner { width: min(1200px, calc(100% - 40px)); min-height: 34px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nhe-header-topline__contact { display: flex; gap: 20px; }
.nhe-header-topline a { color: inherit; text-decoration: none; }
.nhe-menu-toggle {
  display: none; width: 46px; height: 46px; padding: 11px; border: 0;
  border-radius: 14px; background: var(--nhe-primary); cursor: pointer;
}
.nhe-menu-toggle > span:not(.screen-reader-text) { display: block; width: 100%; height: 2px; margin: 5px 0; background: white; transition: transform .2s ease, opacity .2s ease; }
.nhe-menu-toggle.is-active > span:nth-of-type(2) { transform: translateY(7px) rotate(45deg); }
.nhe-menu-toggle.is-active > span:nth-of-type(3) { opacity: 0; }
.nhe-menu-toggle.is-active > span:nth-of-type(4) { transform: translateY(-7px) rotate(-45deg); }

/* Six structural header variations. */
.header-variation-one { padding-top: 12px; background: transparent; }
.header-variation-one .nhe-header-shell { border: 1px solid color-mix(in srgb, var(--nhe-ink) 10%, transparent); border-radius: 22px; }
.header-variation-two .nhe-header-shell { width: min(1200px, calc(100% - 40px)); border-bottom: 2px solid var(--nhe-ink); }
.header-variation-two .nhe-header-cta { background: var(--nhe-secondary); }
.header-variation-three { background: var(--nhe-primary); color: white; }
.header-variation-three .nhe-header-shell { width: min(100%, 1400px); }
.header-variation-three .nhe-header-cta { color: var(--nhe-ink) !important; background: var(--nhe-accent); box-shadow: 5px 5px 0 var(--nhe-ink); }
.header-variation-three .nhe-primary-menu a::after { background: var(--nhe-accent); }
.header-variation-four { padding: 12px 0 18px; }
.header-variation-four .nhe-header-shell { border: 2px solid var(--nhe-ink); border-radius: 4px; background: var(--nhe-paper); box-shadow: 10px 12px 0 color-mix(in srgb, var(--nhe-secondary) 55%, var(--nhe-ink)); }
.header-variation-four .nhe-header-cta { border: 2px solid var(--nhe-ink); box-shadow: 5px 6px 0 var(--nhe-accent); }
.header-variation-five .nhe-header-shell { grid-template-columns: 1fr auto 1fr; }
.header-variation-five .nhe-site-branding { grid-column: 2; grid-row: 1; text-align: center; }
.header-variation-five .nhe-primary-navigation { grid-column: 1; grid-row: 1; }
.header-variation-five .nhe-header-actions { grid-column: 3; grid-row: 1; justify-content: flex-end; }
.header-variation-five .nhe-wordmark__copy small { display: none; }
.header-variation-six { padding: 10px 0; }
.header-variation-six .nhe-header-shell {
  border-radius: 999px;
  color: white;
  background: linear-gradient(110deg, var(--nhe-primary), color-mix(in srgb, var(--nhe-primary) 60%, var(--nhe-secondary)));
  box-shadow: 0 18px 50px color-mix(in srgb, var(--nhe-primary) 24%, transparent);
}
.header-variation-six .nhe-primary-menu a,
.header-variation-six .nhe-header-phone,
.header-variation-six .nhe-wordmark { color: white; }
.header-variation-six .nhe-header-cta { color: var(--nhe-ink) !important; background: var(--nhe-accent); }
.nhe-header-iso { position: absolute; z-index: 0; width: 22px; height: 22px; pointer-events: none; transform: rotate(30deg) skew(-8deg); }
.nhe-header-iso--one { top: -10px; right: 11%; background: var(--nhe-accent); }
.nhe-header-iso--two { bottom: -11px; left: 9%; background: var(--nhe-secondary); }

/* Footer surface. */
.nhe-site-footer { position: relative; overflow: hidden; padding: clamp(54px, 7vw, 92px) 20px 20px; color: white; background: var(--nhe-ink); }
.nhe-footer-grid { width: min(1180px, 100%); margin: auto; display: grid; grid-template-columns: minmax(250px, 1.5fr) repeat(3, minmax(150px, 1fr)); gap: clamp(28px, 4vw, 60px); position: relative; z-index: 1; }
.nhe-footer-brand .custom-logo { max-width: 190px; height: auto; filter: brightness(0) invert(1); }
.nhe-footer-bundled-logo-link { display: inline-flex; max-width: 290px; padding: 9px 12px; border-radius: 14px; background: #fff; }
.nhe-footer-bundled-logo { display: block; width: 100%; height: auto; }
.nhe-footer-title { color: white; font: 750 clamp(25px, 3vw, 38px)/1 Georgia, serif; text-decoration: none; }
.nhe-footer-brand p { max-width: 330px; opacity: .72; }
.nhe-footer-column h2 { margin: 0 0 18px; color: var(--nhe-accent); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.nhe-footer-column ul { margin: 0; padding: 0; list-style: none; }
.nhe-footer-column li + li { margin-top: 10px; }
.nhe-footer-column a { color: white; text-decoration: none; opacity: .82; }
.nhe-footer-column a:hover { opacity: 1; }
.nhe-footer-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.nhe-footer-button { margin-top: 8px; border-radius: 999px; background: var(--nhe-secondary); opacity: 1 !important; }
.nhe-footer-bottom { width: min(1180px, 100%); margin: 50px auto 0; padding-top: 18px; display: flex; justify-content: space-between; gap: 18px; border-top: 1px solid rgba(255,255,255,.15); font-size: 12px; opacity: .65; }
.nhe-footer-orbit { position: absolute; right: -80px; top: -130px; width: 360px; height: 360px; border: 1px solid color-mix(in srgb, var(--nhe-secondary) 45%, transparent); border-radius: 50%; }
.nhe-footer-orbit span { position: absolute; border: 1px solid color-mix(in srgb, var(--nhe-accent) 35%, transparent); border-radius: 50%; inset: 45px; }
.nhe-footer-orbit span:nth-child(2) { inset: 90px; }
.nhe-footer-orbit span:nth-child(3) { inset: 135px; background: color-mix(in srgb, var(--nhe-secondary) 30%, transparent); }
.footer-variation-four { border-top: 10px solid var(--nhe-accent); }
.footer-variation-five { background: linear-gradient(145deg, var(--nhe-primary), var(--nhe-ink)); }
.footer-variation-six { color: var(--nhe-ink); background: var(--nhe-paper); border-top: 2px solid var(--nhe-ink); }
.footer-variation-six a, .footer-variation-six .nhe-footer-title { color: var(--nhe-ink); }
.footer-variation-six .nhe-footer-bottom { border-color: color-mix(in srgb, var(--nhe-ink) 18%, transparent); }

/* Configurable mobile quick-action bar. */
.nhe-mobile-actions { display: none; }
@media (max-width: 767px) {
  body:has(.nhe-mobile-actions) { padding-bottom: 86px; }
  .nhe-mobile-actions {
    position: fixed;
    z-index: 10001;
    left: max(10px, env(safe-area-inset-left));
    right: max(10px, env(safe-area-inset-right));
    bottom: max(10px, env(safe-area-inset-bottom));
    min-height: 68px;
    display: grid;
    gap: 7px;
    padding: 7px;
    border: 1px solid color-mix(in srgb, var(--nhe-ink) 12%, transparent);
    border-radius: 21px;
    box-shadow: 0 18px 48px color-mix(in srgb, var(--nhe-ink) 24%, transparent);
  }
  .nhe-mobile-actions--1 { grid-template-columns: 1fr; }
  .nhe-mobile-actions--2 { grid-template-columns: repeat(2, 1fr); }
  .nhe-mobile-actions--3 { grid-template-columns: repeat(3, 1fr); }
  .nhe-mobile-actions--glass { background: color-mix(in srgb, var(--nhe-paper) 84%, transparent); backdrop-filter: blur(18px) saturate(1.25); -webkit-backdrop-filter: blur(18px) saturate(1.25); }
  .nhe-mobile-actions--solid { background: var(--nhe-paper); }
  .nhe-mobile-actions--floating { bottom: max(18px, env(safe-area-inset-bottom)); background: var(--nhe-paper); border: 2px solid var(--nhe-ink); box-shadow: 7px 8px 0 color-mix(in srgb, var(--nhe-primary) 65%, var(--nhe-ink)); }
  .nhe-mobile-actions--gradient { color: white; background: linear-gradient(115deg, var(--nhe-primary), color-mix(in srgb, var(--nhe-primary) 55%, var(--nhe-secondary))); }
  .nhe-mobile-action { min-width: 0; min-height: 54px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 7px 6px; border-radius: 15px; color: inherit; text-align: center; text-decoration: none; font-size: 10px; font-weight: 800; line-height: 1.1; }
  .nhe-mobile-action .dashicons { width: 22px; height: 22px; font-size: 22px; line-height: 22px; }
  .nhe-mobile-action.is-primary { color: white; background: var(--nhe-primary); }
  .nhe-mobile-actions--gradient .nhe-mobile-action.is-primary { color: var(--nhe-ink); background: var(--nhe-accent); }
}

/* Cursor studio. */
.nhe-cursor-dot,
.nhe-cursor-ring {
  position: fixed;
  z-index: 100005;
  left: -100px;
  top: -100px;
  pointer-events: none;
  opacity: 0;
  will-change: left, top, transform;
  transition: width .16s ease, height .16s ease, opacity .18s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease;
}
body.nhe-cursor-seen .nhe-cursor-dot,
body.nhe-cursor-seen .nhe-cursor-ring { opacity: 1; }
body.nhe-cursor-system .nhe-cursor-dot,
body.nhe-cursor-system .nhe-cursor-ring { display: none !important; }
html.custom-cursor body,
html.custom-cursor a,
html.custom-cursor button,
html.custom-cursor input,
html.custom-cursor textarea,
html.custom-cursor select,
html.custom-cursor [role="button"] { cursor: none !important; }
.nhe-cursor-dot {
  width: var(--nhe-cursor-size, 9px);
  height: var(--nhe-cursor-size, 9px);
  border-radius: 50%;
  background: var(--nhe-cursor-main);
  transform: translate(-50%, -50%);
}
.nhe-cursor-ring {
  width: calc(var(--nhe-cursor-size, 9px) * 4.2);
  height: calc(var(--nhe-cursor-size, 9px) * 4.2);
  border: 1px solid var(--nhe-cursor-accent-color);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
body.nhe-cursor-hover .nhe-cursor-ring { width: 58px; height: 58px; background: color-mix(in srgb, var(--nhe-cursor-accent-color) 12%, transparent); }
body.nhe-cursor-down .nhe-cursor-dot { transform: translate(-50%, -50%) scale(.65); }
body.nhe-cursor-down .nhe-cursor-ring { transform: translate(-50%, -50%) scale(.84); }
body.nhe-cursor-3d-arrow .nhe-cursor-dot {
  width: calc(var(--nhe-cursor-size, 9px) * 2.3);
  height: calc(var(--nhe-cursor-size, 9px) * 3.05);
  border: 1px solid white;
  border-radius: 2px;
  clip-path: polygon(0 0, 100% 68%, 61% 70%, 82% 100%, 61% 100%, 43% 72%, 17% 100%);
  background: linear-gradient(145deg, var(--nhe-cursor-accent-color), var(--nhe-cursor-main));
  box-shadow: 5px 6px 0 color-mix(in srgb, var(--nhe-ink) 35%, transparent);
  transform: translate(-18%, -12%) rotate(-8deg);
}
body.nhe-cursor-3d-arrow .nhe-cursor-ring {
  width: 34px; height: 34px; border: 0; border-radius: 5px;
  background: color-mix(in srgb, var(--nhe-accent) 20%, transparent);
  box-shadow: 5px 6px 0 color-mix(in srgb, var(--nhe-primary) 18%, transparent);
  transform: translate(-50%, -50%) rotate(12deg);
}
body.nhe-cursor-glass-orb .nhe-cursor-dot { width: 6px; height: 6px; background: white; box-shadow: 0 0 0 2px var(--nhe-cursor-main); }
body.nhe-cursor-glass-orb .nhe-cursor-ring {
  width: 44px; height: 44px; border-color: rgba(255,255,255,.75);
  background: color-mix(in srgb, var(--nhe-cursor-main) 18%, transparent);
  box-shadow: inset 7px 8px 14px rgba(255,255,255,.3), 0 8px 24px color-mix(in srgb, var(--nhe-primary) 22%, transparent);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
body.nhe-cursor-spotlight .nhe-cursor-dot { width: 5px; height: 5px; background: white; }
body.nhe-cursor-spotlight .nhe-cursor-ring {
  width: 92px; height: 92px; border: 0;
  background: radial-gradient(circle, color-mix(in srgb, var(--nhe-cursor-accent-color) 28%, transparent), transparent 68%);
  mix-blend-mode: multiply;
}
body.nhe-cursor-crosshair .nhe-cursor-dot { width: 5px; height: 5px; }
body.nhe-cursor-crosshair .nhe-cursor-ring { width: 34px; height: 34px; border-radius: 0; border: 0; }
body.nhe-cursor-crosshair .nhe-cursor-ring::before,
body.nhe-cursor-crosshair .nhe-cursor-ring::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--nhe-cursor-accent-color); transform: translate(-50%, -50%); }
body.nhe-cursor-crosshair .nhe-cursor-ring::before { width: 100%; height: 1px; }
body.nhe-cursor-crosshair .nhe-cursor-ring::after { width: 1px; height: 100%; }

/* Reveal choices. */
.nhe-reveal-ready { opacity: 0; transition: opacity .62s ease, transform .62s cubic-bezier(.2,.7,.2,1), filter .62s ease; transition-delay: calc(var(--nhe-reveal-order, 0) * 60ms); }
.nhe-reveal-ready.is-visible { opacity: 1; transform: none !important; filter: none; }
body.nhe-reveal-fade .nhe-reveal-ready { transform: none; }
body.nhe-reveal-lift .nhe-reveal-ready { transform: translateY(28px); }
body.nhe-reveal-slide .nhe-reveal-ready { transform: translateX(-30px); }
body.nhe-reveal-scale .nhe-reveal-ready { transform: scale(.965); filter: blur(4px); }
.nhe-parallax,
.hoh-scroll-image,
[data-nhe-parallax] { transform: translate3d(0, var(--nhe-parallax-y, 0), 0); will-change: transform; }

/* Signature collection: the alternate pages keep their Elementor widgets, with an editorial spatial language. */
.hoh-signature-page,
.nhe-signature-page,
[class*="hoh-signature-"] { --nhe-signature-line: color-mix(in srgb, var(--nhe-ink) 16%, transparent); }
.hoh-signature-hero,
.nhe-signature-hero,
.signature-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.hoh-signature-hero::after,
.nhe-signature-hero::after,
.signature-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -8vw;
  bottom: -12vw;
  width: min(42vw, 560px);
  aspect-ratio: 1;
  border: clamp(26px, 5vw, 74px) solid color-mix(in srgb, var(--nhe-accent) 32%, transparent);
  border-radius: 44% 56% 62% 38%;
  transform: rotate(18deg);
}
.hoh-signature-collage img,
.nhe-signature-collage img,
.signature-collage img { box-shadow: 12px 14px 0 color-mix(in srgb, var(--nhe-secondary) 35%, transparent); }
.hoh-signature-timeline .hoh-card:nth-child(even),
.nhe-signature-timeline .nhe-card:nth-child(even),
.signature-timeline .elementor-column:nth-child(even) { transform: translateY(32px); }
.hoh-signature-isometric .hoh-card,
.nhe-signature-isometric .nhe-card,
.signature-isometric .elementor-column { border: 2px solid var(--nhe-ink); box-shadow: 10px 12px 0 color-mix(in srgb, var(--nhe-accent) 70%, var(--nhe-ink)); }
.hoh-signature-stairs .elementor-column:nth-child(2),
.nhe-signature-stairs .elementor-column:nth-child(2),
.signature-stairs .elementor-column:nth-child(2) { transform: translateY(24px); }
.hoh-signature-stairs .elementor-column:nth-child(3),
.nhe-signature-stairs .elementor-column:nth-child(3),
.signature-stairs .elementor-column:nth-child(3) { transform: translateY(48px); }
.hoh-signature-magazine .elementor-heading-title,
.nhe-signature-magazine .elementor-heading-title,
.signature-magazine .elementor-heading-title { text-wrap: balance; }
.hoh-signature-command,
.nhe-signature-command,
.signature-command { border-block: 1px solid var(--nhe-signature-line); }
.hoh-signature-steps .hoh-card,
.nhe-signature-steps .nhe-card,
.signature-steps .elementor-column { counter-increment: nhe-steps; position: relative; }
.hoh-signature-steps,
.nhe-signature-steps,
.signature-steps { counter-reset: nhe-steps; }
.hoh-signature-steps .hoh-card::before,
.nhe-signature-steps .nhe-card::before,
.signature-steps .elementor-column::before {
  content: "0" counter(nhe-steps);
  position: absolute;
  z-index: 3;
  right: 18px;
  top: 12px;
  color: color-mix(in srgb, var(--nhe-primary) 25%, transparent);
  font: 800 42px/1 Georgia, serif;
}

@media (max-width: 1100px) {
  .nhe-header-phone span:last-child { display: none; }
  .header-variation-five .nhe-header-shell { grid-template-columns: auto minmax(0,1fr) auto; }
  .header-variation-five .nhe-site-branding { grid-column: 1; }
  .header-variation-five .nhe-primary-navigation { grid-column: 2; }
  .header-variation-five .nhe-header-actions { grid-column: 3; }
  .nhe-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .admin-bar .nhe-site-header.is-scrolled { top: 46px; }
  .nhe-header-shell,
  .header-variation-five .nhe-header-shell { grid-template-columns: minmax(0,1fr) auto; }
  .nhe-site-branding,
  .header-variation-five .nhe-site-branding { grid-column: 1; grid-row: 1; }
  .nhe-menu-toggle { display: block; grid-column: 2; grid-row: 1; }
  .nhe-header-actions { display: none; }
  .nhe-primary-navigation,
  .header-variation-five .nhe-primary-navigation {
    position: absolute;
    inset: calc(100% + 8px) 0 auto;
    grid-column: 1 / -1;
    grid-row: 2;
    padding: 12px;
    border: 1px solid color-mix(in srgb, var(--nhe-ink) 12%, transparent);
    border-radius: 18px;
    background: var(--nhe-paper);
    box-shadow: 0 24px 46px color-mix(in srgb, var(--nhe-ink) 18%, transparent);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nhe-primary-navigation.is-open { opacity: 1; visibility: visible; transform: none; }
  .nhe-primary-menu { display: grid; gap: 2px; }
  .nhe-primary-menu a { padding: 12px 14px; border-radius: 11px; color: var(--nhe-ink) !important; }
  .nhe-primary-menu a:hover { background: var(--nhe-soft); }
  .nhe-primary-menu a::after { display: none; }
  .header-variation-six .nhe-header-shell { border-radius: 24px; }
  .nhe-header-topline__inner { justify-content: center; text-align: center; }
  .nhe-header-topline__contact { display: none; }
}

@media (max-width: 767px) {
  :root { --nhe-card-gap: 16px; --nhe-card-pad: 22px; }
  .nhe-header-shell { width: min(100% - 20px, 1240px); padding-inline: 14px; }
  .header-variation-one, .header-variation-four, .header-variation-six { padding-top: 7px; }
  .nhe-wordmark__copy small { display: none; }
  .nhe-site-branding .custom-logo { max-width: 164px; max-height: 54px; }
  .nhe-bundled-logo-link { max-width: min(255px, calc(100vw - 94px)); padding: 4px 7px; }
  .hoh-inner > .elementor-container > .elementor-column,
  .hoh-grid > .elementor-container > .elementor-column,
  .nhe-card-grid > .elementor-container > .elementor-column,
  .hoh-signature-grid > .elementor-container > .elementor-column,
  .nhe-signature-grid > .elementor-container > .elementor-column { flex-basis: 100%; min-width: 100%; }
  .hoh-signature-timeline .hoh-card:nth-child(even),
  .nhe-signature-timeline .nhe-card:nth-child(even),
  .signature-timeline .elementor-column:nth-child(even),
  .hoh-signature-stairs .elementor-column,
  .nhe-signature-stairs .elementor-column,
  .signature-stairs .elementor-column { transform: none; }
  .nhe-footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .nhe-footer-bottom { flex-direction: column; }
}

@media (pointer: coarse), (prefers-reduced-motion: reduce) {
  .nhe-cursor-dot, .nhe-cursor-ring { display: none !important; }
  html.custom-cursor body, html.custom-cursor * { cursor: auto !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .nhe-reveal-ready { opacity: 1 !important; transform: none !important; filter: none !important; }
  .nhe-parallax, .hoh-scroll-image, [data-nhe-parallax] { transform: none !important; }
}

/* v3.6.1 control-value compatibility. These names exactly match the Design Studio. */
:root {
  --nhe-cursor-size: calc(9px * var(--nhe-cursor-scale, 1));
  --nhe-cursor-main: var(--nhe-cursor-primary, var(--nhe-primary));
  --nhe-cursor-accent-color: var(--nhe-cursor-accent, var(--nhe-secondary));
}

body.nhe-edge-curved .hoh-card,
body.nhe-edge-curved .hoh-image-card,
body.nhe-edge-curved .nhe-card,
body.nhe-edge-curved .hoh-signature-card,
body.nhe-edge-curved .nhe-signature-card { border-radius: var(--nhe-radius, 28px) 7px var(--nhe-radius, 28px) 7px; }
body.nhe-edge-curved .elementor-widget-image img { border-radius: var(--nhe-radius, 28px) 7px var(--nhe-radius, 28px) 7px; }
body.nhe-edge-curved .elementor-button { border-radius: 18px 5px !important; }

body.nhe-gradient-soft-aurora::before {
  background:
    radial-gradient(ellipse at 10% 12%, color-mix(in srgb, var(--nhe-accent) 38%, transparent), transparent 35%),
    radial-gradient(ellipse at 86% 18%, color-mix(in srgb, var(--nhe-secondary) 30%, transparent), transparent 34%),
    radial-gradient(ellipse at 58% 92%, color-mix(in srgb, var(--nhe-primary) 25%, transparent), transparent 42%);
}
body.nhe-gradient-blue-tide::before {
  background: linear-gradient(145deg, color-mix(in srgb, #96d1fb 48%, transparent), transparent 46%, color-mix(in srgb, var(--nhe-primary) 24%, transparent));
}
body.nhe-gradient-sunset::before {
  background: linear-gradient(145deg, color-mix(in srgb, #ffd166 40%, transparent), transparent 38%, color-mix(in srgb, var(--nhe-secondary) 30%, transparent));
}
body.nhe-gradient-mint::before {
  background:
    radial-gradient(circle at 12% 18%, color-mix(in srgb, #bde7d4 55%, transparent), transparent 36%),
    radial-gradient(circle at 88% 76%, color-mix(in srgb, var(--nhe-accent) 26%, transparent), transparent 38%);
}
body.nhe-gradient-mono::before {
  background: radial-gradient(circle at 72% 16%, color-mix(in srgb, var(--nhe-ink) 15%, transparent), transparent 38%);
}

.nhe-header-density-comfortable .nhe-header-shell { min-height: 82px; padding-block: 14px; }
.nhe-header-density-spacious .nhe-header-shell { min-height: 104px; padding-block: 20px; }
.nhe-header-surface-outline .nhe-header-shell { background: var(--nhe-paper); border: 2px solid var(--nhe-ink); box-shadow: none; }
.nhe-header-button-soft-square .nhe-header-cta { border-radius: 13px; }
.nhe-header-button-sharp .nhe-header-cta { border-radius: 1px; }
.nhe-header-secondary { color: inherit; font-size: 13px; font-weight: 800; text-decoration: none; border-bottom: 2px solid var(--nhe-secondary); }

@media (max-width: 767px) {
  .nhe-mobile-actions--isometric { background: var(--nhe-paper); border: 2px solid var(--nhe-ink); box-shadow: 7px 8px 0 color-mix(in srgb, var(--nhe-primary) 65%, var(--nhe-ink)); }
  .nhe-mobile-actions--minimal { left: 0; right: 0; bottom: 0; border: 0; border-top: 1px solid color-mix(in srgb, var(--nhe-ink) 14%, transparent); border-radius: 0; background: var(--nhe-paper); box-shadow: 0 -8px 28px color-mix(in srgb, var(--nhe-ink) 10%, transparent); }
}

body.nhe-preset-cobalt-cloud { --nhe-primary: #174ea6; --nhe-secondary: #2d9cdb; --nhe-accent: #f5b971; --nhe-ink: #102a43; --nhe-paper: #f6f9ff; --nhe-soft: #e4efff; }
body.nhe-preset-forest-sun { --nhe-primary: #184d3b; --nhe-secondary: #5e8c61; --nhe-accent: #f5b941; --nhe-ink: #173329; --nhe-paper: #fffaf0; --nhe-soft: #e8f1df; }
body.nhe-preset-coral-tide { --nhe-primary: #0e6973; --nhe-secondary: #ff6b5f; --nhe-accent: #ffd166; --nhe-ink: #173e43; --nhe-paper: #fff9f2; --nhe-soft: #dff3f1; }
body.nhe-preset-mono-pop { --nhe-primary: #181818; --nhe-secondary: #ff3d00; --nhe-accent: #c7ff38; --nhe-ink: #181818; --nhe-paper: #f4f1ea; --nhe-soft: #e7e2d8; }
body.nhe-preset-berry-sky { --nhe-primary: #6c2d62; --nhe-secondary: #4ca4c8; --nhe-accent: #f3a6b4; --nhe-ink: #35263b; --nhe-paper: #fff8fb; --nhe-soft: #efe3f1; }
