:root {
  --ink: #171a18;
  --ink-soft: #2b302d;
  --porcelain: #f4eee2;
  --paper: #fffaf0;
  --kiln: #f06a3c;
  --kiln-dark: #b84220;
  --cobalt: #2454a4;
  --cobalt-dark: #17366b;
  --celadon: #b9d6c2;
  --limestone: #eee6d7;
  --chalk: #fffdf8;
  --line: #171a18;
  --muted: #646b66;
  --shadow-hard: 8px 8px 0 var(--ink);
  --shadow-small: 4px 4px 0 var(--ink);
  --shelf: clamp(4px, .48vw, 8px);
  --gutter: clamp(18px, 4.2vw, 68px);
  --measure: 74rem;
  --slab: "American Typewriter", Rockwell, "Roboto Slab", Georgia, serif;
  --body: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --technical: Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  color-scheme: light;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
  background: var(--ink);
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(90deg, transparent 0 24px, rgba(23, 26, 24, .055) 24px 25px, transparent 25px) 0 0 / 96px 100%,
    var(--porcelain);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.58;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .18;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.1'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

main,
header,
footer,
section,
aside,
nav,
div,
article,
figure,
form {
  min-width: 0;
}

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

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: .11em;
  text-underline-offset: .18em;
}

a:hover {
  text-decoration-color: var(--kiln);
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
[type="submit"],
[type="button"],
summary {
  min-height: 44px;
  touch-action: manipulation;
}

button {
  cursor: pointer;
}

button:disabled,
input:disabled {
  cursor: not-allowed;
}

:focus-visible {
  outline: 4px solid var(--kiln);
  outline-offset: 4px;
}

::selection {
  color: var(--chalk);
  background: var(--cobalt);
}

h1,
h2,
h3,
p,
figure,
blockquote,
dl,
dd,
ol,
ul {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--slab);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.035em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.65rem, 7.6vw, 7.8rem);
}

h2 {
  font-size: clamp(2rem, 4.6vw, 4.8rem);
}

h3 {
  font-size: clamp(1.3rem, 2.4vw, 2rem);
}

p,
li,
dd {
  text-wrap: pretty;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: .8rem 1rem;
  color: var(--chalk);
  background: var(--cobalt);
  border: 3px solid var(--chalk);
  transform: translateY(-180%);
}

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

.eyebrow,
.sub-code,
.shelf-index,
.stage-label,
.micro-line,
.program-status > strong,
.topic-disclosure > strong,
.education-boundary > strong,
.metaphor-note > strong,
.form-status,
.truth-band,
.hero-status,
.module-readout > span,
.phase-output > span,
.phase-panel > span,
.glaze-surface > span,
.drawer-intro > span {
  font-family: var(--technical);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.35;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: 1.15rem;
}

.eyebrow::before {
  content: "";
  flex: 0 0 2.8rem;
  height: 5px;
  background: var(--kiln);
}

.button,
.inline-arrow,
.text-button,
.link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .72rem 1rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

.button {
  position: relative;
  border: 3px solid var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow-small);
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease;
}

.button:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

.button--kiln {
  background: var(--kiln);
}

.button--chalk {
  background: var(--chalk);
}

.button--ink {
  color: var(--chalk);
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: 5px 5px 0 var(--kiln);
}

.inline-arrow,
.text-button,
.link-button {
  padding-inline: 0;
  border: 0;
  background: transparent;
  text-decoration: underline;
  text-decoration-thickness: .12em;
  text-underline-offset: .22em;
}

/* Header: a compact kiln shelf rather than a floating SaaS bar. */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  min-height: 76px;
  color: var(--chalk);
  background: var(--ink);
  border-bottom: var(--shelf) solid var(--kiln);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  min-height: 68px;
  padding: .6rem clamp(15px, 3vw, 46px);
  text-decoration: none;
}

.brand-mark {
  flex: 0 0 43px;
  width: 43px;
}

.brand-mark svg {
  width: 100%;
  overflow: visible;
}

.mark-shelf,
.mark-heat,
.mark-cone {
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-linejoin: bevel;
  stroke-width: 3;
}

.mark-heat {
  stroke: var(--kiln);
}

.mark-cone {
  fill: var(--celadon);
  stroke: var(--celadon);
}

.brand-copy {
  display: grid;
  gap: .05rem;
}

.brand-copy b {
  font-family: var(--slab);
  font-size: clamp(.88rem, 1.4vw, 1.08rem);
  line-height: 1.05;
  letter-spacing: .015em;
}

.brand-copy small {
  color: var(--celadon);
  font-family: var(--technical);
  font-size: .58rem;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.primary-nav {
  display: none;
  align-items: stretch;
}

.primary-nav a {
  display: grid;
  place-items: center;
  min-height: 68px;
  padding: .65rem 1rem;
  border-left: 1px solid rgba(255, 255, 255, .18);
  font-size: .85rem;
  font-weight: 800;
  text-decoration: none;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--ink);
  background: var(--celadon);
}

.menu-toggle {
  display: grid;
  place-items: center;
  align-content: center;
  gap: .4rem;
  min-width: 78px;
  padding: .55rem .7rem;
  color: var(--chalk);
  background: transparent;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, .24);
}

.menu-toggle span {
  font-family: var(--technical);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.menu-toggle i,
.menu-toggle i::before,
.menu-toggle i::after {
  display: block;
  width: 28px;
  height: 3px;
  background: currentColor;
  content: "";
}

.menu-toggle i {
  position: relative;
}

.menu-toggle i::before {
  position: absolute;
  top: -8px;
}

.menu-toggle i::after {
  position: absolute;
  top: 8px;
}

.menu-toggle[aria-expanded="true"] {
  color: var(--ink);
  background: var(--kiln);
}

.menu-toggle[aria-expanded="true"] i {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] i::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] i::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-drawer {
  position: fixed;
  inset: 76px 0 0;
  z-index: 45;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow-y: auto;
  color: var(--chalk);
  background: var(--ink);
  overscroll-behavior: contain;
}

.site-drawer[hidden] {
  display: none;
}

.drawer-intro {
  padding: 1.5rem var(--gutter);
  background: var(--cobalt-dark);
  border-bottom: var(--shelf) solid var(--celadon);
}

.drawer-intro h2 {
  max-width: 15ch;
  margin: .7rem 0;
  font-size: clamp(2rem, 5vw, 4.3rem);
}

.drawer-intro p {
  margin-bottom: 0;
  color: var(--celadon);
}

.site-drawer > nav {
  display: grid;
  align-content: start;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.site-drawer > nav a {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: .5rem;
  align-items: center;
  min-height: 58px;
  padding: .55rem .75rem;
  border-right: 1px solid rgba(255, 255, 255, .18);
  border-bottom: 1px solid rgba(255, 255, 255, .18);
  text-decoration: none;
}

.site-drawer > nav a:hover {
  color: var(--ink);
  background: var(--celadon);
}

.site-drawer > nav small {
  color: var(--kiln);
  font-family: var(--technical);
  font-size: .65rem;
}

.drawer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1rem;
  align-items: center;
  padding: 1rem var(--gutter);
  color: var(--ink);
  background: var(--kiln);
  border-top: var(--shelf) solid var(--chalk);
  font-size: .8rem;
}

body:has(.menu-toggle[aria-expanded="true"]) {
  overflow: hidden;
}

/* Home hero: asymmetric kiln mouth, image contained in a refractory bay. */
.kiln-hero {
  position: relative;
  display: grid;
  color: var(--chalk);
  background: var(--ink);
  border-bottom: var(--shelf) solid var(--ink);
  isolation: isolate;
}

.kiln-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .22;
  background:
    linear-gradient(115deg, transparent 0 56%, var(--kiln) 56% 57%, transparent 57%),
    radial-gradient(circle at 18% 24%, var(--cobalt) 0 1px, transparent 2px) 0 0 / 22px 22px;
}

.kiln-hero__copy {
  padding: clamp(3rem, 7vw, 7.8rem) var(--gutter) clamp(2.4rem, 5vw, 5rem);
}

.kiln-hero__copy h1 {
  max-width: 13ch;
  margin-bottom: 1.35rem;
}

.kiln-hero__copy h1 em {
  color: var(--kiln);
  font-style: normal;
  text-decoration: underline;
  text-decoration-color: var(--cobalt);
  text-decoration-thickness: .13em;
  text-underline-offset: .08em;
}

.kiln-hero__copy > p:not(.eyebrow):not(.micro-line) {
  max-width: 64ch;
  color: #ddd9d0;
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin: 2rem 0 1.15rem;
}

.micro-line {
  margin-bottom: 0;
  color: var(--celadon);
}

.kiln-hero__visual {
  position: relative;
  margin: 0 var(--gutter);
  border: var(--shelf) solid var(--limestone);
  border-bottom-width: calc(var(--shelf) * 2);
  overflow: hidden;
  background: #0c0e0d;
}

.kiln-hero__visual::before {
  content: "";
  position: absolute;
  inset: -3px;
  z-index: 2;
  pointer-events: none;
  border-radius: 48% 48% 0 0 / 20% 20% 0 0;
  box-shadow: inset 0 0 0 6px var(--ink);
}

.kiln-hero__visual img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: saturate(.94) contrast(1.05);
}

.kiln-hero__visual figcaption,
.cooling-rack figcaption {
  padding: .7rem .8rem;
  color: var(--ink);
  background: var(--limestone);
  font-family: var(--technical);
  font-size: .66rem;
  line-height: 1.45;
}

.hero-status {
  display: grid;
  gap: .35rem;
  padding: 1.1rem var(--gutter) 1.3rem;
  color: var(--ink);
  background: var(--celadon);
  border-top: var(--shelf) solid var(--ink);
}

.hero-status a {
  font-family: var(--body);
  font-weight: 800;
  letter-spacing: normal;
  text-transform: none;
}

.truth-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--kiln);
  border-bottom: var(--shelf) solid var(--ink);
}

.truth-band span {
  display: grid;
  place-items: center;
  min-height: 62px;
  padding: .65rem;
  text-align: center;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

/* Signature interactive: raw tile and the five firing questions. */
.raw-tile-lab {
  display: grid;
  border-bottom: var(--shelf) solid var(--ink);
}

.raw-tile-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(420px, 75vw, 680px);
  padding: 4rem var(--gutter);
  color: var(--chalk);
  background:
    repeating-linear-gradient(0deg, transparent 0 96px, rgba(255, 255, 255, .13) 96px 101px),
    var(--cobalt-dark);
  overflow: hidden;
}

.stage-label {
  position: absolute;
  inset: 0 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .8rem var(--gutter);
  color: var(--ink);
  background: var(--celadon);
  border-bottom: 4px solid var(--ink);
}

.test-tile {
  position: relative;
  display: grid;
  place-items: center;
  width: min(56vw, 290px);
  aspect-ratio: 1;
  color: var(--ink);
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, .62), transparent 28%),
    var(--kiln);
  border: 6px solid var(--ink);
  box-shadow: 17px 19px 0 rgba(8, 12, 10, .55);
  transform: rotate(-3deg);
  transition: transform .35s ease, background-color .35s ease;
}

.test-tile span {
  font-family: var(--slab);
  font-size: clamp(4rem, 14vw, 8rem);
  font-weight: 800;
}

.test-tile i {
  position: absolute;
  inset: 9%;
  border: 2px dashed rgba(23, 26, 24, .48);
}

.raw-tile-stage blockquote {
  width: min(100%, 29rem);
  margin: 2rem 0 0;
  padding: .8rem 1rem;
  background: var(--ink);
  border-left: 8px solid var(--kiln);
  font-family: var(--slab);
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
}

.test-cones {
  position: absolute;
  right: 4%;
  bottom: 5%;
  display: flex;
  align-items: end;
  gap: 9px;
}

.test-cones i,
.cone-stack i,
.cone-columns article > i {
  display: block;
  width: 23px;
  height: 64px;
  background: var(--celadon);
  clip-path: polygon(48% 0, 100% 100%, 0 88%);
}

.test-cones i:nth-child(2) {
  height: 48px;
  background: var(--kiln);
}

.test-cones i:nth-child(3) {
  height: 35px;
  background: var(--limestone);
}

.raw-tile-controls {
  padding: clamp(2.6rem, 6vw, 6rem) var(--gutter);
  background: var(--limestone);
}

.raw-tile-controls > h2,
.raw-tile-controls > p {
  max-width: 19ch;
}

.raw-tile-controls > p {
  max-width: 63ch;
}

.phase-rail {
  display: grid;
  margin: 2.2rem 0 0;
  border: 3px solid var(--ink);
}

.phase-rail button {
  display: grid;
  grid-template-columns: 2.8rem 1fr;
  align-items: center;
  min-height: 58px;
  padding: .35rem .7rem;
  color: var(--ink);
  background: var(--paper);
  border: 0;
  border-bottom: 2px solid var(--ink);
  text-align: left;
}

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

.phase-rail button span {
  color: var(--cobalt);
  font-family: var(--technical);
  font-size: .73rem;
}

.phase-rail button:hover,
.phase-rail button.is-active,
.phase-rail button[aria-pressed="true"] {
  background: var(--celadon);
}

.phase-rail button.is-active,
.phase-rail button[aria-pressed="true"] {
  box-shadow: inset 8px 0 0 var(--kiln);
}

.phase-output {
  padding: 1.4rem;
  color: var(--chalk);
  background: var(--ink);
  border-top: 7px solid var(--kiln);
}

.phase-output span {
  color: var(--celadon);
}

.phase-output h3 {
  margin: .6rem 0;
}

.phase-output ul {
  padding-left: 1.2rem;
  margin-bottom: 0;
}

.tool-limit {
  max-width: none !important;
  margin: 1rem 0 0;
  padding: .85rem 1rem;
  border: 2px dashed var(--ink);
  font-size: .83rem;
}

/* Curve workbench */
.firing-curve {
  padding: clamp(3rem, 7vw, 7rem) var(--gutter);
  color: var(--chalk);
  background: var(--ink);
  border-bottom: var(--shelf) solid var(--kiln);
}

.firing-curve > header,
.public-rack > header,
.program-shelf > header {
  display: grid;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.firing-curve > header h2 {
  max-width: 14ch;
}

.firing-curve > header > p {
  max-width: 58ch;
  color: #d7d6ce;
}

.curve-workbench {
  display: grid;
  border: 5px solid var(--limestone);
}

.curve-plot {
  position: relative;
  min-height: 360px;
  padding: 1rem;
  color: var(--ink);
  background: var(--cobalt);
  overflow: hidden;
}

.curve-grid {
  position: absolute;
  inset: 0;
  opacity: .24;
  background-image:
    linear-gradient(var(--chalk) 1px, transparent 1px),
    linear-gradient(90deg, var(--chalk) 1px, transparent 1px);
  background-size: 44px 44px;
}

.curve-plot svg {
  position: relative;
  width: 100%;
  height: clamp(260px, 45vw, 420px);
}

.curve-line,
.phase-chamber__visual path {
  fill: none;
  stroke: var(--kiln);
  stroke-width: 11;
  vector-effect: non-scaling-stroke;
}

.curve-shadow {
  fill: rgba(185, 214, 194, .27);
  stroke: none;
}

.curve-plot circle {
  fill: var(--chalk);
  stroke: var(--ink);
  stroke-width: 5;
}

.curve-plot text {
  fill: var(--chalk);
  font-family: var(--technical);
  font-size: 18px;
  font-weight: 700;
}

.curve-question {
  position: relative;
  margin: -2.5rem 0 0;
  padding: .8rem 1rem;
  background: var(--celadon);
  border: 4px solid var(--ink);
  box-shadow: 7px 7px 0 var(--ink);
}

.curve-question span {
  display: block;
  font-family: var(--technical);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
}

.curve-controls {
  display: grid;
  gap: 1.2rem;
  padding: 1.5rem;
  color: var(--ink);
  background: var(--limestone);
}

.curve-controls label {
  display: grid;
  gap: .55rem;
  font-weight: 700;
}

.curve-controls label > span {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem;
}

.curve-controls output {
  color: var(--cobalt);
  font-family: var(--technical);
  font-size: .78rem;
  text-transform: uppercase;
}

input[type="range"] {
  width: 100%;
  min-height: 44px;
  accent-color: var(--kiln);
}

.curve-readout {
  padding: 1rem;
  background: var(--paper);
  border-left: 7px solid var(--cobalt);
}

.curve-readout ul {
  margin: .55rem 0 0;
  padding-left: 1.2rem;
}

/* Savings cones */
.savings-cones {
  display: grid;
  background: var(--celadon);
  border-bottom: var(--shelf) solid var(--ink);
}

.savings-cones__intro {
  padding: clamp(2.7rem, 6vw, 6rem) var(--gutter);
}

.savings-cones__intro h2 {
  max-width: 14ch;
}

.savings-cones__intro p {
  max-width: 60ch;
}

.cone-columns {
  display: grid;
  border-top: var(--shelf) solid var(--ink);
}

.cone-columns article {
  position: relative;
  min-height: 245px;
  padding: 1.5rem;
  background: var(--limestone);
  border-bottom: 3px solid var(--ink);
}

.cone-columns article:nth-child(2) {
  background: var(--kiln);
}

.cone-columns article:nth-child(3) {
  background: var(--cobalt);
  color: var(--chalk);
}

.cone-columns article > i {
  height: 78px;
  margin-bottom: 1.25rem;
  background: var(--cobalt);
}

.cone-columns article:nth-child(2) > i {
  background: var(--ink);
}

.cone-columns article:nth-child(3) > i {
  background: var(--celadon);
}

.cone-columns article > span {
  font-family: var(--technical);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
}

.cone-columns article h3 {
  margin: .5rem 0;
}

.cone-columns article p {
  margin-bottom: 0;
}

/* Cooling rack */
.cooling-rack {
  display: grid;
  background: var(--porcelain);
  border-bottom: var(--shelf) solid var(--ink);
}

.cooling-rack figure {
  margin: 0;
  background: var(--ink);
  border-bottom: var(--shelf) solid var(--ink);
}

.cooling-rack figure img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.cooling-rack > div {
  padding: clamp(2.7rem, 6vw, 6rem) var(--gutter);
}

.cooling-rack h2 {
  max-width: 13ch;
}

.cooling-rack ol,
.source-ladder {
  padding: 0;
  list-style: none;
  border-top: 5px solid var(--ink);
}

.cooling-rack li,
.source-ladder li {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: .8rem;
  padding: 1rem 0;
  border-bottom: 2px solid var(--ink);
}

.cooling-rack li > span,
.source-ladder li > span {
  color: var(--cobalt);
  font-family: var(--technical);
  font-size: .75rem;
  font-weight: 700;
}

.cooling-rack li p,
.source-ladder li p {
  margin: .15rem 0 0;
}

/* Program shelf and controls */
.program-shelf,
.public-rack {
  padding: clamp(3rem, 7vw, 7rem) var(--gutter);
  border-bottom: var(--shelf) solid var(--ink);
}

.program-shelf {
  background: var(--limestone);
}

.program-shelf > header h2,
.public-rack > header h2 {
  max-width: 15ch;
}

.program-shelf > header p,
.public-rack > header p {
  max-width: 66ch;
}

.module-rail {
  display: grid;
  border: 5px solid var(--ink);
}

.module-rail button {
  position: relative;
  display: grid;
  grid-template-columns: 2.4rem 1fr auto;
  gap: .65rem;
  align-items: center;
  min-height: 68px;
  padding: .65rem .8rem;
  background: var(--paper);
  border: 0;
  border-bottom: 2px solid var(--ink);
  text-align: left;
}

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

.module-rail button > span,
.module-rail button > small {
  font-family: var(--technical);
  font-size: .65rem;
  font-weight: 700;
}

.module-rail button > span {
  color: var(--cobalt);
}

.module-rail button > i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: var(--kiln);
}

.module-rail button:hover,
.module-rail button[aria-pressed="true"] {
  background: var(--celadon);
}

.module-rail button[aria-pressed="true"] > i {
  width: 8px;
}

.module-readout {
  padding: 1.5rem;
  color: var(--chalk);
  background: var(--cobalt-dark);
  border-bottom: 8px solid var(--kiln);
}

.module-readout span {
  color: var(--celadon);
}

.module-readout h3 {
  margin: .65rem 0;
}

.module-readout p {
  max-width: 56ch;
}

/* Ungated resources: long shelf labels, not generic floating cards. */
.public-rack {
  background: var(--celadon);
}

.resource-shelves,
.tile-grid,
.sample-row,
.material-strips,
.crack-grid {
  display: grid;
  border-top: 6px solid var(--ink);
}

.resource-shelves article,
.tile-grid article,
.sample-row article,
.material-strips article,
.crack-grid article {
  position: relative;
  padding: 1.25rem;
  background: var(--paper);
  border-bottom: 3px solid var(--ink);
}

.resource-shelves article > span,
.tile-grid article > span,
.sample-row article > span,
.material-strips article > span,
.crack-grid article > span {
  display: inline-grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  color: var(--chalk);
  background: var(--cobalt);
  font-family: var(--technical);
  font-size: .65rem;
}

.resource-shelves article h3,
.tile-grid article h3,
.sample-row article h3,
.material-strips article h3,
.crack-grid article h3 {
  margin: 1.1rem 0 .55rem;
}

.resource-shelves article p,
.tile-grid article p,
.sample-row article p,
.material-strips article p,
.crack-grid article p {
  margin-bottom: .8rem;
}

.resource-shelves article:nth-child(even),
.sample-row article:nth-child(even),
.material-strips article:nth-child(2) {
  background: var(--limestone);
}

.resource-shelves article:nth-child(3n) > span,
.tile-grid article:nth-child(3n) > span {
  color: var(--ink);
  background: var(--kiln);
}

/* Legal identity section */
.identity-kiln,
.lead-kiln {
  display: grid;
  border-bottom: var(--shelf) solid var(--ink);
}

.identity-kiln > div:first-child,
.lead-kiln > div:first-child {
  padding: clamp(2.8rem, 6vw, 6rem) var(--gutter);
}

.identity-kiln > div:first-child {
  color: var(--chalk);
  background: var(--cobalt-dark);
}

.identity-kiln h2,
.lead-kiln h2 {
  max-width: 16ch;
}

.identity-kiln p,
.lead-kiln p {
  max-width: 62ch;
}

.operator-facts {
  margin: 0;
  padding: clamp(2rem, 5vw, 4.5rem) var(--gutter);
  background: var(--kiln);
}

.operator-facts div {
  display: grid;
  gap: .2rem;
  padding: .8rem 0;
  border-bottom: 3px solid var(--ink);
}

.operator-facts dt {
  font-family: var(--technical);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.operator-facts dd {
  margin: 0;
  font-family: var(--slab);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 700;
}

.lead-kiln {
  background: var(--limestone);
}

.lead-form {
  align-self: stretch;
  padding: clamp(2.2rem, 5vw, 5rem) var(--gutter);
  color: var(--chalk);
  background: var(--ink);
  border-top: var(--shelf) solid var(--kiln);
}

.lead-field > label {
  display: block;
  margin-bottom: .5rem;
  font-family: var(--technical);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.lead-field > div {
  display: grid;
  gap: .65rem;
}

.lead-field input {
  width: 100%;
  min-height: 54px;
  padding: .75rem 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 3px solid var(--chalk);
  border-radius: 0;
  box-shadow: none;
}

.lead-field button {
  min-height: 54px;
  padding: .75rem 1rem;
  color: var(--ink);
  background: var(--kiln);
  border: 3px solid var(--kiln);
  font-weight: 800;
}

.lead-field button:not(:disabled):hover {
  background: var(--celadon);
  border-color: var(--celadon);
}

.lead-field button:disabled,
.lead-field input:disabled {
  opacity: .58;
}

.lead-field > span,
.form-note {
  display: block;
  margin-top: .5rem;
  color: #c8ccc8;
  font-size: .77rem;
}

.form-status {
  margin: 1.2rem 0 .4rem;
  padding: .7rem .8rem;
  color: var(--ink);
  background: var(--celadon);
  border-left: 7px solid var(--kiln);
}

.form-status.is-error,
.form-status[data-state="error"] {
  background: #ffd7cc;
}

.form-status.is-success,
.form-status[data-state="success"] {
  background: var(--celadon);
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.notice {
  padding: 1rem;
  color: var(--ink);
  background: var(--kiln);
  border: 3px solid var(--chalk);
}

/* Reusable disclosure shelves */
.education-boundary,
.metaphor-note,
.topic-disclosure,
.program-status {
  display: grid;
  gap: .45rem;
  margin: 0;
  padding: 1.2rem var(--gutter);
  border-bottom: var(--shelf) solid var(--ink);
}

.education-boundary p,
.metaphor-note p,
.topic-disclosure p,
.program-status p {
  max-width: 88ch;
  margin-bottom: 0;
}

.education-boundary {
  color: var(--chalk);
  background: var(--cobalt-dark);
}

.education-boundary strong {
  color: var(--celadon);
}

.metaphor-note {
  background: var(--celadon);
}

.topic-disclosure,
.program-status {
  background: var(--kiln);
}

/* Subpage hero, always a kiln arch and never a generic centered masthead. */
.sub-hero {
  position: relative;
  display: grid;
  gap: 1.5rem;
  padding: clamp(2.8rem, 7vw, 7rem) var(--gutter);
  color: var(--chalk);
  background:
    linear-gradient(115deg, transparent 0 70%, rgba(240, 106, 60, .2) 70% 71%, transparent 71%),
    var(--ink);
  border-bottom: var(--shelf) solid var(--kiln);
  overflow: hidden;
}

.sub-hero > div:nth-child(2) {
  max-width: 66rem;
}

.sub-hero h1 {
  max-width: 14ch;
  margin-bottom: 1.2rem;
  font-size: clamp(2.7rem, 7vw, 7rem);
}

.sub-hero > div:nth-child(2) > p:not(.eyebrow) {
  max-width: 63ch;
  color: #ddd9d0;
  font-size: clamp(1.05rem, 1.8vw, 1.32rem);
}

.sub-code {
  align-self: start;
  width: max-content;
  padding: .55rem .7rem;
  color: var(--ink);
  background: var(--kiln);
  border: 3px solid var(--chalk);
  box-shadow: 5px 5px 0 var(--cobalt);
}

.cone-stack {
  display: flex;
  align-items: end;
  gap: 1rem;
  min-height: 125px;
}

.cone-stack i {
  width: clamp(28px, 4vw, 54px);
  height: clamp(85px, 12vw, 150px);
}

.cone-stack i:nth-child(2) {
  height: clamp(60px, 9vw, 112px);
  background: var(--kiln);
}

.cone-stack i:nth-child(3) {
  height: clamp(40px, 6vw, 75px);
  background: var(--cobalt);
}

.content-shelf {
  display: grid;
  border-bottom: var(--shelf) solid var(--ink);
  background: var(--porcelain);
}

.content-shelf:nth-of-type(even) {
  background: var(--limestone);
}

.shelf-index {
  padding: 1rem var(--gutter);
  color: var(--chalk);
  background: var(--cobalt);
  border-bottom: 3px solid var(--ink);
}

.shelf-main {
  padding: clamp(2.6rem, 6vw, 6rem) var(--gutter);
}

.shelf-main > header {
  display: grid;
  gap: .4rem;
  margin-bottom: 2rem;
}

.shelf-main > header h2 {
  max-width: 16ch;
  margin-bottom: 0;
}

.shelf-main > header p {
  max-width: 66ch;
  margin-bottom: 0;
  font-size: 1.05rem;
}

.wide-copy {
  max-width: 78ch;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
}

/* Interactive stamp station */
.stamp-lab {
  display: grid;
  border-bottom: var(--shelf) solid var(--ink);
}

.stamp-tile {
  display: grid;
  place-items: center;
  min-height: 460px;
  padding: 3rem var(--gutter);
  color: var(--chalk);
  background: var(--cobalt-dark);
}

.stamp-tile__surface {
  position: relative;
  display: grid;
  place-items: center;
  width: min(78vw, 410px);
  aspect-ratio: 1;
  padding: 2rem;
  color: var(--ink);
  background: var(--limestone);
  border: 7px solid var(--ink);
  box-shadow: 17px 17px 0 var(--kiln);
  transform: rotate(2deg);
}

.stamp-tile__surface > span {
  max-width: 15ch;
  font-family: var(--slab);
  font-size: clamp(1.6rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.05;
  text-align: center;
}

.stamp-tile__surface > div {
  position: absolute;
  inset: 0;
  display: flex;
  flex-wrap: wrap;
  align-content: space-between;
  justify-content: space-between;
  padding: 1rem;
  pointer-events: none;
}

.stamp-tile__surface > div > * {
  padding: .28rem .4rem;
  color: var(--cobalt-dark);
  border: 3px solid currentColor;
  font-family: var(--technical);
  font-size: .62rem;
  font-weight: 800;
  text-transform: uppercase;
  transform: rotate(-4deg);
}

.stamp-tile > p {
  margin: 2.1rem 0 0;
  font-family: var(--technical);
  font-size: .7rem;
}

.stamp-controls {
  padding: clamp(2.7rem, 6vw, 6rem) var(--gutter);
  background: var(--celadon);
}

.stamp-controls h2 {
  max-width: 15ch;
}

.stamp-controls > p {
  max-width: 63ch;
}

.stamp-buttons {
  display: grid;
  margin: 2rem 0 0;
  border: 4px solid var(--ink);
}

.stamp-buttons button {
  display: grid;
  gap: .15rem;
  min-height: 72px;
  padding: .8rem;
  background: var(--paper);
  border: 0;
  border-bottom: 2px solid var(--ink);
  text-align: left;
}

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

.stamp-buttons button b {
  color: var(--cobalt);
  font-family: var(--technical);
  letter-spacing: .08em;
}

.stamp-buttons button:hover,
.stamp-buttons button[aria-pressed="true"] {
  background: var(--kiln);
}

.stamp-output {
  padding: 1.1rem;
  color: var(--chalk);
  background: var(--ink);
  border-bottom: 7px solid var(--kiln);
}

.stamp-output > span {
  color: var(--celadon);
  font-family: var(--technical);
  font-size: .7rem;
}

.stamp-output p {
  margin: .55rem 0 0;
}

.stamp-output .text-button {
  color: var(--chalk);
}

.process-shelf {
  display: grid;
  border: 5px solid var(--ink);
}

.process-shelf span {
  min-height: 110px;
  padding: 1rem;
  background: var(--paper);
  border-bottom: 3px solid var(--ink);
  font-family: var(--slab);
  font-size: 1.15rem;
  font-weight: 700;
}

.process-shelf span:last-child {
  border-bottom: 0;
}

.process-shelf i {
  display: block;
  margin-bottom: .8rem;
  color: var(--cobalt);
  font-family: var(--technical);
  font-size: .65rem;
  font-style: normal;
  letter-spacing: .1em;
}

.hot-cool {
  display: grid;
  border: 5px solid var(--ink);
}

.hot-cool blockquote {
  min-height: 180px;
  margin: 0;
  padding: 1.4rem;
  background: var(--kiln);
  border-bottom: 4px solid var(--ink);
  font-family: var(--slab);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 700;
}

.hot-cool blockquote:last-child {
  color: var(--chalk);
  background: var(--cobalt-dark);
  border-bottom: 0;
}

.hot-cool blockquote span {
  display: block;
  margin-bottom: 1.2rem;
  font-family: var(--technical);
  font-size: .65rem;
  letter-spacing: .1em;
}

/* Standalone firing chamber */
.phase-chamber {
  display: grid;
  color: var(--chalk);
  background: var(--ink);
  border-bottom: var(--shelf) solid var(--kiln);
}

.phase-chamber__visual {
  position: relative;
  min-height: 310px;
  padding: clamp(1rem, 4vw, 3rem);
  background: var(--cobalt-dark);
  overflow: hidden;
}

.phase-chamber__visual svg {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  min-height: 290px;
}

.phase-chamber__visual circle {
  fill: var(--celadon);
  stroke: var(--ink);
  stroke-width: 7;
}

.heat-field {
  position: absolute;
  inset: 0;
  opacity: .35;
  background:
    radial-gradient(circle at 70% 34%, var(--kiln), transparent 30%),
    repeating-linear-gradient(0deg, transparent 0 70px, rgba(255, 255, 255, .16) 70px 74px);
}

.phase-chamber__controls {
  padding: clamp(2rem, 5vw, 4rem) var(--gutter);
}

.phase-tabs {
  display: grid;
  border: 4px solid var(--chalk);
}

.phase-tabs button {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  align-items: center;
  min-height: 58px;
  padding: .6rem .8rem;
  color: var(--chalk);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .45);
  text-align: left;
}

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

.phase-tabs button:hover,
.phase-tabs button[aria-selected="true"] {
  color: var(--ink);
  background: var(--kiln);
}

.phase-panel {
  padding: 1.5rem;
  color: var(--ink);
  background: var(--celadon);
  border-bottom: 8px solid var(--kiln);
}

.phase-panel h2 {
  max-width: 16ch;
  margin: .7rem 0;
  font-size: clamp(1.8rem, 4vw, 3.3rem);
}

.phase-panel ul {
  padding-left: 1.2rem;
  margin-bottom: 0;
}

/* Glaze semantics */
.glaze-lab {
  display: grid;
  border-bottom: var(--shelf) solid var(--ink);
}

.glaze-surface {
  position: relative;
  display: grid;
  place-content: center;
  min-height: 420px;
  padding: 3rem var(--gutter);
  background: var(--celadon);
  overflow: hidden;
}

.glaze-surface::before {
  content: "";
  position: absolute;
  width: min(73vw, 420px);
  aspect-ratio: 1;
  top: 50%;
  left: 50%;
  background: rgba(255, 255, 255, .46);
  border: 7px solid var(--ink);
  box-shadow: 14px 14px 0 var(--cobalt-dark);
  transform: translate(-50%, -50%) rotate(-2deg);
}

.glaze-surface > span,
.glaze-surface blockquote {
  position: relative;
  z-index: 2;
  max-width: 25rem;
}

.glaze-surface blockquote {
  margin: 1rem 0 0;
  font-family: var(--slab);
  font-size: clamp(1.35rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.08;
}

.glaze-surface > i {
  position: absolute;
  inset: 10% 12% auto auto;
  width: 65px;
  height: 65px;
  border: 5px solid var(--kiln);
  transform: rotate(18deg);
}

.glaze-lab > div:last-child {
  padding: clamp(2rem, 5vw, 5rem) var(--gutter);
  background: var(--limestone);
}

.glaze-switches {
  display: grid;
  border: 4px solid var(--ink);
}

.glaze-switches button {
  min-height: 54px;
  padding: .65rem;
  background: var(--paper);
  border: 0;
  border-bottom: 2px solid var(--ink);
  font-weight: 800;
}

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

.glaze-switches button:hover,
.glaze-switches button.is-active,
.glaze-switches button[aria-pressed="true"] {
  background: var(--kiln);
}

.glaze-output {
  padding: 1.4rem;
  color: var(--chalk);
  background: var(--cobalt-dark);
  border-top: 7px solid var(--kiln);
}

.glaze-output h2 {
  margin-bottom: .7rem;
  font-size: clamp(1.7rem, 4vw, 3rem);
}

.glaze-output strong {
  display: block;
  padding-top: .8rem;
  color: var(--celadon);
  border-top: 1px solid rgba(255, 255, 255, .3);
}

/* Topic structures */
.batch-zones,
.nominal-real,
.scenario-strips,
.available-links {
  display: grid;
  border: 5px solid var(--ink);
}

.batch-zones article,
.nominal-real > div {
  padding: 1.2rem;
  background: var(--paper);
  border-bottom: 3px solid var(--ink);
}

.batch-zones article:nth-child(2),
.nominal-real > div:nth-child(2) {
  background: var(--celadon);
}

.batch-zones article:nth-child(3) {
  color: var(--chalk);
  background: var(--cobalt-dark);
}

.batch-zones span,
.nominal-real span,
.scenario-strips span {
  font-family: var(--technical);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .09em;
}

.batch-zones h3 {
  margin: .8rem 0 .4rem;
}

.batch-zones p,
.nominal-real p {
  margin-bottom: 0;
}

.nominal-real > p {
  margin: 0;
  padding: 1rem;
  color: var(--chalk);
  background: var(--ink);
}

.label-fields {
  display: grid;
  margin: 0;
  border: 5px solid var(--ink);
}

.label-fields div {
  display: grid;
  grid-template-columns: minmax(7rem, .7fr) 1.3fr;
  border-bottom: 2px solid var(--ink);
}

.label-fields div:last-child {
  border-bottom: 0;
}

.label-fields dt,
.label-fields dd {
  margin: 0;
  padding: .8rem;
}

.label-fields dt {
  color: var(--chalk);
  background: var(--cobalt-dark);
  font-family: var(--technical);
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.label-fields dd {
  background: var(--paper);
}

.ceramic-list {
  display: grid;
  padding: 0;
  list-style: none;
  border-top: 6px solid var(--ink);
}

.ceramic-list li {
  position: relative;
  padding: 1rem 1rem 1rem 3rem;
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
}

.ceramic-list li::before {
  content: "";
  position: absolute;
  top: 1.15rem;
  left: .9rem;
  width: 1.1rem;
  height: 1.1rem;
  background: var(--kiln);
  border: 2px solid var(--ink);
  transform: rotate(4deg);
}

.formula-slab {
  padding: clamp(1rem, 3vw, 2rem);
  color: var(--chalk);
  background: var(--cobalt-dark);
  border: 6px solid var(--ink);
  box-shadow: var(--shadow-hard);
}

.formula-slab code {
  display: block;
  overflow-wrap: anywhere;
  color: var(--celadon);
  font-family: var(--technical);
  font-size: clamp(.92rem, 2vw, 1.25rem);
}

.formula-slab p {
  margin: 1rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, .3);
}

.scenario-strips span {
  min-height: 58px;
  padding: 1rem;
  background: var(--kiln);
  border-bottom: 2px solid var(--ink);
}

.scenario-strips span:nth-child(2) {
  background: var(--celadon);
}

.scenario-strips span:nth-child(3) {
  color: var(--chalk);
  background: var(--cobalt);
}

.scenario-strips p {
  margin: 0;
  padding: 1rem;
  background: var(--paper);
}

.source-ladder {
  margin-bottom: 0;
}

/* Proposed program wall */
.program-wall {
  display: grid;
  border-bottom: var(--shelf) solid var(--ink);
}

.program-wall article {
  padding: clamp(1.4rem, 3vw, 2.4rem) var(--gutter);
  background: var(--paper);
  border-bottom: 3px solid var(--ink);
}

.program-wall article:nth-child(3n + 2) {
  background: var(--celadon);
}

.program-wall article:nth-child(3n) {
  background: var(--limestone);
}

.program-wall article > span {
  font-family: var(--technical);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .09em;
}

.program-wall h2 {
  margin: .85rem 0 .6rem;
  font-size: clamp(1.7rem, 3.2vw, 2.8rem);
}

details {
  margin-top: 1rem;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem 0;
  font-weight: 800;
  cursor: pointer;
}

summary::after {
  content: "+";
  flex: 0 0 2rem;
  font-family: var(--technical);
  font-size: 1.4rem;
  text-align: center;
}

details[open] summary::after {
  content: "−";
}

details > p,
details > div {
  padding: .3rem 0 1rem;
}

.available-links a {
  display: grid;
  gap: .25rem;
  min-height: 88px;
  padding: 1rem;
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
  text-decoration: none;
}

.available-links a:last-child {
  border-bottom: 0;
}

.available-links a:hover {
  background: var(--kiln);
}

.available-links a b {
  font-family: var(--slab);
  font-size: 1.25rem;
}

/* Generic page/document patterns for forthcoming library and legal pages. */
.document,
.legal-page,
.policy-page,
.article-page,
.page-body,
.content-page {
  width: min(100%, var(--measure));
  margin-inline: auto;
  padding: clamp(2.7rem, 6vw, 6rem) var(--gutter);
}

.document > *,
.legal-page > *,
.policy-page > *,
.article-page > *,
.page-body > *,
.content-page > * {
  max-width: 78ch;
}

.document h2,
.legal-page h2,
.policy-page h2,
.article-page h2,
.page-body h2,
.content-page h2 {
  margin-top: 2.6rem;
  padding-top: 1rem;
  border-top: 6px solid var(--ink);
  font-size: clamp(1.8rem, 4vw, 3.3rem);
}

.document h3,
.legal-page h3,
.policy-page h3,
.article-page h3,
.page-body h3,
.content-page h3 {
  margin-top: 2rem;
  font-size: clamp(1.3rem, 2.5vw, 2rem);
}

.document table,
.legal-page table,
.policy-page table,
.article-page table,
.page-body table,
.content-page table,
.data-table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  border: 4px solid var(--ink);
}

th,
td {
  padding: .75rem;
  border: 2px solid var(--ink);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--chalk);
  background: var(--cobalt-dark);
  font-family: var(--technical);
  font-size: .72rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.toc,
.page-index,
.site-map-grid,
.link-rack,
.library-rack,
.faq-list,
.glossary-list {
  display: grid;
  border-top: 6px solid var(--ink);
}

.toc a,
.page-index a,
.site-map-grid a,
.link-rack a,
.library-rack a {
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: .65rem .8rem;
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
  font-weight: 750;
  text-decoration: none;
}

.toc a:hover,
.page-index a:hover,
.site-map-grid a:hover,
.link-rack a:hover,
.library-rack a:hover {
  background: var(--celadon);
}

.definition-grid,
.facts-grid,
.reference-grid,
.worksheet-grid,
.legal-grid,
.question-grid {
  display: grid;
  border-top: 6px solid var(--ink);
}

.definition-grid > *,
.facts-grid > *,
.reference-grid > *,
.worksheet-grid > *,
.legal-grid > *,
.question-grid > * {
  margin: 0;
  padding: 1.1rem;
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
}

.definition-grid > *:nth-child(even),
.facts-grid > *:nth-child(even),
.reference-grid > *:nth-child(even),
.worksheet-grid > *:nth-child(even),
.legal-grid > *:nth-child(even),
.question-grid > *:nth-child(even) {
  background: var(--limestone);
}

.search-field,
.filter-field,
.worksheet-field {
  display: grid;
  gap: .45rem;
  margin-bottom: 1rem;
}

.search-field input,
.filter-field input,
.worksheet-field input,
.worksheet-field textarea,
.worksheet-field select {
  width: 100%;
  min-height: 52px;
  padding: .7rem .85rem;
  color: var(--ink);
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 0;
}

.worksheet-field textarea {
  min-height: 9rem;
  resize: vertical;
}

.empty-state,
.error-state,
.success-state,
.status-panel {
  padding: 1.2rem;
  background: var(--celadon);
  border: 4px solid var(--ink);
  border-left: 10px solid var(--cobalt);
}

.error-state {
  background: #ffd7cc;
  border-left-color: var(--kiln-dark);
}

/* Footer is a dark stack of thick refractory shelves. */
.site-footer {
  color: var(--chalk);
  background: var(--ink);
}

.footer-brand {
  padding: clamp(2.5rem, 5vw, 5rem) var(--gutter);
  background: var(--cobalt-dark);
  border-bottom: var(--shelf) solid var(--kiln);
}

.footer-brand .brand-copy b {
  font-size: 1.25rem;
}

.footer-brand > p {
  max-width: 44ch;
  margin: 1.2rem 0 .5rem;
  color: var(--celadon);
  font-family: var(--slab);
  font-size: clamp(1.45rem, 3vw, 2.4rem);
  line-height: 1.1;
}

.footer-brand > a {
  font-weight: 800;
}

.footer-shelves {
  display: grid;
}

.footer-shelves nav {
  padding: 1.25rem var(--gutter);
  border-bottom: 3px solid rgba(255, 255, 255, .22);
}

.footer-shelves h2 {
  margin: 0 0 .65rem;
  color: var(--kiln);
  font-family: var(--technical);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.footer-shelves a,
.footer-shelves .link-button {
  display: flex;
  justify-content: flex-start;
  min-height: 44px;
  padding: .45rem 0;
  color: #dedfd9;
  font-size: .9rem;
}

.footer-legal {
  padding: 1.5rem var(--gutter) 7rem;
  color: #b9beb9;
  background: #0d0f0e;
  font-size: .75rem;
}

.footer-legal p {
  max-width: 100ch;
  margin-bottom: .75rem;
}

.storage-note {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 70;
  display: grid;
  gap: .8rem;
  padding: 1rem var(--gutter);
  color: var(--ink);
  background: var(--celadon);
  border-top: 6px solid var(--ink);
  box-shadow: 0 -10px 0 rgba(23, 26, 24, .18);
}

.storage-note[hidden] {
  display: none;
}

.storage-note p {
  margin: .2rem 0 0;
  font-size: .82rem;
}

.storage-note > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  align-items: center;
}

.storage-note button,
.storage-note a {
  display: inline-grid;
  place-items: center;
  min-height: 44px;
  padding: .55rem .8rem;
  background: var(--paper);
  border: 3px solid var(--ink);
  font-weight: 800;
}

/* Resource routes: six heavy labelled shelves. */
.library-index {
  display: grid;
  background: var(--limestone);
  border-bottom: var(--shelf) solid var(--ink);
}

.library-index article {
  display: grid;
  grid-template-columns: 2.8rem 1fr;
  gap: 1rem;
  padding: clamp(1.4rem, 3vw, 2.4rem) var(--gutter);
  background: var(--paper);
  border-bottom: 3px solid var(--ink);
}

.library-index article:nth-child(even) {
  background: var(--celadon);
}

.library-index article > span {
  display: grid;
  place-items: center;
  align-self: start;
  width: 2.8rem;
  height: 2.8rem;
  color: var(--chalk);
  background: var(--cobalt);
  font-family: var(--technical);
  font-size: .68rem;
  font-weight: 700;
}

.library-index h2 {
  max-width: 20ch;
  margin: 0 0 .45rem;
  font-size: clamp(1.65rem, 3vw, 2.75rem);
}

.library-index p {
  max-width: 55ch;
  margin-bottom: 0;
}

.library-index article > a {
  grid-column: 2;
  justify-self: start;
  align-self: end;
  min-height: 44px;
  padding-top: .7rem;
  font-weight: 800;
}

/* Browser-only worksheets */
.worksheet-lab {
  display: grid;
  background: var(--limestone);
  border-bottom: var(--shelf) solid var(--ink);
}

.worksheet-tabs {
  display: grid;
  border-bottom: var(--shelf) solid var(--ink);
}

.worksheet-tabs button {
  min-height: 58px;
  padding: .65rem .85rem;
  color: var(--ink);
  background: var(--paper);
  border: 0;
  border-bottom: 2px solid var(--ink);
  font-weight: 800;
  text-align: left;
}

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

.worksheet-tabs button:hover,
.worksheet-tabs button[aria-selected="true"] {
  background: var(--kiln);
}

.worksheet-tabs button[aria-selected="true"] {
  box-shadow: inset 8px 0 0 var(--cobalt);
}

.worksheet {
  display: grid;
  gap: 1rem;
  padding: clamp(2rem, 5vw, 4.5rem) var(--gutter);
  background: var(--celadon);
}

.worksheet-head {
  padding-bottom: 1.2rem;
  border-bottom: 6px solid var(--ink);
}

.worksheet-head > span,
.worksheet-preview > strong {
  font-family: var(--technical);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .09em;
}

.worksheet-head h2 {
  max-width: 17ch;
  margin: .65rem 0;
  font-size: clamp(1.8rem, 4vw, 3.4rem);
}

.worksheet-head p {
  max-width: 58ch;
  margin-bottom: 0;
}

.worksheet > label {
  display: grid;
  gap: .45rem;
  font-weight: 800;
}

.worksheet textarea {
  width: 100%;
  min-height: 8rem;
  padding: .8rem;
  color: var(--ink);
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 0;
  resize: vertical;
}

.worksheet-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 1.2rem;
  align-items: center;
}

.worksheet-preview {
  padding: clamp(2rem, 5vw, 4rem) var(--gutter);
  color: var(--chalk);
  background: var(--cobalt-dark);
  border-top: var(--shelf) solid var(--kiln);
}

.worksheet-preview > strong {
  color: var(--celadon);
}

.worksheet-preview h2,
.worksheet-preview h3 {
  margin: 1rem 0 .5rem;
}

.worksheet-preview p,
.worksheet-preview li {
  max-width: 62ch;
}

/* Glossary search and definition tiles */
.glossary {
  padding: clamp(2.7rem, 6vw, 6rem) var(--gutter);
  background: var(--celadon);
  border-bottom: var(--shelf) solid var(--ink);
}

.glossary > label {
  display: grid;
  gap: .65rem;
  max-width: 48rem;
  font-family: var(--slab);
  font-size: clamp(1.4rem, 3vw, 2.35rem);
  font-weight: 700;
}

.glossary > label input {
  width: 100%;
  min-height: 60px;
  padding: .8rem 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 4px solid var(--ink);
  border-radius: 0;
  font-family: var(--body);
  font-size: 1rem;
}

.glossary > p[data-glossary-count] {
  margin: 1rem 0 2rem;
  font-family: var(--technical);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.glossary-list {
  grid-template-columns: 1fr;
}

.glossary-list article {
  padding: 1.2rem;
  background: var(--paper);
  border-bottom: 3px solid var(--ink);
}

.glossary-list article:nth-child(even) {
  background: var(--limestone);
}

.glossary-list h2 {
  margin-bottom: .5rem;
  color: var(--cobalt-dark);
  font-size: clamp(1.6rem, 3vw, 2.45rem);
  text-transform: lowercase;
}

.glossary-list p {
  margin-bottom: 0;
}

.glossary .empty-state {
  margin: 1rem 0 0;
}

/* FAQ wall with numbered refractory joints. */
.faq-wall {
  padding: clamp(2.5rem, 6vw, 6rem) var(--gutter);
  background: var(--limestone);
  border-bottom: var(--shelf) solid var(--ink);
}

.faq-wall details {
  margin: 0;
  background: var(--paper);
  border: 0;
  border-top: 4px solid var(--ink);
}

.faq-wall details:last-child {
  border-bottom: 4px solid var(--ink);
}

.faq-wall summary {
  justify-content: flex-start;
  min-height: 70px;
  padding: .75rem 1rem;
  font-family: var(--slab);
  font-size: clamp(1.05rem, 2.2vw, 1.5rem);
  line-height: 1.2;
}

.faq-wall summary > span {
  flex: 0 0 2.3rem;
  color: var(--cobalt);
  font-family: var(--technical);
  font-size: .68rem;
}

.faq-wall summary::after {
  margin-left: auto;
}

.faq-wall details[open] summary {
  background: var(--celadon);
}

.faq-wall details > p {
  max-width: 75ch;
  margin: 0;
  padding: 1.1rem 1rem 1.4rem 4.3rem;
}

/* Company record and boundaries */
.legal-register {
  display: grid;
  gap: 1.5rem;
  padding: clamp(2.6rem, 6vw, 6rem) var(--gutter);
  background: var(--kiln);
  border-bottom: var(--shelf) solid var(--ink);
}

.legal-register .operator-facts {
  padding: 0;
  background: transparent;
}

.legal-register > p {
  max-width: 78ch;
  margin-bottom: 0;
  padding: 1rem;
  background: var(--paper);
  border: 3px solid var(--ink);
}

.register-columns,
.boundary-ledger,
.contact-chamber {
  display: grid;
  border-bottom: var(--shelf) solid var(--ink);
}

.register-columns article,
.boundary-ledger article {
  padding: clamp(2.2rem, 5vw, 5rem) var(--gutter);
  background: var(--celadon);
  border-bottom: 3px solid var(--ink);
}

.register-columns article:nth-child(2),
.boundary-ledger article:nth-child(2) {
  color: var(--chalk);
  background: var(--cobalt-dark);
}

.register-columns article > span,
.boundary-ledger article > span,
.editorial-batch article > span,
.complaint-track article > span {
  font-family: var(--technical);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .09em;
}

.register-columns ul,
.boundary-ledger ul {
  padding-left: 1.2rem;
  margin: 1.2rem 0 0;
}

.register-columns li,
.boundary-ledger li {
  margin-bottom: .65rem;
}

.contact-chamber > div {
  padding: clamp(2.5rem, 6vw, 6rem) var(--gutter);
  background: var(--celadon);
}

.contact-chamber h2 {
  max-width: 16ch;
}

.contact-chamber .lead-form {
  border-top: var(--shelf) solid var(--kiln);
}

address {
  margin-bottom: 1rem;
  font-style: normal;
}

/* Editorial classification wall */
.editorial-batch,
.complaint-track {
  display: grid;
  background: var(--limestone);
  border-bottom: var(--shelf) solid var(--ink);
}

.editorial-batch article,
.complaint-track article {
  padding: clamp(1.4rem, 3vw, 2.3rem) var(--gutter);
  background: var(--paper);
  border-bottom: 3px solid var(--ink);
}

.editorial-batch article:nth-child(3n + 2),
.complaint-track article:nth-child(even) {
  background: var(--celadon);
}

.editorial-batch article:nth-child(3n),
.complaint-track article:nth-child(3) {
  color: var(--chalk);
  background: var(--cobalt-dark);
}

.editorial-batch h2,
.complaint-track h2 {
  margin: 1rem 0 .5rem;
  font-size: clamp(1.55rem, 3vw, 2.5rem);
}

.editorial-batch p,
.complaint-track p {
  margin-bottom: 0;
}

/* Privacy and storage tables remain readable at 320px. */
.privacy-table {
  border: 4px solid var(--ink);
}

.privacy-table > div {
  display: grid;
  border-bottom: 2px solid var(--ink);
}

.privacy-table > div:last-child {
  border-bottom: 0;
}

.privacy-table b,
.privacy-table span {
  padding: .8rem;
}

.privacy-table b {
  color: var(--chalk);
  background: var(--cobalt-dark);
  font-family: var(--technical);
  font-size: .72rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.privacy-table span {
  background: var(--paper);
}

.storage-ledger {
  padding: clamp(2rem, 5vw, 5rem) var(--gutter);
  background: var(--limestone);
  border-bottom: var(--shelf) solid var(--ink);
}

.storage-row {
  display: grid;
  gap: .45rem;
  padding: 1rem;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-bottom: 0;
}

.storage-row:last-child {
  border-bottom: 3px solid var(--ink);
}

.storage-row > b {
  overflow-wrap: anywhere;
  color: var(--cobalt);
  font-family: var(--technical);
  font-size: .75rem;
}

.storage-row > strong {
  justify-self: start;
  padding: .25rem .45rem;
  background: var(--celadon);
  border: 2px solid var(--ink);
  font-family: var(--technical);
  font-size: .65rem;
}

.storage-head {
  display: none;
  color: var(--chalk);
  background: var(--cobalt-dark);
  font-family: var(--technical);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
}

/* Human sitemap */
.sitemap-human {
  display: grid;
  padding: clamp(2.5rem, 6vw, 6rem) var(--gutter);
  background: var(--celadon);
  border-bottom: var(--shelf) solid var(--ink);
}

.sitemap-human > div {
  background: var(--paper);
  border: 4px solid var(--ink);
  border-bottom: 0;
}

.sitemap-human > div:last-child {
  border-bottom: 4px solid var(--ink);
}

.sitemap-human h2 {
  margin: 0;
  padding: 1rem;
  color: var(--chalk);
  background: var(--cobalt-dark);
  border-bottom: 3px solid var(--ink);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
}

.sitemap-human a {
  display: grid;
  gap: .2rem;
  min-height: 64px;
  padding: .75rem 1rem;
  border-bottom: 2px solid var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.sitemap-human a:last-child {
  border-bottom: 0;
}

.sitemap-human a:hover {
  background: var(--kiln);
}

.sitemap-human a span {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 500;
}

.sitemap-human a:hover span {
  color: var(--ink);
}

/* Completion/error pages */
.terminal-page {
  display: grid;
  align-content: center;
  min-height: calc(100svh - 76px);
  padding: clamp(3rem, 8vw, 9rem) var(--gutter);
  color: var(--chalk);
  background:
    repeating-linear-gradient(0deg, transparent 0 100px, rgba(255, 255, 255, .12) 100px 106px),
    var(--cobalt-dark);
  border-bottom: var(--shelf) solid var(--kiln);
}

.terminal-page > span {
  justify-self: start;
  padding: .5rem .7rem;
  color: var(--ink);
  background: var(--kiln);
  font-family: var(--technical);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .09em;
}

.terminal-page h1 {
  max-width: 12ch;
  margin: 1.5rem 0 1rem;
}

.terminal-page > p {
  max-width: 65ch;
  color: #dedfd9;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.terminal-page > div {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.5rem;
}

.three-statements {
  display: grid;
  border: 5px solid var(--ink);
}

.three-statements > span {
  min-height: 100px;
  padding: 1rem;
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
  font-family: var(--technical);
  font-size: .68rem;
  letter-spacing: .07em;
}

.three-statements > span:nth-child(2) {
  background: var(--celadon);
}

.three-statements > span:nth-child(3) {
  color: var(--chalk);
  background: var(--cobalt-dark);
}

.three-statements b {
  display: block;
  margin-top: .6rem;
  font-family: var(--slab);
  font-size: 1.2rem;
  letter-spacing: normal;
}

.three-statements > p {
  margin: 0;
  padding: 1rem;
  background: var(--kiln);
}

/* Medium screens */
@media (min-width: 42rem) {
  .site-drawer > nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .kiln-hero__visual {
    margin-right: 0;
  }

  .hero-status {
    grid-template-columns: auto 1fr;
    align-items: center;
  }

  .hero-status a {
    grid-column: 2;
  }

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

  .truth-band span {
    border-bottom: 0;
  }

  .phase-rail,
  .glaze-switches,
  .phase-tabs {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

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

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

  .phase-rail button,
  .glaze-switches button,
  .phase-tabs button {
    border-right: 2px solid var(--ink);
    border-bottom: 0;
  }

  .phase-tabs button {
    border-right-color: rgba(255, 255, 255, .45);
  }

  .phase-rail button:last-child,
  .glaze-switches button:last-child,
  .phase-tabs button:last-child {
    border-right: 0;
  }

  .phase-rail button {
    grid-template-columns: 1fr;
    align-content: center;
  }

  .cone-columns,
  .resource-shelves,
  .tile-grid,
  .sample-row,
  .material-strips,
  .crack-grid,
  .batch-zones,
  .definition-grid,
  .facts-grid,
  .reference-grid,
  .worksheet-grid,
  .legal-grid,
  .question-grid,
  .site-map-grid,
  .library-rack,
  .program-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cone-columns article,
  .resource-shelves article,
  .tile-grid article,
  .sample-row article,
  .material-strips article,
  .crack-grid article,
  .batch-zones article,
  .definition-grid > *,
  .facts-grid > *,
  .reference-grid > *,
  .worksheet-grid > *,
  .legal-grid > *,
  .question-grid > *,
  .site-map-grid a,
  .library-rack a,
  .program-wall article {
    border-right: 3px solid var(--ink);
  }

  .process-shelf,
  .hot-cool,
  .available-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .process-shelf span,
  .hot-cool blockquote,
  .available-links a {
    border-right: 3px solid var(--ink);
    border-bottom: 0;
  }

  .available-links a:last-child,
  .process-shelf span:last-child,
  .hot-cool blockquote:last-child {
    border-right: 0;
  }

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

  .stamp-buttons button {
    border-right: 2px solid var(--ink);
  }

  .lead-field > div {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .operator-facts div {
    grid-template-columns: minmax(10rem, .8fr) 1.2fr;
    gap: 1rem;
  }

  .education-boundary,
  .metaphor-note,
  .topic-disclosure,
  .program-status {
    grid-template-columns: minmax(10rem, .28fr) 1fr;
    align-items: start;
  }

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

  .footer-shelves nav {
    border-right: 1px solid rgba(255, 255, 255, .22);
  }

  .storage-note {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .library-index,
  .glossary-list,
  .editorial-batch,
  .complaint-track,
  .sitemap-human {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .library-index article,
  .glossary-list article,
  .editorial-batch article,
  .complaint-track article,
  .sitemap-human > div {
    border-right: 3px solid var(--ink);
  }

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

  .worksheet-tabs button {
    border-right: 2px solid var(--ink);
    border-bottom: 0;
  }

  .worksheet-tabs button:last-child {
    border-right: 0;
  }

  .privacy-table > div {
    grid-template-columns: minmax(9rem, .35fr) 1fr;
  }

  .storage-head,
  .storage-row {
    grid-template-columns: minmax(0, .7fr) minmax(0, 1.55fr) minmax(0, .72fr) minmax(0, .65fr);
    align-items: start;
  }

  .storage-row > * {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .storage-head {
    display: grid;
  }

  .storage-row > strong {
    justify-self: stretch;
    text-align: center;
  }

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

  .register-columns article,
  .boundary-ledger article {
    border-right: 3px solid var(--ink);
    border-bottom: 0;
  }

  .register-columns article:last-child,
  .boundary-ledger article:last-child {
    border-right: 0;
  }

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

  .three-statements > span {
    border-right: 2px solid var(--ink);
    border-bottom: 0;
  }

  .three-statements > span:nth-child(3) {
    border-right: 0;
  }

  .three-statements > p {
    grid-column: 1 / -1;
    border-top: 3px solid var(--ink);
  }
}

/* Desktop: split kiln bays and long horizontal refractory shelves. */
@media (min-width: 64rem) {
  .primary-nav {
    display: flex;
  }

  .site-head {
    grid-template-columns: minmax(260px, .86fr) auto auto;
  }

  .menu-toggle {
    min-width: 94px;
  }

  .site-drawer {
    grid-template-columns: minmax(24rem, .42fr) 1fr;
    grid-template-rows: 1fr auto;
  }

  .drawer-intro {
    grid-row: 1 / 3;
    display: grid;
    align-content: center;
    padding-inline: clamp(2rem, 6vw, 7rem);
    border-right: var(--shelf) solid var(--celadon);
    border-bottom: 0;
  }

  .site-drawer > nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .drawer-legal {
    grid-column: 2;
  }

  .kiln-hero {
    grid-template-columns: minmax(0, 1.04fr) minmax(27rem, .96fr);
    grid-template-rows: 1fr auto;
    min-height: calc(100svh - 76px);
  }

  .kiln-hero__copy {
    align-self: center;
    grid-row: 1;
  }

  .kiln-hero__visual {
    align-self: stretch;
    grid-column: 2;
    grid-row: 1;
    margin: clamp(2.3rem, 4vw, 5rem) var(--gutter) clamp(2.3rem, 4vw, 5rem) 0;
    border-radius: 48% 48% 0 0 / 23% 23% 0 0;
  }

  .kiln-hero__visual img {
    height: calc(100% - 70px);
    min-height: 520px;
    aspect-ratio: auto;
  }

  .hero-status {
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-columns: auto 1fr auto;
  }

  .hero-status a {
    grid-column: auto;
  }

  .raw-tile-lab,
  .curve-workbench,
  .cooling-rack,
  .identity-kiln,
  .lead-kiln,
  .stamp-lab,
  .phase-chamber,
  .glaze-lab {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .raw-tile-stage {
    min-height: 720px;
  }

  .raw-tile-controls,
  .stamp-controls,
  .phase-chamber__controls,
  .glaze-lab > div:last-child {
    display: grid;
    align-content: center;
  }

  .firing-curve > header,
  .public-rack > header,
  .program-shelf > header {
    grid-template-columns: minmax(0, 1fr) minmax(22rem, .65fr);
    align-items: end;
  }

  .curve-controls {
    align-content: center;
    padding: clamp(2rem, 4vw, 4rem);
  }

  .savings-cones {
    grid-template-columns: minmax(22rem, .72fr) 1.28fr;
  }

  .cone-columns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 0;
    border-left: var(--shelf) solid var(--ink);
  }

  .cone-columns article {
    border-right: 3px solid var(--ink);
    border-bottom: 0;
  }

  .cooling-rack figure {
    border-right: var(--shelf) solid var(--ink);
    border-bottom: 0;
  }

  .cooling-rack figure img {
    height: calc(100% - 65px);
  }

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

  .module-rail button {
    grid-template-columns: 1fr;
    align-content: start;
    min-height: 155px;
    border-right: 2px solid var(--ink);
  }

  .module-rail button:nth-child(4n) {
    border-right: 0;
  }

  .module-readout {
    display: grid;
    grid-template-columns: .3fr .7fr 1fr auto;
    gap: 1.3rem;
    align-items: center;
  }

  .module-readout h3,
  .module-readout p {
    margin: 0;
  }

  .resource-shelves,
  .tile-grid,
  .sample-row,
  .crack-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .identity-kiln > div:first-child,
  .lead-kiln > div:first-child {
    border-right: var(--shelf) solid var(--ink);
  }

  .lead-form {
    border-top: 0;
  }

  .sub-hero {
    grid-template-columns: minmax(7rem, .17fr) 1fr minmax(9rem, .24fr);
    align-items: center;
    min-height: 570px;
  }

  .content-shelf {
    grid-template-columns: minmax(7rem, .13fr) 1fr;
  }

  .shelf-index {
    display: grid;
    place-items: start center;
    padding-top: 3rem;
    border-right: var(--shelf) solid var(--ink);
    border-bottom: 0;
    font-size: .88rem;
    writing-mode: vertical-rl;
  }

  .stamp-tile,
  .phase-chamber__visual,
  .glaze-surface {
    min-height: 650px;
  }

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

  .process-shelf span {
    border-right: 3px solid var(--ink);
  }

  .process-shelf span:last-child {
    border-right: 0;
  }

  .batch-zones,
  .definition-grid,
  .facts-grid,
  .reference-grid,
  .worksheet-grid,
  .question-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .program-wall article {
    min-height: 320px;
  }

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

  .library-index article {
    min-height: 240px;
  }

  .worksheet-lab {
    grid-template-columns: minmax(0, 1.2fr) minmax(22rem, .8fr);
  }

  .worksheet-tabs {
    grid-column: 1 / -1;
  }

  .worksheet-preview {
    display: grid;
    align-content: center;
    border-top: 0;
    border-left: var(--shelf) solid var(--kiln);
  }

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

  .glossary-list article {
    min-height: 190px;
  }

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

  .contact-chamber .lead-form {
    border-top: 0;
    border-left: var(--shelf) solid var(--kiln);
  }

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

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

  .editorial-batch article,
  .complaint-track article {
    min-height: 235px;
  }

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

  .sitemap-human > div {
    border-bottom: 4px solid var(--ink);
  }

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

@media (min-width: 88rem) {
  .site-head,
  .kiln-hero,
  main > section,
  main > aside,
  .site-footer > * {
    border-right: 1px solid rgba(23, 26, 24, .15);
    border-left: 1px solid rgba(23, 26, 24, .15);
  }

  .kiln-hero__copy,
  .raw-tile-controls,
  .savings-cones__intro,
  .cooling-rack > div,
  .stamp-controls,
  .glaze-lab > div:last-child {
    padding-inline: clamp(4rem, 6vw, 8rem);
  }
}

@media (max-width: 24rem) {
  .brand-copy small {
    display: none;
  }

  .brand-mark {
    flex-basis: 36px;
    width: 36px;
  }

  .site-drawer > nav {
    grid-template-columns: 1fr;
  }

  .stage-label {
    display: grid;
  }

  .hero-actions .button {
    width: 100%;
  }

  .label-fields div {
    grid-template-columns: 1fr;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media (forced-colors: active) {
  :root {
    --ink: CanvasText;
    --porcelain: Canvas;
    --paper: Canvas;
    --kiln: Highlight;
    --kiln-dark: Highlight;
    --cobalt: LinkText;
    --cobalt-dark: CanvasText;
    --celadon: Canvas;
    --limestone: Canvas;
    --chalk: Canvas;
    --line: CanvasText;
  }

  body::before,
  .kiln-hero::before,
  .heat-field,
  .curve-grid,
  .test-cones,
  .cone-stack,
  .cone-columns article > i {
    display: none;
  }

  .button,
  .test-tile,
  .stamp-tile__surface,
  .formula-slab,
  .curve-question {
    box-shadow: none;
  }

  .button,
  button,
  input,
  summary,
  a {
    forced-color-adjust: auto;
  }
}

@media print {
  :root {
    --ink: #000;
    --porcelain: #fff;
    --paper: #fff;
    --kiln: #ddd;
    --cobalt: #555;
    --cobalt-dark: #222;
    --celadon: #eee;
    --limestone: #f5f5f5;
    --chalk: #fff;
  }

  @page {
    margin: 15mm;
  }

  html,
  body {
    background: #fff;
  }

  body {
    min-width: 0;
    color: #000;
    font-size: 10.5pt;
  }

  body::before,
  .site-head,
  .site-drawer,
  .storage-note,
  .hero-actions,
  .module-rail,
  .phase-rail,
  .curve-controls,
  .stamp-buttons,
  .glaze-switches,
  .lead-kiln,
  .site-footer,
  .test-cones,
  .cone-stack,
  .heat-field {
    display: none !important;
  }

  main,
  main > section,
  main > aside,
  .content-shelf,
  .raw-tile-lab,
  .cooling-rack,
  .identity-kiln,
  .phase-chamber,
  .glaze-lab {
    display: block;
    color: #000;
    background: #fff;
    border-color: #000;
  }

  h1 {
    font-size: 28pt;
  }

  h2 {
    font-size: 20pt;
  }

  h3 {
    font-size: 14pt;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-family: var(--technical);
    font-size: 8pt;
    overflow-wrap: anywhere;
  }

  .brand a::after,
  a[href^="#"]::after {
    content: "";
  }

  article,
  blockquote,
  .operator-facts,
  .formula-slab,
  .topic-disclosure,
  .education-boundary,
  .metaphor-note {
    break-inside: avoid;
  }
}
