/* Meme Agency identity: the navbar avatar is a front-view render of the
   same actual 3D sculpture shown in the hero, captured once with Three.js.
   The SVG is only a graceful fallback until WebGL finishes loading. */
.ref-logo.brand-head-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
  min-width: 0;
  letter-spacing: 0;
  background: none;
  -webkit-text-fill-color: initial;
  color: #fff;
  text-decoration: none;
}
.brand-head-img {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(246, 174, 207, .42);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 25%, #572d58 0%, #2a1e35 52%, #19171d 100%);
  padding: 2px;
  object-fit: contain;
  flex: none;
  box-shadow: inset 0 0 12px rgba(243, 102, 157, .24), 0 0 14px rgba(244, 105, 164, .15);
  overflow: hidden;
}
.brand-head-name {
  color: #f4ecf2;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -.03em;
  white-space: nowrap;
  background: none;
  -webkit-text-fill-color: #f4ecf2;
}
.brand-head-name b {
  font-weight: 700;
  background: linear-gradient(90deg, #ee78ae, #fcb76d);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.ref-nav .ref-links { gap: clamp(12px, 2.4vw, 34px); }
.footer-brand-logo { gap: 9px; }
.footer-brand-logo img {
  width: 41px;
  height: 41px;
  border-radius: 50%;
  object-fit: contain;
  border: 1px solid #ee9bb24a;
  background: #26202d;
}
.footer-brand-logo > span { font-size: 14px; }
.footer-brand-logo small { margin-top: 4px; }
@media(max-width:800px) {
  .ref-nav .ref-links { gap: 12px; }
  .brand-head-img { width: 34px; height: 34px; }
  .brand-head-name { font-size: 10px; }
}
@media(max-width:600px) {
  .ref-nav.brand-head-link { width:auto; }
  .ref-nav .ref-logo.brand-head-link { gap: 3px; }
  .brand-head-img { width: 27px; height: 27px; padding: 1px; }
  .brand-head-name { display: none; }
  .ref-nav .ref-links { gap: 10px; margin-left: 8px; }
  .footer-brand-logo img { width: 34px; height: 34px; }
}
@media(max-width:365px) {
  .brand-head-img { width: 23px; height: 23px; }
  .ref-nav .ref-links { gap: 8px; margin-left: 6px; }
}
