*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Georgia, 'Times New Roman', Times, serif;
  background: #f2ebe3;
  color: #2a2420;
  line-height: 1.65;
  min-height: 100vh;
  padding-left: 110px;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

:root {
  --bg: #f2ebe3;
  --sheet: #faf6f0;
  --ink: #2a2420;
  --muted: #6e645a;
  --clay: #b85c38;
  --line: #ddd2c4;
  --sans: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --s1: #e8dcc8;
  --s2: #d4c4a8;
  --s3: #c4b49a;
  --s4: #a89078;
  --s5: #8a735a;
}

/* ——— PAPER SWATCHES left — large, obvious ——— */
.swatches {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 8px;
  background: #1f1b18;
}
.swatches a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #2a2420;
  border-radius: 2px;
  min-height: 52px;
  padding: 8px 4px;
  text-align: center;
  line-height: 1.15;
  transition: transform 0.12s, box-shadow 0.12s;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.2);
}
.swatches a:nth-child(1) { background: var(--s1); }
.swatches a:nth-child(2) { background: var(--s2); }
.swatches a:nth-child(3) { background: var(--s3); }
.swatches a:nth-child(4) { background: var(--s4); color: #faf6f0; }
.swatches a:nth-child(5) { background: var(--s5); color: #faf6f0; }
.swatches a:hover { transform: translateX(4px); }
.swatches a.on {
  outline: 3px solid var(--clay);
  outline-offset: 1px;
  transform: translateX(4px);
}

.mill-tag {
  position: fixed;
  top: 16px;
  right: 20px;
  z-index: 90;
  text-align: right;
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.mill-tag strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 1.1rem;
  color: var(--clay);
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 2px;
}

/* ——— STOCK: layered sheets ——— */
.stock {
  max-width: 580px;
  margin: 0 auto;
  padding: 80px 28px 56px;
}
.stock .k {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 10px;
}
.stock h1 {
  font-size: clamp(1.55rem, 3.2vw, 2.1rem);
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 14px;
}
.stock .lede {
  color: var(--muted);
  font-size: 1.06rem;
  margin-bottom: 28px;
}
.layers {
  position: relative;
  height: 220px;
}
.layers span {
  position: absolute;
  left: 0;
  right: 40px;
  height: 180px;
  background: var(--sheet) center/cover no-repeat;
  border: 1px solid var(--line);
  box-shadow: 3px 3px 0 rgba(0,0,0,0.06);
}
.layers span:nth-child(1) { top: 0; transform: rotate(-1.5deg); z-index: 1; }
.layers span:nth-child(2) { top: 16px; left: 12px; right: 28px; transform: rotate(0.8deg); z-index: 2; }
.layers span:nth-child(3) { top: 32px; left: 6px; right: 20px; transform: rotate(-0.4deg); z-index: 3; }

/* ——— FIBRE: sample chips ——— */
.fibre {
  max-width: 640px;
  margin: 0 auto;
  padding: 80px 24px 56px;
}
.fibre .k {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 8px;
}
.fibre h1 {
  font-size: 1.7rem;
  font-weight: 400;
  margin-bottom: 22px;
}
.chip {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.chip .sw {
  height: 70px;
  border: 1px solid var(--line);
  background: center/cover no-repeat;
}
.chip h2 {
  font-size: 1.05rem;
  font-weight: 600;
  font-family: var(--sans);
  margin-bottom: 4px;
}
.chip p {
  font-size: 0.92rem;
  color: var(--muted);
}

/* ——— DECK: process columns ——— */
.deck {
  max-width: 700px;
  margin: 0 auto;
  padding: 80px 24px 56px;
}
.deck .k {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 8px;
}
.deck h1 {
  font-size: 1.7rem;
  font-weight: 400;
  margin-bottom: 24px;
}
.cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.cols article {
  background: var(--sheet);
  border: 1px solid var(--line);
  padding: 18px 14px;
}
.cols .n {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--clay);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.cols h2 {
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--sans);
  margin-bottom: 6px;
}
.cols p {
  font-size: 0.88rem;
  color: var(--muted);
}

/* ——— CALIPER: single measure essay ——— */
.caliper {
  max-width: 500px;
  margin: 0 auto;
  padding: 80px 24px 56px;
}
.caliper .k {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 8px;
}
.caliper h1 {
  font-size: 1.65rem;
  font-weight: 400;
  margin-bottom: 18px;
}
.caliper p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 14px;
}
.caliper .measure {
  margin: 24px 0;
  padding: 16px;
  background: var(--sheet);
  border: 1px dashed var(--line);
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--ink);
  line-height: 1.7;
}

/* ——— WIRE: packing slip ——— */
.wire-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px 56px;
}
.slip {
  width: 100%;
  max-width: 400px;
  background: var(--sheet);
  border: 1px solid var(--line);
  padding: 28px 22px;
}
.slip .lab {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 10px;
}
.slip h1 {
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 14px;
}
.slip .addr {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 16px;
}
.slip .addr a {
  color: var(--clay);
  font-family: var(--sans);
  font-weight: 600;
}
.slip label {
  display: block;
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.slip input,
.slip textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 12px;
}
.slip input:focus,
.slip textarea:focus {
  outline: none;
  border-color: var(--clay);
}
.slip textarea { min-height: 80px; resize: vertical; }
.slip button {
  width: 100%;
  padding: 14px;
  background: var(--clay);
  color: #fff;
  border: none;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.slip button:hover { filter: brightness(1.08); }

.ft {
  text-align: center;
  padding: 12px 24px 40px;
  font-family: var(--sans);
  font-size: 0.68rem;
  color: var(--muted);
}
.ft strong { color: var(--ink); }

@media (max-width: 700px) {
  body { padding-left: 0; padding-bottom: 80px; }
  .swatches {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: auto;
    height: 72px;
    flex-direction: row;
    padding: 8px;
    gap: 5px;
  }
  .swatches a {
    font-size: 0.68rem;
    min-height: 0;
    padding: 8px 2px;
  }
  .cols { grid-template-columns: 1fr; }
  .layers { height: 180px; }
  .layers span { height: 140px; right: 20px; }
}
