/* NOVA Jewelry — Phase 1 global design system, header, and footer. */

:root {
  --nova-font-heading: "Newsreader", Georgia, "Times New Roman", serif;
  --nova-font-body: "Manrope", Arial, Helvetica, sans-serif;

  --nova-color-text: #272428;
  --nova-color-text-secondary: #6f696d;
  --nova-color-text-soft: #8a8487;
  --nova-color-white: #ffffff;
  --nova-color-ivory: #fcfaf7;
  --nova-color-stone: #f4f1ed;
  --nova-color-border: #e5e0dc;
  --nova-color-border-strong: #cfc8c3;
  --nova-color-accent: #8b8095;
  --nova-color-accent-soft: #f5f2f6;
  --nova-color-accent-secondary: #bd80ae;
  --nova-color-error: #9b4b4b;
  --nova-color-success: #4f7564;

  --nova-container: 1200px;
  --nova-shell-max: 1600px;
  --nova-shell-gutter: clamp(48px, 4.5vw, 88px);
  --nova-readable: 760px;
  --nova-gutter: clamp(20px, 3.2vw, 48px);

  --nova-space-1: 4px;
  --nova-space-2: 8px;
  --nova-space-3: 12px;
  --nova-space-4: 16px;
  --nova-space-5: 24px;
  --nova-space-6: 32px;
  --nova-space-7: 48px;
  --nova-space-8: 64px;
  --nova-space-9: 80px;
  --nova-space-10: 112px;
  --nova-space-11: 144px;

  --nova-radius-small: 3px;
  --nova-radius-pill: 999px;
  --nova-header-height: 102px;

  --nova-ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --nova-ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --nova-duration-fast: 140ms;
  --nova-duration-ui: 190ms;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nova-header-height) + 24px);
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--nova-color-white);
  color: var(--nova-color-text);
  font-family: var(--nova-font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nova-menu-is-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-color: color-mix(in srgb, currentColor 28%, transparent);
  text-underline-offset: 0.2em;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--nova-color-accent);
  outline-offset: 4px;
}

h1,
h2,
h3,
h4,
h5,
h6,
.elementor-heading-title {
  margin-block: 0 0.45em;
  color: var(--nova-color-text);
  font-family: var(--nova-font-heading);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  font-size: clamp(3rem, 6vw, 5.75rem);
  line-height: 0.98;
}

h2 {
  font-size: clamp(2.4rem, 4.3vw, 4.25rem);
  line-height: 1.02;
}

h3 {
  font-size: clamp(1.8rem, 2.5vw, 2.6rem);
  line-height: 1.08;
}

h4 {
  font-size: clamp(1.25rem, 1.8vw, 1.6rem);
  line-height: 1.2;
}

p {
  margin-block: 0 1.35em;
}

small,
.nova-small {
  color: var(--nova-color-text-secondary);
  font-size: 0.8125rem;
  line-height: 1.55;
}

::selection {
  background: #dfd8e4;
  color: var(--nova-color-text);
}

.nova-container,
.elementor-section.elementor-section-boxed > .elementor-container,
.e-con-boxed > .e-con-inner {
  width: min(100% - (2 * var(--nova-gutter)), var(--nova-container));
  margin-inline: auto;
}

.nova-readable {
  width: min(100%, var(--nova-readable));
}

.nova-section,
.elementor-element.nova-section {
  padding-block: var(--nova-space-10);
}

.nova-section--compact,
.elementor-element.nova-section--compact {
  padding-block: var(--nova-space-9);
}

.nova-section--ivory {
  background: var(--nova-color-ivory);
}

.nova-section--stone {
  background: var(--nova-color-stone);
}

.nova-eyebrow {
  margin: 0 0 var(--nova-space-4);
  color: var(--nova-color-accent);
  font-family: var(--nova-font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.nova-button,
.elementor-button,
button.nova-button,
input[type="submit"] {
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 46px;
  padding: 0.78rem 1.35rem;
  border: 1px solid var(--nova-color-text);
  border-radius: var(--nova-radius-pill);
  background: transparent;
  color: var(--nova-color-text);
  cursor: pointer;
  display: inline-flex;
  font-family: var(--nova-font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.105em;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition:
    background-color var(--nova-duration-ui) ease,
    border-color var(--nova-duration-ui) ease,
    color var(--nova-duration-ui) ease,
    transform var(--nova-duration-fast) var(--nova-ease-out);
}

.nova-button:active,
.elementor-button:active,
button.nova-button:active,
input[type="submit"]:active {
  transform: scale(0.97);
}

.nova-button--secondary {
  border-color: var(--nova-color-border-strong);
  color: var(--nova-color-text-secondary);
}

.nova-text-link {
  align-items: center;
  gap: 0.55em;
  color: var(--nova-color-text);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-decoration: none;
  text-transform: uppercase;
}

.nova-text-link::after {
  content: "→";
  transition: transform var(--nova-duration-ui) var(--nova-ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .nova-button:hover,
  .elementor-button:hover,
  button.nova-button:hover,
  input[type="submit"]:hover {
    border-color: var(--nova-color-accent);
    background: var(--nova-color-accent-soft);
    color: var(--nova-color-accent);
  }

  .nova-text-link:hover {
    color: var(--nova-color-accent);
  }

  .nova-text-link:hover::after {
    transform: translateX(3px);
  }
}

input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
textarea,
select,
.elementor-field-textual {
  width: 100%;
  min-height: 52px;
  padding: 0.8rem 1rem;
  border: 1px solid var(--nova-color-border);
  border-radius: var(--nova-radius-small);
  background: var(--nova-color-white);
  color: var(--nova-color-text);
  font: 400 0.95rem/1.55 var(--nova-font-body);
  transition:
    border-color var(--nova-duration-fast) ease,
    box-shadow var(--nova-duration-fast) ease;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--nova-color-text-secondary) 50%),
    linear-gradient(135deg, var(--nova-color-text-secondary) 50%, transparent 50%);
  background-position:
    calc(100% - 19px) 50%,
    calc(100% - 14px) 50%;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
  padding-right: 2.8rem;
}

input::placeholder,
textarea::placeholder {
  color: var(--nova-color-text-soft);
  opacity: 1;
}

input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):focus,
textarea:focus,
select:focus,
.elementor-field-textual:focus {
  border-color: var(--nova-color-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--nova-color-accent) 12%, transparent);
  outline: none;
}

input[type="file"] {
  min-height: 52px;
  padding: 0.62rem;
  border: 1px dashed var(--nova-color-border-strong);
  background: var(--nova-color-ivory);
  color: var(--nova-color-text-secondary);
  font: 400 0.85rem/1.5 var(--nova-font-body);
}

.nova-card {
  border: 1px solid var(--nova-color-border);
  border-radius: var(--nova-radius-small);
  background: var(--nova-color-white);
}

.nova-screen-reader-text,
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nova-screen-reader-text:focus,
.screen-reader-text:focus {
  width: auto;
  height: auto;
  margin: 0;
  clip: auto;
  white-space: normal;
}

.nova-skip-link {
  position: fixed;
  z-index: 10000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: var(--nova-radius-small);
  background: var(--nova-color-text);
  color: var(--nova-color-white);
  font-size: 0.82rem;
  text-decoration: none;
  transform: translateY(-160%);
}

.nova-skip-link:focus {
  transform: translateY(0);
}

/* Logo uses the original square client file; the wrapper only crops its white canvas. */
.nova-brand {
  position: relative;
  z-index: 3;
  flex: 0 0 auto;
  display: inline-flex;
  text-decoration: none;
}

.nova-logo-crop {
  position: relative;
  width: 176px;
  height: 82px;
  overflow: hidden;
  display: block;
}

.nova-logo-crop img {
  position: absolute;
  top: -49px;
  left: -7px;
  width: 190px;
  max-width: none;
  height: auto;
}

/* Header */
.nova-site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  width: 100%;
  border-bottom: 1px solid transparent;
  background: color-mix(in srgb, var(--nova-color-white) 96%, transparent);
  box-shadow: 0 8px 24px transparent;
  transition:
    border-color var(--nova-duration-ui) ease,
    box-shadow var(--nova-duration-ui) ease;
}

.nova-site-header.is-scrolled {
  border-bottom-color: color-mix(in srgb, var(--nova-color-border) 88%, transparent);
  box-shadow: 0 10px 28px rgba(39, 36, 40, 0.035);
}

.nova-header-inner {
  position: relative;
  width: min(100% - (2 * var(--nova-shell-gutter)), var(--nova-shell-max));
  min-height: var(--nova-header-height);
  margin-inline: auto;
  align-items: center;
  display: grid;
  grid-template-columns: minmax(200px, 1fr) auto minmax(200px, 1fr);
  gap: clamp(28px, 3.4vw, 54px);
}

.nova-header-inner > .nova-brand {
  justify-self: start;
}

.nova-primary-nav {
  align-self: stretch;
  display: flex;
  justify-content: center;
  justify-self: center;
}

.nova-primary-menu,
.nova-primary-menu ul,
.nova-footer-menu {
  padding: 0;
  margin: 0;
  list-style: none;
}

.nova-primary-menu {
  height: 100%;
  align-items: center;
  display: flex;
  justify-content: center;
  gap: clamp(28px, 2.7vw, 44px);
}

.nova-primary-menu > li {
  position: relative;
  height: 100%;
  align-items: center;
  display: flex;
}

.nova-primary-menu > li > a {
  position: relative;
  align-items: center;
  min-height: 44px;
  color: var(--nova-color-text);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.125em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.nova-primary-menu > li > a::after {
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  height: 1px;
  background: var(--nova-color-accent);
  content: "";
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform var(--nova-duration-ui) var(--nova-ease-out);
}

.nova-submenu-toggle {
  width: 26px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--nova-color-text-secondary);
  cursor: pointer;
  display: inline-grid;
  place-items: center;
}

.nova-submenu-toggle:focus-visible,
.nova-footer-toggle:focus-visible {
  outline: 1px solid var(--nova-color-accent);
  outline-offset: -3px;
}

/* Keep NOVA controls out of Hello Elementor's magenta button hover/focus reset. */
.nova-site-header .nova-submenu-toggle:hover,
.nova-site-header .nova-submenu-toggle:focus,
.nova-site-header .nova-submenu-toggle:active,
.nova-site-footer .nova-footer-toggle:hover,
.nova-site-footer .nova-footer-toggle:focus,
.nova-site-footer .nova-footer-toggle:active {
  background: transparent;
  color: inherit;
}

.nova-submenu-toggle svg {
  width: 10px;
  height: 6px;
  transition: transform var(--nova-duration-ui) var(--nova-ease-out);
}

.nova-primary-menu .sub-menu {
  position: absolute;
  top: calc(100% - 5px);
  left: -24px;
  width: max-content;
  min-width: 252px;
  max-width: 330px;
  padding: 14px 8px;
  border: 1px solid var(--nova-color-border);
  background: var(--nova-color-white);
  box-shadow: 0 18px 50px rgba(39, 36, 40, 0.08);
  opacity: 0;
  pointer-events: none;
  transform: translateY(7px);
  transform-origin: 32px top;
  transition:
    opacity var(--nova-duration-ui) var(--nova-ease-out),
    transform var(--nova-duration-ui) var(--nova-ease-out);
}

.nova-primary-menu .sub-menu::before {
  position: absolute;
  top: -7px;
  right: 0;
  left: 0;
  height: 8px;
  content: "";
}

.nova-primary-menu .sub-menu a {
  min-height: 40px;
  align-items: center;
  padding: 9px 15px;
  color: var(--nova-color-text-secondary);
  display: flex;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
  transition:
    background-color var(--nova-duration-fast) ease,
    color var(--nova-duration-fast) ease;
}

.nova-primary-menu .menu-item-has-children:hover > .sub-menu,
.nova-primary-menu .menu-item-has-children:focus-within > .sub-menu,
.nova-primary-menu .menu-item-has-children[data-submenu-open="true"] > .sub-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nova-primary-menu .menu-item-has-children[data-submenu-open="true"] > .nova-submenu-toggle svg {
  transform: rotate(180deg);
}

.nova-primary-menu .nova-keyboard-toggle > .sub-menu,
.nova-keyboard-menu .nova-primary-nav,
.nova-keyboard-menu .nova-nav-scrim {
  transition-duration: 0ms !important;
}

.nova-header-actions {
  align-items: center;
  display: flex;
  justify-content: flex-end;
  justify-self: end;
  gap: 10px;
}

.nova-header-quote {
  min-width: 200px;
  min-height: 48px;
  padding-inline: 1.55rem;
  font-size: 0.79rem;
}

.nova-quote-short,
.nova-mobile-quote,
.nova-menu-toggle {
  display: none;
}

.nova-menu-toggle {
  position: relative;
  z-index: 1002;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--nova-color-border);
  border-radius: 50%;
  background: var(--nova-color-white);
  color: var(--nova-color-text);
  cursor: pointer;
  place-items: center;
  transition:
    border-color var(--nova-duration-fast) ease,
    transform var(--nova-duration-fast) var(--nova-ease-out);
}

.nova-menu-toggle:active {
  transform: scale(0.96);
}

.nova-site-header .nova-menu-toggle:hover,
.nova-site-header .nova-menu-toggle:focus,
.nova-site-header .nova-menu-toggle:active {
  background: var(--nova-color-white);
  color: var(--nova-color-text);
}

.nova-menu-toggle-lines {
  position: relative;
  width: 16px;
  height: 12px;
  display: block;
}

.nova-menu-toggle-lines span {
  position: absolute;
  left: 0;
  width: 16px;
  height: 1px;
  background: currentColor;
  transition:
    top var(--nova-duration-ui) var(--nova-ease-out),
    transform var(--nova-duration-ui) var(--nova-ease-out);
}

.nova-menu-toggle-lines span:first-child {
  top: 3px;
}

.nova-menu-toggle-lines span:last-child {
  top: 9px;
}

.nova-menu-toggle[aria-expanded="true"] .nova-menu-toggle-lines span:first-child {
  top: 6px;
  transform: rotate(45deg);
}

.nova-menu-toggle[aria-expanded="true"] .nova-menu-toggle-lines span:last-child {
  top: 6px;
  transform: rotate(-45deg);
}

.nova-nav-scrim {
  position: fixed;
  z-index: 998;
  inset: var(--nova-header-height) 0 0;
  background: rgba(39, 36, 40, 0.24);
  opacity: 0;
  transition: opacity var(--nova-duration-ui) ease;
}

.nova-nav-scrim.is-visible {
  opacity: 1;
}

/* Footer */
.nova-site-footer {
  border-top: 1px solid var(--nova-color-border);
  background: var(--nova-color-white);
  color: var(--nova-color-text);
}

.nova-footer-main {
  padding-block: clamp(92px, 8.8vw, 132px) clamp(80px, 7.5vw, 108px);
}

.nova-footer-grid {
  width: min(100% - (2 * var(--nova-shell-gutter)), var(--nova-shell-max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(300px, 1.55fr) repeat(3, minmax(128px, 0.75fr));
  gap: clamp(44px, 5vw, 84px);
}

.nova-brand--footer .nova-logo-crop {
  width: 202px;
  height: 94px;
}

.nova-brand--footer .nova-logo-crop img {
  top: -56px;
  left: -8px;
  width: 218px;
}

.nova-footer-positioning {
  max-width: 360px;
  margin: 28px 0 30px;
  color: var(--nova-color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.85;
}

.nova-footer-company {
  margin: 0 0 9px;
  color: var(--nova-color-text);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.095em;
  line-height: 1.5;
}

.nova-footer-email {
  min-height: 44px;
  align-items: center;
  color: var(--nova-color-text-secondary);
  display: inline-flex;
  gap: 9px;
  font-size: 0.88rem;
  text-decoration-color: transparent;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.28em;
  transition:
    color 220ms ease,
    text-decoration-color 220ms ease;
}

.nova-footer-address {
  max-width: 360px;
  margin: 10px 0 0;
  color: var(--nova-color-text-secondary);
  display: flex;
  gap: 9px;
  font-size: 0.78rem;
  font-style: normal;
  line-height: 1.7;
}

.nova-footer-contact-icon {
  width: 16px;
  height: 16px;
  margin-top: 0.12em;
  flex: 0 0 auto;
  color: var(--nova-color-accent);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.35;
}

.nova-footer-group h3 {
  margin: 0 0 28px;
  font-family: var(--nova-font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.nova-footer-toggle {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: default;
  display: flex;
  font: inherit;
  letter-spacing: inherit;
  text-align: left;
  text-transform: inherit;
}

.nova-footer-toggle > span {
  display: none;
}

.nova-footer-menu li + li {
  margin-top: 13px;
}

.nova-footer-menu a {
  color: var(--nova-color-text-secondary);
  font-size: 0.86rem;
  line-height: 1.65;
  text-decoration-color: transparent;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.28em;
  transition:
    color 220ms ease,
    text-decoration-color 220ms ease;
}

.nova-footer-bottom {
  border-top: 1px solid var(--nova-color-border);
  background: var(--nova-color-ivory);
}

.nova-footer-bottom-inner {
  width: min(100% - (2 * var(--nova-shell-gutter)), var(--nova-shell-max));
  min-height: 86px;
  margin-inline: auto;
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.nova-footer-bottom p {
  margin: 0;
  color: var(--nova-color-text-secondary);
  font-size: 0.74rem;
  letter-spacing: 0.035em;
}

.nova-footer-bottom nav {
  display: flex;
  gap: 34px;
}

.nova-footer-bottom a {
  color: var(--nova-color-text-secondary);
  font-size: 0.74rem;
  text-decoration-color: transparent;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.28em;
  transition:
    color 220ms ease,
    text-decoration-color 220ms ease;
}

.nova-site-footer .nova-footer-email:focus-visible,
.nova-site-footer .nova-footer-menu a:focus-visible,
.nova-site-footer .nova-footer-bottom a:focus-visible {
  color: #74677f;
  text-decoration-color: currentColor;
}

@media (hover: hover) and (pointer: fine) {
  .nova-primary-menu > li > a:hover,
  .nova-primary-menu > li:hover > a,
  .nova-primary-menu > li:focus-within > a {
    color: var(--nova-color-accent);
  }

  .nova-primary-menu > li > a:hover::after,
  .nova-primary-menu > li:hover > a::after,
  .nova-primary-menu > li:focus-within > a::after {
    transform: scaleX(1);
    transform-origin: left center;
  }

  .nova-primary-menu .sub-menu a:hover,
  .nova-primary-menu .sub-menu a:focus-visible {
    background: var(--nova-color-accent-soft);
    color: var(--nova-color-accent);
  }

  .nova-menu-toggle:hover {
    border-color: var(--nova-color-accent);
  }

  .nova-footer-email:hover,
  .nova-footer-menu a:hover,
  .nova-footer-bottom a:hover {
    color: #74677f;
    text-decoration-color: currentColor;
  }
}

@media (max-width: 1399px) {
  :root {
    --nova-header-height: 94px;
  }

  .nova-header-inner {
    grid-template-columns: minmax(184px, 1fr) auto minmax(184px, 1fr);
    gap: 22px;
  }

  .nova-primary-menu {
    gap: 22px;
  }

  .nova-primary-menu > li > a {
    font-size: 0.7rem;
    letter-spacing: 0.105em;
  }

  .nova-header-quote {
    min-width: 178px;
    min-height: 46px;
    padding-inline: 1.2rem;
    font-size: 0.73rem;
  }

  .nova-logo-crop {
    width: 160px;
    height: 75px;
  }

  .nova-logo-crop img {
    top: -45px;
    left: -6px;
    width: 173px;
  }

}

@media (max-width: 1120px) {
  .nova-footer-grid {
    grid-template-columns: minmax(240px, 1.3fr) repeat(3, minmax(120px, 0.8fr));
    gap: 36px;
  }
}

@media (max-width: 1199px) {
  :root {
    --nova-header-height: 82px;
    --nova-shell-gutter: var(--nova-gutter);
  }

  .nova-header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .nova-header-quote {
    min-width: 0;
    min-height: 44px;
    padding: 0.7rem 1.05rem;
    font-size: 0.72rem;
  }

  .nova-quote-full {
    display: none;
  }

  .nova-quote-short {
    display: inline;
  }

  .nova-menu-toggle {
    display: grid;
  }

  .nova-primary-nav {
    position: fixed;
    z-index: 999;
    top: var(--nova-header-height);
    right: 0;
    bottom: 0;
    width: min(88vw, 430px);
    padding: 26px var(--nova-gutter) 38px;
    background: var(--nova-color-white);
    display: block;
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(100%);
    transition: transform 240ms var(--nova-ease-out);
  }

  .nova-primary-nav.is-open {
    transform: translateX(0);
  }

  .nova-primary-menu {
    height: auto;
    align-items: stretch;
    display: block;
  }

  .nova-primary-menu > li {
    height: auto;
    min-height: 55px;
    border-bottom: 1px solid var(--nova-color-border);
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px;
  }

  .nova-primary-menu > li:not(.menu-item-has-children) {
    grid-template-columns: 1fr;
  }

  .nova-primary-menu > li > a {
    min-height: 55px;
    font-size: 0.72rem;
    letter-spacing: 0.13em;
  }

  .nova-primary-menu > li > a::after {
    display: none;
  }

  .nova-submenu-toggle {
    width: 48px;
    height: 55px;
    justify-self: end;
  }

  .nova-primary-menu .sub-menu {
    position: static;
    width: auto;
    min-width: 0;
    max-width: none;
    max-height: 0;
    padding: 0;
    border: 0;
    border-top: 0 solid var(--nova-color-border);
    background: var(--nova-color-ivory);
    box-shadow: none;
    grid-column: 1 / -1;
    opacity: 1;
    overflow: hidden;
    pointer-events: auto;
    transform: none;
    transition: max-height 220ms var(--nova-ease-out);
  }

  .nova-primary-menu .menu-item-has-children[data-submenu-open="true"] > .sub-menu {
    max-height: 520px;
    padding-block: 8px;
    border-top-width: 1px;
    transform: none;
  }

  .nova-primary-menu .sub-menu a {
    min-height: 44px;
    padding: 10px 16px;
    font-size: 0.83rem;
  }

  .nova-mobile-quote {
    width: 100%;
    min-height: 48px;
    margin-top: 30px;
    display: inline-flex;
  }

}

@media (max-width: 1023px) {
  .nova-section,
  .elementor-element.nova-section {
    padding-block: 88px;
  }

  .nova-footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 52px 64px;
  }

  .nova-footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  :root {
    --nova-header-height: 76px;
  }

  .nova-section,
  .elementor-element.nova-section,
  .nova-section--compact,
  .elementor-element.nova-section--compact {
    padding-block: 72px;
  }

  .nova-header-inner {
    gap: 12px;
  }

  .nova-logo-crop {
    width: 126px;
    height: 59px;
  }

  .nova-logo-crop img {
    top: -35px;
    left: -5px;
    width: 136px;
  }

  .nova-header-actions {
    gap: 8px;
  }

  .nova-header-quote {
    min-height: 44px;
    padding: 0.66rem 0.82rem;
    font-size: 0.7rem;
  }

  .nova-menu-toggle {
    width: 44px;
    height: 44px;
  }

  .nova-footer-main {
    padding-block: 80px 64px;
  }

  .nova-footer-grid {
    display: block;
  }

  .nova-footer-brand {
    padding-bottom: 46px;
  }

  .nova-brand--footer .nova-logo-crop {
    width: 180px;
    height: 84px;
  }

  .nova-brand--footer .nova-logo-crop img {
    top: -50px;
    left: -7px;
    width: 194px;
  }

  .nova-footer-positioning {
    max-width: 340px;
    margin-top: 22px;
  }

  .nova-footer-group {
    border-top: 1px solid var(--nova-color-border);
  }

  .nova-footer-group:last-child {
    border-bottom: 1px solid var(--nova-color-border);
  }

  .nova-footer-group h3 {
    margin: 0;
  }

  .nova-footer-toggle {
    min-height: 64px;
    align-items: center;
    cursor: pointer;
    justify-content: space-between;
    transition:
      background-color var(--nova-duration-fast) ease,
      color var(--nova-duration-fast) ease,
      padding-inline var(--nova-duration-ui) var(--nova-ease-out);
  }

  .nova-footer-group.is-open .nova-footer-toggle {
    padding-inline: 12px;
    background: var(--nova-color-accent-soft);
    color: var(--nova-color-accent);
  }

  .nova-footer-toggle > span {
    width: 14px;
    height: 14px;
    color: var(--nova-color-text-secondary);
    display: grid;
    place-items: center;
  }

  .nova-footer-toggle > span svg {
    width: 10px;
    height: 6px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.2;
    transition: transform var(--nova-duration-ui) var(--nova-ease-out);
  }

  .nova-footer-toggle[aria-expanded="true"] > span svg {
    transform: rotate(180deg);
  }

  .nova-footer-group.is-open .nova-footer-toggle > span {
    color: var(--nova-color-accent);
  }

  .nova-footer-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 220ms var(--nova-ease-out);
  }

  .nova-footer-group.is-open .nova-footer-panel {
    max-height: 520px;
  }

  .nova-footer-group.nova-keyboard-toggle .nova-footer-panel {
    transition-duration: 0ms;
  }

  .nova-footer-menu {
    padding: 2px 0 32px;
  }

  .nova-footer-menu li + li {
    margin-top: 0;
  }

  .nova-footer-menu a {
    min-height: 46px;
    align-items: center;
    display: flex;
    font-size: 0.88rem;
    line-height: 1.6;
  }

  .nova-footer-bottom-inner {
    min-height: 0;
    align-items: flex-start;
    padding-block: 30px 34px;
    flex-direction: column;
    gap: 16px;
  }

  .nova-footer-bottom nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 12px 24px;
  }

  .nova-footer-bottom a {
    min-height: 44px;
    align-items: center;
    display: inline-flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
