/* Responsive refinements. Decorative edge emblems are disabled on phones. */
html { scrollbar-gutter: stable; }
body { overflow-x: clip; }
*, *::before, *::after { box-sizing: border-box; }
img, video { max-width: 100%; }
button, input, textarea, select { font: inherit; }
section[id], footer[id] { scroll-margin-top: 100px; }
.nova-about { padding-top: clamp(72px, 7vw, 112px); }
.nova-services { padding: clamp(64px, 6vw, 96px) 0 64px; }
.nova-services-header { margin-bottom: 44px; }
.nova-service-row { min-height: 480px; padding: 48px 0; gap: clamp(32px, 5vw, 80px); }
.nova-service-visual { height: 360px; }
.nova-philosophy { padding: clamp(72px, 7vw, 112px) 0; }
.nova-services-section { padding-top: 72px; padding-bottom: 72px; }
.nsv-map { margin-top: 56px; }
.nova-faq { padding-top: 64px; padding-bottom: 80px; }
.nova-projects-stage { height: min(90svh, 880px); min-height: 440px; }
.nova-projects-pin { height: calc(min(90svh, 880px) + var(--orbit-scroll-length, 600px)); }
.nova-orbit-card, .nova-orbit-view, .nova-orbit-tall { will-change: auto; }
.nova-orbit-card[data-hover] .nova-orbit-view, .nova-orbit-tall[data-ready] { will-change: transform; }
.nova-contact-field, .nova-contact-main, .nova-contact-visual, .nova-service-copy, .nova-about-copy { min-width: 0; }
#nova-mobile-menu { max-height: calc(100svh - 96px); overflow-y: auto; overscroll-behavior: contain; }
:focus-visible { outline: 2px solid #7982f6; outline-offset: 4px; }
@media (max-width: 1000px) {
  .nova-service-row { min-height: 430px; padding: 38px 0; gap: 32px; }
  .nova-service-visual { height: 320px; }
  .nova-work { min-height: 540px; height: 78svh; }
  .nova-expertise, .nova-expertise-content { min-height: 660px; }
  .nova-expertise-content { padding: 48px 0; }
  .nova-expertise-space { height: 520px; }
  .nova-contact-fields { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  html { scrollbar-gutter: auto; }
  section[id], footer[id] { scroll-margin-top: 88px; }
  .nova-about { padding: 64px 0 28px; }
  .nova-about-inner { gap: 22px; }
  .nova-about-heading { font-size: clamp(26px, 6vw, 40px); line-height: 1.2; }
  .nova-about-details { margin-top: 26px; gap: 12px 20px; font-size: 15px; }
  .nova-brand-marquee { min-height: clamp(170px, 36vw, 220px) !important; }
  .nova-work { height: 70svh; min-height: 460px; }
  .nova-projects { margin-top: -20px; min-height: 0; }
  .nova-projects-stage { position: relative; top: auto; height: calc(var(--orbit-card-height, 330px) + 76px); min-height: 0; max-height: none; }
  .nova-projects-pin { height: auto; }
  .nova-projects-outro { height: 0; }
  .nova-brand-peek { display: none !important; }
  .nova-philosophy { padding: 64px 0; }
  .nova-philosophy-inner { gap: 36px; }
  .nova-philosophy-intro { position: relative; top: auto; }
  .nova-philosophy-kicker { margin-bottom: 22px; }
  .nova-philosophy-signature { margin-top: 26px; }
  .nova-philosophy-meter { margin-top: 26px; }
  .nova-principle { padding: 26px 24px 28px; }
  .nova-expertise, .nova-expertise-content { min-height: 620px; }
  .nova-expertise-content { padding: 44px 0; }
  .nova-expertise-space { height: 480px; }
  .nova-services-section { padding: 60px 0; }
  .nsv-map { margin-top: 40px; }
  .nova-reviews { padding-top: 48px; padding-bottom: 28px; }
  .nova-faq { padding: 56px 0 64px; }
  .nova-faq-q { font-size: 15px; }
  .nf-content { padding-top: 100px; }
}
@media (max-width: 700px) {
  .nova-services { padding: 32px 0 44px; }
  .nova-services-header { margin-bottom: 32px; }
  .nova-service-row { min-height: 0; padding: 32px 0 36px; gap: 16px; }
  .nova-service-visual, .nova-service-row:nth-of-type(2n) .nova-service-visual { height: clamp(240px, 65vw, 300px); }
  .nova-service-copy h3 { font-size: clamp(29px, 7.6vw, 38px); }
  .nova-service-copy > p { margin-top: 16px; line-height: 1.65; }
  .nova-service-eyebrow { margin-bottom: 16px; }
  .nova-service-capabilities { margin-top: 18px; }
  .nova-contact { padding: 48px 0 36px; }
  .nova-contact-visual { width: 100%; min-width: 0; }
  .nova-contact-stage { min-height: 0; width: 100%; max-height: none; }
  .nova-contact-fields { grid-template-columns: 1fr; }
  .nova-contact-field.full { grid-column: 1; }
  .nova-contact-field input, .nova-contact-field textarea, .nova-contact-select select { font-size: 16px; }
  .nova-contact-glass { width: 100%; max-width: 100%; }
  .nova-contact-glass a { overflow-wrap: anywhere; }
}
@media (max-width: 360px) {
  .nova-about-inner, .nova-about-guides, .nova-faq-inner { width: calc(100% - 32px); }
  .nova-about-heading { font-size: 26px; }
  .nova-service-copy h3 { font-size: 29px; }
  .nova-philosophy h2 { font-size: 38px; }
  .nova-expertise, .nova-expertise-content { min-height: 560px; }
  .nova-expertise-space { height: 430px; }
  .nova-contact-form-head { padding-left: 18px; padding-right: 18px; }
  .nova-contact-form-body { padding-left: 18px; padding-right: 18px; }
}
@media (max-height: 540px) and (min-width: 601px) {
  .nova-hero { min-height: 580px !important; }
}
@media (max-height: 540px) and (min-width: 761px) {
  .nova-projects-stage { min-height: 400px; }
  .nova-projects-pin { height: calc(400px + var(--orbit-scroll-length, 480px)); }
}
@media (max-width: 1024px) and (pointer: coarse) {
  .nova-brand-peek { display: none !important; }
}

/* Keep the gallery compact on phones and tablets; no blank scroll runway. */
@media (max-width: 1100px) {
  .nova-projects { min-height: 0; margin-top: -20px; }
  .nova-projects-pin { height: auto; }
  .nova-projects-stage { position: relative; top: auto; height: calc(var(--orbit-card-height, 330px) + 76px); min-height: 0; max-height: none; }
  .nova-projects-outro { height: 0; }
  .nova-brand-peek { display: none !important; }

  .nova-hero [data-ref="fgRef"] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 112px 0 clamp(28px, 5.5svh, 64px);
  }
  .nova-hero [data-ref="lettersParRef"] {
    position: relative !important;
    inset: auto !important;
    flex: none;
    width: 100%;
    height: clamp(50px, 13vw, 132px);
    margin-bottom: clamp(18px, 3vw, 28px);
  }
  .nova-hero [data-ref="lettersParRef"] > div {
    top: 50% !important;
    font-size: calc(clamp(40px, 11.5vw, 116px) * var(--hero-word-k, 1)) !important;
  }
  .nova-hero [data-ref="copyRef"] {
    position: relative !important;
    inset: auto !important;
    flex: none;
    width: 100%;
    max-width: 740px;
    justify-content: flex-start !important;
    padding: 0 20px !important;
  }
  .nova-hero h1 { font-size: clamp(17px, 3vw, 26px) !important; line-height: 1.2 !important; }
  .nova-hero [data-ref="copyRef"] > p { font-size: clamp(14px, 1.7vw, 17px) !important; }

  .nova-tool { width: 48px; transform-origin: 50% 18px; }
  .nova-tool-face { width: 36px; height: 36px; }
  .nova-tool-face img { width: 19px; height: 19px; }
  .nova-tool figcaption { width: 70px; margin-top: 6px; margin-left: -11px; font-size: 8px; line-height: 1.25; letter-spacing: 0; }
  .nova-tool[data-hot] .nova-tool-face { transform: scale(1.06); }

  .nova-contact { min-height: 0; padding: 44px 0 40px; }
  .nova-contact-inner { width: min(calc(100% - 40px), 900px); grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .nova-contact-main, .nova-contact-visual { width: 100%; max-width: 560px; min-width: 0; justify-self: center; }
  .nova-contact-frame { width: 100%; max-width: 560px; margin: 0 auto; min-width: 0; }
  .nova-contact-visual { gap: 0; }
  .nova-contact-stage { width: 100%; height: clamp(240px, 58vw, 390px); min-height: 0; max-height: none; margin: 0; overflow: hidden; }
  .nova-contact-video { inset: 0; width: 100%; height: 100%; max-width: 100%; aspect-ratio: auto; transform: none; object-fit: cover; object-position: center; }
  .nova-contact-glass { position: relative; inset: auto; width: 100%; max-width: 100%; margin: 12px 0 0; gap: 10px 18px; flex-wrap: wrap; }
  .nova-contact-glass a { max-width: 100%; min-width: 0; white-space: normal; overflow-wrap: anywhere; }
  .nova-contact-glass span { min-width: 0; overflow: visible; overflow-wrap: anywhere; text-overflow: clip; }
  .nova-faq { padding-top: 40px; }
}
@media (max-width: 600px) {
  .nova-hero [data-ref="copyRef"] > [data-copy]:last-child { margin-top: 22px !important; }
  .nova-contact-glass { flex-direction: column; align-items: flex-start; padding: 12px 14px; }
}
@media (max-width: 760px) {
  .nova-hero [data-ref="fgRef"] {
    justify-content: center;
    padding: 24px 0;
  }
  .nova-hero [data-ref="copyRef"] {
    align-items: center;
    text-align: center;
  }
}
