:root {
    --text: #080212;
    --background: #fdfaff;
    --primary: #dfccff;
    --secondary: #ffd1e9;
    --accent: #ec4b7b;
}

.navbar.awc-navbar {
    /* stack above hero + stick to top */
    position: sticky;
    top: 0;
    z-index: 1040;

    /* center and limit width (tweak or remove if you want full-width) */
    max-width: 1000px;
    margin: 12px auto 0;

    /* only the pill (::before) should be visible; kill base fill/shadow */
    background: transparent !important;
    box-shadow: none !important;

    border-radius: 9999px;
    /* pill shape for the overlay */
}

/* animated pill background + shadow */
.navbar.awc-navbar::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: var(--secondary);
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .35), 0 2px 8px rgba(0, 0, 0, .25);
    backdrop-filter: saturate(140%) blur(8px);
    -webkit-backdrop-filter: saturate(140%) blur(8px);

    /* expand from center */
    transform: scaleX(0);
    transform-origin: 50% 50%;
    transition: transform .55s cubic-bezier(.2, .7, .2, 1);
    pointer-events: none;
    /* don’t block clicks */
}

.navbar.awc-navbar.is-in::before {
    transform: scaleX(1);
}

/* fade/slide content after pill appears */
.navbar.awc-navbar .navbar-brand,
.navbar.awc-navbar .navbar-nav {
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity .35s ease .35s, transform .35s ease .35s;
}

.navbar.awc-navbar.is-in .navbar-brand,
.navbar.awc-navbar.is-in .navbar-nav {
    opacity: 1;
    transform: none;
}

/* typography + link hover */
.navbar.awc-navbar .navbar-brand {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(1rem, 1.2vw + .75rem, 1.375rem);
}

.navbar.awc-navbar .nav-link {
    border-radius: 999px;
    padding: .5rem .75rem;
    font-weight: 350;
}

.navbar.awc-navbar .nav-link:hover,
.navbar.awc-navbar .nav-link:focus,
.navbar.awc-navbar .nav-link.active {
    background: var(--primary);
}

/* mobile: hide brand when the menu is expanded */
@media (max-width: 767.98px) {
    .navbar.awc-navbar .navbar-brand {
        transition: opacity .2s ease;
    }
    .navbar.awc-navbar .navbar-toggler[aria-expanded="true"]+.navbar-brand {
        opacity: 0;
        pointer-events: none;
    }
}

/* reduce motion */
@media (prefers-reduced-motion: reduce) {
    .navbar.awc-navbar::before,
    .navbar.awc-navbar .navbar-brand,
    .navbar.awc-navbar .navbar-nav {
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
}

/* kill switch when toggles */
:root[data-reduce-motion="true"] *{
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}

/* navbar instantly appears when reduced */
:root[data-reduce-motion="true"] .awc-navbar::before,
:root[data-reduce-motion="true"] .awc-navbar .navbar-brand,
:root[data-reduce-motion="true"] .awc-navbar .navbar-nav{
  transition: none !important;
}

.nav-drop {
    border-radius: 15px;
    background-color: var(--background);
    color: var(--text);
}
.form-switch .form-check-input { 
  border-color: var(--accent);
}
.form-switch .form-check-input:checked { 
    background-color: var(--accent);
  border-color: var(--accent);
}

.footer {
    text-align: center;
    font-family: "Cormorant Garamond", serif;
    font-size: 20px;
    color: var(--text);
}

.footer p {
    padding: 15px;
}