/* Core Visuals NYC: the one shared header (office 2026-09-28, cv audit fix 2).
   Same markup on every page, stamped by scripts/shared-header.py; styled only here so page
   stylesheets (styles.css, core.css, inline page CSS) cannot reshape it. Look: the home page
   header in its solid state. Behaviour: js/site-header.js.
   Modifiers: .cvh--fixed (pages whose content already leaves room for a fixed header),
   .cvh--overlay (home: transparent over the film until scrolled). Default is sticky. */

.cvh {
  --cvh-ink: #0a0a0a;
  --cvh-gold: #d4af37;
  --cvh-line: #e4e2dc;
  --cvh-h: 76px;
  position: sticky;
  top: 0;
  z-index: 1000;
  color: var(--cvh-ink);
  background: rgba(255, 255, 255, 0.97);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--cvh-line);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: normal;
  text-align: left;
  -webkit-font-smoothing: antialiased;
  transition: background 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}
.cvh *,
.cvh *::before,
.cvh *::after {
  box-sizing: border-box;
}
.cvh--fixed,
.cvh--overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}
.cvh a {
  color: inherit;
  text-decoration: none;
  border: 0;
  background: none;
  margin: 0;
  font: inherit;
  letter-spacing: inherit;
  text-transform: none;
  box-shadow: none;
}
.cvh-inner {
  width: min(1240px, calc(100% - 64px));
  height: var(--cvh-h);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.cvh .cvh-brand {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.cvh .cvh-brand span {
  display: inline-block;
  margin-left: 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  vertical-align: 2px;
  color: var(--cvh-gold);
}
.cvh-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 0;
  padding: 0;
  font-size: 14px;
  font-weight: 500;
}
.cvh-link {
  position: relative;
  display: inline-block;
  padding: 8px 0;
}
.cvh-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 2px;
  height: 2px;
  background: var(--cvh-gold);
  transition: right 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.cvh-link:hover::after,
.cvh-link:focus-visible::after,
.cvh-link[aria-current="page"]::after {
  right: 0;
}
.cvh .cvh-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 20px;
  border: 1px solid var(--cvh-gold);
  border-radius: 999px;
  background: var(--cvh-gold);
  color: var(--cvh-ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.cvh .cvh-cta:hover {
  background: #e2c257;
  border-color: #e2c257;
  transform: translateY(-2px);
}
.cvh a:focus-visible,
.cvh-toggle:focus-visible {
  outline: 2px solid var(--cvh-gold);
  outline-offset: 3px;
}

/* Services: hover or focus opens the three service pages */
.cvh-item {
  position: relative;
}
.cvh-drop {
  position: absolute;
  top: 100%;
  left: -20px;
  width: 300px;
  padding: 10px;
  background: #fff;
  color: var(--cvh-ink);
  border: 1px solid var(--cvh-line);
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(10, 10, 10, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.cvh-item:hover .cvh-drop,
.cvh-item:focus-within .cvh-drop {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.cvh .cvh-drop a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-weight: 600;
}
.cvh .cvh-drop a:hover,
.cvh .cvh-drop a:focus-visible {
  background: #f7f6f2;
}
.cvh .cvh-drop a span {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  font-weight: 400;
  color: #6b7280;
}

.cvh-toggle {
  display: none;
  margin: 0;
  padding: 10px 16px;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font: 600 13px/1 "Inter", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  cursor: pointer;
}

/* Home: transparent over the film, solid once the visitor scrolls */
.cvh--overlay:not(.is-solid):not(.is-open) {
  color: #fff;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0));
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
}

@media (max-width: 860px) {
  .cvh {
    --cvh-h: 64px;
  }
  .cvh-inner {
    width: calc(100% - 40px);
  }
  /* Without JavaScript the links wrap under the wordmark. */
  .cvh:not(.cvh-js) .cvh-inner {
    height: auto;
    min-height: var(--cvh-h);
    flex-wrap: wrap;
    gap: 6px 18px;
    padding: 14px 0;
  }
  .cvh:not(.cvh-js) .cvh-nav {
    flex-wrap: wrap;
    gap: 6px 18px;
  }
  .cvh:not(.cvh-js) .cvh-drop {
    display: none;
  }
  .cvh-js .cvh-toggle {
    display: inline-flex;
  }
  .cvh-js .cvh-nav {
    display: none;
    position: absolute;
    top: var(--cvh-h);
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--cvh-h));
    overflow-y: auto;
    padding: 8px 20px 24px;
    background: #fff;
    color: var(--cvh-ink);
    border-bottom: 1px solid var(--cvh-line);
    box-shadow: 0 18px 30px rgba(10, 10, 10, 0.08);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .cvh-js .cvh-nav.is-open {
    display: flex;
  }
  .cvh.is-open {
    background: #fff;
  }
  .cvh-js .cvh-link {
    display: block;
    padding: 14px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--cvh-line);
  }
  .cvh-js .cvh-link::after {
    display: none;
  }
  .cvh-js .cvh-drop {
    position: static;
    width: auto;
    padding: 0 0 6px 14px;
    border: 0;
    border-bottom: 1px solid var(--cvh-line);
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .cvh-js .cvh-item > .cvh-link {
    border-bottom: 0;
  }
  .cvh-js .cvh-drop a {
    padding: 9px 0;
    font-size: 15px;
  }
  .cvh-js .cvh-drop a span {
    display: none;
  }
  .cvh-js .cvh-cta {
    margin-top: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cvh,
  .cvh-link::after,
  .cvh .cvh-cta,
  .cvh-drop {
    transition: none;
  }
}

@media print {
  .cvh {
    display: none;
  }
}
