/* ZJNSBF LTD — Mill Floors */

:root {
  --peat: #1a1614;
  --peat-deep: #120f0e;
  --soot: #2c2622;
  --soot-text: #1f1b18;
  --flax: #e7e2d8;
  --flax-dim: #d4cfc4;
  --linen: #f2eee6;
  --ochre: #c2a15a;
  --ochre-deep: #a8863f;
  --rust-thread: #8b5a3c;
  --slate-thread: #5a6570;
  --olive-thread: #6b6e4e;
  --mist-line: rgba(231, 226, 216, 0.14);
  --elevator-w: 5.5rem;
  --font-display: "Staatliches", sans-serif;
  --font-body: "IBM Plex Sans", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--soot-text);
  background: var(--flax);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--ochre-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--peat);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.05;
  margin: 0 0 0.5rem;
}

p {
  margin: 0 0 1.1rem;
}

ul {
  margin: 0;
  padding-left: 1.15rem;
}

/* —— Elevator (fixed left) —— */

.elevator {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40;
  width: var(--elevator-w);
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--peat);
  color: var(--flax);
  border-right: 1px solid rgba(194, 161, 90, 0.35);
  padding: 0.85rem 0.4rem 1rem;
}

.elevator__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--mist-line);
}

.elevator__mark {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  color: var(--ochre);
}

.elevator__label {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  opacity: 0.7;
}

.elevator__nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
  overflow-y: auto;
}

.elevator__btn {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: var(--flax-dim);
  cursor: pointer;
  padding: 0.45rem 0.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  font-family: var(--font-body);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.elevator__btn:hover,
.elevator__btn:focus-visible {
  outline: none;
  border-color: rgba(194, 161, 90, 0.45);
  color: var(--flax);
  background: rgba(194, 161, 90, 0.08);
}

.elevator__btn.is-active {
  border-color: var(--ochre);
  color: var(--ochre);
  background: rgba(194, 161, 90, 0.12);
  box-shadow: inset 0 0 0 1px rgba(194, 161, 90, 0.2);
}

.elevator__floor {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1;
  letter-spacing: 0.04em;
}

.elevator__name {
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
  line-height: 1.2;
  max-width: 4.4rem;
}

.elevator__indicator {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--mist-line);
}

.elevator__lamp {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--ochre);
  box-shadow: 0 0 10px rgba(194, 161, 90, 0.65);
  animation: lamp-pulse 2.4s ease-in-out infinite;
}

@keyframes lamp-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.45;
  }
}

.elevator__floor-readout {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--ochre);
  letter-spacing: 0.06em;
}

.elevator-toggle {
  display: none;
}

/* —— Main mill column —— */

.mill {
  margin-left: var(--elevator-w);
  min-height: 100vh;
}

.floor {
  position: relative;
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1.25rem, 4vw, 4rem);
  border-bottom: 1px solid rgba(26, 22, 20, 0.12);
}

.floor__head {
  max-width: 42rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.floor__level {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ochre-deep);
  margin: 0 0 0.4rem;
}

.floor__title {
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  color: var(--peat);
  margin-bottom: 0.65rem;
}

.floor__deck {
  font-size: 1.08rem;
  color: var(--soot);
  max-width: 38rem;
  margin: 0;
}

/* —— Ground hero —— */

.floor--ground {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: stretch;
  background:
    linear-gradient(165deg, rgba(26, 22, 20, 0.92) 0%, rgba(26, 22, 20, 0.78) 45%, rgba(44, 38, 34, 0.88) 100%),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 47px,
      rgba(231, 226, 216, 0.03) 47px,
      rgba(231, 226, 216, 0.03) 48px
    ),
    radial-gradient(ellipse at 20% 10%, rgba(194, 161, 90, 0.18), transparent 50%),
    var(--peat);
  color: var(--flax);
  border-bottom: none;
  overflow: hidden;
}

.floor__atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to top, rgba(18, 15, 14, 0.55), transparent 40%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 3px,
      rgba(0, 0, 0, 0.04) 3px,
      rgba(0, 0, 0, 0.04) 4px
    );
  opacity: 0.85;
}

.ground__stack {
  position: relative;
  z-index: 1;
  width: min(100%, 44rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 6vh, 4rem) 0;
}

.ground__mill-tag {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--ochre);
  margin: 0 0 1.25rem;
}

.ground__brand {
  font-size: clamp(3.4rem, 12vw, 7.5rem);
  line-height: 0.92;
  color: var(--flax);
  margin: 0 0 1.1rem;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.25);
  animation: brand-settle 1.1s var(--ease) both;
}

@keyframes brand-settle {
  from {
    opacity: 0;
    transform: translateY(1.2rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.ground__headline {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.5vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: 0.03em;
  color: var(--flax-dim);
  max-width: 22ch;
  margin: 0 0 1.25rem;
  animation: brand-settle 1.1s 0.12s var(--ease) both;
}

.ground__lead {
  color: rgba(231, 226, 216, 0.82);
  max-width: 36rem;
  margin-bottom: 1.75rem;
  animation: brand-settle 1.1s 0.2s var(--ease) both;
}

.ground__cta-row {
  margin-bottom: 2rem;
  animation: brand-settle 1.1s 0.28s var(--ease) both;
}

.ground__ticks {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.4rem;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(231, 226, 216, 0.55);
  border-top: 1px solid rgba(231, 226, 216, 0.18);
  padding-top: 1.25rem;
  animation: brand-settle 1.1s 0.36s var(--ease) both;
}

.ground__ticks li {
  position: relative;
  padding-left: 0.9rem;
}

.ground__ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.4rem;
  height: 0.4rem;
  background: var(--ochre);
}

/* —— Buttons —— */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  padding: 0.9rem 1.45rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}

.btn--ochre {
  background: var(--ochre);
  color: var(--peat);
}

.btn--ochre:hover,
.btn--ochre:focus-visible {
  background: var(--flax);
  color: var(--peat);
  outline: none;
  transform: translateY(-2px);
}

/* —— Floor 1: Weave rows —— */

.floor--looms {
  background:
    linear-gradient(180deg, var(--flax) 0%, var(--linen) 100%),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 11px,
      rgba(26, 22, 20, 0.03) 11px,
      rgba(26, 22, 20, 0.03) 12px
    );
}

.weave {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  max-width: 58rem;
}

.weave-row {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1.25rem;
  align-items: stretch;
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.weave-row.is-visible {
  opacity: 1;
  transform: none;
}

.weave-row--right {
  grid-template-columns: 1fr 5.5rem;
}

.weave-row--right .weave-row__strip {
  order: 2;
}

.weave-row--right .weave-row__body {
  order: 1;
  text-align: right;
}

.weave-row--right .weave-row__body ul {
  padding-left: 0;
  padding-right: 1.15rem;
  list-style-position: inside;
}

.weave-row__strip {
  position: relative;
  background: var(--peat);
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  padding: 0.5rem;
  overflow: hidden;
}

.weave-row__strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 8px,
    rgba(194, 161, 90, 0.25) 8px,
    rgba(194, 161, 90, 0.25) 9px
  );
}

.weave-row__warp {
  position: relative;
  z-index: 1;
  height: 3px;
  background: linear-gradient(90deg, var(--ochre), var(--flax-dim), var(--ochre));
  transform-origin: left center;
  animation: warp-draw 1.4s var(--ease) both;
}

.weave-row--right .weave-row__warp {
  transform-origin: right center;
}

.weave-row.is-visible .weave-row__warp:nth-child(1) {
  animation-delay: 0.1s;
}
.weave-row.is-visible .weave-row__warp:nth-child(2) {
  animation-delay: 0.22s;
}
.weave-row.is-visible .weave-row__warp:nth-child(3) {
  animation-delay: 0.34s;
}
.weave-row.is-visible .weave-row__warp:nth-child(4) {
  animation-delay: 0.46s;
}

@keyframes warp-draw {
  from {
    transform: scaleX(0);
    opacity: 0.2;
  }
  to {
    transform: scaleX(1);
    opacity: 1;
  }
}

.weave-row__body {
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(26, 22, 20, 0.1);
  border-left: 3px solid var(--ochre);
  padding: 1.35rem 1.5rem 1.4rem;
}

.weave-row--right .weave-row__body {
  border-left: none;
  border-right: 3px solid var(--ochre);
}

.weave-row__body h3 {
  font-size: clamp(1.55rem, 3vw, 2rem);
  color: var(--peat);
  margin-bottom: 0.55rem;
}

.weave-row__body p {
  margin-bottom: 0.75rem;
}

.weave-row__body ul {
  color: var(--soot);
  font-size: 0.95rem;
}

.weave-row__body li + li {
  margin-top: 0.25rem;
}

/* —— Floor 2: Mill yard —— */

.floor--yard {
  background: var(--soot);
  color: var(--flax);
}

.floor--yard .floor__level {
  color: var(--ochre);
}

.floor--yard .floor__title {
  color: var(--flax);
}

.floor--yard .floor__deck {
  color: rgba(231, 226, 216, 0.75);
}

.yard-story {
  max-width: 46rem;
  font-size: 1.08rem;
}

.yard-story p {
  color: rgba(231, 226, 216, 0.88);
}

.pull-stat {
  display: block;
  margin: 1.35rem 0 1.5rem;
  padding: 1rem 0 1rem 1.15rem;
  border-left: 3px solid var(--ochre);
  background: linear-gradient(90deg, rgba(194, 161, 90, 0.12), transparent 70%);
  opacity: 0;
  transform: translateX(-0.75rem);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.pull-stat.is-visible {
  opacity: 1;
  transform: none;
}

.pull-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--ochre);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.pull-stat em {
  font-style: normal;
  font-size: 0.92rem;
  color: rgba(231, 226, 216, 0.7);
  letter-spacing: 0.02em;
}

/* —— Floor 3: Shift roster —— */

.floor--shifts {
  background:
    repeating-linear-gradient(
      0deg,
      var(--flax),
      var(--flax) 28px,
      rgba(26, 22, 20, 0.025) 28px,
      rgba(26, 22, 20, 0.025) 29px
    );
}

.roster-wrap {
  overflow-x: auto;
  border: 1px solid rgba(26, 22, 20, 0.18);
  background: var(--linen);
  box-shadow: 0 12px 40px rgba(26, 22, 20, 0.08);
}

.roster {
  width: 100%;
  min-width: 36rem;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.roster__caption {
  caption-side: bottom;
  padding: 0.85rem 1rem;
  text-align: left;
  font-size: 0.8rem;
  color: rgba(26, 22, 20, 0.55);
  background: var(--flax-dim);
}

.roster thead th {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-align: left;
  font-weight: 400;
  background: var(--peat);
  color: var(--flax);
  padding: 0.85rem 1rem;
  border-bottom: 2px solid var(--ochre);
}

.roster tbody td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid rgba(26, 22, 20, 0.1);
  vertical-align: top;
}

.roster tbody tr:nth-child(even) {
  background: rgba(26, 22, 20, 0.035);
}

.roster tbody tr:hover {
  background: rgba(194, 161, 90, 0.12);
}

.roster tbody td:first-child {
  font-weight: 600;
  white-space: nowrap;
  color: var(--peat);
  font-variant-numeric: tabular-nums;
}

.roster tbody td:last-child {
  color: var(--ochre-deep);
  font-weight: 500;
  white-space: nowrap;
}

/* —— Floor 4: Tagged threads —— */

.floor--yarns {
  background: var(--peat-deep);
  color: var(--flax);
}

.floor--yarns .floor__level {
  color: var(--ochre);
}

.floor--yarns .floor__title {
  color: var(--flax);
}

.floor--yarns .floor__deck {
  color: rgba(231, 226, 216, 0.72);
}

.threads {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 48rem;
}

.thread {
  display: grid;
  grid-template-columns: 0.55rem auto 1fr;
  gap: 1rem 1.25rem;
  align-items: start;
  opacity: 0;
  transform: translateX(-1rem);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.thread.is-visible {
  opacity: 1;
  transform: none;
}

.thread__line {
  grid-row: 1 / span 2;
  width: 4px;
  min-height: 100%;
  align-self: stretch;
  border-radius: 2px;
  background: var(--ochre);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
}

.thread--ochre .thread__line {
  background: var(--ochre);
}
.thread--soot .thread__line {
  background: #9a9088;
}
.thread--flax .thread__line {
  background: var(--flax-dim);
}
.thread--rust .thread__line {
  background: var(--rust-thread);
}
.thread--slate .thread__line {
  background: var(--slate-thread);
}
.thread--olive .thread__line {
  background: var(--olive-thread);
}

.thread__tag {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--peat);
  background: var(--ochre);
  padding: 0.28rem 0.55rem;
  align-self: start;
  white-space: nowrap;
}

.thread--soot .thread__tag {
  background: #9a9088;
}
.thread--flax .thread__tag {
  background: var(--flax-dim);
}
.thread--rust .thread__tag {
  background: var(--rust-thread);
  color: var(--flax);
}
.thread--slate .thread__tag {
  background: var(--slate-thread);
  color: var(--flax);
}
.thread--olive .thread__tag {
  background: var(--olive-thread);
  color: var(--flax);
}

.thread__text h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  color: var(--flax);
  margin-bottom: 0.35rem;
}

.thread__text p {
  margin: 0;
  color: rgba(231, 226, 216, 0.78);
}

@media (max-width: 640px) {
  .thread {
    grid-template-columns: 0.45rem 1fr;
  }

  .thread__tag {
    grid-column: 2;
  }

  .thread__text {
    grid-column: 2;
  }

  .thread__line {
    grid-row: 1 / span 2;
  }
}

/* —— Floor 5: Shipping labels —— */

.floor--bay {
  background:
    radial-gradient(ellipse at 80% 0%, rgba(194, 161, 90, 0.12), transparent 45%),
    var(--flax);
}

.labels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  max-width: 58rem;
}

.label-sticker {
  position: relative;
  background: var(--linen);
  border: 2px solid var(--peat);
  padding: 1.35rem 1.35rem 1.5rem;
  box-shadow:
    3px 3px 0 rgba(26, 22, 20, 0.08),
    0 10px 28px rgba(26, 22, 20, 0.08);
  transform: rotate(-0.4deg);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  opacity: 0;
  filter: saturate(0.95);
}

.label-sticker:nth-child(even) {
  transform: rotate(0.55deg);
}

.label-sticker.is-visible {
  opacity: 1;
  animation: label-drop 0.7s var(--ease) both;
}

.label-sticker:hover {
  transform: rotate(0deg) translateY(-6px) scale(1.02);
  box-shadow:
    4px 8px 0 rgba(26, 22, 20, 0.1),
    0 18px 36px rgba(26, 22, 20, 0.14);
  z-index: 2;
}

@keyframes label-drop {
  from {
    opacity: 0;
    transform: translateY(1.25rem) rotate(-1deg);
  }
  to {
    opacity: 1;
  }
}

.label-sticker__corner {
  position: absolute;
  top: 0;
  right: 0;
  width: 1.6rem;
  height: 1.6rem;
  background: linear-gradient(135deg, transparent 50%, rgba(26, 22, 20, 0.12) 50%);
}

.label-sticker__barcode {
  height: 1.1rem;
  margin: 0 0 0.75rem;
  background: repeating-linear-gradient(
    90deg,
    var(--peat) 0,
    var(--peat) 2px,
    transparent 2px,
    transparent 4px,
    var(--peat) 4px,
    var(--peat) 5px,
    transparent 5px,
    transparent 8px,
    var(--peat) 8px,
    var(--peat) 11px,
    transparent 11px,
    transparent 13px
  );
  opacity: 0.75;
}

.label-sticker__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(26, 22, 20, 0.55);
  margin-bottom: 0.65rem;
  border-bottom: 1px dashed rgba(26, 22, 20, 0.25);
  padding-bottom: 0.55rem;
}

.label-sticker__title {
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  color: var(--peat);
  margin-bottom: 0.55rem;
}

.label-sticker__body {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: var(--soot);
}

.label-sticker__stamp {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--ochre-deep);
  border: 2px solid var(--ochre);
  padding: 0.25rem 0.55rem;
  transform: rotate(-2deg);
}

/* —— Roof: Signal —— */

.floor--signal {
  background:
    linear-gradient(180deg, var(--soot) 0%, var(--peat) 100%);
  color: var(--flax);
}

.floor--signal .floor__level {
  color: var(--ochre);
}

.floor--signal .floor__title {
  color: var(--flax);
}

.floor--signal .floor__deck {
  color: rgba(231, 226, 216, 0.75);
}

.signal-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
  max-width: 56rem;
}

.signal-address {
  border: 1px solid rgba(194, 161, 90, 0.35);
  padding: 1.5rem;
  background: rgba(18, 15, 14, 0.45);
}

.signal-address h3 {
  font-size: 1.5rem;
  color: var(--ochre);
  margin-bottom: 0.75rem;
}

.signal-address__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.signal-address a {
  color: var(--ochre);
}

.signal-address__note {
  margin-top: 1.25rem;
  font-size: 0.92rem;
  color: rgba(231, 226, 216, 0.65);
  border-top: 1px solid var(--mist-line);
  padding-top: 1rem;
}

.signal-form {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.signal-form__row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.signal-form label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(231, 226, 216, 0.65);
}

.signal-form input,
.signal-form select,
.signal-form textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--peat);
  background: var(--flax);
  border: 1px solid transparent;
  padding: 0.75rem 0.85rem;
  border-radius: 0;
}

.signal-form input:focus-visible,
.signal-form select:focus-visible,
.signal-form textarea:focus-visible {
  outline: 2px solid var(--ochre);
  outline-offset: 2px;
}

.signal-form textarea {
  resize: vertical;
  min-height: 8rem;
}

.signal-form .btn {
  align-self: flex-start;
  margin-top: 0.25rem;
}

.signal-form__status {
  min-height: 1.4em;
  margin: 0;
  font-size: 0.95rem;
  color: var(--ochre);
}

.signal-form__fine {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(231, 226, 216, 0.5);
}

.signal-form__fine a {
  color: var(--ochre);
}

/* —— Footer —— */

.mill-footer {
  background: var(--peat-deep);
  color: rgba(231, 226, 216, 0.7);
  padding: 2.5rem clamp(1.25rem, 4vw, 4rem) 3rem;
  border-top: 1px solid rgba(194, 161, 90, 0.25);
  display: grid;
  gap: 0.75rem;
}

.mill-footer__brand {
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: 0.06em;
  color: var(--flax);
}

.mill-footer__meta p {
  margin: 0 0 0.25rem;
}

.mill-footer__meta a {
  color: var(--ochre);
}

.mill-footer__copy {
  margin: 0.75rem 0 0;
  font-size: 0.82rem;
  color: rgba(231, 226, 216, 0.4);
}

/* —— Responsive —— */

@media (max-width: 900px) {
  .labels {
    grid-template-columns: 1fr;
  }

  .signal-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --elevator-w: 0px;
  }

  .elevator {
    width: min(16rem, 82vw);
    transform: translateX(-105%);
    transition: transform 0.35s var(--ease);
    box-shadow: 8px 0 32px rgba(0, 0, 0, 0.35);
  }

  .elevator.is-open {
    transform: translateX(0);
  }

  .elevator__name {
    max-width: none;
    font-size: 0.7rem;
  }

  .elevator__btn {
    flex-direction: row;
    justify-content: flex-start;
    gap: 0.75rem;
    padding: 0.65rem 0.75rem;
  }

  .mill {
    margin-left: 0;
  }

  .elevator-toggle {
    display: inline-flex;
    position: fixed;
    top: 0.85rem;
    left: 0.85rem;
    z-index: 50;
    appearance: none;
    border: 1px solid rgba(194, 161, 90, 0.55);
    background: var(--peat);
    color: var(--ochre);
    font-family: var(--font-display);
    font-size: 1rem;
    letter-spacing: 0.12em;
    padding: 0.55rem 0.85rem;
    cursor: pointer;
  }

  .elevator-toggle[aria-expanded="true"] {
    left: calc(min(16rem, 82vw) + 0.5rem);
  }

  .weave-row,
  .weave-row--right {
    grid-template-columns: 3.25rem 1fr;
  }

  .weave-row--right .weave-row__strip {
    order: 0;
  }

  .weave-row--right .weave-row__body {
    order: 0;
    text-align: left;
    border-right: none;
    border-left: 3px solid var(--ochre);
  }

  .weave-row--right .weave-row__body ul {
    padding-right: 0;
    padding-left: 1.15rem;
    list-style-position: outside;
  }

  .floor--ground {
    padding-top: 4.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .weave-row,
  .thread,
  .pull-stat,
  .label-sticker,
  .ground__brand,
  .ground__headline,
  .ground__lead,
  .ground__cta-row,
  .ground__ticks {
    opacity: 1;
    transform: none;
  }
}
