/* ============ TOP NAV (shared by every page) ============
   Links left, BANDS 14K wordmark centred, search and bag right.
   On phones the links fold into a full-screen navy menu. */
.bn {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 32px;
  font-family: "Inter Tight", system-ui, sans-serif;
  color: var(--brand);
}
.bn a { color: inherit; text-decoration: none; }
.bn__links,
.bn__side {
  flex: 1 1 260px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 32px;
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.bn__side { justify-content: flex-end; }
.bn__links > a,
.bn__side > a { padding: 13px 0; }
.bn__links > a,
.bn__side > a,
.bn .dd-btn { opacity: calc(1 - .4 * var(--q, 0)); transition: opacity .2s; }
.bn__links > a:hover,
.bn__side > a:hover,
.bn__links > a[aria-current="page"] { opacity: 1; }
.bn__links > a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.bn a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.bn .mark { display: inline-flex; align-items: flex-start; gap: 2.5px; transform-origin: 50% 50%; }
.bn-word { font-family: "Inter Tight", sans-serif; font-weight: 800; font-size: 24px; line-height: 1; letter-spacing: -0.045em; }
.bn-k {
  display: inline-flex; align-items: center; justify-content: center;
  width: 12px; height: 12px; border: 1.3px solid currentColor; border-radius: 50%;
  font-family: "Inter Tight", sans-serif; font-weight: 700; font-size: 4.3px; line-height: 1;
}

/* Wedding dropdown: opens on hover and keyboard focus; nav.js adds tap-to-open */
.dd { position: relative; }
.dd-btn { display: inline-flex; align-items: center; gap: 7px; margin: 0; padding: 13px 0; border: 0; background: none; font: inherit; line-height: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; cursor: pointer; }
.dd-btn::after { content: ""; width: 5px; height: 5px; margin-top: -3px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); transition: transform .25s; }
.dd:hover .dd-btn, .dd:focus-within .dd-btn, .dd.open .dd-btn { opacity: 1; }
.dd:hover .dd-btn::after, .dd:focus-within .dd-btn::after, .dd.open .dd-btn::after { transform: translateY(3px) rotate(225deg); }
.dd-btn:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.dd-menu {
  position: absolute; z-index: 2; left: -20px; top: 100%; min-width: 200px; box-sizing: border-box;
  padding: 8px 20px 10px;
  background: rgba(242,243,245,.96);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid rgba(14,57,86,.14);
  box-shadow: 0 18px 40px -24px rgba(10,40,57,.45);
  color: var(--brand);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s, transform .25s cubic-bezier(.2,.7,.2,1), visibility 0s .25s;
}
.dd:hover .dd-menu, .dd:focus-within .dd-menu, .dd.open .dd-menu { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .25s cubic-bezier(.2,.7,.2,1), visibility 0s; }
.bn .dd-menu a { display: block; padding: 13px 0; white-space: nowrap; color: var(--brand); }
.bn .dd-menu a + a { border-top: 1px solid rgba(14,57,86,.12); }
.bn .dd-menu a:hover { color: var(--ink-soft); }

/* search: the panel is styled in style.css; here the button just sits in the right-hand group */
.bn .nav__search { margin-left: 0; }
.bn .nav__search-btn { display: flex; align-items: center; padding: 13px 0; color: inherit; opacity: calc(1 - .4 * var(--q, 0)); }
.bn .nav__search-panel { text-transform: none; letter-spacing: normal; }

/* product pages: the bar is the existing sticky .nav strip, re-laid out */
/* signet + engagement pages: the same bar as the home page. Full at the top of the page,
   then quiet once scrolled: it tightens, the wordmark shrinks, links drop back and a frosted
   strip with a hairline edge sits behind it. The box stays 80px tall so the layout never moves */
.nav.bn {
  height: 80px; align-items: center; align-content: flex-start; gap: 8px 32px;
  padding: 22px clamp(20px, 3.4vw, 48px) 0;
  background: transparent; border-bottom: 0;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  transition: padding .35s cubic-bezier(.2,.7,.2,1);
}
.nav.bn::before {
  content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: 0; height: 58px;
  background: rgba(242,243,245,.86); border-bottom: 1px solid rgba(14,57,86,.16);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  opacity: 0; pointer-events: none; transition: opacity .35s;
}
.nav.bn .mark { transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.nav.bn.quiet { padding-top: 8px; --q: 1; }
.nav.bn.quiet::before { opacity: 1; }
.nav.bn.quiet .mark { transform: scale(.72); }
@media (max-width: 720px) { .nav.bn { padding-top: 10px; } .nav.bn::before { height: 59px; } }
@media (prefers-reduced-motion: reduce) { .nav.bn, .nav.bn::before, .nav.bn .mark { transition: none; } }

/* ---- phones: Menu button + full-screen menu ---- */
.mb-open, .mnav { display: none; }
@media (max-width: 720px) {
  .bn__links { display: none !important; }
  .bn__side { flex: 0 0 auto; gap: 22px; }
  .bn .mark { transform-origin: 0 50%; }
  .mb-open, .mb-close { display: inline-flex; align-items: center; gap: 9px; margin: 0; padding: 13px 0; border: 0; background: none; color: inherit; font: inherit; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
  .mb-open::before { content: ""; width: 16px; height: 5px; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; }
  /* icon only: the word stays in the button for screen readers; a 44px tap area that doesn't widen the row */
  .mb-open { font-size: 0; gap: 0; justify-content: center; min-width: 44px; min-height: 44px; padding: 0; margin: 0 -14px; }
  /* it sits left of the logo: icon on the page edge, 14px to the logo, search / account / bag pushed right */
  .bn > .mb-open { margin: 0 -32px 0 -14px; }
  #m1-head > .mb-open { margin-right: -16px; }
  .bn > .bn__side { margin-left: auto; }
  .bn > .mb-open:focus-visible { outline-offset: -8px; }
  .mb-close::before { content: ""; width: 13px; height: 13px; background: linear-gradient(currentColor, currentColor) 50% 50% / 100% 1px no-repeat, linear-gradient(currentColor, currentColor) 50% 50% / 1px 100% no-repeat; transform: rotate(45deg); }
  .mb-open:focus-visible, .mb-close:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
  .mnav {
    position: fixed; inset: 0; z-index: 80; display: flex; flex-direction: column; box-sizing: border-box;
    overscroll-behavior: contain; padding-bottom: calc(18px + env(safe-area-inset-bottom)); overflow-y: auto;
    font-family: "Inter Tight", system-ui, sans-serif; color: var(--cream);
    background: url(../assets/home/70238627b49dd126c24380709368c8c0.webp) 50% 0 / 2048px auto, radial-gradient(90% 60% at 80% 30%, var(--brand-2) 0%, rgba(22,74,112,0) 74%), linear-gradient(180deg, var(--brand) 0%, var(--ink) 100%);
    background-blend-mode: screen, normal, normal;
    visibility: hidden; -webkit-clip-path: inset(0 0 100% 0); clip-path: inset(0 0 100% 0);
    transition: clip-path .7s cubic-bezier(.7,0,.2,1), -webkit-clip-path .7s cubic-bezier(.7,0,.2,1), visibility 0s .7s;
  }
  body.menu .mnav { visibility: visible; -webkit-clip-path: inset(0); clip-path: inset(0); transition: clip-path .7s cubic-bezier(.7,0,.2,1), -webkit-clip-path .7s cubic-bezier(.7,0,.2,1), visibility 0s; }
}
.mnav a { color: var(--cream); text-decoration: none; }
.mnav-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 20px 6px; }
.mnav-links { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; padding: 28px 20px; }
.mnav-links a { display: flex; align-items: baseline; gap: 18px; padding: 9px 0; border-bottom: 1px solid rgba(242,243,245,.16); font-weight: 300; font-size: clamp(32px, 10.6vw, 52px); line-height: 1.12; letter-spacing: -0.045em; }
.mnav-links a span { flex: 0 0 22px; font-weight: 400; font-size: 10px; letter-spacing: .14em; color: rgba(242,243,245,.6); }
.mnav-links a em { font-family: "Instrument Serif", Georgia, serif; font-size: 1.108em; letter-spacing: -0.022em; margin-left: -.12em; }
.mnav-foot { display: flex; flex-direction: column; gap: 10px; padding: 0 20px; }
/* the site's cream pill button (as a.btn-cream in style.css) */
.mnav-cta { align-self: stretch; display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 28px; border-radius: 999px; background: #f0e6cd; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; transition: transform .2s, background .2s; }
.mnav a.mnav-cta { color: var(--brand); }
.mnav a.mnav-cta:hover { background: #fff7e6; transform: translateY(-1px); }
@media (prefers-reduced-motion: reduce) { .mnav-cta { transition: none; } .mnav a.mnav-cta:hover { transform: none; } }
.mnav-small { margin: 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 20px; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; }
.mnav-small a { padding: 13px 0; }
.mnav-links a, .mnav-foot { opacity: 0; transform: translateY(26px); transition: opacity .3s, transform .3s; }
body.menu .mnav-links a, body.menu .mnav-foot { opacity: 1; transform: none; transition: opacity .6s calc(.22s + var(--i) * .06s), transform .8s cubic-bezier(.2,.7,.2,1) calc(.22s + var(--i) * .06s); }
@media (prefers-reduced-motion: reduce) {
  .dd-menu, .dd-btn::after, .mnav, body.menu .mnav, .mnav-links a, .mnav-foot, body.menu .mnav-links a, body.menu .mnav-foot { transition: none; }
}
/* phones: the nav keeps its size when the page scrolls (it still gets its frosted strip) */
@media (max-width: 720px) {
  .nav.bn.quiet { padding-top: 10px; }
  .nav.bn.quiet .mark, #m1-head .mark { transform: none !important; }
}
/* phones (designer pages): one nav size only — the compact bar, always on its frosted strip, contents centred
   vertically, and the page body starting straight underneath it */
@media (max-width: 720px) {
  .nav.bn, .nav.bn.quiet { height: 56px; min-height: 0; padding: 0 20px; align-items: center; align-content: center; transition: none; }
  .nav.bn::before { height: 100%; opacity: 1; transition: none; }
}
/* designer pages (desktop): the nav is always the compact bar — 58px, frosted strip on, contents centred, page straight underneath */
@media (min-width: 721px) {
  .nav.bn, .nav.bn.quiet { height: 58px; min-height: 0; padding-top: 0; padding-bottom: 0; align-items: center; align-content: center; transition: none; }
  .nav.bn::before { height: 100%; opacity: 1; transition: none; }
  .nav.bn .mark { transform: scale(.72); transition: none; }
}

/* "Coming soon" entries: shown in the menus, greyed out and not clickable */
.bn .dd-menu .dd-soon { display: flex; align-items: baseline; gap: 10px; padding: 13px 0; white-space: nowrap; border-top: 1px solid rgba(14,57,86,.12); color: rgba(14,57,86,.45); cursor: default; }
.dd-soon em, .mnav-soon em { font-style: normal; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; padding: 3px 7px; border-radius: 999px; border: 1px solid currentColor; opacity: .8; }
.mnav-links .mnav-soon { display: flex; align-items: baseline; gap: 18px; padding: 9px 0; border-bottom: 1px solid rgba(242,243,245,.16); font-weight: 300; font-size: clamp(32px, 10.6vw, 52px); line-height: 1.04; letter-spacing: -0.04em; color: rgba(242,243,245,.42); cursor: default; }
.mnav-links .mnav-soon > span { flex: 0 0 22px; font-weight: 400; font-size: 10px; letter-spacing: .14em; color: rgba(242,243,245,.4); }
.mnav-links .mnav-soon em { align-self: center; font-size: 9px; letter-spacing: .14em; color: rgba(242,243,245,.6); }
.mnav-links .mnav-soon { opacity: 0; transform: translateY(26px); transition: opacity .3s, transform .3s; }
body.menu .mnav-links .mnav-soon { opacity: 1; transform: none; transition: opacity .6s calc(.22s + var(--i) * .06s), transform .8s cubic-bezier(.2,.7,.2,1) calc(.22s + var(--i) * .06s); }
/* the "Coming soon" tag flows inline after the last word, on whichever line the label ends */
.mnav-links .mnav-soon__t { min-width: 0; }
.mnav-links .mnav-soon__t em { display: inline-block; vertical-align: middle; margin-left: 10px; transform: translateY(-0.15em); white-space: nowrap; line-height: 1.4; }
/* the label wrapper is a direct child span too: undo the small "04" number style for it */
.mnav-links .mnav-soon > .mnav-soon__t { flex: 1 1 auto; font-size: inherit; font-weight: inherit; letter-spacing: inherit; color: inherit; }
