/* Plainwell Web - premium.css v1 (2026-11-22)
   Two features Luke picked from the premium feature clips (https://claude.ai/artifact/AQDodZXG45A5UcghMHXw5j):
   1. Home: "How it works" holds still while the three steps swap, with the City of Plainwell's photos,
      its preview and its live site beside them (Luke: "Do that on my homepage underneath the About Me section").
   2. Pricing: numbers that roll up at the top of the page, without the previews number (Luke: "But don't have the previews").
   Loaded on the home page and the pricing page only. With scripts off, on phones and tablets, or when the visitor asks
   for less motion, the steps are the plain list they were before and the numbers simply show. */

/* ---------- 1. How it works ---------- */
.how-stage, .how-count { display: none; }

.how.how-on { padding-bottom: 0; }
.how.how-on .how-track { height: 380vh; position: relative; }
.how.how-on .how-pin {
  position: sticky; top: 0; height: 100vh;
  display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 4rem; align-items: center;
  padding-top: 5rem;
}
.how.how-on .how-text { position: relative; }
.how.how-on .how-count { display: flex; align-items: center; gap: 0.9rem; font: 600 0.95rem/1 var(--sans); color: #5E6870; margin-bottom: 0.5rem; }
.how.how-on .how-count b { font-family: var(--display); font-size: 1.15rem; color: var(--ink); }
.how-bar { flex: 0 0 10rem; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.how-bar i { display: block; height: 100%; width: 0; background: var(--lake); }

.how.how-on .home-steps { position: relative; display: block; margin: 0; height: 27rem; }
.how.how-on .home-steps > li {
  position: absolute; left: 0; right: 0; top: 0.5rem; display: block;
  background: none; box-shadow: none; padding: 0;
  opacity: 0 !important; transform: translateY(30px) !important;
  transition: opacity .25s ease, transform .5s cubic-bezier(.2,.7,.2,1) !important;
}
.how.how-on .home-steps > li.on {
  opacity: 1 !important; transform: none !important;
  transition: opacity .55s ease .2s, transform .75s cubic-bezier(.2,.7,.2,1) .16s !important;
}
.how.how-on .home-steps > li.past { transform: translateY(-30px) !important; }
.how.how-on .home-steps .num {
  display: block; font-weight: 800; font-size: 6.2rem; line-height: 0.9; letter-spacing: -0.05em;
  color: transparent; -webkit-text-stroke: 2px rgba(43, 93, 138, 0.35); margin-bottom: 0.4rem;
}
.how.how-on .home-steps h3 { font-family: var(--display); font-weight: 700; font-size: 2.4rem; letter-spacing: -0.035em; line-height: 1.08; margin: 0 0 0.9rem; }
.how.how-on .home-steps p { color: #4A5560; font-size: 1.15rem; }

.how.how-on .how-stage { display: block; position: relative; height: 30rem; }
.how-layer { position: absolute; inset: 0; opacity: 0; transform: scale(.96) translateY(18px); transition: opacity .35s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.how-layer.on { opacity: 1; transform: none; transition: opacity .6s ease .15s, transform .8s cubic-bezier(.2,.7,.2,1) .12s; }

/* step 1: the City's photos arriving */
.how-photos { position: absolute; left: 1.5rem; right: 1.5rem; top: 1.5rem; background: #FFFFFF; border-radius: 20px; padding: 1.4rem 1.5rem 1.6rem; box-shadow: 0 30px 80px rgba(30, 42, 51, 0.18); }
.how-photos__head { display: flex; align-items: center; gap: 0.75rem; font-weight: 600; font-size: 1rem; margin: 0 0 1rem; }
.how-photos__dot { width: 2.3rem; height: 2.3rem; border-radius: 50%; background: var(--lake); color: #FFFFFF; display: grid; place-items: center; font-family: var(--display); font-weight: 700; }
.how-photos__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.how-photos__grid img { width: 100%; height: 7.6rem; object-fit: cover; border-radius: 10px; opacity: 0; transform: translateY(24px) scale(.9); transition: opacity .5s, transform .7s cubic-bezier(.2,.7,.2,1); }
.how-layer.on .how-photos__grid img { opacity: 1; transform: none; }
.how-photos__grid img:nth-child(1) { transition-delay: .25s; }
.how-photos__grid img:nth-child(2) { transition-delay: .34s; }
.how-photos__grid img:nth-child(3) { transition-delay: .43s; }
.how-photos__grid img:nth-child(4) { transition-delay: .52s; }
.how-photos__grid img:nth-child(5) { transition-delay: .61s; }
.how-photos__grid img:nth-child(6) { transition-delay: .70s; }

/* steps 2 and 3: the site in a browser window */
.how-frame { position: absolute; inset: 0; background: #FFFFFF; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 80px rgba(30, 42, 51, 0.2), 0 4px 14px rgba(30, 42, 51, 0.08); }
.how-chrome { display: flex; align-items: center; gap: 0.4rem; height: 2.6rem; padding: 0 0.9rem; background: #F1EEE8; border-bottom: 1px solid #E4DED2; }
.how-chrome i { width: 0.7rem; height: 0.7rem; border-radius: 50%; background: #D9D3C7; }
.how-url { margin-left: 0.8rem; flex: 1; height: 1.7rem; display: flex; align-items: center; padding: 0 0.8rem; border-radius: 999px; background: #FFFFFF; font-size: 0.82rem; color: #4A5560; }
.how-pill { display: inline-flex; align-items: center; margin-left: 0.5rem; padding: 0.1rem 0.55rem; border-radius: 999px; font-size: 0.7rem; font-weight: 600; }
.how-pill--preview { background: #EAF0F6; color: var(--lake); }
.how-pill--live { background: #E6F2EA; color: var(--pine); }
.how-live-dot { width: 0.45rem; height: 0.45rem; border-radius: 50%; background: #3FA66B; margin-right: 0.35rem; box-shadow: 0 0 0 3px rgba(63, 166, 107, 0.2); }
.how-shot { position: absolute; left: 0; right: 0; top: 2.6rem; bottom: 0; overflow: hidden; }
.how-shot img { position: absolute; left: 0; top: 0; width: 100%; height: auto; transition: transform 3.2s cubic-bezier(.45,.05,.3,1); }
.how-layer.on .how-shot--scroll img { transform: translateY(-40%); }
.how-stamp {
  position: absolute; right: -0.9rem; bottom: 2.2rem; margin: 0; padding: 0.9rem 1.2rem; border-radius: 14px;
  background: var(--pine); color: #FFFFFF; font: 700 1.2rem/1.15 var(--display); letter-spacing: -0.02em;
  box-shadow: 0 20px 50px rgba(30, 42, 51, 0.3);
  transform: rotate(-3deg) scale(.6); opacity: 0; transition: transform .6s cubic-bezier(.3,1.5,.5,1) .5s, opacity .4s ease .5s;
}
.how-layer.on .how-stamp { transform: rotate(-3deg); opacity: 1; }

/* ---------- 2. Pricing: numbers that roll up ---------- */
.price-stats { padding: 0 0 3.5rem; }
.price-stats__row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.price-stat { background: #FFFFFF; border-radius: 22px; padding: 2rem 1.75rem 1.9rem; box-shadow: 0 1px 0 rgba(30, 42, 51, 0.04), 0 18px 40px rgba(30, 42, 51, 0.07); }
.price-stat p.price-stat__big { display: flex; align-items: flex-start; height: 5.25rem; overflow: hidden; font: 750 5rem/1.05 var(--display); letter-spacing: -0.05em; color: var(--ink); font-variant-numeric: tabular-nums; margin: 0; }
.price-stat__sym { font-size: 3.1rem; margin: 0.3rem 0.1rem 0 0; color: var(--lake); }
.price-stat__col { display: inline-block; height: 5.25rem; overflow: hidden; -webkit-user-select: none; user-select: none; }
.price-stat__strip { display: block; transition: transform 2.5s cubic-bezier(.16,1,.3,1); }
.price-stat__strip b { display: block; height: 5.25rem; font-weight: inherit; }
.price-stat p { margin: 0.9rem 0 0; color: #4A5560; font-size: 1rem; line-height: 1.45; }
.price-stat p strong { color: var(--ink); font-weight: 600; }
.price-stat__rule { height: 3px; width: 0; background: var(--pine); border-radius: 3px; margin-top: 1.1rem; transition: width 1.6s cubic-bezier(.16,1,.3,1) .5s; }
.price-stats.is-go .price-stat__rule, .price-stats:not(.is-ready) .price-stat__rule { width: 2.9rem; }

@media (max-width: 860px) {
  .price-stats__row { grid-template-columns: 1fr; gap: 0.8rem; }
  .price-stat { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 0 1.25rem; padding: 1.25rem 1.4rem; border-radius: 18px; }
  .price-stat p.price-stat__big { font-size: 3.4rem; height: 3.6rem; }
  .price-stat__col, .price-stat__strip b { height: 3.6rem; }
  .price-stat__sym { font-size: 2.2rem; margin-top: 0.25rem; }
  .price-stat p { margin: 0; }
  .price-stat__rule { display: none; }
}

/* Dark mode for the premium sections (merged with the light and dark switch, 2026-11-22) */
[data-theme="dark"] .how.how-on .how-count { color: #A9B4BD; }
[data-theme="dark"] .how.how-on .how-count b { color: #F2F5F7; }
[data-theme="dark"] .how.how-on .home-steps p { color: #C5CDD4; }
[data-theme="dark"] .how.how-on .home-steps .n, [data-theme="dark"] .how.how-on [class*="num"] { -webkit-text-stroke-color: rgba(127, 176, 220, 0.6); }
[data-theme="dark"] .price-stat p.price-stat__big { color: #F2F5F7; }
[data-theme="dark"] .price-stat__sym { color: #7FB0DC; }
[data-theme="dark"] .price-stat p { color: #C5CDD4; }
[data-theme="dark"] .price-stat p strong { color: #F2F5F7; }
[data-theme="dark"] .price-stat { background: #1B252D; box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 18px 40px rgba(0,0,0,.45); }
