/* Announcement marquee ---------------------------------------------------- */
.announce {
  position: relative;
  background: var(--brand);
  color: #f3e9e6;
  overflow: hidden;
  height: var(--announce-h);   /* MEASURED 52px */
  display: flex;
  align-items: center;
}
.announce__track {
  display: flex;
  align-items: center;
  gap: 28px;
  white-space: nowrap;
  /* Track holds two identical passes, so translating by -50% loops seamlessly. */
  animation: announce-scroll 30s linear infinite;   /* MEASURED */
  will-change: transform;
}
.announce:hover .announce__track { animation-play-state: paused; }
@keyframes announce-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
/* MEASURED: Nunito 14px, weight 400, letter-spacing normal. */
.announce__item {
  font-size: 14px;
  letter-spacing: normal;
  text-transform: uppercase;
}
/* MEASURED: the separator is a 6px bone DISC, not a bullet glyph - the
   reference draws it as header-top-content::after, border-radius 50%. */
.announce__dot {
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f3e9e6;
  font-size: 0;
  line-height: 0;
}
.announce__close {
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  color: inherit;
  font-size: 20px;
  line-height: 1;
  padding: 4px 8px;
  background: var(--brand);
}

/* Header ------------------------------------------------------------------ */
.hdr {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--bg);
  transition: box-shadow var(--dur) var(--ease);
}
.hdr.is-stuck { box-shadow: 0 1px 0 var(--line); }

.hdr__inner {
  height: var(--header-h);
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

/* Wordmark ---------------------------------------------------------------- */
.wordmark {
  grid-column: 2;
  justify-self: center;
  font-family: var(--font-head);
  /* MEASURED: reference logo block is 150 x 45px. */
  font-size: 34px;
  letter-spacing: 0.02em;
  color: var(--brand);
  display: inline-flex;
  align-items: baseline;
  line-height: 1;
}
.wordmark--sm { font-size: 24px; }
/* The bloom sits inside the counter of the "o". Until a real bloom image exists
   the letter simply renders as itself - no broken-image tile. */
.wordmark__o {
  position: relative;
  display: inline-block;
}
.wordmark__o::after {
  content: "";
  position: absolute;
  inset: 18% 14%;
  background: var(--bloom, none) center / contain no-repeat;
  pointer-events: none;
}

/* Nav --------------------------------------------------------------------- */
.hdr__nav { grid-column: 1; }
/* MEASURED: Nunito 15px, weight 500, letter-spacing NORMAL, padding 0 12px,
   line-height equal to the header height. Items sit ~5px apart, not 28px. */
.menu { display: flex; align-items: center; gap: 0; }
.menu > li { position: relative; }
.menu > li > a {
  font-size: var(--fs-nav);
  font-weight: 500;
  letter-spacing: normal;
  text-transform: uppercase;
  padding: 0 12px;
  line-height: var(--header-h);
  display: inline-block;
  color: #000;              /* MEASURED: reference nav links are black */
  transition: color var(--dur) var(--ease);
}
.menu > li:first-child > a { padding-left: 0; }
.menu > li > a:hover,
.menu > li.is-current > a { color: var(--brand); }   /* MEASURED: active page is maroon */
.menu__has-sub > a::after {
  content: "";
  display: inline-block;
  width: 5px; height: 5px;
  margin-left: 7px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.submenu, .mega {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 18px 22px;
  min-width: 230px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
}
.menu__has-sub:hover > .submenu,
.menu__has-sub:focus-within > .submenu,
.menu__mega:hover > .mega,
.menu__mega:focus-within > .mega {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.submenu li + li { margin-top: 11px; }
.submenu a { font-size: 14px; letter-spacing: normal; text-transform: uppercase; color: var(--ink-muted); }
.submenu a:hover { color: var(--brand); }

.mega {
  display: grid;
  grid-template-columns: repeat(5, minmax(170px, 1fr));
  gap: 30px;
  padding: 30px 34px;
}
.mega__head {
  display: block;
  font-family: var(--font-head);
  font-size: 15px;
  letter-spacing: normal;
  text-transform: uppercase;
  color: var(--brand);
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.mega ul li + li { margin-top: 9px; }
.mega a:not(.mega__head) { font-size: 14px; color: var(--ink-muted); }
.mega a:not(.mega__head):hover { color: var(--brand); }

/* Actions ----------------------------------------------------------------- */
/* MEASURED: SEARCH / USER / CART are Nunito 15px weight 600, letter-spacing
   normal, sitting 38px apart. */
.hdr__actions {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 38px;
}
.hdr__act {
  font-size: var(--fs-nav);
  font-weight: 600;
  letter-spacing: normal;
  color: #000;              /* MEASURED */
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: color var(--dur) var(--ease);
}
.hdr__act:hover { color: var(--brand); }
/* Desktop shows the word, as the reference does; the icon is for narrow screens. */
.hdr__icon { display: none; }
.badge {
  display: inline-grid;
  place-items: center;
  min-width: 20px; height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 13px;      /* MEASURED */
  font-weight: 600;
  line-height: 1;
}

/* Burger + mobile --------------------------------------------------------- */
.hdr__burger { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.hdr__burger span { display: block; width: 22px; height: 1.5px; background: var(--ink); transition: transform var(--dur) var(--ease), opacity var(--dur); }
.hdr__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hdr__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hdr__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobilenav {
  position: fixed;
  inset: 0 auto 0 0;
  width: min(88vw, 360px);
  background: var(--bg);
  z-index: 90;
  padding: 26px 24px 60px;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform var(--dur) var(--ease);
}
.mobilenav.is-open { transform: translateX(0); }
.mobilenav a { display: block; padding: 13px 0; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; border-bottom: 1px solid var(--line); }
.mobilenav .is-child a { padding-left: 16px; color: var(--ink-muted); font-size: 12px; }

.scrim {
  position: fixed; inset: 0;
  background: rgba(20, 12, 10, 0.45);
  z-index: 80;
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}
.scrim.is-open { opacity: 1; }

/* MEASURED: the reference sets .header-top { display: none } at max-width 991px.
   The marquee is a desktop-only element there; this build kept showing it. */
@media (max-width: 991px) {
  .announce { display: none; }
}

@media (max-width: 1199px) {
  .hdr__nav { display: none; }
  .hdr__burger { display: flex; }
  .hdr__inner { grid-template-columns: auto 1fr auto; }
  .hdr__actions { gap: 16px; }
  .hdr__act--wish { display: none; }
}
@media (max-width: 575px) {
  .wordmark { font-size: 23px; }
  /* Swap the word for the icon. Hiding the label with font-size:0 alone left
     the search control as an invisible 12px target, since it had no icon. */
  .hdr__icon { display: block; }
  .hdr__label { display: none; }
  .hdr__act { gap: 4px; }
  .hdr__act .badge { font-size: 10px; min-width: 17px; height: 17px; }
}

/* Tap targets. The reference's own controls are ~20px icons with no padding;
   these keep that visual size but sit in a 44px target, which is the smallest
   a finger can reliably hit. Invisible change, strictly easier to use. */
@media (max-width: 991px) {
  .hdr__burger,
  .hdr__act {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .hdr__burger { padding: 8px 11px; }
  .hdr__actions { gap: 4px; }
}
