/* Local preview: decorative imagery and measured small-copy improvements only. */
.vs-site-refresh [data-vs-art-host] { position:relative; isolation:isolate; }
.vs-site-art { position:absolute; inset:0; max-height:720px; overflow:hidden; pointer-events:none; z-index:-1; }
.vs-site-art img { display:block; width:100%; height:100%; object-fit:cover; object-position:70% 50%; }
.vs-site-art::after { content:""; position:absolute; inset:0; background:rgba(11,23,16,.74); }
.vs-site-refresh [data-vs-readability="body"] { font-size:1.125rem; line-height:1.8; font-weight:400; }
.vs-site-refresh [data-vs-readability="list"] { font-size:1.0625rem; line-height:1.7; font-weight:400; }
.vs-site-refresh [data-vs-readability="note"] { font-size:.875rem; line-height:1.65; }
.vs-site-refresh .loader-line { width:0; height:1px; flex-shrink:0; transform:none; animation:none; }
.vs-site-refresh .loader.intro-running .loader-line { animation:loadLine 1.5s ease forwards; }
@media(max-resolution:.99dppx) { .vs-site-refresh .loader-line { height:1.5px; } }
@media(prefers-reduced-motion:reduce) { .vs-site-refresh .loader.intro-running .loader-line { animation:none; width:200px; } }
@media(max-width:900px) { .vs-site-art img { object-position:65% 50%; } .vs-site-art::after { background:rgba(11,23,16,.81); } }

.vs-site-refresh .case-meta-label,.vs-site-refresh .case-meta-value,.vs-site-refresh .case-slides-hint { font-size:.875rem; line-height:1.65; }

/* Case studies: 70% transparent, edge-to-edge watermark throughout the page. */
body.vs-case-watermark { isolation:isolate; }
.vs-case-watermark > .vs-site-art { position:fixed; inset:0; width:100%; height:100%; max-height:none; opacity:.3; z-index:-1; }
.vs-case-watermark > .vs-site-art::after { content:none; }
.vs-case-watermark > .vs-site-art img { object-fit:cover; object-position:70% 50%; }

/* Portfolio overview: one step stronger than the individual case studies. */
.vs-portfolio-watermark > .vs-site-art { opacity:.4; }
/* Scoped portfolio audit corrections; existing markup and behaviors are preserved. */
.vs-portfolio-watermark .portfolio [data-vs-readability="body"] { font-size:1.125rem !important; line-height:1.8; }
.vs-portfolio-watermark .portfolio-tag,
.vs-portfolio-watermark .section-label-text,
.vs-portfolio-watermark .case-proof-list strong { font-size:.875rem; }
.vs-portfolio-watermark .portfolio-link,
.vs-portfolio-watermark .portfolio-home-link { min-height:44px; display:inline-flex; align-items:center; padding-block:10px; font-size:.875rem; line-height:1.5; }
@media(max-width:600px) {
  .vs-portfolio-watermark > .vs-site-art { opacity:.35; }
  .vs-portfolio-watermark > .vs-site-art img { object-position:0% 50%; }
  .vs-portfolio-watermark .vs-secretary-launcher { width:200px; height:48px; right:16px; bottom:calc(12px + env(safe-area-inset-bottom)); animation:none; }
  .vs-portfolio-watermark .vs-secretary-launcher::before { width:200px; height:48px; background:#132018; border-color:var(--gold); box-shadow:none; }
  .vs-portfolio-watermark .vs-pagekeeper-body,
  .vs-portfolio-watermark .vs-pagekeeper-orbit { left:0; top:0; width:48px; height:48px; }
  .vs-portfolio-watermark .vs-secretary-launcher-label { left:48px; width:152px; height:48px; font-size:.65rem; }
}
@media(max-width:600px) {
  .vs-portfolio-watermark > .vs-site-art img { object-position:35% 50%; }
  /* Keep project imagery unobstructed: mobile concierge follows the footer. */
  .vs-portfolio-watermark .vs-secretary-launcher { position:relative; right:auto; bottom:auto; display:block; margin:16px 16px calc(16px + env(safe-area-inset-bottom)) auto; }
}
/* === mobile-nav (repair 2026-11-13) === */
.nav-toggle {
  display: none;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--gold, #c9a84c);
    color: var(--gold, #c9a84c);
    padding: 0.42rem 0.85rem;
    font-size: 0.72rem;
    font-family: inherit;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 2px;
    line-height: 1;
    margin-left: 0.5rem;
    flex-shrink: 0;
    box-sizing: border-box;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  }

  .nav-toggle:hover,
  .nav-toggle:focus-visible {
    background: rgba(201, 168, 76, 0.15);
    outline: none;
  }

  nav .language,
  nav .language-switcher {
    margin-left: auto;
    margin-right: 0.75rem;
  }

  /* Drawer panel when open */
  nav.nav-open .nav-links,
  .nav-links.is-open {
    display: flex !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    box-sizing: border-box;
    background: rgba(8, 8, 8, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.5rem 1.5rem;
    border-bottom: 1px solid rgba(201, 168, 76, 0.25);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.75);
    z-index: 1000;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }

  nav.nav-open .nav-links li,
  .nav-links.is-open li {
    display: block !important;
    width: 100%;
    border-bottom: 1px solid rgba(245, 240, 232, 0.08);
  }

  nav.nav-open .nav-links li:last-child,
  .nav-links.is-open li:last-child {
    border-bottom: none;
  }

  nav.nav-open .nav-links a,
  .nav-links.is-open a {
    display: flex !important;
    align-items: center;
    width: 100%;
    min-height: 48px;
    padding: 0.75rem 0;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(245, 240, 232, 0.9);
    text-decoration: none;
    box-sizing: border-box;
    transition: color 0.2s ease;
  }

  nav.nav-open .nav-links a:hover,
  .nav-links.is-open a:hover,
  nav.nav-open .nav-links a:focus,
  .nav-links.is-open a:focus {
    color: var(--gold, #c9a84c) !important;
  }

  nav.nav-open .nav-links .nav-cta,
  .nav-links.is-open .nav-cta {
    margin-top: 0.75rem;
    text-align: center;
    justify-content: center;
    border: 1px solid var(--gold, #c9a84c) !important;
    color: var(--gold, #c9a84c) !important;
    background: rgba(201, 168, 76, 0.08) !important;
    padding: 0.75rem 1rem !important;
    display: flex !important;
  }
}
/* === end mobile-nav === */

