@font-face {
  font-family: "Hada Sans";
  src: url("/static/fonts/hada-sans/woff2/HadaSans-Thin.woff2?v=1fccc592") format("woff2");
  font-weight: 100;
  font-display: swap;
}

@font-face {
  font-family: "Hada Sans";
  src: url("/static/fonts/hada-sans/woff2/HadaSans-ExtraLight.woff2?v=1fccc592") format("woff2");
  font-weight: 200;
  font-display: swap;
}

@font-face {
  font-family: "Hada Sans";
  src: url("/static/fonts/hada-sans/woff2/HadaSans-Light.woff2?v=1fccc592") format("woff2");
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Hada Sans";
  src: url("/static/fonts/hada-sans/woff2/HadaSans-Regular.woff2?v=1fccc592") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Hada Sans";
  src: url("/static/fonts/hada-sans/woff2/HadaSans-Medium.woff2?v=1fccc592") format("woff2");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Hada Sans";
  src: url("/static/fonts/hada-sans/woff2/HadaSans-SemiBold.woff2?v=1fccc592") format("woff2");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Hada Sans";
  src: url("/static/fonts/hada-sans/woff2/HadaSans-Bold.woff2?v=1fccc592") format("woff2");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Hada Sans";
  src: url("/static/fonts/hada-sans/woff2/HadaSans-ExtraBold.woff2?v=1fccc592") format("woff2");
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "Hada Sans";
  src: url("/static/fonts/hada-sans/woff2/HadaSans-Black.woff2?v=1fccc592") format("woff2");
  font-weight: 900;
  font-display: swap;
}

@font-face {
  font-family: "Hada Batang";
  src: url("/static/fonts/hada-batang/woff2/HadaBatang%5BWeight%5D.woff2?v=d5885649") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Dancing Peoples";
  src: url("/static/fonts/dancing-peoples/woff2/DancingPeoples%5BDance%5D.woff2?v=df104f0b") format("woff2");
  font-weight: 800;
  font-display: swap;
}

:root {
  --ink: var(--podo-text-basic, #15140f);
  --paper: var(--podo-elevation-basic, #f7f1df);
  --paper-deep: #ece0c6;
  --soft: rgba(255, 255, 255, 0.52);
  --acid: var(--podo-color-coral-500, #ff5b36);
  --lime: var(--podo-color-lime-300, #d6ed56);
  --blue: #5f8fe8;
  --green: #7fb069;
  --line: rgba(23, 23, 17, 0.2);
  --line-strong: rgba(23, 23, 17, 0.72);
  --radius-pill: var(--podo-radius-control-full, 999px);
  --shadow-panel: 0 24px 70px rgba(21, 20, 15, 0.13);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 12%, color-mix(in srgb, var(--lime) 28%, transparent) 0 18vw, transparent 26vw),
    radial-gradient(circle at 88% 18%, color-mix(in srgb, var(--acid) 22%, transparent) 0 16vw, transparent 24vw),
    linear-gradient(90deg, transparent calc(100% - 1px), var(--line) 1px) 0 0 / 25% 100%,
    linear-gradient(0deg, transparent calc(100% - 1px), rgba(23, 23, 17, 0.08) 1px) 0 0 / 100% 96px,
    var(--paper);
  font-family: "Hada Sans", system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
}

a { color: inherit; }
button, input { font: inherit; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
[contenteditable]:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}

.topbar,
.footer,
.nav,
.brand,
.eyebrow,
.hero-meta,
.hero-copy,
.section-title,
.catalog-intro,
.button,
.formats,
.tester-toolbar,
.glyph-toolbar,
.glyph-meta,
.glyph-pager,
.size-label,
.dance-input,
.dance-controls,
.font-copy--hada,
.font-copy--batang,
.font-copy--dancing,
.webfont-info,
.bundle-strip,
.cdn-overview {
  font-family: "Hada Sans", system-ui, sans-serif;
  font-variation-settings: normal;
}

.font-main--hada,
.font-sample--hada,
.font-card--hada {
  font-family: "Hada Sans", system-ui, sans-serif;
}

.font-sample--batang,
.font-card--batang {
  font-family: "Hada Batang", "Hada Sans", serif;
  font-weight: 400;
}

.font-sample--dancing,
.font-card--dancing {
  font-family: "Dancing Peoples", "Hada Sans", sans-serif;
  font-weight: 800;
  font-variation-settings: "DANC" 50;
}

.shell { width: min(1440px, 100%); margin: 0 auto; padding: 0 32px; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 72px;
  border-bottom: 1px solid var(--ink);
  background: color-mix(in srgb, var(--paper) 84%, transparent);
  backdrop-filter: blur(12px);
}

.brand, .nav a { text-decoration: none; }
.brand { flex: none; font-weight: 700; letter-spacing: -0.02em; }
.nav { min-width: 0; display: flex; gap: 24px; overflow-x: auto; white-space: nowrap; font-size: 14px; }
.nav a {
  padding: 8px 0;
  border-bottom: 1px solid transparent;
}
.nav a:hover { border-bottom-color: currentColor; }

.eyebrow {
  display: inline-flex;
  padding: 7px 12px 6px;
  border: 1px solid;
  border-radius: var(--radius-pill);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - 72px);
  display: grid;
  align-content: space-between;
  row-gap: clamp(28px, 4vh, 56px);
  padding-top: 44px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--ink);
  overflow: hidden;
}

.hero::after {
  content: "Aa 123\\A 가나다";
  white-space: pre;
  position: absolute;
  right: clamp(20px, 5vw, 80px);
  top: clamp(90px, 13vw, 170px);
  z-index: 0;
  color: rgba(21, 20, 15, 0.07);
  font-size: clamp(90px, 18vw, 260px);
  font-weight: 900;
  line-height: 0.78;
  letter-spacing: -0.08em;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.font-main--dancing .hero::after {
  content: "춤\\A 춤";
  font-family: "Dancing Peoples", "Hada Sans", sans-serif;
  font-variation-settings: "DANC" 78;
  top: clamp(132px, 15vw, 210px);
  font-size: clamp(80px, 16vw, 230px);
  line-height: 0.9;
}

.font-main--batang .hero::after {
  content: "가\\A Aa";
  font-family: "Hada Batang", "Hada Sans", serif;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.hero h1 {
  position: relative;
  max-width: 100%;
  margin: 0;
  font-size: clamp(80px, 16vw, 236px);
  line-height: 0.9;
  letter-spacing: -0.075em;
  font-weight: 700;
}

.font-main--batang .hero h1 {
  font-family: "Hada Batang", "Hada Sans", serif;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.018em;
}

.font-main--dancing .hero h1 {
  font-family: "Dancing Peoples", "Hada Sans", sans-serif;
  font-weight: 800;
  font-variation-settings: "DANC" 62;
  max-width: min(1040px, 100%);
  padding-block: 0.08em 0.12em;
  line-height: 1.16;
  letter-spacing: 0;
}

.dance-title span {
  display: inline-block;
  font-variation-settings: "DANC" var(--dance, 62);
  line-height: 0.96;
}

.dance-title br { display: block; }

.hero-copy {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 420px);
  gap: 40px;
  align-items: end;
}
.hero-copy > *,
.section-title > * {
  min-width: 0;
}

.hero-copy p { margin: 0; font-size: clamp(18px, 2vw, 28px); line-height: 1.28; }
.hero-copy p,
.section-title p,
.catalog-intro,
.lab-notes p,
.font-intro-card p,
.bundle-strip p,
.webfont-info p {
  font-weight: 400;
  word-break: normal;
  overflow-wrap: anywhere;
}
.hero-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line-strong);
  font-size: 13px;
}

.section { padding-top: 96px; padding-bottom: 96px; border-bottom: 1px solid var(--ink); }
.section-title { display: flex; justify-content: space-between; align-items: start; gap: 24px; margin-bottom: 56px; }
.section-title h2 {
  margin: 0;
  max-width: 850px;
  font-size: clamp(42px, 7vw, 96px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.section-title p { max-width: 350px; margin: 0; line-height: 1.5; }

.catalog-intro { max-width: 880px; margin: -24px 0 48px; font-size: clamp(22px, 3vw, 40px); line-height: 1.15; letter-spacing: -0.04em; }
.family-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--ink); border: 1px solid var(--ink); }
.family-card {
  position: relative;
  min-height: 520px;
  padding: 28px;
  overflow: hidden;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}
.family-card + .family-card { border-left: 1px solid var(--ink); }
.family-card--hada { background: var(--lime); }
.family-card--dancing { background: var(--acid); }
.family-card--batang { background: var(--green); }
.family-card--next { background: rgba(255,255,255,.28); }
.family-card h2 { margin: 64px 0 0; font-size: clamp(64px, 9vw, 132px); line-height: 0.88; letter-spacing: -0.07em; }
.family-card--batang h2 {
  font-family: "Hada Batang", "Hada Sans", serif;
  line-height: .96;
  letter-spacing: -0.025em;
}
.family-card p {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 24px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-family: "Hada Sans", system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
}
.family-card::after {
  content: "specimen";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: rotate(90deg);
  transform-origin: right top;
  color: rgba(21, 20, 15, 0.18);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.family-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-panel);
}
.family-card .dance-word { font-family: "Dancing Peoples"; font-weight: 800; letter-spacing: 0; font-variation-settings: "DANC" 70; }
.family-card .dance-word span { display: inline-block; font-variation-settings: "DANC" var(--dance, 70); }
.family-card .dance-word br { display: block; }

.lab-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 28px;
  border: 1px solid var(--ink);
  background: color-mix(in srgb, var(--paper) 72%, white);
}
.lab-notes article {
  min-height: 260px;
  padding: 24px;
  display: grid;
  align-content: space-between;
}
.lab-notes article + article { border-left: 1px solid var(--ink); }
.lab-notes span {
  width: fit-content;
  padding: 7px 11px 6px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-pill);
  font-size: 12px;
  text-transform: uppercase;
}
.lab-notes h3 {
  max-width: 420px;
  margin: 48px 0 0;
  font-size: clamp(28px, 3vw, 48px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}
.lab-notes p { margin: 22px 0 0; line-height: 1.48; }

.font-intro-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 28px;
  border: 1px solid var(--ink);
}
.font-intro-card {
  min-height: 420px;
  padding: 28px;
  display: grid;
  align-content: space-between;
  overflow: hidden;
  text-decoration: none;
}
.font-intro-card + .font-intro-card { border-left: 1px solid var(--ink); }
.font-intro-card h3 {
  margin: 48px 0 0;
  font-size: clamp(58px, 9vw, 132px);
  line-height: 0.88;
  letter-spacing: -0.07em;
}
.font-intro-card h3 span { font-size: 0.52em; }
.font-intro-card p {
  max-width: 760px;
  margin: 36px 0 0;
  font-family: "Hada Sans", system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(22px, 3vw, 40px);
  line-height: 1.22;
  letter-spacing: -0.025em;
}
.font-intro-card strong {
  margin-top: 48px;
  font-size: 16px;
  font-family: "Hada Sans", system-ui, sans-serif;
}
.font-intro-card--hada {
  background: color-mix(in srgb, var(--lime) 76%, var(--paper));
  font-family: "Hada Sans", system-ui, sans-serif;
  font-weight: 520;
}
.font-intro-card--dancing {
  background: color-mix(in srgb, var(--acid) 78%, var(--paper));
  font-family: "Dancing Peoples", "Hada Sans", sans-serif;
  font-weight: 800;
  font-variation-settings: "DANC" 52;
}
.font-intro-card--dancing h3,
.font-intro-card--dancing h3 {
  font-variation-settings: "DANC" 52;
  line-height: 1.02;
  letter-spacing: 0;
}
.font-intro-card--batang {
  background: color-mix(in srgb, var(--green) 78%, var(--paper));
  font-family: "Hada Batang", "Hada Sans", serif;
}
.font-intro-card--batang h3 {
  line-height: .96;
  letter-spacing: -0.025em;
}

.tester {
  border: 1px solid var(--ink);
  background: var(--soft);
  box-shadow: var(--shadow-panel);
}
.tester-toolbar {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid;
  background: color-mix(in srgb, var(--paper) 72%, white);
}
.tester-toolbar label { display: flex; gap: 8px; align-items: center; font-size: 13px; }
.tester-toolbar input[type="range"] { width: min(220px, 28vw); accent-color: var(--acid); }
.tester-toolbar span {
  min-width: 48px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.tester-text {
  min-height: 300px;
  padding: 28px;
  outline: 0;
  background:
    linear-gradient(0deg, transparent calc(100% - 1px), rgba(21, 20, 15, 0.1) 1px) 0 28px / 100% 1.05em;
  font-size: clamp(58px, 9vw, 136px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  overflow-wrap: anywhere;
}
.tester-text:focus { background: #fff; }
.tester-text.font-sample--batang {
  line-height: 1.16;
  letter-spacing: -0.012em;
}
.tester-text.font-sample--dancing {
  padding-top: 40px;
  padding-bottom: 40px;
  line-height: 1.2;
  letter-spacing: 0;
}

.download-stack { display: grid; gap: 20px; }
.bundle-strip {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  padding: 22px 24px;
  border: 1px solid var(--ink);
  background: color-mix(in srgb, var(--lime) 30%, var(--soft));
}
.bundle-strip span,
.webfont-info > span,
.cdn-board span {
  display: block;
  margin-bottom: 14px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.bundle-strip strong {
  display: block;
  font-size: clamp(36px, 5vw, 72px);
  line-height: .95;
  letter-spacing: -0.055em;
}
.bundle-strip p { max-width: 520px; margin: 14px 0 0; line-height: 1.45; }

.weight-list { border-top: 1px solid var(--ink); }
.weight-row { display: grid; grid-template-columns: 140px 1fr auto; gap: 24px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--ink); }
.weight-row .sample { font-size: clamp(34px, 5vw, 72px); line-height: 1; letter-spacing: -0.045em; }
.formats { display: flex; gap: 8px; }
.formats a, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-pill);
  background: transparent;
  text-decoration: none;
  cursor: pointer;
}
.formats a:hover, .button:hover, .button.active { background: var(--ink); color: var(--paper); }

.metric-board { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid; background: var(--soft); }
.metric { min-height: 240px; padding: 24px; transition: background .18s ease; }
.metric + .metric { border-left: 1px solid; }
.metric strong { display: block; margin-top: 44px; font-size: clamp(42px, 6vw, 82px); line-height: .95; letter-spacing: -0.05em; }
.metric p { max-width: 330px; margin: 28px 0 0; font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.metric a { text-decoration: none; }
.metric:hover { background: color-mix(in srgb, var(--lime) 34%, transparent); }

.webfont-panel {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
  border: 1px solid var(--ink);
  background: var(--soft);
}
.webfont-info {
  min-width: 0;
  padding: 24px;
}
.webfont-info h3 {
  margin: 0;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}
.webfont-info p { margin: 24px 0 0; line-height: 1.55; }
.webfont-info code { font: .9em ui-monospace, SFMono-Regular, Menlo, monospace; }
.webfont-info dl { margin: 34px 0 0; border-top: 1px solid var(--line-strong); }
.webfont-info dl div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.webfont-info dt { font-size: 12px; text-transform: uppercase; }
.webfont-info dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.code-sample {
  min-width: 0;
  margin: 0;
  padding: 24px;
  overflow: auto;
  border-left: 1px solid var(--ink);
  background: color-mix(in srgb, var(--ink) 94%, var(--blue));
  color: var(--paper);
  font: 13px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: pre;
}
.code-sample code { font: inherit; }

.cdn-overview {
  margin-top: 64px;
  padding-top: 72px;
  border-top: 1px solid var(--ink);
}
.cdn-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--ink);
  background: color-mix(in srgb, var(--blue) 20%, var(--soft));
}
.cdn-board a {
  min-width: 0;
  min-height: 180px;
  display: grid;
  align-content: space-between;
  padding: 22px;
  text-decoration: none;
}
.cdn-board a + a { border-left: 1px solid var(--ink); }
.cdn-board strong {
  min-width: 0;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1;
  letter-spacing: -0.045em;
  overflow-wrap: anywhere;
}
.cdn-overview .code-sample {
  margin-top: 20px;
  border: 1px solid var(--ink);
}

.size-specimens { border-top: 1px solid var(--ink); }
.size-specimen { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--ink); }
.size-label { padding-top: 4px; font-size: 12px; font-variant-numeric: tabular-nums; }
.size-specimen > div { min-width: 0; overflow: hidden; }
.size-specimen p { margin: 0; font-size: var(--sample-size); line-height: 1.18; white-space: nowrap; letter-spacing: -0.025em; }
.size-specimen p + p { margin-top: .2em; }
.size-specimens.font-sample--batang p {
  line-height: 1.32;
  letter-spacing: -0.008em;
}
.size-specimens.font-sample--dancing p {
  line-height: 1.28;
  letter-spacing: 0;
}
.lyric-specimens { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 64px; border: 1px solid var(--ink); }
.lyric-card { min-width: 0; padding: 24px; overflow: hidden; }
.lyric-card + .lyric-card { border-left: 1px solid var(--ink); }
.lyric-card:nth-child(1) { font-weight: 300; background: var(--lime); }
.lyric-card:nth-child(2) { font-weight: 700; background: var(--acid); }
.lyric-card header { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 52px; font-size: 12px; }
.lyric-card p { margin: .36em 0 0; line-height: 1.1; letter-spacing: -0.045em; white-space: nowrap; }

.glyph-browser { border: 1px solid var(--ink); background: var(--soft); box-shadow: var(--shadow-panel); }
.glyph-toolbar { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px; border-bottom: 1px solid var(--ink); }
.glyph-weight { display: flex; align-items: center; gap: 9px; margin-left: auto; padding: 0 4px 0 12px; font-size: 12px; }
.glyph-weight input { width: min(180px, 22vw); accent-color: var(--acid); }
.glyph-weight output { min-width: 46px; font-variant-numeric: tabular-nums; text-align: right; }
.glyph-meta { display: flex; justify-content: space-between; gap: 20px; padding: 18px 20px; border-bottom: 1px solid var(--ink); font-size: 13px; }
.glyph-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.glyph-cell { position: relative; display: grid; place-items: center; aspect-ratio: 1; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: clamp(25px, 3vw, 44px); transition: background .12s ease, color .12s ease; }
.glyph-cell small { position: absolute; top: 5px; left: 6px; color: color-mix(in srgb, var(--ink) 55%, transparent); font: 8px ui-monospace, monospace; }
.glyph-cell:hover { background: var(--ink); color: var(--paper); }
.glyph-cell:hover small { color: color-mix(in srgb, var(--paper) 65%, transparent); }
.glyph-pager { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 18px; }
.glyph-pager span { min-width: 76px; text-align: center; font-size: 13px; font-variant-numeric: tabular-nums; }
.glyph-pager button:disabled { opacity: .32; cursor: default; }
.dance-glyph-browser .glyph-grid { font-family: "Dancing Peoples", "Hada Sans", sans-serif; font-weight: 800; font-variation-settings: "DANC" 50; }
.batang-glyph-browser .glyph-grid { font-family: "Hada Batang", "Hada Sans", serif; font-weight: 400; }

.batang-weight-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--ink);
  background: var(--soft);
}
.batang-weight-board article {
  min-width: 0;
  min-height: 340px;
  display: grid;
  align-content: space-between;
  padding: 24px;
  overflow: hidden;
}
.batang-weight-board article + article { border-left: 1px solid var(--ink); }
.batang-weight-board span {
  font: 13px "Hada Sans", system-ui, sans-serif;
  text-transform: uppercase;
}
.batang-weight-board p {
  margin: 42px 0 0;
  font-size: clamp(42px, 7vw, 96px);
  line-height: 1.18;
  letter-spacing: -0.012em;
}

.dance-stage {
  min-height: 70svh;
  display: grid;
  place-items: center;
  padding: 80px 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 25%, rgba(255, 91, 54, 0.32), transparent 34vw),
    linear-gradient(90deg, rgba(247, 241, 223, 0.08) 1px, transparent 1px) 0 0 / 10vw 100%,
    var(--ink);
  color: var(--paper);
}
.dance-title { letter-spacing: 0; overflow: visible; }
.dance-line { display: flex; justify-content: center; align-items: center; white-space: nowrap; font-family: "Dancing Peoples"; font-weight: 800; font-size: clamp(54px, 10vw, 150px); line-height: 1.12; letter-spacing: 0; }
.dance-line span { display: inline-block; font-variation-settings: "DANC" var(--dance, 0); }
.dance-controls { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.dance-controls .button { border-color: currentColor; color: inherit; }
.dance-controls .button:hover, .dance-controls .button.active { background: var(--paper); color: var(--ink); }
.dance-input {
  width: min(520px, calc(100vw - 64px));
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid currentColor;
  border-radius: var(--radius-pill);
  background: transparent;
  color: inherit;
  outline: 0;
}
.dance-input:focus { background: var(--paper); color: var(--ink); }

.axis-diagram { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--ink); border: 1px solid; }
.axis-state { min-height: 430px; display: grid; place-items: center; background: var(--paper); font-family: "Dancing Peoples"; font-weight: 800; font-size: clamp(72px, 12vw, 170px); }
.axis-state small { align-self: end; justify-self: start; padding: 16px; font: 13px "Hada Sans"; }

.footer { display: flex; justify-content: space-between; padding-top: 28px; padding-bottom: 72px; font-size: 13px; }

@media (max-width: 760px) {
  body { background-size: 50% 100%; }
  .shell { width: 100vw; max-width: 100vw; padding-left: 18px; padding-right: 18px; overflow: hidden; }
  .brand { font-size: 15px; }
  .nav { gap: 8px; font-size: 11px; }
  .nav a[href="/LICENSE.txt"] { display: none; }
  .hero { min-height: 82svh; row-gap: 24px; padding-top: 44px; }
  .hero::after { top: 132px; right: -22px; font-size: clamp(74px, 30vw, 118px); line-height: .9; }
  .font-main--dancing .hero::after { top: 170px; right: -30px; font-size: clamp(72px, 29vw, 112px); }
  .hero h1 { max-width: calc(100vw - 36px); font-size: clamp(68px, 24vw, 142px); line-height: .98; letter-spacing: -0.055em; }
  .font-main--batang .hero h1 { font-size: clamp(58px, 17vw, 102px); line-height: 1.08; letter-spacing: -0.012em; }
  .font-main--dancing .hero h1 { font-size: clamp(56px, 18vw, 104px); line-height: 1.2; padding-block: .1em .16em; }
  .dance-title span { line-height: 1; }
  .hero-copy, .family-grid, .font-intro-board, .metric-board, .webfont-panel, .cdn-board, .axis-diagram, .batang-weight-board, .lyric-specimens { grid-template-columns: 1fr; }
  .hero-copy { gap: 30px; }
  .family-card { min-height: 380px; }
  .family-card + .family-card, .font-intro-card + .font-intro-card, .metric + .metric, .cdn-board a + a, .lab-notes article + article, .batang-weight-board article + article { border-left: 0; border-top: 1px solid; }
  .lab-notes { grid-template-columns: 1fr; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .section-title { display: block; }
  .section-title h2 {
    max-width: min(84vw, 340px);
    font-size: clamp(34px, 10.8vw, 56px);
    line-height: 1.16;
    letter-spacing: -0.018em;
    word-break: normal;
    overflow-wrap: anywhere;
  }
  .hero-copy p,
  .section-title p,
  .catalog-intro,
  .font-intro-card p,
  .bundle-strip p,
  .webfont-info p {
    max-width: min(82vw, 320px);
    font-size: 18px;
    line-height: 1.45;
  }
  .section-title p { margin-top: 24px; }
  .bundle-strip { display: block; }
  .bundle-strip .button { width: 100%; margin-top: 20px; }
  .weight-row { grid-template-columns: 86px 1fr; }
  .weight-row .formats { grid-column: 1 / -1; }
  .formats a { flex: 1; }
  .webfont-info dl div { grid-template-columns: 1fr; gap: 6px; }
  .code-sample { border-left: 0; border-top: 1px solid var(--ink); }
  .tester-toolbar { flex-wrap: wrap; }
  .axis-state { min-height: 260px; }
  .nav a:first-child { display: none; }
  .size-specimen { grid-template-columns: 56px minmax(0, 1fr); gap: 12px; }
  .lyric-card + .lyric-card { border-left: 0; border-top: 1px solid var(--ink); }
  .glyph-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .glyph-weight { width: 100%; margin: 8px 0 0; padding-left: 0; }
  .glyph-weight input { flex: 1; width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .family-card,
  .metric,
  .glyph-cell {
    transition: none;
  }
}

/* Copy-enabled code blocks and the webfont code stack */
.webfont-codes {
  min-width: 0;
  display: grid;
  gap: 16px;
  padding: 24px;
  border-left: 1px solid var(--ink);
}
.webfont-code { min-width: 0; display: grid; gap: 8px; }
.webfont-code-label {
  font-family: "Hada Sans", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.7;
}
.code-block { position: relative; min-width: 0; }
.webfont-codes .code-block .code-sample {
  border: 1px solid var(--ink);
  border-radius: 12px;
  padding-right: 52px;
}
.code-copy {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  color: var(--paper);
  background: color-mix(in srgb, var(--paper) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--paper) 40%, transparent);
  border-radius: 8px;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.code-copy:hover { background: color-mix(in srgb, var(--paper) 28%, transparent); }
.code-copy .icon-check { display: none; }
.code-copy.copied { color: var(--lime); border-color: var(--lime); }
.code-copy.copied .icon-copy { display: none; }
.code-copy.copied .icon-check { display: inline; }
