/* DESIGN ROLL
   field rows · multi-column with large brand block · straight grain top edge
   kraft texture on dark forest · inline pill newsletter · season tips + trust + payment SVG + rising sprout
   signature: irrigation trough fills to current month + dipper slides with the water line
   Family with Trellis Span: forest #184A32 · wheat #C99212 · pith #FFF3C2 · kraft #E4D4B8 · Comfortaa
   Not Soil Horizon strata/wavy/accordion · Root System hills · Greenhouse Shelf · Garden Map · 4-col gray grid
*/
.rw-foot {
  --rw-forest: var(--bf-forest);
  --rw-deep: var(--bf-forest-deep);
  --rw-wheat: var(--bf-wheat);
  --rw-pith: var(--bf-pith);
  --rw-ink: var(--bf-ink);
  --rw-sap: var(--bf-sap);
  --rw-kraft: #E4D4B8;
  --rw-kraft-deep: #C9B896;
  --rw-ease: cubic-bezier(0.22, 0.8, 0.28, 1);
  position: relative;
  margin-top: clamp(2rem, 5vw, 3.5rem);
  background: var(--rw-deep);
  color: var(--rw-pith);
  font-family: var(--bf-display);
}

.rw-grain {
  color: var(--rw-kraft);
  background: var(--bf-wash);
}
.rw-grain-svg {
  display: block;
  width: 100%;
  height: clamp(0.35rem, 1vw, 0.5rem);
}

.rw-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1rem, 2.5vw, 1.5rem);
  padding: clamp(1.25rem, 3vw, 2rem) 0 1rem;
}

.rw-brand {
  padding: clamp(1rem, 2.5vw, 1.35rem);
  background:
    linear-gradient(175deg, var(--rw-kraft) 0%, var(--rw-kraft-deep) 100%);
  color: var(--rw-ink);
  border-radius: 0.35rem 1rem 0.85rem 1rem;
  box-shadow: 0 10px 28px rgba(14, 44, 30, 0.22);
  background-image:
    radial-gradient(rgba(20, 32, 24, 0.06) 0.5px, transparent 1px),
    linear-gradient(175deg, var(--rw-kraft) 0%, var(--rw-kraft-deep) 100%);
  background-size: 5px 5px, auto;
}
.rw-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(20, 32, 24, 0.65);
}
.rw-word {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  margin: 0 0 0.55rem;
  line-height: 1.08;
  color: var(--rw-forest);
}
.rw-word-top {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(20, 32, 24, 0.68);
}
.rw-word-bottom {
  font-size: clamp(1.45rem, 3.2vw, 2rem);
  font-weight: 700;
  color: var(--rw-forest);
}
.rw-desk,
.rw-hours {
  margin: 0 0 0.45rem;
  font-family: var(--bf-body);
  font-size: 0.88rem;
  color: rgba(20, 32, 24, 0.88);
}
.rw-gstin {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 0.55rem;
  font-family: var(--bf-body);
  font-size: 0.82rem;
}
.rw-gstin-label {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(20, 32, 24, 0.62);
}
.rw-gstin-code {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: var(--bf-pill);
  background: rgba(24, 74, 50, 0.1);
  border: 1px solid rgba(24, 74, 50, 0.18);
  font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", monospace;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--rw-forest);
}
body.a114-body .rw-foot a.rw-mail {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--rw-forest);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.rw-beds {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.55rem, 1.5vw, 0.85rem);
}
.rw-bed {
  padding: 0.75rem 0.85rem 0.85rem;
  background: rgba(255, 251, 240, 0.06);
  border: 1px solid rgba(255, 251, 240, 0.14);
  border-radius: 0.65rem 0.65rem 1rem 0.85rem;
}
.rw-stake {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.55rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rw-wheat);
}
.rw-stake-cap {
  width: 0.4rem;
  height: 1rem;
  border-radius: 2px 2px 0 0;
  background: var(--rw-wheat);
  box-shadow: 0 2px 0 rgba(201, 146, 18, 0.35);
  flex-shrink: 0;
}
.rw-crops {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
body.a114-body .rw-foot .rw-crops a {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.35rem 0.5rem;
  color: var(--rw-pith);
  font-family: var(--bf-body);
  font-weight: 600;
  text-decoration: none;
  border-radius: 0.45rem;
  transition: background 180ms var(--rw-ease), color 180ms var(--rw-ease), transform 180ms var(--rw-ease);
}
body.a114-body .rw-foot .rw-crops a:hover,
body.a114-body .rw-foot .rw-crops a:focus-visible {
  background: rgba(255, 251, 240, 0.12);
  color: var(--rw-wheat);
  transform: translateX(3px);
}

.rw-channel {
  padding: 0.75rem 0 1rem;
}
.rw-channel-head {
  margin-bottom: 0.55rem;
}
.rw-channel-label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rw-wheat);
}
.rw-channel-tip {
  margin: 0;
  font-family: var(--bf-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 251, 240, 0.92);
  max-width: 42rem;
}

.rw-trough {
  position: relative;
  height: 2.25rem;
  background: rgba(255, 251, 240, 0.08);
  border: 1px solid rgba(255, 251, 240, 0.18);
  border-radius: 0.5rem 0.5rem 1.1rem 1.1rem;
  overflow: hidden;
  box-shadow: inset 0 4px 10px rgba(14, 44, 30, 0.25);
}
.rw-trough-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: calc(var(--rw-month, 1) / 12 * 100%);
  background: linear-gradient(180deg, rgba(47, 163, 107, 0.55), rgba(201, 146, 18, 0.65));
  transition: width 600ms var(--rw-ease);
}
.rw-trough-dipper {
  position: absolute;
  top: 50%;
  left: clamp(0px, calc(var(--rw-month, 1) / 12 * 100% - 11px), calc(100% - 22px));
  margin-top: -11px;
  color: var(--rw-wheat);
  filter: drop-shadow(0 2px 4px rgba(14, 44, 30, 0.35));
  transition: left 600ms var(--rw-ease);
  pointer-events: none;
  z-index: 2;
}
.rw-months {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
}
.rw-month {
  border-right: 1px dashed rgba(255, 251, 240, 0.14);
}
.rw-month:last-child { border-right: 0; }
.rw-month.is-now {
  background: rgba(201, 146, 18, 0.12);
  box-shadow: inset 0 -3px 0 var(--rw-wheat);
}

.rw-mail-band {
  padding-bottom: 0.85rem;
}
.rw-pill {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.75rem;
  background: var(--rw-forest);
  border: 1px solid rgba(255, 251, 240, 0.16);
  border-radius: var(--bf-pill);
}
.rw-pill-title {
  margin: 0;
  flex: 1 1 100%;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--rw-pith);
}
@media (min-width: 40rem) {
  .rw-pill-title { flex: 0 1 auto; margin-right: 0.35rem; }
}
.rw-pill input {
  flex: 1 1 12rem;
  min-height: 2.75rem;
  padding: 0.45rem 1rem;
  border: 0;
  background: var(--rw-pith);
  color: var(--rw-ink);
  font-family: var(--bf-body);
  font-size: inherit;
  font-weight: 600;
  border-radius: var(--bf-pill);
}
.rw-pill input::placeholder {
  color: rgba(20, 32, 24, 0.5);
  opacity: 1;
}
.rw-pill button {
  min-height: 2.75rem;
  padding: 0 1.15rem;
  border: 0;
  background: var(--rw-wheat);
  color: var(--rw-ink);
  font-family: var(--bf-body);
  font-size: inherit;
  font-weight: 700;
  border-radius: var(--bf-pill);
  cursor: pointer;
  transition: background 200ms var(--rw-ease), transform 200ms var(--rw-ease);
}
.rw-pill button:hover,
.rw-pill button:focus-visible {
  background: var(--rw-sap);
  transform: translateY(-1px);
}
.rw-pill.is-sent button {
  background: var(--rw-sap);
  pointer-events: none;
}
.rw-pill-done {
  flex: 1 1 100%;
  margin: 0;
  font-family: var(--bf-body);
  font-weight: 700;
  color: var(--rw-wheat);
}

.rw-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  margin: 0 auto 0.35rem;
  padding: 0;
}
.rw-trust li {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0.35rem 0.75rem;
  background: rgba(255, 251, 240, 0.1);
  border: 1px solid rgba(255, 251, 240, 0.2);
  font-family: var(--bf-body);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: var(--bf-pill);
}

.rw-pay {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding-bottom: 0.85rem;
}
.rw-pay-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.35rem;
  padding: 0 0.75rem;
  border: 1px solid rgba(255, 251, 240, 0.28);
  border-radius: var(--bf-pill);
  font-family: var(--bf-body);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.rw-sill {
  background: rgba(0, 0, 0, 0.22);
  font-family: var(--bf-body);
  font-size: 0.84rem;
}
.rw-sill-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem 1rem;
  padding: 0.85rem 0 1rem;
}
.rw-sill-copy {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
  flex: 1 1 14rem;
}
.rw-sill-line,
.rw-sill-meta {
  margin: 0;
  line-height: 1.45;
}
.rw-sill-line {
  font-weight: 700;
  color: var(--rw-pith);
}
.rw-sill-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  font-size: 0.8rem;
  color: rgba(255, 251, 240, 0.82);
}
.rw-sill-gst {
  font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--rw-wheat);
}
.rw-sill-legal {
  max-width: 42rem;
}
body.a114-body .rw-foot a.rw-rise {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.75rem;
  color: var(--rw-wheat);
  font-weight: 700;
  text-decoration: none;
}
.rw-rise-sprout {
  transform-origin: center bottom;
  transition: transform 240ms var(--rw-ease);
}
.rw-rise:hover .rw-rise-sprout,
.rw-rise:focus-visible .rw-rise-sprout {
  transform: translateY(-4px) scale(1.1);
}

.rw-mail:focus-visible,
.rw-crops a:focus-visible,
.rw-pill input:focus-visible,
.rw-pill button:focus-visible,
.rw-rise:focus-visible {
  outline: 2px solid var(--rw-wheat);
  outline-offset: 3px;
}

@media (min-width: 56rem) {
  .rw-grid {
    grid-template-columns: minmax(15rem, 0.95fr) minmax(0, 1.55fr);
    align-items: start;
  }
  .rw-beds {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 72rem) {
  .rw-beds {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 55rem) {
  .rw-foot { padding-bottom: calc(var(--sp-tab-h, 4.75rem) + 0.6rem); }
  .rw-beds { grid-template-columns: 1fr; }
  .rw-sill-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
  }
  .rw-sill-sep { display: none; }
  .rw-rise {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rw-trough-fill,
  .rw-trough-dipper,
  .rw-rise-sprout,
  .rw-crops a,
  .rw-pill button { transition: none; transform: none; }
}

@media (prefers-color-scheme: dark) {
  .rw-brand { background-color: var(--rw-kraft); }
  .rw-pill input { background: #F6F0C8; }
}
