:root {
  --method-jade: #2a6a56;
  --method-jade-deep: #0d2f29;
  --method-gold: #e3c16f;
  --method-paper: #f7f0df;
}

.site-nav,
.nav {
  display: none !important;
}

.method-topbar {
  position: fixed;
  z-index: 1000;
  top: 18px;
  left: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 60px;
  padding: 8px 10px 8px 16px;
  border: 1px solid rgba(227, 193, 111, .3);
  border-radius: 18px;
  background: rgba(7, 22, 24, .78);
  box-shadow: 0 12px 42px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter: blur(18px) saturate(1.18);
}

.method-topbar__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  color: var(--method-paper);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 16px;
  letter-spacing: .03em;
  text-decoration: none;
}

.method-topbar__brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(227, 193, 111, .52);
  border-radius: 12px 5px 12px 5px;
  color: #102b24;
  background: linear-gradient(145deg, #f4d77f, #b98d32);
  box-shadow: 0 0 26px rgba(227, 193, 111, .2);
  font-family: 'Noto Serif SC', serif;
  font-weight: 700;
}

.method-topbar__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 0;
  margin: 0 auto;
}

.method-topbar__nav a {
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: rgba(247, 240, 223, .72);
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 20px;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.method-topbar__nav a:hover,
.method-topbar__nav a:focus-visible,
.method-topbar__nav a[aria-current='page'] {
  color: #fff3bf;
  border-color: rgba(227, 193, 111, .32);
  background: rgba(64, 130, 101, .2);
  outline: none;
}

.method-topbar__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 225, 137, .7);
  border-radius: 9px 18px 9px 18px;
  color: #17231f;
  background: linear-gradient(135deg, #f0c65b, #d5a83d);
  box-shadow: 0 8px 24px rgba(191, 142, 37, .2);
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-decoration: none;
  white-space: nowrap;
}

.white-petals {
  position: fixed;
  z-index: 900;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.white-petal {
  --petal-x: 50vw;
  --petal-size: 12px;
  --petal-drift: 80px;
  --petal-duration: 13s;
  --petal-delay: 0s;
  position: absolute;
  top: -8vh;
  left: var(--petal-x);
  width: var(--petal-size);
  height: calc(var(--petal-size) * 1.7);
  border-radius: 90% 12% 85% 18%;
  background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(246,248,241,.68) 62%, rgba(198,225,215,.3));
  box-shadow: 0 0 10px rgba(255,255,255,.34);
  opacity: 0;
  transform-origin: 70% 20%;
  animation: method-petal-fall var(--petal-duration) linear var(--petal-delay) infinite;
}

@keyframes method-petal-fall {
  0% { opacity: 0; transform: translate3d(0, -6vh, 0) rotate(0deg); }
  8% { opacity: .72; }
  48% { transform: translate3d(var(--petal-drift), 52vh, 0) rotate(230deg); }
  88% { opacity: .58; }
  100% { opacity: 0; transform: translate3d(calc(var(--petal-drift) * -.45), 112vh, 0) rotate(520deg); }
}

@media (max-width: 760px) {
  .method-topbar {
    top: 10px;
    left: 10px;
    right: 10px;
    gap: 7px;
    min-height: 54px;
    padding: 6px 7px;
    border-radius: 15px;
  }
  .method-topbar__brand-name,
  .method-topbar__cta { display: none; }
  .method-topbar__brand-mark { width: 40px; height: 40px; }
  .method-topbar__nav {
    justify-content: flex-end;
    gap: 2px;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .method-topbar__nav::-webkit-scrollbar { display: none; }
  .method-topbar__nav a {
    min-height: 40px;
    padding: 9px 10px;
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .white-petal { display: none; }
}
