@font-face {
  font-family: "Ma Shan Zheng";
  src: url("./ma-shan-regular-extra.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Ma Shan Zheng";
  src: url("./ma-shan-regular-common.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+20-7E, U+2014, U+3001-3002, U+300A-300D, U+3010-3011, U+4E00, U+4E0A, U+4E13, U+4E1A, U+4E1C, U+4E2D, U+4E34, U+4E3A, U+4E91, U+4ECE, U+4ED3, U+4EE5, U+4F0D, U+4F5C, U+4FE1, U+505A, U+50A8, U+5149, U+5168, U+516C, U+5171, U+51C6, U+524D, U+529B, U+52A1, U+5305, U+5316, U+5320, U+5357, U+5378, U+53C1, U+53EF, U+53F8, U+5404, U+5408, U+54C1, U+56E2, U+56FD, U+5730, U+5733, U+57CE, U+57D4, U+5802, U+589E, U+58F9, U+5904, U+5929, U+597D, U+5B88-5B89, U+5B9E, U+5DDE, U+5DE5, U+5E02, U+5E7F, U+5EFA, U+5F53, U+5FC3, U+60F3, U+624B, U+6263, U+627F, U+62C5-62C6, U+634C, U+6392, U+63A5, U+642D, U+643A, U+652F, U+6548, U+6599, U+65BD, U+6709, U+670D, U+672C, U+67B6, U+67D2, U+6805, U+6807, U+68A6, U+6A21, U+6B22, U+6BCF, U+6C5F, U+6C99, U+6CB3, U+6CE8, U+6D77, U+6DF1, U+6E7E, U+6EE1, U+7396, U+73E0, U+7535, U+756A, U+767D, U+76D8, U+76EE, U+771F, U+7825, U+783A, U+79BA, U+79C0, U+79DF, U+7A0B, U+7B51, U+7BA1, U+7C7B, U+7ECF, U+805A, U+8086, U+811A, U+81F3, U+82B1, U+8354, U+884C, U+88C5, U+8A89, U+8BA4, U+8BB2, U+8BBE, U+8BDA, U+8BDD, U+8BFA, U+8D28, U+8D30, U+8D41, U+8D62, U+8D77, U+8D8A, U+8E0F, U+8F93, U+8FCE, U+8FD0, U+90FD, U+91CD, U+91CF, U+94A2, U+961F, U+9646, U+9650, U+96F6, U+9760, U+9879, U+9A8C, U+9AD8, U+9EC4, U+FF01, U+FF0C, U+FF1F, U+FF5C;
}

.hero .hero-copy .hero-lettering,
.hero-caption-preview .hero-lettering {
  color: #fff;
  font-family: "Ma Shan Zheng", "Kaiti SC", STKaiti, KaiTi, serif;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: .025em;
  text-wrap: balance;
  text-shadow: 0 2px 0 rgb(29 25 23 / .7), 0 4px 12px rgb(0 0 0 / .8);
}
.hero-lettering .hero-lettering-title { display: block; font-weight: inherit; }
.hero-lettering .hero-lettering-accent {
  display: block;
  margin-top: .32em;
  color: #ff4d58;
  font-size: var(--hero-lettering-accent, .37em);
  font-weight: inherit;
  letter-spacing: .13em;
  line-height: 1.15;
  text-shadow: 0 1px 1px rgb(58 4 9 / .95), 0 1px 9px rgb(0 0 0 / .9);
}
.hero-lettering-title:empty, .hero-lettering-accent:empty { display: none; }

.hero .hero-copy .hero-lettering {
  font-size: clamp(32px, 5.7vw, 88px);
  overflow-wrap: anywhere;
}
.hero .hero-copy .hero-lettering-long { font-size: clamp(25px, 4vw, 60px); }
.hero .hero-copy .hero-lettering-compact { font-size: clamp(18px, 2.65vw, 40px); }
.hero-lettering-accent-long { --hero-lettering-accent: .29em; }
.hero-content.hero-content-lettering {
  height: 100%;
  display: flex;
  align-items: center;
  padding-block: 20px 40px;
}
.hero-shade[data-lettering-shade="right"] { background: linear-gradient(270deg, #121211a1, #12121142 49%, #1212110d 82%); }
.hero-shade[data-lettering-shade="center"] { background: radial-gradient(ellipse at center, #12121192, #12121120 76%); }
.hero-shade[data-lettering-shade="left"] { background: linear-gradient(90deg, #121211a1, #12121142 49%, #1212110d 82%); }

.hero-editor [data-image-preview] { container-type: inline-size; }
.hero-caption-preview {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-inline: 7%;
  pointer-events: none;
  background: linear-gradient(90deg, #121211a1, #12121142 49%, #1212110d 82%);
}
.hero-caption-preview[data-text-position="center"] {
  justify-content: center;
  text-align: center;
  background: radial-gradient(ellipse at center, #12121192, #12121120 76%);
}
.hero-caption-preview[data-text-position="right"] {
  justify-content: flex-end;
  text-align: right;
  background: linear-gradient(270deg, #121211a1, #12121142 49%, #1212110d 82%);
}
.hero-preview-heading {
  max-width: 76%;
  max-height: 100%;
  overflow: hidden;
  overflow-wrap: anywhere;
  font-size: clamp(7px, 4.4cqw, 23px);
  color: #fff;
  line-height: 1.2;
}
.hero-preview-heading.hero-lettering { font-size: clamp(9px, 6.4cqw, 34px); }
.hero-preview-heading.hero-lettering.hero-preview-long { font-size: clamp(7px, 4.1cqw, 22px); }
.hero-preview-heading:not(.hero-lettering) span { display: block; }

@media (max-width: 760px) {
  .hero-content.hero-content-lettering .hero-copy { width: min(700px, 88%); }
  .hero .hero-copy .hero-lettering { font-size: clamp(30px, 8vw, 61px); }
  .hero .hero-copy .hero-lettering-long { font-size: clamp(21px, 6vw, 45px); }
  .hero .hero-copy .hero-lettering-compact { font-size: clamp(16px, 4.5vw, 34px); }
}
