:root {
  --ink: #20221f;
  --paper: #f3f0e8;
  --white: #faf8f2;
  --blue: #788d80;
  --blue-dark: #20221f;
  --red: #a64638;
  --accent-soft: rgba(120, 141, 128, 0.14);
  --yellow: #f3f0e8;
  --mint: #f3f0e8;
  --pink: #faf8f2;
  --line: rgba(32, 34, 31, 0.16);
  --header-height: 92px;
  --sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body.dialog-open {
  overflow: hidden;
}

button,
input,
a {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

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

button {
  color: inherit;
}

::selection {
  background: var(--accent-soft, #e9eff6);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  display: grid;
  width: 100%;
  height: var(--header-height);
  grid-template-columns: auto minmax(0, 1fr) minmax(230px, 17vw);
  grid-template-rows: 33px minmax(0, 69px);
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  transition: background-color 220ms ease, color 220ms ease, border-color 220ms ease;
}

.site-header::before {
  position: absolute;
  z-index: 0;
  inset: 33px 0 0;
  background-image: url("assets/lotus-scroll-pattern.svg");
  background-position: center;
  background-repeat: repeat-x;
  background-size: 360px 69px;
  content: "";
  opacity: 0.055;
  pointer-events: none;
}

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

.site-header.is-scrolled,
.site-header.is-menu-open {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
}

.brand {
  display: flex;
  grid-column: 1;
  grid-row: 2;
  height: 100%;
  align-items: center;
  gap: 12px;
  padding: 0 42px 0 48px;
}

.brand-mark {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  background: var(--red);
  color: var(--white);
  font-family: var(--serif);
  font-size: 18px;
}

.brand-name {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
}

.site-nav {
  display: flex;
  grid-column: 2;
  grid-row: 2;
  height: 100%;
  align-items: center;
  justify-content: flex-start;
  gap: 32px;
  padding: 0 24px;
  white-space: nowrap;
}

.header-search {
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  grid-column: 3;
  grid-row: 2;
  grid-template-columns: minmax(0, 1fr) 24px;
  gap: 14px;
  align-items: center;
  padding: 0 28px 0 16px;
  border: 0;
  background: transparent;
  color: rgba(29, 29, 31, 0.48);
  cursor: pointer;
  text-align: left;
}

.header-search::after {
  position: absolute;
  right: 28px;
  bottom: 14px;
  left: 16px;
  height: 1px;
  background: currentColor;
  content: "";
  opacity: 0.65;
}

.header-search:hover {
  background: transparent;
  color: var(--blue);
}

.header-search span {
  overflow: hidden;
  font-family: var(--serif);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-search svg {
  width: 18px;
  height: 18px;
}

.site-nav a {
  position: relative;
  display: flex;
  height: 100%;
  align-items: center;
  padding: 0;
  font-size: 13px;
  font-weight: 500;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-index {
  display: flex;
  grid-column: 1 / -1;
  grid-row: 1;
  height: 100%;
  align-items: center;
  justify-content: flex-end;
  padding: 0 28px 0 48px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 9px;
}

.header-index::before {
  margin-right: auto;
  content: "中国瓷器数字知识志 / JINGDEZHEN";
  opacity: 0.58;
}

.menu-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border: 0;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease;
}

.hero {
  position: relative;
  display: grid;
  height: calc(100svh - 36px);
  min-height: calc(100svh - 54px);
  max-height: 820px;
  grid-template-columns: 44% 56%;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
}

.hero-copy {
  position: relative;
  z-index: 5;
  display: flex;
  min-height: 680px;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-height) + 44px) 7vw 54px;
}

.kicker,
.section-code {
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.kicker {
  display: flex;
  max-width: 430px;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid currentColor;
}

.hero h1 {
  position: relative;
  z-index: 1;
  margin: 28px 0 20px;
  font-family: var(--serif);
  font-size: 112px;
  font-weight: 700;
  line-height: 0.88;
}

.hero h1 span {
  display: block;
}

.hero h1 span:last-child {
  margin-left: 0.75em;
  color: var(--blue);
}

.hero-lead {
  max-width: 470px;
  margin: 0;
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 34px;
}

.button,
.text-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 24px;
  border: 0;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
}

.button {
  padding: 0 18px;
}

.button-primary {
  background: var(--blue);
  color: var(--white);
}

.button-primary:hover {
  background: var(--blue-dark);
}

.text-button {
  padding: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: inherit;
}

.hero-coordinate {
  display: grid;
  max-width: 310px;
  grid-template-columns: 1fr 1fr;
  gap: 5px 18px;
  margin-top: auto;
  padding-top: 28px;
  font-family: var(--mono);
  font-size: 10px;
}

.hero-coordinate strong {
  grid-column: 1 / -1;
}

.hero-object {
  position: relative;
  z-index: 3;
  min-width: 0;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #5e5f5b;
}

.hero-collection {
  display: grid;
  width: 100%;
  height: 100%;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-rows: repeat(12, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  background: #1d1d1f;
}

.collection-piece {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: #e7e7e8;
}

.collection-piece img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: filter 260ms ease, transform 420ms ease;
}

.collection-piece span {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 5px 7px;
  background: rgba(17, 24, 32, 0.84);
  color: var(--white);
  font-family: var(--mono);
  font-size: 8px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.collection-piece:hover img {
  filter: saturate(1.04) contrast(1.02);
  transform: scale(1.025);
}

.collection-piece:hover span {
  opacity: 1;
  transform: translateY(0);
}

.piece-tang { grid-column: 1 / 4; grid-row: 1 / 5; }
.piece-song { grid-column: 4 / 7; grid-row: 1 / 4; }
.piece-yuan { grid-column: 1 / 3; grid-row: 5 / 13; }
.piece-ming-dragon { grid-column: 3 / 5; grid-row: 4 / 9; }
.piece-ming-cup { grid-column: 5 / 7; grid-row: 4 / 8; }
.piece-qing { grid-column: 3 / 5; grid-row: 9 / 13; }
.piece-republic { grid-column: 5 / 7; grid-row: 8 / 13; }

.hero-object::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  content: "";
  pointer-events: none;
}

.hero-object figcaption {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  padding: 12px 14px;
  background: rgba(23, 24, 20, 0.86);
  color: var(--white);
  font-family: var(--mono);
  font-size: 10px;
}

.specimen-number {
  color: #91b8e5;
}

.scan-line {
  position: absolute;
  z-index: 2;
  top: 14%;
  right: 0;
  left: 0;
  height: 1px;
  background: #6fa4dd;
  box-shadow: 0 0 12px rgba(111, 164, 221, 0.72);
  animation: scan 7s linear infinite;
}

@keyframes scan {
  0% { transform: translateY(0); }
  50% { transform: translateY(480px); }
  100% { transform: translateY(0); }
}

.object-note {
  position: absolute;
  z-index: 3;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--blue-dark);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
}

.note-one { top: 34%; left: 18px; }
.note-two { top: 58%; right: 18px; }

.hero-plane {
  position: absolute;
  z-index: 1;
  display: none;
  pointer-events: none;
}

.plane-blue {
  top: 32%;
  left: 39%;
  width: 100px;
  height: 220px;
  background: var(--blue-dark);
  transform: skewY(-24deg);
}

.plane-red {
  top: 18%;
  left: 41%;
  width: 82px;
  height: 82px;
  background: var(--red);
  transform: rotate(45deg);
}

.plane-yellow {
  right: 4%;
  bottom: 5%;
  width: 120px;
  height: 52px;
  background: var(--yellow);
  transform: skewX(-32deg);
}

.scroll-cue {
  position: absolute;
  z-index: 6;
  bottom: 16px;
  left: calc(44% - 18px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 9px;
  writing-mode: vertical-rl;
}

.scroll-cue i {
  display: block;
  width: 1px;
  height: 40px;
  background: currentColor;
}

.intro-strip {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 2fr;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.stat-cell,
.intro-strip > p {
  min-height: 122px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.stat-cell {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stat-cell strong {
  color: var(--blue);
  font-family: var(--serif);
  font-size: 28px;
}

.stat-cell span {
  font-size: 12px;
}

.intro-strip > p {
  display: flex;
  align-items: center;
  margin: 0;
  border-right: 0;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.6;
}

.section-pad {
  padding: 112px 6vw;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  column-gap: 8vw;
}

.section-heading .section-code {
  grid-column: 1 / -1;
  margin-bottom: 34px;
}

.section-heading h2,
.forms-intro h2,
.glaze-title h2,
.craft-copy h2,
.voyage-heading h2,
.court-copy h2,
.closing h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 64px;
  line-height: 1.06;
}

.section-heading > p:last-child,
.forms-intro > p:last-child,
.craft-copy > p:last-child,
.voyage-heading > p:last-child {
  max-width: 560px;
  margin: 8px 0 0;
  align-self: end;
  font-size: 16px;
  line-height: 1.85;
}

.timeline {
  background: var(--paper);
}

.history-roll {
  margin-top: 72px;
  border: 1px solid var(--ink);
  background: var(--white);
}

.history-roll-header {
  display: grid;
  min-height: 88px;
  grid-template-columns: 1fr 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 16px 18px 16px 24px;
  border-bottom: 1px solid var(--ink);
}

.history-roll-header > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.history-roll-header span,
.era-focus-heading span {
  font-family: var(--mono);
  font-size: 9px;
}

.history-roll-header strong {
  font-family: var(--serif);
  font-size: 22px;
}

.history-roll-header p {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
}

.history-controls {
  display: flex;
  gap: 8px;
}

.history-controls button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--ink);
  background: transparent;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 24px;
}

.history-controls button:hover:not(:disabled) {
  background: var(--yellow);
  color: var(--blue);
}

.history-controls button:disabled {
  cursor: default;
  opacity: 0.28;
}

.history-track {
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: inline proximity;
  scrollbar-color: var(--blue) rgba(29, 29, 31, 0.1);
  scrollbar-width: thin;
}

.history-track ol {
  display: flex;
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
}

.history-track li {
  position: relative;
  display: flex;
  width: 250px;
  min-height: 330px;
  flex-direction: column;
  padding: 26px 24px 22px;
  border-right: 1px solid var(--ink);
  scroll-snap-align: start;
}

.history-track li::after {
  position: absolute;
  right: 24px;
  bottom: 25px;
  width: 8px;
  height: 8px;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
}

.history-track li:last-child {
  border-right: 0;
}

.history-year {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
}

.history-track h3 {
  margin: 54px 0 18px;
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1.08;
}

.history-track p {
  margin: 0 0 28px;
  font-size: 12px;
  line-height: 1.8;
}

.history-track small {
  margin-top: auto;
  padding-right: 18px;
  font-family: var(--mono);
  font-size: 9px;
}

.history-track .is-focus {
  width: 320px;
}

.history-track .focus-yuan {
  background: var(--blue);
  color: var(--white);
}

.history-track .focus-ming {
  background: var(--yellow);
  color: var(--ink);
}

.history-track .focus-qing {
  background: var(--blue-dark);
  color: var(--white);
}

.history-track .is-focus h3 {
  margin-top: 38px;
  font-size: 56px;
}

.history-track .is-focus a {
  width: max-content;
  margin-top: 17px;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  font-size: 11px;
  font-weight: 700;
}

.era-focus-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6vw;
  align-items: end;
  margin-top: 96px;
  padding-top: 24px;
  border-top: 1px solid var(--ink);
}

.era-focus-heading > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.era-focus-heading strong {
  font-family: var(--serif);
  font-size: 48px;
}

.era-focus-heading p {
  max-width: 520px;
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
}

.era-selector {
  position: relative;
  display: grid;
  margin-top: 76px;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.era-tab {
  position: relative;
  display: grid;
  min-height: 126px;
  grid-template-columns: auto 1fr;
  grid-template-rows: 1fr auto;
  gap: 0 18px;
  padding: 18px 24px;
  border: 0;
  border-right: 1px solid var(--ink);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.era-tab:nth-child(3) { border-right: 0; }

.era-tab span,
.era-tab i {
  font-family: var(--mono);
  font-size: 10px;
  font-style: normal;
}

.era-tab strong {
  grid-row: 1 / 3;
  align-self: center;
  font-family: var(--serif);
  font-size: 54px;
  line-height: 1;
}

.era-tab i { align-self: end; }

.era-tab:hover,
.era-tab.is-active {
  background: var(--ink);
  color: var(--white);
}

.era-tab.is-active strong { color: #91b8e5; }

.era-progress {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 4px;
  background: rgba(23, 24, 20, 0.16);
}

.era-progress span {
  display: block;
  width: 33.333%;
  height: 100%;
  background: var(--blue);
  transition: transform 350ms ease;
}

.era-display {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  margin-top: 70px;
}

.era-image {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background: #d9d8d1;
}

.era-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-inspect,
.glaze-zoom,
.court-inspect {
  position: absolute;
  right: 18px;
  bottom: 18px;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid var(--blue);
  background: var(--blue);
  color: var(--white);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.image-inspect:hover,
.glaze-zoom:hover,
.court-inspect:hover { background: var(--white); }

.era-stamp {
  position: absolute;
  top: 18px;
  left: 18px;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 1px solid var(--white);
  background: rgba(23, 24, 20, 0.76);
  color: var(--white);
  font-family: var(--serif);
  font-size: 36px;
}

.era-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 7vw 56px 6vw;
  border: 1px solid var(--line);
  border-left: 0;
  background: var(--white);
  color: var(--ink);
}

.era-range {
  margin: 0 0 30px;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 12px;
}

.era-copy h3 {
  max-width: 470px;
  margin: 0;
  font-family: var(--serif);
  font-size: 44px;
  line-height: 1.18;
}

.era-summary {
  max-width: 520px;
  margin: 26px 0 38px;
  font-size: 15px;
  line-height: 1.85;
}

.era-facts {
  margin: 0;
  border-top: 1px solid var(--line);
}

.era-facts div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.era-facts dt {
  font-family: var(--mono);
  font-size: 10px;
}

.era-facts dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
}

.object-credit {
  margin: 28px 0 0;
  opacity: 0.62;
  font-family: var(--mono);
  font-size: 9px;
}

.republic-feature {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(360px, 1.2fr);
  margin-top: 96px;
  border: 1px solid var(--line);
}

.republic-heading,
.republic-context {
  padding: 46px;
}

.republic-heading {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: var(--white);
  color: var(--ink);
}

.republic-heading::after {
  position: absolute;
  right: -50px;
  bottom: -72px;
  width: 210px;
  height: 210px;
  border: 1px solid var(--line);
  border-radius: 50%;
  content: "";
}

.republic-year {
  display: block;
  margin-top: 56px;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 12px;
}

.republic-heading h3 {
  margin: 16px 0 24px;
  font-family: var(--serif);
  font-size: 48px;
  line-height: 1.08;
}

.republic-heading > p:last-child,
.republic-context > p {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
}

.republic-context {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--line);
  background: var(--paper);
}

.republic-context blockquote {
  max-width: 650px;
  margin: 0 0 38px;
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1.5;
}

.friends-index {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--ink);
  background: var(--white);
}

.friends-index > div {
  display: flex;
  min-width: 0;
  min-height: 148px;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.friends-index > div:nth-child(5n) {
  border-right: 0;
}

.friends-index > div:nth-last-child(-n + 5) {
  border-bottom: 0;
}

.friends-index span,
.friends-index small {
  font-family: var(--mono);
  font-size: 8px;
}

.friends-index strong {
  font-family: var(--serif);
  font-size: 25px;
}

.friends-index .friend-related {
  background: var(--ink);
  color: var(--white);
}

.forms {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: 7vw;
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.forms-intro {
  position: sticky;
  top: 110px;
  height: max-content;
}

.forms-intro .section-code,
.glaze-title .section-code,
.craft-copy .section-code,
.voyage-heading .section-code,
.court-copy .section-code {
  margin-bottom: 34px;
}

.form-index {
  border-top: 1px solid var(--ink);
}

.form-item {
  display: grid;
  min-height: 310px;
  grid-template-columns: minmax(180px, 0.9fr) 1.1fr;
  border-bottom: 1px solid var(--ink);
}

.form-image {
  min-width: 0;
  overflow: hidden;
  border-right: 1px solid var(--ink);
  background: var(--white);
}

.form-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.form-item:hover .form-image img { transform: scale(1.05); }

.form-item > div:last-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
}

.form-item span {
  font-family: var(--mono);
  font-size: 10px;
}

.form-item h3 {
  margin: 10px 0;
  font-family: var(--serif);
  font-size: 52px;
  line-height: 1;
}

.form-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
}

.form-item:nth-child(even) { background: var(--white); }

.glazes {
  background: var(--ink);
  color: var(--white);
}

.glaze-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.glaze-title h2 { color: #a9c5e5; }

.glaze-lab {
  display: grid;
  grid-template-columns: 250px minmax(350px, 1fr) minmax(280px, 0.7fr);
  margin-top: 70px;
  border: 1px solid rgba(255, 255, 255, 0.52);
}

.swatch-list {
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255, 255, 255, 0.52);
}

.swatch-button {
  display: grid;
  flex: 1;
  min-height: 110px;
  grid-template-columns: 42px 1fr;
  grid-template-rows: 1fr 1fr;
  align-items: end;
  gap: 0 14px;
  padding: 18px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.38);
  background: transparent;
  color: var(--white);
  text-align: left;
  cursor: pointer;
}

.swatch-button:last-child { border-bottom: 0; }

.swatch-button:hover,
.swatch-button.is-active {
  background: var(--white);
  color: var(--ink);
}

.swatch-button strong {
  align-self: end;
  font-family: var(--serif);
  font-size: 20px;
}

.swatch-button small {
  align-self: start;
  font-family: var(--mono);
  font-size: 8px;
}

.swatch {
  display: block;
  width: 42px;
  height: 42px;
  grid-row: 1 / 3;
  align-self: center;
  border: 1px solid currentColor;
}

.swatch-bluewhite { background: #2e58a0; }
.swatch-red { background: #a7322a; }
.swatch-doucai { background: #e5c652; box-shadow: inset 14px 0 #2f814d, inset 28px 0 #b33230; }
.swatch-famille { background: #dda5a9; box-shadow: inset 21px 0 #77a887; }

.glaze-visual {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  background: #64645f;
}

.glaze-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 180ms ease;
}

.reticle {
  position: absolute;
  top: 42%;
  left: 53%;
  width: 110px;
  height: 110px;
  border: 1px solid #8bb6e4;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.reticle::before,
.reticle::after {
  position: absolute;
  background: #8bb6e4;
  content: "";
}

.reticle::before { top: 50%; left: -18px; width: 146px; height: 1px; }
.reticle::after { top: -18px; left: 50%; width: 1px; height: 146px; }

.reticle span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border: 1px solid #8bb6e4;
  transform: translate(-50%, -50%);
}

.glaze-data {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px;
  border-left: 1px solid rgba(255, 255, 255, 0.52);
}

.data-index,
.viewer-label {
  color: #a9c5e5;
  font-family: var(--mono);
  font-size: 10px;
}

.glaze-data h3 {
  margin: 22px 0 14px;
  font-family: var(--serif);
  font-size: 52px;
}

.glaze-data > p {
  margin: 0 0 28px;
  font-size: 14px;
  line-height: 1.8;
}

.glaze-data dl { margin: 0; }

.glaze-data dl div {
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.glaze-data dt {
  margin-bottom: 5px;
  opacity: 0.62;
  font-size: 10px;
}

.glaze-data dd { margin: 0; font-size: 12px; }

.craft {
  background: var(--white);
}

.craft-copy {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  column-gap: 8vw;
}

.craft-copy .section-code { grid-column: 1 / -1; }

.process-line {
  display: grid;
  margin: 76px 0 0;
  padding: 0;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  list-style: none;
}

.process-line li {
  display: flex;
  min-height: 150px;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  border-right: 1px solid var(--ink);
}

.process-line li:last-child { border-right: 0; background: var(--yellow); box-shadow: inset 0 3px var(--blue); }
.process-line span { font-family: var(--mono); font-size: 10px; }
.process-line strong { font-family: var(--serif); font-size: 23px; }
.process-line small { font-size: 10px; }

.kiln-console {
  display: grid;
  min-height: 380px;
  grid-template-columns: 1fr 1fr 0.8fr;
  margin-top: 46px;
  border: 1px solid var(--ink);
  background: var(--paper);
}

.temperature-readout,
.temperature-control {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 38px;
  border-right: 1px solid var(--ink);
}

.temperature-readout > span,
.temperature-control label {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
}

.temperature-readout strong {
  display: flex;
  align-items: flex-start;
  margin: 24px 0 12px;
  color: var(--red);
  font-family: var(--mono);
  font-size: 72px;
  line-height: 1;
}

.temperature-readout strong i {
  margin-top: 8px;
  font-size: 20px;
  font-style: normal;
}

.temperature-readout p {
  max-width: 430px;
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
}

.temperature-control input {
  width: 100%;
  margin: 42px 0 14px;
  accent-color: var(--red);
  cursor: ew-resize;
}

.range-labels {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 9px;
}

.kiln-window {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--ink);
}

.kiln-window span {
  display: block;
  width: 56%;
  aspect-ratio: 1;
  border: 16px solid #343630;
  border-radius: 50%;
  background: var(--red);
  transition: background-color 180ms ease;
}

.kiln-window i {
  position: absolute;
  width: 14%;
  height: 34%;
  background: var(--yellow);
  transform: skewX(-18deg);
}

.voyage {
  background: var(--paper);
}

.voyage-heading {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 7vw;
}

.voyage-heading .section-code { grid-column: 1 / -1; }

.voyage-heading h2 {
  color: var(--blue);
}

.route-map {
  position: relative;
  height: 260px;
  margin-top: 68px;
  border: 1px solid var(--ink);
  background-color: var(--white);
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 52px 52px;
}

.route-line {
  position: absolute;
  top: 126px;
  right: 8%;
  left: 8%;
  height: 2px;
  background: var(--ink);
}

.route-line span {
  position: absolute;
  top: -5px;
  right: 0;
  width: 12px;
  height: 12px;
  border-top: 2px solid var(--ink);
  border-right: 2px solid var(--ink);
  transform: rotate(45deg);
}

.route-stop {
  position: absolute;
  top: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateX(-50%);
}

.route-stop i {
  z-index: 1;
  display: block;
  width: 18px;
  height: 18px;
  margin: 17px 0 10px;
  border: 4px solid var(--white);
  border-radius: 50%;
  background: var(--blue);
  outline: 1px solid var(--ink);
}

.route-stop strong { font-family: var(--serif); font-size: 15px; }
.route-stop small { margin-top: 3px; font-size: 9px; }
.stop-jingdezhen { left: 10%; }
.stop-quanzhou { left: 34%; }
.stop-batavia { left: 58%; }
.stop-amsterdam { left: 86%; }
.route-caption { position: absolute; top: 15px; left: 16px; font-family: var(--mono); font-size: 9px; }

.voyage-stories {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 48px;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.story {
  display: grid;
  min-height: 540px;
  grid-template-rows: 1fr auto;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--white);
}

.story-wide {
  grid-column: 1 / -1;
  min-height: 440px;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: 1fr;
  background: var(--yellow);
  color: var(--ink);
}

.story img {
  width: 100%;
  height: 100%;
  min-height: 290px;
  object-fit: cover;
}

.story > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
}

.story span { font-family: var(--mono); font-size: 9px; }
.story h3 { margin: 18px 0 12px; font-family: var(--serif); font-size: 30px; line-height: 1.35; }
.story p { margin: 0; font-size: 13px; line-height: 1.8; }
.story-red { background: var(--paper); color: var(--ink); }

.court {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(400px, 0.85fr);
  gap: 0;
  padding: 0;
  background: var(--blue-dark);
  color: var(--white);
}

.court-object {
  position: relative;
  min-height: 800px;
  overflow: hidden;
}

.court-object img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.court-grid,
.viewer-grid {
  position: absolute;
  z-index: 2;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

.court-inspect { z-index: 3; }

.court-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 88px 6vw;
}

.court-copy h2 { color: var(--yellow); }

.court-lead {
  max-width: 520px;
  margin: 28px 0 48px;
  font-size: 15px;
  line-height: 1.85;
}

.archive-records {
  border-top: 1px solid rgba(255, 255, 255, 0.36);
}

.archive-records article {
  display: grid;
  grid-template-columns: 94px 70px 1fr;
  gap: 20px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.36);
}

.archive-records span { font-family: var(--mono); font-size: 8px; color: #a9c5e5; }
.archive-records h3 { margin: 0; font-family: var(--serif); font-size: 20px; }
.archive-records p { margin: 0; font-size: 12px; line-height: 1.65; }

.closing {
  display: grid;
  min-height: 560px;
  place-items: center;
  align-content: center;
  padding: 80px 24px;
  background: var(--white);
  text-align: center;
}

.closing > p { margin: 0 0 24px; font-family: var(--mono); font-size: 10px; }
.closing h2 { color: var(--ink); }
.button-dark { margin-top: 42px; background: var(--ink); color: var(--white); }
.button-dark:hover { background: var(--blue); color: var(--white); }

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 1.15fr) minmax(130px, 0.55fr) minmax(240px, 0.9fr) minmax(280px, 0.95fr);
  gap: 40px 5vw;
  align-items: start;
  padding: 64px 5vw 28px;
  background: var(--ink);
  color: var(--white);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand strong {
  font-family: var(--serif);
  font-size: 22px;
}

.footer-overview > p {
  max-width: 330px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  line-height: 1.8;
}

.footer-signature,
.footer-label {
  color: rgba(255, 255, 255, 0.48);
  font-family: var(--mono);
  font-size: 8px;
}

.footer-signature {
  display: block;
  margin-top: 28px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-nav .footer-label,
.footer-contact .footer-label {
  margin-bottom: 10px;
}

.footer-nav a {
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  font-size: 12px;
}

.footer-nav a:hover {
  border-color: currentColor;
}

.footer-contact {
  font-style: normal;
}

.footer-contact dl {
  margin: 18px 0 0;
}

.footer-contact dl > div {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-contact dt {
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
}

.footer-contact dd {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
}

.footer-share {
  display: grid;
  grid-template-columns: 116px minmax(130px, 1fr);
  gap: 22px;
  align-items: center;
}

.footer-qr {
  display: grid;
  width: 116px;
  aspect-ratio: 1;
  place-items: center;
  padding: 6px;
  background: var(--white);
  color: var(--ink);
}

.footer-qr > span {
  font-family: var(--mono);
  font-size: 12px;
}

.footer-qr svg {
  display: block;
  width: 100%;
  height: 100%;
}

.footer-share strong {
  display: block;
  margin-top: 14px;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.4;
}

.footer-share a {
  display: inline-block;
  max-width: 180px;
  margin-top: 16px;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.footer-legal {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto auto auto;
  gap: 18px 32px;
  align-items: end;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.site-footer p { margin: 0; font-size: 11px; line-height: 1.7; }
.source-list { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 10px; }
.source-list span { width: 100%; opacity: 0.62; }
.source-list a { border-bottom: 1px solid currentColor; }
.footer-legal > p { color: rgba(255, 255, 255, 0.56); white-space: nowrap; }
.site-footer small { opacity: 0.55; font-family: var(--mono); font-size: 9px; white-space: nowrap; }

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.detail-dialog {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--ink);
  color: var(--white);
}

.detail-dialog::backdrop { background: rgba(13, 15, 13, 0.9); }
.dialog-shell { display: flex; height: 100%; flex-direction: column; }
.dialog-header { display: flex; min-height: 74px; align-items: center; justify-content: space-between; padding: 12px 22px; border-bottom: 1px solid rgba(255,255,255,.35); }
.dialog-header > div { display: flex; flex-direction: column; gap: 4px; }
.dialog-header span { color: #a9c5e5; font-family: var(--mono); font-size: 9px; }
.dialog-header strong { font-family: var(--serif); font-size: 20px; }
.icon-button { display: inline-grid; width: 42px; height: 42px; place-items: center; border: 1px solid currentColor; background: transparent; color: inherit; cursor: pointer; font-family: var(--mono); font-size: 22px; }
.icon-button:hover { background: var(--blue); color: var(--white); }
.viewer-layout { display: grid; min-height: 0; flex: 1; grid-template-columns: minmax(0, 1fr) 290px; }
.viewer-stage { position: relative; display: grid; min-height: 0; place-items: center; overflow: hidden; background: #4b4c48; cursor: grab; touch-action: none; }
.viewer-stage.is-dragging { cursor: grabbing; }
.viewer-stage img { width: 100%; height: 100%; object-fit: contain; user-select: none; will-change: transform; }
.viewer-panel { display: flex; flex-direction: column; justify-content: center; padding: 28px; border-left: 1px solid rgba(255,255,255,.35); }
.viewer-panel > p { margin: 20px 0 28px; font-size: 13px; line-height: 1.7; }
.viewer-controls { display: grid; grid-template-columns: 42px 1fr 42px 42px; gap: 8px; align-items: center; }
.viewer-controls output { text-align: center; font-family: var(--mono); font-size: 11px; }
.viewer-panel dl { margin: 36px 0 0; }
.viewer-panel dl div { padding: 12px 0; border-top: 1px solid rgba(255,255,255,.25); }
.viewer-panel dt { margin-bottom: 4px; opacity: .5; font-size: 9px; }
.viewer-panel dd { margin: 0; font-size: 11px; }

@media (max-width: 1100px) {
  :root { --header-height: 72px; }
  .site-header {
    grid-template-columns: auto minmax(0, 1fr) 190px;
    grid-template-rows: 1fr;
  }
  .site-header::before { inset: 0; background-size: 360px 72px; }
  .brand { grid-row: 1; padding: 0 24px; }
  .site-nav { grid-row: 1; }
  .header-search { grid-row: 1; }
  .site-nav { gap: 16px; }
  .site-nav a { font-size: 11px; }
  .header-index { display: none; }
  .hero h1 { font-size: 88px; }
  .section-heading h2,
  .forms-intro h2,
  .glaze-title h2,
  .craft-copy h2,
  .voyage-heading h2,
  .court-copy h2,
  .closing h2 { font-size: 52px; }
  .glaze-lab { grid-template-columns: 190px minmax(300px, 1fr) 250px; }
  .glaze-data { padding: 24px; }
  .glaze-data h3 { font-size: 42px; }
  .kiln-console { grid-template-columns: 1fr 1fr; }
  .kiln-window { min-height: 260px; grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  :root { --header-height: 58px; }
  .site-header { grid-template-columns: minmax(0, 1fr) 52px 52px; }
  .brand { grid-column: 1; grid-row: 1; border-right: 0; padding: 0 16px; }
  .brand-name { font-size: 17px; }
  .brand-mark { width: 30px; height: 30px; font-size: 17px; }
  .header-search {
    width: 52px;
    grid-column: 2;
    grid-row: 1;
    grid-template-columns: 1fr;
    place-items: center;
    padding: 0;
    border-left: 1px solid var(--line);
  }
  .header-search::after,
  .header-search span { display: none; }
  .menu-toggle { display: block; grid-column: 3; grid-row: 1; }
  .site-header.is-menu-open .menu-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .site-header.is-menu-open .menu-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .site-nav {
    position: absolute;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: none;
    height: auto;
    grid-column: auto;
    grid-row: auto;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    padding: 0;
    border-bottom: 1px solid var(--ink);
    background: var(--paper);
    color: var(--ink);
  }
  .site-header.is-menu-open .site-nav { display: grid; }
  .site-nav a { padding: 17px 4px; border-right: 1px solid var(--ink); font-size: 12px; text-align: center; white-space: nowrap; }
  .site-nav a:last-child { border-right: 0; }
  .hero { height: auto; min-height: auto; max-height: none; grid-template-columns: 1fr; }
  .hero-copy { min-height: 620px; padding: 104px 8vw 40px; }
  .hero h1 { font-size: 78px; }
  .hero-object { height: 76svh; min-height: 580px; }
  .hero-plane, .scroll-cue { display: none; }
  .intro-strip { grid-template-columns: repeat(3, 1fr); }
  .intro-strip > p { grid-column: 1 / -1; min-height: 100px; border-top: 1px solid var(--ink); }
  .section-pad { padding: 84px 5vw; }
  .section-heading { grid-template-columns: 1fr; }
  .section-heading > p:last-child { margin-top: 28px; }
  .history-roll-header { grid-template-columns: 1fr auto; }
  .history-roll-header > p { grid-column: 1 / -1; grid-row: 2; }
  .history-controls { grid-column: 2; grid-row: 1; }
  .era-focus-heading { grid-template-columns: 1fr; }
  .era-focus-heading p { margin-top: 16px; }
  .era-display { grid-template-columns: 1fr; }
  .era-image { min-height: 620px; }
  .era-copy { padding: 50px 6vw; }
  .republic-feature { grid-template-columns: 1fr; }
  .republic-heading { min-height: 460px; }
  .friends-index { grid-template-columns: repeat(2, 1fr); }
  .friends-index > div:nth-child(5n) { border-right: 1px solid var(--ink); }
  .friends-index > div:nth-child(2n) { border-right: 0; }
  .friends-index > div:nth-last-child(-n + 5) { border-bottom: 1px solid var(--ink); }
  .friends-index > div:nth-last-child(-n + 2) { border-bottom: 0; }
  .forms { grid-template-columns: 1fr; }
  .forms-intro { position: static; }
  .glaze-title { display: block; }
  .glaze-lab { grid-template-columns: 150px 1fr; }
  .glaze-data { grid-column: 1 / -1; min-height: 350px; border-top: 1px solid rgba(255,255,255,.52); border-left: 0; }
  .craft-copy, .voyage-heading { grid-template-columns: 1fr; }
  .craft-copy > p:last-child, .voyage-heading > p:last-child { margin-top: 28px; }
  .process-line { grid-template-columns: repeat(3, 1fr); }
  .process-line li:nth-child(3) { border-right: 0; }
  .process-line li:nth-child(-n + 3) { border-bottom: 1px solid var(--ink); }
  .story-wide { grid-template-columns: 1fr; grid-template-rows: 380px auto; }
  .court { grid-template-columns: 1fr; }
  .court-object { min-height: 720px; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .footer-legal { grid-template-columns: 1fr auto; }
  .footer-legal .source-list { grid-column: 1 / -1; }
  .viewer-layout { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; }
  .viewer-panel { padding: 14px 18px; border-top: 1px solid rgba(255,255,255,.35); border-left: 0; }
  .viewer-panel > p, .viewer-panel dl { display: none; }
}

@media (max-width: 560px) {
  .site-footer {
    grid-template-columns: 1fr;
  }
  .footer-legal {
    grid-template-columns: 1fr;
  }
  .hero {
    display: block;
    height: calc(100svh - 32px);
    min-height: 620px;
  }
  .hero-copy {
    position: relative;
    width: 64%;
    height: 100%;
    min-height: 0;
    padding: 84px 18px 26px;
    background: var(--paper);
  }
  .kicker {
    display: block;
    font-size: 8px;
    line-height: 1.5;
  }
  .kicker span:last-child { display: block; margin-top: 5px; }
  .hero h1 { margin: 23px 0 16px; font-size: 54px; }
  .hero h1 span:last-child { margin-left: 0.3em; }
  .hero-lead { max-width: 210px; font-size: 17px; line-height: 1.65; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 13px; margin-top: 24px; }
  .hero-actions .button { gap: 16px; padding: 0 14px; }
  .hero-actions .text-button { min-height: 38px; font-size: 12px; }
  .hero-coordinate { display: none; }
  .hero-object {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    min-height: 0;
  }
  .hero-collection {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(3, minmax(0, 1fr));
  }
  .collection-piece { display: none; }
  .piece-yuan { display: block; grid-column: 1 / 3; grid-row: 1 / 3; }
  .piece-ming-cup { display: block; grid-column: 3; grid-row: 1; }
  .piece-qing { display: block; grid-column: 2 / 4; grid-row: 2 / 4; }
  .piece-republic { display: block; grid-column: 1; grid-row: 3; }
  .collection-piece span { display: none; }
  .hero-object figcaption {
    right: 9px;
    bottom: 9px;
    left: auto;
    display: block;
    padding: 8px;
  }
  .hero-object figcaption span:not(:first-child) { display: none; }
  .object-note { display: none; }
  .intro-strip { grid-template-columns: 1fr; }
  .stat-cell { min-height: 88px; border-right: 0; border-bottom: 1px solid var(--ink); }
  .stat-cell strong { font-size: 22px; }
  .intro-strip > p { grid-column: auto; }
  .section-heading h2,
  .forms-intro h2,
  .glaze-title h2,
  .craft-copy h2,
  .voyage-heading h2,
  .court-copy h2,
  .closing h2 { font-size: 41px; }
  .history-roll { margin-top: 48px; }
  .history-roll-header { min-height: 116px; gap: 12px; padding: 14px; }
  .history-roll-header p { font-size: 10px; }
  .history-controls button { width: 38px; height: 38px; }
  .history-track li { width: 228px; min-height: 318px; padding: 22px 18px; }
  .history-track h3 { margin-top: 46px; font-size: 31px; }
  .history-track .is-focus { width: 270px; }
  .history-track .is-focus h3 { font-size: 48px; }
  .era-focus-heading { margin-top: 72px; }
  .era-focus-heading strong { font-size: 39px; }
  .era-selector { margin-top: 48px; }
  .era-tab { min-height: 105px; grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; gap: 5px; padding: 12px; }
  .era-tab strong { grid-row: auto; font-size: 38px; }
  .era-tab i { font-size: 8px; }
  .era-image { min-height: 500px; }
  .era-copy h3 { font-size: 34px; }
  .republic-feature { margin-top: 72px; }
  .republic-heading,
  .republic-context { padding: 28px; }
  .republic-heading { min-height: 420px; }
  .republic-year { margin-top: 42px; }
  .republic-heading h3 { font-size: 40px; }
  .republic-context blockquote { margin-bottom: 26px; font-size: 25px; }
  .friends-index > div { min-height: 124px; padding: 13px; }
  .friends-index strong { font-size: 22px; }
  .form-item { min-height: 230px; grid-template-columns: 45% 55%; }
  .form-item > div:last-child { padding: 18px; }
  .form-item h3 { font-size: 38px; }
  .form-item p { font-size: 12px; }
  .glaze-lab { grid-template-columns: 1fr; }
  .swatch-list { display: grid; grid-template-columns: 1fr 1fr; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.52); }
  .swatch-button { min-height: 92px; border-right: 1px solid rgba(255,255,255,.38); }
  .swatch-button:nth-child(2) { border-right: 0; }
  .glaze-visual { min-height: 500px; }
  .glaze-data { grid-column: auto; }
  .process-line { grid-template-columns: repeat(2, 1fr); }
  .process-line li:nth-child(3) { border-right: 1px solid var(--ink); }
  .process-line li:nth-child(even) { border-right: 0; }
  .process-line li:nth-child(4) { border-bottom: 1px solid var(--ink); }
  .kiln-console { grid-template-columns: 1fr; }
  .temperature-readout, .temperature-control { padding: 26px; border-right: 0; border-bottom: 1px solid var(--ink); }
  .temperature-readout strong { font-size: 55px; }
  .route-map { height: 360px; background-size: 40px 40px; }
  .route-line { top: 48px; bottom: 42px; left: 45px; width: 2px; height: auto; }
  .route-line span { top: auto; right: -5px; bottom: 0; transform: rotate(135deg); }
  .route-stop { top: auto; left: 20px !important; flex-direction: row; gap: 8px; transform: none; }
  .route-stop i { margin: 0 10px 0 16px; }
  .stop-jingdezhen { top: 42px; }
  .stop-quanzhou { top: 120px; }
  .stop-batavia { top: 198px; }
  .stop-amsterdam { top: 276px; }
  .route-caption { right: 12px; left: auto; writing-mode: vertical-rl; }
  .voyage-stories { grid-template-columns: 1fr; }
  .story-wide { grid-column: auto; grid-template-rows: 280px auto; }
  .story { min-height: 490px; }
  .court-object { min-height: 580px; }
  .court-copy { padding: 72px 6vw; }
  .archive-records article { grid-template-columns: 72px 55px 1fr; gap: 10px; }
  .closing { min-height: 500px; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-legal { grid-template-columns: 1fr; align-items: start; }
  .footer-legal .source-list { grid-column: auto; }
  .footer-legal > p { white-space: normal; }
  .detail-dialog { height: 100dvh; }
  .dialog-header strong { font-size: 16px; }
}

/* Search */
.search-dialog {
  width: min(760px, calc(100% - 32px));
  max-width: none;
  max-height: min(820px, calc(100svh - 40px));
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 28px 90px rgba(17, 24, 32, 0.25);
}

.search-dialog::backdrop {
  background: rgba(17, 24, 32, 0.52);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.search-shell {
  display: flex;
  max-height: min(820px, calc(100svh - 40px));
  flex-direction: column;
}

.search-bar {
  display: grid;
  min-height: 76px;
  grid-template-columns: 54px minmax(0, 1fr) 58px;
  align-items: center;
  border-bottom: 1px solid var(--ink);
}

.search-bar > svg {
  width: 20px;
  height: 20px;
  justify-self: center;
  color: var(--blue);
}

.search-bar label {
  min-width: 0;
}

.search-input {
  width: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 22px;
}

.search-input::placeholder {
  color: rgba(29, 29, 31, 0.42);
}

.search-close {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  padding: 0;
  border: 0;
  border-left: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
}

.search-close:hover {
  background: var(--paper);
}

.search-close svg {
  width: 19px;
  height: 19px;
}

.search-status {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
  color: rgba(29, 29, 31, 0.62);
  font-family: var(--mono);
  font-size: 9px;
}

.search-results {
  margin: 0;
  padding: 0;
  overflow-y: auto;
  list-style: none;
}

.search-result a {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr) 20px;
  gap: 20px;
  align-items: start;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}

.search-result a:hover {
  background: var(--paper);
}

.search-result-section {
  padding-top: 4px;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
}

.search-result strong {
  display: block;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.35;
}

.search-result p {
  margin: 8px 0 0;
  color: rgba(29, 29, 31, 0.68);
  font-size: 12px;
  line-height: 1.7;
}

.search-result-arrow {
  padding-top: 3px;
  color: var(--blue);
}

.search-empty {
  padding: 72px 24px;
  color: rgba(29, 29, 31, 0.62);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.7;
  text-align: center;
}

@media (max-width: 560px) {
  .search-dialog { width: calc(100% - 20px); max-height: calc(100svh - 20px); }
  .search-shell { max-height: calc(100svh - 20px); }
  .search-bar { min-height: 64px; grid-template-columns: 46px minmax(0, 1fr) 50px; }
  .search-input { font-size: 17px; }
  .search-status { padding: 0 16px; }
  .search-result a { grid-template-columns: 1fr 18px; gap: 8px; padding: 18px 16px; }
  .search-result-section { grid-column: 1 / -1; }
  .search-result strong { font-size: 18px; }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.knowledge-portal {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.knowledge-portal-inner {
  padding: 112px 6vw 96px;
}

.knowledge-portal-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.72fr);
  gap: 8vw;
  align-items: start;
}

.knowledge-portal-heading h2 {
  max-width: 760px;
  margin: 22px 0 0;
  font-family: var(--serif);
  font-size: 50px;
  font-weight: 600;
  line-height: 1.2;
}

.knowledge-portal-intro > p {
  max-width: 660px;
  margin: 0;
  color: rgba(32, 34, 31, 0.72);
  font-size: 16px;
  line-height: 1.9;
}

.knowledge-portal-intro dl {
  display: grid;
  margin: 42px 0 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.knowledge-portal-intro dl > div {
  min-height: 94px;
  padding: 18px 14px;
  border-right: 1px solid var(--line);
}

.knowledge-portal-intro dl > div:last-child {
  border-right: 0;
}

.knowledge-portal-intro dt {
  margin-bottom: 12px;
  color: rgba(32, 34, 31, 0.55);
  font-family: var(--mono);
  font-size: 9px;
}

.knowledge-portal-intro dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 20px;
}

.knowledge-portal-intro dd small {
  margin-left: 3px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
}

.knowledge-toolbar {
  display: grid;
  margin-top: 84px;
  grid-template-columns: minmax(310px, 0.72fr) minmax(0, 1.28fr);
  border: 1px solid var(--ink);
  background: var(--paper);
}

.knowledge-search {
  display: grid;
  min-height: 66px;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 0 22px;
  border-right: 1px solid var(--ink);
}

.knowledge-search svg,
.article-library-search svg,
.home-search-command svg {
  width: 20px;
  height: 20px;
}

.knowledge-search input,
.article-library-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
}

.knowledge-search input::placeholder,
.article-library-search input::placeholder {
  color: rgba(32, 34, 31, 0.48);
}

.knowledge-filters {
  display: flex;
  min-width: 0;
}

.knowledge-filters button {
  min-width: 0;
  flex: 1 1 0;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  transition: background-color 180ms ease, color 180ms ease;
}

.knowledge-filters button:last-child {
  border-right: 0;
}

.knowledge-filters button:hover,
.knowledge-filters button.is-active {
  background: var(--ink);
  color: var(--white);
}

.knowledge-result-head {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border-bottom: 1px solid var(--ink);
  color: rgba(32, 34, 31, 0.62);
  font-family: var(--mono);
  font-size: 9px;
}

.knowledge-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.knowledge-list > li {
  border-bottom: 1px solid var(--line);
}

.knowledge-list > li > a {
  display: grid;
  min-height: 188px;
  grid-template-columns: 56px minmax(0, 1fr) 28px;
  gap: 24px;
  align-items: start;
  padding: 28px 16px 26px;
  transition: background-color 180ms ease;
}

.knowledge-list > li > a:hover {
  background: var(--accent-soft);
}

.knowledge-entry-index {
  padding-top: 3px;
  color: var(--red);
  font-family: var(--mono);
  font-size: 10px;
}

.knowledge-entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  color: rgba(32, 34, 31, 0.56);
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
}

.knowledge-entry-copy h3 {
  margin: 12px 0 10px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 600;
  line-height: 1.35;
}

.knowledge-entry-copy > p {
  max-width: 790px;
  margin: 0;
  color: rgba(32, 34, 31, 0.7);
  font-size: 13px;
  line-height: 1.75;
}

.knowledge-entry-copy ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 17px 0 0;
  padding: 0;
  color: rgba(32, 34, 31, 0.55);
  font-size: 10px;
  list-style: none;
}

.knowledge-entry-copy li::before {
  margin-right: 6px;
  color: var(--blue);
  content: "·";
}

.knowledge-entry-arrow {
  color: var(--red);
  font-size: 20px;
  transition: transform 180ms ease;
}

.knowledge-list a:hover .knowledge-entry-arrow {
  transform: translate(2px, -2px);
}

.knowledge-empty {
  margin: 0;
  padding: 42px 16px;
  border-bottom: 1px solid var(--line);
  color: rgba(32, 34, 31, 0.64);
  font-size: 14px;
}

.knowledge-portal-note {
  display: grid;
  margin-top: 34px;
  grid-template-columns: 220px minmax(0, 680px);
  gap: 28px;
  justify-content: end;
  color: rgba(32, 34, 31, 0.58);
}

.knowledge-portal-note span {
  padding-top: 3px;
  font-family: var(--mono);
  font-size: 8px;
}

.knowledge-portal-note p {
  margin: 0;
  font-size: 11px;
  line-height: 1.75;
}

.home-library-entry {
  padding: 108px 6vw 96px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.home-library-entry > header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.74fr);
  gap: 9vw;
}

.home-library-entry h2 {
  margin: 22px 0 0;
  font-family: var(--serif);
  font-size: 45px;
  font-weight: 600;
  line-height: 1.22;
}

.home-library-entry > header > div:last-child > p {
  margin: 3px 0 26px;
  color: rgba(32, 34, 31, 0.7);
  font-size: 15px;
  line-height: 1.9;
}

.home-search-command {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.home-library-entry > nav {
  display: grid;
  margin-top: 76px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.home-library-entry > nav a {
  display: grid;
  min-height: 154px;
  grid-template-rows: auto 1fr auto;
  padding: 22px 18px 18px;
  border-right: 1px solid var(--line);
  transition: background-color 180ms ease;
}

.home-library-entry > nav a:last-child {
  border-right: 0;
}

.home-library-entry > nav a:hover {
  background: var(--white);
}

.home-library-entry > nav span,
.home-library-entry > nav small {
  color: rgba(32, 34, 31, 0.48);
  font-family: var(--mono);
  font-size: 9px;
}

.home-library-entry > nav strong {
  align-self: center;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
}

.article-library-search {
  display: grid;
  margin-top: 52px;
  grid-template-columns: minmax(220px, 0.42fr) minmax(320px, 0.58fr);
  align-items: stretch;
  border: 1px solid var(--ink);
  background: var(--paper);
}

.article-library-search label {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 16px 20px;
  border-right: 1px solid var(--ink);
}

.article-library-search label span {
  color: rgba(32, 34, 31, 0.5);
  font-family: var(--mono);
  font-size: 8px;
}

.article-library-search label strong {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
}

.article-library-search > div {
  display: grid;
  min-height: 66px;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 0 22px;
}

@media (max-width: 1100px) {
  .knowledge-portal-heading {
    grid-template-columns: minmax(0, 0.88fr) minmax(360px, 0.72fr);
    gap: 5vw;
  }
  .knowledge-portal-heading h2 { font-size: 43px; }
  .knowledge-toolbar { grid-template-columns: 1fr; }
  .knowledge-search { border-right: 0; border-bottom: 1px solid var(--ink); }
  .knowledge-filters button { min-height: 54px; }
  .knowledge-list > li > a { grid-template-columns: 46px minmax(0, 1fr) 24px; gap: 18px; }
  .home-library-entry > nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-library-entry > nav a:nth-child(3) { border-right: 0; }
  .home-library-entry > nav a:nth-child(n + 4) { border-top: 1px solid var(--line); }
}

@media (max-width: 820px) {
  .knowledge-portal-inner { padding: 88px 6vw 80px; }
  .knowledge-portal-heading,
  .home-library-entry > header { grid-template-columns: 1fr; gap: 42px; }
  .knowledge-portal-intro dl { margin-top: 30px; }
  .knowledge-toolbar { margin-top: 62px; }
  .knowledge-list > li > a { grid-template-columns: 44px minmax(0, 1fr) 24px; }
  .knowledge-entry-copy h3 { font-size: 23px; }
  .knowledge-portal-note { grid-template-columns: 150px minmax(0, 1fr); }
  .home-library-entry { padding: 88px 6vw 80px; }
  .home-library-entry h2 { font-size: 40px; }
  .article-library-search { grid-template-columns: 1fr; }
  .article-library-search label { border-right: 0; border-bottom: 1px solid var(--ink); }
}

@media (max-width: 560px) {
  .knowledge-portal-inner { padding: 76px 20px 68px; }
  .knowledge-portal-heading h2 { font-size: 36px; }
  .knowledge-portal-intro > p { font-size: 14px; }
  .knowledge-portal-intro dl { grid-template-columns: 1fr 1fr; }
  .knowledge-portal-intro dl > div { min-height: 80px; }
  .knowledge-portal-intro dl > div:nth-child(2) { border-right: 0; }
  .knowledge-portal-intro dl > div:last-child { grid-column: 1 / -1; border-top: 1px solid var(--line); }
  .knowledge-toolbar { margin-top: 48px; }
  .knowledge-search { min-height: 60px; padding: 0 16px; }
  .knowledge-filters { overflow-x: auto; }
  .knowledge-filters button { min-width: max-content; flex: 0 0 auto; padding: 0 15px; }
  .knowledge-result-head { min-height: 50px; padding: 0 10px; }
  .knowledge-list > li > a {
    min-height: 0;
    grid-template-columns: 30px minmax(0, 1fr) 18px;
    gap: 8px;
    padding: 23px 9px 22px;
  }
  .knowledge-entry-copy h3 { margin-top: 9px; font-size: 20px; }
  .knowledge-entry-copy > p { font-size: 12px; line-height: 1.7; }
  .knowledge-entry-copy ul { gap: 5px 10px; margin-top: 13px; }
  .knowledge-entry-copy li:nth-child(n + 4) { display: none; }
  .knowledge-entry-arrow { font-size: 16px; }
  .knowledge-portal-note { grid-template-columns: 1fr; gap: 8px; }
  .home-library-entry { padding: 76px 20px 68px; }
  .home-library-entry h2 { font-size: 36px; }
  .home-library-entry > nav { margin-top: 52px; grid-template-columns: 1fr; }
  .home-library-entry > nav a {
    min-height: 92px;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    grid-template-rows: 1fr;
    align-items: center;
    padding: 0 12px;
    border-top: 1px solid var(--line);
    border-right: 0;
  }
  .home-library-entry > nav a:first-child { border-top: 0; }
  .home-library-entry > nav strong { align-self: center; font-size: 17px; }
  .article-library-search { margin-top: 40px; }
  .article-library-search label { padding: 14px 16px; }
  .article-library-search > div { min-height: 60px; padding: 0 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* Multi-page editorial structure */
.page-hero {
  display: grid;
  height: calc(100svh - 36px);
  min-height: 680px;
  max-height: 820px;
  grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr);
  overflow: hidden;
  background: var(--paper);
}

.page-hero-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-height) + 54px) 8vw 68px 6vw;
}

.page-hero-copy h1 {
  margin: 34px 0 28px;
  font-family: var(--serif);
  font-size: 72px;
  line-height: 1.08;
}

.page-hero-copy > p:not(.section-code) {
  max-width: 560px;
  margin: 0;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.8;
}

.page-hero-copy .text-button {
  width: max-content;
  margin-top: 38px;
}

.page-hero > figure {
  position: relative;
  min-width: 0;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #666764;
}

.page-hero > figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero > figure figcaption {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  padding: 12px 14px;
  background: rgba(17, 24, 32, 0.84);
  color: var(--white);
  font-family: var(--mono);
  font-size: 9px;
}

.page-hero-history > figure img,
.page-hero-dark > figure img {
  object-fit: contain;
}

.page-hero-dark {
  background: var(--blue-dark);
  color: var(--white);
}

.page-hero-dark > figure {
  background: #4e504f;
}

.home-thesis {
  display: grid;
  grid-template-columns: minmax(180px, 0.45fr) minmax(420px, 1.1fr) minmax(280px, 0.75fr);
  gap: 6vw;
  padding: 112px 6vw;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.home-thesis blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1.55;
}

.home-thesis h2 {
  max-width: 260px;
  margin: 26px 0 0;
  font-family: var(--serif);
  font-size: 38px;
  line-height: 1.25;
}

.home-thesis-copy {
  margin-top: 3px;
}

.home-thesis-copy p {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
}

.home-thesis-copy p + p {
  margin-top: 18px;
}

.home-thesis > p:last-child {
  margin: 7px 0 0;
  font-size: 14px;
  line-height: 1.9;
}

.home-craft {
  padding: 120px 6vw;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.craft-overview {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(360px, 1.05fr) minmax(240px, 0.62fr);
  gap: 6vw;
  align-items: end;
}

.craft-overview h2,
.reading-band h2,
.trade-notes h2 {
  margin: 30px 0 0;
  font-family: var(--serif);
  font-size: 56px;
  line-height: 1.15;
}

.craft-lead {
  margin: 0;
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.78;
}

.craft-overview aside {
  padding: 24px 0 4px;
  border-top: 1px solid var(--ink);
}

.craft-overview aside span,
.craft-process-grid > li > div > span,
.craft-process-grid small,
.craft-closing small {
  font-family: var(--mono);
  font-size: 9px;
}

.craft-overview aside strong {
  display: block;
  margin-top: 18px;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.45;
}

.craft-overview aside p {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.75;
}

.craft-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 76px 0 0;
  padding: 0;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
  list-style: none;
}

.craft-process-grid > li {
  display: grid;
  min-width: 0;
  grid-template-rows: auto 1fr;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--white);
}

.craft-process-grid figure {
  position: relative;
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--ink);
  background: #f0efe9;
}

.craft-process-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
  filter: contrast(1.04);
  transition: transform 500ms ease;
}

.craft-process-grid li:hover img {
  transform: scale(1.025);
}

.craft-process-grid figcaption {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  padding: 7px 9px;
  background: rgba(29, 29, 31, 0.82);
  color: var(--white);
  font-family: var(--mono);
  font-size: 8px;
}

.craft-process-grid > li > div {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  padding: 26px 24px 22px;
}

.craft-process-grid > li > div > span {
  color: var(--blue);
  font-weight: 700;
}

.craft-process-grid h3 {
  margin: 18px 0 14px;
  font-family: var(--serif);
  font-size: 27px;
  line-height: 1.28;
}

.craft-process-grid p {
  margin: 0;
  font-size: 13px;
  line-height: 1.82;
}

.craft-process-grid small {
  margin-top: auto;
  padding-top: 26px;
  color: rgba(29, 29, 31, 0.58);
  line-height: 1.6;
}

.craft-closing {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 7vw;
  align-items: end;
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid var(--ink);
}

.craft-closing > p {
  max-width: 820px;
  margin: 0;
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.6;
}

.craft-closing > div {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 18px;
}

.craft-closing small {
  color: rgba(29, 29, 31, 0.58);
  line-height: 1.6;
}

.craft-closing small a {
  border-bottom: 1px solid currentColor;
}

.history-roll-detailed .history-roll-header {
  min-height: 104px;
}

.history-roll-detailed .history-track li {
  width: 340px;
  min-height: 720px;
  padding: 0 24px 26px;
}

.history-roll-detailed .history-track .is-focus {
  width: 370px;
}

.history-object {
  position: relative;
  height: 250px;
  margin: 0 -24px 24px;
  overflow: hidden;
  border-bottom: 1px solid currentColor;
  background: #dedfdf;
}

.history-object img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.history-object figcaption {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  padding: 7px 8px;
  background: rgba(29, 29, 31, 0.78);
  color: var(--white);
  font-family: var(--mono);
  font-size: 8px;
}

.history-roll-detailed .history-track h3,
.history-roll-detailed .history-track .is-focus h3 {
  margin: 28px 0 16px;
}

.history-roll-detailed .history-track p {
  font-size: 13px;
  line-height: 1.85;
}

.history-roll-detailed .history-track .focus-ming .history-object figcaption {
  background: rgba(29, 29, 31, 0.82);
}

.source-band,
.knowledge-band {
  display: grid;
  grid-template-columns: minmax(180px, 0.4fr) minmax(300px, 1fr);
  gap: 7vw;
  padding: 72px 6vw;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.source-band > p:last-child {
  max-width: 760px;
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
}

.knowledge-band {
  background: var(--yellow);
}

.knowledge-band blockquote {
  max-width: 850px;
  margin: 0;
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1.55;
}

.section-intro {
  max-width: 360px;
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.75;
}

.motif-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 76px;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.motif-grid article {
  display: grid;
  min-height: 640px;
  grid-template-rows: 390px auto;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--white);
}

.motif-image {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--ink);
  background: #d8d9d8;
}

.motif-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.motif-grid article:hover .motif-image img {
  transform: scale(1.03);
}

.motif-inspect {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 0;
  background: var(--blue);
  color: var(--white);
  cursor: pointer;
  font-size: 22px;
}

.motif-grid article > div:last-child {
  padding: 34px;
}

.motif-grid span,
.motif-grid small {
  font-family: var(--mono);
  font-size: 9px;
}

.motif-grid h3 {
  margin: 18px 0 14px;
  font-family: var(--serif);
  font-size: 31px;
}

.motif-grid p {
  margin: 0 0 28px;
  font-size: 14px;
  line-height: 1.8;
}

.reading-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: 7vw;
  padding: 112px 6vw;
  background: var(--blue-dark);
  color: var(--white);
}

.reading-band ol {
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  list-style: none;
}

.reading-band li {
  display: grid;
  grid-template-columns: 48px 120px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.reading-band li span { font-family: var(--mono); font-size: 9px; }
.reading-band li strong { font-family: var(--serif); font-size: 22px; }
.reading-band li p { margin: 0; font-size: 13px; line-height: 1.75; }

.trade-notes {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  gap: 7vw;
  padding: 112px 6vw;
  background: var(--white);
}

.trade-notes dl {
  margin: 0;
  border-top: 1px solid var(--ink);
}

.trade-notes dl div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--ink);
}

.trade-notes dt { font-family: var(--serif); font-size: 24px; }
.trade-notes dd { margin: 0; font-size: 13px; line-height: 1.8; }

.notes-section {
  background: var(--paper);
}

.notes-section .republic-feature {
  margin-top: 0;
}

.notes-page-hero {
  display: grid;
  min-height: 440px;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 8vw;
  align-items: end;
  padding: calc(var(--header-height) + 52px) 6vw 62px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.notes-page-hero h1 {
  margin: 24px 0 20px;
  font-family: var(--serif);
  font-size: 58px;
  line-height: 1.08;
}

.notes-page-hero > div > p:not(.section-code) {
  max-width: 680px;
  margin: 0;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.75;
}

.notes-page-hero .text-button {
  width: max-content;
  margin-top: 24px;
}

.notes-page-hero aside {
  display: flex;
  min-height: 168px;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 0 4px;
  border-top: 1px solid var(--ink);
}

.notes-page-hero aside span,
.notes-page-hero aside small {
  font-family: var(--mono);
  font-size: 9px;
}

.notes-page-hero aside strong {
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.5;
}

.article-library {
  padding: 82px 6vw 96px;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.article-library-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.45fr) minmax(300px, 0.8fr) minmax(260px, 0.75fr);
  gap: 5vw;
  align-items: start;
}

.article-library-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 44px;
  line-height: 1.14;
}

.article-library-heading > p:last-child {
  max-width: 520px;
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.9;
}

.article-index {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 48px;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.article-entry a {
  position: relative;
  display: grid;
  height: 100%;
  min-height: 390px;
  grid-template-columns: minmax(0, 1fr) 34px;
  grid-template-rows: 140px auto 1fr auto;
  gap: 0;
  padding: 0;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--white);
  transition: background-color 180ms ease;
}

.article-entry a:hover {
  background: var(--paper);
}

.article-thumb {
  grid-column: 1 / -1;
  grid-row: 1;
  height: 140px;
  margin: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--ink);
  background: #dedfdf;
}

.article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transition: transform 420ms ease;
}

.article-entry a:hover .article-thumb img {
  transform: scale(1.03);
}

.article-number,
.article-entry small {
  font-family: var(--mono);
  font-size: 9px;
}

.article-number {
  grid-column: 1 / -1;
  grid-row: 2;
  padding: 16px 20px 0;
  color: var(--blue);
}

.article-entry a > div {
  grid-column: 1 / -1;
  grid-row: 3;
  padding: 12px 20px 20px;
}

.article-entry h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.32;
}

.article-entry p {
  max-width: 760px;
  margin: 10px 0 0;
  color: rgba(29, 29, 31, 0.7);
  font-size: 12px;
  line-height: 1.72;
}

.article-entry ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 14px 0 0;
  padding: 0;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 9px;
  list-style: none;
}

.article-entry li::before {
  content: "# ";
}

.article-entry i {
  grid-column: 2;
  grid-row: 4;
  align-self: end;
  padding: 0 18px 17px 0;
  color: var(--blue);
  font-size: 18px;
  font-style: normal;
}

.article-entry small {
  grid-column: 1;
  grid-row: 4;
  align-self: end;
  padding: 0 0 18px 20px;
  color: rgba(29, 29, 31, 0.58);
}

.note-reader-masthead {
  display: grid;
  grid-template-columns: minmax(160px, 0.35fr) minmax(0, 1fr) auto;
  gap: 5vw;
  align-items: end;
  padding: calc(var(--header-height) + 42px) 6vw 36px;
  border-bottom: 1px solid var(--ink);
  background: var(--white);
}

.note-reader-masthead a {
  width: max-content;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  font-size: 12px;
  font-weight: 700;
}

.note-reader-masthead span,
.note-reader-masthead small {
  font-family: var(--mono);
  font-size: 9px;
}

.note-reader-masthead h1 {
  margin: 12px 0 0;
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1.2;
}

.note-reader-masthead small {
  padding-bottom: 6px;
  color: rgba(29, 29, 31, 0.58);
}

.note-reader-pagination {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--white);
}

.note-reader-pagination > a {
  display: grid;
  min-height: 150px;
  align-content: space-between;
  gap: 24px;
  padding: 30px 6vw 34px;
  transition: background-color 180ms ease;
}

.note-reader-pagination > a + a {
  border-left: 1px solid var(--ink);
  text-align: right;
}

.note-reader-pagination > a:hover {
  background: var(--paper);
}

.note-reader-pagination span {
  color: var(--blue);
  font-family: var(--mono);
  font-size: 9px;
}

.note-reader-pagination strong {
  max-width: 560px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
}

.note-reader-pagination > a:last-child strong {
  justify-self: end;
}

.republic-heading h2 {
  margin: 16px 0 24px;
  font-family: var(--serif);
  font-size: 48px;
  line-height: 1.08;
}

.note-afterword {
  display: grid;
  grid-template-columns: minmax(160px, 0.4fr) minmax(0, 1fr);
  gap: 6vw;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--ink);
}

.note-afterword > p:last-child {
  max-width: 850px;
  margin: 0;
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.65;
}

@media (max-width: 1100px) {
  .page-hero-copy h1 { font-size: 60px; }
  .home-thesis blockquote { font-size: 29px; }
  .craft-overview { grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr); }
  .craft-overview aside { grid-column: 2; }
  .craft-overview h2,
  .reading-band h2,
  .trade-notes h2 { font-size: 46px; }
  .craft-process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .page-hero {
    height: auto;
    min-height: 0;
    max-height: none;
    grid-template-columns: 1fr;
  }
  .page-hero-copy {
    min-height: 610px;
    padding: 112px 7vw 64px;
  }
  .page-hero > figure { height: 70svh; min-height: 560px; }
  .home-thesis { grid-template-columns: 1fr; gap: 32px; padding: 84px 6vw; }
  .home-thesis h2 { max-width: none; }
  .home-thesis blockquote { font-size: 30px; }
  .home-craft { padding: 92px 6vw; }
  .craft-overview { grid-template-columns: 1fr; gap: 30px; }
  .craft-overview aside { grid-column: auto; }
  .craft-process-grid { margin-top: 56px; }
  .craft-closing { grid-template-columns: 1fr; gap: 32px; }
  .motif-grid { grid-template-columns: 1fr; }
  .reading-band,
  .trade-notes { grid-template-columns: 1fr; }
  .reading-band ol,
  .trade-notes dl { margin-top: 42px; }
}

@media (max-width: 560px) {
  .page-hero {
    height: calc(100svh - 28px);
    min-height: 720px;
    grid-template-rows: 58% 42%;
  }
  .page-hero-copy {
    min-height: 0;
    padding: 88px 20px 34px;
  }
  .page-hero-copy h1 { margin: 24px 0 20px; font-size: 43px; }
  .page-hero-copy > p:not(.section-code) { font-size: 15px; line-height: 1.75; }
  .page-hero-copy .text-button { margin-top: 24px; }
  .page-hero > figure { height: 100%; min-height: 0; }
  .home-thesis blockquote { font-size: 25px; }
  .home-thesis h2 { font-size: 34px; }
  .craft-overview h2,
  .reading-band h2,
  .trade-notes h2 { font-size: 39px; }
  .craft-lead { font-size: 18px; }
  .craft-process-grid { grid-template-columns: 1fr; }
  .craft-process-grid figure { aspect-ratio: 4 / 4.4; }
  .craft-process-grid > li > div { min-height: 0; padding: 24px 20px; }
  .craft-process-grid small { margin-top: 24px; padding-top: 0; }
  .craft-closing > p { font-size: 21px; }
  .history-roll-detailed .history-track li,
  .history-roll-detailed .history-track .is-focus { width: 286px; min-height: 700px; padding-right: 18px; padding-left: 18px; }
  .history-object { height: 220px; margin-right: -18px; margin-left: -18px; }
  .source-band,
  .knowledge-band { grid-template-columns: 1fr; gap: 24px; }
  .knowledge-band blockquote { font-size: 26px; }
  .motif-grid article { min-height: 590px; grid-template-rows: 330px auto; }
  .motif-grid article > div:last-child { padding: 26px; }
  .reading-band li { grid-template-columns: 36px 74px 1fr; gap: 10px; }
  .trade-notes dl div { grid-template-columns: 78px 1fr; gap: 16px; }
  .note-afterword { grid-template-columns: 1fr; }
  .note-afterword > p:last-child { font-size: 20px; }
  .republic-heading h2 { font-size: 40px; }
  .article-library-heading { grid-template-columns: 0.45fr 1fr; }
  .article-library-heading > p:last-child { grid-column: 2; }
}

@media (max-width: 820px) {
  .notes-page-hero {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) 210px;
    gap: 5vw;
    padding: calc(var(--header-height) + 36px) 6vw 44px;
  }
  .notes-page-hero h1 { font-size: 48px; }
  .notes-page-hero > div > p:not(.section-code) { font-size: 15px; }
  .notes-page-hero aside { min-height: 144px; }
  .article-library { padding: 88px 6vw; }
  .article-library-heading { grid-template-columns: 1fr; gap: 22px; }
  .article-library-heading > p:last-child { grid-column: auto; }
  .article-entry a { grid-template-columns: minmax(0, 1fr) 34px; gap: 0; }
  .note-reader-masthead { grid-template-columns: 1fr auto; gap: 20px; }
  .note-reader-masthead > div { grid-column: 1 / -1; grid-row: 2; }
}

@media (max-width: 560px) {
  .notes-page-hero { grid-template-columns: 1fr; }
  .notes-page-hero h1 { font-size: 42px; }
  .notes-page-hero aside { display: none; }
  .article-library-heading h2 { font-size: 38px; }
  .article-index { margin-top: 48px; }
  .article-index { grid-template-columns: 1fr; }
  .article-entry a { min-height: 360px; grid-template-columns: minmax(0, 1fr) 34px; gap: 0; padding: 0; }
  .article-entry h3 { font-size: 23px; }
  .note-reader-masthead { padding: calc(var(--header-height) + 30px) 20px 28px; }
  .note-reader-masthead h1 { font-size: 31px; }
  .note-reader-pagination { grid-template-columns: 1fr; }
  .note-reader-pagination > a { min-height: 126px; padding: 24px 20px 28px; }
  .note-reader-pagination > a + a { border-top: 1px solid var(--ink); border-left: 0; }
  .note-reader-pagination strong { font-size: 19px; }
}

/* Long-form reading sections */
.chapter-band {
  padding: 112px 6vw;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.chapter-band.is-white {
  background: var(--white);
}

.chapter-heading {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
  gap: 7vw;
  align-items: start;
}

.chapter-heading h2 {
  margin: 28px 0 0;
  font-family: var(--serif);
  font-size: 54px;
  line-height: 1.14;
}

.chapter-heading > div:last-child {
  max-width: 760px;
  padding-top: 42px;
}

.chapter-heading > div:last-child p {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
}

.chapter-heading > div:last-child p + p {
  margin-top: 18px;
}

.lesson-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 72px;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.lesson-grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lesson-card {
  min-width: 0;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--white);
}

.lesson-card figure {
  position: relative;
  height: 250px;
  margin: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--ink);
  background: #dedfdf;
}

.lesson-card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lesson-card figure figcaption,
.image-story figcaption,
.image-pair figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding: 8px 9px;
  background: rgba(17, 24, 32, 0.82);
  color: var(--white);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.5;
}

.lesson-card-copy {
  padding: 28px;
}

.lesson-card-copy > span,
.definition-list span,
.catalog-list span {
  font-family: var(--mono);
  font-size: 9px;
}

.lesson-card h3 {
  margin: 18px 0 14px;
  font-family: var(--serif);
  font-size: 27px;
  line-height: 1.25;
}

.lesson-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.85;
}

.image-story {
  display: grid;
  grid-template-columns: minmax(360px, 1.05fr) minmax(320px, 0.95fr);
  margin-top: 72px;
  border: 1px solid var(--ink);
  background: var(--white);
}

.image-story figure {
  position: relative;
  min-height: 520px;
  margin: 0;
  overflow: hidden;
  border-right: 1px solid var(--ink);
  background: #d8d9d8;
}

.image-story figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-story-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 54px;
}

.image-story-copy h3 {
  margin: 24px 0 22px;
  font-family: var(--serif);
  font-size: 42px;
  line-height: 1.2;
}

.image-story-copy p {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
}

.image-story-copy p + p {
  margin-top: 18px;
}

.definition-list,
.catalog-list {
  display: grid;
  margin-top: 72px;
  border-top: 1px solid var(--ink);
}

.definition-list > div,
.catalog-list > div {
  display: grid;
  grid-template-columns: 52px minmax(130px, 0.35fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--ink);
}

.definition-list strong,
.catalog-list strong {
  font-family: var(--serif);
  font-size: 24px;
}

.definition-list p,
.catalog-list p {
  max-width: 850px;
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
}

.image-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 72px;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.image-pair figure {
  position: relative;
  height: 520px;
  margin: 0;
  overflow: hidden;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: #d8d9d8;
}

.image-pair img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-story-reverse figure {
  grid-column: 2;
  grid-row: 1;
  border-right: 0;
  border-left: 1px solid var(--ink);
}

.image-story-reverse .image-story-copy {
  grid-column: 1;
  grid-row: 1;
}

.notes-full-width {
  grid-column: 1 / -1;
}

.note-companion {
  border-top-color: var(--ink);
}

.source-reading {
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) minmax(0, 1fr);
  gap: 7vw;
  padding: 64px 6vw;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.source-reading p {
  max-width: 850px;
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
}

.source-reading nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 18px;
}

.source-reading a,
.source-list a {
  border-bottom: 1px solid currentColor;
  font-size: 11px;
}

.process-line p {
  margin: 14px 0 0;
  font-size: 11px;
  line-height: 1.65;
}

@media (max-width: 1100px) {
  .chapter-heading h2 { font-size: 46px; }
  .lesson-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lesson-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .chapter-band { padding: 88px 6vw; }
  .chapter-heading { grid-template-columns: 1fr; gap: 18px; }
  .chapter-heading > div:last-child { padding-top: 12px; }
  .lesson-grid.cols-3 { grid-template-columns: 1fr; }
  .image-story { grid-template-columns: 1fr; }
  .image-story figure { min-height: 460px; border-right: 0; border-bottom: 1px solid var(--ink); }
  .source-reading { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 560px) {
  .site-header::before { background-size: 300px 60px; opacity: 0.08; }
  .chapter-heading h2 { font-size: 38px; }
  .lesson-grid { grid-template-columns: 1fr; margin-top: 48px; }
  .lesson-card figure { height: 230px; }
  .lesson-card-copy { padding: 24px; }
  .image-story { margin-top: 48px; }
  .image-story figure { min-height: 340px; }
  .image-story-copy { padding: 30px 24px; }
  .image-story-copy h3 { font-size: 34px; }
  .definition-list,
  .catalog-list { margin-top: 48px; }
  .definition-list > div,
  .catalog-list > div { grid-template-columns: 34px 92px minmax(0, 1fr); gap: 10px; }
  .definition-list strong,
  .catalog-list strong { font-size: 19px; }
  .image-pair { grid-template-columns: 1fr; margin-top: 48px; }
  .image-pair figure { height: 320px; }
}

/* Notes essays */
.essay-article {
  padding: 112px 6vw;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.essay-article.is-paper {
  background: var(--paper);
}

.essay-article > article {
  max-width: 1380px;
  margin: 0 auto;
}

.essay-hero {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(320px, 0.72fr);
  gap: 8vw;
  align-items: center;
}

.essay-kicker {
  display: block;
  margin-top: 34px;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 9px;
}

.essay-copy h2 {
  max-width: 760px;
  margin: 18px 0 26px;
  font-family: var(--serif);
  font-size: 52px;
  line-height: 1.12;
}

.essay-lead {
  max-width: 760px;
  margin: 0;
  color: rgba(29, 29, 31, 0.76);
  font-size: 17px;
  line-height: 1.95;
}

.essay-figure {
  height: min(66vw, 640px);
  max-height: 640px;
  min-height: 460px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--ink);
  background: #e1e2e1;
}

.essay-figure.is-landscape {
  height: min(48vw, 520px);
  min-height: 360px;
}

.essay-figure img {
  width: 100%;
  height: calc(100% - 36px);
  object-fit: cover;
}

.essay-figure.is-landscape img {
  object-fit: contain;
  background: #e7e8e7;
}

.essay-figure figcaption {
  height: 36px;
  padding: 11px 14px 0;
  border-top: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.essay-body {
  max-width: 980px;
  margin: 88px auto 0;
}

.essay-summary {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 36px;
  margin-bottom: 70px;
  padding: 24px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.essay-summary span,
.essay-sources > span,
.essay-timeline > li > span,
.essay-system-grid article > span,
.essay-compare span {
  color: var(--blue);
  font-family: var(--mono);
  font-size: 9px;
}

.essay-summary p {
  margin: 0;
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.62;
}

.essay-section {
  max-width: 820px;
  margin: 64px auto 0;
}

.essay-section h3 {
  margin: 0 0 20px;
  font-family: var(--serif);
  font-size: 29px;
  line-height: 1.35;
}

.essay-section p {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 2;
}

.essay-grid,
.essay-system-grid,
.essay-material-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 64px;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.essay-grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.essay-grid > div,
.essay-system-grid article,
.essay-material-list article {
  min-height: 132px;
  padding: 24px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.essay-grid strong,
.essay-system-grid h3,
.essay-material-list h3 {
  display: block;
  margin: 0;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.35;
}

.essay-grid span {
  display: block;
  margin-top: 12px;
  color: rgba(29, 29, 31, 0.66);
  font-size: 12px;
  line-height: 1.65;
}

.essay-system-grid article > span {
  display: block;
  margin-bottom: 14px;
}

.essay-system-grid p,
.essay-material-list p {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.85;
}

.essay-warning {
  max-width: 820px;
  margin: 64px auto 0;
  padding: 8px 0 8px 28px;
  border-left: 3px solid var(--blue);
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.7;
}

.essay-timeline {
  margin: 68px 0 0;
  padding: 0;
  border-top: 1px solid var(--ink);
  list-style: none;
}

.essay-timeline li {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 34px;
  padding: 28px 0;
  border-bottom: 1px solid var(--ink);
}

.essay-timeline strong {
  font-family: var(--serif);
  font-size: 23px;
}

.essay-timeline p {
  max-width: 700px;
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.8;
}

.essay-kiln-list {
  margin-top: 30px;
  border-top: 1px solid var(--ink);
}

.essay-kiln-list article {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 28px;
  padding: 30px 0;
  border-bottom: 1px solid var(--ink);
}

.essay-kiln-list article > span {
  color: var(--blue);
  font-family: var(--mono);
  font-size: 10px;
}

.essay-kiln-list h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 28px;
}

.essay-kiln-list p {
  max-width: 760px;
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.9;
}

.essay-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 64px;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.essay-compare > div {
  min-height: 220px;
  padding: 28px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.essay-compare strong {
  display: block;
  margin-top: 24px;
  font-family: var(--serif);
  font-size: 26px;
}

.essay-compare p {
  margin: 18px 0 0;
  font-size: 13px;
  line-height: 1.8;
}

.essay-observation {
  display: grid;
  max-width: 1100px;
  grid-template-columns: minmax(280px, 0.8fr) minmax(360px, 1.2fr);
  margin: 64px auto 0;
  border: 1px solid var(--ink);
  background: var(--white);
}

.essay-observation figure {
  min-height: 480px;
  margin: 0;
  border-right: 1px solid var(--ink);
  background: #e7e8e7;
}

.essay-observation img {
  width: 100%;
  height: 440px;
  object-fit: contain;
}

.essay-observation figcaption {
  min-height: 40px;
  padding: 12px 14px;
  border-top: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.5;
}

.essay-observation > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px;
}

.essay-observation h3 {
  margin: 22px 0 20px;
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1.35;
}

.essay-observation > div > p:not(.section-code) {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
}

.essay-observation > div > p:not(.section-code) + p {
  margin-top: 18px;
}

.essay-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 64px;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.essay-gallery.is-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.essay-gallery.is-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.essay-gallery figure {
  min-width: 0;
  margin: 0;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--white);
}

.essay-gallery img {
  width: 100%;
  height: 300px;
  object-fit: contain;
  background: #e7e8e7;
}

.essay-gallery figcaption {
  min-height: 118px;
  padding: 20px;
  border-top: 1px solid var(--ink);
}

.essay-gallery figcaption strong,
.essay-gallery figcaption span {
  display: block;
}

.essay-gallery figcaption strong {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.35;
}

.essay-gallery figcaption span {
  margin-top: 10px;
  color: rgba(29, 29, 31, 0.68);
  font-size: 11px;
  line-height: 1.65;
}

.essay-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  max-width: 980px;
  margin: 82px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--ink);
}

.essay-sources > span {
  width: 126px;
}

.essay-sources a {
  border-bottom: 1px solid currentColor;
  font-size: 11px;
}

@media (max-width: 1100px) {
  .essay-grid-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .essay-gallery.is-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .essay-article { padding: 88px 6vw; }
  .essay-hero { grid-template-columns: 1fr; gap: 48px; }
  .essay-copy h2 { font-size: 44px; }
  .essay-figure,
  .essay-figure.is-landscape { height: 70vw; min-height: 420px; }
  .essay-figure img,
  .essay-figure.is-landscape img { object-fit: contain; background: #e7e8e7; }
  .essay-body { margin-top: 68px; }
  .essay-observation { grid-template-columns: 1fr; }
  .essay-observation figure { min-height: 0; border-right: 0; border-bottom: 1px solid var(--ink); }
  .essay-gallery.is-three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .image-story-reverse figure,
  .image-story-reverse .image-story-copy { grid-column: 1; }
  .image-story-reverse figure { grid-row: 1; border-left: 0; }
  .image-story-reverse .image-story-copy { grid-row: 2; }
}

@media (max-width: 560px) {
  .essay-article { padding: 72px 20px; }
  .essay-copy h2 { font-size: 37px; }
  .essay-lead { font-size: 15px; }
  .essay-figure,
  .essay-figure.is-landscape { height: 118vw; min-height: 360px; }
  .essay-figure.is-landscape { height: 86vw; }
  .essay-summary { grid-template-columns: 1fr; gap: 14px; }
  .essay-summary p { font-size: 20px; }
  .essay-grid,
  .essay-grid-four,
  .essay-system-grid,
  .essay-material-list,
  .essay-compare { grid-template-columns: 1fr; }
  .essay-gallery,
  .essay-gallery.is-three,
  .essay-gallery.is-four { grid-template-columns: 1fr; }
  .essay-gallery img { height: 76vw; min-height: 280px; }
  .essay-gallery figcaption { min-height: 0; }
  .essay-observation img { height: 112vw; max-height: 520px; }
  .essay-observation > div { padding: 30px 24px; }
  .essay-observation h3 { font-size: 28px; }
  .essay-timeline li { grid-template-columns: 1fr; gap: 12px; }
  .essay-kiln-list article { grid-template-columns: 42px minmax(0, 1fr); gap: 14px; }
  .essay-warning { font-size: 20px; }
  .essay-sources > span { width: 100%; }
}

/* Beginner route */
.home-start {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(520px, 1.2fr);
  gap: 8vw;
  padding: 112px 6vw;
  border-bottom: 1px solid var(--line);
  background: var(--blue-dark);
  color: var(--white);
}

.home-start-heading h2,
.observation-lab > header h2,
.process-explorer > header h2,
.myth-check > header h2,
.beginner-quiz > header h2 {
  margin: 28px 0 0;
  font-family: var(--serif);
  font-size: 54px;
  line-height: 1.14;
}

.home-start-heading > p:not(.section-code) {
  max-width: 620px;
  margin: 28px 0 34px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  line-height: 1.9;
}

.home-start .button-primary {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
}

.home-start-route {
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.45);
  list-style: none;
}

.home-start-route li {
  display: grid;
  grid-template-columns: 48px minmax(120px, 0.36fr) minmax(0, 1fr);
  gap: 20px;
  align-items: baseline;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.home-start-route span,
.home-start-route p {
  font-family: var(--mono);
  font-size: 9px;
}

.home-start-route strong {
  font-family: var(--serif);
  font-size: 25px;
}

.home-start-route p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.7;
}

.basics-hero {
  display: grid;
  min-height: 100svh;
  grid-template-columns: minmax(390px, 0.88fr) minmax(520px, 1.12fr);
  padding-top: var(--header-height);
  border-bottom: 1px solid var(--ink);
  background: var(--white);
}

.basics-hero-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 84px 6vw 64px;
}

.basics-hero-copy h1 {
  margin: 34px 0 26px;
  font-family: var(--serif);
  font-size: 72px;
  font-weight: 600;
  line-height: 1.08;
}

.basics-hero-copy > p:not(.section-code) {
  max-width: 620px;
  margin: 0;
  font-size: 16px;
  line-height: 1.9;
}

.basics-hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: auto 0 0;
  padding-top: 52px;
  border-top: 1px solid var(--ink);
}

.basics-hero-facts div {
  padding-right: 20px;
}

.basics-hero-facts dt,
.basics-hero-facts dd {
  margin: 0;
}

.basics-hero-facts dt {
  margin-bottom: 10px;
  color: rgba(29, 29, 31, 0.54);
  font-family: var(--mono);
  font-size: 8px;
}

.basics-hero-facts dd {
  font-size: 11px;
  line-height: 1.6;
}

.basics-hero-object {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-left: 1px solid var(--ink);
  background: #dfe1e2;
}

.basics-hero-object > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.basics-hero-object figcaption {
  position: absolute;
  right: 30px;
  bottom: 30px;
  left: 30px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 16px 18px;
  background: rgba(17, 24, 32, 0.88);
  color: var(--white);
}

.basics-hero-object figcaption span,
.basics-hero-object figcaption small {
  font-family: var(--mono);
  font-size: 8px;
}

.basics-hero-object figcaption strong {
  font-family: var(--serif);
  font-size: 17px;
}

.basics-hero-object .image-inspect {
  right: 30px;
  bottom: 104px;
}

.basics-route {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-bottom: 1px solid var(--ink);
  background: var(--paper);
}

.basics-route a {
  display: grid;
  min-height: 150px;
  grid-template-columns: 34px 1fr;
  grid-template-rows: auto 1fr;
  gap: 12px;
  align-content: center;
  padding: 28px 2.4vw;
  border-right: 1px solid var(--ink);
  transition: background-color 180ms ease, color 180ms ease;
}

.basics-route a:last-child {
  border-right: 0;
}

.basics-route a:hover {
  background: var(--ink);
  color: var(--white);
}

.basics-route span,
.basics-route small {
  font-family: var(--mono);
  font-size: 8px;
}

.basics-route strong {
  font-family: var(--serif);
  font-size: 22px;
}

.basics-route small {
  grid-column: 2;
  color: rgba(29, 29, 31, 0.58);
  line-height: 1.6;
}

.basics-route a:hover small {
  color: rgba(255, 255, 255, 0.68);
}

.material-compare {
  display: grid;
  grid-template-columns: minmax(390px, 0.92fr) minmax(460px, 1.08fr);
  margin-top: 72px;
  border: 1px solid var(--ink);
}

.material-compare figure {
  position: relative;
  min-height: 620px;
  margin: 0;
  overflow: hidden;
  border-right: 1px solid var(--ink);
  background: #dcdddc;
}

.material-compare img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.material-compare figcaption,
.life-use-grid figcaption,
.quiz-layout figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding: 8px 10px;
  background: rgba(17, 24, 32, 0.84);
  color: var(--white);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.5;
}

.material-compare-copy {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.material-compare-copy article {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 5vw;
}

.material-compare-copy article:first-child {
  border-bottom: 1px solid var(--ink);
}

.material-compare-copy span,
.foundation-terms span,
.observation-copy > span,
.process-stage-copy > span,
.life-use-grid span,
.kiln-map-panel > span {
  color: var(--blue);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
}

.material-compare-copy h3 {
  margin: 20px 0 14px;
  font-family: var(--serif);
  font-size: 31px;
  line-height: 1.3;
}

.material-compare-copy p {
  margin: 0;
  font-size: 13px;
  line-height: 1.9;
}

.foundation-terms {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 64px;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.foundation-terms > div {
  min-width: 0;
  padding: 28px 24px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.foundation-terms strong {
  display: block;
  margin: 20px 0 14px;
  font-family: var(--serif);
  font-size: 27px;
}

.foundation-terms p {
  margin: 0;
  font-size: 12px;
  line-height: 1.8;
}

.observation-lab,
.process-explorer,
.myth-check,
.beginner-quiz {
  padding: 120px 6vw;
  border-bottom: 1px solid var(--line);
}

.observation-lab,
.myth-check {
  background: var(--blue-dark);
  color: var(--white);
}

.observation-lab > header,
.process-explorer > header,
.myth-check > header,
.beginner-quiz > header {
  display: grid;
  grid-template-columns: minmax(300px, 0.84fr) minmax(360px, 1.16fr);
  gap: 8vw;
  align-items: end;
}

.observation-lab > header > p,
.process-explorer > header > p,
.myth-check > header > p,
.beginner-quiz > header > div:last-child > p {
  max-width: 720px;
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
}

.observation-lab > header > p,
.myth-check > header > p {
  color: rgba(255, 255, 255, 0.7);
}

.observation-layout {
  display: grid;
  grid-template-columns: minmax(430px, 1.04fr) minmax(460px, 0.96fr);
  margin-top: 76px;
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.observation-visual {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.55);
  background: #373c40;
}

.observation-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.observation-visual > small {
  position: absolute;
  bottom: 18px;
  left: 18px;
  padding: 8px 10px;
  background: rgba(17, 24, 32, 0.82);
  font-family: var(--mono);
  font-size: 8px;
}

.observation-marker {
  position: absolute;
  width: 74px;
  height: 74px;
  border: 1px solid var(--white);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: top 320ms ease, left 320ms ease;
}

.observation-marker::before,
.observation-marker::after {
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--white);
  content: "";
  transform: translate(-50%, -50%);
}

.observation-marker::before { width: 94px; height: 1px; }
.observation-marker::after { width: 1px; height: 94px; }

.observation-marker i {
  position: absolute;
  inset: 28px;
  border: 1px solid var(--white);
  border-radius: 50%;
}

.observation-console {
  display: grid;
  grid-template-rows: auto 1fr;
}

.observation-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
}

.observation-tabs button,
.process-rail button {
  min-width: 0;
  border: 0;
  border-right: 1px solid currentColor;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.observation-tabs button {
  display: flex;
  min-height: 88px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  font-size: 11px;
}

.observation-tabs button:last-child,
.process-rail button:last-child { border-right: 0; }
.observation-tabs button.is-active { background: var(--white); color: var(--ink); }
.observation-tabs span,
.process-rail span { font-family: var(--mono); font-size: 8px; }

.observation-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 5vw;
}

.observation-copy h3,
.process-stage-copy h3,
.kiln-map-panel h3 {
  margin: 22px 0 20px;
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1.22;
}

.observation-copy > p,
.process-stage-copy > p {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
}

.observation-copy dl,
.process-stage-copy dl,
.kiln-map-panel dl {
  margin: 42px 0 0;
  border-top: 1px solid currentColor;
}

.observation-copy dl div,
.process-stage-copy dl div,
.kiln-map-panel dl div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 22px;
  padding: 16px 0;
  border-bottom: 1px solid currentColor;
}

.observation-copy dt,
.observation-copy dd,
.process-stage-copy dt,
.process-stage-copy dd,
.kiln-map-panel dt,
.kiln-map-panel dd { margin: 0; font-size: 11px; line-height: 1.7; }

.observation-copy dt,
.process-stage-copy dt,
.kiln-map-panel dt { font-family: var(--mono); font-size: 8px; }

.observation-rule {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) auto;
  gap: 28px;
  align-items: baseline;
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.55);
}

.observation-rule strong { font-family: var(--serif); font-size: 24px; }
.observation-rule p { margin: 0; color: rgba(255, 255, 255, 0.72); font-size: 12px; line-height: 1.8; }
.observation-rule a { border-bottom: 1px solid currentColor; font-size: 11px; white-space: nowrap; }

.kiln-map-tool {
  display: grid;
  grid-template-columns: minmax(620px, 1.3fr) minmax(300px, 0.7fr);
  margin-top: 76px;
  border: 1px solid var(--ink);
  background: var(--white);
}

.kiln-map-stage {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  border-right: 1px solid var(--ink);
  background-color: #eef0f1;
  background-image: linear-gradient(rgba(29,29,31,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(29,29,31,.08) 1px, transparent 1px);
  background-size: 48px 48px;
}

.map-landmass {
  position: absolute;
  inset: 8% 9% 10% 10%;
  background: rgba(29, 79, 145, 0.09);
  clip-path: polygon(9% 27%, 19% 10%, 43% 4%, 65% 14%, 76% 29%, 93% 36%, 84% 49%, 91% 65%, 75% 72%, 68% 92%, 47% 83%, 30% 72%, 11% 76%, 15% 58%, 3% 46%);
}

.map-axis {
  position: absolute;
  font-family: var(--mono);
  font-size: 8px;
}

.axis-north { top: 24px; left: 24px; }
.axis-sea { right: 22px; bottom: 22px; color: rgba(29,29,31,.5); }

.kiln-map-stage > small {
  position: absolute;
  bottom: 22px;
  left: 24px;
  font-family: var(--mono);
  font-size: 8px;
}

.kiln-dot {
  position: absolute;
  z-index: 2;
  top: var(--y);
  left: var(--x);
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transform: translate(-50%, -50%);
}

.kiln-dot i {
  width: 10px;
  height: 10px;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 1px var(--ink);
}

.kiln-dot span {
  padding: 4px 6px;
  background: rgba(255,255,255,.82);
  font-size: 10px;
  white-space: nowrap;
}

.kiln-dot:hover i,
.kiln-dot.is-active i { background: var(--red); box-shadow: 0 0 0 1px var(--red); }
.kiln-dot.is-active span { background: var(--ink); color: var(--white); }

.kiln-map-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 54px 4vw;
}

.kiln-map-panel > p {
  margin: 0;
  color: rgba(29,29,31,.6);
  font-family: var(--mono);
  font-size: 9px;
}

.kiln-map-panel a { border-bottom: 1px solid currentColor; }

.kiln-map-dispute {
  display: grid;
  grid-template-columns: minmax(220px, .45fr) minmax(0, 1fr) auto;
  gap: 30px;
  align-items: baseline;
  margin: 28px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--ink);
  font-size: 12px;
  line-height: 1.8;
}

.kiln-map-dispute strong { font-family: var(--serif); font-size: 19px; }
.kiln-map-dispute a { border-bottom: 1px solid currentColor; font-size: 10px; white-space: nowrap; }

.process-explorer { background: var(--paper); }

.process-explorer-tool {
  margin-top: 76px;
  border: 1px solid var(--ink);
  background: var(--white);
}

.process-rail {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  border-bottom: 1px solid var(--ink);
}

.process-rail button {
  display: flex;
  min-height: 94px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  font-size: 11px;
}

.process-rail button.is-active { background: var(--ink); color: var(--white); }

.process-stage-copy {
  display: grid;
  min-height: 390px;
  grid-template-columns: 0.28fr 0.78fr 1.1fr 1fr;
  gap: 4vw;
  align-items: center;
  padding: 52px 5vw;
}

.process-stage-copy > span { align-self: start; margin-top: 14px; }
.process-stage-copy h3 { margin: 0; font-size: 34px; }
.process-stage-copy dl { margin: 0; }
.process-explorer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 38px;
}
.process-explorer-link p { margin: 0; font-size: 13px; line-height: 1.8; }

.life-use-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 72px;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.life-use-grid article {
  min-width: 0;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--white);
}

.life-use-grid figure {
  position: relative;
  height: 380px;
  margin: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--ink);
  background: #e1e2e2;
}

.life-use-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.life-use-grid article > div { padding: 30px 28px 36px; }
.life-use-grid h3 { margin: 18px 0 14px; font-family: var(--serif); font-size: 27px; line-height: 1.28; }
.life-use-grid p { margin: 0; font-size: 13px; line-height: 1.85; }

.myth-list {
  margin-top: 72px;
  border-top: 1px solid rgba(255,255,255,.5);
}

.myth-list details { border-bottom: 1px solid rgba(255,255,255,.5); }
.myth-list summary {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 36px;
  gap: 22px;
  align-items: center;
  padding: 28px 0;
  cursor: pointer;
  list-style: none;
}
.myth-list summary::-webkit-details-marker { display: none; }
.myth-list summary span { font-family: var(--mono); font-size: 9px; }
.myth-list summary strong { font-family: var(--serif); font-size: 28px; font-weight: 500; }
.myth-list summary i { font-style: normal; font-size: 24px; transition: transform 180ms ease; }
.myth-list details[open] summary i { transform: rotate(45deg); }
.myth-list details > p { max-width: 900px; margin: -4px 0 0 86px; padding: 0 0 30px; color: rgba(255,255,255,.72); font-size: 13px; line-height: 1.9; }

.glossary-search {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-top: 30px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ink);
}

.glossary-search span { font-family: var(--mono); font-size: 9px; }
.glossary-search input { min-width: 0; border: 0; outline: 0; background: transparent; font-family: var(--serif); font-size: 15px; }

.glossary-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 72px 0 0;
  padding: 0;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
  list-style: none;
}

.glossary-list li {
  display: grid;
  min-height: 170px;
  grid-template-columns: 44px minmax(120px, 0.34fr) minmax(0, 1fr) auto;
  gap: 22px;
  align-items: start;
  padding: 28px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.glossary-list span { font-family: var(--mono); font-size: 8px; }
.glossary-list strong { font-family: var(--serif); font-size: 25px; }
.glossary-list p { margin: 0; font-size: 12px; line-height: 1.8; }
.glossary-list a { border-bottom: 1px solid currentColor; font-size: 10px; white-space: nowrap; }
.glossary-empty { margin: 32px 0 0; font-size: 13px; }

.beginner-quiz { background: var(--paper); }
.beginner-quiz > header > div:last-child { display: flex; align-items: flex-end; flex-direction: column; gap: 26px; }
.beginner-quiz [data-quiz-score] { padding: 10px 14px; border: 1px solid var(--ink); font-family: var(--mono); font-size: 10px; }

.quiz-layout {
  display: grid;
  grid-template-columns: minmax(380px, 0.82fr) minmax(520px, 1.18fr);
  margin-top: 72px;
  border: 1px solid var(--ink);
  background: var(--white);
}

.quiz-layout > figure {
  position: relative;
  min-height: 760px;
  margin: 0;
  overflow: hidden;
  border-right: 1px solid var(--ink);
  background: #e2e3e3;
}
.quiz-layout > figure img { width: 100%; height: 100%; object-fit: cover; }
.quiz-questions { padding: 42px 4vw; }
.quiz-questions fieldset { margin: 0; padding: 28px 0; border: 0; border-bottom: 1px solid var(--ink); }
.quiz-questions fieldset:first-child { padding-top: 0; }
.quiz-questions legend { width: 100%; margin-bottom: 18px; font-family: var(--serif); font-size: 20px; line-height: 1.45; }
.quiz-questions legend span { display: inline-block; width: 42px; font-family: var(--mono); font-size: 9px; }
.quiz-questions [data-quiz-option] {
  width: 100%;
  margin-top: 7px;
  padding: 12px 16px;
  border: 1px solid rgba(29,29,31,.35);
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  text-align: left;
}
.quiz-questions [data-quiz-option]:hover:not(:disabled) { border-color: var(--ink); background: var(--paper); }
.quiz-questions [data-quiz-option].is-correct { border-color: var(--blue); background: var(--accent-soft); color: var(--blue-dark); }
.quiz-questions [data-quiz-option].is-wrong { border-color: var(--red); color: var(--red); text-decoration: line-through; }
.quiz-questions [data-quiz-feedback] { min-height: 18px; margin: 14px 0 0 42px; font-size: 10px; line-height: 1.7; }
.quiz-actions { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 30px; }

@media (max-width: 1100px) {
  .basics-hero { grid-template-columns: minmax(360px, .9fr) minmax(430px, 1.1fr); }
  .basics-hero-copy h1 { font-size: 60px; }
  .foundation-terms { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kiln-map-tool { grid-template-columns: minmax(520px, 1.15fr) minmax(280px, .85fr); }
  .process-stage-copy { grid-template-columns: .3fr .9fr 1fr; }
  .process-stage-copy dl { grid-column: 2 / -1; }
  .glossary-list li { grid-template-columns: 38px 110px minmax(0, 1fr); }
  .glossary-list a { grid-column: 3; justify-self: start; }
}

@media (max-width: 820px) {
  .home-start,
  .basics-hero,
  .material-compare,
  .observation-layout,
  .kiln-map-tool,
  .quiz-layout { grid-template-columns: 1fr; }
  .home-start { gap: 52px; padding: 88px 6vw; }
  .home-start-heading h2,
  .observation-lab > header h2,
  .process-explorer > header h2,
  .myth-check > header h2,
  .beginner-quiz > header h2 { font-size: 46px; }
  .basics-hero { min-height: 0; }
  .basics-hero-copy { min-height: 680px; }
  .basics-hero-object { height: 88vw; min-height: 620px; border-top: 1px solid var(--ink); border-left: 0; }
  .basics-route { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .basics-route a { border-bottom: 1px solid var(--ink); }
  .material-compare figure { min-height: 640px; border-right: 0; border-bottom: 1px solid var(--ink); }
  .foundation-terms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .observation-lab > header,
  .process-explorer > header,
  .myth-check > header,
  .beginner-quiz > header { grid-template-columns: 1fr; gap: 30px; }
  .observation-visual { min-height: 760px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.55); }
  .observation-rule { grid-template-columns: 70px 1fr; }
  .observation-rule a { grid-column: 2; justify-self: start; }
  .kiln-map-stage { min-height: 620px; border-right: 0; border-bottom: 1px solid var(--ink); }
  .kiln-map-panel { min-height: 390px; }
  .kiln-map-dispute { grid-template-columns: 1fr; gap: 12px; }
  .kiln-map-dispute a { justify-self: start; }
  .process-rail { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .process-rail button { border-bottom: 1px solid var(--ink); }
  .process-stage-copy { grid-template-columns: 1fr; gap: 24px; }
  .process-stage-copy dl { grid-column: auto; }
  .life-use-grid { grid-template-columns: 1fr; }
  .life-use-grid figure { height: 68vw; min-height: 430px; }
  .glossary-list { grid-template-columns: 1fr; }
  .quiz-layout > figure { min-height: 620px; border-right: 0; border-bottom: 1px solid var(--ink); }
}

@media (max-width: 560px) {
  .home-start { padding: 72px 20px; }
  .home-start-route li { grid-template-columns: 36px 90px minmax(0, 1fr); gap: 12px; }
  .home-start-route strong { font-size: 21px; }
  .basics-hero-copy { min-height: 620px; padding: 64px 20px 46px; }
  .basics-hero-copy h1 { font-size: 50px; }
  .basics-hero-copy > p:not(.section-code) { font-size: 14px; }
  .basics-hero-facts { grid-template-columns: 1fr; gap: 16px; padding-top: 28px; }
  .basics-hero-facts div { display: grid; grid-template-columns: 90px 1fr; }
  .basics-hero-object { min-height: 520px; }
  .basics-hero-object figcaption { right: 14px; bottom: 14px; left: 14px; grid-template-columns: 1fr; gap: 6px; }
  .basics-hero-object .image-inspect { right: 14px; bottom: 136px; }
  .basics-route { grid-template-columns: 1fr; }
  .basics-route a { min-height: 112px; padding: 22px 20px; border-right: 0; }
  .chapter-band.basics-foundation,
  .chapter-band.kiln-atlas,
  .chapter-band.life-use,
  .chapter-band.glossary-tool { padding-right: 20px; padding-left: 20px; }
  .material-compare { margin-top: 48px; }
  .material-compare figure { min-height: 460px; }
  .material-compare-copy article { padding: 34px 24px; }
  .material-compare-copy h3 { font-size: 27px; }
  .foundation-terms { grid-template-columns: 1fr; }
  .observation-lab,
  .process-explorer,
  .myth-check,
  .beginner-quiz { padding: 72px 20px; }
  .home-start-heading h2,
  .observation-lab > header h2,
  .process-explorer > header h2,
  .myth-check > header h2,
  .beginner-quiz > header h2 { font-size: 38px; }
  .observation-layout { margin-top: 48px; }
  .observation-visual { min-height: 560px; }
  .observation-tabs { grid-template-columns: repeat(5, 82px); overflow-x: auto; }
  .observation-copy { padding: 38px 24px; }
  .observation-copy h3,
  .process-stage-copy h3,
  .kiln-map-panel h3 { font-size: 31px; }
  .observation-copy dl div,
  .process-stage-copy dl div,
  .kiln-map-panel dl div { grid-template-columns: 86px 1fr; }
  .observation-rule { grid-template-columns: 1fr; gap: 14px; }
  .observation-rule a { grid-column: auto; }
  .kiln-map-tool,
  .process-explorer-tool { margin-top: 48px; }
  .kiln-map-stage { min-height: 520px; }
  .kiln-dot span { font-size: 8px; }
  .kiln-map-panel { min-height: 360px; padding: 38px 24px; }
  .process-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-explorer-link { align-items: flex-start; flex-direction: column; }
  .life-use-grid { margin-top: 48px; }
  .life-use-grid figure { height: 95vw; min-height: 360px; }
  .myth-list { margin-top: 48px; }
  .myth-list summary { grid-template-columns: 38px minmax(0, 1fr) 24px; gap: 10px; }
  .myth-list summary strong { font-size: 22px; }
  .myth-list details > p { margin-left: 48px; }
  .glossary-list { margin-top: 48px; }
  .glossary-list li { min-height: 0; grid-template-columns: 34px 92px minmax(0, 1fr); gap: 12px; padding: 22px 18px; }
  .glossary-list strong { font-size: 21px; }
  .glossary-list a { grid-column: 3; }
  .beginner-quiz > header > div:last-child { align-items: flex-start; }
  .quiz-layout { margin-top: 48px; }
  .quiz-layout > figure { min-height: 390px; }
  .quiz-questions { padding: 30px 20px; }
  .quiz-actions { align-items: flex-start; flex-direction: column; }
}

/* Contemporary museum visual system */
body {
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
}

img {
  background-color: var(--accent-soft);
}

::selection {
  background: var(--accent-soft);
}

:focus-visible {
  outline-color: var(--red);
  outline-width: 2px;
}

.site-header {
  grid-template-rows: 28px minmax(0, 64px);
  border-color: var(--line);
  background: rgba(243, 240, 232, 0.9);
  -webkit-backdrop-filter: saturate(120%) blur(18px);
  backdrop-filter: saturate(120%) blur(18px);
}

.site-header::before {
  inset: 28px 0 0;
  opacity: 0.025;
}

.site-header.is-scrolled,
.site-header.is-menu-open {
  background: rgba(243, 240, 232, 0.97);
}

.brand {
  gap: 11px;
  padding-right: 36px;
  padding-left: 4vw;
}

.brand-mark {
  width: 28px;
  height: 28px;
  background: var(--red);
  font-size: 16px;
}

.brand-name {
  font-size: 22px;
  font-weight: 600;
}

.site-nav {
  gap: 28px;
}

.site-nav a {
  font-size: 12px;
  font-weight: 500;
}

.site-nav a::after {
  height: 1px;
  background: var(--red);
}

.header-index {
  padding-right: 2.2vw;
  padding-left: 4vw;
  font-size: 8px;
}

.header-search {
  color: rgba(32, 34, 31, 0.56);
}

.header-search:hover {
  color: var(--ink);
}

.button,
.text-button,
.image-inspect,
.glaze-zoom,
.court-inspect {
  border-radius: 2px;
}

.button,
.image-inspect,
.glaze-zoom,
.court-inspect {
  transition: color 220ms ease, background-color 220ms ease, transform 220ms ease;
}

.button:hover,
.image-inspect:hover,
.glaze-zoom:hover,
.court-inspect:hover {
  transform: translateY(-2px);
}

.button-primary,
.image-inspect,
.glaze-zoom,
.court-inspect {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
}

.button-primary:hover,
.image-inspect:hover,
.glaze-zoom:hover,
.court-inspect:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.section-code,
.kicker {
  color: rgba(32, 34, 31, 0.68);
  font-size: 9px;
  letter-spacing: 0;
}

.hero {
  height: min(100svh, 820px);
  min-height: 700px;
  max-height: 820px;
  grid-template-columns: minmax(420px, 42%) minmax(0, 58%);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.hero-copy {
  min-height: 0;
  justify-content: center;
  padding: calc(var(--header-height) + 58px) 6vw 54px;
}

.kicker {
  max-width: 420px;
  padding-bottom: 11px;
  border-color: rgba(32, 34, 31, 0.42);
}

.hero h1 {
  margin: 34px 0 25px;
  font-size: 72px;
  font-weight: 600;
  line-height: 1.02;
}

.hero h1 span:last-child {
  margin: 16px 0 0;
  color: var(--ink);
  font-size: 0.62em;
  line-height: 1.15;
}

.hero-lead {
  max-width: 450px;
  font-size: 19px;
  line-height: 1.75;
}

.hero-actions {
  margin-top: 32px;
}

.hero-coordinate {
  color: rgba(32, 34, 31, 0.64);
}

.hero-object {
  background: var(--ink);
}

.hero-feature-media {
  --parallax-y: 0px;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 51% center;
  transform: translateY(var(--parallax-y)) scale(1.025);
  transition: transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-feature::after {
  border-color: rgba(250, 248, 242, 0.22);
}

.hero-feature figcaption {
  right: 24px;
  bottom: 24px;
  left: 24px;
  background: rgba(32, 34, 31, 0.82);
}

.specimen-number {
  color: var(--white);
  opacity: 0.78;
}

.hero-feature-note {
  position: absolute;
  top: calc(var(--header-height) + 24px);
  left: 24px;
  display: flex;
  max-width: 290px;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px;
  background: rgba(243, 240, 232, 0.92);
  color: var(--ink);
}

.hero-feature-note span {
  font-family: var(--mono);
  font-size: 8px;
}

.hero-feature-note strong {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
}

.hero-feature .image-inspect {
  right: 24px;
  bottom: 76px;
}

.hero-copy > * {
  animation: museum-enter 720ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-copy > :nth-child(2) { animation-delay: 90ms; }
.hero-copy > :nth-child(3) { animation-delay: 180ms; }
.hero-copy > :nth-child(4) { animation-delay: 270ms; }
.hero-copy > :nth-child(5) { animation-delay: 360ms; }
.hero-feature { animation: museum-enter 760ms 140ms cubic-bezier(0.22, 1, 0.36, 1) both; }

@keyframes museum-enter {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.home-collection {
  padding: 112px 6vw 104px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.home-collection > header {
  display: grid;
  grid-template-columns: minmax(170px, 0.42fr) minmax(320px, 0.8fr) minmax(300px, 0.78fr);
  gap: 5vw;
  align-items: end;
}

.home-collection h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 46px;
  font-weight: 600;
  line-height: 1.16;
}

.home-collection header > p:last-child {
  max-width: 570px;
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
}

.collection-rail {
  display: grid;
  grid-template-columns: repeat(7, minmax(150px, 1fr));
  gap: 18px;
  margin-top: 68px;
  padding-bottom: 10px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-color: var(--blue) transparent;
  scrollbar-width: thin;
}

.collection-rail .collection-piece {
  display: grid;
  min-width: 0;
  grid-template-rows: 230px auto auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  background: transparent;
}

.collection-rail .collection-piece img {
  width: 100%;
  height: 230px;
  object-fit: contain;
  background: var(--accent-soft);
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1), opacity 220ms ease;
}

.collection-rail .collection-piece:hover img {
  transform: scale(1.018);
}

.collection-rail .collection-piece span {
  position: static;
  display: block;
  margin-top: 15px;
  padding: 0;
  background: transparent;
  color: var(--red);
  font-family: var(--mono);
  font-size: 9px;
  opacity: 1;
  transform: none;
}

.collection-rail .collection-piece strong {
  margin-top: 7px;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
}

.home-thesis,
.home-start,
.home-craft,
.article-library,
.notes-page-hero,
.chapter-band,
.chapter-band.is-white,
.timeline,
.voyage,
.craft,
.glazes {
  background: var(--paper);
  color: var(--ink);
}

.home-thesis {
  gap: 5vw;
  padding: 118px 6vw;
  background: var(--paper);
}

.home-thesis blockquote {
  font-size: 31px;
  line-height: 1.65;
}

.home-thesis h2 {
  font-size: 36px;
}

.home-thesis-copy p {
  font-size: 15px;
  line-height: 1.95;
}

.home-start {
  gap: 8vw;
  padding: 112px 6vw;
  background: var(--white);
  color: var(--ink);
}

.home-start-heading h2,
.observation-lab > header h2,
.process-explorer > header h2,
.myth-check > header h2,
.beginner-quiz > header h2 {
  font-size: 48px;
  font-weight: 600;
}

.home-start-heading > p:not(.section-code) {
  color: rgba(32, 34, 31, 0.7);
  font-size: 15px;
}

.home-start .button-primary {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
}

.home-start-route {
  border-color: var(--line);
}

.home-start-route li {
  border-color: var(--line);
}

.home-start-route p {
  color: rgba(32, 34, 31, 0.66);
}

.home-craft {
  padding-top: 118px;
  padding-bottom: 118px;
}

.craft-overview h2,
.reading-band h2,
.trade-notes h2 {
  font-size: 48px;
  font-weight: 600;
}

.craft-lead {
  font-size: 19px;
}

.craft-process-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 42px;
  border: 0;
}

.craft-process-grid > li {
  grid-template-columns: minmax(130px, 0.42fr) minmax(0, 0.58fr);
  grid-template-rows: 1fr;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
}

.craft-process-grid figure {
  height: 100%;
  min-height: 250px;
  aspect-ratio: auto;
  border: 0;
  border-right: 1px solid var(--line);
  background: var(--white);
}

.craft-process-grid img {
  filter: none;
}

.craft-process-grid li:hover img {
  transform: scale(1.018);
}

.craft-process-grid > li > div {
  min-height: 250px;
  padding: 27px 24px 24px;
}

.craft-process-grid h3 {
  font-size: 24px;
}

.craft-process-grid > li > div > span,
.article-number,
.material-compare-copy span,
.foundation-terms span,
.observation-copy > span,
.process-stage-copy > span,
.life-use-grid span,
.kiln-map-panel > span {
  color: var(--red);
}

.page-hero {
  height: min(100svh, 790px);
  min-height: 660px;
  max-height: 790px;
  grid-template-columns: minmax(410px, 46%) minmax(0, 54%);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}

.page-hero-dark {
  background: var(--paper);
  color: var(--ink);
}

.page-hero-copy {
  padding: calc(var(--header-height) + 48px) 7vw 60px 6vw;
}

.page-hero-copy h1 {
  margin: 30px 0 26px;
  font-size: 64px;
  font-weight: 600;
  line-height: 1.1;
}

.page-hero-copy > p:not(.section-code) {
  font-size: 18px;
  line-height: 1.85;
}

.page-hero > figure,
.page-hero-dark > figure {
  background: var(--accent-soft);
}

.page-hero > figure img {
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.page-hero > figure:hover img {
  transform: scale(1.018);
}

.section-pad,
.chapter-band,
.reading-band,
.trade-notes,
.observation-lab,
.process-explorer,
.myth-check,
.beginner-quiz {
  padding-top: 108px;
  padding-bottom: 108px;
}

.section-heading h2,
.forms-intro h2,
.glaze-title h2,
.craft-copy h2,
.voyage-heading h2,
.court-copy h2,
.closing h2,
.chapter-heading h2 {
  font-size: 48px;
  font-weight: 600;
  line-height: 1.14;
}

.section-heading > p:last-child,
.forms-intro > p:last-child,
.craft-copy > p:last-child,
.voyage-heading > p:last-child,
.chapter-heading > div:last-child p {
  font-size: 15px;
  line-height: 1.95;
}

.lesson-grid,
.lesson-grid.cols-3,
.motif-grid {
  gap: 48px 34px;
  border: 0;
}

.lesson-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lesson-grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lesson-card,
.motif-grid article {
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
}

.lesson-card figure {
  height: auto;
  aspect-ratio: 4 / 3;
  border: 0;
  background: var(--accent-soft);
}

.lesson-card-copy {
  padding: 26px 0 0;
}

.lesson-card h3 {
  font-size: 26px;
}

.motif-grid {
  margin-top: 68px;
}

.motif-grid article {
  min-height: 0;
  grid-template-rows: minmax(340px, 52vw) auto;
}

.motif-image {
  border: 0;
}

.motif-grid article > div:last-child {
  padding: 28px 0 0;
}

.history-roll {
  position: relative;
  border: 0;
  background: transparent;
}

.history-roll-header {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.history-track {
  border-bottom: 1px solid var(--line);
}

.history-track ol {
  position: relative;
}

.history-track ol::before {
  position: absolute;
  z-index: 2;
  top: 303px;
  right: 0;
  left: 0;
  height: 1px;
  background: var(--blue);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 980ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.history-roll.is-drawn .history-track ol::before {
  transform: scaleX(1);
}

.history-roll-detailed .history-track li,
.history-roll-detailed .history-track .is-focus {
  width: 340px;
  min-height: 690px;
  border-right-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.history-roll-detailed .history-track .is-focus {
  border-top: 3px solid var(--red);
  background: var(--white);
}

.history-track li::after {
  z-index: 3;
  top: 298px;
  right: auto;
  bottom: auto;
  left: 24px;
  width: 10px;
  height: 10px;
  border: 2px solid var(--paper);
  background: var(--blue);
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 260ms ease, transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.history-roll.is-drawn .history-track li::after {
  opacity: 1;
  transform: scale(1);
}

.history-roll.is-drawn .history-track li:nth-child(2)::after { transition-delay: 70ms; }
.history-roll.is-drawn .history-track li:nth-child(3)::after { transition-delay: 140ms; }
.history-roll.is-drawn .history-track li:nth-child(4)::after { transition-delay: 210ms; }
.history-roll.is-drawn .history-track li:nth-child(5)::after { transition-delay: 280ms; }
.history-roll.is-drawn .history-track li:nth-child(n + 6)::after { transition-delay: 350ms; }

.history-object {
  background: var(--accent-soft);
}

.history-object img,
.article-thumb img,
.motif-image img {
  transition-duration: 420ms;
}

.history-controls button:hover:not(:disabled),
.era-tab:hover,
.era-tab.is-active {
  background: var(--blue);
  color: var(--white);
}

.era-tab.is-active strong {
  color: var(--white);
}

.era-progress {
  background: var(--line);
}

.era-progress span {
  background: var(--red);
}

.era-image {
  min-height: 640px;
  background: var(--accent-soft);
}

.era-copy {
  border: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.glaze-title h2 {
  color: var(--ink);
}

.glaze-lab {
  border-color: var(--line);
  background: var(--white);
}

.swatch-list,
.swatch-button,
.glaze-data,
.glaze-data dl div {
  border-color: var(--line);
}

.swatch-button {
  color: var(--ink);
}

.swatch-button:hover,
.swatch-button.is-active {
  background: var(--blue);
  color: var(--white);
}

.glaze-visual {
  background: var(--accent-soft);
}

.glaze-visual img {
  transition: opacity 140ms ease;
}

.reticle,
.glaze-data .glaze-zoom {
  border-color: var(--blue);
}

.reticle::before,
.reticle::after,
.reticle span {
  border-color: var(--blue);
  background: var(--blue);
}

.glaze-data {
  color: var(--ink);
}

.data-index,
.viewer-label,
.glaze-data h3 {
  color: var(--ink);
}

.article-library {
  padding-top: 100px;
  padding-bottom: 110px;
  background: var(--white);
}

.article-index {
  display: block;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 44px;
  border: 0;
}

.article-era-group {
  padding-top: 66px;
  border-top: 1px solid var(--ink);
}

.article-era-group + .article-era-group {
  margin-top: 86px;
}

.article-era-heading {
  display: grid;
  grid-template-columns: minmax(150px, 0.34fr) minmax(230px, 0.62fr) minmax(280px, 1.04fr);
  gap: 4vw;
  align-items: start;
}

.article-era-heading span {
  padding-top: 7px;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 9px;
}

.article-era-heading h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 600;
  line-height: 1.15;
}

.article-era-heading p {
  max-width: 620px;
  margin: 2px 0 0;
  color: rgba(32, 34, 31, 0.68);
  font-size: 13px;
  line-height: 1.85;
}

.article-era-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 44px;
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

.article-entry a {
  min-height: 220px;
  grid-template-columns: 152px minmax(0, 1fr) 26px;
  grid-template-rows: auto 1fr auto;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.article-entry a:hover {
  background: var(--paper);
}

.article-thumb {
  width: 152px;
  height: 100%;
  min-height: 220px;
  grid-column: 1;
  grid-row: 1 / 4;
  border: 0;
}

.article-number {
  grid-column: 2 / 4;
  grid-row: 1;
  padding: 22px 20px 0;
}

.article-entry a > div {
  grid-column: 2 / 4;
  grid-row: 2;
  padding: 12px 20px 16px;
}

.article-entry h3 {
  font-size: 22px;
}

.article-entry p {
  color: rgba(32, 34, 31, 0.7);
}

.article-entry ul {
  color: var(--blue);
}

.article-entry small {
  grid-column: 2;
  grid-row: 3;
  padding: 0 0 22px 20px;
  color: rgba(32, 34, 31, 0.58);
}

.article-entry i {
  grid-column: 3;
  grid-row: 3;
  color: var(--red);
}

.motif-atlas-rule {
  margin-top: 22px !important;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.motif-atlas-rule strong {
  font-family: var(--serif);
  font-weight: 600;
}

.motif-family-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 68px;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.motif-family-grid article {
  min-width: 0;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--white);
}

.motif-family-grid figure {
  position: relative;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--ink);
  background: #e5e5e2;
}

.motif-family-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.motif-family-grid article:hover img {
  transform: scale(1.018);
}

.motif-family-grid figcaption {
  position: absolute;
  right: 12px;
  bottom: 10px;
  padding: 6px 8px;
  background: rgba(250, 248, 242, 0.88);
  font-family: var(--mono);
  font-size: 7px;
}

.motif-family-grid article > div {
  padding: 28px 26px 30px;
}

.motif-family-grid span,
.motif-family-grid small {
  font-family: var(--mono);
  font-size: 8px;
}

.motif-family-grid span {
  color: var(--blue);
}

.motif-family-grid h3 {
  margin: 18px 0 14px;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 600;
}

.motif-family-grid p {
  min-height: 88px;
  margin: 0 0 22px;
  font-size: 13px;
  line-height: 1.85;
}

.motif-family-grid small {
  display: block;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: rgba(32, 34, 31, 0.62);
  line-height: 1.6;
}

.article-filter-bar {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  margin-top: 50px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.article-filter-bar > div {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
}

.article-filter-bar button {
  min-height: 52px;
  padding: 0 18px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  transition: background-color 180ms ease, color 180ms ease;
}

.article-filter-bar button:hover,
.article-filter-bar button.is-active {
  background: var(--ink);
  color: var(--white);
}

.article-filter-bar output {
  display: flex;
  min-width: 92px;
  align-items: center;
  justify-content: flex-end;
  padding-left: 18px;
  font-family: var(--mono);
  font-size: 9px;
  white-space: nowrap;
}

.article-filter-bar + .article-index {
  margin-top: 0;
}

.object-compare {
  padding: 120px 6vw;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.object-compare > header {
  display: grid;
  grid-template-columns: minmax(300px, 0.84fr) minmax(360px, 1.16fr);
  gap: 8vw;
  align-items: end;
}

.object-compare > header h2 {
  margin: 22px 0 0;
  font-family: var(--serif);
  font-size: 48px;
  line-height: 1.16;
}

.object-compare > header > p {
  max-width: 720px;
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
}

.object-compare-tool {
  display: grid;
  grid-template-columns: minmax(580px, 1.22fr) minmax(390px, 0.78fr);
  margin-top: 76px;
  border: 1px solid var(--ink);
  background: var(--white);
}

.object-compare-objects {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-right: 1px solid var(--ink);
}

.object-compare-objects figure {
  position: relative;
  display: grid;
  min-width: 0;
  grid-template-rows: minmax(560px, 66vh) auto;
  margin: 0;
  background: #dfe0df;
}

.object-compare-objects figure:first-child {
  border-right: 1px solid var(--ink);
}

.object-compare-objects figure > span {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  padding: 7px 9px;
  background: rgba(250, 248, 242, 0.9);
  font-family: var(--mono);
  font-size: 8px;
}

.object-compare-objects img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}

.object-compare-objects figcaption {
  display: grid;
  gap: 5px;
  padding: 18px 20px 20px;
  border-top: 1px solid var(--ink);
  background: var(--white);
}

.object-compare-objects figcaption strong {
  font-family: var(--serif);
  font-size: 20px;
}

.object-compare-objects figcaption small {
  font-size: 10px;
  line-height: 1.5;
}

.object-compare-console {
  display: grid;
  min-width: 0;
  grid-template-rows: auto 1fr;
}

.object-compare-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--ink);
}

.object-compare-tabs button {
  display: flex;
  min-width: 0;
  min-height: 78px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-right: 1px solid var(--ink);
  background: transparent;
  cursor: pointer;
  font-size: 11px;
}

.object-compare-tabs button:last-child {
  border-right: 0;
}

.object-compare-tabs button.is-active {
  background: var(--ink);
  color: var(--white);
}

.object-compare-tabs span,
.object-compare-question > span {
  font-family: var(--mono);
  font-size: 8px;
}

.object-compare-question {
  padding: 48px 4vw;
}

.object-compare-question h3 {
  margin: 22px 0 16px;
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1.3;
}

.object-compare-question > p {
  margin: 0;
  color: rgba(32, 34, 31, 0.66);
  font-size: 13px;
  line-height: 1.85;
}

.object-compare-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.object-compare-choices button {
  min-width: 92px;
  min-height: 44px;
  padding: 8px 15px;
  border: 1px solid var(--ink);
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  transition: background-color 180ms ease, color 180ms ease;
}

.object-compare-choices button:hover:not(:disabled) {
  background: var(--accent-soft);
}

.object-compare-choices button.is-correct {
  background: var(--blue);
  color: var(--white);
}

.object-compare-choices button.is-wrong {
  border-color: var(--red);
  color: var(--red);
}

.object-compare-answer {
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px solid var(--ink);
}

.object-compare-answer > strong {
  display: block;
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.55;
}

.object-compare-answer > p {
  margin: 12px 0 24px;
  font-size: 12px;
  line-height: 1.8;
}

.object-compare-answer dl {
  margin: 0;
  border-top: 1px solid var(--line);
}

.object-compare-answer dl div {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 15px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.object-compare-answer dt,
.object-compare-answer dd {
  margin: 0;
  font-size: 11px;
  line-height: 1.7;
}

.object-compare-answer dt {
  font-family: var(--mono);
  font-size: 8px;
}

.object-compare-source {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 26px 0 0;
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.7;
}

.object-compare-source a {
  border-bottom: 1px solid currentColor;
}

.route-line {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.route-stop {
  opacity: 0;
  transform: translateX(-50%) translateY(8px);
  transition: opacity 360ms ease, transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.route-map.is-drawn .route-line {
  transform: scaleX(1);
}

.route-map.is-drawn .route-stop {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.route-map.is-drawn .route-stop:nth-of-type(2) { transition-delay: 100ms; }
.route-map.is-drawn .route-stop:nth-of-type(3) { transition-delay: 200ms; }
.route-map.is-drawn .route-stop:nth-of-type(4) { transition-delay: 300ms; }
.route-map.is-drawn .route-stop:nth-of-type(5) { transition-delay: 400ms; }

.site-footer,
.reading-band,
.court,
.observation-lab,
.myth-check {
  background: var(--ink);
  color: var(--white);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 720ms cubic-bezier(0.22, 1, 0.36, 1), transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-rows: 1fr;
  }
  .site-header::before {
    inset: 0;
  }
  .site-nav { gap: 16px; }
  .hero { grid-template-columns: minmax(370px, 42%) minmax(0, 58%); }
  .hero-copy { padding-right: 5vw; padding-left: 5vw; }
  .hero h1 { font-size: 62px; }
  .hero-lead { font-size: 17px; }
  .home-collection > header { grid-template-columns: minmax(150px, 0.4fr) minmax(280px, 0.8fr) minmax(260px, 0.8fr); }
  .home-thesis {
    grid-template-columns: minmax(190px, 0.42fr) minmax(0, 1fr);
  }
  .home-thesis-copy {
    grid-column: 2;
  }
  .collection-rail { grid-template-columns: repeat(7, 160px); }
  .page-hero-copy h1 { font-size: 56px; }
  .craft-process-grid { column-gap: 28px; }
  .lesson-grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .motif-family-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .object-compare-tool { grid-template-columns: 1fr; }
  .object-compare-objects { border-right: 0; border-bottom: 1px solid var(--ink); }
  .article-index { column-gap: 30px; }
  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Shared mobile refinements */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

a,
button,
input {
  touch-action: manipulation;
}

@media (max-width: 820px) {
  :root {
    --safe-top: env(safe-area-inset-top, 0px);
    --header-height: calc(58px + var(--safe-top));
  }

  .site-header {
    height: var(--header-height);
    padding-top: var(--safe-top);
  }

  .site-header::before {
    top: var(--safe-top);
  }

  .site-nav {
    top: var(--header-height);
    max-height: calc(100dvh - var(--header-height));
    overflow-x: auto;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .site-nav a {
    min-height: 50px;
  }

  .site-footer {
    padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px));
  }

  .viewer-panel {
    padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  }

  .knowledge-search input,
  .article-library-search input,
  .glossary-search input {
    font-size: 16px;
  }
}

@media (max-width: 560px) {
  .collection-rail,
  .history-track,
  .knowledge-filters,
  .article-filter-bar > div,
  .observation-tabs,
  .process-rail {
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }

  .collection-rail,
  .history-track {
    scroll-snap-type: x proximity;
  }

  .collection-rail .collection-piece,
  .history-track li {
    scroll-snap-align: start;
  }

  .knowledge-filters,
  .article-filter-bar > div,
  .observation-tabs,
  .process-rail {
    scroll-snap-type: x proximity;
  }

  .knowledge-filters button,
  .article-filter-bar button,
  .observation-tabs button,
  .process-rail button {
    scroll-snap-align: start;
  }

  .search-dialog,
  .search-shell {
    max-height: calc(100dvh - 20px);
  }
}

@media (max-width: 360px) {
  .brand {
    gap: 9px;
    padding-right: 10px;
    padding-left: 12px;
  }

  .brand-name {
    font-size: 16px;
  }

  .site-nav a {
    min-height: 50px;
    padding-right: 0;
    padding-left: 0;
    font-size: 10px;
  }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-rows: 1fr;
    background: rgba(243, 240, 232, 0.97);
  }
  .site-nav { background: var(--paper); }
  .hero {
    height: auto;
    min-height: 0;
    max-height: none;
    grid-template-columns: 1fr;
  }
  .hero-copy {
    min-height: 600px;
    padding: calc(var(--header-height) + 70px) 7vw 56px;
  }
  .hero h1 { font-size: 60px; }
  .hero-object {
    height: 72svh;
    min-height: 560px;
  }
  .hero-feature-note { top: 18px; left: 18px; }
  .home-collection,
  .home-thesis,
  .home-start,
  .home-craft,
  .article-library { padding-right: 6vw; padding-left: 6vw; }
  .home-collection > header,
  .home-thesis,
  .craft-overview,
  .chapter-heading,
  .section-heading,
  .voyage-heading { grid-template-columns: 1fr; }
  .home-collection > header { gap: 24px; }
  .home-collection h2 { font-size: 42px; }
  .home-thesis { gap: 34px; }
  .home-thesis h2 { max-width: none; }
  .home-start { grid-template-columns: 1fr; }
  .object-compare > header { grid-template-columns: 1fr; gap: 24px; }
  .object-compare-objects figure { grid-template-rows: minmax(500px, 68vh) auto; }
  .craft-process-grid { grid-template-columns: 1fr; }
  .page-hero {
    height: auto;
    min-height: 0;
    max-height: none;
    grid-template-columns: 1fr;
  }
  .page-hero-copy { min-height: 560px; }
  .page-hero > figure { height: 68svh; min-height: 520px; }
  .page-hero-copy h1 { font-size: 52px; }
  .section-heading h2,
  .forms-intro h2,
  .glaze-title h2,
  .craft-copy h2,
  .voyage-heading h2,
  .court-copy h2,
  .closing h2,
  .chapter-heading h2 { font-size: 42px; }
  .chapter-heading > div:last-child { padding-top: 0; }
  .lesson-grid,
  .lesson-grid.cols-3,
  .motif-grid { grid-template-columns: 1fr; }
  .motif-grid article { grid-template-rows: minmax(390px, 72vw) auto; }
  .article-era-heading {
    grid-template-columns: 116px minmax(0, 1fr);
    gap: 16px 28px;
  }
  .article-era-heading p { grid-column: 2; }
  .article-era-grid { grid-template-columns: 1fr; }
  .article-entry a { min-height: 210px; }
  .article-thumb { min-height: 210px; }
  .glaze-lab { grid-template-columns: 150px minmax(0, 1fr); }
  .glaze-data { border-top-color: var(--line); }
}

@media (max-width: 560px) {
  .site-footer {
    grid-template-columns: 1fr;
  }
  .footer-legal {
    grid-template-columns: 1fr;
  }
  .hero {
    display: grid;
    height: auto;
    min-height: 0;
    grid-template-rows: auto auto;
  }
  .hero-copy {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 590px;
    padding: 104px 20px 48px;
    background: var(--paper);
  }
  .kicker { max-width: none; }
  .hero h1 {
    margin-top: 30px;
    font-size: 52px;
  }
  .hero h1 span:last-child {
    margin: 13px 0 0;
    font-size: 0.62em;
  }
  .hero-lead {
    max-width: 330px;
    font-size: 17px;
    line-height: 1.75;
  }
  .hero-actions {
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px 18px;
  }
  .hero-object {
    position: relative;
    inset: auto;
    z-index: 2;
    width: 100%;
    height: 64svh;
    min-height: 480px;
  }
  .hero-feature-media img { object-position: 52% center; }
  .hero-feature-note {
    top: 16px;
    left: 16px;
    padding: 11px 12px;
  }
  .hero-feature-note strong { font-size: 15px; }
  .hero-feature figcaption {
    right: 16px;
    bottom: 16px;
    left: 16px;
    display: grid;
  }
  .hero-feature figcaption span { display: block; }
  .hero-feature figcaption span:nth-child(2) {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .hero-feature .image-inspect { right: 16px; bottom: 70px; }
  .home-collection,
  .home-thesis,
  .home-start,
  .home-craft,
  .article-library { padding: 76px 20px; }
  .home-collection h2 { font-size: 36px; }
  .collection-rail {
    grid-template-columns: repeat(7, 166px);
    gap: 14px;
    margin-top: 48px;
  }
  .collection-rail .collection-piece { grid-template-rows: 205px auto auto; }
  .collection-rail .collection-piece img { height: 205px; }
  .home-thesis blockquote { font-size: 25px; }
  .home-thesis h2 { font-size: 32px; }
  .home-start-heading h2,
  .observation-lab > header h2,
  .object-compare > header h2,
  .process-explorer > header h2,
  .myth-check > header h2,
  .beginner-quiz > header h2 { font-size: 36px; }
  .craft-overview h2,
  .reading-band h2,
  .trade-notes h2 { font-size: 38px; }
  .craft-process-grid > li { grid-template-columns: 118px minmax(0, 1fr); }
  .craft-process-grid figure { min-height: 230px; }
  .craft-process-grid > li > div { min-height: 230px; padding: 24px 18px; }
  .craft-process-grid h3 { font-size: 21px; }
  .page-hero-copy {
    min-height: 520px;
    padding: 102px 20px 42px;
  }
  .page-hero-copy h1 { font-size: 42px; }
  .page-hero-copy > p:not(.section-code) { font-size: 16px; }
  .page-hero > figure { height: 58svh; min-height: 440px; }
  .section-pad,
  .chapter-band,
  .reading-band,
  .trade-notes,
  .observation-lab,
  .object-compare,
  .process-explorer,
  .myth-check,
  .beginner-quiz { padding-top: 76px; padding-bottom: 76px; }
  .section-heading h2,
  .forms-intro h2,
  .glaze-title h2,
  .craft-copy h2,
  .voyage-heading h2,
  .court-copy h2,
  .closing h2,
  .chapter-heading h2 { font-size: 36px; }
  .lesson-grid,
  .lesson-grid.cols-3,
  .motif-grid { gap: 42px; }
  .motif-family-grid { grid-template-columns: 1fr; margin-top: 48px; }
  .motif-family-grid p { min-height: 0; }
  .article-filter-bar { display: block; overflow: visible; }
  .article-filter-bar > div { overflow-x: auto; flex-wrap: nowrap; }
  .article-filter-bar button { flex: 0 0 auto; padding: 0 14px; }
  .article-filter-bar output { min-height: 38px; justify-content: flex-start; padding: 0 12px; border-top: 1px solid var(--line); background: var(--white); }
  .object-compare { padding-right: 20px; padding-left: 20px; }
  .object-compare-tool { margin-top: 48px; }
  .object-compare-objects { grid-template-columns: 1fr; }
  .object-compare-objects figure { grid-template-rows: 520px auto; }
  .object-compare-objects figure:first-child { border-right: 0; border-bottom: 1px solid var(--ink); }
  .object-compare-tabs button { min-height: 70px; font-size: 10px; }
  .object-compare-question { padding: 34px 20px 38px; }
  .object-compare-question h3 { font-size: 28px; }
  .lesson-card-copy { padding-top: 22px; }
  .history-roll-detailed .history-track li,
  .history-roll-detailed .history-track .is-focus {
    width: 286px;
    min-height: 650px;
  }
  .history-track ol::before { top: 273px; }
  .history-track li::after { top: 268px; left: 18px; }
  .history-object { height: 220px; }
  .glaze-lab { grid-template-columns: 1fr; }
  .swatch-list { border-color: var(--line); }
  .swatch-button { border-color: var(--line); }
  .article-index { margin-top: 42px; }
  .article-era-group { padding-top: 42px; }
  .article-era-group + .article-era-group { margin-top: 58px; }
  .article-era-heading {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .article-era-heading h3 { font-size: 30px; }
  .article-era-heading p { grid-column: 1; }
  .article-era-grid { margin-top: 22px; }
  .article-entry a {
    min-height: 188px;
    grid-template-columns: 108px minmax(0, 1fr) 22px;
  }
  .article-thumb {
    width: 108px;
    min-height: 188px;
  }
  .article-entry h3 { font-size: 19px; }
  .article-entry p,
  .article-entry ul { display: none; }
  .article-number { padding: 18px 14px 0; }
  .article-entry a > div { padding: 9px 14px 12px; }
  .article-entry small { padding: 0 0 18px 14px; }
  .article-entry i { padding-right: 10px; }
  .route-line {
    transform: scaleY(0);
    transform-origin: top;
  }
  .route-map.is-drawn .route-line { transform: scaleY(1); }
  .route-stop,
  .route-map.is-drawn .route-stop { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy > *,
  .hero-feature {
    animation: none;
  }
  .hero-feature-media img {
    transform: none;
  }
  .history-track ol::before,
  .history-track li::after,
  .route-line,
  .route-stop {
    opacity: 1;
    transform: none;
  }
}
