/* Nursery Ledger Wall — company (CityTribe)
   Peg-rail hanging ledgers · posted columns · stamped slips · ruled registry.
   Not Seed Log / Plaza Mural / Overture / Airtime / Foundry. */
@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;9..144,700;9..144,800&family=Karla:wght@500;600;700;800&display=swap");

.page-a103-ledgerwall {
  --nl-ink: #1C1814;
  --nl-mute: #5A5048;
  --nl-copper: #C06A2E;
  --nl-copper-deep: #9A4E1C;
  --nl-olive: #4A7A3C;
  --nl-olive-deep: #355C2C;
  --nl-saffron: #E8A020;
  --nl-saffron-ink: #1C1814;
  --nl-slate: #3A5A68;
  --nl-slate-deep: #2A4450;
  --nl-kraft: #F3E6D0;
  --nl-kraft-deep: #E4D0B0;
  --nl-rail: #6B4E32;
  --nl-field: #F7F0E4;
  --nl-field-cool: #E8F0E6;
  --nl-surface: #FFFBF4;
  --nl-radius: 6px;
  --nl-font-display: "Fraunces", Georgia, serif;
  --nl-font-body: "Karla", system-ui, sans-serif;
  font-family: var(--nl-font-body);
  color: var(--nl-ink);
  background:
    radial-gradient(ellipse 42% 30% at 8% 0%, rgba(192, 106, 46, 0.14), transparent 55%),
    radial-gradient(ellipse 38% 26% at 92% 4%, rgba(74, 122, 60, 0.12), transparent 50%),
    linear-gradient(168deg, var(--nl-field) 0%, var(--nl-field-cool) 52%, #FFF6E8 100%);
}

.nl-stage { padding-bottom: 56px; }

.nl-kicker {
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--nl-copper-deep);
}

.nl-sec-head {
  margin-bottom: 22px;
  max-width: 38rem;
}
.nl-sec-head h2 {
  margin: 0 0 8px;
  font-family: var(--nl-font-display);
  font-size: clamp(1.55rem, 3.2vw, 2.1rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--nl-ink);
}
.nl-sec-head p:last-child {
  margin: 0;
  color: var(--nl-mute);
  font-size: 0.95rem;
}

/* Mission plaque on peg rail */
.nl-mission {
  position: relative;
  padding: 36px 0 28px;
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .nl-mission {
    grid-template-columns: 1.4fr 0.7fr;
    align-items: end;
  }
}

.nl-rail {
  position: absolute;
  top: 18px;
  left: 0;
  right: 0;
  height: 14px;
  background: linear-gradient(180deg, #8A6540, var(--nl-rail));
  border-radius: 3px;
  box-shadow: 0 3px 0 rgba(28, 24, 20, 0.2);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 12%;
  pointer-events: none;
}
.nl-peg {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #D4A878, #5A3A22);
  box-shadow: inset 0 -1px 2px rgba(0,0,0,0.35);
}

.nl-plaque {
  position: relative;
  margin-top: 28px;
  padding: 28px 28px 32px;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 27px,
      rgba(192, 106, 46, 0.08) 27px,
      rgba(192, 106, 46, 0.08) 28px
    ),
    var(--nl-kraft);
  border: 2px solid var(--nl-ink);
  border-radius: var(--nl-radius);
  box-shadow: 6px 6px 0 rgba(28, 24, 20, 0.18);
  transform: rotate(-0.4deg);
  opacity: 1;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease;
}
@media (prefers-reduced-motion: no-preference) {
  .nl-mission:not(.is-ready) .nl-plaque:not(.is-hung) {
    transform: translateY(12px) rotate(-0.4deg);
    opacity: 0;
  }
  .nl-plaque.is-hung,
  .nl-mission.is-ready .nl-plaque {
    transform: translateY(0) rotate(-0.4deg);
    opacity: 1;
  }
}
.nl-brand {
  margin: 0 0 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-family: var(--nl-font-display);
  line-height: 1.05;
}
.nl-brand span,
.nl-brand .nl-company-name {
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  font-weight: 800;
  color: var(--nl-ink);
  letter-spacing: -0.01em;
}
.nl-brand strong {
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 800;
  color: var(--nl-ink);
}
.nl-brand-note {
  margin: 0 0 12px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--nl-mute);
}
.nl-tagline {
  margin: 0 0 14px;
  font-weight: 700;
  color: var(--nl-copper-deep);
}
.nl-mission-copy {
  margin: 0;
  max-width: 36rem;
  color: var(--nl-mute);
  font-size: 1.02rem;
}
.nl-ledger-ref {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--nl-olive-deep);
  opacity: 0.75;
}

.nl-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
.nl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 2px solid var(--nl-ink);
  border-radius: var(--nl-radius);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 4px 4px 0 var(--nl-ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.nl-btn--copper {
  background: var(--nl-copper);
  color: #fff;
}
.nl-btn:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--nl-ink);
  color: #fff;
}
.nl-exits {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-weight: 700;
}
.nl-exits a { color: var(--nl-slate-deep); }

/* History boards */
.nl-history { padding: 28px 0 12px; }
.nl-boards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .nl-boards { grid-template-columns: 1fr 1fr; }
}
.nl-board {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 18px 18px 18px 14px;
  background: var(--nl-surface);
  border: 2px solid var(--nl-ink);
  border-radius: var(--nl-radius);
  box-shadow: 4px 4px 0 rgba(28, 24, 20, 0.12);
  opacity: 1;
  transform: none;
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--nl-i, 0) * 70ms);
}
@media (prefers-reduced-motion: no-preference) {
  .nl-history:not(.is-live) .nl-board {
    opacity: 0;
    transform: translateY(18px);
  }
  .nl-history.is-live .nl-board {
    opacity: 1;
    transform: translateY(0);
  }
}
.nl-board-hook {
  position: absolute;
  top: -8px;
  left: 50%;
  width: 18px;
  height: 10px;
  margin-left: -9px;
  border: 2px solid var(--nl-rail);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: var(--nl-kraft-deep);
}
.nl-board-num {
  font-family: var(--nl-font-display);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
  min-width: 2rem;
}
.nl-board--copper .nl-board-num { color: var(--nl-copper); }
.nl-board--olive .nl-board-num { color: var(--nl-olive); }
.nl-board--saffron .nl-board-num { color: var(--nl-saffron); }
.nl-board--slate .nl-board-num { color: var(--nl-slate); }
.nl-board-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nl-board-copy strong {
  font-size: 1.05rem;
  font-weight: 800;
}
.nl-board-copy span { color: var(--nl-mute); font-size: 0.92rem; }
.nl-board-copy em {
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--nl-olive-deep);
}

/* Stamped value slips */
.nl-values { padding: 36px 0 12px; }
.nl-slips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .nl-slips { grid-template-columns: 1fr 1fr; }
}
.nl-slip {
  position: relative;
  padding: 22px 20px 18px;
  background: var(--nl-kraft);
  border: 2px dashed var(--nl-ink);
  border-radius: var(--nl-radius);
  opacity: 1;
  transform: rotate(calc((var(--nl-i, 0) % 2) * 1.2deg - 0.6deg));
  transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--nl-i, 0) * 80ms);
}
@media (prefers-reduced-motion: no-preference) {
  .nl-values:not(.is-live) .nl-slip {
    opacity: 0;
    transform: scale(0.96) rotate(-1deg);
  }
  .nl-values.is-live .nl-slip {
    opacity: 1;
    transform: scale(1) rotate(calc((var(--nl-i, 0) % 2) * 1.2deg - 0.6deg));
  }
}
.nl-stamp {
  position: absolute;
  top: 10px;
  right: 12px;
  padding: 3px 8px;
  border: 2px solid currentColor;
  border-radius: 3px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  transform: rotate(8deg);
  opacity: 0.55;
}
.nl-slip--copper { color: var(--nl-copper-deep); }
.nl-slip--olive { color: var(--nl-olive-deep); }
.nl-slip--saffron { color: #9A6A00; }
.nl-slip--slate { color: var(--nl-slate-deep); }
.nl-slip-num {
  display: block;
  margin-bottom: 8px;
  font-family: var(--nl-font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: inherit;
}
.nl-slip p {
  margin: 0;
  color: var(--nl-ink);
  font-weight: 700;
  font-size: 1.02rem;
}

/* Aisle line */
.nl-aisles { padding: 36px 0 12px; }
.nl-aisle-line {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.nl-aisle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 14px;
  background: var(--nl-surface);
  border: 2px solid var(--nl-ink);
  border-radius: 999px;
  text-decoration: none;
  color: var(--nl-ink);
  font-weight: 700;
  box-shadow: 3px 3px 0 rgba(28, 24, 20, 0.12);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.nl-aisle:hover {
  background: var(--nl-olive);
  color: #fff;
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0 rgba(28, 24, 20, 0.16);
}
.nl-aisle-num {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  opacity: 0.7;
}

/* Ruled registry */
.nl-registry { padding: 40px 0 8px; }
.nl-ruled {
  margin: 0;
  padding: 8px 0 0;
  display: grid;
  gap: 0;
  background: var(--nl-surface);
  border: 2px solid var(--nl-ink);
  border-radius: var(--nl-radius);
  box-shadow: 5px 5px 0 rgba(28, 24, 20, 0.12);
  overflow: hidden;
}
.nl-rule {
  display: grid;
  grid-template-columns: minmax(140px, 0.42fr) 1fr;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(28, 24, 20, 0.12);
  background-image: linear-gradient(90deg, rgba(192, 106, 46, 0.06) 0, rgba(192, 106, 46, 0.06) 42%, transparent 42%);
}
.nl-rule:last-child { border-bottom: 0; }
.nl-rule--wide {
  grid-column: 1 / -1;
  grid-template-columns: 1fr;
  gap: 4px;
}
.nl-rule--accent {
  background: linear-gradient(90deg, rgba(192, 106, 46, 0.16), rgba(232, 160, 32, 0.08));
}
.nl-rule dt {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--nl-mute);
}
.nl-rule dd {
  margin: 0;
  font-weight: 700;
  color: var(--nl-ink);
  word-break: break-word;
}
@media (max-width: 640px) {
  .nl-rule {
    grid-template-columns: 1fr;
    gap: 4px;
    background-image: none;
  }
}
