@font-face {
  font-family: "Ume Thin Condensed";
  src: url("assets/fonts/KhaWaSansBeta-Display-ThinCondensed.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Ume Regular";
  src: url("assets/fonts/KhaWaSansBeta-Display-Regular.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Ume Black";
  src: url("assets/fonts/KhaWaSansBeta-Display-Black.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Ume Text";
  src: url("assets/fonts/KhaWaSansBeta-Text-Regular.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Niepsha Sans Thin";
  src: url("assets/fonts/NiepshaCursive-sans-beta-Thin.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Niepsha Sans Medium";
  src: url("assets/fonts/NiepshaCursive-sans-beta-Medium.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Niepsha Sans Black";
  src: url("assets/fonts/NiepshaCursive-sans-beta-Black.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Niepsha Cursive Thin";
  src: url("assets/fonts/NiepshaCursive-cursive-beta-Thin.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Niepsha Cursive Medium";
  src: url("assets/fonts/NiepshaCursive-cursive-beta-Medium.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Niepsha Cursive Black";
  src: url("assets/fonts/NiepshaCursive-cursive-beta-Black.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans Tai Le";
  src: url("assets/fonts/NotoSansTaiLe-Regular.ttf") format("truetype");
  font-display: swap;
}

:root {
  --ink: #11120f;
  --paper: #f4f2e9;
  --ume-field: #c8ef76;
  --ume-ink: #12352a;
  --ume-blue: #2f66ff;
  --niepsha-field: #12110f;
  --niepsha-ink: #ffb116;
  --niepsha-red: #f13a20;
  --line: rgba(17, 18, 15, 0.28);
  --header-h: 72px;
  color: var(--ink);
  font-family: Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
  letter-spacing: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: var(--header-h);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.35;
  letter-spacing: 0;
}

button,
select,
input {
  font: inherit;
}

button,
a,
select,
input[type="range"] {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible,
[contenteditable="true"]:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

img {
  display: block;
  width: 100%;
}

h1,
h2,
p,
figure {
  margin: 0;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: grid;
  grid-template-columns: minmax(170px, 1fr) auto minmax(170px, 1fr);
  align-items: center;
  min-height: var(--header-h);
  padding: 0 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  background: var(--ink);
  color: var(--paper);
}

.brand {
  justify-self: start;
  font-weight: 700;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.header-end {
  justify-self: end;
  display: flex;
  align-items: center;
}

.lang-switch {
  display: inline-flex;
  align-items: stretch;
  gap: 0;
  min-height: 40px;
  border: 1.5px solid rgba(244, 242, 233, 0.55);
}

.lang-switch button {
  appearance: none;
  margin: 0;
  padding: 0 18px;
  border: 0;
  background: transparent;
  color: rgba(244, 242, 233, 0.78);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
}

.lang-switch button + button {
  border-left: 1.5px solid rgba(244, 242, 233, 0.55);
}

.lang-switch button.is-active,
.lang-switch button[aria-pressed="true"] {
  background: var(--paper);
  color: var(--ink);
}

.lang-switch button:hover:not(.is-active):not([aria-pressed="true"]) {
  color: var(--paper);
  background: rgba(244, 242, 233, 0.1);
}

.hero {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-height: calc(100svh - 92px);
  transition: background-color 500ms cubic-bezier(0.22, 1, 0.36, 1), color 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero--ume {
  background: var(--ume-field);
  color: var(--ume-ink);
}

.hero--niepsha {
  background: var(--niepsha-field);
  color: var(--niepsha-ink);
}

.hero-topline,
.hero-controls {
  display: grid;
  align-items: center;
  min-height: 58px;
  padding: 0 24px;
}

.hero-topline {
  grid-template-columns: 1fr auto;
  border-bottom: 1px solid currentColor;
}

.segmented {
  display: flex;
  width: max-content;
  border: 1px solid currentColor;
}

.segment {
  min-width: 92px;
  min-height: 34px;
  padding: 7px 12px;
  border: 0;
  border-right: 1px solid currentColor;
  background: transparent;
  color: inherit;
  cursor: pointer;
  letter-spacing: 0;
}

.segment:last-child {
  border-right: 0;
}

.segment.is-active {
  background: currentColor;
}

.hero--ume .segment.is-active {
  background: var(--ume-ink);
  color: var(--ume-field);
}

.hero--niepsha .segment.is-active {
  background: var(--niepsha-ink);
  color: var(--niepsha-field);
}

.hero-stage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: 1fr auto;
  align-items: end;
  min-height: 430px;
  padding: 32px 24px 20px;
  overflow: hidden;
}

.hero-index {
  position: absolute;
  top: 20px;
  left: 24px;
  font-size: 13px;
}

.hero-specimen {
  grid-column: 1 / -1;
  align-self: center;
  width: 100%;
  max-width: 100%;
  padding: 20px 0;
  overflow: hidden;
  font-size: 170px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
  letter-spacing: 0;
  caret-color: currentColor;
}

.hero-family-name {
  font-size: 38px;
  line-height: 1;
}

.hero-alias {
  align-self: end;
  justify-self: end;
}

.hero-controls {
  grid-template-columns: minmax(190px, 1fr) minmax(280px, 1.6fr) 1fr auto;
  gap: 24px;
  border-top: 1px solid currentColor;
}

.control {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 40px;
}

.control select {
  width: 100%;
  min-height: 34px;
  padding: 0 28px 0 8px;
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  background: transparent;
  color: inherit;
}

.control input[type="range"] {
  width: 100%;
  accent-color: currentColor;
}

.control output {
  min-width: 32px;
  text-align: right;
}

.edit-note {
  opacity: 0.7;
}

.hero-jump {
  font-weight: 700;
}

.section-label {
  font-size: 12px;
  text-transform: uppercase;
}

.family {
  border-bottom: 1px solid currentColor;
}

.family--ume {
  background: #eef4dc;
  color: var(--ume-ink);
}

.family--niepsha {
  background: var(--niepsha-field);
  color: #f8f4e8;
}

.family-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 80px 24px 64px;
}

.family-heading h2,
.coming-soon-footer h2,
.about h2 {
  max-width: 100%;
  margin-top: 12px;
  font-size: 68px;
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0;
}

.family-alias {
  margin-top: 16px;
  opacity: 0.62;
}

.family-deck {
  max-width: 640px;
  align-self: end;
  font-size: 25px;
  line-height: 1.14;
}

.specimen-workbench {
  min-height: 520px;
  padding: 18px 24px 24px;
}

.specimen-workbench--ume {
  background: var(--ume-blue);
  color: #f7f3e8;
}

.specimen-workbench--niepsha {
  min-height: 560px;
  background: var(--niepsha-ink);
  color: var(--niepsha-field);
}

.workbench-toolbar {
  display: grid;
  grid-template-columns: minmax(250px, 1fr) minmax(320px, 1.4fr);
  gap: 32px;
  align-items: center;
  min-height: 54px;
  border-bottom: 1px solid currentColor;
}

.specimen-workbench--niepsha .workbench-toolbar {
  grid-template-columns: auto minmax(220px, 0.7fr) minmax(300px, 1fr);
}

.segmented--inverse .segment.is-active {
  background: var(--niepsha-field);
  color: var(--niepsha-ink);
}

.workbench-text {
  display: flex;
  align-items: center;
  min-height: 390px;
  overflow: hidden;
  font-size: 118px;
  line-height: 1.18;
  letter-spacing: 0;
  caret-color: currentColor;
}

.workbench-caption {
  padding-top: 10px;
  border-top: 1px solid currentColor;
  font-size: 12px;
  text-transform: uppercase;
}

.weight-run {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.weight-sample {
  min-width: 0;
  padding: 18px 24px 28px;
  border-right: 1px solid currentColor;
  overflow: hidden;
}

.weight-sample:last-child {
  border-right: 0;
}

.weight-sample span {
  display: block;
  margin-bottom: 28px;
  font-size: 12px;
  text-transform: uppercase;
}

.weight-sample p {
  font-size: 82px;
  line-height: 1.1;
  white-space: nowrap;
}

.proofing-ledger {
  --proof-font: "Ume Regular", sans-serif;
  --proof-size: 36px;
  border-top: 1px solid currentColor;
  background: #f7f1e4;
}

.proofing-ledger--niepsha {
  --proof-font: "Niepsha Cursive Black", sans-serif;
  --proof-size: 42px;
  background: #1c1915;
  color: #f8f4e8;
}

.proofing-ledger--niepsha .proofing-header {
  background: var(--niepsha-red);
  color: var(--niepsha-field);
}

.proofing-ledger--niepsha .proofing-text {
  color: var(--niepsha-ink);
  line-height: 1.55;
  word-spacing: 0.22em;
}

.proofing-ledger--niepsha .proofing-row--yi .proofing-text {
  font-size: var(--proof-size);
}

.proofing-header {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: end;
  padding: 64px 24px 36px;
}

.proofing-header h3 {
  margin: 12px 0 0;
  font-size: 54px;
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0;
}

.proofing-controls {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(280px, 1.4fr);
  gap: 32px;
}

.proofing-row {
  display: grid;
  grid-template-columns: minmax(180px, 0.55fr) minmax(0, 2.45fr);
  border-top: 1px solid currentColor;
}

.proofing-meta {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 20px 24px 28px;
  border-right: 1px solid currentColor;
}

.proofing-meta span,
.proofing-meta p {
  font-size: 12px;
  text-transform: uppercase;
}

.proofing-meta h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.1;
}

.proofing-text {
  min-width: 0;
  padding: 22px 24px 32px;
  font-family: var(--proof-font);
  font-size: var(--proof-size);
  line-height: 1.62;
  overflow-wrap: break-word;
  letter-spacing: 0;
}

.proofing-row--alphabet .proofing-text {
  font-size: calc(var(--proof-size) * 1.25);
  line-height: 1.38;
}

.proofing-row--words .proofing-text {
  font-size: calc(var(--proof-size) * 1.12);
  line-height: 1.55;
}

.glyph-browser {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 2.1fr);
  align-items: start;
  border-top: 1px solid currentColor;
}

.glyph-inspector {
  position: sticky;
  top: var(--header-h);
  display: grid;
  grid-template-rows: minmax(360px, 1fr) auto;
  align-self: start;
  height: calc(100vh - var(--header-h));
  min-height: 620px;
  border-right: 1px solid currentColor;
  background: #eef4dc;
  color: var(--ume-ink);
}

.glyph-inspector-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  overflow: hidden;
  background-image:
    linear-gradient(rgba(18, 53, 42, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 53, 42, 0.22) 1px, transparent 1px);
  background-size: 28px 28px;
}

.glyph-inspector-stage::before,
.glyph-inspector-stage::after {
  position: absolute;
  background: currentColor;
  content: "";
  opacity: 0.45;
}

.glyph-inspector-stage::before {
  top: 50%;
  right: 0;
  left: 0;
  height: 1px;
}

.glyph-inspector-stage::after {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
}

.glyph-inspector-char {
  position: relative;
  z-index: 1;
  max-width: 90%;
  font-family: var(--proof-font);
  font-size: 220px;
  line-height: 1;
  text-align: center;
  letter-spacing: 0;
}

.glyph-inspector-char.is-wide {
  font-size: 150px;
}

.glyph-inspector-char.is-long {
  font-size: 90px;
}

.glyph-inspector-meta {
  margin: 0;
  padding: 18px 24px 24px;
  border-top: 1px solid currentColor;
}

.glyph-inspector-meta div {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 16px;
  padding: 7px 0;
  border-bottom: 1px solid currentColor;
}

.glyph-inspector-meta dt,
.glyph-inspector-meta dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.glyph-inspector-meta dt {
  font-size: 12px;
  text-transform: uppercase;
}

.glyph-catalog {
  min-width: 0;
}

.glyph-catalog .proofing-row {
  display: block;
}

.glyph-catalog .proofing-meta {
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 18px;
  padding: 18px 24px;
  border-right: 0;
  border-bottom: 1px solid currentColor;
}

.glyph-catalog .proofing-meta p {
  justify-self: end;
  grid-column: auto;
}

.proofing-text.is-glyph-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(41px, 1fr));
  padding: 0;
  font-size: inherit;
  line-height: 1;
}

.glyph-cell {
  display: grid;
  grid-template-rows: auto minmax(29px, 1fr);
  align-items: center;
  min-width: 0;
  min-height: 56px;
  padding: 5px 5px 7px;
  border: 0;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  letter-spacing: 0;
}

.glyph-code {
  align-self: start;
  overflow: hidden;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 7px;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
  opacity: 0.65;
}

.glyph-char {
  align-self: center;
  max-width: 100%;
  overflow: hidden;
  font-family: var(--proof-font);
  font-size: calc(var(--proof-size) * 0.5);
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

.glyph-cell.is-wide .glyph-char {
  font-size: calc(var(--proof-size) * 0.36);
}

.glyph-cell.is-long .glyph-char {
  font-size: calc(var(--proof-size) * 0.24);
}

.proofing-ledger--ume .glyph-cell {
  container-type: inline-size;
}

.proofing-ledger--ume .glyph-char {
  justify-self: center;
  overflow: visible;
  line-height: 1.5;
}

.proofing-ledger--ume .glyph-inspector-char {
  line-height: 1.45;
}

@supports (font-size: 1cqw) {
  .proofing-ledger--ume .glyph-char {
    font-size: min(calc(var(--proof-size) * 0.5), 58cqw);
  }

  .proofing-ledger--ume .glyph-cell.is-wide .glyph-char {
    font-size: min(calc(var(--proof-size) * 0.36), 40cqw);
  }

  .proofing-ledger--ume .glyph-cell.is-long .glyph-char {
    font-size: min(calc(var(--proof-size) * 0.24), 28cqw);
  }
}

.glyph-cell.is-selected {
  background: var(--ume-blue);
  color: #f8f4e8;
}

.glyph-cell:hover:not(.is-selected) {
  background: rgba(238, 244, 220, 0.62);
}

.glyph-cell:focus-visible {
  position: relative;
  z-index: 1;
  outline: 3px solid currentColor;
  outline-offset: -4px;
}

.proofing-ledger--niepsha .glyph-inspector {
  background: #f8f4e8;
  color: var(--niepsha-field);
}

.proofing-ledger--niepsha .glyph-inspector-stage {
  background-image:
    linear-gradient(rgba(18, 17, 15, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 17, 15, 0.2) 1px, transparent 1px);
}

.proofing-ledger--niepsha .glyph-cell.is-selected {
  background: var(--niepsha-ink);
  color: var(--niepsha-field);
}

.proofing-ledger--niepsha .glyph-cell:hover:not(.is-selected) {
  background: rgba(248, 244, 232, 0.12);
}

.source-figure {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(280px, 1fr);
  align-items: stretch;
  border-top: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
}

.source-figure img {
  height: 100%;
  min-height: 440px;
  object-fit: cover;
}

.source-figure figcaption {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 80px;
  padding: 24px;
  border-left: 1px solid currentColor;
  font-size: 22px;
}

.source-figure figcaption span:first-child {
  font-size: 12px;
  text-transform: uppercase;
}

.source-figure--ume {
  background: #f4eee9;
}

.source-figure--niepsha img {
  min-height: 520px;
}

.niepsha-marquee {
  display: flex;
  gap: 84px;
  align-items: center;
  min-height: 250px;
  padding: 24px;
  overflow: hidden;
  border-top: 1px solid currentColor;
  color: var(--niepsha-ink);
  font-size: 96px;
  line-height: 1;
  white-space: nowrap;
}

.family-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 220px;
}

.family-notes,
.family-actions {
  display: grid;
  align-content: space-between;
  gap: 48px;
  padding: 24px;
}

.family-notes {
  border-right: 1px solid currentColor;
}

.family-notes > p:last-child {
  max-width: 610px;
  font-size: 24px;
  line-height: 1.15;
}

.family-actions {
  grid-template-columns: 1fr 1fr;
  align-content: end;
}

.family-actions a {
  padding-top: 12px;
  border-top: 1px solid currentColor;
  font-weight: 700;
}

.coming-soon {
  border-top: 1px solid var(--ink);
  background: var(--ume-blue);
  color: var(--paper);
}

.coming-soon-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  min-height: 66px;
  padding: 12px 24px;
  border-bottom: 1px solid currentColor;
}

.coming-soon-header > p:last-child {
  justify-self: end;
  font-size: 12px;
}

.coming-soon-stage {
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 680px;
  padding: 44px 24px 28px;
  overflow: hidden;
}

.tai-le-preview {
  align-self: center;
  justify-self: center;
  max-width: 100%;
  color: #efff87;
  font-family: "Noto Sans Tai Le", "Myanmar MN", sans-serif;
  font-size: 152px;
  line-height: 1.3;
  text-align: center;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.coming-soon-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: end;
  padding-top: 24px;
  border-top: 1px solid currentColor;
}

.coming-soon-footer h2 {
  margin: 0;
}

.coming-soon-footer p {
  justify-self: end;
  margin: 0;
  font-size: 12px;
  text-transform: uppercase;
}

.about {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 48px;
  padding: 84px 24px 96px;
  border-top: 1px solid var(--ink);
  background: #fff;
}

.about h2 {
  font-size: 54px;
}

.about > p {
  align-self: end;
  font-size: 23px;
  line-height: 1.18;
}

.about-links {
  display: grid;
  align-content: end;
}

.about-links a {
  padding: 10px 0;
  border-top: 1px solid var(--ink);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 24px;
  background: var(--ink);
  color: var(--paper);
}

.font-ume-thin {
  font-family: "Ume Thin Condensed", sans-serif;
}

.font-ume-regular {
  font-family: "Ume Regular", sans-serif;
}

.font-ume-black {
  font-family: "Ume Black", sans-serif;
}

.font-niepsha-thin {
  font-family: "Niepsha Sans Thin", sans-serif;
}

.font-niepsha-medium {
  font-family: "Niepsha Sans Medium", sans-serif;
}

.font-niepsha-black {
  font-family: "Niepsha Sans Black", sans-serif;
}

.font-niepsha-cursive-thin {
  font-family: "Niepsha Cursive Thin", sans-serif;
}

.font-niepsha-cursive-medium {
  font-family: "Niepsha Cursive Medium", sans-serif;
}

.font-niepsha-cursive-black {
  font-family: "Niepsha Cursive Black", sans-serif;
}

@media (max-width: 1050px) {
  .hero-specimen {
    font-size: 130px;
  }

  .hero-controls {
    grid-template-columns: 1fr 1.4fr auto;
  }

  .edit-note {
    display: none;
  }

  .family-heading h2,
  .coming-soon-footer h2 {
    font-size: 54px;
  }

  .source-figure {
    grid-template-columns: 2fr 1fr;
  }

  .about {
    grid-template-columns: 0.75fr 1.25fr;
  }

  .about-links {
    grid-column: 2;
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 64px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    padding: 0 14px;
  }

  .main-nav {
    gap: 14px;
  }

  .lang-switch {
    min-height: 36px;
  }

  .lang-switch button {
    padding: 0 14px;
    font-size: 14px;
  }

  .hero {
    min-height: calc(100svh - 72px);
  }

  .hero-topline,
  .hero-controls {
    padding-right: 14px;
    padding-left: 14px;
  }

  .hero-release {
    display: none;
  }

  .hero-topline {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    grid-template-columns: 1fr;
    min-height: 360px;
    padding: 28px 14px 18px;
  }

  .hero-index {
    left: 14px;
  }

  .hero-specimen {
    font-size: 88px;
  }

  .hero-family-name {
    font-size: 29px;
  }

  .hero-alias {
    justify-self: start;
    margin-top: 8px;
  }

  .hero-controls {
    grid-template-columns: 1fr;
    gap: 2px;
    padding-top: 8px;
    padding-bottom: 10px;
  }

  .hero-jump {
    padding-top: 8px;
  }

  .family-heading,
  .about {
    grid-template-columns: 1fr;
  }

  .about-links {
    grid-column: 1;
  }

  .family-heading {
    gap: 32px;
    padding: 58px 14px 44px;
  }

  .family-heading h2,
  .coming-soon-footer h2,
  .about h2 {
    font-size: 43px;
  }

  .family-deck {
    font-size: 21px;
  }

  .specimen-workbench {
    min-height: 500px;
    padding: 12px 14px 18px;
  }

  .workbench-toolbar,
  .specimen-workbench--niepsha .workbench-toolbar {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 8px 0 12px;
  }

  .workbench-text {
    min-height: 330px;
    font-size: 78px;
  }

  .weight-run {
    grid-template-columns: 1fr;
  }

  .weight-sample {
    border-right: 0;
    border-bottom: 1px solid currentColor;
  }

  .weight-sample:last-child {
    border-bottom: 0;
  }

  .weight-sample p {
    font-size: 68px;
  }

  .proofing-header {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 52px 14px 28px;
  }

  .proofing-header h3 {
    font-size: 43px;
  }

  .proofing-controls {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .proofing-row {
    grid-template-columns: 1fr;
  }

  .proofing-meta {
    grid-template-columns: auto 1fr;
    gap: 14px;
    padding: 16px 14px;
    border-right: 0;
    border-bottom: 1px solid currentColor;
  }

  .proofing-meta p {
    grid-column: 2;
  }

  .proofing-text {
    padding: 20px 14px 30px;
  }

  .glyph-browser {
    grid-template-columns: 1fr;
  }

  .glyph-inspector {
    position: relative;
    top: auto;
    grid-template-rows: minmax(320px, 56vh) auto;
    width: 100%;
    height: auto;
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid currentColor;
  }

  .glyph-inspector-char {
    font-size: 160px;
  }

  .glyph-inspector-char.is-wide {
    font-size: 112px;
  }

  .glyph-inspector-char.is-long {
    font-size: 68px;
  }

  .glyph-inspector-meta {
    padding: 14px;
  }

  .glyph-inspector-meta div {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .glyph-catalog .proofing-meta {
    grid-template-columns: auto 1fr;
    padding: 16px 14px;
  }

  .glyph-catalog .proofing-meta p {
    grid-column: 2;
    justify-self: start;
  }

  .proofing-text.is-glyph-grid {
    grid-template-columns: repeat(auto-fill, minmax(34px, 1fr));
    padding: 0;
  }

  .glyph-cell {
    grid-template-rows: auto minmax(24px, 1fr);
    min-height: 48px;
    padding: 5px 4px 6px;
  }

  .source-figure {
    grid-template-columns: 1fr;
  }

  .source-figure img,
  .source-figure--niepsha img {
    min-height: 280px;
  }

  .source-figure figcaption {
    gap: 44px;
    padding: 20px 14px 28px;
    border-top: 1px solid currentColor;
    border-left: 0;
  }

  .niepsha-marquee {
    min-height: 190px;
    padding: 14px;
    font-size: 72px;
  }

  .family-footer {
    grid-template-columns: 1fr;
  }

  .family-notes,
  .family-actions {
    padding: 24px 14px;
  }

  .family-notes {
    border-right: 0;
    border-bottom: 1px solid currentColor;
  }

  .family-actions {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .coming-soon-header {
    padding-right: 14px;
    padding-left: 14px;
  }

  .coming-soon-stage {
    min-height: 520px;
    padding: 36px 14px 24px;
  }

  .tai-le-preview {
    font-size: 72px;
    line-height: 1.45;
  }

  .coming-soon-footer {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 18px;
  }

  .coming-soon-footer p {
    justify-self: start;
  }

  .about {
    gap: 38px;
    padding: 64px 14px 72px;
  }

  .about > p {
    font-size: 20px;
  }

  .site-footer {
    flex-direction: column;
    padding: 20px 14px;
  }
}

@media (max-width: 480px) {
  .main-nav a:nth-child(2),
  .main-nav a:nth-child(3) {
    display: none;
  }

  .segment {
    min-width: 80px;
  }

  .hero-specimen {
    font-size: 66px;
  }

  .hero-family-name {
    font-size: 25px;
  }

  .tai-le-preview {
    font-size: 46px;
  }

  .family-heading h2,
  .coming-soon-footer h2,
  .about h2 {
    font-size: 36px;
  }

  .workbench-text {
    font-size: 62px;
  }

  .niepsha-marquee {
    font-size: 58px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
