/* Shared masthead for Shiena’s workshop, wardrobe and guide. */
.masthead {
  --rose: #e5b7d3;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 28px;
  position: relative;
  max-width: 1440px;
  min-height: 104px;
  height: auto;
  margin: 0 auto;
  padding: 12px clamp(16px, 3.3vw, 46px);
  border: 0;
  border-bottom: 1px solid #614856;
  background: radial-gradient(ellipse 410px 140px at 80px 72%, #48313e 0%, transparent 88%), #201d23;
}
.masthead::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: clamp(16px, 3.3vw, 46px);
  width: min(290px, 58%);
  height: 1px;
  background: linear-gradient(90deg, transparent, #e5b7d3 28%, #a87c97 70%, transparent);
}
.masthead .studio-name {
  display: inline-flex;
  align-items: center;
  gap: clamp(9px, 1.1vw, 16px);
  max-width: 100%;
  min-width: 0;
  color: #f8deed;
  text-decoration: none;
  font-family: "Hiragino Maru Gothic ProN", "Yu Gothic UI", Meiryo, sans-serif;
  font-size: clamp(27px, 2.9vw, 42px);
  font-weight: 750;
  letter-spacing: .025em;
  line-height: 1.23;
}
.studio-name .bird {
  width: clamp(68px, 7.2vw, 96px);
  height: clamp(64px, 6.3vw, 80px);
  object-fit: contain;
  flex: none;
}
.studio-name .wordmark { position: relative; }
.wordmark .given-name { color: #f1bddc; }
.studio-name .twinkles {
  color: #d9a7c4;
  width: 16px;
  height: 26px;
  position: relative;
  align-self: center;
  margin: -20px 0 0 -7px;
  flex: none;
}
.twinkles::before, .twinkles::after {
  content: "";
  background: currentColor;
  position: absolute;
  clip-path: polygon(50% 0,62% 37%,100% 50%,62% 63%,50% 100%,38% 63%,0 50%,38% 37%);
}
.twinkles::before { width: 12px; height: 16px; top: 2px; left: 0; }
.twinkles::after { width: 6px; height: 8px; right: 0; bottom: 0; }
.masthead .header-right { display: flex; align-items: center; flex-wrap: wrap; gap: 4px clamp(15px, 2vw, 27px); }
.masthead .header-right .text-button, .masthead .back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  font: 500 13px/1.6 "Segoe UI", "Yu Gothic UI", sans-serif;
  color: #eadce4;
  text-decoration: none;
  white-space: nowrap;
}
.masthead .header-right a:hover, .masthead .header-right button:hover, .masthead .back-link:hover { color: var(--rose); text-decoration: underline; text-underline-offset: 4px; }
.masthead .header-right #stage-only { font-size: 13px; }
.masthead a:focus-visible, .masthead button:focus-visible { outline: 2px solid #f1bddc; outline-offset: 4px; }
@media (max-width: 800px) {
  .masthead {
    padding: 10px 16px 3px;
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
  }
  .masthead .studio-name { font-size: clamp(23px, 6.7vw, 32px); gap: 9px; min-height: 54px; }
  .studio-name .bird { width: clamp(47px, 12vw, 66px); height: clamp(46px, 12vw, 60px); }
  .studio-name .twinkles { width: 12px; margin-left: -5px; transform: scale(.76); transform-origin: left; }
  .masthead .header-right { width: 100%; flex-wrap: wrap; justify-content: space-between; gap: 0 7px; }
  .masthead .header-right .text-button, .masthead .header-right #stage-only, .masthead .back-link { font-size: 12px; }
  .masthead .back-link { align-self: flex-end; }
}
@media (max-width: 350px) {
  .masthead { padding-inline: 11px; }
  .masthead .studio-name { font-size: 23px; gap: 6px; }
  .studio-name .twinkles { display: none; }
}

