/* Animated header wordmark: "The" + ODU / Run / भाग / धाव, with a language label.
   Every word sits in one grid cell (same for the labels), so the header reserves
   the widest one and never shifts. assets/wordmark.js drives the cycle. */
.wm-link { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #EDEFF6; min-width: 0; }
.wm-link:hover { color: #EDEFF6; }
.wm-block { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 4px; }

.wm {
  display: inline-flex; align-items: baseline;
  font-family: "Big Shoulders Display", "Arial Narrow", sans-serif; font-weight: 900;
  font-size: 27px; line-height: 1.1; letter-spacing: 0.01em;
}
.wm-the { color: #EDEFF6; }
.wm-words { display: inline-grid; align-items: baseline; justify-items: start; }
.wm-word { grid-area: 1 / 1; white-space: nowrap; perspective: 320px; }
.wm-word.dev { font-family: "Noto Sans Devanagari", sans-serif; font-weight: 700; font-size: 0.8em; margin-left: 0.1em; }
.wm-g { display: inline-block; transform-origin: 50% 100%; }

.wm-label {
  display: inline-grid; justify-items: start;
  font-family: "JetBrains Mono", monospace; font-size: 10.5px; font-weight: 600;
  line-height: 1.3; letter-spacing: 0.1em; text-transform: uppercase;
}
.wm-label > span { grid-area: 1 / 1; white-space: nowrap; perspective: 320px; }
.wm-lt { display: inline-block; transform-origin: 50% 100%; }
.wm-kn { font-family: "Noto Sans Kannada", sans-serif; font-weight: 600; font-size: 0.86em; letter-spacing: 0; text-transform: none; }

.wm-word.odu, .wm-label .odu { color: #B9C3FF; }
.wm-word.warm, .wm-label .warm { color: #FF8A2A; }

/* Without JS, and with reduced motion: a static TheODU and the Kannada label. */
.wm-word:not(:first-child) .wm-g,
.wm-label > span:not(:first-child) .wm-lt { opacity: 0; }
