/* One transparent silhouette shared by React and the static marketing pages. */
.odd-wordmark {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: 2.4em;
  height: 0.805em;
  margin-inline: 0.08em;
  vertical-align: -0.035em;
  background-color: currentColor;
  /* 48px → 57.6px hole diameter at the asset's 1200px width (+20%).
     Intersect the original alpha with a centered cutout; preserve all outlines. */
  --odd-hole: radial-gradient(ellipse 2.4% 7.164% at 16.917% 50%, transparent 97%, #000 100%);
  -webkit-mask-image: url('/img/odd-logo.png'), var(--odd-hole);
  mask-image: url('/img/odd-logo.png'), var(--odd-hole);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
.odd-wordmark > .odd-wordmark-label {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
img.odd-logo-light {
  filter: brightness(0) invert(1);
}
img[src='/img/odd-logo.png'] {
  object-fit: contain;
}
.biz-global-account img {
  width: 102px;
  height: 34px;
}
.biz-global-header nav > a {
  gap: 0.25em;
}
.login-header .eyebrow .odd-wordmark,
.visual .v-eyebrow .odd-wordmark {
  width: 5.4em;
  height: 1.81em;
  margin: 0;
}

/* Apply the same +20% center cutout to standalone image uses. */
img[src='/img/odd-logo.png'] {
  -webkit-mask-image: radial-gradient(ellipse 2.4% 7.164% at 16.917% 50%, transparent 97%, #000 100%);
  mask-image: radial-gradient(ellipse 2.4% 7.164% at 16.917% 50%, transparent 97%, #000 100%);
}
.biz-global-account .odd-header-logo {
  width: 102px;
  height: 34.17px;
  margin: 0;
  display: block;
  color: #f97316;
}

/* Hero preview: retain the supplied photo's copper / metal / green textures.
   Frame its 740 × 248 logo area within the unchanged 1200 × 600 source.
   The shared alpha mask removes the black background and keeps the +20% O hole. */
.odd-wordmark.odd-wordmark-textured {
  background-color: transparent;
  background-image: url('/img/odd-logo-texture-source.png');
  background-size: 162.1622% 241.9355%;
  background-position: center;
  background-repeat: no-repeat;
}

/* Small branding is text; identity graphics retain the original wordmark. */
.odd-brand-text {
  font-family: Arial, Pretendard, sans-serif;
  font-weight: inherit;
  letter-spacing: -0.025em;
  white-space: nowrap;
}
.t-displaySection .odd-brand-text {
  color: var(--june-accent, #f97316);
}

/* Hero only: keep the existing texture pixels and animate three letter windows.
   Every letter repeats on a 5s timeline, with a short stagger and a quiet rest. */
.odd-wordmark.odd-wordmark-textured.odd-hero-wave {
  background: none;
  -webkit-mask: none;
  mask: none;
}
.odd-hero-wave > .odd-hero-letter {
  position: absolute;
  top: 0;
  width: 33.333333%;
  height: 100%;
  overflow: hidden;
  transform-origin: center;
  animation: odd-hero-letter-hop 5s ease infinite;
}
.odd-hero-letter-o { left: 0; border-radius: 50%; }
.odd-hero-letter-d1 { left: 33.333333%; border-radius: 0 50% 50% 0; }
.odd-hero-letter-d2 { left: 66.666667%; border-radius: 0 50% 50% 0; }
.odd-hero-wave > .odd-hero-letter-d1 { animation-delay: 95ms; }
.odd-hero-wave > .odd-hero-letter-d2 { animation-delay: 190ms; }
.odd-hero-letter > .odd-hero-letter-ink {
  position: absolute;
  top: 0;
  left: 0;
  width: 300%;
  height: 100%;
  margin: 0;
  vertical-align: initial;
}
.odd-hero-letter-d1 > .odd-hero-letter-ink { left: -100%; }
.odd-hero-letter-d2 > .odd-hero-letter-ink { left: -200%; }
@keyframes odd-hero-letter-hop {
  0%, 4%, 27%, 100% { transform: translateY(0) rotate(0) scale(1); }
  9% { transform: translateY(-13%) rotate(-9deg) scale(1.035); }
  15% { transform: translateY(3%) rotate(4deg) scale(.985); }
  20% { transform: translateY(-3%) rotate(-2deg) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .odd-hero-wave > .odd-hero-letter { animation: none; }
}
