/* mountain-village: owned by the mountain-village agent. */

/* Mountain: the trail guide button sits under the lead, its foot level with the signpost's posts */
.mountain-cta { display: flex; align-items: center; gap: 16px; margin-top: 34px; }
.mountain-head > div:first-child { padding-bottom: 4px; }
@media (max-width: 900px) {
  .mountain-cta { margin-top: 28px; }
}

/* Village: the home ladder, van to lodge to the Row, strung on one lift line.
   Desktop: a full-width journey left to right, ending over the Row painting. Phone: a vertical line. */
.village .ladder-wrap { position: relative; grid-column: 1 / -1; margin-top: 10px; }
.village .ladder-intro { align-self: end; background: rgba(246,239,225,.9); border-radius: 24px; padding: 28px 30px 30px; box-shadow: 0 30px 70px -40px rgba(60,30,10,.6); }
.village .ladder-intro p:not(.ladder-kicker) { font-size: 18px; line-height: 1.55; color: var(--ink-soft); margin-top: 16px; }
.village .ladder-kicker { display: inline-block; font: 600 12px/1 var(--sans-sign); letter-spacing: .26em; text-transform: uppercase; color: var(--cream); background: var(--sign); padding: 10px 16px 9px; border-radius: 8px; box-shadow: inset 0 0 0 2px var(--sign), inset 0 0 0 3.5px var(--brass); margin: 0; transform: rotate(-1deg); }

.village .ladder { position: relative; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-top: 66px; }
/* the cable: brass from the lot, warming to marigold at the Row */
.village .ladder::before { content: ''; position: absolute; left: 46px; width: calc((100% - 36px) * 2 / 3 + 36px); top: 31px; height: 4px; border-radius: 4px; background: repeating-linear-gradient(90deg, var(--brass) 0 12px, rgba(196,154,85,.35) 12px 19px); }
.village .ladder::after { content: ''; position: absolute; left: calc((100% - 36px) * 2 / 3 + 36px + 46px); transform: translateX(-100%); top: 31px; height: 4px; width: 22%; border-radius: 4px; background: linear-gradient(90deg, rgba(242,169,59,0), var(--gold)); }

.village .ladder li { position: relative; padding: 24px 26px 22px; gap: 0; box-shadow: 0 20px 40px -30px rgba(60,30,10,.55); }
.village .ladder li::before { content: ''; position: absolute; left: 44px; top: -22px; width: 3px; height: 22px; background: rgba(107,74,46,.45); }
.village .ladder li > div { min-width: 0; display: flex; flex-direction: column; height: 100%; }
.village .ladder-step { position: absolute; left: 22px; top: -58px; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; min-width: 0; border-radius: 50%; font: 900 17px/1 var(--display); color: var(--sign); background: var(--paper); box-shadow: inset 0 0 0 3px var(--brass), 0 6px 14px -6px rgba(60,30,10,.6); transform: none; letter-spacing: -.02em; }
.village .ladder h3 { font-size: 22px; }
.village .ladder p { font-size: 16px; line-height: 1.5; margin-top: 6px; }

.village .ladder-tag { align-self: start; margin: 0 0 10px !important; font: 800 11px/1 var(--body) !important; letter-spacing: .16em; text-transform: uppercase; color: var(--pass-teal) !important; background: rgba(11,58,56,.1); padding: 6px 10px; border-radius: 999px; }
.village .ladder-price { display: flex; align-items: center; gap: 8px; margin-top: auto !important; padding-top: 12px; font: 600 12px/1 var(--sans-sign) !important; letter-spacing: .18em; text-transform: uppercase; color: #8A6645 !important; }
.village .ladder-price::before { content: ''; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 2px rgba(242,169,59,.25); }
.village .ladder p:not(.ladder-tag):not(.ladder-price) { margin-bottom: 14px; }
/* steps without a tag line up with the ones that have one */
.village .ladder li:not(:has(.ladder-tag)) h3 { margin-top: 33px; }

/* the top rung: the Row */
.village .ladder-top { background: linear-gradient(160deg, #2A2833, var(--ink) 60%) !important; box-shadow: inset 0 0 0 2px rgba(196,154,85,.55), 0 30px 60px -30px rgba(12,17,26,.8) !important; }
.village .ladder-top::before { background: rgba(242,169,59,.6); }
.village .ladder-top .ladder-step { color: var(--on-gold); background: var(--gold); box-shadow: inset 0 0 0 3px #B7701A, 0 0 0 7px rgba(242,169,59,.22), 0 8px 18px -6px rgba(60,30,10,.7); }
.village .ladder-top .ladder-tag { color: var(--on-gold) !important; background: var(--gold); }
.village .ladder-top .ladder-price { color: var(--brass) !important; }

.village .ladder-note { margin: 18px 0 0; font-size: 14px; line-height: 1.5; color: var(--ink-soft); }
.village .row-card { margin-top: 40px; }

@media (max-width: 900px) {
  .village .ladder { grid-template-columns: 1fr; padding-top: 0; padding-left: 58px; gap: 14px; }
  .village .ladder-intro { padding: 24px 22px 26px; }
  .village .ladder-intro { margin-top: -26px; }
  .village .ladder-wrap { margin-top: -18px; }
  .village .ladder-intro p:not(.ladder-kicker) { font-size: 17px; }
  .village .ladder-note { margin-left: 58px; }
  .village .ladder::before { left: 22px; right: auto; top: 30px; bottom: 40px; width: 4px; height: auto; background: repeating-linear-gradient(180deg, var(--brass) 0 12px, rgba(196,154,85,.35) 12px 19px); }
  .village .ladder::after { left: 22px; right: auto; top: auto; transform: none; bottom: 40px; width: 4px; height: 90px; background: linear-gradient(180deg, rgba(242,169,59,0), var(--gold)); }
  .village .ladder li::before { display: none; }
  .village .ladder-step { left: -58px; top: 18px; width: 46px; height: 46px; }
  .village .ladder li:not(:has(.ladder-tag)) h3 { margin-top: 0; }
}
@media (max-width: 560px) {
  .village .ladder { padding-left: 44px; }
  .village .ladder-note { margin-left: 44px; }
  .village .ladder::before, .village .ladder::after { left: 15px; }
  .village .ladder-step { left: -44px; width: 34px; height: 34px; font-size: 13px; top: 20px; }
  .village .ladder li { padding: 18px 18px 16px; }
  .village .ladder h3 { font-size: 20px; }
}

/* Phone: keep the village welcome sign on one line per board */
@media (max-width: 560px) {
  .village .town-sign { padding: 14px 20px 12px; }
  .village .town-sign .sign-text { font-size: 23px; white-space: nowrap; }
  .village .town-sign .sign-small { font-size: 10px; letter-spacing: .2em; white-space: nowrap; }
}
