/* Site-wide brand: "lc." logo in Mrs Saint Delafield (script), on every page. */
.logo-text {
  font-family: "Mrs Saint Delafield", cursive;
  font-size: 52px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 44px;
  /* The script glyphs sit low in their line box: lift them so their visual
     centre lines up with the nav link text. */
  transform: translateY(-5px);
}

/* Top nav (desktop). The Projects chevron was absolutely positioned inside extra
   right padding, which left a smaller gap after it than between the other links.
   Inline chevron + the same 24px side padding = equal spacing everywhere. */
@media screen and (min-width: 992px) {
  .dropdown-button.w-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-left: 24px;
    padding-right: 24px;
  }

  .dropdown-button .w-icon-dropdown-toggle {
    position: static;
    order: 2;
    margin: 0;
    padding-left: 0;
    font-size: 12px;
    transition: transform 150ms ease;
  }

  .dropdown-button.w--open .w-icon-dropdown-toggle {
    transform: rotate(180deg);
  }

  /* Projects menu: white panel with rounded corners, soft shadow and hover rows. */
  .dropdown-list.w-dropdown-list,
  .dropdown-list.w-dropdown-list.w--open {
    min-width: 232px;
    margin-top: 4px;
    padding: 8px;
    background-color: #fff;
    border: 1px solid #0e31631a;
    border-radius: 12px;
    box-shadow: 0 12px 32px #0e31631f, 0 2px 6px #0e316314;
  }

  /* Invisible bridge over the 4px gap so the hover menu stays open. */
  .dropdown-list.w-dropdown-list::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 0;
    right: 0;
    height: 8px;
  }

  .dropdown-link.w-dropdown-link {
    padding: 10px 12px;
    background-color: transparent;
    border-radius: 8px;
    color: var(--black);
    font-size: 15px;
    line-height: 1.4;
    transition: background-color 120ms ease, color 120ms ease;
  }

  .dropdown-link.w-dropdown-link:hover,
  .dropdown-link.w-dropdown-link:focus-visible {
    background-color: #eef5fd;
    color: var(--main-blue);
  }

  .dropdown-link.w-dropdown-link.w--current {
    max-width: none;
    color: var(--main-blue);
  }
}

/* Frosted glass on the top nav and on every menu that opens over the page:
   translucent tint + background blur instead of solid fills.
   The blur sits on a ::before layer: an element with its own backdrop-filter
   stops children (the menus) from blurring what is behind the nav. */
.navbar,
.navbar.nav-home-bg {
  background-color: transparent;
  background-image: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.navbar::before {
  content: "";
  display: block; /* Webflow's clearfix sets display: table, which collapses it to 0x0 */
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: #ffffffb8;
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
}

.navbar.nav-home-bg::before {
  background-color: #f7fcffb8;
}

/* Desktop Projects menu */
@media screen and (min-width: 992px) {
  .dropdown-list.w-dropdown-list,
  .dropdown-list.w-dropdown-list.w--open {
    background-color: #ffffffc7;
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
  }
}

/* Tablet/phone menu (Webflow moves it into .w-nav-overlay when opened) */
@media screen and (max-width: 991px) {
  .w-nav-overlay .nav-menu {
    background-color: #f7fcffc7;
    background-image: none;
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
  }

  .w-nav-overlay .nav-link,
  .w-nav-overlay .dropdown,
  .w-nav-overlay .dropdown-list,
  .w-nav-overlay .dropdown-link {
    background-color: transparent;
    background-image: none;
  }
}

/* Open menu button: no solid grey square (Webflow default), dark icon on the glass. */
.menu-button.w-nav-button.w--open {
  background-color: transparent;
  color: var(--black);
}
