/* 2026 Premium Standards */
body {
  background-color: var(--vp-color-white);
  color: var(--vp-color-slate-900);
}

/* Animated Mesh Gradient Background */
.hero-mesh {
  background: radial-gradient(at 0% 0%, rgb(var(--vp-color-essential-brand-sky-rgb) / 0.15) 0px, transparent 50%),
              radial-gradient(at 100% 0%, rgb(var(--vp-color-essential-brand-mint-rgb) / 0.1) 0px, transparent 50%),
              radial-gradient(at 50% 50%, rgb(var(--vp-color-white-rgb) / 0.5) 0px, transparent 50%);
  background-size: 150% 150%;
  animation: vp-gradient-x 15s ease infinite;
}

/* Architectural Grid Overlay */
.grid-overlay {
  background-size: 40px 40px;
  background-image: linear-gradient(to right, rgb(var(--vp-color-slate-900-rgb) / 0.03) 1px, transparent 1px),
                    linear-gradient(to bottom, rgb(var(--vp-color-slate-900-rgb) / 0.03) 1px, transparent 1px);
  mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
}

/* Glass Navigation */
.glass-nav {
  background: rgb(var(--vp-color-white-rgb) / 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgb(var(--vp-color-white-rgb) / 0.5);
  box-shadow: 0 4px 6px -1px rgb(var(--vp-color-black-rgb) / 0.02);
}

/* Text Balance & Gradient */
.text-balance { text-wrap: balance; }

.text-gradient {
  background: linear-gradient(135deg, rgb(var(--vp-color-slate-900-rgb)) 0%, rgb(var(--vp-color-essential-brand-sky-rgb)) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Scroll Reveal Utility */

/* Spotlight Hover Effect */
.spotlight-card {
  position: relative;
  overflow: hidden;
  background: var(--vp-color-white);
  border: 1px solid var(--vp-color-slate-200);
  transition: border-color 0.3s, transform 0.3s ease-out;
}
.spotlight-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y), rgb(var(--vp-color-essential-brand-sky-rgb) / 0.06), transparent 40%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
  z-index: 0;
}
.spotlight-card:hover::before { opacity: 1; }
.spotlight-card:hover { border-color: rgb(var(--vp-color-essential-brand-sky-rgb) / 0.4); transform: translateY(-2px); }
.card-content { position: relative; z-index: 1; }

/* Accordion transitions */
details > summary { list-style: none; }
details > summary::-webkit-details-marker { display: none; }

details[open] summary ~ * {
  animation: vp-sweep .3s ease-in-out;
}

/* Logo strip + marquee */
.logo-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  height: 64px;
  padding: 0 1.25rem;
  border: 1px solid var(--vp-color-slate-200);
  border-radius: 1rem;
  background: var(--vp-color-white);
  box-shadow: 0 1px 2px rgb(var(--vp-color-slate-900-rgb) / 0.04);
}
.logo-chip img {
  height: 28px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1) contrast(1.05);
  opacity: 0.75;
  transition: opacity 0.3s ease, transform 0.3s ease, filter 0.3s ease;
}
.logo-chip:hover img {
  opacity: 1;
  filter: grayscale(0.2);
  transform: translateY(-1px);
}

.logo-marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}
.logo-track {
  display: flex;
  width: max-content;
  gap: 1rem;
  animation: vp-marquee 38s linear infinite;
  will-change: transform;
}
.logo-track.reverse {
  animation-direction: reverse;
  animation-duration: 44s;
}

@media (prefers-reduced-motion: reduce) {
  .logo-track,
  .logo-track.reverse {
    animation: none;
  }
}
    .contact-widget-shell {
        --cw-bg: transparent;
        --cw-border: rgb(var(--vp-color-slate-400-rgb) / 0.35);
        --cw-text: inherit;
        --cw-placeholder: rgb(var(--vp-color-slate-400-rgb) / 0.85);
        --cw-focus: rgb(var(--vp-color-essential-brand-sky-rgb) / 0.8);
        --cw-button-bg: currentColor;
        --cw-button-text: var(--vp-color-slate-900);
    }

    .contact-widget-shell--light {
        --cw-bg: var(--vp-color-white);
        --cw-border: rgb(var(--vp-color-slate-400-rgb) / 0.45);
        --cw-text: var(--vp-color-slate-900);
        --cw-placeholder: rgb(var(--vp-color-slate-500-rgb) / 0.9);
        --cw-focus: rgb(var(--vp-color-essential-brand-dark-rgb) / 0.7);
        --cw-button-bg: var(--vp-color-slate-900);
        --cw-button-text: var(--vp-color-white);
    }

    .contact-widget-shell--dark {
        --cw-bg: rgb(var(--vp-color-slate-900-rgb) / 0.45);
        --cw-border: rgb(var(--vp-color-white-rgb) / 0.2);
        --cw-text: var(--vp-color-slate-50);
        --cw-placeholder: rgb(var(--vp-color-slate-300-rgb) / 0.8);
        --cw-focus: rgb(var(--vp-color-white-rgb) / 0.45);
        --cw-button-bg: var(--vp-color-white);
        --cw-button-text: var(--vp-color-slate-900);
    }

    .contact-widget-shell form {
        display: grid;
        gap: 1rem;
    }

    .contact-widget-shell label {
        display: block;
        margin-bottom: 0.45rem;
        font-size: 0.72rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--cw-text);
    }
    .contact-widget-shell input:not([type="checkbox"]):not([type="radio"]),
    .contact-widget-shell textarea,
    .contact-widget-shell select {
        width: 100%;
        border: 1px solid var(--cw-border) !important;
        border-bottom: 1px solid var(--cw-border) !important;
        border-radius: 0.75rem !important;
        background: var(--cw-bg) !important;
        color: var(--cw-text) !important;
        padding: 0.8rem 1rem !important;
        line-height: 1.4;
        transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    }

    .contact-widget-shell input::placeholder,
    .contact-widget-shell textarea::placeholder,
    .contact-widget-shell select::placeholder {
        color: var(--cw-placeholder);
    }

    .contact-widget-shell input:focus,
    .contact-widget-shell textarea:focus,
    .contact-widget-shell select:focus {
        outline: none;
        border-color: var(--cw-focus) !important;
        box-shadow: 0 0 0 2px rgb(var(--vp-color-slate-400-rgb) / 0.18);
    }

    .contact-widget-shell textarea {
        min-height: 7.5rem;
        resize: vertical;
    }

    .contact-widget-shell button,
    .contact-widget-shell input[type="submit"] {
        border-radius: 0.9rem;
    }

    .contact-layout {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .contact-info-slot,
    .contact-form-slot {
        flex: 1 1 0%;
        min-width: 0;
    }

    @media (min-width: 1024px) {
        .contact-layout {
            flex-direction: row;
            gap: 3rem;
            align-items: flex-start;
        }
    }

    .contact-form-slot[hidden],
    .contact-form-slot.is-hidden,
    .contact-form-slot.hidden {
        display: none !important;
    }

    .contact-form {
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
    }
    .contact-form > fieldset {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        border: 0;
        margin: 0;
        padding: 0;
    }
    @media (min-width: 768px) {
        .contact-form > fieldset { flex-direction: row; }
    }
    .contact-form > fieldset > div,
    .contact-form > div { width: 100%; }
    .contact-form label {
        display: block;
        margin-bottom: 0.45rem;
        font-size: 0.72rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: rgb(var(--vp-color-slate-300-rgb) / 0.95);
    }
    .contact-form input[name="name"],
    .contact-form input[name="email"],
    .contact-form textarea[name="message"] {
        width: 100%;
        padding: 0.85rem 1rem;
        background: rgb(var(--vp-color-black-rgb) / 0.22);
        border: 1px solid rgb(var(--vp-color-white-rgb) / 0.14);
        border-radius: 0.75rem;
        color: var(--vp-color-white);
        outline: none;
        transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    }
    .contact-form input[name="name"]::placeholder,
    .contact-form input[name="email"]::placeholder,
    .contact-form textarea[name="message"]::placeholder { color: rgb(var(--vp-color-slate-400-rgb) / 0.7); }
    .contact-form input[name="name"]:focus,
    .contact-form input[name="email"]:focus,
    .contact-form textarea[name="message"]:focus {
        border-color: rgb(var(--vp-color-essential-brand-sky-rgb) / 0.7);
        box-shadow: 0 0 0 2px rgb(var(--vp-color-essential-brand-sky-rgb) / 0.2);
        background: rgb(var(--vp-color-black-rgb) / 0.35);
    }
    .contact-form textarea[name="message"] { min-height: 8rem; resize: vertical; }
    .contact-form button[type="submit"] {
        width: 100%;
        padding: 0.95rem 1.25rem;
        border: 0;
        border-radius: 0.75rem;
        font-weight: 700;
        background: var(--vp-color-white);
        color: var(--vp-color-slate-900);
        transition: all 0.25s ease;
        cursor: pointer;
    }
    .contact-form button[type="submit"]:hover {
        background: rgb(var(--vp-color-essential-brand-sky-rgb));
        color: var(--vp-color-white);
    }
