/* Shared print scaffolding for the Zuut monochrome brand-concept books.
   Each concept file sets its own @font-face imports and --ink/--paper/etc.
   custom properties, then reuses these structural classes. */

* { margin: 0; padding: 0; box-sizing: border-box; }

@page {
  size: 210mm 297mm;
  margin: 0;
}

html, body {
  width: 210mm;
}

body {
  -webkit-font-smoothing: antialiased;
  font-variant-ligatures: none;
}

.page {
  width: 210mm;
  height: 297mm;
  position: relative;
  overflow: hidden;
  page-break-after: always;
  background: var(--paper);
  color: var(--ink);
}
.page:last-child { page-break-after: auto; }

.pad {
  height: 100%;
  padding: 16mm;
  display: flex;
  flex-direction: column;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 8pt;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.55;
}

.page-index {
  position: absolute;
  bottom: 16mm;
  left: 16mm;
  right: 16mm;
  display: flex;
  justify-content: space-between;
  font-size: 8pt;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.5;
}

.swatch-row {
  display: flex;
  width: 100%;
  gap: 0;
}

.swatch {
  flex: 1;
  min-width: 0;
  height: 34mm;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 4mm;
  font-size: 8pt;
  letter-spacing: 0.06em;
  overflow: hidden;
}

.swatch .hex {
  font-size: 8.5pt;
}
.swatch .label {
  display: block;
  opacity: 0.7;
  font-size: 7pt;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 1mm;
}

.section-title {
  font-size: 9pt;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 6mm;
}

.grid-2 {
  display: flex;
  gap: 10mm;
  flex: 1;
}
.grid-2 > div { flex: 1; }

.hairline {
  height: 1px;
  background: currentColor;
  opacity: 0.2;
  width: 100%;
}
