@layer theme, base, components, utilities;

:root {
  --color-cream: #FFFBF5;
  --color-panel: #F7F0E8;
  --color-ink: #111111;
  --color-muted: #62564D;
  --color-brand: #EC1C24;
  --color-brand-bright: #FA0707;
  --color-tan: #B2896F;
  --color-tan-soft: #B38A6F;
  --color-dark: #181718;
  --color-blush: #FDE9E4;
  --color-whatsapp: #00B95C;
  --color-whatsapp-btn: #64B161;
  --color-whatsapp-deep: #006005;
  --color-whatsapp-edge: #43CE4A;
  --font-display: "Youth", "Red Hat Display", sans-serif;
  --font-body: "Neue Montreal", "Red Hat Display", sans-serif;
}

@font-face {
  font-family: 'Youth';
  src: url('../fonts/youth/Youth-BlackItalic.eot');
  src: url('../fonts/youth/Youth-BlackItalic.eot?#iefix') format('embedded-opentype'),
    url('../fonts/youth/Youth-BlackItalic.woff2') format('woff2'),
    url('../fonts/youth/Youth-BlackItalic.woff') format('woff'),
    url('../fonts/youth/Youth-BlackItalic.ttf') format('truetype'),
    url('../fonts/youth/Youth-BlackItalic.svg#Youth-BlackItalic') format('svg');
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Youth';
  src: url('../fonts/youth/Youth-Black.eot');
  src: url('../fonts/youth/Youth-Black.eot?#iefix') format('embedded-opentype'),
    url('../fonts/youth/Youth-Black.woff2') format('woff2'),
    url('../fonts/youth/Youth-Black.woff') format('woff'),
    url('../fonts/youth/Youth-Black.ttf') format('truetype'),
    url('../fonts/youth/Youth-Black.svg#Youth-Black') format('svg');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Youth';
  src: url('../fonts/youth/Youth-BoldItalic.eot');
  src: url('../fonts/youth/Youth-BoldItalic.eot?#iefix') format('embedded-opentype'),
    url('../fonts/youth/Youth-BoldItalic.woff2') format('woff2'),
    url('../fonts/youth/Youth-BoldItalic.woff') format('woff'),
    url('../fonts/youth/Youth-BoldItalic.ttf') format('truetype'),
    url('../fonts/youth/Youth-BoldItalic.svg#Youth-BoldItalic') format('svg');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Youth';
  src: url('../fonts/youth/Youth-Bold.eot');
  src: url('../fonts/youth/Youth-Bold.eot?#iefix') format('embedded-opentype'),
    url('../fonts/youth/Youth-Bold.woff2') format('woff2'),
    url('../fonts/youth/Youth-Bold.woff') format('woff'),
    url('../fonts/youth/Youth-Bold.ttf') format('truetype'),
    url('../fonts/youth/Youth-Bold.svg#Youth-Bold') format('svg');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Youth';
  src: url('../fonts/youth/Youth-Italic.eot');
  src: url('../fonts/youth/Youth-Italic.eot?#iefix') format('embedded-opentype'),
    url('../fonts/youth/Youth-Italic.woff2') format('woff2'),
    url('../fonts/youth/Youth-Italic.woff') format('woff'),
    url('../fonts/youth/Youth-Italic.ttf') format('truetype'),
    url('../fonts/youth/Youth-Italic.svg#Youth-Italic') format('svg');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Youth';
  src: url('../fonts/youth/Youth-LightItalic.eot');
  src: url('../fonts/youth/Youth-LightItalic.eot?#iefix') format('embedded-opentype'),
    url('../fonts/youth/Youth-LightItalic.woff2') format('woff2'),
    url('../fonts/youth/Youth-LightItalic.woff') format('woff'),
    url('../fonts/youth/Youth-LightItalic.ttf') format('truetype'),
    url('../fonts/youth/Youth-LightItalic.svg#Youth-LightItalic') format('svg');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Youth';
  src: url('../fonts/youth/Youth-Light.eot');
  src: url('../fonts/youth/Youth-Light.eot?#iefix') format('embedded-opentype'),
    url('../fonts/youth/Youth-Light.woff2') format('woff2'),
    url('../fonts/youth/Youth-Light.woff') format('woff'),
    url('../fonts/youth/Youth-Light.ttf') format('truetype'),
    url('../fonts/youth/Youth-Light.svg#Youth-Light') format('svg');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Youth';
  src: url('../fonts/youth/Youth-MediumItalic.eot');
  src: url('../fonts/youth/Youth-MediumItalic.eot?#iefix') format('embedded-opentype'),
    url('../fonts/youth/Youth-MediumItalic.woff2') format('woff2'),
    url('../fonts/youth/Youth-MediumItalic.woff') format('woff'),
    url('../fonts/youth/Youth-MediumItalic.ttf') format('truetype'),
    url('../fonts/youth/Youth-MediumItalic.svg#Youth-MediumItalic') format('svg');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Youth';
  src: url('../fonts/youth/Youth-Medium.eot');
  src: url('../fonts/youth/Youth-Medium.eot?#iefix') format('embedded-opentype'),
    url('../fonts/youth/Youth-Medium.woff2') format('woff2'),
    url('../fonts/youth/Youth-Medium.woff') format('woff'),
    url('../fonts/youth/Youth-Medium.ttf') format('truetype'),
    url('../fonts/youth/Youth-Medium.svg#Youth-Medium') format('svg');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Youth';
  src: url('../fonts/youth/Youth-Regular.eot');
  src: url('../fonts/youth/Youth-Regular.eot?#iefix') format('embedded-opentype'),
    url('../fonts/youth/Youth-Regular.woff2') format('woff2'),
    url('../fonts/youth/Youth-Regular.woff') format('woff'),
    url('../fonts/youth/Youth-Regular.ttf') format('truetype'),
    url('../fonts/youth/Youth-Regular.svg#Youth-Regular') format('svg');
  font-weight: 400;
  font-style: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Youth';
  src: url('../fonts/youth/Youth-ThinItalic.eot');
  src: url('../fonts/youth/Youth-ThinItalic.eot?#iefix') format('embedded-opentype'),
    url('../fonts/youth/Youth-ThinItalic.woff2') format('woff2'),
    url('../fonts/youth/Youth-ThinItalic.woff') format('woff'),
    url('../fonts/youth/Youth-ThinItalic.ttf') format('truetype'),
    url('../fonts/youth/Youth-ThinItalic.svg#Youth-ThinItalic') format('svg');
  font-weight: 100;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Youth';
  src: url('../fonts/youth/Youth-Thin.eot');
  src: url('../fonts/youth/Youth-Thin.eot?#iefix') format('embedded-opentype'),
    url('../fonts/youth/Youth-Thin.woff2') format('woff2'),
    url('../fonts/youth/Youth-Thin.woff') format('woff'),
    url('../fonts/youth/Youth-Thin.ttf') format('truetype'),
    url('../fonts/youth/Youth-Thin.svg#Youth-Thin') format('svg');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Neue Montreal';
  src: url('../fonts/neue-montreal/NeueMontreal-Bold.eot');
  src: url('../fonts/neue-montreal/NeueMontreal-Bold.eot?#iefix') format('embedded-opentype'),
    url('../fonts/neue-montreal/NeueMontreal-Bold.woff2') format('woff2'),
    url('../fonts/neue-montreal/NeueMontreal-Bold.woff') format('woff'),
    url('../fonts/neue-montreal/NeueMontreal-Bold.ttf') format('truetype'),
    url('../fonts/neue-montreal/NeueMontreal-Bold.svg#NeueMontreal-Bold') format('svg');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Neue Montreal';
  src: url('../fonts/neue-montreal/NeueMontreal-BoldItalic.eot');
  src: url('../fonts/neue-montreal/NeueMontreal-BoldItalic.eot?#iefix') format('embedded-opentype'),
    url('../fonts/neue-montreal/NeueMontreal-BoldItalic.woff2') format('woff2'),
    url('../fonts/neue-montreal/NeueMontreal-BoldItalic.woff') format('woff'),
    url('../fonts/neue-montreal/NeueMontreal-BoldItalic.ttf') format('truetype'),
    url('../fonts/neue-montreal/NeueMontreal-BoldItalic.svg#NeueMontreal-BoldItalic') format('svg');
  font-weight: bold;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Neue Montreal';
  src: url('../fonts/neue-montreal/NeueMontreal-Italic.eot');
  src: url('../fonts/neue-montreal/NeueMontreal-Italic.eot?#iefix') format('embedded-opentype'),
    url('../fonts/neue-montreal/NeueMontreal-Italic.woff2') format('woff2'),
    url('../fonts/neue-montreal/NeueMontreal-Italic.woff') format('woff'),
    url('../fonts/neue-montreal/NeueMontreal-Italic.ttf') format('truetype'),
    url('../fonts/neue-montreal/NeueMontreal-Italic.svg#NeueMontreal-Italic') format('svg');
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Neue Montreal';
  src: url('../fonts/neue-montreal/NeueMontreal-Light.eot');
  src: url('../fonts/neue-montreal/NeueMontreal-Light.eot?#iefix') format('embedded-opentype'),
    url('../fonts/neue-montreal/NeueMontreal-Light.woff2') format('woff2'),
    url('../fonts/neue-montreal/NeueMontreal-Light.woff') format('woff'),
    url('../fonts/neue-montreal/NeueMontreal-Light.ttf') format('truetype'),
    url('../fonts/neue-montreal/NeueMontreal-Light.svg#NeueMontreal-Light') format('svg');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Neue Montreal';
  src: url('../fonts/neue-montreal/NeueMontreal-LightItalic.eot');
  src: url('../fonts/neue-montreal/NeueMontreal-LightItalic.eot?#iefix') format('embedded-opentype'),
    url('../fonts/neue-montreal/NeueMontreal-LightItalic.woff2') format('woff2'),
    url('../fonts/neue-montreal/NeueMontreal-LightItalic.woff') format('woff'),
    url('../fonts/neue-montreal/NeueMontreal-LightItalic.ttf') format('truetype'),
    url('../fonts/neue-montreal/NeueMontreal-LightItalic.svg#NeueMontreal-LightItalic') format('svg');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Neue Montreal';
  src: url('../fonts/neue-montreal/NeueMontreal-Medium.eot');
  src: url('../fonts/neue-montreal/NeueMontreal-Medium.eot?#iefix') format('embedded-opentype'),
    url('../fonts/neue-montreal/NeueMontreal-Medium.woff2') format('woff2'),
    url('../fonts/neue-montreal/NeueMontreal-Medium.woff') format('woff'),
    url('../fonts/neue-montreal/NeueMontreal-Medium.ttf') format('truetype'),
    url('../fonts/neue-montreal/NeueMontreal-Medium.svg#NeueMontreal-Medium') format('svg');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Neue Montreal';
  src: url('../fonts/neue-montreal/NeueMontreal-MediumItalic.eot');
  src: url('../fonts/neue-montreal/NeueMontreal-MediumItalic.eot?#iefix') format('embedded-opentype'),
    url('../fonts/neue-montreal/NeueMontreal-MediumItalic.woff2') format('woff2'),
    url('../fonts/neue-montreal/NeueMontreal-MediumItalic.woff') format('woff'),
    url('../fonts/neue-montreal/NeueMontreal-MediumItalic.ttf') format('truetype'),
    url('../fonts/neue-montreal/NeueMontreal-MediumItalic.svg#NeueMontreal-MediumItalic') format('svg');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Neue Montreal';
  src: url('../fonts/neue-montreal/NeueMontreal-Regular.eot');
  src: url('../fonts/neue-montreal/NeueMontreal-Regular.eot?#iefix') format('embedded-opentype'),
    url('../fonts/neue-montreal/NeueMontreal-Regular.woff2') format('woff2'),
    url('../fonts/neue-montreal/NeueMontreal-Regular.woff') format('woff'),
    url('../fonts/neue-montreal/NeueMontreal-Regular.ttf') format('truetype'),
    url('../fonts/neue-montreal/NeueMontreal-Regular.svg#NeueMontreal-Regular') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --nhome-header-h: 78px;
  --nhome-line: rgba(178, 137, 111, 0.15);

  --nhome-cream: var(--color-cream);
  --nhome-panel: var(--color-panel);
  --nhome-ink: var(--color-ink);
  --nhome-muted: var(--color-muted);
  --nhome-red: var(--color-brand);
  --nhome-red-bright: var(--color-brand-bright);
  --nhome-tan: var(--color-tan);
  --nhome-dark: var(--color-dark);
  --nhome-green: var(--color-whatsapp);
  --nhome-blush: var(--color-blush);
  --nhome-display: var(--font-display);
  --nhome-body: var(--font-body);

  scroll-behavior: auto;
}

@layer base {

  html {
    margin: 0 !important;
    box-sizing: border-box;
    scroll-behavior: smooth;
  }

  html,
  body {
    overflow-x: clip;
  }

  *,
  ::after,
  ::before {
    box-sizing: inherit;
    padding: 0;
    margin: 0;
    scroll-behavior: smooth;
  }

  a,
  aside,
  body,
  del,
  div,
  dl,
  footer,
  header,
  li,
  main,
  ol,
  p,
  section,
  span,
  ul {
    padding: 0;
    margin: 0;
    text-shadow: none;
    outline: 0;
    box-shadow: none;
    text-decoration: none;
    list-style: none;
  }

  body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-ink);
    background: var(--color-cream);
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-family: var(--font-display);
  }
}

@layer components {

  .nhome-anim .reveal-up,
  .nhome-anim .reveal-scale,
  .nhome-anim .reveal-left,
  .nhome-anim .reveal-right,
  .nhome-anim .reveal-stagger>* {
    opacity: 0;
  }

  .nhome-scroll {
    display: flow-root;
  }

  .nhome-has-smooth .nhome-scroll {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    will-change: transform;
  }

  .nhome-has-smooth .nhome-banner {
    margin-top: var(--nhome-header-h);
  }

  @media (prefers-reduced-motion: reduce) {
    .nhome-has-smooth .nhome-scroll {
      position: static;
      width: auto;
      transform: none !important;
      will-change: auto;
    }

    .nhome-has-smooth .nhome-banner {
      margin-top: 0;
    }
  }
}

@layer components {

  .new-header {
    z-index: 99 !important;
  }

  body:has(.nhome-menu-veil.is-open) .new-header {
    background-color: #FFFFFF !important;
  }

  .nhome-menu[hidden],
  .nhome-menu-veil[hidden] {
    display: none;
  }

  .nhome-menu>.container {
    --nhome-menu-radius: 30px;
    pointer-events: auto;
    width: 100%;
    max-height: 100%;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-radius: var(--nhome-menu-radius);
    background: #fff;
    border: 1px solid rgba(236, 28, 36, 0.3);
    clip-path: inset(0% 50% 100% 50% round var(--nhome-menu-radius));
    opacity: 0;
    transition: clip-path 0.4s cubic-bezier(0.625, 0.05, 0, 1),
      opacity 0.1s ease 0.3s;
  }

  .nhome-menu.is-open>.container {
    clip-path: inset(0% 0% 0% 0% round var(--nhome-menu-radius));
    opacity: 1;
    transition: clip-path 0.4s cubic-bezier(0.625, 0.05, 0, 1),
      opacity 0.1s ease 0s;
  }

  .nhome-menu-top,
  .nhome-menu-clients,
  .nhome-menu-foot {
    transition: transform 0.8s cubic-bezier(0.625, 0.05, 0, 1);
    transform: translateY(2em);
  }

  .nhome-menu.is-open .nhome-menu-top,
  .nhome-menu.is-open .nhome-menu-clients,
  .nhome-menu.is-open .nhome-menu-foot {
    transform: translateY(0);
  }

  .nhome-menu-top {
    transition-delay: -0.1s;
  }

  .nhome-menu-clients {
    transition-delay: -0.05s;
  }

  .nhome-menu-foot {
    transition-delay: 0s;
  }

  .nhome-menu-veil {
    position: fixed;
    inset: 0;
    z-index: 97;
    background: rgba(23, 21, 15, 0.35);
    opacity: 0;
    transition: opacity 0.25s ease;
  }

  .nhome-menu-veil.is-open {
    opacity: 1;
  }

  .nhome-menu-quick li::after {
    content: "";
    position: absolute;
    top: 6px;
    bottom: 6px;
    width: 1px;
    right: 0;
    border-right: 1px solid var(--color-tan);
  }

  .nhome-menu-quick li:last-child::after {
    display: none;
  }
	
	nhome-menu-clients ul li  {
		height: 100%;
	}
		.nhome-menu-clients ul li a {
  padding: 8px 10px !important;
  height: 100%;
	}


  @media (max-width: 767px) {
    .nhome-menu>.container {
      --nhome-menu-radius: 16px;
    }

    .nhome-menu-top,
    .nhome-menu-clients,
    .nhome-menu-foot {
      transform: translateY(1em);
    }

    .ctx-strip::after {
      top: 0;
    }

    .ctx-strip::before {
      bottom: 0;
    }

  }

  @media (prefers-reduced-motion: reduce) {

    .nhome-menu>.container,
    .nhome-menu.is-open>.container,
    .nhome-menu-top,
    .nhome-menu-clients,
    .nhome-menu-foot,
    .nhome-menu-veil {
      transition: none;
    }

    .nhome-menu-top,
    .nhome-menu-clients,
    .nhome-menu-foot {
      transform: none;
    }
  }
}

@keyframes nhome-ani-roll {
  0% {
    transform: translateY(0);
    clip-path: inset(-0.08em -100vw -0.08em -100vw);
    opacity: 1;
    animation-timing-function: cubic-bezier(0, 0, 0.58, 1);
  }

  50% {
    transform: translateY(calc(-1 * var(--nhome-ani-y)));
    clip-path: inset(var(--nhome-ani-y) -100vw -0.08em -100vw);
    opacity: 0;
  }

  50.01% {
    transform: translateY(var(--nhome-ani-y));
    clip-path: inset(-0.08em -100vw var(--nhome-ani-y) -100vw);
    opacity: 0;
    animation-timing-function: cubic-bezier(0, 0, 0.58, 1);
  }

  100% {
    transform: translateY(0);
    clip-path: inset(-0.08em -100vw -0.08em -100vw);
    opacity: 1;
  }
}

@layer components {

  .ani-img,
  .ani-text {
    --nhome-ani-turn: 0.6s;
    --nhome-ani-y: 0.7em;
  }

  .ani-text.is-turning,
  .ani-img.is-turning {
    animation: nhome-ani-roll var(--nhome-ani-turn) both;
    will-change: transform, opacity, clip-path;
  }

  .ani-text[data-ani-words] {
    display: inline-flex;
    justify-content: center;
    white-space: nowrap;
    transition: width 0.35s cubic-bezier(0, 0, 0.58, 1);
  }

  .ani-text.is-still {
    transition: none;
  }

  .ani-probe {
    position: absolute;
    top: 0;
    left: 0;
    visibility: hidden;
    white-space: nowrap;
    pointer-events: none;
  }

  @media (prefers-reduced-motion: reduce) {

    .ani-text.is-turning,
    .ani-img.is-turning {
      animation: none;
    }

    .ani-text[data-ani-words] {
      transition: none;
    }
  }
}

@layer components {

  .nhome-count strong,
  [data-count] {
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1;
  }
}

@layer components {

  .nhome-finder-dock {
    position: fixed;
    inset: 0;
    z-index: 96;
    pointer-events: none;

    opacity: 1;
    visibility: visible;
    transition: opacity 0.35s ease, visibility 0s;
  }

  .nhome-finder-dock.is-gone {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0s linear 0.35s;
  }

  .nhome-finder-panel {
    position: absolute;
    bottom: 15px;
    left: 50%;

    min-width: min(1320px, calc(100vw - 16px));
    max-width: calc(100vw - 16px);

    padding: 0;
    border: 1px solid transparent;
    border-radius: 28px;
    transform: translate(-50%, 0);
    transition: background 0.35s ease, border-color 0.35s ease,
      box-shadow 0.35s ease;
  }

  .nhome-finder-panel.is-open {
    background: #fff;
    border-color: rgba(178, 137, 111, 0.25);
    box-shadow: 0 30px 70px -34px rgba(24, 23, 24, 0.35);
    pointer-events: auto;
    padding-bottom: 12px;
  }

  .nhome-finder-veil {
    position: fixed;
    inset: 0;
    z-index: 95;
    background: rgba(255, 251, 245, 0.55);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .nhome-finder-veil.is-open {
    opacity: 1;
  }

  .nhome-finder-veil[hidden] {
    display: none;
  }

  .nhome-finder-stack {
    height: 0;
    overflow: hidden;
    transition: height 0.45s cubic-bezier(0.625, 0.05, 0, 1);
  }

  .nhome-finder-pop {
    display: none;
    padding: 18px 16px 22px;
  }

  .nhome-finder-pop.is-active {
    display: flex;
    flex-direction: column;
  }

  .nhome-finder-panel.is-capped .nhome-finder-pop.is-active {
    height: 100%;
  }

  .nhome-finder {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    width: fit-content;
    max-width: 100%;
    padding: 20px;
    background: var(--color-panel);
    border: 1px solid rgba(178, 137, 111, 0.3);
    border-radius: 20px;
    margin-inline: auto;

    pointer-events: auto;
    transition: padding 0.35s cubic-bezier(0.625, 0.05, 0, 1);
  }

  .nhome-finder-clause {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: inherit;
  }

  .nhome-finder-panel.is-docked .nhome-finder {
    padding: 14px 22px;
  }

  .nhome-finder-text {
    font-size: 18px;
    line-height: 26px;
    color: #7c7c7c;
    transition: font-size 0.35s cubic-bezier(0.625, 0.05, 0, 1),
      line-height 0.35s cubic-bezier(0.625, 0.05, 0, 1);
  }

  .nhome-finder-panel.is-docked .nhome-finder-text {
    font-size: 18px;
    line-height: 24px;
  }

  .nhome-finder-field {
    position: relative;
  }

  .nhome-finder-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: 0;
    background: none;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    line-height: 24px;
    color: var(--color-brand-bright);
    cursor: pointer;
    transition: font-size 0.35s cubic-bezier(0.625, 0.05, 0, 1),
      line-height 0.35s cubic-bezier(0.625, 0.05, 0, 1);
  }

  .nhome-finder-panel.is-docked .nhome-finder-toggle {
    font-size: 16px;
    line-height: 22px;
  }

  .nhome-finder-toggle:focus-visible {
    border-radius: 4px;
  }

  .nhome-finder-value {
    display: inline-block;
    padding-bottom: 2px;
    border-bottom: 3px solid var(--color-brand-bright);
    transition: width 0.3s cubic-bezier(0.625, 0.05, 0, 1);
  }

  .nhome-finder-window {
    display: block;
    overflow: hidden;
    transition: height 0.3s cubic-bezier(0.625, 0.05, 0, 1);
  }

  .nhome-finder-reel {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.3s cubic-bezier(0.625, 0.05, 0, 1);
  }

  .nhome-finder-word {
    display: flex;
    align-items: center;
    flex: none;
    white-space: nowrap;
  }

  .nhome-finder-value.is-still,
  .nhome-finder-value.is-still .nhome-finder-window,
  .nhome-finder-value.is-still .nhome-finder-reel {
    transition: none;
  }

  .nhome-finder-caret {
    display: inline-grid;
    place-items: center;
    flex: none;
    color: var(--color-ink);
    transition: transform 0.25s ease;
  }

  .nhome-finder-caret svg {
    width: 32px;
    height: 32px;
    transition: width 0.35s cubic-bezier(0.625, 0.05, 0, 1),
      height 0.35s cubic-bezier(0.625, 0.05, 0, 1);
  }

  .nhome-finder-panel.is-docked .nhome-finder-caret svg {
    width: 24px;
    height: 24px;
  }

  .nhome-finder-caret path {
    stroke-width: 2.6;
  }

  .nhome-finder-field.is-open .nhome-finder-caret {
    transform: rotate(180deg);
  }

  .nhome-finder-preview {
    display: grid;
    flex: none;
    width: min(420px, 100%);
    margin: 0 auto 20px;
    aspect-ratio: 3 / 2;
    border-radius: 14px;
    overflow: hidden;
    background: var(--color-panel);
  }

  .nhome-finder-panel.is-capped .nhome-finder-preview {
    width: min(300px, 100%);
    margin-bottom: 14px;
  }

  .nhome-finder-shot {
    grid-area: 1 / 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;

    transform: scale(1.03);
    transition: opacity 0.45s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .nhome-finder-shot.is-active {
    opacity: 1;
    transform: none;
  }

  .nhome-finder-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: flex-start;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  /* The lists ship inside their field and are only moved into .nhome-finder-stack
     (height:0) once initFinder runs. Until then they render in full -- 21 service
     options tall -- and collapsing them later cost the page its entire CLS budget
     (one 0.27 shift). Hide them while they are still in the field; the rule stops
     matching the moment buildCloud reparents them into .nhome-finder-pop.
     The options are <li data-url>, not links, so they are inert without JS anyway. */
  .nhome-finder-field .nhome-finder-list {
    display: none;
  }

  .nhome-finder-panel.is-capped .nhome-finder-list {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;

    -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 30px), transparent 100%);
    mask-image: linear-gradient(180deg, #000 calc(100% - 30px), transparent 100%);
  }

  .nhome-finder-option[data-value="all"] {
    display: none;
  }

  .nhome-finder-option {
    padding: 6px 12px;
    border: 1px solid transparent;
    border-radius: 50px;
    background: rgba(178, 137, 111, 0.15);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    white-space: nowrap;
    color: var(--color-ink);
    cursor: pointer;

    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
      transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
      background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  }

  .nhome-finder-pop.is-settling .nhome-finder-option {
    opacity: 0;
    transform: translateY(8px);
    transition: none;
  }

  .nhome-finder-panel.is-open .nhome-finder-pop.is-active .nhome-finder-option {
    opacity: 1;
    transform: none;
    transition-delay: calc(var(--i, 0) * var(--nhome-finder-step, 0.035s));
  }

  .nhome-finder-option:hover,
  .nhome-finder-option:focus-visible {
    background: rgba(236, 28, 36, 0.1);
    border-color: var(--color-brand);
    color: var(--color-brand);
    outline: none;
  }

  .nhome-finder-option.is-selected {
    background: var(--color-brand);
    border-color: var(--color-brand);
    color: #fff;
  }

  .nhome-finder-option.is-selected:hover {
    background: var(--color-brand-bright);
    color: #fff;
  }

  @media (max-width: 767px) {

    .nhome-finder-field,
    .nhome-finder-toggle,
    .nhome-finder-value {
      min-width: 0;
      max-width: 100%;
    }

    .nhome-finder-word {
      white-space: normal;
    }

    .nhome-finder {
      padding: 14px 16px;
      gap: 6px 8px;
    }

    .nhome-finder-panel.is-docked .nhome-finder {
      padding: 12px 16px;
    }

    .nhome-finder-text,
    .nhome-finder-toggle {
      font-size: 18px;
      line-height: 24px;
    }

    .nhome-finder-panel.is-docked .nhome-finder-text,
    .nhome-finder-panel.is-docked .nhome-finder-toggle {
      font-size: 15px;
      line-height: 22px;
    }

    .nhome-finder-caret svg {
      width: 22px;
      height: 22px;
    }

    .nhome-finder-panel.is-docked .nhome-finder-caret svg {
      width: 18px;
      height: 18px;
    }

    .nhome-finder-pop {
      padding: 12px 8px 16px;
    }

    .nhome-finder-preview {
      margin-bottom: 14px;
    }
  }

  @media (prefers-reduced-motion: reduce) {

    .nhome-finder-panel,
    .nhome-finder-veil,
    .nhome-finder-stack,
    .nhome-finder,
    .nhome-finder-text,
    .nhome-finder-toggle,
    .nhome-finder-caret svg,
    .nhome-finder-shot,
    .nhome-finder-option,
    .nhome-finder-value,
    .nhome-finder-reel {
      transition-duration: 0.01ms;
    }

    .nhome-finder-shot {
      transform: none;
    }

    .nhome-finder-panel.is-open .nhome-finder-pop.is-active .nhome-finder-option {
      transition-delay: 0s;
    }
  }
}

@layer components {
  .nhmctmarq-main {
    --nhmctmarq-fade: clamp(24px, 6vw, 90px);
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: flex-start;
    overflow: hidden;
    padding-block: 20px;
    -webkit-mask-image: linear-gradient(90deg,
        transparent 0,
        #000 var(--nhmctmarq-fade),
        #000 calc(100% - var(--nhmctmarq-fade)),
        transparent 100%);
    mask-image: linear-gradient(90deg,
        transparent 0,
        #000 var(--nhmctmarq-fade),
        #000 calc(100% - var(--nhmctmarq-fade)),
        transparent 100%);
  }

  .nhmctmarq-track {
    display: flex;
    width: max-content;
    transform: translate3d(0, 0, 0);
    will-change: transform;
    backface-visibility: hidden;
  }

  .nhmctmarq-group {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-right: 10px;
    flex-shrink: 0;
  }

  .nhome-work-rail .nhmctmarq-main {
    -webkit-mask-image: none;
    mask-image: none;
    padding-block: 0;
  }

  .nhome-work-rail .nhmctmarq-group {
    gap: 30px;
    padding-right: 30px;
  }

  @media (prefers-reduced-motion: reduce) {
    .nhmctmarq-box a {
      transition: none;
    }
  }
}

@layer components {

  .nhome-case-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: 1fr;
    grid-auto-flow: row dense;
  }

  .nhome-case-grid>[hidden] {
    display: none;
  }

  @media (width >=768px) {
    .nhome-case-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (width >=992px) {
    .nhome-case-grid {
      grid-template-columns: repeat(12, 1fr);
    }

    .nhome-case-grid .nhome-case-card {
      grid-column: span 4;
    }

    .nhome-case-grid .nhome-case-card:nth-child(4),
    .nhome-case-grid .nhome-case-card:nth-child(7) {
      grid-column: span 5;
    }

    .nhome-case-grid .nhome-case-card:nth-child(5),
    .nhome-case-grid .nhome-case-card:nth-child(6) {
      grid-column: span 7;
    }
  }

  .nhome-case-card::after {
    content: "";
    position: absolute;
    inset: -1px;
    bottom: -2px;
    border-radius: 20px;
    background: linear-gradient(to top, #F7F0E8 0%, rgba(236, 28, 36, 0) 100%);
    z-index: -1;
  }

  .nhome-case-media::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
    opacity: 0;
    transition: opacity 0.35s ease-in-out;
  }

  .nhome-case-card:hover .nhome-case-media::before {
    opacity: 1;
  }
}

@layer components {
  /* Case studies: the card grid, from
     assets-2/granth-case-study-options/13-expand-grid.html. Only the tiles are
     taken from that file — the in-grid expand panel it demonstrates is not
     wanted here, so every tile is a plain link to the case study and the
     section needs no script at all.

     .nhome-bento-chip and .nhome-bento-btn outlive the bento this replaced: the
     "Worked with" split pane still prints chips with the first, and this
     section's CTA uses the second. */
  .nhome-xg {
    --xg-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --xg-gut: 30px;
  }

  .nhome-xg-head {
    display: grid;
    align-items: end;
    gap: 24px;
  }

  .nhome-xg-eyebrow {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-tan);
  }

  .nhome-xg-lede {
    margin: 0;
    font-size: 17px;
    line-height: 26px;
    color: rgba(0, 0, 0, 0.5);
  }

  .nhome-xg-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--xg-gut);
  }

  .nhome-xg-grid [hidden] {
    display: none;
  }

  /* the tile */
  .nhome-xg-tile {
    position: relative;
    display: block;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    background: var(--color-panel);
    aspect-ratio: 4 / 5;
    text-decoration: none;
    color: inherit;
    transition: transform 0.5s var(--xg-ease), box-shadow 0.5s var(--xg-ease);
  }

  .nhome-xg-tile:hover,
  .nhome-xg-tile:focus-visible {
    transform: translateY(-5px);
    box-shadow: 0 20px 44px rgba(60, 30, 15, 0.16);
  }

  .nhome-xg-tile > img {
    position: absolute;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: cover;
    transition: transform 1s var(--xg-ease);
  }

  .nhome-xg-tile:hover > img,
  .nhome-xg-tile:focus-visible > img {
    transform: scale(1.06);
  }

  .nhome-xg-veil {
    position: absolute;
    inset: 0;
    opacity: 0.9;
    transition: opacity 0.5s;
    /* deeper than the option file: half the real case-study art is light, and the
       tile copy sits on the bottom third of it */
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.95) 100%);
  }

  .nhome-xg-tile:hover .nhome-xg-veil,
  .nhome-xg-tile:focus-visible .nhome-xg-veil {
    opacity: 1;
  }

  .nhome-xg-pad {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 16px;
  }

  .nhome-xg-tag {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    line-height: 16px;
  }

  .nhome-xg-name {
    display: block;
    margin: 8px 0 0;
    font-family: var(--font-display);
    font-size: clamp(17px, 1.6vw, 21px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: #fff;
  }

  .nhome-xg-sub {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.78);
  }

  .nhome-xg-go {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border-radius: 100px;
    background: #fff;
    color: var(--color-ink);
    transition: background 0.35s, color 0.35s;
  }

  .nhome-xg-tile:hover .nhome-xg-go,
  .nhome-xg-tile:focus-visible .nhome-xg-go {
    background: var(--color-brand);
    color: #fff;
  }

  .nhome-xg-go svg {
    transition: transform 0.35s var(--xg-ease);
  }

  .nhome-xg-tile:hover .nhome-xg-go svg {
    transform: translate(2px, -2px);
  }

  .nhome-xg-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  }

  /* kept from the bento this section replaced */
  .nhome-bento-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 11px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.88);
    font-size: 13px;
    line-height: 20px;
    font-weight: 500;
    white-space: nowrap;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }

  .nhome-bento-chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border: 1px solid transparent;
    border-radius: 50px;
    background: rgba(178, 137, 111, 0.15);
    color: rgba(17, 17, 17, 0.8);
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.25s, border-color 0.25s, color 0.25s;
  }

  .nhome-bento-chip:hover {
    background: rgba(178, 137, 111, 0.24);
  }

  .nhome-bento-chip.is-active {
    background: rgba(236, 28, 36, 0.1);
    border-color: var(--color-brand);
    color: var(--color-brand);
  }

  .nhome-bento-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 10px 10px 22px;
    border-radius: 100px;
    background: #f0484e;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.3s, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .nhome-bento-btn:hover,
  .nhome-bento-btn:focus-visible {
    background: var(--color-brand);
    color: #fff;
    transform: translateY(-2px);
  }

  .nhome-bento-btn .ic {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    border-radius: 100px;
    background: #fff;
    color: #f0484e;
  }

  .nhome-bento-btn .ic svg {
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .nhome-bento-btn:hover .ic svg {
    transform: translate(2px, -2px);
  }

  @media (width >= 1200px) {
    .nhome-xg-head {
      grid-template-columns: minmax(0, 1fr) auto;
    }

    .nhome-xg-lede {
      max-width: 34ch;
      text-align: right;
      font-size: 20px;
      line-height: 28px;
    }
  }

  @media (width < 1200px) {
    .nhome-xg {
      --xg-gut: 22px;
    }
  }

  @media (width < 1024px) {
    .nhome-xg-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  @media (width < 560px) {
    .nhome-xg-grid {
      grid-template-columns: minmax(0, 1fr);
    }

    .nhome-xg-tile {
      aspect-ratio: 16 / 11;
    }
  }

  @media (prefers-reduced-motion: reduce) {

    .nhome-xg-tile,
    .nhome-xg-tile > img,
    .nhome-xg-veil {
      transition: none;
    }
  }
}
@layer components {
  /* Worked with: a story pane beside a scrolling stack of case panels, from
     assets-2/granth-case-study-options/08-scroll-sticky-split.html. The pane is
     position: sticky where the page scrolls natively; under the smooth scroller the
     wrapper is transformed, sticky has nothing to stick to, and initSplit() pins the
     pane by transform instead. Chips, tags and the red pill reuse the bento classes. */
  .nhome-split {
    display: grid;
    grid-template-columns: minmax(0, 470px) minmax(0, 1fr);
    gap: clamp(30px, 5vw, 80px);
    align-items: start;
  }

  .nhome-split-pane {
    position: sticky;
    top: 0;
    display: grid;
    grid-template-rows: auto 1fr auto;
    height: 100vh;
    height: 100svh;
    padding-block: clamp(28px, 5vh, 64px);
  }

  .nhome-has-smooth .nhome-split-pane {
    position: relative;
    top: auto;
    will-change: transform;
  }

  .nhome-split-mid {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
  }

  .nhome-split-no {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    line-height: 0.8;
  }

  .nhome-split-no b {
    font-size: clamp(84px, 11vw, 168px);
    font-weight: 900;
    letter-spacing: -0.06em;
    color: var(--color-brand);
  }

  .nhome-split-no small {
    margin-top: 12px;
    font-size: clamp(13px, 1.1vw, 15px);
    letter-spacing: 0.16em;
    color: rgba(0, 0, 0, 0.2);
    font-variant-numeric: tabular-nums;
  }

  .nhome-split-name {
    margin: 22px 0 0;
    font-size: clamp(26px, 3.2vw, 44px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.03em;
  }

  .nhome-split-desc {
    max-width: 40ch;
    margin: 16px 0 0;
    font-size: clamp(15px, 1.4vw, 18px);
    line-height: 1.55;
    color: rgba(0, 0, 0, 0.5);
  }

  .nhome-split-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
  }

  .nhome-split-chips .nhome-bento-chip {
    cursor: default;
  }

  .nhome-split-swap {
    transition: opacity 0.3s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .nhome-split-swap.is-out {
    opacity: 0;
    transform: translateY(10px);
  }

  /* segmented progress rail: 4px of ink inside a 24px hit area */
  .nhome-split-segs {
    display: flex;
    gap: 6px;
    margin-top: auto;
    padding-top: 26px;
  }

  .nhome-split-segs button {
    flex: 1;
    height: 24px;
    padding: 10px 0;
    border: 0;
    border-radius: 3px;
    background: rgba(0, 0, 0, 0.1);
    background-clip: content-box;
    cursor: pointer;
    transition: background 0.4s;
  }

  .nhome-split-segs button[aria-current="true"] {
    background: #f0484e;
    background-clip: content-box;
  }

  .nhome-split-segs button.is-past {
    background: rgba(236, 28, 36, 0.32);
    background-clip: content-box;
  }

  .nhome-split-panels {
    display: flex;
    flex-direction: column;
    gap: clamp(20px, 3vw, 40px);
    padding-block: clamp(28px, 5vh, 64px);
  }

  .nhome-split-panel {
    position: relative;
    display: block;
    height: clamp(440px, 82vh, 700px);
    height: clamp(440px, 82svh, 700px);
    border-radius: 26px;
    overflow: hidden;
    background: #efe9e2;
    color: inherit;
    text-decoration: none;
  }

  .nhome-split-panel:nth-child(even) {
    margin-left: clamp(0px, 6vw, 90px);
  }

  .nhome-split-panel:nth-child(odd) {
    margin-right: clamp(0px, 3vw, 44px);
  }

  .nhome-split-panel>img {
    position: absolute;
    inset: 0;
    object-fit: cover;
    will-change: transform;
    transition: scale 1.1s cubic-bezier(0.22, 1, 0.36, 1);
  }


  .nhome-split-g {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0) 38%, rgba(0, 0, 0, 0.7));
  }

  .nhome-split-tags {
    position: absolute;
    left: 20px;
    top: 20px;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .nhome-split-cap {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
  }

  .nhome-split-cap h4 {
    margin: 0;
    font-size: clamp(20px, 2.2vw, 28px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.025em;
    color: #fff;
  }

  .nhome-split-cap>div>span {
    display: block;
    margin-top: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
  }

  .nhome-split-go {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    border-radius: 100px;
    background: #fff;
    color: #f0484e;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1), 3px 6px 3.5px rgba(0, 0, 0, 0.09);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .nhome-split-panel:hover .nhome-split-go {
    transform: translate(3px, -3px) scale(1.06);
  }

  .nhome-split-panel::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    height: 4px;
    background: var(--color-brand);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .nhome-split-panel:hover::after {
    transform: scaleX(1);
  }

  @media (width < 992px) {
    .nhome-split {
      grid-template-columns: 1fr;
      gap: 26px;
    }

    /* no room for the story pane; each panel carries its own caption */
    .nhome-split-pane {
      display: none;
    }

    .nhome-split-panels {
      padding-block: 0;
    }

    .nhome-split-panel,
    .nhome-split-panel:nth-child(even),
    .nhome-split-panel:nth-child(odd) {
      margin: 0;
      height: auto;
      aspect-ratio: 4 / 5;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .nhome-split-panel>img {
      transform: none !important;
    }
  }
}

@layer components {
  .border-theme {
    position: relative;
    padding-block: 37px;
  }

  .border-theme::after,
  .border-theme::before {
    content: "";
    position: absolute;
    top: 36px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to left, rgba(0, 0, 0, 0) 0%, rgba(178, 137, 111, 1) 49%, rgba(0, 0, 0, 0) 100%);
  }

  .border-theme::after {
    top: auto;
    bottom: 37px;
  }

  @media (width >=992px) {
    .border-theme>li+li {
      position: relative;
    }

    .border-theme>li+li::before {
      content: "";
      position: absolute;
      top: -37px;
      bottom: -37px;
      left: 0;
      width: 1px;
      background: linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgba(178, 137, 111, 1) 49%, rgba(0, 0, 0, 0) 100%);
    }
  }
}

@layer components {
  /* "| Content" strip under the hero stats: crop-mark hairlines that run past the box.
     The horizontal reach is capped by the room left beside the strip so it never
     causes sideways scroll (20px spare covers a native scrollbar in 100vw). */
  .nhome-intro {
    --nhome-intro-reach: max(0px, min(65px, (100vw - 100%) / 2 - 20px));
  }

  .nhome-intro::before,
  .nhome-intro::after,
  .nhome-intro-tag::before,
  .nhome-intro-tag::after,
  .nhome-intro-copy::after {
    content: "";
    position: absolute;
    pointer-events: none;
  }

  .nhome-intro::before,
  .nhome-intro::after {
    left: calc(-1 * var(--nhome-intro-reach));
    right: calc(-1 * var(--nhome-intro-reach));
    height: 1px;
    background: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, #b2896f 50%, rgba(0, 0, 0, 0) 100%);
  }

  .nhome-intro::before {
    top: 0;
  }

  .nhome-intro::after {
    bottom: 0;
  }

  .nhome-intro-tag::before,
  .nhome-intro-tag::after,
  .nhome-intro-copy::after {
    top: -25px;
    bottom: -25px;
    width: 1px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, #b2896f 50%, rgba(0, 0, 0, 0) 100%);
  }

  .nhome-intro-tag::before {
    left: 0;
  }

  .nhome-intro-tag::after,
  .nhome-intro-copy::after {
    right: 0;
  }
}

@layer components {
  /* Industrial Giants: the four-column strip sits on the picture inside one rounded card.
     Below 992px the picture drops into flow under the columns; from 992px it fills the card. */
  .nhome-giants-shots {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
  }

  .nhome-giants-shots::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(180deg, #f7f0e8 0%, rgba(247, 240, 232, 0) 50%);
    pointer-events: none;
  }

  .nhome-giants-shots img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 0.5s ease 0.15s;
  }

  .nhome-giants-shots img.is-active {
    opacity: 1;
    transition: opacity 0.5s ease;
  }

  @media (width >=992px) {
    .nhome-giants-shots {
      position: absolute;
      inset: 0;
      aspect-ratio: auto;
    }

    .nhome-giants-list.border-theme::before,
    .nhome-giants-list.border-theme::after {
      background: linear-gradient(to left, rgba(255, 255, 255, 0) 0%, #fff 49%, rgba(255, 255, 255, 0) 100%);
    }

    .nhome-giants-list.border-theme>li+li::before {
      background: linear-gradient(to top, rgba(255, 255, 255, 0) 0%, #fff 49%, rgba(255, 255, 255, 0) 100%);
    }
  }

  @media (prefers-reduced-motion: reduce) {

    .nhome-giants-shots img,
    .nhome-giants-shots img.is-active {
      transition: none;
    }
  }
}

@media (width < 992px) {
  .nhome-giants-col:not(.is-active) h3 {
    color: rgba(41, 41, 41, 0.45);
  }

  .nhome-giants-col:not(.is-active) p {
    color: rgba(41, 41, 41, 0.35);
  }
}

@keyframes nhome-voice-trumpet {
  0% {
    transform: none;
  }

  20% {
    transform: translateY(-5px) rotate(-1.6deg) scale(1.02);
  }

  45% {
    transform: translateY(-9px) rotate(1.2deg) scale(1.035);
  }

  70% {
    transform: translateY(-3px) rotate(-0.7deg) scale(1.012);
  }

  100% {
    transform: none;
  }
}

@keyframes nhome-voice-send {
  0% {
    visibility: hidden;
    transform: scale(0.34);
  }

  1% {
    visibility: visible;
    transform: scale(0.3419);
  }

  8% {
    transform: scale(0.4312);
  }

  15% {
    transform: scale(0.6144);
  }

  23% {
    transform: scale(0.7964);
  }

  31% {
    transform: scale(0.933);
  }

  38% {
    transform: scale(1.0145);
  }

  46% {
    transform: scale(1.0497);
  }

  54% {
    transform: scale(1.0542);
  }

  62% {
    transform: scale(1.043);
  }

  69% {
    transform: scale(1.0271);
  }

  77% {
    transform: scale(1.0129);
  }

  85% {
    transform: scale(1.003);
  }

  92% {
    transform: scale(0.9975);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes nhome-voice-tail {
  0% {
    transform: rotate(var(--tail-rot, 0deg)) scale(0);
  }

  11% {
    transform: rotate(var(--tail-rot, 0deg)) scale(0.2719);
  }

  22% {
    transform: rotate(var(--tail-rot, 0deg)) scale(0.7312);
  }

  33% {
    transform: rotate(var(--tail-rot, 0deg)) scale(1.0512);
  }

  44% {
    transform: rotate(var(--tail-rot, 0deg)) scale(1.1611);
  }

  56% {
    transform: rotate(var(--tail-rot, 0deg)) scale(1.1308);
  }

  67% {
    transform: rotate(var(--tail-rot, 0deg)) scale(1.056);
  }

  78% {
    transform: rotate(var(--tail-rot, 0deg)) scale(0.9981);
  }

  89% {
    transform: rotate(var(--tail-rot, 0deg)) scale(0.9747);
  }

  100% {
    transform: rotate(var(--tail-rot, 0deg)) scale(1);
  }
}

@layer components {

  .nhome-voice-figure {
    transform-origin: 50% 100%;
  }

  .nhome-voice-card {
    --tail-rot: 0deg;
  }

  .nhome-voice-card::before {
    content: "";
    position: absolute;
    top: 18px;
    left: -30px;
    width: 44px;
    height: 56px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 56' fill='none'%3E%3Cpath d='M44 0C30 2 15 4 5 6C1 7 0.5 10 4 12C16 24 30 40 44 52Z' fill='%23ffffff'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    transform: rotate(var(--tail-rot));
  }

  @media (max-width: 991px) {
    .nhome-voice-card {
      --tail-rot: -90deg;
    }

    .nhome-voice-card::before {
      top: -34px;
      left: 40px;
    }
  }

  @media (max-width: 767px) {

    .nhome-voice-card::before {
      display: none;
    }

  }

  .nhome-voice.is-armed .nhome-voice-card {
    visibility: hidden;
  }

  .nhome-voice.is-live .nhome-voice-figure {
    animation: nhome-voice-trumpet 0.85s ease-in-out both;
  }

  .nhome-voice.is-live .nhome-voice-card {
    visibility: visible;
    transform-origin: 0 0;
    animation: nhome-voice-send 0.52s linear 0.45s backwards;
  }

  .nhome-voice.is-live .nhome-voice-card::before {
    transform-origin: 100% 45%;
    animation: nhome-voice-tail 0.42s linear 0.92s backwards;
  }

  @media (prefers-reduced-motion: reduce) {

    .nhome-voice.is-armed .nhome-voice-card,
    .nhome-voice.is-live .nhome-voice-card {
      visibility: visible;
      animation: none;
    }

    .nhome-voice.is-live .nhome-voice-figure,
    .nhome-voice.is-live .nhome-voice-card::before {
      animation: none;
    }
  }
}

@layer components {

  @media (width >=992px) {
    .bordertheme-logo::before {
      content: "";
      position: absolute;
      top: 50%;
      left: 0;
      right: -20px;
      height: 1px;
      background: linear-gradient(to left, rgba(0, 0, 0, 0) 0%, rgba(178, 137, 111, 1) 49%, rgba(0, 0, 0, 0) 100%);
      transform: translateY(-50%);
    }

    .bordertheme-logo.nhome-sail-logos li:nth-child(1)::before,
    .bordertheme-logo.nhome-sail-logos li:nth-child(2)::before,
    .bordertheme-logo.nhome-sail-logos li:nth-child(3)::before {
      content: "";
      position: absolute;
      top: -50px;
      bottom: -50px;
      left: calc(100% / 3);
      width: 1px;
      background: linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgba(178, 137, 111, 1) 49%, rgba(0, 0, 0, 0) 100%);
    }

    .bordertheme-logo.nhome-sail-logos li:nth-child(2)::before {
      left: calc(200% / 3);
    }

    .bordertheme-logo.nhome-sail-logos li:nth-child(3)::before {
      left: auto;
      right: 0;
    }
  }

  .nhome-sail-band {
    padding-block: 50px;
  }

  .nhome-sail-band::after,
  .nhome-sail-band::before {
    top: 49px;
  }

  .nhome-sail-band::after {
    top: auto;
    bottom: 49px;
  }

  @media (max-width: 991px) {
    .nhome-sail-band {
      padding-block: 0;
    }

    .nhome-sail-band::before {
      top: -1px;
    }

    .nhome-sail-band::after {
      top: 70px;
      bottom: auto;
    }

    .nhome-sail-quote {
      padding-bottom: 0 !important;
    }
  }

  .nhome-sail-reviews.border-theme {
    padding-block: 27px;
  }

  .nhome-sail-reviews.border-theme::after,
  .nhome-sail-reviews.border-theme::before {
    top: 26px;
  }

  .nhome-sail-reviews.border-theme::after {
    top: auto;
    bottom: 27px;
  }

  .nhome-sail-quote {
    grid-area: 1 / 1;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.45s ease, transform 0.45s ease, visibility 0.45s;
  }

  .nhome-sail-quote.is-active {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nhome-sail-logos li.is-active {
    background-color: var(--color-panel);
  }

  .nhome-sail-strip {
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }

  .nhome-sail-strip::-webkit-scrollbar {
    display: none;
  }

  .nhome-sail-strip .nhome-sail-logos {
    display: flex;
    gap: 1px;
    width: max-content;
    min-width: 100%;
  }

  .nhome-sail-strip .nhome-sail-logos li {
    position: relative;
    flex: 0 0 auto;
    width: 150px;
  }

  .nhome-sail-strip .nhome-sail-logos li::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background-color: var(--color-brand);
    opacity: 0;
    transition: opacity 300ms ease;
  }

  .nhome-sail-strip .nhome-sail-logos li.is-active::after {
    opacity: 1;
  }

  @media (prefers-reduced-motion: reduce) {

    .nhome-sail-logos li img,
    .nhome-sail-quote,
    .nhome-sail-strip .nhome-sail-logos li::after {
      transition: none;
    }
  }
}

@layer components {

  .nhome-worked-row::after,
  .nhome-worked-row::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 1px;
    background: linear-gradient(to right, rgba(178, 137, 111, 1) 0%, rgba(0, 0, 0, 0) 100%);
  }

  .nhome-worked-row::after {
    top: auto;
    bottom: 0;
  }

  .nhome-worked-row:hover {
    opacity: 1;
    background: linear-gradient(90deg, #F7F0E8 0%, #FFFBF5 100%);
  }

  .nhome-worked-row:hover .nhome-worked-services li {
    color: var(--color-tan) !important;
    opacity: 1;
  }

  .nhome-worked-row:hover .nhome-worked-link {
    color: var(--color-brand) !important;
  }

  .nhome-worked-row:hover .nhome-worked-link svg path {
    fill: var(--color-brand) !important;
  }
}

@layer components {

  .nhome-says-bar i {
    position: absolute;
    left: 0;
    top: -1px;
    height: 3px;
    width: 16.6667%;
    background: var(--color-brand);
    transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .nhome-video[hidden] {
    display: none;
  }

  .nhome-video {
    opacity: 0;
  }

  .nhome-video.is-open {
    opacity: 1;
  }

  .nhome-video-stage iframe,
  .nhome-video-stage video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
  }

  .nhome-video-stage,
  .nhome-video-cap {
    transition: transform 0.75s cubic-bezier(0.625, 0.05, 0, 1),
      clip-path 0.45s cubic-bezier(0.625, 0.05, 0, 1);
    transform: translateY(1.5em);
  }

  .nhome-video.is-open .nhome-video-stage,
  .nhome-video.is-open .nhome-video-cap {
    transform: translateY(0);
  }

  .nhome-video-stage {
    transition-delay: -0.05s;
  }

  @media (prefers-reduced-motion: reduce) {

    .nhome-video,
    .nhome-video-card,
    .nhome-video-stage,
    .nhome-video-cap {
      transition: none;
    }

    .nhome-video-stage,
    .nhome-video-cap {
      transform: none;
    }
  }
}

@layer components {

  .nhome-awards-grid li.is-active,
  .nhome-awards-grid li:hover {
    background: var(--color-panel);
  }

  .nncon-box {
    --tilt-x: 0;
    --tilt-y: 0;
    --tilt-lift: 0px;
    perspective: 900px;
  }

  .nncon-box a {
    display: block;
    transform-style: preserve-3d;
    transform: translateY(var(--tilt-lift)) rotateX(calc(var(--tilt-y) * 8deg)) rotateY(calc(var(--tilt-x) * -12deg));
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
  }

  .nncon-box img {
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .nncon-box.is-tilting {
    --tilt-lift: -10px;
  }

  .nncon-box.is-tilting a,
  .nncon-box.is-tilting img {
    transition-duration: 0.18s;
  }

  .nncon-box.is-tilting img {
    transform: translateZ(45px);
  }

  .nncon-box a:focus-visible {
    --tilt-x: -0.6;
    --tilt-y: -0.6;
    --tilt-lift: -10px;
  }

  .nncon-box a:focus-visible img {
    transform: translateZ(45px);
  }

  @media (prefers-reduced-motion: reduce) {

    .nncon-box a,
    .nncon-box img {
      transform: none;
      transition: none;
    }
  }
}

@layer components {

  .nhome-presence-rail {
    height: 420px;
  }

  @media (width >=768px) {
    .nhome-presence-rail {
      height: 460px;
    }
  }

  @media (width >=1200px) {
    .nhome-presence-rail {
      height: 500px;
    }
  }

  .nhome-presence-panel {
    position: relative;
    padding: 30px 24px;
    overflow: hidden;
  }

  @media (width >=1200px) {
    .nhome-presence-panel+.nhome-presence-panel::before {
      content: "";
      position: absolute;
      top: 0;
      bottom: 0;
      left: 0;
      z-index: 3;
      width: 1px;
      background-color: rgba(255, 255, 255, 0.5);
    }
  }

  .nhome-presence-band {
    position: relative;
  }

  .nhome-presence-shots {
    position: absolute;
    inset: 0;
    overflow: hidden;
  }

  .nhome-presence-shot {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 550ms ease;
  }

  .nhome-presence-shot.is-active {
    opacity: 1;
  }

  .nhome-presence-face {
    display: none;
  }

  .nhome-presence-rail {
    position: relative;
    background: none;
  }

  .nhome-presence-veil {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.8) 100%);
  }

  .nhome-presence-veil::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(247, 240, 232, 0.8);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    opacity: 0;
    transition: opacity 450ms ease;
  }

  .nhome-presence-panel.is-active .nhome-presence-veil::after {
    opacity: 1;
  }

  .nhome-presence-hit {
    position: absolute;
    inset: 0;
    z-index: 1;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
  }

  .nhome-presence-hit:focus-visible {
    outline: 2px solid var(--color-brand);
    outline-offset: -6px;
  }

  .nhome-presence-body {
    position: relative;
    z-index: 2;
    pointer-events: none;
  }

  .nhome-presence-name {
    margin: 0;
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: #fff;
    transition: color 450ms ease;
  }

  .nhome-presence-panel.is-active .nhome-presence-name {
    color: var(--color-ink);
  }

  .nhome-presence-detail {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    pointer-events: auto;
    transition: grid-template-rows 450ms cubic-bezier(0.33, 1, 0.68, 1), opacity 200ms ease;
  }

  .nhome-presence-panel.is-active .nhome-presence-detail {
    grid-template-rows: 1fr;
    opacity: 1;
    transition: grid-template-rows 450ms cubic-bezier(0.33, 1, 0.68, 1), opacity 300ms ease 150ms;
  }

  .nhome-presence-detail>ul {
    display: grid;
    gap: 20px;
    min-height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .nhome-presence-detail>ul>li:first-child {
    margin-top: 15px;
  }

  .nhome-presence-detail li {
    display: grid;
    grid-template-columns: 25px minmax(0, 1fr);
    gap: 15px;
    align-items: start;
  }

  .nhome-presence-detail li>img {
    width: 25px;
    height: 24px;
    margin-top: 2px;
  }

  .nhome-presence-address,
  .nhome-presence-detail a {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    line-height: 28px;
    color: #000;
    overflow-wrap: break-word;
  }

  .nhome-presence-detail a {
    justify-self: start;
    transition: color 250ms ease;
  }

  .nhome-presence-detail a:hover,
  .nhome-presence-detail a:focus-visible {
    color: var(--color-brand);
  }

  @media (width >=1200px) and (width <1440px) {
    .nhome-presence-panel {
      padding: 30px 16px;
    }

    .nhome-presence-name {
      font-size: 20px;
    }

    .nhome-presence-detail li {
      grid-template-columns: 22px minmax(0, 1fr);
      gap: 12px;
    }

    .nhome-presence-detail li>img {
      width: 22px;
      height: 21px;
      margin-top: 2px;
    }

    .nhome-presence-address,
    .nhome-presence-detail a {
      font-size: 14px;
      line-height: 24px;
    }
  }

  @media (width >=1440px) {
    .nhome-presence-panel {
      padding: 30px;
    }

    .nhome-presence-name {
      font-size: 28px;
    }
  }

  @media (width <1200px) {

    .nhome-presence-rail {
      width: calc(100% - 24px);
      margin-inline: auto;
    }

    .nhome-presence-panel {
      padding: 30px 26px;
      border-radius: 12px;
    }

    .nhome-presence-shots {
      display: none;
    }

    .nhome-presence-hit {
      pointer-events: none;
    }

    .nhome-presence-face {
      display: block;
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
    }

    .nhome-presence-veil::after {
      background-color: transparent;
      background-image: linear-gradient(180deg,
          rgba(0, 0, 0, 0) 14%,
          rgba(0, 0, 0, 0.42) 46%,
          rgba(0, 0, 0, 0.78) 100%);
      -webkit-backdrop-filter: none;
      backdrop-filter: none;
    }

    .nhome-presence-name {
      font-size: 26px;
      text-transform: uppercase;
    }

    .nhome-presence-panel.is-active .nhome-presence-name {
      color: #fff;
    }

    .nhome-presence-address,
    .nhome-presence-detail a {
      font-size: 16px;
      line-height: 28px;
      color: #fff;
    }

    .nhome-presence-address br:first-of-type {
      display: none;
    }

    .nhome-presence-detail li {
      order: 2;
      position: relative;
      grid-template-columns: 34px minmax(0, 1fr);
      gap: 14px;
      align-items: center;
    }

    .nhome-presence-detail li:last-child {
      order: 1;
    }

    .nhome-presence-detail .nhome-presence-where {
      order: 0;
      grid-template-columns: minmax(0, 1fr);
    }

    .nhome-presence-detail>ul {
      gap: 14px;
    }

    .nhome-presence-detail>ul>li:first-child {
      margin-top: 0;
    }

    .nhome-presence-detail>ul>li:last-child {
      margin-top: 16px;
    }

    .nhome-presence-detail>ul>.nhome-presence-where:first-child {
      margin-top: 15px;
    }

    .nhome-presence-detail li::before {
      content: "";
      position: absolute;
      top: 50%;
      left: 0;
      width: 34px;
      height: 34px;
      margin-top: -17px;
      border-radius: 50%;
      background-color: var(--color-brand);
    }

    .nhome-presence-detail li>img {
      position: relative;
      width: 34px;
      height: 34px;
      padding: 9px;
      margin-top: 0;
      filter: brightness(0) invert(1);
    }

    .nhome-presence-detail .nhome-presence-where::before {
      content: none;
    }

    .nhome-presence-detail .nhome-presence-where>img {
      display: none;
    }
  }

  .nhome-presence-dots {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 24px;
  }

  .nhome-presence.is-locked .nhome-presence-dots {
    display: none;
  }

  .nhome-presence-dot {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background-color: transparent;
    cursor: pointer;
    opacity: 0.45;
    transition: opacity 300ms ease, box-shadow 300ms ease;
  }

  .nhome-presence-dot>img {
    display: block;
    width: 24px;
    height: 24px;
    border-radius: 50%;
  }

  .nhome-presence-dot.is-active {
    opacity: 1;
    box-shadow: 0 0 0 2px var(--color-cream), 0 0 0 4px var(--color-brand);
  }

  .nhome-presence-dot:focus-visible {
    outline: 2px solid var(--color-brand);
    outline-offset: 3px;
  }

  @media (prefers-reduced-motion: reduce) {

    .nhome-presence-shot,
    .nhome-presence-band,
    .nhome-presence-veil::after,
    .nhome-presence-name,
    .nhome-presence-detail,
    .nhome-presence-panel.is-active .nhome-presence-detail,
    .nhome-presence-detail a,
    .nhome-presence-dot {
      transition: none;
    }

    .nhome-presence-panel:not(.is-active):hover .nhome-presence-shot {
      transform: none;
    }
  }
}

@layer components {
  .nhome-footer-legal.border-theme {
    padding-block: 30px;
  }

  .nhome-footer-legal.border-theme::before {
    top: 0;
  }

  .nhome-footer-legal.border-theme::after {
    bottom: 0;
  }
}

@layer components {

  .ctx-rule {
    display: block;
    height: 1px;
    background: linear-gradient(to left,
        rgba(0, 0, 0, 0) 0%,
        rgba(178, 137, 111, 1) 49%,
        rgba(0, 0, 0, 0) 100%);
  }

  .ctx-rule-v {
    background: linear-gradient(to top,
        rgba(0, 0, 0, 0) 0%,
        rgba(178, 137, 111, 1) 49%,
        rgba(0, 0, 0, 0) 100%);
  }

  .ctx-hero {
    margin-top: var(--ctx-header-inset, var(--nhome-header-h));

    padding-bottom: var(--ctx-hero-gap);

    --ctx-hero-gap: 12px;

    --ctx-hero-zoom: 1.3;
    --ctx-hero-blur: 6px;

    --ctx-hero-glow-rise: 30%;
    --ctx-hero-rise: 32px;
  }

  @media (min-width: 768px) {
    .ctx-hero {
      --ctx-hero-gap: 20px;
    }
  }

  .ctx-hero-art {
    min-height: calc(100vh - var(--ctx-header-h, var(--nhome-header-h)) - var(--ctx-hero-gap) * 2);
    min-height: calc(100svh - var(--ctx-header-h, var(--nhome-header-h)) - var(--ctx-hero-gap) * 2);

    background-color: #170B0A;
  }

  .ctx-hero-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .ctx-hero-glow {
    pointer-events: none;
    border-radius: inherit;
    background: linear-gradient(360deg, #EC1C24 0%, rgba(236, 28, 36, 0) 100%);
  }

  .ctx-hero.is-pinned {
    padding-bottom: calc(var(--ctx-hero-gap) + var(--ctx-hero-track, 0px));
  }

  .ctx-hero.is-panning .ctx-hero-art {
    will-change: transform;
  }

  .ctx-hero.is-panning .ctx-hero-img {
    will-change: transform, filter;
  }

  .ctx-hero.is-panning .ctx-hero-glow,
  .ctx-hero.is-panning .ctx-hero-line {
    will-change: transform, opacity;
  }

  .nhome-anim .ctx-hero:not(.is-live) .ctx-hero-img {
    transform: scale(var(--ctx-hero-zoom));
    filter: blur(var(--ctx-hero-blur));
  }

  .nhome-anim .ctx-hero:not(.is-live) .ctx-hero-glow {
    opacity: 0;
    transform: translateY(var(--ctx-hero-glow-rise));
  }

  .nhome-anim .ctx-hero:not(.is-live) .ctx-hero-line {
    opacity: 0;
    transform: translateY(var(--ctx-hero-rise));
  }

  @media (prefers-reduced-motion: reduce) {

    .nhome-anim .ctx-hero .ctx-hero-img,
    .nhome-anim .ctx-hero .ctx-hero-glow,
    .nhome-anim .ctx-hero .ctx-hero-line {
      opacity: 1;
      transform: none;
      filter: none;
    }
  }

  .ctx-svc {

    overflow: visible;

    --svc-lift: 25px;
  }

  .ctx-svc .swiper-slide {
    width: 370px;
    max-width: 84vw;
    height: auto;
    padding-block: var(--svc-lift);
    transition: opacity 0.35s ease;
  }

  .ctx-svc-card {
    height: 100%;
    transition: background 0.35s ease, border-color 0.35s ease,
      box-shadow 0.35s ease, height 0.35s ease;
  }

  .ctx-svc .swiper-slide-active .ctx-svc-card {
    height: calc(100% + var(--svc-lift) * 2);
  }

  .ctx-svc .swiper-slide-active .ctx-svc-card {
    background: linear-gradient(150deg,
        rgba(236, 28, 36, 0.1) 0%,
        rgba(255, 255, 255, 0.1) 100%);
    border-color: var(--color-brand);
    box-shadow: 0 24px 60px rgba(236, 28, 36, 0.08);
  }

  .ctx-svc-more {
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: max-width 0.35s ease, opacity 0.25s ease, margin 0.35s ease;
  }

  .ctx-svc .swiper-slide-active .ctx-svc-more {
    max-width: 7em;
    opacity: 1;
    margin-left: 4px;
  }

  .ctx-svc .swiper-slide-active .ctx-svc-pill {
    border-color: var(--color-brand);
    padding-right: 12px;
  }

  .ctx-svc-rail {
    position: relative;
    display: block;
    height: 2px;
    background: rgba(17, 17, 17, 0.12);
    border-radius: 2px;
    overflow: hidden;
  }

  .ctx-svc-rail i {
    position: absolute;
    inset: 0 auto 0 0;
    width: 14.28%;
    background: var(--color-brand);
    border-radius: 2px;
    transition: width 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  }

  @media (prefers-reduced-motion: reduce) {

    .ctx-svc-card,
    .ctx-svc-more,
    .ctx-svc-rail i,
    .ctx-strip li {
      transition: none;
    }
  }

  .ctx-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-inline: auto;

    max-width: calc(var(--strip-cells, 6) * 140px);
  }

  .ctx-strip>li {
    position: relative;
    flex: 1 1 33.3333%;
    min-width: 0;
    max-width: 140px;

    transition: opacity 0.28s ease, transform 0.28s ease;
  }

  @media (width >=768px) {
    .ctx-strip>li {
      flex-basis: 16.6667%;
    }
  }

  @media (width >=992px) {
    .ctx-strip>li {
      flex-basis: 0;
    }
  }

  .ctx-strip.is-swapping li {
    opacity: 0;
    transform: translateY(8px);
  }

  .ctx-strip>li.is-active,
  .ctx-strip>li:hover {
    background: var(--color-panel);
  }

  .ctx-split.border-theme {
    &::after {
      bottom: 0;
    }

    &::before {
      top: 0;
    }
  }

  .ctx-split.border-theme>div+div {
    position: relative;

    &::before {
      content: "";
      position: absolute;
      top: -100px;
      bottom: -100px;
      left: -50px;
      width: 1px;
      background: linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgba(178, 137, 111, 1) 49%, rgba(0, 0, 0, 0) 100%);
    }
  }

  .ctx-stats>*+*::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 1px;
    background: rgba(178, 137, 111, 0.6);
  }

  @media (width >=768px) {
    .ctx-stats>*+*::before {
      inset: 0 auto 0 0;
      width: 1px;
      height: auto;
    }
  }

  .ctx-pick-list {
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -6px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }

  .ctx-pick.is-open .ctx-pick-list {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
  }

  .ctx-pick.is-open .ctx-pick-caret {
    transform: rotate(180deg);
  }

  .ctx-pick-caret {
    transition: transform 0.25s ease;
  }

  .ctx-case-grid>[hidden] {
    display: none;
  }

  .ctx-case-media::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.45) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
  }

  .ctx-case-card:hover .ctx-case-media::before,
  .ctx-case-card:focus-within .ctx-case-media::before {
    opacity: 1;
  }

  @media (hover: none) {
    .ctx-case-media::before {
      opacity: 1;
    }
  }

  .ctx-case-veil {
    opacity: 0;
    transition: opacity 0.4s ease;
  }

  .ctx-case-card:hover .ctx-case-veil,
  .ctx-case-card:focus-within .ctx-case-veil {
    opacity: 1;
  }

  @media (hover: none) {
    .ctx-case-veil {
      opacity: 1;
    }
  }

  .ctx-stage {
    position: relative;
    background-color: #0b0203;

    --ctx-stage-zoom: 1.5;

    --ctx-stage-drift: 4%;

    --ctx-stage-sweep: 90px;
  }

  .ctx-stage.is-pinned {
    padding-bottom: var(--ctx-stage-track, 0px);
  }

  .ctx-stage-frame {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 100vh;
    min-height: 100svh;
    padding: 60px 0;
    background-color: #0b0203;
  }

  @media (width >=992px) {

    .ctx-stage-frame {
      padding: var(--ctx-header-h, var(--nhome-header-h)) 0 0;
    }
  }

  .ctx-stage-scene {
    position: absolute;
    pointer-events: none;
    container-type: size;

    inset: -5% 0 0;
  }

  .ctx-stage-art,
  .ctx-stage-wash {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
  }

  .ctx-stage-art {
    object-fit: cover;
    object-position: center 8%;
  }

  .ctx-stage-wash {
    background: linear-gradient(to top,
        rgb(0, 0, 0) 0%,
        rgba(20, 2, 3, 0.72) 26%,
        rgba(236, 28, 36, 0) 100%);
  }

  @media (width < 992px) {
    .ctx-stage-wash {
      background: linear-gradient(to top,
          rgb(0, 0, 0) 0%,
          rgba(11, 2, 3, 0.9) 45%,
          rgba(11, 2, 3, 0.7) 100%);
    }

    .ctx-stage-cut {
      display: none;
    }
  }

  .ctx-stage-cut {
    position: absolute;
    height: auto;
    left: 35.3%;
    top: 1.3%;
    width: 25%;

    --ctx-art-scale: max(100cqw / 2560, 100cqh / 1511);
    left: calc((100cqw - 2560 * var(--ctx-art-scale)) / 2 + 924 * var(--ctx-art-scale));
    top: calc((100cqh - 1511 * var(--ctx-art-scale)) * 0.08 + 20 * var(--ctx-art-scale));
    width: calc(604 * var(--ctx-art-scale));

    transform-origin: 50% 17%;

    -webkit-mask-image: linear-gradient(to top, transparent 0%, #000 17%);
    mask-image: linear-gradient(to top, transparent 0%, #000 17%);
  }

  .ctx-stage.is-panning .ctx-stage-frame,
  .ctx-stage.is-panning .ctx-stage-scene,
  .ctx-stage.is-panning .ctx-stage-cut,
  .ctx-stage.is-panning .ctx-stage-copy,
  .ctx-stage.is-panning .ctx-stage-item {
    will-change: transform;
  }

  .nhome-anim .ctx-stage:not(.is-live) .ctx-stage-scene {
    transform: translateY(var(--ctx-stage-drift));
  }

  .nhome-anim .ctx-stage:not(.is-live) .ctx-stage-cut {
    transform: scale(var(--ctx-stage-zoom));
  }

  .nhome-anim .ctx-stage:not(.is-live) .ctx-stage-copy {
    transform: translateY(100vh);
  }

  @media (width < 992px) {
    .nhome-anim .ctx-stage-art {
      transform: scale(1.08);
    }

    .nhome-anim .ctx-stage-item>* {
      opacity: 0;
    }
  }

  @media (prefers-reduced-motion: reduce) {

    .nhome-anim .ctx-stage .ctx-stage-scene,
    .nhome-anim .ctx-stage .ctx-stage-cut,
    .nhome-anim .ctx-stage .ctx-stage-copy,
    .nhome-anim .ctx-stage-art {
      transform: none;
    }

    .nhome-anim .ctx-stage-item>* {
      opacity: 1;
    }
  }

  .ctx-says-grid li {
    position: relative;
  }

  .ctx-says-grid li::before,
  .ctx-says-grid li::after {
    content: "";
    position: absolute;
    pointer-events: none;
    background: linear-gradient(to top,
        rgba(0, 0, 0, 0) 0%,
        rgba(178, 137, 111, 0.9) 49%,
        rgba(0, 0, 0, 0) 100%);
  }

  .ctx-says-grid li::before {
    top: 0;
    bottom: 0;
    left: 0;
    width: 1px;
  }

  .ctx-says-grid li::after {
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(to left,
        rgba(0, 0, 0, 0) 0%,
        rgba(178, 137, 111, 0.9) 49%,
        rgba(0, 0, 0, 0) 100%);
  }

  .ctx-says-grid li:nth-child(3n + 1)::before {
    content: none;
  }

  .ctx-journey {
    position: relative;
  }

  .ctx-journey.is-pinned {
    padding-bottom: var(--ctx-journey-track, 0px);
  }

  .ctx-journey-frame {
    display: flex;
    width: 100%;
    min-height: 100vh;

    min-height: 100dvh;

    padding-top: calc(var(--ctx-header-h, var(--nhome-header-h)) + 30px);
    padding-bottom: 30px;
  }

  .ctx-journey.is-panning .ctx-journey-frame {
    will-change: transform;
  }

  .ctx-journey-card {
    width: 100%;
  }

  .ctx-journey-curve,
  .ctx-journey-nodes {
    display: none;
  }

  .ctx-journey-herd {
    display: block;
    width: 100%;
    height: auto;
    max-width: 420px;
    margin-inline: auto;
    mix-blend-mode: darken;
  }

  .ctx-step {
    position: relative;
    padding-left: 26px;
  }

  .ctx-step::before {
    content: "";
    position: absolute;
    top: 14px;
    bottom: -40px;
    left: 5px;
    width: 1px;
    transform-origin: 50% 0;
    background: rgba(178, 137, 111, 0.4);
  }

  .ctx-step:last-of-type::before {
    content: none;
  }

  .ctx-step::after {
    content: "";
    position: absolute;
    top: 9px;
    left: 0;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    border: 2px solid var(--color-tan);
    background: #f9f3ec;
  }

  @media (width >=992px) {

    .ctx-journey-card {
      display: flex;
      flex-direction: column;
    }

    .ctx-journey-plot {
      position: relative;
      flex: 1 1 auto;
      margin-top: auto;

      min-height: 470px;

      max-height: 860px;

      --band-top: 4%;
      --band-h: clamp(240px, 46%, 430px);

      --node-drop: 38px;

      --card-pad: 60px;

      --caption-room: 200px;
    }

    .ctx-journey-intro,
    .ctx-journey-curve,
    .ctx-journey-nodes,
    .ctx-journey-herd,
    .ctx-step {
      position: absolute;
    }

    .ctx-journey-intro {
      top: 0;
      left: 0;
      width: min(640px, 56%);
    }

    .ctx-journey-curve,
    .ctx-journey-nodes {
      display: block;
      top: var(--band-top);
      left: 0;
      width: 100%;
      height: var(--band-h);
    }

    .ctx-journey-line {
      fill: none;
      stroke: var(--color-tan);
      stroke-width: 5;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .ctx-journey-dot {
      position: absolute;
      left: calc(var(--vx) * 0.0854336%);
      top: calc(var(--vy) * 0.2967334%);
      width: 28px;
      height: 28px;
      border-radius: 50%;
      border: 5px solid var(--color-tan);
      background: #fffbf5;
      transform: translate(-50%, -50%);
    }

    .ctx-journey-dot-end {
      width: 26px;
      height: 26px;
      border: 0;
      background: var(--color-brand);
    }

    .ctx-journey-herd {
      bottom: 0;
      right: calc(20px - var(--card-pad));
      left: auto;
      width: auto;
      height: 45%;
      max-width: min(477px, calc(25.64% + var(--card-pad) - 20px));
      max-height: calc(100% - var(--band-top) - var(--band-h) * 0.321956 - var(--node-drop) - var(--caption-room));
      margin: 0;
      object-fit: contain;
      object-position: right bottom;
    }

    .ctx-step {
      width: 23.08%;
      padding-left: 0;
    }

    .ctx-step::before,
    .ctx-step::after {
      content: none;
    }

    .ctx-step-1 {
      left: 0;
      top: calc(var(--band-top) + var(--band-h) * 0.939161 + var(--node-drop));
    }

    .ctx-step-2 {
      left: 25.64%;
      top: calc(var(--band-top) + var(--band-h) * 0.796729 + var(--node-drop));
    }

    .ctx-step-3 {
      left: 51.28%;
      top: calc(var(--band-top) + var(--band-h) * 0.695840 + var(--node-drop));
    }

    .ctx-step-4 {
      left: 76.92%;
      top: calc(var(--band-top) + var(--band-h) * 0.321956 + var(--node-drop));
    }
  }

  @media (width >=1200px) {
    .ctx-journey-plot {
      --card-pad: 115px;
    }
  }

  .ctx-journey.is-armed .ctx-journey-intro>*,
  .ctx-journey.is-armed .ctx-step>* {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .ctx-journey.is-armed .ctx-journey-intro> :nth-child(2),
  .ctx-journey.is-armed .ctx-step> :nth-child(2) {
    transition-delay: 0.08s;
  }

  .ctx-journey.is-armed .ctx-step> :nth-child(3) {
    transition-delay: 0.16s;
  }

  .ctx-journey.is-armed .ctx-journey-intro.is-in>*,
  .ctx-journey.is-armed .ctx-step.is-in>* {
    opacity: 1;
    transform: none;
  }

  .ctx-journey.is-armed .ctx-journey-dot {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.2);
    transition: opacity 0.28s ease,
      transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .ctx-journey.is-armed .ctx-journey-dot.is-in {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  .ctx-journey.is-armed .ctx-journey-herd {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.75s ease, transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .ctx-journey.is-armed .ctx-journey-herd.is-in {
    opacity: 1;
    transform: none;
  }

  .ctx-journey.is-armed .ctx-step::before {
    transform: scaleY(0);
    transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .ctx-journey.is-armed .ctx-step.is-in::before {
    transform: scaleY(1);
  }

  .ctx-journey.is-armed .ctx-step::after {
    opacity: 0;
    transform: scale(0.2);
    transition: opacity 0.28s ease,
      transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .ctx-journey.is-armed .ctx-step.is-in::after {
    opacity: 1;
    transform: scale(1);
  }

  @media (max-width: 991px) {
    .cnx-graph>.container::before {
      background-size: 139px 100%;
    }
  }

  @media (max-width: 767px) {

    .cnx-graph>.container::before,
    .cnx-graph>.container::after {
      display: none;
    }

    .ctx-journey-frame,
    .cnt-work {
      min-height: initial !important;
      padding-block: 0 !important;
    }
  }

  .ctx-faq-item {
    position: relative;
    background: linear-gradient(to left,
        rgba(247, 240, 232, 0) 0%,
        rgba(247, 240, 232, 0) 100%);
    transition: background 0.35s ease;
  }

  .ctx-faq-item::before,
  .ctx-faq-item::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to left,
        rgba(0, 0, 0, 0) 0%,
        rgba(178, 137, 111, 0.7) 49%,
        rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
  }

  .ctx-faq-item::before {
    top: 0;
  }

  .ctx-faq-item::after {
    bottom: 0;
  }

  .ctx-faq-item.is-open {
    background: linear-gradient(to left,
        rgba(247, 240, 232, 0) 0%,
        rgba(247, 240, 232, 1) 100%);
  }

  .ctx-faq-item.is-open .ctx-faq-q {
    font-weight: 700;
  }

  .ctx-faq-caret {
    transition: transform 0.35s ease, color 0.35s ease;
  }

  .ctx-faq-toggle {
    transition: padding-bottom 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .ctx-faq-item.is-open .ctx-faq-caret {
    transform: rotate(180deg);
  }

  .ctx-faq-a {
    height: 0;
    overflow: hidden;
    opacity: 0;
    transition: height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  }

  .ctx-faq-item.is-open .ctx-faq-a {
    opacity: 1;
  }

  @media (prefers-reduced-motion: reduce) {

    .ctx-faq-a,
    .ctx-faq-caret,
    .ctx-faq-item,
    .ctx-faq-toggle {
      transition: none;
    }
  }

  .ctx-cta {
    background:
      linear-gradient(78deg, rgba(236, 28, 36, 0.3) 3%, rgba(236, 28, 36, 0) 42%),
      linear-gradient(110deg, rgba(236, 28, 36, 0) 40%, rgba(236, 28, 36, 0.3) 94%),
      rgb(22, 0, 1);
  }

  .ctx-cta-weave {

    --ctx-cta-cell: 32px;

    --ctx-cta-line: 1px;
    --ctx-cta-soft: 0.6px;

    --ctx-cta-span: 10;
    --ctx-cta-hang: 192px;

    filter: blur(var(--ctx-cta-soft));

    position: absolute;
    top: 50%;

    width: calc(var(--ctx-cta-hang) + var(--ctx-cta-span) * var(--ctx-cta-cell) + var(--ctx-cta-line));
    height: calc(var(--ctx-cta-span) * var(--ctx-cta-cell) + var(--ctx-cta-line));

    transform: translateY(-50%);
    pointer-events: none;
  }

  .ctx-cta-weave::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.4;
    background-image: url("../images/ctx-cta-tex.png");
    background-size: 400% auto;
    background-position: center;
    -webkit-mask-image: url("../images/ctx-cta-mask.svg");
    mask-image: url("../images/ctx-cta-mask.svg");
    -webkit-mask-size: 118% 118%;
    mask-size: 118% 118%;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
  }

  .ctx-cta-weave::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.55;

    background-image:
      repeating-linear-gradient(to right,
        var(--color-tan) 0 var(--ctx-cta-line),
        transparent var(--ctx-cta-line) var(--ctx-cta-cell)),
      repeating-linear-gradient(to bottom,
        var(--color-tan) 0 var(--ctx-cta-line),
        transparent var(--ctx-cta-line) var(--ctx-cta-cell));

    -webkit-mask-image: var(--ctx-cta-fade);
    mask-image: var(--ctx-cta-fade);
  }

  .ctx-cta-weave-l {
    left: calc(-1 * var(--ctx-cta-hang));
    --ctx-cta-fade: linear-gradient(to right,
        #000 0 var(--ctx-cta-hang),
        transparent 100%);
  }

  .ctx-cta-weave-r {
    right: calc(-1 * var(--ctx-cta-hang));
    --ctx-cta-fade: linear-gradient(to left,
        #000 0 var(--ctx-cta-hang),
        transparent 100%);
  }

  .ctx-cta-spark {
    position: absolute;
    z-index: 1;
    width: calc(var(--ctx-cta-cell) - var(--ctx-cta-line));
    height: calc(var(--ctx-cta-cell) - var(--ctx-cta-line));
    background: var(--color-tan);
    opacity: 0;
    transition: opacity 900ms cubic-bezier(0.33, 1, 0.68, 1);
    pointer-events: none;
  }

  .ctx-cta-spark.is-lit {
    opacity: var(--ctx-cta-spark-a, 0.3);
    transition: opacity 380ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  @media (width < 768px) {
    .ctx-cta-weave {
      display: none;
    }
  }
}

.ctx-faq-item.is-open .ctx-faq-toggle {
  padding-bottom: 12px;
}

.ctx-faq-item.is-open .ctx-faq-caret {
  color: var(--color-brand);
}

.swiper-wrapper {
  box-sizing: inherit;
}

.nhome-presence-panel {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.nhome-says-slider .swiper-slide {
  height: auto;
}

.nhome-sail-deck.swiper {
  margin-inline: 0;
}

@media (width >=992px) {
  .nhome-sail-deck.swiper {
    margin-block: -50px;
    padding-block: 50px;
  }
}

.ctx-svc .swiper-slide {
  width: 370px;
  max-width: 84vw;
  height: auto;

  display: grid;
  align-items: center;
}

.ctx-svc.swiper {
  overflow: visible;
}

@property --cnt-arc-at {
  syntax: "<number>";
  inherits: false;

  initial-value: 1;
}

@property --cnt-ring-at {
  syntax: "<number>";
  inherits: false;
  initial-value: 1;
}

@layer components {

  .cnt-hero {
    background-color: #090909;

    --cnt-banner-shot-slide: 96px;
    --cnt-banner-line-slide: 44px;
  }

  .cnt-hero-shot {
    background-image: url("../images/cnt-hero-right.png");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
  }

  @media (width < 992px) {
    .cnt-hero-shot::after {
      content: "";
      position: absolute;
      inset: auto 0 -1px 0;
      height: 120px;
      background: linear-gradient(to top, #090909 0%, rgba(9, 9, 9, 0) 100%);
    }
  }

  .nhome-anim .cnt-hero:not(.is-live) .cnt-hero-shot {
    opacity: 0;
    transform: translateX(var(--cnt-banner-shot-slide));
  }

  .nhome-anim .cnt-hero:not(.is-live) .cnt-hero-line {
    opacity: 0;
    transform: translateX(calc(var(--cnt-banner-line-slide) * -1));
  }

  @media (prefers-reduced-motion: reduce) {

    .nhome-anim .cnt-hero .cnt-hero-shot,
    .nhome-anim .cnt-hero .cnt-hero-line {
      opacity: 1;
      transform: none;
    }
  }

  @media (width >=992px) {

    .cnt-svc-list {
      min-width: 0;
    }

    .cnt-services:not(.is-screen) .cnt-svc-aside {
      position: sticky;
      top: var(--cnt-pin-top, 103px);
    }

    .is-screen .cnt-svc-frame {
      position: sticky;
      top: var(--cnt-header, 71px);
      height: calc(100vh - var(--cnt-header, 71px));
      height: calc(100dvh - var(--cnt-header, 71px));
      min-height: var(--cnt-frame-min, 0px);
      padding-top: var(--cnt-gap, 32px);
      grid-template-rows: minmax(0, 1fr);
      align-items: start;
    }

    .nhome-has-smooth .is-screen .cnt-svc-frame {
      position: relative;
      top: auto;
      will-change: transform;
    }

    .is-screen .cnt-svc-list {
      align-self: stretch;
      min-height: 0;
      overflow: hidden;
      overflow: clip;
      -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 48px), transparent);
      mask-image: linear-gradient(to bottom, #000 calc(100% - 48px), transparent);
    }

    .is-screen .cnt-acc {
      will-change: transform;
    }
  }

  .cnt-acc-item {
    position: relative;
  }

  .cnt-acc-item+.cnt-acc-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to left,
        rgba(0, 0, 0, 0) 0%,
        rgba(178, 137, 111, 0.75) 49%,
        rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
  }

  .cnt-acc-head {
    opacity: 0.4;
    transition: opacity 0.35s ease;
  }

  .cnt-acc-toggle:hover .cnt-acc-head,
  .cnt-acc-toggle:focus-visible .cnt-acc-head {
    opacity: 0.7;
  }

  .cnt-acc-item.is-open .cnt-acc-head {
    opacity: 1;
  }

  .cnt-acc-mark {
    transform: rotate(45deg);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .cnt-acc-item.is-open .cnt-acc-mark {
    transform: rotate(0deg);
  }

  .cnt-acc-body {
    height: 0;
    overflow: hidden;
    opacity: 0;
    transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  }

  .cnt-acc-item.is-open .cnt-acc-body {
    opacity: 1;
  }

  .cnt-acc.is-driven .cnt-acc-body {
    transition: none;
    opacity: var(--cnt-p, 0);
  }

  .cnt-acc.is-driven .cnt-acc-body>div {
    transform: translateY(calc((1 - var(--cnt-p, 0)) * 16px));
  }

  .cnt-acc.is-driven .cnt-acc-body.is-above {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }

  .cnt-acc.is-driven .cnt-acc-body.is-above>div {
    flex: none;
    transform: none;
  }

  .cnt-acc-body,
  .cnt-svc-aside,
  .cnt-svc-frame,
  .cnt-svc-list {
    overflow-anchor: none;
  }

  .cnt-acc-body.is-shut {
    visibility: hidden;
  }

  .cnt-acc-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px 24px;
  }

  @media (width < 768px) {
    .cnt-acc-logos {
      justify-content: center;
      gap: 14px 32px;
    }
  }

  @media (width >=992px) {
    .cnt-acc-logos {
      flex-wrap: nowrap;

      min-width: 0;
    }

    .cnt-acc-logos>li {
      flex: 0 1 auto;
      min-width: 0;
    }

    .cnt-acc-logos>li>img {
      max-width: min(90px, 100%);
    }
  }

  .cnt-acc-rail {
    --nhmctmarq-fade: 28px;
    padding-block: 0;
  }

  .cnt-acc-rail .cnt-acc-logos {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 44px;
    padding-right: 44px;
  }

  .cnt-acc-rail .cnt-acc-logos>li {
    flex: none;
  }

  .cnt-acc-shot {
    position: relative;
    background-image: url("../images/cnt-quill.png");
    background-repeat: no-repeat;
    background-position: center 28%;
    background-size: cover;
  }

  .cnt-acc-shot::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    pointer-events: none;
  }

  @media (prefers-reduced-motion: reduce) {

    .cnt-acc-body,
    .cnt-acc-head,
    .cnt-acc-mark {
      transition: none;
    }

    .cnt-acc.is-driven .cnt-acc-body>div {
      transform: none;
    }
  }

  .borderlr-theme {
    position: relative;

    &::after,
    &::before {
      content: "";
      position: absolute;
      top: -50px;
      bottom: -50px;
      left: -15px;
      width: 1px;
      background: linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgba(178, 137, 111, 1) 49%, rgba(0, 0, 0, 0) 100%);
    }

    &::after {
      left: auto;
      right: -15px;
    }
  }

  .cnt-speak::before,
  .cnt-speak::after {
    left: -50px;
    right: -50px;
  }

  .cnt-speak-split {
    position: relative;
  }

  .cnt-speak-split::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to left,
        rgba(0, 0, 0, 0) 0%,
        rgba(178, 137, 111, 0.8) 49%,
        rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
  }

  @media (width >=768px) {
    .cnt-stat+.cnt-stat::before {
      content: "";
      position: absolute;
      top: -380px;
      bottom: -50px;
      left: -15px;
      width: 1px;
      background: linear-gradient(to top,
          rgba(0, 0, 0, 0) 0%,
          rgba(178, 137, 111, 0.55) 49%,
          rgba(0, 0, 0, 0) 100%);
      pointer-events: none;
      z-index: 0;
    }
  }

  .cnt-check-row+.cnt-check-row,
  .cnt-check-list {
    position: relative;
  }

  .cnt-check-list::before,
  .cnt-check-row+.cnt-check-row::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to left,
        rgba(0, 0, 0, 0) 0%,
        rgba(178, 137, 111, 0.7) 49%,
        rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
  }

  .cnt-check-body {
    display: grid;
    grid-template-rows: 1fr;
  }

  .cnt-check-copy {
    min-height: 0;
    overflow: hidden;
  }

  .cnt-check-head {
    cursor: pointer;

    border: 0;
    color: inherit;
    font: inherit;
  }

  .cnt-check-list.is-armed .cnt-check-body {
    grid-template-rows: 0fr;
    opacity: 0;
    transition:
      grid-template-rows 520ms cubic-bezier(0.16, 1, 0.3, 1),
      opacity 260ms ease;
  }

  .cnt-check-list.is-armed .cnt-check-row.is-active .cnt-check-body {
    grid-template-rows: 1fr;
    opacity: 1;

    transition:
      grid-template-rows 520ms cubic-bezier(0.16, 1, 0.3, 1),
      opacity 420ms ease 140ms;
  }

  .cnt-check-list.is-armed .cnt-check-title,
  .cnt-check-list.is-armed .cnt-check-tick {
    opacity: 0.45;
    transition:
      opacity 420ms ease,
      transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  .cnt-check-list.is-armed .cnt-check-row.is-active .cnt-check-title,
  .cnt-check-list.is-armed .cnt-check-row.is-active .cnt-check-tick {
    opacity: 1;
  }

  .cnt-check-list.is-armed .cnt-check-row.is-active .cnt-check-tick {
    transform: scale(1.08);
  }

  @media (hover: hover) {

    .cnt-check-list.is-armed .cnt-check-head:hover .cnt-check-title,
    .cnt-check-list.is-armed .cnt-check-head:hover .cnt-check-tick {
      opacity: 0.72;
    }

    .cnt-check-list.is-armed .cnt-check-row.is-active .cnt-check-head:hover .cnt-check-title,
    .cnt-check-list.is-armed .cnt-check-row.is-active .cnt-check-head:hover .cnt-check-tick {
      opacity: 1;
    }
  }

  .cnt-check-list.is-measuring .cnt-check-body,
  .cnt-check-list.is-measuring .cnt-check-title,
  .cnt-check-list.is-measuring .cnt-check-tick {
    transition: none !important;
  }

  .cnt-check-list.is-measuring .cnt-check-body {
    grid-template-rows: 1fr;
    opacity: 1;
  }

  .cnt-check-stage {
    position: relative;
    isolation: isolate;
  }

  .cnt-check-shot {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;

    transform: scale(1.05);
    transition:
      opacity 700ms ease,
      transform 1100ms cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
  }

  .cnt-check-shot.is-active {
    opacity: 1;
    transform: scale(1);
  }

  @media (prefers-reduced-motion: reduce) {

    .cnt-check-body,
    .cnt-check-list.is-armed .cnt-check-body,
    .cnt-check-list.is-armed .cnt-check-row.is-active .cnt-check-body {
      grid-template-rows: 1fr;
      opacity: 1;
      transition: none;
    }

    .cnt-check-list.is-armed .cnt-check-title,
    .cnt-check-list.is-armed .cnt-check-tick {
      opacity: 1;
      transform: none;
      transition: none;
    }

    .cnt-check-shot {
      transition: none;
      transform: none;
    }
  }

  .cnt-work {
    display: flex;
    min-height: 100vh;

    min-height: 100dvh;

    padding-top: calc(var(--ctx-header-h, var(--nhome-header-h)) + 30px);
    padding-bottom: 30px;
  }

  .cnt-work>div {
    display: flex;
    width: 100%;
  }

  .cnt-orbit {
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: center;

    --cnt-arc-from: 225deg;

    --cnt-arc-r: 1px;
  }

  .cnt-orbit-ring,
  .cnt-orbit-arc {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    pointer-events: none;
    -webkit-mask: radial-gradient(closest-side,
        transparent calc(100% - var(--cnt-arc-r) - var(--cnt-arc-w) / 2),
        #000 calc(100% - var(--cnt-arc-r) - var(--cnt-arc-w) / 2),
        #000 calc(100% - var(--cnt-arc-r) + var(--cnt-arc-w) / 2),
        transparent calc(100% - var(--cnt-arc-r) + var(--cnt-arc-w) / 2));
    mask: radial-gradient(closest-side,
        transparent calc(100% - var(--cnt-arc-r) - var(--cnt-arc-w) / 2),
        #000 calc(100% - var(--cnt-arc-r) - var(--cnt-arc-w) / 2),
        #000 calc(100% - var(--cnt-arc-r) + var(--cnt-arc-w) / 2),
        transparent calc(100% - var(--cnt-arc-r) + var(--cnt-arc-w) / 2));
  }

  .cnt-orbit-ring {
    --cnt-arc-w: 1px;
    background: conic-gradient(from var(--cnt-arc-from, 225deg),
        rgba(178, 137, 111, 0.35) calc(var(--cnt-ring-at, 1) * 360deg),
        transparent 0);
    transition: --cnt-ring-at 1s cubic-bezier(0.33, 1, 0.68, 1);
  }

  .cnt-orbit-arc {
    --cnt-arc-w: 2px;
    background: conic-gradient(from var(--cnt-arc-from, 225deg),
        var(--color-tan, #b2896f) calc(var(--cnt-arc-at, 1) * 360deg),
        transparent 0);
    transition:
      --cnt-arc-at 0.6s cubic-bezier(0.16, 1, 0.3, 1),
      opacity 0.45s ease;
  }

  .cnt-orbit-bead {
    position: absolute;
    inset: 0;
    pointer-events: none;
    transform: rotate(calc(var(--cnt-arc-from, 225deg) + var(--cnt-arc-at, 1) * 360deg));
    transition:
      transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
      opacity 0.45s ease;
  }

  .cnt-orbit-bead>i {
    position: absolute;
    top: var(--cnt-arc-r, 1px);
    left: 50%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-brand, #ec1c24);
    transform: translate(-50%, -50%);
  }

  .cnt-step {

    opacity: 1;

    translate: 0 0;
    transition:
      opacity 0.45s ease,
      translate 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
  }

  .cnt-orbit-mark {
    opacity: 1;
    scale: 1;
    transition:
      opacity 0.6s ease 0.25s,
      scale 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.25s;
  }

  .cnt-orbit.is-armed .cnt-orbit-ring {
    --cnt-ring-at: 0;
  }

  .cnt-orbit.is-armed .cnt-orbit-mark {
    opacity: 0;
    scale: 0.72;

    transition-delay: 0s;
  }

  .cnt-orbit.is-armed:not(.is-lit) .cnt-orbit-arc,
  .cnt-orbit.is-armed:not(.is-lit) .cnt-orbit-bead {
    opacity: 0;
  }

  .cnt-orbit.is-armed.is-live .cnt-orbit-ring {
    --cnt-ring-at: 1;
  }

  .cnt-orbit.is-armed.is-live .cnt-orbit-mark {
    opacity: 1;
    scale: 1;
    transition-delay: 0.25s;
  }

  .cnt-orbit.is-armed .cnt-step:not(.is-in) {
    opacity: 0;
    translate: var(--cnt-in-x, 0px) 22px;
    pointer-events: none;
  }

  @media (prefers-reduced-motion: reduce) {

    .cnt-orbit-arc,
    .cnt-orbit-bead,
    .cnt-orbit-ring,
    .cnt-orbit-mark,
    .cnt-step {
      transition: none;
    }
  }

  .cnt-close {
    position: relative;
    background-color: #2a0709;

    isolation: isolate;

    --cnt-banner-shot-slide: 96px;
    --cnt-banner-line-slide: 44px;
  }

  .cnt-close-shot {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url("../images/cnt-cta-bg.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
  }

  .cnt-close::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to right,
        rgba(20, 2, 4, 0.85) 0%,
        rgba(20, 2, 4, 0.55) 45%,
        rgba(20, 2, 4, 0) 70%);
    pointer-events: none;
  }

  @media (width < 992px) {
    .cnt-close::before {
      background: rgba(18, 2, 4, 0.72);
    }
  }

  .nhome-anim .cnt-close:not(.is-live) .cnt-close-shot {
    opacity: 0;
    transform: translateX(var(--cnt-banner-shot-slide));
  }

  .nhome-anim .cnt-close:not(.is-live) .cnt-close-line {
    opacity: 0;
    transform: translateX(calc(var(--cnt-banner-line-slide) * -1));
  }

  @media (prefers-reduced-motion: reduce) {

    .nhome-anim .cnt-close .cnt-close-shot,
    .nhome-anim .cnt-close .cnt-close-line {
      opacity: 1;
      transform: none;
    }
  }
}

.cnt-case-rail .swiper-slide {

  width: 570px;
  max-width: 86vw;
  height: auto;
}

.cnt-case-rail.swiper {
  overflow: visible;
}

.cnt-case-rail .swiper-slide-active .ctx-case-veil,
.cnt-case-rail .swiper-slide-active .ctx-case-media::before {
  opacity: 1;
}

@media (width >=992px) {
  .cnt-acc-logos>li>img {
    max-width: min(90px, 100%);
  }
}

@layer components {

  .cnx-graph {

    --cnx-graph-ink: rgba(178, 137, 111, 0.5);
    --cnx-graph-fade: transparent 0%, #000 12%, #000 88%, transparent 100%;
  }

  .cnx-graph>.container {
    position: relative;
    isolation: isolate;
  }

  .cnx-graph>.container::before,
  .cnx-graph>.container::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-position: center top;
    pointer-events: none;
  }

  .cnx-graph.cnx-cta>.container::before,
  .cnx-graph.cnx-cta>.container::after {
    display: none;
  }

  .cnx-graph>.container::before {
    background-image: linear-gradient(to right, var(--cnx-graph-ink) 1px, transparent 1px);
    background-size: 185px 100%;
    -webkit-mask-image: linear-gradient(to bottom, var(--cnx-graph-fade));
    mask-image: linear-gradient(to bottom, var(--cnx-graph-fade));
    opacity: 0.5;
  }

  .cnx-graph>.container::after {
    background-image: linear-gradient(to bottom, var(--cnx-graph-ink) 1px, transparent 1px);
    background-size: 100% 210px;
    -webkit-mask-image: linear-gradient(to right, var(--cnx-graph-fade));
    mask-image: linear-gradient(to right, var(--cnx-graph-fade));
    background-position: bottom;
  }

  .cnx-graph-spark {
    position: absolute;
    z-index: -1;
    background: var(--color-tan);
    opacity: 0;
    transition: opacity 1400ms cubic-bezier(0.33, 1, 0.68, 1);
    pointer-events: none;
  }

  .cnx-graph-spark.is-lit {
    opacity: 0.1;
    transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  .cnx-hero-band {
    background-image: url("../images/cnx-hero-band.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
  }

  .cnx-clients.is-static .swiper-wrapper {
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px 40px;
  }

  @media (max-width: 991px) {
    .cnx-graph>.container::before {
      background-size: 139px 100%;
    }
  }

  @media (width >=640px) {
    .cnx-clients.is-static .swiper-wrapper {
      justify-content: space-between;
    }
  }

  .cnx-rail .swiper-slide {
    opacity: 0.2;
    transition: opacity 0.45s ease;
  }

  .cnx-rail .swiper-slide-active {
    opacity: 1;
  }

  .cnx-chips {
    justify-content: safe center;
    scroll-snap-type: x proximity;
    scrollbar-width: none;

    scroll-behavior: auto;
  }

  .cnx-chips::-webkit-scrollbar {
    display: none;
  }

  .cnx-chip {
    flex: 0 0 auto;
    white-space: nowrap;
    scroll-snap-align: center;
    cursor: pointer;
  }

  .cnx-chip:focus-visible {
    outline: 2px solid var(--color-brand);
    outline-offset: -2px;
  }

  @media (prefers-reduced-motion: reduce) {
    .cnx-rail .swiper-slide {
      transition: none;
    }
  }

  .cnx-stats.border-theme {
    &::after {
      bottom: 0;
      left: -50px;
      right: -50px;
    }

    &::before {
      top: 0;
      left: -50px;
      right: -50px;
    }
  }

  .border-line {
    position: relative;

    &::before {
      content: "";
      position: absolute;
      top: -87px;
      bottom: -87px;
      left: 0;
      width: 1px;
      background: linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgba(178, 137, 111, 1) 49%, rgba(0, 0, 0, 0) 100%);
    }
  }

  .cnx-stats>.border-line::after {
    content: "";
    position: absolute;
    top: -87px;
    bottom: -87px;
    right: 0;
    width: 1px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgba(178, 137, 111, 1) 49%, rgba(0, 0, 0, 0) 100%);
  }

  .border-div {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -50px;
    right: -50px;
    height: 1px;
    background: linear-gradient(to left, rgba(0, 0, 0, 0) 0%, rgba(178, 137, 111, 0.8) 49%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
  }

  .cnx-tile {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background: var(--color-panel);
  }

  @media (max-width: 991px) {
    .cnx-stats.border-theme {
      padding-block: 0;
      padding-bottom: 37px;
    }

    .border-div {
      top: 46%;
    }

    .border-line::before {
      top: -50px;
      bottom: -87px;
    }

    .cnx-stats>.border-line::after {
      top: -337px;
    }

    #connect-contact .container {
      background-image: none !important;
      padding-block: 0 !important;
    }
  }

  @media (max-width: 767px) {
    .border-div {
      top: 40%;
    }
  }

  .cnx-tile .ctx-case-veil {

    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.2) 100%);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
  }

  .cnx-tile:hover .ctx-case-veil,
  .cnx-tile:focus-within .ctx-case-veil {
    opacity: 1;
  }

  .cnx-work {
    display: flex;
    min-height: 100vh;
    min-height: 100dvh;
  }

  .cnx-work>.container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    margin-inline: auto;
  }

  .cnx-stair {
    margin-top: 50px;
  }

  .cnx-step {
    position: relative;
  }

  .cnx-step-drop {
    display: none;
  }

  @media (width >=992px) {

    .cnx-stair {
      --cnx-fit: 1;

      --cnx-hang: calc(96px + 144px * var(--cnx-fit));

      --cnx-rise: calc(80px * var(--cnx-fit));

      position: relative;
      margin-top: calc(40px + 40px * var(--cnx-fit));
      height: 660px;
    }

    .cnx-step {
      position: absolute;
      width: min(270px, 23.08%);
    }

    .cnx-step-1 {
      left: 0;
      bottom: var(--cnx-hang);
    }

    .cnx-step-2 {
      left: 25.64%;
      bottom: calc(var(--cnx-hang) + var(--cnx-rise));
    }

    .cnx-step-3 {
      left: 51.28%;
      bottom: calc(var(--cnx-hang) + var(--cnx-rise) * 2);
    }

    .cnx-step-4 {
      left: 76.92%;
      bottom: calc(var(--cnx-hang) + var(--cnx-rise) * 3);
    }

    .cnx-step-drop {
      display: block;
      position: absolute;
      top: calc(100% + 67px);
      left: 50%;
      width: 0;
      margin-left: -1px;
      border-left: 2px dashed #000000;
    }

    .cnx-step-1 .cnx-step-drop {
      height: calc(var(--cnx-hang) - 67px);
    }

    .cnx-step-2 .cnx-step-drop {
      height: calc(var(--cnx-hang) + var(--cnx-rise) - 67px);
    }

    .cnx-step-3 .cnx-step-drop {
      height: calc(var(--cnx-hang) + var(--cnx-rise) * 2 - 67px);
    }

    .cnx-step-4 .cnx-step-drop {
      height: calc(var(--cnx-hang) + var(--cnx-rise) * 3 - 67px);
    }

    .cnx-step::after {
      content: "";
      position: absolute;
      top: calc(100% + 58px);
      left: 50%;
      width: 0;
      height: 0;
      translate: -50% 0;
      border-left: 5px solid transparent;
      border-right: 5px solid transparent;
      border-bottom: 9px solid #000000;
    }

  }

  .cnx-close-icons {

    display: none;
  }

  @media (width >=768px) {
    .cnx-close-icons {
      display: flex;
    }
  }

  .cnx-offer-panel {
    background: linear-gradient(180deg, #F7F0E8 0%, rgba(255, 255, 255, 0) 100%);
    border: 1px solid rgba(178, 137, 111, 0.22);
    border-radius: 30px;

  }

  .cnx-offer-cards-inner {
    background: rgba(178, 137, 111, 0.15);
    border-radius: 10px 10px 0px 0px;
    padding: 2px;
  }

  .cnx-offer-card {
    background: #FFFFFF;
    transition: background-color 350ms ease-out,
      border-color 350ms ease-out,
      box-shadow 350ms ease-out;
    position: relative;
    z-index: 0;

    &::after {
      content: "";
      position: absolute;
      inset: 12px;
      background: linear-gradient(0deg, rgba(178, 137, 111, 0.15), rgba(178, 137, 111, 0.15)), #FFFFFF;
      border: 1px solid #B2896F;
      border-radius: 10px;
      z-index: -1;
      opacity: 0;
      transition: opacity 350ms ease-out;
    }
  }

  .cnx-offer-icon {
    background-color: rgba(178, 137, 111, 0.1);
    border: 1px solid transparent;
    transition: background-color 350ms ease-out, border 350ms ease-out;
  }

  .cnx-offer-card:hover::after {
    opacity: 1;
  }

  .cnx-offer-card:hover .cnx-offer-icon {
    background-color: #fff;
    border-color: #B2896F;
  }

  @media (prefers-reduced-motion: reduce) {

    .cnx-offer-card,
    .cnx-offer-icon {
      transition: none;
    }
  }

}

.cnx-work.is-armed .cnx-step-drop {
  transform-origin: 50% 100%;
  scale: 1 0;
  transition: scale 0.42s cubic-bezier(0.16, 1, 0.3, 1);
}

.cnx-work.is-armed .cnx-step.is-line .cnx-step-drop {
  scale: 1 1;
}

.cnx-work.is-armed .cnx-step::after {
  opacity: 0;
  transition: opacity 0.28s ease 0.3s;
}

.cnx-work.is-armed .cnx-step.is-line::after {
  opacity: 1;
}

.cnx-work.is-armed .cnx-step>span {
  opacity: 0;
  scale: 0.8;
  transition:
    opacity 0.3s ease,
    scale 0.42s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cnx-work.is-armed .cnx-step {
  background-color: transparent;
  transition: background-color 0.42s ease;
}

.cnx-work.is-armed .cnx-step>img,
.cnx-work.is-armed .cnx-step>h3,
.cnx-work.is-armed .cnx-step>p {
  opacity: 0;
  translate: 0 12px;
  transition:
    opacity 0.42s ease,
    translate 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.cnx-work.is-armed .cnx-step>h3 {
  transition-delay: 0.06s;
}

.cnx-work.is-armed .cnx-step>p {
  transition-delay: 0.12s;
}

.cnx-work.is-armed .cnx-step.is-box {
  background-color: #f5ede4;
}

.cnx-work.is-armed .cnx-step.is-box>img,
.cnx-work.is-armed .cnx-step.is-box>h3,
.cnx-work.is-armed .cnx-step.is-box>p {
  opacity: 1;
  translate: none;
}

@media (width >=992px) {
  .cnx-work.is-armed .cnx-step.is-pill>span {
    opacity: 1;
    scale: 1;
  }
}

@media (width <992px) {
  .cnx-work.is-armed .cnx-step.is-box>span {
    opacity: 1;
    scale: 1;
  }
}

.cnx-rail .swiper-slide {
  width: 570px;
  max-width: 86vw;
  height: auto;
}

.cnx-rail.swiper {
  overflow: visible;
}

.cnx-clients .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cnx-clients.is-static {
  overflow: visible;
}

.cnx-clients.is-static .swiper-slide {
  width: auto;
}

@media (width >=768px) {
  .cnx-mosaic.is-filtered>* {
    grid-column: span 2;
  }
}

@layer components {

  /* The bar is `position: fixed` on desktop pointers, so this dark banner would
     start underneath it and wear the logo and Menu on its artwork. Same inset
     .inr-hero, .ctx-hero and .wel-hero use — initHeaderInset() writes
     --ctx-header-inset (0 when the bar is not fixed), --nhome-header-h is the
     fallback. Never hard-code a height: the bar grows ~60px when Brand Bucket
     wraps above the WhatsApp button. */
  .cmk-hero {
    margin-top: var(--ctx-header-inset, var(--nhome-header-h));
    background-color: #2a0709;
    background-image: url("../images/cmk-hero.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
  }

  .cmk-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
        rgba(18, 2, 4, 0.8) 0%,
        rgba(18, 2, 4, 0.45) 45%,
        rgba(18, 2, 4, 0.1) 75%);
    pointer-events: none;
  }

  /* The service banners are a 1440x540 series drawn to one plan: the left half
     is deliberately empty so this copy can sit on it, and the subject is
     clustered around 70-85% across. Cropping that 2.67:1 strip to a portrait
     box centre-anchored shows about a third of its width and loses the subject
     altogether, so below the breakpoint the crop moves over the subject and the
     left-to-right scrim becomes a vertical one -- on a phone the copy is
     stacked over the art rather than beside it. */
  @media (width < 768px) {
    .cmk-hero {
      background-position: 82% center;
    }

    .cmk-hero::before {
      background: linear-gradient(to bottom,
          rgba(18, 2, 4, 0.5) 0%,
          rgba(18, 2, 4, 0.3) 28%,
          rgba(18, 2, 4, 0.9) 100%);
    }
  }

  @supports ((background-clip: text) or (-webkit-background-clip: text)) {

    .cmk-intro-word {

      display: inline-block;

      background-image: linear-gradient(90deg,
          var(--color-ink) 46.8%,
          rgba(98, 86, 77, 0.34) 53.2%);

      background-size: 250% 100%;
      background-position: 100% 0;
      background-repeat: no-repeat;

      background-clip: text;
      -webkit-background-clip: text;
      color: transparent;

      -webkit-text-fill-color: transparent;
    }
  }

  .cmk-quad {
    position: relative;
  }

  @media (width >=992px) {
    .cmk-quad::before {
      top: 50%;
    }
  }

  @media (width >=768px) {

    .cmk-quad::before,
    .cmk-quad::after {
      content: "";
      position: absolute;
      background: linear-gradient(to left,
          rgba(0, 0, 0, 0) 0%,
          rgba(178, 137, 111, 0.9) 49%,
          rgba(0, 0, 0, 0) 100%);
      pointer-events: none;
    }

    .cmk-quad::before {
      top: 53%;
      left: 0;
      right: 0;
      height: 1px;
    }

    .cmk-quad::after {
      top: -50px;
      bottom: -80px;
      left: 50%;
      width: 1px;
      background: linear-gradient(to top,
          rgba(0, 0, 0, 0) 0%,
          rgba(178, 137, 111, 0.9) 49%,
          rgba(0, 0, 0, 0) 100%);
    }

  }

  @media (max-width:767px) {

    .cmk-quad-cell {
      position: relative;
    }

    .cmk-quad-cell::after {
      content: "";
      position: absolute;
      bottom: -25px;
      left: 0;
      right: 0;
      height: 1px;
      background: linear-gradient(to left,
          rgba(0, 0, 0, 0) 0%,
          rgba(178, 137, 111, 0.9) 49%,
          rgba(0, 0, 0, 0) 100%);
      pointer-events: none;
    }

    .cmk-quad-cell:last-child::after {
      display: none;
    }
  }

  .cmk-rule-y {
    position: relative;
  }

  .cmk-rule-y::before,
  .cmk-rule-y::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to left,
        rgba(0, 0, 0, 0) 0%,
        rgba(178, 137, 111, 0.9) 49%,
        rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
  }

  .cmk-rule-y::before {
    top: 0;
  }

  .cmk-rule-y::after {
    bottom: 0;
  }

  .cmk-step {
    cursor: pointer;
  }

  .cmk-step>* {
    opacity: 0.4;
    transition: opacity 0.35s ease;
  }

  .cmk-step.is-active>* {
    opacity: 1;
  }

  .cmk-step+.cmk-step {
    position: relative;
  }

  .cmk-step+.cmk-step::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to left,
        rgba(0, 0, 0, 0) 0%,
        rgba(178, 137, 111, 0.8) 49%,
        rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
  }

  .cmk-step-title {
    color: var(--color-tan);
    transition: color 0.35s ease;
  }

  .cmk-step.is-active .cmk-step-title {
    color: var(--color-brand);
  }

  @media (prefers-reduced-motion: reduce) {

    .cmk-step-title,
    .cmk-step>* {
      transition: none;
    }
  }

  .cmk-stats {
    position: relative;
  }

  .cmk-stats-cell {
    position: relative;
    background: rgba(178, 137, 111, 0.15);
  }

  @media (width >=768px) {
    .cmk-stats::before {
      content: "";
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(to right, rgba(178, 137, 111, 0.45) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(178, 137, 111, 0.45) 1px, transparent 1px);
      background-size: calc(100% / 3) 100%, 100% calc(100% / 3);
      pointer-events: none;
      z-index: 1;
    }

    .cmk-stats::after {
      content: "";
      position: absolute;
      inset: 0;
      border-right: 1px solid rgba(178, 137, 111, 0.45);
      border-bottom: 1px solid rgba(178, 137, 111, 0.45);
      pointer-events: none;
      z-index: 1;
    }
  }

  .nhome-anim .cmk-stats-cell {
    opacity: 0;

    transform: translateY(44px);
    transition:
      opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1) var(--d, 0ms),
      transform 0.62s cubic-bezier(0.16, 1, 0.3, 1) var(--d, 0ms);
  }

  .nhome-anim .cmk-stats.is-in .cmk-stats-cell,
  .nhome-anim .cmk-stats-cell.is-in {
    opacity: 1;
    transform: none;
  }

  .cmk-trumpet {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;

    color: #b2896f;
    overflow: visible;
    pointer-events: none;
  }

  .nhome-anim .cmk-trumpet-mark {
    opacity: 0;
    transform-box: view-box;
    transform-origin: 140px 22px;
  }

  .nhome-anim .cmk-stats.is-in .cmk-trumpet-mark,
  .nhome-anim .cmk-stats-trumpeter.is-in .cmk-trumpet-mark {
    animation: cmk-trumpet 1.6s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: calc(var(--trumpet-delay, 260ms) + var(--i, 0) * 70ms);
  }

  @keyframes cmk-trumpet {
    0% {
      opacity: 0;
      transform: scale(0.2);
    }

    20% {
      opacity: 1;
      transform: scale(1.18);
    }

    32% {
      transform: scale(1);
    }

    58% {
      opacity: 0.45;
    }

    74% {
      opacity: 1;
    }

    100% {
      opacity: 1;
      transform: scale(1);
    }
  }

  @media (prefers-reduced-motion: reduce) {

    .nhome-anim .cmk-stats-cell,
    .nhome-anim .cmk-trumpet-mark {
      opacity: 1;
      transform: none;
      transition: none;
      animation: none;
    }
  }

  .cmk-grid {
    background: #f3eae1;
    gap: 2px;
    padding: 2px;
  }

  .cmk-close-herd {
    mix-blend-mode: darken;
  }
}

.serdtcta-box {
  background: linear-gradient(90deg, rgba(247, 240, 232, 0.7) 0%, rgba(247, 240, 232, 0) 100%);
  backdrop-filter: blur(25px);
  border-radius: 20px;
  border: 1px solid #B2896F;
  position: relative;
}

@layer components {

  .pf-wall {
    display: grid;
    gap: 20px;
  }

  .pf-wall-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  @media (width >=768px) {
    .pf-wall {
      gap: 30px;
    }

    .pf-wall-row {
      gap: 30px;
    }
  }

  @media (width >=992px) {
    .pf-wall-row:nth-child(1) {
      grid-template-columns: 370fr 128fr 370fr 212fr;
    }

    .pf-wall-row:nth-child(2) {
      grid-template-columns: 128fr 370fr 212fr 370fr;
    }
  }

  .pf-tile {
    display: block;
    height: 140px;
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  }

  @media (width >=768px) {
    .pf-tile {
      height: 213px;
    }
  }

  @media (hover: hover) {
    .pf-tile:hover {
      transform: translateY(-4px);
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .pf-tile {
      transition: none;
    }

    .pf-tile:hover {
      transform: none;
    }
  }

  .pf-tabs {
    display: flex;
    overflow-x: auto;
    border-block: 1px solid var(--color-tan);
    scrollbar-width: none;
  }

  .pf-tabs::-webkit-scrollbar {
    display: none;
  }

  .pf-tab {
    flex: 1 0 auto;
    min-width: 150px;
    padding: 20px 16px;
    background: var(--nhome-cream);
    color: var(--color-tan);
    font-family: var(--nhome-display);
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
  }

  @media (width >=992px) {
    .pf-tab {
      flex: 1 0 0;
      min-width: 0;
      font-size: 18px;
    }
  }

  .pf-tab+.pf-tab {
    border-left: 1px solid var(--color-tan);
  }

  .pf-tab:hover {
    background: rgba(247, 240, 232, 0.55);
  }

  .pf-tab.is-active {
    background: var(--color-panel);
    color: var(--color-brand);
  }

  @media (prefers-reduced-motion: reduce) {
    .pf-tab {
      transition: none;
    }
  }

  .pf-close {
    background-color: #faf5ee;
  }

}

/* =============================================================================
   GRAVITY FORMS — the site-wide skin
   -----------------------------------------------------------------------------
   Every form on the site, styled once, here. Global and unlayered on purpose:

   - Global, because scoping it was the bug. This used to be
     `.inr-gform .gform_wrapper` in inner-pages.css, so a form only picked up
     the brand when its template remembered a wrapper div. Customize Your Brand
     did not, and shipped Orbital's default blue submit button. Nothing has to
     be remembered now.
   - Unlayered, because Gravity's own stylesheets are unlayered, and a rule
     inside `@layer components` loses to them whatever its specificity.
   - main.css and not inner-pages.css, because inner-pages.css does not load on
     the front page and forms do appear there.

   WHY SO MUCH `!important`, AND WHY NOT JUST SET THE VARIABLES
   -----------------------------------------------------------
   Gravity's framework CSS reads `--gf-local-radius`, `--gf-local-height` and
   friends *from the control element itself*, and writes them from selectors it
   prints at `#id` specificity in an inline <style> on the wrapper. Setting
   `--gf-ctrl-border-radius` / `--gf-ctrl-btn-*` on the wrapper looks right and
   does nothing: it is read one level above where the value is actually
   resolved. Overriding the resolved properties is the only route that lands.
   Colour variables are the exception, they do work at wrapper level, so those
   stay variables below.

   Consequence worth knowing: per-form colours set in Gravity's own Form Styles
   admin no longer take effect anywhere. That is the intent. One skin, decided
   here, so a new form is correct the moment it is dropped on a page.
   ========================================================================== */

.gform_wrapper.gform-theme {
  --gf-color-primary: var(--color-brand) !important;
  --gf-color-primary-rgb: 236, 28, 36 !important;
  --gf-color-primary-contrast: #fff !important;
  --gf-color-primary-darker: var(--color-brand-bright) !important;
  --gf-color-primary-lighter: #f4575c !important;

  /* Local aliases so the rules below read as intent rather than as literals,
     and so a future palette change is one line. */
  --granth-field-border: color-mix(in srgb, var(--color-tan) 42%, #fff);
  --granth-field-border-hover: color-mix(in srgb, var(--color-tan) 75%, #fff);
  --granth-placeholder: color-mix(in srgb, var(--color-muted) 88%, #fff);

  /* Error copy sits on blush, and the brand red only reaches 4.27:1 there,
     which fails AA for text this size. 20% black takes it to about 5.4:1 and
     still reads as the brand red rather than as a second colour. */
  --granth-error-ink: color-mix(in srgb, var(--color-brand) 80%, #000);
}

/* --- rhythm ---------------------------------------------------------------
   Gravity's default row gap is tight enough that a label reads as belonging to
   the field above it. */
.gform_wrapper.gform-theme .gform_fields {
  row-gap: 22px !important;
}

/* --- labels ---------------------------------------------------------------
   Display face, like every other heading on the site. Gravity ships them in
   the body face at the same weight as the input text, which is why its forms
   read as a plugin rather than as part of the page. */
.gform_wrapper.gform-theme .gfield_label,
.gform_wrapper.gform-theme .gform-field-label {
  display: block;
  margin-bottom: 8px !important;
  font-family: var(--font-display) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 20px !important;
  letter-spacing: 0.01em;
  color: var(--color-ink) !important;
}

/* Sub-labels (First / Last on a name field, Area / Prefix on a phone) sit
   under their input and must not compete with the real label. */
.gform_wrapper.gform-theme .ginput_complex label,
.gform_wrapper.gform-theme .gform-field-label--type-sub {
  margin-top: 6px !important;
  font-family: var(--font-body) !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  color: var(--color-muted) !important;
}

.gform_wrapper.gform-theme .gfield_required,
.gform_wrapper.gform-theme .gfield_required_text {
  margin-left: 6px;
  font-family: var(--font-body) !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  color: var(--color-brand) !important;
}

.gform_wrapper.gform-theme .gfield_description,
.gform_wrapper.gform-theme .gform-field-description {
  margin-top: 6px !important;
  font-size: 13px !important;
  line-height: 20px !important;
  color: var(--color-muted) !important;
}

/* --- controls -------------------------------------------------------------
   50px pills-adjacent boxes on a 12px radius, white on the cream page, with a
   tan hairline rather than Gravity's blue-grey. The radius is 12px and not the
   full 50px the buttons use: a pill-shaped text input pushes its caret away
   from the left edge and reads as a search box. */
.gform_wrapper.gform-theme input[type="text"],
.gform_wrapper.gform-theme input[type="email"],
.gform_wrapper.gform-theme input[type="tel"],
.gform_wrapper.gform-theme input[type="url"],
.gform_wrapper.gform-theme input[type="number"],
.gform_wrapper.gform-theme input[type="password"],
.gform_wrapper.gform-theme input[type="date"],
.gform_wrapper.gform-theme select,
.gform_wrapper.gform-theme textarea {
  width: 100%;
  border: 1px solid var(--granth-field-border) !important;
  border-radius: 12px !important;
  background-color: #fff !important;
  font-family: var(--font-body) !important;
  font-size: 15px !important;
  line-height: 24px !important;
  color: var(--color-ink) !important;
  box-shadow: none !important;
  transition:
    border-color 200ms ease,
    box-shadow 200ms ease;
}

.gform_wrapper.gform-theme input[type="text"],
.gform_wrapper.gform-theme input[type="email"],
.gform_wrapper.gform-theme input[type="tel"],
.gform_wrapper.gform-theme input[type="url"],
.gform_wrapper.gform-theme input[type="number"],
.gform_wrapper.gform-theme input[type="password"],
.gform_wrapper.gform-theme input[type="date"],
.gform_wrapper.gform-theme select {
  height: 50px !important;
  padding: 0 16px !important;
}

.gform_wrapper.gform-theme textarea {
  min-height: 150px !important;
  padding: 14px 16px !important;
  resize: vertical;
}

.gform_wrapper.gform-theme select {
  /* Room for the native caret so the longest option does not run under it. */
  padding-right: 40px !important;
}

/* Readable, and clearly not a filled value. Contrast against white is about
   5.5:1, so it passes AA rather than the 2.8:1 Gravity ships. */
.gform_wrapper.gform-theme input::placeholder,
.gform_wrapper.gform-theme textarea::placeholder {
  color: var(--granth-placeholder) !important;
  opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
  .gform_wrapper.gform-theme input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):hover,
  .gform_wrapper.gform-theme select:hover,
  .gform_wrapper.gform-theme textarea:hover {
    border-color: var(--granth-field-border-hover) !important;
  }
}

.gform_wrapper.gform-theme input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):focus,
.gform_wrapper.gform-theme select:focus,
.gform_wrapper.gform-theme textarea:focus {
  outline: none !important;
  border-color: var(--color-brand) !important;
  box-shadow: 0 0 0 3px rgba(236, 28, 36, 0.14) !important;
}

.gform_wrapper.gform-theme input[type="checkbox"],
.gform_wrapper.gform-theme input[type="radio"] {
  accent-color: var(--color-brand);
  width: 18px;
  height: 18px;
}

/* --- error states ---------------------------------------------------------
   Gravity's own error styling is a red box with a red left border in its blue
   type scale. This keeps the meaning and drops the plugin look. */
.gform_wrapper.gform-theme .gfield_error input:not([type="submit"]),
.gform_wrapper.gform-theme .gfield_error select,
.gform_wrapper.gform-theme .gfield_error textarea {
  border-color: var(--color-brand) !important;
  background-color: var(--color-blush) !important;
}

.gform_wrapper.gform-theme .gfield_validation_message,
.gform_wrapper.gform-theme .validation_message {
  margin-top: 8px !important;
  padding: 8px 12px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background-color: var(--color-blush) !important;
  font-family: var(--font-body) !important;
  font-size: 13px !important;
  line-height: 20px !important;
  color: var(--granth-error-ink) !important;
}

.gform_wrapper.gform-theme .gform_submission_error {
  margin-bottom: 20px !important;
  padding: 14px 18px !important;
  border: 1px solid var(--color-brand) !important;
  border-radius: 12px !important;
  background-color: var(--color-blush) !important;
  font-family: var(--font-display) !important;
  font-size: 15px !important;
  line-height: 22px !important;
  color: var(--granth-error-ink) !important;
}

.gform_confirmation_message,
.gform_wrapper .gform_confirmation_message {
  padding: 18px 22px;
  border: 1px solid color-mix(in srgb, var(--color-tan) 45%, #fff);
  border-radius: 16px;
  background-color: var(--color-panel);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 26px;
  color: var(--color-ink);
}

/* --- submit ---------------------------------------------------------------
   The site's primary button, not a form's idea of one: full pill, white fill,
   brand text, and the hard 4px offset shadow that collapses to 2px as the
   button translates into it. Identical to .nhomedef-btn in the markup, so a
   form's call to action reads as the same object as every other CTA. */
.gform_wrapper.gform-theme .gform_footer,
.gform_wrapper.gform-theme .gform-footer {
  margin-top: 26px !important;
  padding: 0 !important;
}

.gform_wrapper.gform-theme .gform_footer input[type="submit"],
.gform_wrapper.gform-theme .gform_footer button[type="submit"],
.gform_wrapper.gform-theme .gform-footer input[type="submit"],
.gform_wrapper.gform-theme .gform-footer button[type="submit"] {
  width: auto !important;
  height: auto !important;
  min-height: 50px !important;
  padding: 0 30px !important;
  border: 1px solid var(--color-tan) !important;
  border-radius: 50px !important;
  background-color: #fff !important;
  box-shadow: 4px 4px 0 var(--color-brand) !important;
  font-family: var(--font-display) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 20px !important;
  color: var(--color-brand) !important;
  cursor: pointer;
  transition:
    transform 250ms cubic-bezier(0.23, 1, 0.32, 1),
    box-shadow 250ms cubic-bezier(0.23, 1, 0.32, 1) !important;
}

.gform_wrapper.gform-theme .gform_footer input[type="submit"]:hover,
.gform_wrapper.gform-theme .gform_footer input[type="submit"]:focus-visible,
.gform_wrapper.gform-theme .gform_footer button[type="submit"]:hover,
.gform_wrapper.gform-theme .gform_footer button[type="submit"]:focus-visible,
.gform_wrapper.gform-theme .gform-footer input[type="submit"]:hover,
.gform_wrapper.gform-theme .gform-footer input[type="submit"]:focus-visible,
.gform_wrapper.gform-theme .gform-footer button[type="submit"]:hover,
.gform_wrapper.gform-theme .gform-footer button[type="submit"]:focus-visible {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--color-brand) !important;
  background-color: #fff !important;
  color: var(--color-brand) !important;
}

/* Pressed: all the way into the shadow, so the button reads as physically
   pushed rather than merely hovered. */
.gform_wrapper.gform-theme .gform_footer input[type="submit"]:active,
.gform_wrapper.gform-theme .gform_footer button[type="submit"]:active,
.gform_wrapper.gform-theme .gform-footer input[type="submit"]:active,
.gform_wrapper.gform-theme .gform-footer button[type="submit"]:active {
  transform: translate(4px, 4px);
  box-shadow: 0 0 0 var(--color-brand) !important;
}

/* Gravity disables the button while a submission is in flight. Without this it
   keeps its full shadow and looks clickable for the whole request. */
.gform_wrapper.gform-theme .gform_footer input[type="submit"][disabled],
.gform_wrapper.gform-theme .gform_footer button[type="submit"][disabled],
.gform_wrapper.gform-theme .gform-footer input[type="submit"][disabled],
.gform_wrapper.gform-theme .gform-footer button[type="submit"][disabled] {
  transform: translate(4px, 4px);
  box-shadow: 0 0 0 var(--color-brand) !important;
  opacity: 0.55;
  cursor: not-allowed;
}

@media (prefers-reduced-motion: reduce) {
  .gform_wrapper.gform-theme input,
  .gform_wrapper.gform-theme select,
  .gform_wrapper.gform-theme textarea {
    transition: none !important;
  }

  .gform_wrapper.gform-theme .gform_footer input[type="submit"],
  .gform_wrapper.gform-theme .gform_footer button[type="submit"],
  .gform_wrapper.gform-theme .gform-footer input[type="submit"],
  .gform_wrapper.gform-theme .gform-footer button[type="submit"] {
    transition: none !important;
  }
}
