/* Canonical thimabi and Bittencourt Notes lockup geometry. */
.notes-signature {
  --mark-size: 54px;
  --notes-mark-type-size: 25px;
  --notes-mark-optical-offset: .12em;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  justify-self: start;
  color: var(--tmb-notes-accent, #b3261e);
  text-decoration: none;
}

.notes-wordmark {
  color: inherit;
  font: 600 var(--notes-mark-type-size)/1 var(--tmb-font-serif, "thimabi Newsreader");
  letter-spacing: -.025em;
  transform: translateY(var(--notes-mark-optical-offset));
}

.notes-mark {
  display: block;
  width: var(--mark-size, 54px);
  aspect-ratio: 1;
  flex: 0 0 auto;
}

.notes-mark img,
.notes-mark svg {
  display: block;
  width: 100%;
  height: 100%;
}

/*
 * Visible marks are inlined at each consumer's build boundary. These rules deliberately outrank
 * the SVG's standalone light/dark defaults so the mark and wordmark share one theme authority.
 */
.notes-mark svg,
.notes-mark .mark {
  color: inherit;
}

.notes-mark .point {
  stroke: var(--tmb-mark-surface, #fffefb);
}

.brand-mark::after {
  position: absolute;
  top: -6%;
  right: -6%;
  width: 16%;
  aspect-ratio: 1;
  border: max(2px, calc(var(--mark-size, 54px) * .035)) solid var(--tmb-mark-surface, #fffefb);
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.signature,
.notes-family-signature {
  display: inline-flex;
  align-items: center;
}

.notes-family-signature {
  gap: 8px;
  color: var(--tmb-text-muted, #647078);
  text-decoration: none;
}

.brand-mark {
  --mark-size: 27px;
  position: relative;
  display: inline-grid;
  width: var(--mark-size);
  height: var(--mark-size);
  flex: 0 0 auto;
  place-items: center;
  border: max(1.5px, calc(var(--mark-size) * .025)) solid currentColor;
  border-radius: 31% 31% 31% 11%;
  color: var(--tmb-interactive, #1f4e79);
}

.brand-mark i {
  font: normal 700 calc(var(--mark-size) * .8)/.8 var(--tmb-font-sans, "thimabi Karla");
  transform: translateY(calc(var(--mark-size) * -.025));
}


.brand-mark-svg {
  border: 0;
  border-radius: 0;
}

.brand-mark-svg::after {
  content: none;
}

.brand-mark-svg img,
.brand-mark-svg svg {
  display: block;
  width: 100%;
  height: 100%;
}

.brand-mark-svg svg,
.brand-mark-svg .mark {
  color: inherit;
}

.brand-mark-svg circle {
  stroke: var(--tmb-mark-surface, #fffefb);
}
.notes-family-signature .wordmark {
  color: inherit;
  font: 400 18px/1 var(--tmb-font-sans, "thimabi Karla");
  letter-spacing: .012em;
}

@media (max-width: 560px) {
  .notes-signature {
    --mark-size: 46px;
    --notes-mark-type-size: 19px;
    gap: 8px;
  }
}
