/* Original gold artwork, with its transparent margins fitted in CSS. */
:is(.brand, .hero-emblem) .brand-symbol {
  position: relative;
  display: block;
  width: 40px;
  aspect-ratio: 540 / 777;
  flex: none;
  overflow: hidden;
  filter: drop-shadow(0 0 8px #dbb65e30);
}
:is(.brand, .hero-emblem) .brand-symbol .brand-mark {
  position: absolute;
  left: -47.962963%;
  top: -19.562420%;
  width: 200.185185%;
  height: auto;
  max-width: none;
  display: block;
}
/* A fixed alpha mask keeps the moving light inside the original gold mark. */
:is(.brand, .hero-emblem) .brand-sheen { display: none; }
@supports ((mask-image: url("lecore-gold-mark.png")) or (-webkit-mask-image: url("lecore-gold-mark.png"))) {
  :is(.brand, .hero-emblem) .brand-sheen {
    display: block;
    position: absolute;
    inset: 0;
    pointer-events: none;
    -webkit-mask-image: url("lecore-gold-mark.png");
    mask-image: url("lecore-gold-mark.png");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 200.185185% auto;
    mask-size: 200.185185% auto;
    -webkit-mask-position: 47.874307% 50%;
    mask-position: 47.874307% 50%;
  }
  :is(.brand, .hero-emblem) .brand-sheen::before {
    content: "";
    position: absolute;
    inset: -30% -100%;
    background: linear-gradient(112deg, transparent 35%, #edb74724 42%, #ffd985a8 48%, #fff2c3e6 50%, #efbf6373 54%, transparent 63%);
    transform: translate3d(-45%, 0, 0);
    opacity: 0;
    animation: lecore-gold-sweep 5.8s cubic-bezier(.4, 0, .2, 1) -1.2s infinite;
    will-change: transform, opacity;
  }
}
@keyframes lecore-gold-sweep {
  0%, 10% { transform: translate3d(-45%, 0, 0); opacity: 0; }
  18% { opacity: var(--lecore-sheen-opacity, .9); }
  56% { opacity: var(--lecore-sheen-opacity, .9); }
  70%, 100% { transform: translate3d(45%, 0, 0); opacity: 0; }
}
@media (prefers-reduced-motion: reduce), (forced-colors: active) {
  :is(.brand, .hero-emblem) .brand-sheen { display: none; }
  :is(.brand, .hero-emblem) .brand-sheen::before { animation: none; will-change: auto; }
}
.workspace-top {
  background: radial-gradient(ellipse at 12% 0, #ba8f2920, transparent 55%), #0c0d10;
}
.workspace-top .brand,
.masthead .brand {
  gap: 15px;
}
.brand .brand-name {
  gap: 18px;
  line-height: 1.35;
}
.brand .brand-english {
  font-family: "Avenir Next", "Century Gothic", Arial, sans-serif;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: .18em;
  line-height: 1.25;
}
.brand .brand-name > span {
  color: #f0d99e;
  border-left-color: #b9934c80;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .055em;
  text-shadow: 0 1px 2px #000, 0 0 15px #d7ae4a30;
}
.brand .brand-english,
.wordmark-lecore {
  color: #f1d28b;
  text-shadow: 0 0 22px #deb85b26;
}
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .brand .brand-english,
  .wordmark-lecore {
    background: linear-gradient(112deg, #c4a05a 0%, #f2d897 24%, #fff4d1 40%, #cfac62 58%, #f4dfa4 80%, #c4a05a 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
  }
}
.wordmark.wordmark-lecore {
  width: max-content;
  max-width: 100%;
  font-family: "Avenir Next", "Century Gothic", Arial, sans-serif;
  font-size: clamp(40px, 8.3vw, 98px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: .085em;
  padding-left: .085em;
  filter: drop-shadow(0 3px 20px #d3a94420);
}
.chinese-wordmark {
  color: #f0d99e;
  font-weight: 600;
  text-shadow: 0 2px 3px #000, 0 0 24px #d7ae4a35;
}
@media (max-width: 1000px) {
  .brand .brand-name {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  .brand .brand-name > span {
    padding-left: 0;
    border-left: 0;
    font-size: 14px;
    letter-spacing: .025em;
  }
  .brand .brand-english { font-size: 21px; }
}
@media (max-width: 760px) {
  :is(.brand, .hero-emblem) .brand-symbol { width: 31px; }
  .workspace-top .brand,
  .masthead .brand { gap: 10px; }
  .brand .brand-english { font-size: 19px; letter-spacing: .14em; }
  .brand .brand-name > span { font-size: 13px; letter-spacing: .015em; }
  .brand .brand-name { gap: 4px; }
  .wordmark.wordmark-lecore { font-size: clamp(40px, 9.6vw, 68px); }
}
@media (max-width: 360px) {
  :is(.brand, .hero-emblem) .brand-symbol { width: 28px; }
  .brand .brand-name > span { letter-spacing: 0; }
  .brand .brand-english { font-size: 18px; }
}
@media (forced-colors: active) {
  .workspace-top { background: Canvas; }
  .brand .brand-english,
  .brand .brand-name > span,
  .wordmark.wordmark-lecore,
  .chinese-wordmark {
    background: none;
    color: CanvasText;
    text-shadow: none;
    filter: none;
  }
  :is(.brand, .hero-emblem) .brand-symbol { filter: none; }
}
