.site-header > .header-contact.button {
  margin-inline: auto 16px;
  padding: 10px 16px;
  min-height: 44px;
  white-space: nowrap;
}

.site-header .menu-toggle {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 4px;
  background: transparent;
  border: 0;
}
.site-header .menu-toggle .menu-lines {
  width: 42px;
  height: 36px;
  color: #ff8fbd;
  stroke-width: 3;
  filter: drop-shadow(0 0 4px #e45b9270);
}

body.menu-open .site-header {
  position: fixed;
  inset: 0 0 auto;
  height: 74px;
  background: #0a0a0a;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition: none;
}

.shard-menu {
  position: fixed;
  inset: 74px 0 0;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(155deg, #e45b92, #b43c67 55%, #c74577);
}

.shard-menu[hidden] { display: none; }

.site-header .menu-shard {
  position: absolute;
  inset: 0;
  color: #f9eaf1;
  background: var(--shard-fill, linear-gradient(145deg, #110b10, #070608 85%));
  text-align: center;
  font-family: 'Dota Radiance', Arial, sans-serif;
  line-height: 1.15;
  font-size: clamp(15px, 4.6vmin, 28px);
  text-transform: none;
}

.menu-shard > span:first-child {
  position: absolute;
  top: var(--label-y);
  left: var(--label-x);
  width: var(--label-width);
  z-index: 1;
  transform: translate(-50%, -50%) rotate(calc(var(--label-tilt) * var(--tilt-scale, 1)));
  text-wrap: balance;
  pointer-events: none;
}

.site-header .menu-shard:hover,
.site-header .menu-shard:focus-visible {
  background: linear-gradient(135deg, #502035, #220e18 80%);
  color: #fff;
}
.menu-shard:focus-visible > span:first-child {
  outline: 2px solid #f792b9;
  outline-offset: 4px;
}

.site-header .menu-shard-prison {
  color: #fff;
  text-shadow: 0 1px 5px #000;
  --shard-fill: #111;
}
.menu-shard-prison::before,
.menu-shard-prison::after {
  content: "";
  position: absolute;
  inset: 38% 24% 26% 0;
  pointer-events: none;
  opacity: .12;
  animation: philippines-police-pulse .64s steps(1, end) infinite;
}
.menu-shard-prison::before {
  background: radial-gradient(ellipse at 35% 50%, #ff204880, transparent 90%);
}
.menu-shard-prison::after {
  background: radial-gradient(ellipse at 85% 50%, #278bff73, transparent 90%);
  animation-delay: -.32s;
}
@media (prefers-reduced-motion: reduce) {
  .menu-shard-prison::before,
  .menu-shard-prison::after { opacity: .4; animation: none; }
}

.site-header .menu-shard-tyler {
  --shard-fill: radial-gradient(ellipse at 51% 31%, #27222d, transparent 34%),
                linear-gradient(145deg, #1b141d, #100d13 74%);
  text-shadow: 0 1px 3px #050407, 0 0 12px #050407;
}
.site-header .menu-shard-tyler:is(:hover, :focus-visible) {
  background: var(--shard-fill);
}

.shard-questions {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.shard-questions > span {
  position: absolute;
  top: var(--y);
  left: var(--x);
  transform: translate(-50%, -50%) rotate(var(--tilt));
  color: #f98bb8;
  opacity: .43;
  font-size: clamp(10px, var(--size), 5vmin);
  font-weight: 700;
}

.site-header .menu-shard.soap-button {
  --soap-edge: linear-gradient(165deg, #ffd5e6 2%, #f17aa8 52%, #ac2d63);
  background: var(--soap-edge) var(--soap-position, bottom) / 100% var(--soap-height, 28%) no-repeat;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: #000;
  font-size: clamp(14px, 4.25vmin, 23px);
}

.menu-shard.soap-button::before {
  content: "";
  position: absolute;
  inset: 0;
  clip-path: inherit;
  transform: scale(.94);
  transform-origin: var(--label-x) var(--label-y);
  background: var(--soap-fill) var(--soap-position, bottom) / 100% var(--soap-height, 28%) no-repeat;
  pointer-events: none;
}

.menu-shard.soap-button:is(:hover, :focus-visible)::before {
  background-image: var(--soap-fill-hover);
}

@media (max-height: 420px) {
  .shard-menu { --tilt-scale: .5; }
  .site-header .menu-shard { font-size: clamp(13px, 4vmin, 17px); }
  .site-header .menu-shard-contact { font-size: 13px; }
}

.menu-shard-bio {
  --label-tilt: -5deg;
  --label-x: 14%;
  --label-y: 13%;
  --label-width: 27%;
  clip-path: polygon(0.00% 0.00%, 28.72% 0.00%, 34.72% 17.76%, 21.72% 28.76%, 0.00% 33.76%);
}

.menu-shard-greeting {
  --label-tilt: 3deg;
  --label-x: 47%;
  --label-y: 9%;
  --label-width: 35%;
  clip-path: polygon(29.28% 0, 69.72% 0, 60.72% 19.76%, 35.28% 17.76%);
}

.menu-shard-platforms {
  --label-tilt: -4deg;
  --label-x: 82%;
  --label-y: 14%;
  --label-width: 30%;
  clip-path: polygon(70.28% 0, 100% 0, 100% 28.76%, 79.28% 32.76%, 61.28% 19.76%);
}

.menu-shard-tyler {
  --label-tilt: 3deg;
  --label-x: 35%;
  --label-y: 32%;
  --label-width: 28%;
  clip-path: polygon(0% 33.76%, 22.28% 29.24%, 35.28% 18.24%, 47.6% 19.23%, 52.62% 42.24%, 40.28% 37.76%, 16.28% 47.76%, 0% 51.76%);
}

.menu-shard-clips {
  --label-tilt: -3deg;
  --label-x: 73%;
  --label-y: 37%;
  --label-width: 33%;
  clip-path: polygon(48.28% 19.32%, 60.72% 20.24%, 78.72% 32.76%, 100% 29.24%, 100% 42.76%, 74.72% 46.76%, 53.29% 42.45%);
}

.menu-shard-prison {
  --label-tilt: -6deg;
  --label-x: 32%;
  --label-y: 55%;
  --label-width: 44%;
  clip-path: polygon(0.00% 52.24%, 16.28% 48.24%, 39.72% 38.24%, 53.72% 43.24%, 74.72% 47.24%, 62.72% 63.76%, 43.72% 67.76%, 21.28% 64.76%, 0.00% 73.76%);
}

.menu-shard-faq {
  --label-tilt: 3deg;
  --label-x: 86%;
  --label-y: 59%;
  --label-width: 20%;
  clip-path: polygon(75.28% 47.24%, 100.00% 43.24%, 100.00% 72.76%, 77.28% 75.76%, 63.28% 63.76%);
}

.menu-shard-channel {
  --soap-position: center 90%;
  --soap-height: 31%;
  --label-tilt: -4deg;
  --label-x: 35%;
  --label-y: 77%;
  --label-width: 48%;
  clip-path: polygon(0.00% 74.24%, 21.28% 65.24%, 43.72% 68.24%, 62.72% 64.24%, 76.72% 76.24%, 56.72% 83.76%, 0.00% 89.76%);
}

.menu-shard-contact {
  --label-tilt: -5deg;
  --label-x: 28%;
  --label-y: 94%;
  --label-width: 51%;
  clip-path: polygon(0.00% 90.24%, 56.72% 84.24%, 68.72% 100.00%, 0.00% 100.00%);
}

.menu-shard-projects {
  --label-tilt: 5deg;
  --label-x: 82%;
  --label-y: 90%;
  --label-width: 30%;
  clip-path: polygon(77.28% 76.24%, 100.00% 73.24%, 100.00% 100.00%, 69.28% 100.00%, 57.28% 84.24%);
}
